@sdkgen/playground 0.0.0-dev.20230925175759 → 0.0.0-dev.20230929183443
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunksdkgen_playground=self.webpackChunksdkgen_playground||[]).push([[179],{7545:function(Z,o,c){"use strict";var y,n=this&&this.__extends||(y=function(b,_){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(w,A){w.__proto__=A}||function(w,A){for(var R in A)Object.prototype.hasOwnProperty.call(A,R)&&(w[R]=A[R])})(b,_)},function(b,_){if("function"!=typeof _&&null!==_)throw new TypeError("Class extends value "+String(_)+" is not a constructor or null");function w(){this.constructor=b}y(b,_),b.prototype=null===_?Object.create(_):(w.prototype=_.prototype,new w)}),a=this&&this.__spreadArray||function(y,b,_){if(_||2===arguments.length)for(var R,w=0,A=b.length;w<A;w++)(R||!(w in b))&&(R||(R=Array.prototype.slice.call(b,0,w)),R[w]=b[w]);return y.concat(R||Array.prototype.slice.call(b))},g=this&&this.__importDefault||function(y){return y&&y.__esModule?y:{default:y}};Object.defineProperty(o,"__esModule",{value:!0}),o.decode=o.encode=void 0;var m=g(c(8848)),s=["string","email","phone","html","xml"],d=a(["json","bool","url","int","uint","float","money","hex","uuid","base64","void"],s,!0),u=function(y){function b(_,w,A){var R;try{R=JSON.stringify(A)}catch{R=String(A)}return y.call(this,"Invalid type at '".concat(_,"', expected ").concat(w,", got ").concat(R))||this}return n(b,y),b}(Error);function p(y,b,_){if("json"===b)return null==_?null:JSON.parse(JSON.stringify(_));if("bool"===b){if("boolean"!=typeof _)throw new u(y,b,_);return _}if(s.indexOf(b)>=0){if("string"!=typeof _)throw new u(y,b,_);return _}if("hex"===b){if("string"!=typeof _||!/^(?:[A-Fa-f0-9]{2})*$/u.test(_))throw new u(y,b,_);return _.toLowerCase()}if("uuid"===b){if("string"!=typeof _||!/^[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(_))throw new u(y,b,_);return _.toLowerCase()}if("base64"===b){var w=!0;try{atob(_)}catch{w=!1}if("string"!=typeof _||!w)throw new u(y,b,_);return _}if("int"===b){if("number"!=typeof _||(0|_)!==_)throw new u(y,b,_);return _}if("uint"===b){if("number"!=typeof _||(0|_)!==_||_<0)throw new u(y,b,_);return _}if("float"===b){if("number"!=typeof _)throw new u(y,b,_);return _}if("money"===b){if("number"!=typeof _||!Number.isInteger(_))throw new u(y,b,_);return _}if("url"===b){var A=void 0;if("string"==typeof _)try{A=new URL(_)}catch{}if(!A)throw new u(y,b,_);return A.toString()}if("void"===b)return null;throw new Error("Unknown type '".concat(b,"' at '").concat(y,"'"))}o.encode=function v(y,b,_,w){if("string"==typeof _&&!_.endsWith("?")&&"void"!==_&&null==w)throw new Error("Invalid type at '".concat(b,"', cannot be null"));if(Array.isArray(_)){for(var A=0,R=_;A<R.length;A++){var M=R[A];if(M===w)return w;if(Array.isArray(w)&&2===w.length&&M===w[0])return w[0];if(Array.isArray(M)&&2===M.length){if(M[0]===w)return[w,v(y,"".concat(b,".").concat(M[0]),M[1],{})];if(Array.isArray(w)&&2===w.length&&M[0]===w[0])return[w[0],v(y,"".concat(b,".").concat(M[0]),M[1],w[1])]}}throw new u(b,_,w)}if("object"==typeof _){if("object"!=typeof w)throw new u(b,_,w);for(var Y={},$=0,ne=Object.keys(_);$<ne.length;$++){var z=ne[$];Y[z]=v(y,"".concat(b,".").concat(z),_[z],w[z])}return Y}if(_.endsWith("?"))return null==w?null:v(y,b,_.slice(0,_.length-1),w);if(_.endsWith("[]")){if(!Array.isArray(w))throw new u(b,_,w);return w.map(function(X,fe){return v(y,"".concat(b,"[").concat(fe,"]"),_.slice(0,_.length-2),X)})}if(d.indexOf(_)>=0)return p(b,_,w);if("bytes"===_){if(!(w instanceof ArrayBuffer))throw new u(b,_,w);return btoa(String.fromCharCode.apply(String,new Uint8Array(w)))}if("bigint"===_){if("bigint"!=typeof w)throw new u(b,_,w);return w.toString()}if("cpf"===_){if("string"!=typeof w)throw new u(b,_,w);return w}if("cnpj"===_){if("string"!=typeof w)throw new u(b,_,w);return w}if("date"===_){if((!(w instanceof Date)||isNaN(w.getTime()))&&("string"!=typeof w||!/^[0-9]{4}-[01][0-9]-[0123][0-9]$/u.test(w)))throw new u(b,_,w);var K=w instanceof Date?w:new Date(w);return"".concat(K.getFullYear().toString().padStart(4,"0"),"-").concat((K.getMonth()+1).toString().padStart(2,"0"),"-").concat(K.getDate().toString().padStart(2,"0"))}if("datetime"===_){if((!(w instanceof Date)||isNaN(w.getTime()))&&("string"!=typeof w||!/^[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(w)))throw new u(b,_,w);return("string"==typeof w?new Date(w):w).toISOString().replace("Z","")}if("decimal"===_){if(!("number"==typeof w||"string"==typeof w&&/^-?[0-9]+(?:\.[0-9]+)?$/u.test(w)||w instanceof m.default))throw new u(b,_,w);return new m.default(w).toString()}var de=y[_];if(de)return v(y,b,de,w);throw new Error("Unknown type '".concat(_,"' at '").concat(b,"'"))},o.decode=function f(y,b,_,w){if("string"==typeof _&&!_.endsWith("?")&&"void"!==_&&null==w)throw new Error("Invalid type at '".concat(b,"', cannot be null"));if(Array.isArray(_)){for(var A=0,R=_;A<R.length;A++){var M=R[A];if(M===w)return w;if(Array.isArray(w)&&2===w.length&&M===w[0])return w[0];if(Array.isArray(M)&&2===M.length){if(M[0]===w)return[w,f(y,"".concat(b,".").concat(M[0]),M[1],{})];if(Array.isArray(w)&&2===w.length&&M[0]===w[0])return[w[0],f(y,"".concat(b,".").concat(M[0]),M[1],w[1])]}}throw new u(b,_,w)}if("object"==typeof _){if("object"!=typeof w)throw new u(b,_,w);for(var Y={},$=0,ne=Object.keys(_);$<ne.length;$++){var z=ne[$];Y[z]=f(y,"".concat(b,".").concat(z),_[z],w[z])}return Y}if(_.endsWith("?"))return null==w?null:f(y,b,_.slice(0,_.length-1),w);if(_.endsWith("[]")){if(!Array.isArray(w))throw new u(b,_,w);return w.map(function(ot,we){return f(y,"".concat(b,"[").concat(we,"]"),_.slice(0,_.length-2),ot)})}if(d.indexOf(_)>=0)return p(b,_,w);if("bytes"!==_){if("bigint"===_){if("number"!=typeof w&&("string"!=typeof w||!/^-?[0-9]+$/u.test(w)))throw new u(b,_,w);return BigInt(w)}if("cpf"===_){if("string"!=typeof w)throw new u(b,_,w);return w}if("cnpj"===_){if("string"!=typeof w)throw new u(b,_,w);return w}if("date"===_){if("string"!=typeof w||!/^[0-9]{4}-[01][0-9]-[0123][0-9]$/u.test(w))throw new u(b,_,w);var K=parseInt(w.split("-")[2],10),de=parseInt(w.split("-")[1],10)-1,X=parseInt(w.split("-")[0],10),fe=new Date(X,de,K);if(fe.getFullYear()!==X||fe.getMonth()!==de||fe.getDate()!==K)throw new u(b,_,w);return fe}if("datetime"===_){if("string"!=typeof w||!/^[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(w))throw new u(b,_,w);return new Date("".concat(w.endsWith("Z")?w:w.concat("Z")))}if("decimal"===_){if("number"!=typeof w&&("string"!=typeof w||!/^-?[0-9]+(?:\.[0-9]+)?$/u.test(w)))throw new u(b,_,w);return new m.default(w)}var he=y[_];if(he)return f(y,b,he,w);throw new Error("Unknown type '".concat(_,"' at '").concat(b,"'"))}if("string"!=typeof w)throw new u(b,"".concat(_," (base 64)"),w);try{return Uint8Array.from(atob(w),function(ot){return ot.charCodeAt(0)})}catch{throw new u(b,"".concat(_," (base 64)"),w)}}},8995:function(Z,o){"use strict";var g,c=this&&this.__extends||(g=function(m,s){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,u){d.__proto__=u}||function(d,u){for(var p in u)Object.prototype.hasOwnProperty.call(u,p)&&(d[p]=u[p])})(m,s)},function(m,s){if("function"!=typeof s&&null!==s)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");function d(){this.constructor=m}g(m,s),m.prototype=null===s?Object.create(s):(d.prototype=s.prototype,new d)});Object.defineProperty(o,"__esModule",{value:!0}),o.SdkgenErrorWithData=o.SdkgenError=void 0;var n=function(g){function m(){return null!==g&&g.apply(this,arguments)||this}return c(m,g),Object.defineProperty(m.prototype,"type",{get:function(){return this.constructor.name},enumerable:!1,configurable:!0}),m.prototype.toJSON=function(){return{message:this.message,type:this.type}},m}(Error);o.SdkgenError=n;var a=function(g){function m(s,d){var u=g.call(this,s)||this;return u.data=d,u}return c(m,g),m.prototype.toJSON=function(){return{data:this.data,message:this.message,type:this.type}},m}(n);o.SdkgenErrorWithData=a},3114:function(Z,o,c){"use strict";var n=this&&this.__awaiter||function(v,f,y,b){return new(y||(y=Promise))(function(w,A){function R($){try{Y(b.next($))}catch(ne){A(ne)}}function M($){try{Y(b.throw($))}catch(ne){A(ne)}}function Y($){$.done?w($.value):function _(w){return w instanceof y?w:new y(function(A){A(w)})}($.value).then(R,M)}Y((b=b.apply(v,f||[])).next())})},a=this&&this.__generator||function(v,f){var b,_,w,A,y={label:0,sent:function(){if(1&w[0])throw w[1];return w[1]},trys:[],ops:[]};return A={next:R(0),throw:R(1),return:R(2)},"function"==typeof Symbol&&(A[Symbol.iterator]=function(){return this}),A;function R(Y){return function($){return function M(Y){if(b)throw new TypeError("Generator is already executing.");for(;A&&(A=0,Y[0]&&(y=0)),y;)try{if(b=1,_&&(w=2&Y[0]?_.return:Y[0]?_.throw||((w=_.return)&&w.call(_),0):_.next)&&!(w=w.call(_,Y[1])).done)return w;switch(_=0,w&&(Y=[2&Y[0],w.value]),Y[0]){case 0:case 1:w=Y;break;case 4:return y.label++,{value:Y[1],done:!1};case 5:y.label++,_=Y[1],Y=[0];continue;case 7:Y=y.ops.pop(),y.trys.pop();continue;default:if(!(w=(w=y.trys).length>0&&w[w.length-1])&&(6===Y[0]||2===Y[0])){y=0;continue}if(3===Y[0]&&(!w||Y[1]>w[0]&&Y[1]<w[3])){y.label=Y[1];break}if(6===Y[0]&&y.label<w[1]){y.label=w[1],w=Y;break}if(w&&y.label<w[2]){y.label=w[2],y.ops.push(Y);break}w[2]&&y.ops.pop(),y.trys.pop();continue}Y=f.call(v,y)}catch($){Y=[6,$],_=0}finally{b=w=0}if(5&Y[0])throw Y[1];return{value:Y[0]?Y[1]:void 0,done:!0}}([Y,$])}}};Object.defineProperty(o,"__esModule",{value:!0}),o.SdkgenHttpClient=void 0;var g=c(7545);function m(v){for(var f="",y=0;y<2*v;++y)f+="0123456789abcdef"[Math.floor(16*Math.random())];return f}var s=m(20);function d(){try{var v=localStorage.getItem("deviceId");return v||(v=s,localStorage.setItem("deviceId",v)),v}catch{return s}}function u(v,f){return f in v}var p=function(){function v(f,y,b){this.baseUrl=f,this.astJson=y,this.errClasses=b,this.extra=new Map,this.successHook=function(){},this.errorHook=function(){}}return v.prototype.makeRequest=function(f,y){var b,_;return n(this,void 0,void 0,function(){var w,A,R,M,Y,$=this;return a(this,function(ne){switch(ne.label){case 0:if(!(w=this.astJson.functionTable[f]))throw new Error("Unknown function ".concat(f));return A={},this.extra.forEach(function(z,K){A[K]=z}),R={args:(0,g.encode)(this.astJson.typeTable,"".concat(f,".args"),w.args,y),deviceInfo:{id:d(),language:navigator.language,platform:{browserUserAgent:navigator.userAgent},timezone:"object"==typeof Intl?Intl.DateTimeFormat().resolvedOptions().timeZone:null,type:"web",version:null!==(_=null===(b=document.currentScript)||void 0===b?void 0:b.getAttribute("src"))&&void 0!==_?_:""},extra:A,name:f,requestId:m(16),version:3},[4,new Promise(function(z,K){var de=new XMLHttpRequest;de.open("POST","".concat($.baseUrl,"/").concat(f)),de.setRequestHeader("Content-Type","application/sdkgen"),de.onreadystatechange=function(){if(4===de.readyState)try{var X=JSON.parse(de.responseText);try{u(X,"error")&&X.error?K(X.error):z(u(X,"result")?X.result:null)}catch(he){var fe={message:"".concat(he),type:"Fatal"};K(fe)}}catch{K(fe={message:"Falha de conex\xe3o com o servidor",type:"Fatal"})}},de.send(JSON.stringify(R))}).catch(function(z){if($.errorHook(z,f,y),u(z,"type")&&u(z,"message")&&"string"==typeof z.type&&"string"==typeof z.message){var K=z.type in $.errClasses?z.type:"Fatal",de=$.errClasses[K],X=$.astJson.errors.find(function(he){return Array.isArray(he)?he[0]===K:he===K}),fe=void 0;throw(fe=X&&Array.isArray(X)&&u(z,"data")?new de(z.message,(0,g.decode)($.astJson.typeTable,"".concat(K,".data"),X[1],z.data)):new de(z.message,void 0)).type=K,fe}throw z})];case 1:return M=ne.sent(),Y=(0,g.decode)(this.astJson.typeTable,"".concat(f,".ret"),w.ret,M),this.successHook(Y,f,y),[2,Y]}})})},v}();o.SdkgenHttpClient=p},1537:function(Z,o,c){"use strict";var n=this&&this.__createBinding||(Object.create?function(g,m,s,d){void 0===d&&(d=s);var u=Object.getOwnPropertyDescriptor(m,s);(!u||("get"in u?!m.__esModule:u.writable||u.configurable))&&(u={enumerable:!0,get:function(){return m[s]}}),Object.defineProperty(g,d,u)}:function(g,m,s,d){void 0===d&&(d=s),g[d]=m[s]}),a=this&&this.__exportStar||function(g,m){for(var s in g)"default"!==s&&!Object.prototype.hasOwnProperty.call(m,s)&&n(m,g,s)};Object.defineProperty(o,"__esModule",{value:!0}),a(c(8995),o),a(c(3114),o)},8848:function(Z,o,c){var n;!function(a){"use strict";var b,g=1e9,m={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},s=!0,d="[DecimalError] ",u=d+"Invalid argument: ",p=d+"Exponent out of range: ",v=Math.floor,f=Math.pow,y=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,_=1e7,w=7,A=9007199254740991,R=v(A/w),M={};function Y(W,Ce){var ee,J,j,G,Oe,U,ae,Ee,pe=W.constructor,Ge=pe.precision;if(!W.s||!Ce.s)return Ce.s||(Ce=new pe(W)),s?we(Ce,Ge):Ce;if(Ee=Ce.d,Oe=W.e,j=Ce.e,ae=(ae=W.d).slice(),G=Oe-j){for(G<0?(J=ae,G=-G,U=Ee.length):(J=Ee,j=Oe,U=ae.length),G>(U=(Oe=Math.ceil(Ge/w))>U?Oe+1:U+1)&&(G=U,J.length=1),J.reverse();G--;)J.push(0);J.reverse()}for((U=ae.length)-(G=Ee.length)<0&&(G=U,J=Ee,Ee=ae,ae=J),ee=0;G;)ee=(ae[--G]=ae[G]+Ee[G]+ee)/_|0,ae[G]%=_;for(ee&&(ae.unshift(ee),++j),U=ae.length;0==ae[--U];)ae.pop();return Ce.d=ae,Ce.e=j,s?we(Ce,Ge):Ce}function $(W,Ce,ee){if(W!==~~W||W<Ce||W>ee)throw Error(u+W)}function ne(W){var Ce,ee,J,j=W.length-1,G="",Oe=W[0];if(j>0){for(G+=Oe,Ce=1;Ce<j;Ce++)(ee=w-(J=W[Ce]+"").length)&&(G+=fe(ee)),G+=J;(ee=w-(J=(Oe=W[Ce])+"").length)&&(G+=fe(ee))}else if(0===Oe)return"0";for(;Oe%10==0;)Oe/=10;return G+Oe}M.absoluteValue=M.abs=function(){var W=new this.constructor(this);return W.s&&(W.s=1),W},M.comparedTo=M.cmp=function(W){var Ce,ee,J,j,G=this;if(W=new G.constructor(W),G.s!==W.s)return G.s||-W.s;if(G.e!==W.e)return G.e>W.e^G.s<0?1:-1;for(Ce=0,ee=(J=G.d.length)<(j=W.d.length)?J:j;Ce<ee;++Ce)if(G.d[Ce]!==W.d[Ce])return G.d[Ce]>W.d[Ce]^G.s<0?1:-1;return J===j?0:J>j^G.s<0?1:-1},M.decimalPlaces=M.dp=function(){var W=this,Ce=W.d.length-1,ee=(Ce-W.e)*w;if(Ce=W.d[Ce])for(;Ce%10==0;Ce/=10)ee--;return ee<0?0:ee},M.dividedBy=M.div=function(W){return z(this,new this.constructor(W))},M.dividedToIntegerBy=M.idiv=function(W){var ee=this.constructor;return we(z(this,new ee(W),0,1),ee.precision)},M.equals=M.eq=function(W){return!this.cmp(W)},M.exponent=function(){return de(this)},M.greaterThan=M.gt=function(W){return this.cmp(W)>0},M.greaterThanOrEqualTo=M.gte=function(W){return this.cmp(W)>=0},M.isInteger=M.isint=function(){return this.e>this.d.length-2},M.isNegative=M.isneg=function(){return this.s<0},M.isPositive=M.ispos=function(){return this.s>0},M.isZero=function(){return 0===this.s},M.lessThan=M.lt=function(W){return this.cmp(W)<0},M.lessThanOrEqualTo=M.lte=function(W){return this.cmp(W)<1},M.logarithm=M.log=function(W){var Ce,ee=this,J=ee.constructor,j=J.precision,G=j+5;if(void 0===W)W=new J(10);else if((W=new J(W)).s<1||W.eq(b))throw Error(d+"NaN");if(ee.s<1)throw Error(d+(ee.s?"NaN":"-Infinity"));return ee.eq(b)?new J(0):(s=!1,Ce=z(he(ee,G),he(W,G),G),s=!0,we(Ce,j))},M.minus=M.sub=function(W){return W=new this.constructor(W),this.s==W.s?tt(this,W):Y(this,(W.s=-W.s,W))},M.modulo=M.mod=function(W){var Ce,ee=this,J=ee.constructor,j=J.precision;if(!(W=new J(W)).s)throw Error(d+"NaN");return ee.s?(s=!1,Ce=z(ee,W,0,1).times(W),s=!0,ee.minus(Ce)):we(new J(ee),j)},M.naturalExponential=M.exp=function(){return K(this)},M.naturalLogarithm=M.ln=function(){return he(this)},M.negated=M.neg=function(){var W=new this.constructor(this);return W.s=-W.s||0,W},M.plus=M.add=function(W){return W=new this.constructor(W),this.s==W.s?Y(this,W):tt(this,(W.s=-W.s,W))},M.precision=M.sd=function(W){var Ce,ee,J,j=this;if(void 0!==W&&W!==!!W&&1!==W&&0!==W)throw Error(u+W);if(Ce=de(j)+1,ee=(J=j.d.length-1)*w+1,J=j.d[J]){for(;J%10==0;J/=10)ee--;for(J=j.d[0];J>=10;J/=10)ee++}return W&&Ce>ee?Ce:ee},M.squareRoot=M.sqrt=function(){var W,Ce,ee,J,j,G,Oe,U=this,ae=U.constructor;if(U.s<1){if(!U.s)return new ae(0);throw Error(d+"NaN")}for(W=de(U),s=!1,0==(j=Math.sqrt(+U))||j==1/0?(((Ce=ne(U.d)).length+W)%2==0&&(Ce+="0"),j=Math.sqrt(Ce),W=v((W+1)/2)-(W<0||W%2),J=new ae(Ce=j==1/0?"5e"+W:(Ce=j.toExponential()).slice(0,Ce.indexOf("e")+1)+W)):J=new ae(j.toString()),j=Oe=(ee=ae.precision)+3;;)if(J=(G=J).plus(z(U,G,Oe+2)).times(.5),ne(G.d).slice(0,Oe)===(Ce=ne(J.d)).slice(0,Oe)){if(Ce=Ce.slice(Oe-3,Oe+1),j==Oe&&"4999"==Ce){if(we(G,ee+1,0),G.times(G).eq(U)){J=G;break}}else if("9999"!=Ce)break;Oe+=4}return s=!0,we(J,ee)},M.times=M.mul=function(W){var Ce,ee,J,j,G,Oe,U,ae,Ee,pe=this,Ge=pe.constructor,Be=pe.d,xe=(W=new Ge(W)).d;if(!pe.s||!W.s)return new Ge(0);for(W.s*=pe.s,ee=pe.e+W.e,(ae=Be.length)<(Ee=xe.length)&&(G=Be,Be=xe,xe=G,Oe=ae,ae=Ee,Ee=Oe),G=[],J=Oe=ae+Ee;J--;)G.push(0);for(J=Ee;--J>=0;){for(Ce=0,j=ae+J;j>J;)U=G[j]+xe[J]*Be[j-J-1]+Ce,G[j--]=U%_|0,Ce=U/_|0;G[j]=(G[j]+Ce)%_|0}for(;!G[--Oe];)G.pop();return Ce?++ee:G.shift(),W.d=G,W.e=ee,s?we(W,Ge.precision):W},M.toDecimalPlaces=M.todp=function(W,Ce){var ee=this,J=ee.constructor;return ee=new J(ee),void 0===W?ee:($(W,0,g),void 0===Ce?Ce=J.rounding:$(Ce,0,8),we(ee,W+de(ee)+1,Ce))},M.toExponential=function(W,Ce){var ee,J=this,j=J.constructor;return void 0===W?ee=nt(J,!0):($(W,0,g),void 0===Ce?Ce=j.rounding:$(Ce,0,8),ee=nt(J=we(new j(J),W+1,Ce),!0,W+1)),ee},M.toFixed=function(W,Ce){var ee,J,j=this,G=j.constructor;return void 0===W?nt(j):($(W,0,g),void 0===Ce?Ce=G.rounding:$(Ce,0,8),ee=nt((J=we(new G(j),W+de(j)+1,Ce)).abs(),!1,W+de(J)+1),j.isneg()&&!j.isZero()?"-"+ee:ee)},M.toInteger=M.toint=function(){var W=this,Ce=W.constructor;return we(new Ce(W),de(W)+1,Ce.rounding)},M.toNumber=function(){return+this},M.toPower=M.pow=function(W){var Ce,ee,J,j,G,U=this,ae=U.constructor,pe=+(W=new ae(W));if(!W.s)return new ae(b);if(!(U=new ae(U)).s){if(W.s<1)throw Error(d+"Infinity");return U}if(U.eq(b))return U;if(J=ae.precision,W.eq(b))return we(U,J);if(G=U.s,(Ce=W.e)>=(ee=W.d.length-1)){if((ee=pe<0?-pe:pe)<=A){for(j=new ae(b),Ce=Math.ceil(J/w+4),s=!1;ee%2&&Se((j=j.times(U)).d,Ce),0!==(ee=v(ee/2));)Se((U=U.times(U)).d,Ce);return s=!0,W.s<0?new ae(b).div(j):we(j,J)}}else if(G<0)throw Error(d+"NaN");return G=G<0&&1&W.d[Math.max(Ce,ee)]?-1:1,U.s=1,s=!1,j=W.times(he(U,J+12)),s=!0,(j=K(j)).s=G,j},M.toPrecision=function(W,Ce){var ee,J,j=this,G=j.constructor;return void 0===W?J=nt(j,(ee=de(j))<=G.toExpNeg||ee>=G.toExpPos):($(W,1,g),void 0===Ce?Ce=G.rounding:$(Ce,0,8),J=nt(j=we(new G(j),W,Ce),W<=(ee=de(j))||ee<=G.toExpNeg,W)),J},M.toSignificantDigits=M.tosd=function(W,Ce){var J=this.constructor;return void 0===W?(W=J.precision,Ce=J.rounding):($(W,1,g),void 0===Ce?Ce=J.rounding:$(Ce,0,8)),we(new J(this),W,Ce)},M.toString=M.valueOf=M.val=M.toJSON=function(){var W=this,Ce=de(W),ee=W.constructor;return nt(W,Ce<=ee.toExpNeg||Ce>=ee.toExpPos)};var z=function(){function W(J,j){var G,Oe=0,U=J.length;for(J=J.slice();U--;)J[U]=(G=J[U]*j+Oe)%_|0,Oe=G/_|0;return Oe&&J.unshift(Oe),J}function Ce(J,j,G,Oe){var U,ae;if(G!=Oe)ae=G>Oe?1:-1;else for(U=ae=0;U<G;U++)if(J[U]!=j[U]){ae=J[U]>j[U]?1:-1;break}return ae}function ee(J,j,G){for(var Oe=0;G--;)J[G]-=Oe,J[G]=(Oe=J[G]<j[G]?1:0)*_+J[G]-j[G];for(;!J[0]&&J.length>1;)J.shift()}return function(J,j,G,Oe){var U,ae,Ee,pe,Ge,Be,xe,at,ge,Me,Ke,ye,ht,gt,qe,Q,$e,Ne,et=J.constructor,dt=J.s==j.s?1:-1,xt=J.d,Nt=j.d;if(!J.s)return new et(J);if(!j.s)throw Error(d+"Division by zero");for(ae=J.e-j.e,$e=Nt.length,qe=xt.length,at=(xe=new et(dt)).d=[],Ee=0;Nt[Ee]==(xt[Ee]||0);)++Ee;if(Nt[Ee]>(xt[Ee]||0)&&--ae,(ye=null==G?G=et.precision:Oe?G+(de(J)-de(j))+1:G)<0)return new et(0);if(ye=ye/w+2|0,Ee=0,1==$e)for(pe=0,Nt=Nt[0],ye++;(Ee<qe||pe)&&ye--;Ee++)at[Ee]=(ht=pe*_+(xt[Ee]||0))/Nt|0,pe=ht%Nt|0;else{for((pe=_/(Nt[0]+1)|0)>1&&(Nt=W(Nt,pe),xt=W(xt,pe),$e=Nt.length,qe=xt.length),gt=$e,Me=(ge=xt.slice(0,$e)).length;Me<$e;)ge[Me++]=0;(Ne=Nt.slice()).unshift(0),Q=Nt[0],Nt[1]>=_/2&&++Q;do{pe=0,(U=Ce(Nt,ge,$e,Me))<0?(Ke=ge[0],$e!=Me&&(Ke=Ke*_+(ge[1]||0)),(pe=Ke/Q|0)>1?(pe>=_&&(pe=_-1),1==(U=Ce(Ge=W(Nt,pe),ge,Be=Ge.length,Me=ge.length))&&(pe--,ee(Ge,$e<Be?Ne:Nt,Be))):(0==pe&&(U=pe=1),Ge=Nt.slice()),(Be=Ge.length)<Me&&Ge.unshift(0),ee(ge,Ge,Me),-1==U&&(U=Ce(Nt,ge,$e,Me=ge.length))<1&&(pe++,ee(ge,$e<Me?Ne:Nt,Me)),Me=ge.length):0===U&&(pe++,ge=[0]),at[Ee++]=pe,U&&ge[0]?ge[Me++]=xt[gt]||0:(ge=[xt[gt]],Me=1)}while((gt++<qe||void 0!==ge[0])&&ye--)}return at[0]||at.shift(),xe.e=ae,we(xe,Oe?G+de(xe)+1:G)}}();function K(W,Ce){var ee,j,G,Oe,U,ae=0,Ee=0,pe=W.constructor,Ge=pe.precision;if(de(W)>16)throw Error(p+de(W));if(!W.s)return new pe(b);for(null==Ce?(s=!1,U=Ge):U=Ce,Oe=new pe(.03125);W.abs().gte(.1);)W=W.times(Oe),Ee+=5;for(U+=Math.log(f(2,Ee))/Math.LN10*2+5|0,ee=j=G=new pe(b),pe.precision=U;;){if(j=we(j.times(W),U),ee=ee.times(++ae),ne((Oe=G.plus(z(j,ee,U))).d).slice(0,U)===ne(G.d).slice(0,U)){for(;Ee--;)G=we(G.times(G),U);return pe.precision=Ge,null==Ce?(s=!0,we(G,Ge)):G}G=Oe}}function de(W){for(var Ce=W.e*w,ee=W.d[0];ee>=10;ee/=10)Ce++;return Ce}function X(W,Ce,ee){if(Ce>W.LN10.sd())throw s=!0,ee&&(W.precision=ee),Error(d+"LN10 precision limit exceeded");return we(new W(W.LN10),Ce)}function fe(W){for(var Ce="";W--;)Ce+="0";return Ce}function he(W,Ce){var ee,J,j,G,Oe,U,ae,Ee,pe,Ge=1,xe=W,at=xe.d,ge=xe.constructor,Me=ge.precision;if(xe.s<1)throw Error(d+(xe.s?"NaN":"-Infinity"));if(xe.eq(b))return new ge(0);if(null==Ce?(s=!1,Ee=Me):Ee=Ce,xe.eq(10))return null==Ce&&(s=!0),X(ge,Ee);if(ge.precision=Ee+=10,J=(ee=ne(at)).charAt(0),G=de(xe),!(Math.abs(G)<15e14))return ae=X(ge,Ee+2,Me).times(G+""),xe=he(new ge(J+"."+ee.slice(1)),Ee-10).plus(ae),ge.precision=Me,null==Ce?(s=!0,we(xe,Me)):xe;for(;J<7&&1!=J||1==J&&ee.charAt(1)>3;)J=(ee=ne((xe=xe.times(W)).d)).charAt(0),Ge++;for(G=de(xe),J>1?(xe=new ge("0."+ee),G++):xe=new ge(J+"."+ee.slice(1)),U=Oe=xe=z(xe.minus(b),xe.plus(b),Ee),pe=we(xe.times(xe),Ee),j=3;;){if(Oe=we(Oe.times(pe),Ee),ne((ae=U.plus(z(Oe,new ge(j),Ee))).d).slice(0,Ee)===ne(U.d).slice(0,Ee))return U=U.times(2),0!==G&&(U=U.plus(X(ge,Ee+2,Me).times(G+""))),U=z(U,new ge(Ge),Ee),ge.precision=Me,null==Ce?(s=!0,we(U,Me)):U;U=ae,j+=2}}function ot(W,Ce){var ee,J,j;for((ee=Ce.indexOf("."))>-1&&(Ce=Ce.replace(".","")),(J=Ce.search(/e/i))>0?(ee<0&&(ee=J),ee+=+Ce.slice(J+1),Ce=Ce.substring(0,J)):ee<0&&(ee=Ce.length),J=0;48===Ce.charCodeAt(J);)++J;for(j=Ce.length;48===Ce.charCodeAt(j-1);)--j;if(Ce=Ce.slice(J,j)){if(j-=J,W.e=v((ee=ee-J-1)/w),W.d=[],J=(ee+1)%w,ee<0&&(J+=w),J<j){for(J&&W.d.push(+Ce.slice(0,J)),j-=w;J<j;)W.d.push(+Ce.slice(J,J+=w));Ce=Ce.slice(J),J=w-Ce.length}else J-=j;for(;J--;)Ce+="0";if(W.d.push(+Ce),s&&(W.e>R||W.e<-R))throw Error(p+ee)}else W.s=0,W.e=0,W.d=[0];return W}function we(W,Ce,ee){var J,j,G,Oe,U,ae,Ee,pe,Ge=W.d;for(Oe=1,G=Ge[0];G>=10;G/=10)Oe++;if((J=Ce-Oe)<0)J+=w,j=Ce,Ee=Ge[pe=0];else{if((pe=Math.ceil((J+1)/w))>=(G=Ge.length))return W;for(Ee=G=Ge[pe],Oe=1;G>=10;G/=10)Oe++;j=(J%=w)-w+Oe}if(void 0!==ee&&(U=Ee/(G=f(10,Oe-j-1))%10|0,ae=Ce<0||void 0!==Ge[pe+1]||Ee%G,ae=ee<4?(U||ae)&&(0==ee||ee==(W.s<0?3:2)):U>5||5==U&&(4==ee||ae||6==ee&&(J>0?j>0?Ee/f(10,Oe-j):0:Ge[pe-1])%10&1||ee==(W.s<0?8:7))),Ce<1||!Ge[0])return ae?(G=de(W),Ge.length=1,Ge[0]=f(10,(w-(Ce=Ce-G-1)%w)%w),W.e=v(-Ce/w)||0):(Ge.length=1,Ge[0]=W.e=W.s=0),W;if(0==J?(Ge.length=pe,G=1,pe--):(Ge.length=pe+1,G=f(10,w-J),Ge[pe]=j>0?(Ee/f(10,Oe-j)%f(10,j)|0)*G:0),ae)for(;;){if(0==pe){(Ge[0]+=G)==_&&(Ge[0]=1,++W.e);break}if(Ge[pe]+=G,Ge[pe]!=_)break;Ge[pe--]=0,G=1}for(J=Ge.length;0===Ge[--J];)Ge.pop();if(s&&(W.e>R||W.e<-R))throw Error(p+de(W));return W}function tt(W,Ce){var ee,J,j,G,Oe,U,ae,Ee,pe,Ge,Be=W.constructor,xe=Be.precision;if(!W.s||!Ce.s)return Ce.s?Ce.s=-Ce.s:Ce=new Be(W),s?we(Ce,xe):Ce;if(Ge=Ce.d,J=Ce.e,Ee=W.e,ae=(ae=W.d).slice(),Oe=Ee-J){for((pe=Oe<0)?(ee=ae,Oe=-Oe,U=Ge.length):(ee=Ge,J=Ee,U=ae.length),Oe>(j=Math.max(Math.ceil(xe/w),U)+2)&&(Oe=j,ee.length=1),ee.reverse(),j=Oe;j--;)ee.push(0);ee.reverse()}else{for((pe=(j=ae.length)<(U=Ge.length))&&(U=j),j=0;j<U;j++)if(ae[j]!=Ge[j]){pe=ae[j]<Ge[j];break}Oe=0}for(pe&&(ee=ae,ae=Ge,Ge=ee,Ce.s=-Ce.s),j=Ge.length-(U=ae.length);j>0;--j)ae[U++]=0;for(j=Ge.length;j>Oe;){if(ae[--j]<Ge[j]){for(G=j;G&&0===ae[--G];)ae[G]=_-1;--ae[G],ae[j]+=_}ae[j]-=Ge[j]}for(;0===ae[--U];)ae.pop();for(;0===ae[0];ae.shift())--J;return ae[0]?(Ce.d=ae,Ce.e=J,s?we(Ce,xe):Ce):new Be(0)}function nt(W,Ce,ee){var J,j=de(W),G=ne(W.d),Oe=G.length;return Ce?(ee&&(J=ee-Oe)>0?G=G.charAt(0)+"."+G.slice(1)+fe(J):Oe>1&&(G=G.charAt(0)+"."+G.slice(1)),G=G+(j<0?"e":"e+")+j):j<0?(G="0."+fe(-j-1)+G,ee&&(J=ee-Oe)>0&&(G+=fe(J))):j>=Oe?(G+=fe(j+1-Oe),ee&&(J=ee-j-1)>0&&(G=G+"."+fe(J))):((J=j+1)<Oe&&(G=G.slice(0,J)+"."+G.slice(J)),ee&&(J=ee-Oe)>0&&(j+1===Oe&&(G+="."),G+=fe(J))),W.s<0?"-"+G:G}function Se(W,Ce){if(W.length>Ce)return W.length=Ce,!0}function st(W){if(!W||"object"!=typeof W)throw Error(d+"Object expected");var Ce,ee,J,j=["precision",1,g,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(Ce=0;Ce<j.length;Ce+=3)if(void 0!==(J=W[ee=j[Ce]])){if(!(v(J)===J&&J>=j[Ce+1]&&J<=j[Ce+2]))throw Error(u+ee+": "+J);this[ee]=J}if(void 0!==(J=W[ee="LN10"])){if(J!=Math.LN10)throw Error(u+ee+": "+J);this[ee]=new this(J)}return this}(m=function Ze(W){var Ce,ee,J;function j(G){var Oe=this;if(!(Oe instanceof j))return new j(G);if(Oe.constructor=j,G instanceof j)return Oe.s=G.s,Oe.e=G.e,void(Oe.d=(G=G.d)?G.slice():G);if("number"==typeof G){if(0*G!=0)throw Error(u+G);if(G>0)Oe.s=1;else{if(!(G<0))return Oe.s=0,Oe.e=0,void(Oe.d=[0]);G=-G,Oe.s=-1}return G===~~G&&G<1e7?(Oe.e=0,void(Oe.d=[G])):ot(Oe,G.toString())}if("string"!=typeof G)throw Error(u+G);if(45===G.charCodeAt(0)?(G=G.slice(1),Oe.s=-1):Oe.s=1,!y.test(G))throw Error(u+G);ot(Oe,G)}if(j.prototype=M,j.ROUND_UP=0,j.ROUND_DOWN=1,j.ROUND_CEIL=2,j.ROUND_FLOOR=3,j.ROUND_HALF_UP=4,j.ROUND_HALF_DOWN=5,j.ROUND_HALF_EVEN=6,j.ROUND_HALF_CEIL=7,j.ROUND_HALF_FLOOR=8,j.clone=Ze,j.config=j.set=st,void 0===W&&(W={}),W)for(J=["precision","rounding","toExpNeg","toExpPos","LN10"],Ce=0;Ce<J.length;)W.hasOwnProperty(ee=J[Ce++])||(W[ee]=this[ee]);return j.config(W),j}(m)).default=m.Decimal=m,b=new m(1),void 0!==(n=function(){return m}.call(o,c,o,Z))&&(Z.exports=n)}()},4065:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateCSharpServerSource=void 0;const n=c(6325),a=c(2993);o.generateCSharpServerSource=function g(m){let s="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 d of m.operations){const u=d.returnType instanceof n.VoidPrimitiveType?"":`<${(0,a.generateTypeName)(d.returnType)}>`;s+=`\n public virtual Task${u} ${(0,a.capitalize)(d.name)}(${["Context ctx",...d.args.map(p=>`${(0,a.generateTypeName)(p.type)} ${(0,a.ident)(p.name)}`)].join(", ")})\n {\n return Task.FromException${u}(new FatalException("Function '${d.name}' not implemented."));\n }\n`}s+="\n public async Task ExecuteFunction(Context context_, Utf8JsonWriter resultWriter_)\n {\n switch (context_.Name)\n {";for(const d of m.operations){s+=`\n case ${JSON.stringify(d.name)}:\n {`;for(const u of d.args)s+=`\n JsonElement ${u.name}Json_;\n if (!context_.Args.TryGetValue(${JSON.stringify(u.name)}, out ${u.name}Json_))\n {\n ${u.type instanceof n.OptionalType?`${u.name}Json_ = new JsonElement();`:`throw new FatalException("'${d.name}().args.${u.name}' must be set to a value of type ${u.type.name}.");`}\n }\n ${(0,a.generateTypeName)(u.type)} ${(0,a.ident)(u.name)};\n ${(0,a.decodeType)(u.type,`${u.name}Json_`,`"${d.name}().args.${u.name}"`,(0,a.ident)(u.name)).replace(/\n/gu,"\n ")}`;s+=d.returnType instanceof n.VoidPrimitiveType?`\n await ${(0,a.capitalize)(d.name)}(${["context_",...d.args.map(u=>(0,a.ident)(u.name))].join(", ")});\n resultWriter_.WriteNullValue();`:`\n var result_ = await ${(0,a.capitalize)(d.name)}(${["context_",...d.args.map(u=>(0,a.ident)(u.name))].join(", ")});\n ${(0,a.encodeType)(d.returnType,"result_",`"${d.name}().ret"`).replace(/\n/gu,"\n ")}`,s+="\n return;\n }"}s+="\n default:\n {\n throw new FatalException($\"Unknown function '{context_.Name}'.\");\n }\n }\n }\n";for(const d of m.structTypes)s+=(0,a.generateStruct)(d);for(const d of m.enumTypes)s+=(0,a.generateEnum)(d);s+=`\n public string GetAstJson() => @"${JSON.stringify((0,n.astToJson)(m),null,4).replace(/"/gu,'""').replace(/\n/gu,"\n ")}";\n }\n`;for(const d of m.errors)s+=`\n public class ${d.name}Exception : SdkgenException\n {\n public ${d.name}Exception(string message, Exception? inner = null) : base("${d.name}", message, inner) { }\n }\n`;return s+="\n}\n",s}},2993:(Z,o,c)=>{"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=c(6325),a=["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"],g=[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],m=[n.BigIntPrimitiveType,n.DatePrimitiveType,n.DateTimePrimitiveType,n.FloatPrimitiveType,n.IntPrimitiveType,n.MoneyPrimitiveType,n.DecimalPrimitiveType,n.UIntPrimitiveType];function s(b){return a.includes(b)?`@${b}`:b}function d(b){return b[0].toUpperCase()+b.slice(1)}function u(b){switch(b.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`${u(b.base)}?`;case n.ArrayType:return`List<${u(b.base)}>`;case n.StructType:case n.EnumType:return b.name;case n.TypeReference:return u(b.type);default:throw new Error(`BUG: generateTypeName with ${b.constructor.name}`)}}function p(b,_,w,A,R=1,M=!0){switch(b.constructor){case n.IntPrimitiveType:return`\n if (${_}.ValueKind != JsonValueKind.Number || !${_}.TryGetInt32(out ${A}))\n {\n throw new FatalException($"'{${w}}' must be an integer");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.UIntPrimitiveType:return`\n if (${_}.ValueKind != JsonValueKind.Number || !${_}.TryGetUInt32(out ${A}))\n {\n throw new FatalException($"'{${w}}' must be an unsigned integer.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.DecimalPrimitiveType:case n.MoneyPrimitiveType:return`\n if (${_}.ValueKind != JsonValueKind.Number || !${_}.TryGetDecimal(out ${A}) || ${A} % 1 != 0)\n {\n throw new FatalException($"'{${w}}' must be an integer amount of cents.");\n }\n ${A} /= 100;\n `.replace(/\n {16}/gu,"\n").trim();case n.FloatPrimitiveType:return`\n if (${_}.ValueKind != JsonValueKind.Number || !${_}.TryGetDouble(out ${A}))\n {\n throw new FatalException($"'{${w}}' must be a floating-point number.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.BigIntPrimitiveType:return`\n if (${_}.ValueKind != JsonValueKind.String || !BigInteger.TryParse(${_}.GetString(), out ${A}))\n {\n throw new FatalException($"'{${w}}' must be an arbitrarily large integer in a string.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.StringPrimitiveType:return`\n if (${_}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${w}}' must be a string.");\n }\n ${A} = ${_}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.HtmlPrimitiveType:return`\n if (${_}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${w}}' must be a valid HTML string.");\n }\n ${A} = ${_}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.CpfPrimitiveType:return`\n if (${_}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${w}}' must be a valid CPF string.");\n }\n ${A} = ${_}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.CnpjPrimitiveType:return`\n if (${_}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${w}}' must be a valid CNPJ string.");\n }\n ${A} = ${_}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.EmailPrimitiveType:return`\n if (${_}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${w}}' must be a valid email.");\n }\n ${A} = ${_}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.UrlPrimitiveType:return`\n if (${_}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${w}}' must be a valid URL string.");\n }\n ${A} = ${_}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.UuidPrimitiveType:return`\n if (${_}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${w}}' must be a valid UUID.");\n }\n ${A} = ${_}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.HexPrimitiveType:return`\n if (${_}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${w}}' must be a valid hex string.");\n }\n ${A} = ${_}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.Base64PrimitiveType:return`\n if (${_}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${w}}' must be a base64 string.");\n }\n ${A} = ${_}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.XmlPrimitiveType:return`\n if (${_}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${w}}' must be a XML string.");\n }\n ${A} = ${_}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.BoolPrimitiveType:return`\n if (${_}.ValueKind != JsonValueKind.True && ${_}.ValueKind != JsonValueKind.False)\n {\n throw new FatalException($"'{${w}}' must be either true or false.");\n }\n ${A} = ${_}.GetBoolean();\n `.replace(/\n {16}/gu,"\n").trim();case n.BytesPrimitiveType:return`\n if (${_}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${w}}' must be a string.");\n }\n try\n {\n ${A} = Convert.FromBase64String(${_}.GetString());\n }\n catch (FormatException)\n {\n throw new FatalException($"'{${w}}' must be a base64 string.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.TypeReference:return p(b.type,_,w,A,R);case n.OptionalType:if(m.includes(b.base.constructor)){const Y=`${A.replace(/[^0-9a-zA-Z]/gu,"")}Tmp`;return`\n if (${_}.ValueKind == JsonValueKind.Null || ${_}.ValueKind == JsonValueKind.Undefined)\n {\n ${A} = null;\n }\n else\n {\n ${u(b.base)} ${Y};\n ${p(b.base,_,w,Y,R,!1).replace(/\n/gu,"\n ")}\n ${A} = ${Y};\n }\n `.replace(/\n {20}/gu,"\n").trim()}return`\n if (${_}.ValueKind == JsonValueKind.Null || ${_}.ValueKind == JsonValueKind.Undefined)\n {\n ${A} = null;\n }\n else\n {\n ${p(b.base,_,w,A,R,!1).replace(/\n/gu,"\n ")}\n }\n `.replace(/\n {20}/gu,"\n").trim();case n.EnumType:case n.StructType:return`${A} = Decode${b.name}(${_}, ${w});`;case n.JsonPrimitiveType:return M?`\n if (${_}.ValueKind == JsonValueKind.Null || ${_}.ValueKind == JsonValueKind.Undefined)\n {\n throw new FatalException($"'{${w}}' can't be null.");\n }\n ${A} = ${_};\n `.replace(/\n {16}/gu,"\n").trim():`${A} = ${_};`;case n.DateTimePrimitiveType:return`\n if (${_}.ValueKind != JsonValueKind.String || !(DateTime.TryParseExact(${_}.GetString(), "yyyy-MM-ddTHH:mm:ss.FFFFFFF", CultureInfo.InvariantCulture, DateTimeStyles.AdjustToUniversal | DateTimeStyles.AssumeUniversal, out ${A}) || DateTime.TryParseExact(${_}.GetString(), "yyyy-MM-ddTHH:mm:ss.FFFFFFF'Z'", CultureInfo.InvariantCulture, DateTimeStyles.AdjustToUniversal | DateTimeStyles.AssumeUniversal, out ${A})))\n {\n throw new FatalException($"'{${w}}' must be a datetime.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.DatePrimitiveType:return`\n if (${_}.ValueKind != JsonValueKind.String || !(DateTime.TryParseExact(${_}.GetString(), "yyyy-MM-dd", CultureInfo.InvariantCulture, DateTimeStyles.AdjustToUniversal | DateTimeStyles.AssumeUniversal, out ${A})))\n {\n throw new FatalException($"'{${w}}' must be a date.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.ArrayType:return`\n if (${_}.ValueKind != JsonValueKind.Array)\n {\n throw new FatalException($"'{${w}}' must be a date.");\n }\n ${A} = new ${u(b)}();\n for (var i${R} = 0; i${R} < ${_}.GetArrayLength(); ++i${R})\n {\n ${u(b.base)} element${R};\n ${p(b.base,`${_}[i${R}]`,`$"{${w}}[{i${R}}]"`,`element${R}`,R+1).replace(/\n/gu,"\n ")}\n ${A}.Add(element${R});\n }\n `.replace(/\n {16}/gu,"\n").trim();default:throw new Error(`BUG: decodeType with ${b.constructor.name}`)}}function v(b,_,w,A=1){switch(b.constructor){case n.StringPrimitiveType:return`resultWriter_.WriteStringValue(${_});`;case n.FloatPrimitiveType:case n.UIntPrimitiveType:case n.IntPrimitiveType:return`resultWriter_.WriteNumberValue(${_});`;case n.DecimalPrimitiveType:case n.MoneyPrimitiveType:return`resultWriter_.WriteNumberValue(Math.Round(${_} * 100));`;case n.BigIntPrimitiveType:return`resultWriter_.WriteStringValue(${_}.ToString());`;case n.BoolPrimitiveType:return`resultWriter_.WriteBooleanValue(${_});`;case n.BytesPrimitiveType:return`resultWriter_.WriteStringValue(Convert.ToBase64String(${_}));`;case n.DateTimePrimitiveType:return`resultWriter_.WriteStringValue(${_}.ToString("yyyy-MM-ddTHH:mm:ss.FFFFFF'Z'"));`;case n.DatePrimitiveType:return`resultWriter_.WriteStringValue(${_}.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(${_});`;case n.OptionalType:{let R=b.base;for(;R instanceof n.TypeReference;)R=R.type;return`\n if (${_} == null)\n {\n resultWriter_.WriteNullValue();\n }\n else\n {\n ${v(R,g.includes(R.constructor)?_:`${_}.Value`,w,A).replace(/\n/gu,"\n ")}\n }`.replace(/\n {16}/gu,"\n").trim()}case n.TypeReference:return v(b.type,_,w,A);case n.EnumType:case n.StructType:return`Encode${b.name}(${_}, resultWriter_, ${w});`;case n.JsonPrimitiveType:return`${_}.WriteTo(resultWriter_);`;case n.ArrayType:return`\n resultWriter_.WriteStartArray();\n for (var i${A} = 0; i${A} < ${_}.Count; ++i${A})\n {\n ${v(b.base,`${_}[i${A}]`,`$"{${w}}[{i${A}}]"`,A+1).replace(/\n/gu,"\n ")}\n }\n resultWriter_.WriteEndArray();\n `.replace(/\n {16}/gu,"\n").trim();default:throw new Error(`BUG: encodeType with ${b.constructor.name}`)}}o.ident=s,o.capitalize=d,o.generateTypeName=u,o.decodeType=p,o.encodeType=v,o.generateStruct=function f(b){return`\n public class ${b.name}\n {${b.fields.map(_=>`\n public ${u(_.type)} ${d(_.name)};`).join("")}\n public ${b.name}(${b.fields.map(_=>`${u(_.type)} ${s(_.name)}`).join(", ")})\n {${b.fields.map(_=>`\n ${d(_.name)} = ${s(_.name)};`).join("")}\n }\n }\n\n ${b.name} Decode${b.name}(JsonElement json_, string path_)\n {\n if (json_.ValueKind != JsonValueKind.Object)\n {\n throw new FatalException($"'{path_}' must be an object.");\n }\n${b.fields.map(_=>` JsonElement ${_.name}Json_;\n if (!json_.TryGetProperty(${JSON.stringify(_.name)}, out ${_.name}Json_))\n {\n ${_.type instanceof n.OptionalType?`${_.name}Json_ = new JsonElement();`:`throw new FatalException($"'{path_}.${_.name}' must be set to a value of type ${_.type.name}.");`}\n }\n ${u(_.type)} ${s(_.name)};\n ${p(_.type,`${_.name}Json_`,`$"{path_}.${_.name}"`,s(_.name)).replace(/\n/gu,"\n ")}`).join("\n")}\n return new ${b.name}(${b.fields.map(_=>s(_.name)).join(", ")});\n }\n\n void Encode${b.name}(${b.name} obj_, Utf8JsonWriter resultWriter_, string path_)\n {\n resultWriter_.WriteStartObject();\n ${b.fields.map(_=>`resultWriter_.WritePropertyName(${JSON.stringify(_.name)});\n ${v(_.type,`obj_.${d(_.name)}`,`$"{path_}.${_.name}"`).replace(/\n/gu,"\n ")}`).join("\n ")}\n resultWriter_.WriteEndObject();\n }\n`},o.generateEnum=function y(b){return`\n public enum ${b.name}\n {${b.values.map(({value:_})=>`\n ${d(_)}`).join(",\n ")}\n }\n\n ${b.name} Decode${b.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();${b.values.map(({value:_})=>`\n if (value == "${_}")\n {\n return ${b.name}.${d(_)};\n }`).join("")}\n throw new FatalException($"'{path_}' must be one of: (${b.values.map(({value:_})=>`'${_}'`).join(", ")}).");\n }\n\n void Encode${b.name}(${b.name} obj_, Utf8JsonWriter resultWriter_, string path_)\n {${b.values.map(({value:_})=>`\n if (obj_ == ${b.name}.${d(_)})\n {\n resultWriter_.WriteStringValue("${_}");\n }`).join("")}\n }\n`}},3236:function(Z,o,c){"use strict";var n=this&&this.__createBinding||(Object.create?function(g,m,s,d){void 0===d&&(d=s);var u=Object.getOwnPropertyDescriptor(m,s);(!u||("get"in u?!m.__esModule:u.writable||u.configurable))&&(u={enumerable:!0,get:function(){return m[s]}}),Object.defineProperty(g,d,u)}:function(g,m,s,d){void 0===d&&(d=s),g[d]=m[s]}),a=this&&this.__exportStar||function(g,m){for(var s in g)"default"!==s&&!Object.prototype.hasOwnProperty.call(m,s)&&n(m,g,s)};Object.defineProperty(o,"__esModule",{value:!0}),a(c(4065),o)},2257:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateDartClientSource=void 0;const n=c(6325),a=c(5606);o.generateDartClientSource=function g(m){let s="";s+="// ignore_for_file: constant_identifier_names\n",(0,n.hasType)(m,n.BytesPrimitiveType)&&(s+="import 'dart:typed_data';\n"),(0,n.hasType)(m,n.DecimalPrimitiveType)&&(s+="import 'package:decimal/decimal.dart';\n"),s+="import 'package:http/http.dart' as http;\nimport 'package:sdkgen_runtime/types.dart';\nimport 'package:sdkgen_runtime/http_client.dart';\n";for(const d of m.enumTypes)s+=(0,a.generateEnum)(d),s+="\n";for(const d of m.structTypes)s+=(0,a.generateClass)(d),s+="\n";for(const d of m.errors)s+=(0,a.generateErrorClass)(d),s+="\n";s+=`class ApiClient extends SdkgenHttpClient {\n ApiClient(String baseUrl, [http.Client? client]) : super(baseUrl, client, _typeTable, _fnTable, _errTable);\n${m.operations.filter(d=>d.annotations.every(u=>!(u instanceof n.HiddenAnnotation))).map(d=>`\n ${d.returnType instanceof n.VoidPrimitiveType?"Future<void> ":`Future<${(0,a.generateTypeName)(d.returnType)}> `}${d.name}(${0===d.args.length?"":`{${d.args.map(u=>`${u.type instanceof n.OptionalType?"":"required "}${(0,a.generateTypeName)(u.type)} ${(0,a.mangle)(u.name)}`).join(", ")}}`}) async { ${d.returnType instanceof n.VoidPrimitiveType?"":"return "}${(0,a.cast)(`await makeRequest('${d.name}', {${d.args.map(u=>`'${u.name}': ${(0,a.mangle)(u.name)}`).join(", ")}})`,d.returnType)}; }`).join("")}\n}\n\n`,s+="var _typeTable = {\n";for(const d of m.structTypes){s+=` '${d.name}': StructTypeDescription(\n`,s+=` ${d.name},\n`,s+=" {\n";for(const u of d.fields)s+=` '${u.name}': '${u.type.name}',\n`;s+=" },\n",s+=` (Map fields) => ${d.name}(\n`;for(const u of d.fields)s+=` ${(0,a.mangle)(u.name)}: ${(0,a.cast)(`fields['${u.name}']`,u.type)},\n`;s+=" ),\n",s+=` (${d.name} obj) => ({\n`;for(const u of d.fields)s+=` '${u.name}': obj.${(0,a.mangle)(u.name)},\n`;s+=" }),\n",s+=" ),\n"}for(const d of m.enumTypes)s+=` '${d.name}': EnumTypeDescription(${d.name}, ${d.name}.values, [\n ${d.values.map(u=>`'${u.value}'`).join(",\n ")}\n ]),\n`;s+="};\n\n",s+="var _fnTable = {\n";for(const d of m.operations){s+=` '${d.name}': FunctionDescription('${d.returnType.name}', {\n`;for(const u of d.args)s+=` '${u.name}': '${u.type.name}',\n`;s+=" }),\n"}s+="};\n\n",s+="var _errTable = {\n";for(const d of m.errors)s+=` '${d.name}': SdkgenErrorDescription('${d.dataType.name}', (msg, req, data) => ${d.name}(msg, req${d.dataType instanceof n.VoidPrimitiveType?"":", data"})),\n`;return s+="};\n",s}},5606:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateClass=o.cast=o.generateErrorClass=o.generateTypeName=o.generateEnum=o.mangle=void 0;const n=c(6325);function a(b){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(b)?`$${b}`:b}function m(b){switch(b.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`${m(b.base)}?`;case n.ArrayType:return`List<${m(b.base)}>`;case n.StructType:case n.EnumType:return b.name;case n.TypeReference:return m(b.type);default:throw new Error(`BUG: generateTypeName with ${b.constructor.name}`)}}o.mangle=a,o.generateEnum=function g(b){return`enum ${b.name} {\n ${b.values.map(_=>_.value).join(",\n ")}\n}\n`},o.generateTypeName=m,o.generateErrorClass=function s(b){if(b.dataType instanceof n.VoidPrimitiveType)return`class ${b.name} extends SdkgenError {\n ${b.name}(super.msg, super.request);\n}\n`;const _=m(b.dataType);return`class ${b.name} extends SdkgenErrorWithData<${_}> {\n ${b.name}(super.msg, super.request, super.data);\n}\n`},o.cast=function d(b,_){return _ instanceof n.OptionalType?`${b} == null ? null : ${d(b,_.base)}`:_ instanceof n.ArrayType?`(${b} as List).map((e) => ${d("e",_.base)}).toList()`:_ instanceof n.VoidPrimitiveType?b:_ instanceof n.FloatPrimitiveType?`(${b} as num).toDouble()`:_ instanceof n.MoneyPrimitiveType?`${b} as int`:`${b} as ${m(_)}`},o.generateClass=function y(b){return`class ${b.name} {\n ${b.fields.map(_=>`final ${m(_.type)} ${a(_.name)};`).join("\n ")}\n\n${function u(b){let _=` ${b.name}({\n`;for(const w of b.fields)_+=w.type instanceof n.OptionalType?" ":" required ",_+=`this.${a(w.name)},\n`;return _+=" });\n",_}(b)}\n${function p(b){let _=" @override\n bool operator ==(other){\n";return _+=" if (identical(this, other)) return true;\n",_+=` return ${[`other is ${b.name}`,...b.fields.map(w=>`${a(w.name)} == other.${a(w.name)}`)].join(" && ")};\n`,_+=" }\n",_}(b)}\n${function v(b){return` @override\n int get hashCode => Object.hashAllUnordered([${b.fields.map(_=>a(_.name)).join(", ")}]);\n`}(b)}\n${function f(b){return` @override\n String toString() {\n return '${b.name} { ${b.fields.map(_=>`${_.name}: $${a(_.name).startsWith("$")?`{${a(_.name)}}`:a(_.name)}`).join(", ")} }';\n }\n`}(b)}}\n`}},5737:function(Z,o,c){"use strict";var n=this&&this.__createBinding||(Object.create?function(g,m,s,d){void 0===d&&(d=s);var u=Object.getOwnPropertyDescriptor(m,s);(!u||("get"in u?!m.__esModule:u.writable||u.configurable))&&(u={enumerable:!0,get:function(){return m[s]}}),Object.defineProperty(g,d,u)}:function(g,m,s,d){void 0===d&&(d=s),g[d]=m[s]}),a=this&&this.__exportStar||function(g,m){for(var s in g)"default"!==s&&!Object.prototype.hasOwnProperty.call(m,s)&&n(m,g,s)};Object.defineProperty(o,"__esModule",{value:!0}),a(c(2257),o)},1260:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateFSharpServerSource=void 0;const n=c(6325),a=c(5640);o.generateFSharpServerSource=function g(m){let s="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 d of m.errors)s+=`\ntype ${d.name}Exception =\n inherit SdkgenException\n\n new(message: string) = {\n inherit SdkgenException("${d.name}", message, null)\n }\n\n new(message: string, inner: Exception) = {\n inherit SdkgenException("${d.name}", message, inner)\n }\n`;for(const d of m.enumTypes)s+=`\n${(0,a.generateEnum)(d)}\n`;for(const d of m.structTypes)s+=`\n${(0,a.generateStruct)(d)}\n`;s+="\ntype Api() =";for(const d of m.operations){const u=d.returnType instanceof n.VoidPrimitiveType?"":`<${(0,a.generateTypeName)(d.returnType)}>`,p=d.args.length>0?`{| ${d.args.map(v=>`${v.name}: ${(0,a.generateTypeName)(v.type)};`).join("")} |} ->`:"";s+=`\n member val ${(0,a.capitalize)(d.name)}: Context -> ${p} Task${u} =\n fun _ -> (raise (FatalException("Function '${d.name}' not implemented.")))\n with get, set\n `}s+="\n interface BaseApi with\n member __.ExecuteFunction(context_: Context, resultWriter_: Utf8JsonWriter) : Task =\n task {\n match context_.Name with";for(const d of m.operations){s+=`\n | ${JSON.stringify(d.name)} ->`;for(const u of d.args)s+=`\n let ${u.name}Json_ =\n match context_.Args.TryGetValue(${JSON.stringify(u.name)}) with\n | true, v -> v\n | _ -> raise (FatalException("'${d.name}().args.${u.name}' must be set to a value of type ${u.type.name}."))\n\n let ${(0,a.ident)(u.name)} =\n ${(0,a.decodeType)(u.type,`${u.name}Json_`,`"${d.name}().args.${u.name}"`,(0,a.ident)(u.name)).replace(/\n/gu,"\n ")}`;s+=d.returnType instanceof n.VoidPrimitiveType?`\n\n do! (__.${(0,a.capitalize)(d.name)} context_ ${d.args.length>0?"{|":""} ${d.args.map(u=>`${u.name} = ${(0,a.ident)(u.name)}`).join("; ")} ${d.args.length>0?"|}":""})\n `:`\n\n let! result_ = (__.${(0,a.capitalize)(d.name)} context_ ${d.args.length>0?"{|":""} ${d.args.map(u=>`${u.name} = ${(0,a.ident)(u.name)}`).join("; ")} ${d.args.length>0?"|}":""})\n ${(0,a.encodeType)(d.returnType,"result_",`"${d.name}().ret"`,1,!1).replace(/\n/gu,"\n ")}`}return s+="\n\n | _ -> raise (FatalException($\"Unknown function '{context_.Name}'.\"))\n } :> Task",s+=`\n member __.GetAstJson() = """${JSON.stringify((0,n.astToJson)(m),null,4).replace(/\n/gu,"\n ")}""";`,s}},5640:(Z,o,c)=>{"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=c(6325),a=["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"],m=[n.BigIntPrimitiveType,n.DatePrimitiveType,n.DateTimePrimitiveType,n.FloatPrimitiveType,n.IntPrimitiveType,n.MoneyPrimitiveType,n.UIntPrimitiveType,n.ArrayType];function s(b){return a.includes(b)?`${b}'`:b}function d(b){return b[0].toUpperCase()+b.slice(1)}function u(b){switch(b.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`${u(b.base)} option`;case n.ArrayType:return`${u(b.base)} list`;case n.StructType:case n.EnumType:return b.name;case n.TypeReference:return u(b.type);default:throw new Error(`BUG: generateTypeName with ${b.constructor.name}`)}}function p(b,_,w,A,R=1,M=!0){switch(b.constructor){case n.IntPrimitiveType:return`\n decodeInt32 ${_} ${w}\n `.replace(/\n {16}/gu,"\n").trim();case n.UIntPrimitiveType:return`\n decodeUInt32 ${_} ${w}\n `.replace(/\n {16}/gu,"\n").trim();case n.MoneyPrimitiveType:return`\n (decodeMoney ${_} ${w}) / 100m\n `.replace(/\n {16}/gu,"\n").trim();case n.FloatPrimitiveType:return`\n decodeFloat ${_} ${w}\n `.replace(/\n {16}/gu,"\n").trim();case n.BigIntPrimitiveType:return`\n decodeBigInt ${_} ${w}\n `.replace(/\n {16}/gu,"\n").trim();case n.StringPrimitiveType:return`\n decodeString ${_} ${w}\n `.replace(/\n {16}/gu,"\n").trim();case n.HtmlPrimitiveType:return`\n decodeHtml ${_} ${w}\n `.replace(/\n {16}/gu,"\n").trim();case n.CpfPrimitiveType:return`\n decodeCpf ${_} ${w}\n `.replace(/\n {16}/gu,"\n").trim();case n.CnpjPrimitiveType:return`\n decodeCnpj ${_} ${w}\n `.replace(/\n {16}/gu,"\n").trim();case n.EmailPrimitiveType:return`\n decodeEmail ${_} ${w}\n `.replace(/\n {16}/gu,"\n").trim();case n.UrlPrimitiveType:return`\n decodeUrl ${_} ${w}\n `.replace(/\n {16}/gu,"\n").trim();case n.UuidPrimitiveType:return`\n decodeUuid ${_} ${w}\n `.replace(/\n {16}/gu,"\n").trim();case n.HexPrimitiveType:return`\n decodeHex ${_} ${w}\n `.replace(/\n {16}/gu,"\n").trim();case n.Base64PrimitiveType:return`\n decodeBase64 ${_} ${w}\n `.replace(/\n {16}/gu,"\n").trim();case n.XmlPrimitiveType:return`\n decodeXml ${_} ${w}\n `.replace(/\n {16}/gu,"\n").trim();case n.BoolPrimitiveType:return`\n decodeBool ${_} ${w}\n `.replace(/\n {16}/gu,"\n").trim();case n.BytesPrimitiveType:return`\n decodeBytes ${_} ${w}\n `.replace(/\n {16}/gu,"\n").trim();case n.TypeReference:return p(b.type,_,w,A,R);case n.OptionalType:return m.includes(b.base.constructor)?`match ${_}.ValueKind with\n | JsonValueKind.Null | JsonValueKind.Undefined -> None\n | _ ->\n (${p(b.base,_,w,A,R,!1).replace(/\n/gu,"\n ")}) |> Some\n `.replace(/\n {16}/gu,"\n").trim():b.base instanceof n.OptionalType||b.base instanceof n.ArrayType?`\n (>.>) decodeOptional ${p(b.base,_,w,A,R,!1)}\n `.replace(/\n {16}/gu,"\n").trim():`\n decodeOptional ${p(b.base,_,w,A,R,!1)}\n `.replace(/\n {16}/gu,"\n").trim();case n.EnumType:case n.StructType:return`Decode${b.name} ${_} ${w}`;case n.JsonPrimitiveType:return M?`\n ${_}\n `.replace(/\n {16}/gu,"\n").trim():`${A} <- ${_}`;case n.DateTimePrimitiveType:return`\n decodeDateTime ${_} ${w}\n `.replace(/\n {16}/gu,"\n").trim();case n.DatePrimitiveType:return`\n decodeDate ${_} ${w}\n `.replace(/\n {16}/gu,"\n").trim();case n.ArrayType:return`\n match ${_}.ValueKind with\n | JsonValueKind.Array ->\n let mutable list_ = List.empty\n for i1 in 0 .. (${_}.GetArrayLength() - 1) do\n let item = ${_}.[i1]\n let partialResult =\n ${p(b.base,`${_}.[i1]`,`${w.slice(0,-1)}.{i1}"`,A,R,!1).replace(/\n/gu,"\n ")}\n list_ <- list_ |> List.append [ partialResult ]\n list_\n | _ -> raise (FatalException(${w.slice(0,-1)} must be an array."))\n `.replace(/\n {16}/gu,"\n").trim();default:throw new Error(`BUG: decodeType with ${b.constructor.name}`)}}function v(b,_,w,A=1,R=!0){switch(b.constructor){case n.StringPrimitiveType:return`resultWriter_.WriteStringValue(${_})`;case n.FloatPrimitiveType:case n.UIntPrimitiveType:case n.IntPrimitiveType:return`resultWriter_.WriteNumberValue(${_})`;case n.MoneyPrimitiveType:return`resultWriter_.WriteNumberValue(int (Math.Round(${_} * 100m)))`;case n.BigIntPrimitiveType:return`resultWriter_.WriteStringValue(${_}.ToString())`;case n.BoolPrimitiveType:return`resultWriter_.WriteBooleanValue(${_})`;case n.BytesPrimitiveType:return`resultWriter_.WriteStringValue(Convert.ToBase64String(${_}))`;case n.DateTimePrimitiveType:return`resultWriter_.WriteStringValue(${_}.ToString("yyyy-MM-ddTHH:mm:ss.FFFFFF'Z'"))`;case n.DatePrimitiveType:return`resultWriter_.WriteStringValue(${_}.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(${_})`;case n.OptionalType:{let M=b.base;for(;M instanceof n.TypeReference;)M=M.type;return`\n if (${_}.IsNone) then\n resultWriter_.WriteNullValue()\n else\n ${v(M,`${_}.Value`,w,A,R)}\n `.replace(/\n {14}/gu,"\n").trim()}case n.TypeReference:return v(b.type,_,w,A,R);case n.EnumType:case n.StructType:return`Encode${b.name} ${_} resultWriter_ ${w}`;case n.JsonPrimitiveType:return`${_}.WriteTo(resultWriter_)`;case n.ArrayType:return`\n resultWriter_.WriteStartArray()\n for i${A} in 0..${_}.Length - 1 do\n ${v(b.base,`${_}.[i${A}]`,`${w}`,A+1).replace(/\n/gu,"\n ")}\n resultWriter_.WriteEndArray()\n `.replace(/\n {14}/gu,"\n").trim();default:throw new Error(`BUG: encodeType with ${b.constructor.name}`)}}o.ident=s,o.capitalize=d,o.generateTypeName=u,o.decodeType=p,o.encodeType=v,o.generateStruct=function f(b){return`\ntype ${b.name} = {\n ${b.fields.map(_=>`${d(_.name)}: ${u(_.type)}`).join(";\n ")}\n} with\n static member Create (${b.fields.map(_=>`${s(_.name)}: ${u(_.type)}`).join(", ")}): ${b.name} =\n { ${b.fields.map(_=>`${d(_.name)} = ${s(_.name)}`).join("; ")} }\n\nlet Decode${b.name} (json_: JsonElement) (path_: string): ${b.name} =\n if (json_.ValueKind <> JsonValueKind.Object) then raise (FatalException($"'{path_}' must be an object."))\n ${b.fields.map(_=>`\n let ${_.name}Json_ = decodeJsonElementStrict ${JSON.stringify(_.name)} json_ $"{path_}.${_.name}"\n let ${s(_.name)} =\n ${p(_.type,`${_.name}Json_`,`$"{path_}.${_.name}"`,s(_.name)).replace(/\n/gu,"\n ")}\n `).join("")}\n { ${b.fields.map(_=>`${d(_.name)} = ${s(_.name)}`).join("; ")} }\n\nlet Encode${b.name} (obj_: ${b.name}) (resultWriter_: Utf8JsonWriter) (path_: string) =\n resultWriter_.WriteStartObject()\n ${b.fields.map(_=>`\n resultWriter_.WritePropertyName(${JSON.stringify(_.name)})\n ${v(_.type,`obj_.${d(_.name)}`,`$"{path_}.${_.name}"`).replace(/\n/gu,"\n ")}`).join("\n")}\n resultWriter_.WriteEndObject()`},o.generateEnum=function y(b){return`\ntype ${b.name} =\n ${b.values.map(({value:_})=>`| ${d(_)}`).join("\n ")}\n\nlet Decode${b.name} (json_: JsonElement) (path_: string): ${b.name} =\n if (json_.ValueKind <> JsonValueKind.String) then raise (FatalException($"'{path_}' must be a string."))\n match json_.GetString() with\n ${b.values.map(({value:_})=>`| "${_}" -> ${b.name}.${d(_)}`).join("\n ")}\n | _ -> raise (FatalException($"'{path_}' must be one of: (${b.values.map(({value:_})=>`'${_}'`).join(", ")})."))\n\nlet Encode${b.name} (obj_: ${b.name}) (resultWriter_: Utf8JsonWriter) (path_: string) =\n match obj_ with\n ${b.values.map(({value:_})=>`| ${b.name}.${d(_)} -> resultWriter_.WriteStringValue("${_}")`).join("\n ")}\n\n`}},2045:function(Z,o,c){"use strict";var n=this&&this.__createBinding||(Object.create?function(g,m,s,d){void 0===d&&(d=s);var u=Object.getOwnPropertyDescriptor(m,s);(!u||("get"in u?!m.__esModule:u.writable||u.configurable))&&(u={enumerable:!0,get:function(){return m[s]}}),Object.defineProperty(g,d,u)}:function(g,m,s,d){void 0===d&&(d=s),g[d]=m[s]}),a=this&&this.__exportStar||function(g,m){for(var s in g)"default"!==s&&!Object.prototype.hasOwnProperty.call(m,s)&&n(m,g,s)};Object.defineProperty(o,"__esModule",{value:!0}),a(c(1260),o)},8273:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateAndroidClientSource=void 0;const n=c(6325),a=c(9274);o.generateAndroidClientSource=function g(m,s){let d='@file:Suppress("UNNECESSARY_SAFE_CALL")\n\nimport android.os.Parcelable\nimport kotlinx.parcelize.Parcelize\nimport android.content.Context\nimport android.util.Base64\nimport com.google.gson.*\nimport com.google.gson.reflect.TypeToken\nimport com.google.gson.annotations.JsonAdapter\nimport com.google.gson.annotations.SerializedName\nimport io.sdkgen.runtime.SdkgenHttpClient\nimport kotlinx.coroutines.*\nimport kotlinx.coroutines.Dispatchers.IO\nimport kotlinx.parcelize.RawValue\nimport java.util.*\nimport okhttp3.Interceptor\n\ninline fun <reified T> Gson.fromJson(json: String) =\n fromJson<T>(json, object : TypeToken<T>() {}.type)\n\ninline fun <reified T> Gson.fromJson(json: JsonElement) =\n fromJson<T>(json, object : TypeToken<T>() {}.type)\n\n@Suppress("DeferredIsResult", "unused")\nclass ApiClient(\n baseUrl: String,\n val applicationContext: Context,\n defaultTimeoutMillis: Long = 10000L,\n fingerprint: String? = null,\n httpInterceptor: Interceptor? = null,\n httpNetworkInterceptor: Interceptor? = null\n) : SdkgenHttpClient(baseUrl, applicationContext, defaultTimeoutMillis, fingerprint, httpInterceptor, httpNetworkInterceptor) {\n\n private val gson = GsonBuilder()\n .registerTypeAdapter(object : TypeToken<ByteArray>() {}.type, ByteArrayDeserializer())\n .create()\n\n';for(const v of m.enumTypes)d+=` ${(0,a.generateEnum)(v)}`,d+="\n";d+=" open class Error(val message: String? = null)\n",d+=" data class Response<T>(val error: Error?, val data: T?, val stats: CallStats?)\n\n";for(const v of m.structTypes)d+=` ${(0,a.generateClass)(v)}\n`;const u=[],p=new n.ErrorNode("Connection",new n.VoidPrimitiveType);u.push(p.name),d+=` ${(0,a.generateErrorClass)(p)}`;for(const v of m.errors)d+=` ${(0,a.generateErrorClass)(v)}`,u.push(v.name);return u.length>0&&(d+=`\n enum class ErrorType {\n ${u.join(",\n ")};\n\n fun type(): Class<out ApiClient.Error> {\n return when (this) {\n ${u.map(v=>`${v} -> ApiClient.${v}::class.java`).join("\n ")}\n else -> ApiClient.Error::class.java\n }\n }\n }\n\n`),d+=" private val sdkgenIOScope = CoroutineScope(IO + SupervisorJob())\n\n",d+=m.operations.filter(v=>v.annotations.every(f=>!(f instanceof n.HiddenAnnotation))).map(v=>{let f="";const y=[];y.push("timeoutMillis: Long? = null"),s&&y.push(`callback: ((response: Response<${(0,a.generateKotlinTypeName)(v.returnType)}>) -> Unit)? = null`);const b=v.args.map(_=>`${(0,a.mangle)(_.name)}: ${(0,a.generateKotlinTypeName)(_.type)}`).concat(y);return f+=` fun ${(0,a.mangle)(v.name)}(\n ${b.join(",\n ")}\n ): Deferred<Response<out ${(0,a.generateKotlinTypeName)(v.returnType)}>> = sdkgenIOScope.async {\n`,v.args.length>0?(f+=" val bodyArgs = JsonObject().apply {\n",f+=v.args.map(_=>` ${(0,a.generateJsonAddRepresentation)(_.type,_.name)}`).join("\n"),f+="\n }\n"):f+=" val bodyArgs: JsonObject? = null",f+="\n",f+=` val call = makeRequest("${v.name}", bodyArgs, timeoutMillis)\n`,f+=` val response: Response<${(0,a.generateKotlinTypeName)(v.returnType)}> = handleCallResponse(call)\n`,s&&(f+=" withContext(Dispatchers.Main) { callback?.invoke(response) } \n"),f+=" return@async response\n",f+=" }\n",f}).join("\n"),d+='\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',d+="}\n",d}},9274:(Z,o,c)=>{"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=c(6325);function a(v){switch(v.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`${a(v.base)}?`;case n.ArrayType:return`ArrayList<${a(v.base)}>`;case n.StructType:case n.EnumType:return v.name;case n.TypeReference:return a(v.type);default:throw new Error(`BUG: generateKotlinTypeName with ${v.constructor.name}`)}}function g(v){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(v)?`_${v}`:v}function d(v,f){let y="";switch(f&&f!==g(f)&&(y+=` @SerializedName("${f}")\n`),v.constructor){case n.DatePrimitiveType:y+=" @JsonAdapter(DateAdapter::class)\n";break;case n.DateTimePrimitiveType:y+=" @JsonAdapter(DateTimeAdapter::class)\n";break;case n.ArrayType:case n.OptionalType:y+=d(v.base)}return y}o.generateKotlinTypeName=a,o.mangle=g,o.generateJsonAddRepresentation=function m(v,f){switch(v.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}", ${g(f)})`;case n.OptionalType:return m(v.base,f);case n.DatePrimitiveType:return`addProperty("${f}", ${g(f)}?.let { DateAdapter.sdf.format(it.time)}) `;case n.DateTimePrimitiveType:return`addProperty("${f}", ${g(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(${g(f)}))`;case n.VoidPrimitiveType:return"";case n.BytesPrimitiveType:return`addProperty("${f}", Base64.encodeToString(${g(f)}, Base64.NO_WRAP))`;default:throw new Error(`BUG: No result found for generateJsonRepresentation with ${v.constructor.name}`)}},o.generateEnum=function s(v){let f="@Parcelize \n";return f+=` enum class ${v.name} : Parcelable { ${v.values.map(y=>g(y.value)).join(", ")} }\n`,f},o.getAnnotation=d,o.generateClass=function u(v){let f="@Parcelize\n";return f+=` data class ${v.name}(\n${v.fields.map(y=>{let b=d(y.type,y.name);return b+=` var ${g(y.name)}: ${a(y.type)}${y.type.constructor===n.OptionalType?" = null":""}`,b}).join(",\n")}\n ) : Parcelable\n`,f},o.generateErrorClass=function p(v){return`class ${v.name}(message: String) : Error(message)\n`}},7068:function(Z,o,c){"use strict";var n=this&&this.__createBinding||(Object.create?function(g,m,s,d){void 0===d&&(d=s);var u=Object.getOwnPropertyDescriptor(m,s);(!u||("get"in u?!m.__esModule:u.writable||u.configurable))&&(u={enumerable:!0,get:function(){return m[s]}}),Object.defineProperty(g,d,u)}:function(g,m,s,d){void 0===d&&(d=s),g[d]=m[s]}),a=this&&this.__exportStar||function(g,m){for(var s in g)"default"!==s&&!Object.prototype.hasOwnProperty.call(m,s)&&n(m,g,s)};Object.defineProperty(o,"__esModule",{value:!0}),a(c(8273),o)},3286:function(Z,o,c){"use strict";var n=this&&this.__rest||function(xe,at){var ge={};for(var Me in xe)Object.prototype.hasOwnProperty.call(xe,Me)&&at.indexOf(Me)<0&&(ge[Me]=xe[Me]);if(null!=xe&&"function"==typeof Object.getOwnPropertySymbols){var Ke=0;for(Me=Object.getOwnPropertySymbols(xe);Ke<Me.length;Ke++)at.indexOf(Me[Ke])<0&&Object.prototype.propertyIsEnumerable.call(xe,Me[Ke])&&(ge[Me[Ke]]=xe[Me[Ke]])}return ge};Object.defineProperty(o,"__esModule",{value:!0}),o.AstRoot=o.FunctionOperation=o.TypeDefinition=o.StructType=o.TypeReference=o.Spread=o.Field=o.EnumType=o.EnumValue=o.ArrayType=o.OptionalType=o.JsonPrimitiveType=o.XmlPrimitiveType=o.Base64PrimitiveType=o.HtmlPrimitiveType=o.HexPrimitiveType=o.UuidPrimitiveType=o.UrlPrimitiveType=o.EmailPrimitiveType=o.CnpjPrimitiveType=o.CpfPrimitiveType=o.DecimalPrimitiveType=o.MoneyPrimitiveType=o.VoidPrimitiveType=o.BytesPrimitiveType=o.BoolPrimitiveType=o.DateTimePrimitiveType=o.DatePrimitiveType=o.BigIntPrimitiveType=o.FloatPrimitiveType=o.UIntPrimitiveType=o.IntPrimitiveType=o.StringPrimitiveType=o.PrimitiveType=o.StatusCodeAnnotation=o.HiddenAnnotation=o.RestAnnotation=o.ArgDescriptionAnnotation=o.ThrowsAnnotation=o.DescriptionAnnotation=o.Annotation=o.ErrorNode=o.Type=o.AstNode=void 0;const a=c(4245);class g{constructor(){this.location=new a.TokenLocation,Object.defineProperty(this,"location",{enumerable:!1})}at(at){return this.location=at.location,this}atLocation(at){return this.location=at,this}}o.AstNode=g;class m extends g{toJSON(){const at=Object.assign({},this);return n(at,["name"])}}o.Type=m,o.ErrorNode=class s extends g{constructor(at,ge){super(),this.name=at,this.dataType=ge,this.annotations=[]}};class d extends g{}o.Annotation=d,o.DescriptionAnnotation=class u extends d{constructor(at){super(),this.text=at}},o.ThrowsAnnotation=class p extends d{constructor(at){super(),this.error=at}},o.ArgDescriptionAnnotation=class v extends d{constructor(at,ge){super(),this.argName=at,this.text=ge}},o.RestAnnotation=class f extends d{constructor(at,ge,Me,Ke,ye,ht){super(),this.method=at,this.path=ge,this.pathVariables=Me,this.queryVariables=Ke,this.headers=ye,this.bodyVariable=ht}},o.HiddenAnnotation=class y extends d{},o.StatusCodeAnnotation=class b extends d{constructor(at){super(),this.statusCode=at}};class _ extends m{toJSON(){return this.name}}o.PrimitiveType=_,o.StringPrimitiveType=class w extends _{constructor(){super(...arguments),this.name="string"}},o.IntPrimitiveType=class A extends _{constructor(){super(...arguments),this.name="int"}},o.UIntPrimitiveType=class R extends _{constructor(){super(...arguments),this.name="uint"}},o.FloatPrimitiveType=class M extends _{constructor(){super(...arguments),this.name="float"}},o.BigIntPrimitiveType=class Y extends _{constructor(){super(...arguments),this.name="bigint"}},o.DatePrimitiveType=class $ extends _{constructor(){super(...arguments),this.name="date"}},o.DateTimePrimitiveType=class ne extends _{constructor(){super(...arguments),this.name="datetime"}},o.BoolPrimitiveType=class z extends _{constructor(){super(...arguments),this.name="bool"}},o.BytesPrimitiveType=class K extends _{constructor(){super(...arguments),this.name="bytes"}},o.VoidPrimitiveType=class de extends _{constructor(){super(...arguments),this.name="void"}},o.MoneyPrimitiveType=class X extends _{constructor(){super(...arguments),this.name="money"}},o.DecimalPrimitiveType=class fe extends _{constructor(){super(...arguments),this.name="decimal"}},o.CpfPrimitiveType=class he extends _{constructor(){super(...arguments),this.name="cpf"}},o.CnpjPrimitiveType=class ot extends _{constructor(){super(...arguments),this.name="cnpj"}},o.EmailPrimitiveType=class we extends _{constructor(){super(...arguments),this.name="email"}},o.UrlPrimitiveType=class tt extends _{constructor(){super(...arguments),this.name="url"}},o.UuidPrimitiveType=class nt extends _{constructor(){super(...arguments),this.name="uuid"}},o.HexPrimitiveType=class Se extends _{constructor(){super(...arguments),this.name="hex"}},o.HtmlPrimitiveType=class Ze extends _{constructor(){super(...arguments),this.name="html"}},o.Base64PrimitiveType=class st extends _{constructor(){super(...arguments),this.name="base64"}},o.XmlPrimitiveType=class W extends _{constructor(){super(...arguments),this.name="xml"}},o.JsonPrimitiveType=class Ce extends _{constructor(){super(...arguments),this.name="json"}},o.OptionalType=class ee extends m{constructor(at){super(),this.base=at}get name(){return`${this.base.name}?`}},o.ArrayType=class J extends m{constructor(at){super(),this.base=at}get name(){return`${this.base.name}[]`}},o.EnumValue=class j extends g{constructor(at){super(),this.value=at,this.annotations=[],this.struct=null}},o.EnumType=class G extends m{constructor(at){super(),this.values=at}get hasStructValues(){return this.values.some(at=>null!==at.struct)}},o.Field=class Oe extends g{constructor(at,ge,Me=!1){super(),this.name=at,this.type=ge,this.secret=Me,this.annotations=[]}},o.Spread=class U extends g{constructor(at){super(),this.typeReference=at}},o.TypeReference=class ae extends m{constructor(at){super(),this.name=at}},o.StructType=class Ee extends m{constructor(at){super(),this.fieldsAndSpreads=at,this.fields=[]}},o.TypeDefinition=class pe extends g{constructor(at,ge){super(),this.name=at,this.type=ge,this.annotations=[]}},o.FunctionOperation=class Ge extends g{constructor(at,ge,Me){super(),this.name=at,this.fieldsAndSpreads=ge,this.returnType=Me,this.annotations=[],this.args=[]}},o.AstRoot=class Be{constructor(at=[],ge=[],Me=[]){this.typeDefinitions=at,this.operations=ge,this.errors=Me,this.structTypes=[],this.enumTypes=[],this.warnings=[]}}},6151:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.compatibilityIssues=void 0;const n=c(3286);function a(s,d,u,p){var v,f;if(u instanceof n.TypeReference)a(s,d,u.type,p);else if(p instanceof n.TypeReference)a(s,d,u,p.type);else if(u instanceof n.OptionalType||!(p instanceof n.OptionalType))if(u instanceof n.OptionalType&&p instanceof n.OptionalType)a(s,d,u.base,p.base);else{if(u instanceof n.OptionalType&&!(p instanceof n.OptionalType))return d.push(`${s} was optional, but now it isn't. If the client sends a null, it will be invalid. Add the optional annotation back.`),void a(s,d,u.base,p);if(u instanceof n.ArrayType&&p instanceof n.ArrayType)a(s,d,u.base,p.base);else if(u instanceof n.StructType&&p instanceof n.StructType)for(const y of p.fields){const b=u.fields.find(_=>_.name===y.name);if(b)a(`${s}.${b.name}`,d,b.type,y.type);else{if(y.type instanceof n.OptionalType)continue;d.push(`${s}.${y.name} didn't exist before and isn't optional. Make it optional.`)}}else if(!(u instanceof n.UIntPrimitiveType&&p instanceof n.IntPrimitiveType||u instanceof n.IntPrimitiveType&&p instanceof n.FloatPrimitiveType||u instanceof n.MoneyPrimitiveType&&p instanceof n.IntPrimitiveType||u instanceof n.MoneyPrimitiveType&&p instanceof n.UIntPrimitiveType||u instanceof n.UIntPrimitiveType&&p instanceof n.BigIntPrimitiveType||u instanceof n.IntPrimitiveType&&p instanceof n.BigIntPrimitiveType||u instanceof n.MoneyPrimitiveType&&p instanceof n.BigIntPrimitiveType||u instanceof n.BigIntPrimitiveType&&p instanceof n.StringPrimitiveType||u instanceof n.UuidPrimitiveType&&p instanceof n.StringPrimitiveType||u instanceof n.XmlPrimitiveType&&p instanceof n.StringPrimitiveType||u instanceof n.DatePrimitiveType&&p instanceof n.StringPrimitiveType||u instanceof n.DateTimePrimitiveType&&p instanceof n.StringPrimitiveType||u instanceof n.CpfPrimitiveType&&p instanceof n.StringPrimitiveType||u instanceof n.CnpjPrimitiveType&&p instanceof n.StringPrimitiveType||u instanceof n.HexPrimitiveType&&p instanceof n.StringPrimitiveType||u instanceof n.HtmlPrimitiveType&&p instanceof n.StringPrimitiveType||u instanceof n.Base64PrimitiveType&&p instanceof n.StringPrimitiveType||u instanceof n.BytesPrimitiveType&&p instanceof n.StringPrimitiveType||u instanceof n.BytesPrimitiveType&&p instanceof n.Base64PrimitiveType||u instanceof n.UrlPrimitiveType&&p instanceof n.StringPrimitiveType||u instanceof n.EmailPrimitiveType&&p instanceof n.StringPrimitiveType||u instanceof n.DecimalPrimitiveType&&p instanceof n.StringPrimitiveType||u instanceof n.EnumType&&p instanceof n.StringPrimitiveType)){if(u instanceof n.EnumType&&p instanceof n.EnumType){for(const y of u.values){const b=p.values.find(_=>_.value===y.value);b?a(`${s}.${y.value}`,d,null!==(v=y.struct)&&void 0!==v?v:new n.StructType([]),null!==(f=b.struct)&&void 0!==f?f:new n.StructType([])):d.push(`The enum at ${s} used to accept the value "${y.value}" that doesn't exist now. Clients that send it will fail.`)}return}u.constructor.name!==p.constructor.name&&d.push(`${s} was ${u.name} and now it is ${p.name}. They are not compatible.`)}}else a(s,d,u,p.base)}function g(s,d,u,p){var v,f;if(u instanceof n.TypeReference)g(s,d,u.type,p);else if(p instanceof n.TypeReference)g(s,d,u,p.type);else if(!(u instanceof n.OptionalType)||p instanceof n.OptionalType)if(u instanceof n.OptionalType&&p instanceof n.OptionalType)g(s,d,u.base,p.base);else{if(!(u instanceof n.OptionalType)&&p instanceof n.OptionalType)return d.push(`${s} wasn't optional, but now it is. If the client receives a null, it will crash. Remove the optional annotation.`),void g(s,d,u,p.base);if(u instanceof n.ArrayType&&p instanceof n.ArrayType)g(s,d,u.base,p.base);else if(u instanceof n.StructType&&p instanceof n.StructType)for(const y of u.fields){const b=p.fields.find(_=>_.name===y.name);if(b)g(`${s}.${y.name}`,d,y.type,b.type);else{if(y.type instanceof n.OptionalType)continue;d.push(`${s}.${y.name} used to exist with type ${y.type.name}, but it's now missing. Add it back.`)}}else if(!(u instanceof n.IntPrimitiveType&&p instanceof n.UIntPrimitiveType||u instanceof n.FloatPrimitiveType&&p instanceof n.IntPrimitiveType||u instanceof n.IntPrimitiveType&&p instanceof n.MoneyPrimitiveType||u instanceof n.UIntPrimitiveType&&p instanceof n.MoneyPrimitiveType||u instanceof n.BigIntPrimitiveType&&p instanceof n.UIntPrimitiveType||u instanceof n.BigIntPrimitiveType&&p instanceof n.IntPrimitiveType||u instanceof n.BigIntPrimitiveType&&p instanceof n.MoneyPrimitiveType||u instanceof n.StringPrimitiveType&&p instanceof n.BigIntPrimitiveType||u instanceof n.StringPrimitiveType&&p instanceof n.UuidPrimitiveType||u instanceof n.StringPrimitiveType&&p instanceof n.XmlPrimitiveType||u instanceof n.StringPrimitiveType&&p instanceof n.DatePrimitiveType||u instanceof n.StringPrimitiveType&&p instanceof n.DateTimePrimitiveType||u instanceof n.StringPrimitiveType&&p instanceof n.CpfPrimitiveType||u instanceof n.StringPrimitiveType&&p instanceof n.CnpjPrimitiveType||u instanceof n.StringPrimitiveType&&p instanceof n.HexPrimitiveType||u instanceof n.StringPrimitiveType&&p instanceof n.HtmlPrimitiveType||u instanceof n.StringPrimitiveType&&p instanceof n.Base64PrimitiveType||u instanceof n.StringPrimitiveType&&p instanceof n.BytesPrimitiveType||u instanceof n.Base64PrimitiveType&&p instanceof n.BytesPrimitiveType||u instanceof n.StringPrimitiveType&&p instanceof n.UrlPrimitiveType||u instanceof n.StringPrimitiveType&&p instanceof n.EmailPrimitiveType||u instanceof n.StringPrimitiveType&&p instanceof n.DecimalPrimitiveType||u instanceof n.StringPrimitiveType&&p instanceof n.EnumType)){if(u instanceof n.EnumType&&p instanceof n.EnumType){for(const y of p.values){const b=u.values.find(_=>_.value===y.value);b?g(`${s}.${y.value}`,d,null!==(v=b.struct)&&void 0!==v?v:new n.StructType([]),null!==(f=y.struct)&&void 0!==f?f:new n.StructType([])):d.push(`The enum at ${s} now has the value "${y.value}" that didn't exist before. Client will crash if it receives it`)}return}u.constructor.name!==p.constructor.name&&d.push(`${s} was ${u.name} and now it is ${p.name}. They are not compatible.`)}}else g(s,d,u.base,p)}o.compatibilityIssues=function m(s,d){const u=[];for(const p of s.operations){const v=d.operations.find(f=>f.name===p.name);if(v){g(`${p.name}.ret`,u,p.returnType,v.returnType);for(const f of v.args){const y=p.args.find(b=>b.name===f.name);if(y)a(`${p.name}.args.${y.name}`,u,y.type,f.type);else{if(f.type instanceof n.OptionalType)continue;u.push(`${p.name}.args.${f.name} didn't exist before and isn't optional. Make it optional.`)}}}else u.push(`function ${p.name} used to exist, but it's now missing. Add it back.`)}for(const p of s.errors){const v=d.errors.find(f=>f.name===p.name);v&&g(`${p.name}.data`,u,p.dataType,v.dataType)}return u}},2076:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.hasType=void 0;const n=c(7045);class a extends n.Visitor{constructor(s,d){super(s),this.type=d,this.found=!1}visit(s){s.constructor===this.type&&(this.found=!0),super.visit(s)}}o.hasType=function g(m,s){const d=new a(m,s);return d.process(),d.found}},6325:function(Z,o,c){"use strict";var n=this&&this.__createBinding||(Object.create?function(d,u,p,v){void 0===v&&(v=p);var f=Object.getOwnPropertyDescriptor(u,p);(!f||("get"in f?!u.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return u[p]}}),Object.defineProperty(d,v,f)}:function(d,u,p,v){void 0===v&&(v=p),d[v]=u[p]}),a=this&&this.__exportStar||function(d,u){for(var p in d)"default"!==p&&!Object.prototype.hasOwnProperty.call(u,p)&&n(u,d,p)};Object.defineProperty(o,"__esModule",{value:!0}),o.hasType=o.Visitor=o.jsonToAst=o.astToJson=void 0,a(c(3286),o),a(c(6151),o);var g=c(6723);Object.defineProperty(o,"astToJson",{enumerable:!0,get:function(){return g.astToJson}}),Object.defineProperty(o,"jsonToAst",{enumerable:!0,get:function(){return g.jsonToAst}}),a(c(4159),o),a(c(7090),o),a(c(4245),o);var m=c(7045);Object.defineProperty(o,"Visitor",{enumerable:!0,get:function(){return m.Visitor}});var s=c(2076);Object.defineProperty(o,"hasType",{enumerable:!0,get:function(){return s.hasType}})},6723:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.jsonToAst=o.astToJson=void 0;const n=c(3286),a=c(2406),g=c(3511);function m(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(([v],[f])=>v.localeCompare(f)),method:p.method,path:p.path,pathVariables:p.pathVariables,queryVariables:[...p.queryVariables].sort((v,f)=>v.localeCompare(f))}};if(p instanceof n.HiddenAnnotation)return{type:"hidden",value:null};if(p instanceof n.StatusCodeAnnotation)return{type:"statusCode",value:p.statusCode};throw new Error(`BUG: annotationToJson with ${p.constructor.name}`)}function s(p){switch(p.type){case"description":return new n.DescriptionAnnotation(p.value);case"throws":return new n.ThrowsAnnotation(p.value);case"rest":{const{method:v,path:f,pathVariables:y,queryVariables:b,headers:_,bodyVariable:w}=p.value;return new n.RestAnnotation(v,f,y,b,new Map(_),w)}case"hidden":return new n.HiddenAnnotation;case"statusCode":return new n.StatusCodeAnnotation(p.value);default:throw new Error(`BUG: annotationFromJson with ${p.type}`)}}o.astToJson=function d(p){var v,f,y,b;const _={},w={};function A(Y){return Y instanceof n.ArrayType?`${A(Y.base)}[]`:Y instanceof n.OptionalType?`${A(Y.base)}?`:Y.name}for(const{name:Y,fields:$}of p.structTypes){if(Y in w)throw new Error(`Duplicate struct type ${Y}`);w[Y]={};const ne=w[Y];for(const z of $){ne[z.name]=A(z.type);for(const K of z.annotations)if(K instanceof n.DescriptionAnnotation){const de=`type.${Y}.${z.name}`;null!==(v=_[de])&&void 0!==v||(_[de]=[]),_[de].push(m(K))}}}for(const{name:Y,values:$}of p.enumTypes){if(Y in w)throw new Error(`Duplicate enum type ${Y}`);w[Y]=$.map(ne=>ne.struct?[ne.value,ne.struct.name]:ne.value)}for(const{name:Y,type:$}of p.typeDefinitions)$ instanceof n.StructType||$ instanceof n.EnumType||(w[Y]=A($));const R={};for(const Y of p.operations){const $={};for(const ne of Y.args){$[ne.name]=A(ne.type);for(const z of ne.annotations)if(z instanceof n.DescriptionAnnotation){const K=`fn.${Y.name}.${ne.name}`;null!==(f=_[K])&&void 0!==f||(_[K]=[]),_[K].push(m(z))}}R[Y.name]={args:$,ret:A(Y.returnType)};for(const ne of Y.annotations){const z=`fn.${Y.name}`;null!==(y=_[z])&&void 0!==y||(_[z]=[]),_[z].push(m(ne))}}const M=p.errors.map(Y=>Y.dataType instanceof n.VoidPrimitiveType?Y.name:[Y.name,Y.dataType.name]);for(const Y of p.errors)for(const $ of Y.annotations){const ne=`error.${Y.name}`;null!==(b=_[ne])&&void 0!==b||(_[ne]=[]),_[ne].push(m($))}return{annotations:_,errors:M,functionTable:R,typeTable:w}},o.jsonToAst=function u(p){var v,f;const y=[],b=[],_=[];function w(M,Y){var $;if("string"==typeof M){const z=g.primitiveToAstClass.get(M);return z?new z:M.endsWith("?")?new n.OptionalType(w(M.slice(0,M.length-1))):M.endsWith("[]")?new n.ArrayType(w(M.slice(0,M.length-2))):new n.TypeReference(M)}if(Array.isArray(M))return new n.EnumType(M.map(z=>{if(Array.isArray(z)){const[K,de]=z,X=new n.EnumValue(K);return _.push([X,de]),X}return new n.EnumValue(z)}));const ne=[];for(const z of Object.keys(M)){const K=new n.Field(z,w(M[z]));if(Y){const de=`type.${Y}.${z}`;for(const X of null!==($=p.annotations[de])&&void 0!==$?$:[])K.annotations.push(s(X))}ne.push(K)}return new n.StructType(ne)}for(const[M,Y]of Object.entries(p.typeTable)){const $=w(Y,M);b.push(new n.TypeDefinition(M,$))}for(const[M,Y]of Object.entries(p.functionTable)){const $=Object.keys(Y.args).map(K=>{var de;const X=new n.Field(K,w(Y.args[K])),fe=`fn.${M}.${K}`;for(const he of null!==(de=p.annotations[fe])&&void 0!==de?de:[])X.annotations.push(s(he));return X}),ne=new n.FunctionOperation(M,$,w(Y.ret)),z=`fn.${M}`;for(const K of null!==(v=p.annotations[z])&&void 0!==v?v:[])ne.annotations.push(s(K));y.push(ne)}for(const[M,Y]of _){const $=null===(f=b.find(ne=>ne.name===Y))||void 0===f?void 0:f.type;$ instanceof n.StructType&&(M.struct=$)}const A=p.errors.map(M=>{var Y;let $;if(Array.isArray(M)){const[z,K]=M;$=new n.ErrorNode(z,w(K))}else $=new n.ErrorNode(M,new n.VoidPrimitiveType);const ne=`error.${$.name}`;for(const z of null!==(Y=p.annotations[ne])&&void 0!==Y?Y:[])$.annotations.push(s(z));return $}),R=new n.AstRoot(b,y,A);return(0,a.analyse)(R),R}},4159:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.Lexer=o.LexerError=void 0;const n=c(4245);class a extends Error{}o.LexerError=a;class g{constructor(s,d="-"){this.source=s,this.filename=d,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 s=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(),s=new n.CurlyOpenSymbolToken;break;case"}":this.nextChar(),s=new n.CurlyCloseSymbolToken;break;case"(":this.nextChar(),s=new n.ParensOpenSymbolToken;break;case")":this.nextChar(),s=new n.ParensCloseSymbolToken;break;case"?":this.nextChar(),s=new n.OptionalSymbolToken;break;case":":this.nextChar(),s=new n.ColonSymbolToken;break;case"=":this.nextChar(),s=new n.EqualSymbolToken;break;case"!":this.nextChar(),s=new n.ExclamationMarkSymbolToken;break;case",":this.nextChar(),s=new n.CommaSymbolToken;break;case"[":"]"===this.nextChar()&&(this.nextChar(),s=new n.ArraySymbolToken);break;case".":"."===this.nextChar()&&"."===this.nextChar()&&(this.nextChar(),s=new n.SpreadSymbolToken);break;case"@":{let d="\\",u=this.startPos+1;for(;"\\"===d[d.length-1];){for(d=d.slice(0,d.length-1).trim();!["\0","\n"].includes(this.nextChar()););d=`${d} ${this.source.substring(u,this.pos).trim()}`.trim(),u=this.pos+1}s=new n.AnnotationToken(d.trim());break}case'"':{const d=[];e:for(;;)switch(this.nextChar()){case"\0":break e;case"\\":switch(this.nextChar()){case"\0":break e;case"n":d.push("\n");break;case"t":d.push("\t");break;default:d.push(this.currentChar())}break;case'"':this.nextChar(),s=new n.StringLiteralToken(d.join(""));break e;default:d.push(this.currentChar())}break}default:if(/[a-zA-Z_]/u.test(this.currentChar())){for(;/[a-zA-Z0-9_]/u.test(this.nextChar()););const d=this.source.substring(this.startPos,this.pos);switch(d){case"error":s=new n.ErrorKeywordToken;break;case"enum":s=new n.EnumKeywordToken;break;case"type":s=new n.TypeKeywordToken;break;case"import":s=new n.ImportKeywordToken;break;case"fn":s=new n.FnKeywordToken;break;case"true":s=new n.TrueKeywordToken;break;case"false":s=new n.FalseKeywordToken;break;default:s=g.PRIMITIVES.has(d)?new n.PrimitiveTypeToken(d):new n.IdentifierToken(d)}}}if(null!==s)return s.location.filename=this.filename,s.location.line=this.startLine,s.location.column=this.startColumn,s;throw"\0"===this.currentChar()?new a(`Unexpected end of file at ${this.filename}`):new a(`Unexpected character ${JSON.stringify(this.currentChar())} at ${this.filename}:${this.line}:${this.column}`)}}o.Lexer=g,g.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"]),g.KEYWORDS=new Set([...g.PRIMITIVES,"error","enum","type","import","get","function","fn","true","false"])},7090:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.Parser=o.ParserError=void 0;const n=c(3286),a=c(4159),g=c(9159),m=c(2406),s=c(4245),d=c(3511);class u extends Error{}o.ParserError=u,o.Parser=class p{constructor(f){this.token=null,this.annotations=[],this.warnings=[],this.readFileSync=()=>{throw"Not implemented"};try{this.readFileSync=Object(function(){var _=new Error("Cannot find module 'fs'");throw _.code="MODULE_NOT_FOUND",_}())}catch{}const y=Array.isArray(f)?[...f].reverse():[f];this.lexers=y.map(b=>b instanceof a.Lexer?b:new a.Lexer(this.readFileSync(b).toString(),b)),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 u(`Expected ${Object.keys(f).map(b=>b.replace("Token","")).join(" or ")}, but found end of file`);const y=this.token.constructor.name;if(y in f)return f[y](this.token);if(f.IdentifierToken){const b=this.token.maybeAsIdentifier();if(b instanceof s.IdentifierToken)return f.IdentifierToken(b)}throw new u(`Expected ${Object.keys(f).map(b=>b.replace("Token","")).join(" or ")} at ${this.token.location}, but found ${this.token}`)}expect(f){if(null===this.token)throw new u(`Expected ${f.name.replace("Token","")}, but found end of file`);if(this.token instanceof f)return this.token;if(f===s.IdentifierToken){const y=this.token.maybeAsIdentifier();if(y instanceof s.IdentifierToken)return y}throw new u(`Expected ${f.name.replace("Token","")} at ${this.token.location}, but found ${this.token}`)}parse(){const f=[],y=[],b=[];for(this.warnings=[];this.token;)this.acceptAnnotations(),this.multiExpect({ErrorKeywordToken:()=>{b.push(this.parseError())},FnKeywordToken:()=>{f.push(this.parseOperation())},ImportKeywordToken:()=>{this.checkCannotHaveAnnotationsHere(),this.nextToken();const w=this.expect(s.StringLiteralToken),A=w.location.filename.replace(/[^/\\]+$/u,`${w.value}.sdkgen`);this.lexers.push(new a.Lexer(this.readFileSync(A).toString(),A)),this.nextToken()},TypeKeywordToken:()=>{y.push(this.parseTypeDefinition())}});const _=new n.AstRoot(y,f,b);return _.warnings=this.warnings,(0,m.analyse)(_),_}acceptAnnotations(){for(;this.token instanceof s.AnnotationToken;){const f=this.token.value.split(" "),y=this.token.value.slice(f[0].length).trim();switch(f[0]){case"description":this.annotations.push(new n.DescriptionAnnotation(y).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(y).at(this.token));break;case"rest":try{this.annotations.push((0,g.parseRestAnnotation)(y).at(this.token))}catch(b){throw new u(`${b instanceof Error?b.message:b} at ${this.token.location}`)}break;case"hidden":if(""!==y)throw new u("@hidden annotation doesn't take any argument");this.annotations.push((new n.HiddenAnnotation).at(this.token));break;case"statusCode":{const b=parseInt(y,10);if(b.toString()!==y.trim())throw new u("@statusCode annotation takes an integer as argument");this.annotations.push(new n.StatusCodeAnnotation(b).at(this.token));break}default:throw new u(`Unknown annotation '${f[0]}' at ${this.token.location}`)}this.nextToken()}}checkCannotHaveAnnotationsHere(){if(this.annotations.length>0)throw new u(`Cannot have annotations at ${this.annotations[0].location}`)}parseTypeDefinition(){const f=this.expect(s.TypeKeywordToken);this.nextToken();const y=this.expect(s.IdentifierToken),b=y.value;if(!/[A-Z]/u.test(b[0]))throw new u(`The custom type name must start with an uppercase letter, but found ${JSON.stringify(b)} at ${y.location}`);this.nextToken();const{annotations:_}=this;this.annotations=[];const w=this.parseType(),A=new n.TypeDefinition(b,w).at(f);return A.annotations=_,A}parseError(){const f=this.expect(s.ErrorKeywordToken);this.nextToken();const y=this.expect(s.IdentifierToken),b=y.value;if(!/[A-Z]/u.test(b[0]))throw new u(`Error name must start with an uppercase letter, but found ${JSON.stringify(b)} at ${y.location}`);this.nextToken();let _=new n.VoidPrimitiveType;(this.token instanceof s.CurlyOpenSymbolToken||this.token instanceof s.EnumKeywordToken||this.token instanceof s.IdentifierToken||this.token instanceof s.PrimitiveTypeToken)&&(_=this.parseType());const w=new n.ErrorNode(b,_).at(f);return w.annotations=this.annotations,this.annotations=[],w}parseOperation(){let{annotations:f}=this;this.annotations=[],this.expect(s.FnKeywordToken),this.nextToken();const y=this.expect(s.IdentifierToken).value;this.nextToken(),this.expect(s.ParensOpenSymbolToken),this.nextToken();const b=new Set,_=[];let A,w=!1;for(;!w;)this.acceptAnnotations(),this.multiExpect({ParensCloseSymbolToken:Y=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),w=!0,A=Y},IdentifierToken:()=>{const Y=this.parseField();if(b.has(Y.name))throw new u(`Cannot redeclare argument '${Y.name}'`);b.add(Y.name),_.push(Y),this.multiExpect({ParensCloseSymbolToken:$=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),w=!0,A=$},CommaSymbolToken:()=>this.nextToken()})},SpreadSymbolToken:()=>{this.checkCannotHaveAnnotationsHere(),this.nextToken();const Y=this.expect(s.IdentifierToken);if(this.nextToken(),!/[A-Z]/u.test(Y.value[0]))throw new u(`Expected a type but found ${JSON.stringify(Y.value)} at ${Y.location}`);_.push(new n.Spread(new n.TypeReference(Y.value).at(Y)).at(Y)),this.multiExpect({ParensCloseSymbolToken:$=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),w=!0,A=$},CommaSymbolToken:()=>this.nextToken()})}});for(const Y of f)if(Y instanceof n.ArgDescriptionAnnotation){const $=_.find(ne=>ne instanceof n.Field&&ne.name===Y.argName);if(!$)throw new u(`Argument '${Y.argName}' not found, at ${Y.location}`);$.annotations.push(new n.DescriptionAnnotation(Y.text).atLocation(Y.location))}f=f.filter(Y=>!(Y instanceof n.ArgDescriptionAnnotation));let R=(new n.VoidPrimitiveType).at(A);this.token instanceof s.ColonSymbolToken&&(this.nextToken(),R=this.parseType());const M=new n.FunctionOperation(y,_,R);return M.annotations=f,M}parseEnum(){this.checkCannotHaveAnnotationsHere();const f=this.expect(s.EnumKeywordToken);this.nextToken(),this.expect(s.CurlyOpenSymbolToken),this.nextToken();const y=new n.EnumType([]).at(f);let b=!1;for(;!b;)this.acceptAnnotations(),this.multiExpect({CurlyCloseSymbolToken:()=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),b=!0},IdentifierToken:_=>{const w=new n.EnumValue(_.value).at(_);if(w.annotations=this.annotations,this.annotations=[],y.values.push(w),this.nextToken(),!(this.token instanceof s.ParensOpenSymbolToken))return;this.nextToken();const A=new Set,R=[];for(;this.token&&this.token.maybeAsIdentifier()instanceof s.IdentifierToken;){const M=this.parseField();if("tag"===M.name&&(M.name="_tag"),A.has(M.name))throw new u(`Cannot redeclare argument '${M.name}'`);if(A.add(M.name),R.push(M),!(this.token instanceof s.CommaSymbolToken))break;this.nextToken()}w.struct=new n.StructType(R).atLocation(w.location),this.expect(s.ParensCloseSymbolToken),this.nextToken()}});return y}parseField(){const f=this.expect(s.IdentifierToken);this.nextToken(),this.expect(s.ColonSymbolToken),this.nextToken();const{annotations:y}=this;this.annotations=[];const b=this.parseType(),_=new n.Field(f.value,b).at(f);for(_.annotations=y;this.token instanceof s.ExclamationMarkSymbolToken;){if("secret"!==(this.nextToken(),this.expect(s.IdentifierToken).value))throw new u(`Unknown field mark !${this.token.value} at ${this.token.location}`);_.secret=!0,this.nextToken()}return _}parseStruct(){const f=this.expect(s.CurlyOpenSymbolToken);this.nextToken();const y=[],b=new Set;let _=!1;for(;!_;)this.acceptAnnotations(),this.multiExpect({CurlyCloseSymbolToken:()=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),_=!0},IdentifierToken:()=>{const w=this.parseField();if(b.has(w.name))throw new u(`Cannot redeclare field '${w.name}'`);b.add(w.name),y.push(w)},SpreadSymbolToken:()=>{this.checkCannotHaveAnnotationsHere(),this.nextToken();const w=this.expect(s.IdentifierToken);if(this.nextToken(),!/[A-Z]/u.test(w.value[0]))throw new u(`Expected a type but found ${JSON.stringify(w.value)} at ${w.location}`);y.push(new n.Spread(new n.TypeReference(w.value).at(w)).at(w))}});return new n.StructType(y).at(f)}parseType(){this.checkCannotHaveAnnotationsHere();let f=this.multiExpect({CurlyOpenSymbolToken:()=>this.parseStruct(),EnumKeywordToken:()=>this.parseEnum(),IdentifierToken:y=>{if(this.nextToken(),!/[A-Z]/u.test(y.value[0]))throw new u(`Expected a type but found ${JSON.stringify(y.value)} at ${y.location}`);return new n.TypeReference(y.value).at(y)},PrimitiveTypeToken:y=>{this.nextToken();const b=d.primitiveToAstClass.get(y.value);if(b)return(new b).at(y);throw new u(`BUG! Should handle primitive ${y.value}`)}});for(;this.token instanceof s.ArraySymbolToken||this.token instanceof s.OptionalSymbolToken;)this.multiExpect({ArraySymbolToken:y=>f=new n.ArrayType(f).at(y),OptionalSymbolToken:y=>f=new n.OptionalType(f).at(y)}),this.nextToken();return f}}},9159:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.parseRestAnnotation=void 0;const n=c(3286);function m(d){var u;const p=/\{(?<name>\w+)\}/gu,v=[];let f;for(;null!==(f=p.exec(d));)null!==(u=f.groups)&&void 0!==u&&u.name&&v.push(f.groups.name);return v}o.parseRestAnnotation=function s(d){const u=d.split(" "),p=u[0].toUpperCase();if(!["GET","POST","PUT","DELETE","PATCH"].includes(p))throw new Error(`Unsupported method '${p}'`);let v=u[1];if(!v.startsWith("/"))throw new Error("Invalid path");let f=[];if(v.includes("?")){const[A,...R]=v.split("?");v=A;const M=R.join("?");if(!/^\{\w+\}(?:&\{\w+\})*$/u.test(M))throw new Error("Invalid querystring on path");f=m(M)}const y=m(v),b=u.slice(2).join(" "),_=function a(d){var u;const p=/\[header (?<header>[^()<>@,;:\\"/[\]?={}\s\t]+): \{(?<name>\w+)\}\]/gu,v=new Map;let f;for(;null!==(f=p.exec(d));)null!==(u=f.groups)&&void 0!==u&&u.header&&f.groups.name&&v.set(f.groups.header.toLowerCase(),f.groups.name);return v}(b),w=function g(d){var u;const p=/\[body \{(?<name>\w+)\}\]/u.exec(d);return null!==(u=p?.groups)&&void 0!==u&&u.name?p.groups.name:null}(b);return new n.RestAnnotation(p,v,y,f,_,w)}},1160:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.CheckMultipleDeclarationVisitor=void 0;const n=c(7045),a=c(3286);o.CheckMultipleDeclarationVisitor=class g extends n.Visitor{constructor(){super(...arguments),this.nameToType=new Map}visit(s){if(s instanceof a.TypeDefinition){const d=this.nameToType.get(s.name);if(d&&JSON.stringify(d)!==JSON.stringify(s.type))throw new n.SemanticError(`Type '${s.name}' at ${s.location} is defined multiple times (also at ${d.location})`);this.nameToType.set(s.name,s.type)}super.visit(s)}}},3722:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.GiveStructAndEnumNamesTransformer=void 0;const n=c(737),a=c(7045),g=c(3286);o.GiveStructAndEnumNamesTransformer=class m extends n.Transformer{constructor(){super(...arguments),this.path=[],this.names=new Map}transform(d){if(d instanceof g.TypeDefinition)return this.path=[d.name],super.transform(d);if(d instanceof g.ErrorNode)return this.path=[`${d.name}Data`],super.transform(d);if(d instanceof g.FunctionOperation)return this.path=[d.name],super.transform(d);if(d instanceof g.Field)try{return this.path.push(d.name),super.transform(d)}finally{this.path.pop()}else{if(!(d instanceof g.EnumValue)){if(d instanceof g.StructType||d instanceof g.EnumType){d.name=this.path.map(p=>p[0].toUpperCase()+p.slice(1)).join("");const u=this.names.get(d.name);if(u){if(u.type.constructor!==d.constructor||JSON.stringify(u.type)!==JSON.stringify(d))throw new a.SemanticError(`The name of the type '${this.path.join(".")}' at ${d.location} will conflict with '${u.path.join(".")}' at ${u.type.location}`);return u.type}return this.names.set(d.name,{path:[...this.path],type:d}),super.transform(d)}return super.transform(d)}try{return this.path.push(d.value),super.transform(d)}finally{this.path.pop()}}}}},9531:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.MatchTypeDefinitionsVisitor=void 0;const n=c(7045),a=c(3286);o.MatchTypeDefinitionsVisitor=class g extends n.Visitor{visit(s){if(s instanceof a.TypeReference){const d=this.root.typeDefinitions.find(u=>u.name===s.name);if(void 0===d)throw new n.SemanticError(`Could not find type '${s.name}' at ${s.location}`);s.type=d.type}super.visit(s)}}},4617:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.CheckDontReturnSecretVisitor=void 0;const n=c(7045),a=c(3286);o.CheckDontReturnSecretVisitor=class g extends n.Visitor{constructor(){super(...arguments),this.isInReturn=!1,this.path=[],this.visited=new Set}visit(s){if(!this.visited.has(s))if(this.visited.add(s),s instanceof a.FunctionOperation)this.isInReturn=!0,this.visited.clear(),this.path.push(`${s.name}(...)`),this.visit(s.returnType),this.path.pop(),this.isInReturn=!1;else if(s instanceof a.TypeReference)this.visit(s.type);else if(s instanceof a.Field){if(this.path.push(s.name),this.isInReturn&&s.secret)throw new n.SemanticError(`Can't return a secret value at ${this.path.join(".")} at ${s.location}`);super.visit(s),this.path.pop()}else super.visit(s)}}},8085:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ExpandSpreadsVisitor=void 0;const n=c(7045),a=c(3286);o.ExpandSpreadsVisitor=class g extends n.Visitor{constructor(){super(...arguments),this.processed=new Set}expandSpread(s,d){const u=new Map;for(const p of d){let v;if(p instanceof a.Field)v=[p];else{const f=p.typeReference.type;if(!(f instanceof a.StructType))throw new n.SemanticError(`A spread operator can't refer to something that is not a struct, in '${p.typeReference.name}' at ${p.location}.`);this.visit(f),v=f.fields}for(const f of v){const y=u.get(f.name);y?s[y]=f:(u.set(f.name,s.length),s.push(f))}}}visit(s){if(s instanceof a.StructType){if(this.processed.has(s))return;this.processed.add(s)}super.visit(s),s instanceof a.StructType?(this.expandSpread(s.fields,s.fieldsAndSpreads),s.fieldsAndSpreads=[]):s instanceof a.FunctionOperation&&(this.expandSpread(s.args,s.fieldsAndSpreads),s.fieldsAndSpreads=[])}}},6327:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.CheckEmptyStructOrEnumVisitor=void 0;const n=c(7045),a=c(3286);o.CheckEmptyStructOrEnumVisitor=class g extends n.Visitor{visit(s){if(super.visit(s),s instanceof a.EnumType&&0===s.values.length)throw new n.SemanticError(`Enum '${s.name}' at ${s.location} is empty`);if(s instanceof a.StructType&&0===s.fields.length)throw new n.SemanticError(`Struct '${s.name}' at ${s.location} is empty`)}}},7904:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ValidateRecursiveTypes=void 0;const n=c(7045),a=c(3286);o.ValidateRecursiveTypes=class g extends n.Visitor{visit(s){if(super.visit(s),s instanceof a.TypeDefinition&&this.isRecursiveType(s,s.type)){if(!(s.type instanceof a.StructType||s.type instanceof a.EnumType))throw new n.SemanticError(`Type '${s.name}' at ${s.location} is recursive but is not an struct`);if(this.isInfinitelyRecursiveType(s,s.type))throw new n.SemanticError(`Type '${s.name}' at ${s.location} is infinitely recursive`)}}isRecursiveType(s,d){return d instanceof a.TypeReference?s.name===d.name:d instanceof a.ArrayType||d instanceof a.OptionalType?this.isRecursiveType(s,d.base):d instanceof a.StructType?d.fields.some(u=>this.isRecursiveType(s,u.type)):d instanceof a.EnumType&&d.values.some(u=>u.struct&&this.isRecursiveType(s,u.struct))}isInfinitelyRecursiveType(s,d){return d instanceof a.TypeReference?d.name===s.name:d instanceof a.StructType?d.fields.some(u=>this.isInfinitelyRecursiveType(s,u.type)):d instanceof a.EnumType&&d.values.every(u=>u.struct&&this.isInfinitelyRecursiveType(s,u.struct))}}},5369:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.CollectStructAndEnumTypesVisitor=void 0;const n=c(7045),a=c(3286);o.CollectStructAndEnumTypesVisitor=class g extends n.Visitor{constructor(){super(...arguments),this.visited=new Set}visit(s){super.visit(s),!this.visited.has(s)&&(this.visited.add(s),s instanceof a.StructType?this.root.structTypes.push(s):s instanceof a.EnumType&&this.root.enumTypes.push(s))}}},6572:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ValidateAnnotationsVisitor=void 0;const n=c(7045),a=c(3286);function m(d){return d instanceof a.TypeReference?m(d.type):d}o.ValidateAnnotationsVisitor=class s extends n.Visitor{visit(u){if(u instanceof a.EnumValue){for(const p of u.annotations)if(!(p instanceof a.DescriptionAnnotation))throw new n.SemanticError(`Cannot have @${p.constructor.name.replace("Annotation","").toLowerCase()} at ${p.location}`)}else if(u instanceof a.TypeDefinition){for(const p of u.annotations)if(!(p instanceof a.DescriptionAnnotation))throw new n.SemanticError(`Cannot have @${p.constructor.name.replace("Annotation","").toLowerCase()} at ${p.location}`)}else if(u instanceof a.Field){for(const p of u.annotations)if(!(p instanceof a.DescriptionAnnotation))throw new n.SemanticError(`Cannot have @${p.constructor.name.replace("Annotation","").toLowerCase()} at ${p.location}`)}else if(u instanceof a.FunctionOperation){for(const p of u.annotations)if(!(p instanceof a.DescriptionAnnotation))if(p instanceof a.ThrowsAnnotation){if(!this.root.errors.some(v=>v.name===p.error))throw new n.SemanticError(`Unknown error type '${p.error}' at ${p.location}`)}else if(p instanceof a.RestAnnotation){const v=[...p.pathVariables,...p.queryVariables,...p.headers.values()];if(v.length!==new Set(v).size)throw new n.SemanticError(`Arguments must appear only once for rest annotation at ${p.location}`);for(const f of v){const y=u.args.find(_=>_.name===f);if(!y)throw new n.SemanticError(`Argument '${f}' not found at ${p.location}`);if(p.pathVariables.includes(f)&&y.type instanceof a.OptionalType)throw new n.SemanticError(`The path argument '${f}' can't be nullable at ${p.location}`);if(!((d=m(y.type instanceof a.OptionalType?y.type.base:y.type))instanceof a.BoolPrimitiveType||d instanceof a.IntPrimitiveType||d instanceof a.UIntPrimitiveType||d instanceof a.BigIntPrimitiveType||d instanceof a.FloatPrimitiveType||d instanceof a.StringPrimitiveType||d instanceof a.DatePrimitiveType||d instanceof a.DateTimePrimitiveType||d instanceof a.MoneyPrimitiveType||d instanceof a.DecimalPrimitiveType||d instanceof a.CpfPrimitiveType||d instanceof a.CnpjPrimitiveType||d instanceof a.UuidPrimitiveType||d instanceof a.HexPrimitiveType||d instanceof a.Base64PrimitiveType||d instanceof a.EnumType))throw new n.SemanticError(`Argument '${f}' can't have type '${y.type.name}' for rest annotation at ${p.location}`)}for(const f of u.args){if(!v.includes(f.name)&&p.bodyVariable!==f.name)throw new n.SemanticError(`Argument '${f.name}' is missing from the rest annotation at ${p.location}`);const y=[...p.pathVariables,...p.queryVariables];if("GET"===p.method&&y.includes(f.name)&&f.secret)throw new n.SemanticError(`Argument marked as secret cannot be used in the path or query parts of a GET endpoint at ${p.location}`)}if("GET"===p.method&&u.returnType instanceof a.VoidPrimitiveType)throw new n.SemanticError(`A GET rest endpoint must return something at ${p.location}`)}else if(!(p instanceof a.HiddenAnnotation))throw new n.SemanticError(`Cannot have @${p.constructor.name.replace("Annotation","").toLowerCase()} at ${p.location}`)}else if(u instanceof a.ErrorNode){for(const p of u.annotations){if(!(p instanceof a.StatusCodeAnnotation))throw new n.SemanticError(`Cannot have @${p.constructor.name.replace("Annotation","").toLowerCase()} at ${p.location}`);if(p.statusCode<400||p.statusCode>599)throw new n.SemanticError(`Error status code can only be 4xx or 5xx at ${p.location}`)}if(u.annotations.filter(p=>p instanceof a.StatusCodeAnnotation).length>1)throw new n.SemanticError(`Can't provide more than one status code at ${u.location}`)}var d}}},3577:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.CheckDuplicatedMembersOnEnumVisitor=void 0;const n=c(7045),a=c(3286);o.CheckDuplicatedMembersOnEnumVisitor=class g extends n.Visitor{visit(s){if(super.visit(s),s instanceof a.EnumType&&s.values.length!==new Set(s.values.map(d=>d.value)).size)throw new n.SemanticError(`Enum '${s.name}' at ${s.location} has duplicated members`)}}},2406:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.analyse=void 0;const n=c(1160),a=c(3722),g=c(9531),m=c(4617),s=c(8085),d=c(6327),u=c(7904),p=c(5369),v=c(6572),f=c(3577),y=c(3286);o.analyse=function b(_){_.errors.some(w=>"Fatal"===w.name)||_.errors.push(new y.ErrorNode("Fatal",new y.VoidPrimitiveType)),new n.CheckMultipleDeclarationVisitor(_).process(),new a.GiveStructAndEnumNamesTransformer(_).process(),new g.MatchTypeDefinitionsVisitor(_).process(),new m.CheckDontReturnSecretVisitor(_).process(),new s.ExpandSpreadsVisitor(_).process(),new d.CheckEmptyStructOrEnumVisitor(_).process(),new u.ValidateRecursiveTypes(_).process(),new p.CollectStructAndEnumTypesVisitor(_).process(),new v.ValidateAnnotationsVisitor(_).process(),new f.CheckDuplicatedMembersOnEnumVisitor(_).process()}},737:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.Transformer=o.SemanticError=void 0;const n=c(3286);class a extends Error{}o.SemanticError=a,o.Transformer=class g{constructor(s){this.root=s}process(){this.root.errors=this.root.errors.map(s=>this.transform(s)),this.root.typeDefinitions=this.root.typeDefinitions.map(s=>this.transform(s)),this.root.operations=this.root.operations.map(s=>this.transform(s))}transform(s){return s instanceof n.FunctionOperation?(s.args=s.args.map(d=>this.transform(d)),s.fieldsAndSpreads=s.fieldsAndSpreads.map(d=>this.transform(d)),s.returnType=this.transform(s.returnType)):s instanceof n.Field||s instanceof n.TypeDefinition?s.type=this.transform(s.type):s instanceof n.StructType?(s.fields=s.fields.map(d=>this.transform(d)),s.fieldsAndSpreads=s.fieldsAndSpreads.map(d=>this.transform(d))):s instanceof n.EnumType?s.values=s.values.map(d=>this.transform(d)):s instanceof n.EnumValue?s.struct&&(s.struct=this.transform(s.struct)):s instanceof n.ArrayType||s instanceof n.OptionalType?s.base=this.transform(s.base):s instanceof n.ErrorNode?s.dataType=this.transform(s.dataType):s instanceof n.Spread&&(s.typeReference=this.transform(s.typeReference)),s}}},7045:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.Visitor=o.SemanticError=void 0;const n=c(3286);class a extends Error{}o.SemanticError=a,o.Visitor=class g{constructor(s){this.root=s}process(){for(const s of this.root.errors)this.visit(s);for(const s of this.root.typeDefinitions)this.visit(s);for(const s of this.root.operations)this.visit(s)}visit(s){if(s instanceof n.FunctionOperation){for(const d of s.args)this.visit(d);for(const d of s.fieldsAndSpreads)this.visit(d);this.visit(s.returnType)}else if(s instanceof n.Field||s instanceof n.TypeDefinition)this.visit(s.type);else if(s instanceof n.StructType){for(const d of s.fields)this.visit(d);for(const d of s.fieldsAndSpreads)this.visit(d)}else if(s instanceof n.EnumType)for(const d of s.values)this.visit(d);else s instanceof n.EnumValue?s.struct&&this.visit(s.struct):s instanceof n.ArrayType||s instanceof n.OptionalType?this.visit(s.base):s instanceof n.ErrorNode?this.visit(s.dataType):s instanceof n.Spread&&this.visit(s.typeReference)}}},4245:(Z,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 c{constructor(){this.filename="?",this.line=0,this.column=0}toString(){return`${this.filename}:${this.line}:${this.column}`}}o.TokenLocation=c;class n{constructor(fe=""){this.value=fe,this.location=new c,Object.defineProperty(this,"location",{enumerable:!1})}maybeAsIdentifier(){return this}toString(){const fe=this.constructor.name.replace("Token","");return""===this.value?fe:`${fe}(${JSON.stringify(this.value)})`}}o.Token=n;class a extends n{}o.IdentifierToken=a,o.StringLiteralToken=class g extends n{},o.EqualSymbolToken=class m extends n{},o.ExclamationMarkSymbolToken=class s extends n{},o.CurlyOpenSymbolToken=class d extends n{},o.CurlyCloseSymbolToken=class u extends n{},o.ParensOpenSymbolToken=class p extends n{},o.ParensCloseSymbolToken=class v extends n{},o.ColonSymbolToken=class f extends n{},o.OptionalSymbolToken=class y extends n{},o.ArraySymbolToken=class b extends n{},o.CommaSymbolToken=class _ extends n{},o.SpreadSymbolToken=class w extends n{},o.AnnotationToken=class A extends n{},o.ImportKeywordToken=class R extends n{maybeAsIdentifier(){return new a("import")}},o.TypeKeywordToken=class M extends n{maybeAsIdentifier(){return new a("type")}},o.EnumKeywordToken=class Y extends n{maybeAsIdentifier(){return new a("enum")}},o.FnKeywordToken=class $ extends n{maybeAsIdentifier(){return new a("fn")}},o.ErrorKeywordToken=class ne extends n{maybeAsIdentifier(){return new a("error")}},o.TrueKeywordToken=class z extends n{maybeAsIdentifier(){return new a("true")}},o.FalseKeywordToken=class K extends n{maybeAsIdentifier(){return new a("false")}},o.PrimitiveTypeToken=class de extends n{maybeAsIdentifier(){return new a(this.value)}}},3511:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.primitiveToAstClass=void 0;const n=c(3286);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)},6401:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.AppComponent=void 0;const n=c(7582),a=c(6223),g=c(3236),m=c(5737),s=c(2045),d=c(7068),u=c(3191),p=c(6077),v=c(217),f=n.__importStar(c(5879)),y=n.__importStar(c(6480)),b=n.__importStar(c(6593)),_=n.__importStar(c(5307)),w=n.__importStar(c(6814)),A=n.__importStar(c(3711)),R=n.__importStar(c(2296)),M=n.__importStar(c(1326)),Y=n.__importStar(c(4104)),$=n.__importStar(c(2596)),ne=n.__importStar(c(8197)),z=n.__importStar(c(3632)),K=n.__importStar(c(3538)),de=n.__importStar(c(1763));function X(W,Ce){1&W&&(f.\u0275\u0275elementContainerStart(0),f.\u0275\u0275text(1,"Editor Avan\xe7ado"),f.\u0275\u0275elementContainerEnd())}function fe(W,Ce){if(1&W&&(f.\u0275\u0275elementContainerStart(0),f.\u0275\u0275elementStart(1,"span",21),f.\u0275\u0275text(2),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementContainerEnd()),2&W){const ee=f.\u0275\u0275nextContext(2).$implicit;f.\u0275\u0275advance(2),f.\u0275\u0275textInterpolate1("\u25b6\xa0",ee.function,"")}}function he(W,Ce){if(1&W){const ee=f.\u0275\u0275getCurrentView();f.\u0275\u0275elementStart(0,"span",18),f.\u0275\u0275template(1,X,2,0,"ng-container",19),f.\u0275\u0275template(2,fe,3,1,"ng-container",19),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(3,"button",20),f.\u0275\u0275listener("click",function(){f.\u0275\u0275restoreView(ee);const j=f.\u0275\u0275nextContext().$implicit,G=f.\u0275\u0275nextContext(2);return f.\u0275\u0275resetView(G.closeTab(j))}),f.\u0275\u0275elementStart(4,"mat-icon"),f.\u0275\u0275text(5,"close"),f.\u0275\u0275elementEnd()()}if(2&W){const ee=f.\u0275\u0275nextContext().$implicit;f.\u0275\u0275property("ngSwitch",ee.type),f.\u0275\u0275advance(1),f.\u0275\u0275property("ngSwitchCase","advanced"),f.\u0275\u0275advance(1),f.\u0275\u0275property("ngSwitchCase","simple")}}function ot(W,Ce){1&W&&(f.\u0275\u0275elementContainerStart(0),f.\u0275\u0275element(1,"app-tab-editor"),f.\u0275\u0275elementContainerEnd())}function we(W,Ce){if(1&W&&(f.\u0275\u0275elementContainerStart(0),f.\u0275\u0275element(1,"app-simple-call",22),f.\u0275\u0275elementContainerEnd()),2&W){const ee=f.\u0275\u0275nextContext().$implicit;f.\u0275\u0275advance(1),f.\u0275\u0275property("fn",ee.function)}}function tt(W,Ce){if(1&W&&(f.\u0275\u0275elementStart(0,"mat-tab"),f.\u0275\u0275template(1,he,6,3,"ng-template",16),f.\u0275\u0275elementContainerStart(2,18),f.\u0275\u0275template(3,ot,2,0,"ng-container",19),f.\u0275\u0275template(4,we,2,1,"ng-container",19),f.\u0275\u0275elementContainerEnd(),f.\u0275\u0275elementEnd()),2&W){const ee=Ce.$implicit;f.\u0275\u0275advance(2),f.\u0275\u0275property("ngSwitch",ee.type),f.\u0275\u0275advance(1),f.\u0275\u0275property("ngSwitchCase","advanced"),f.\u0275\u0275advance(1),f.\u0275\u0275property("ngSwitchCase","simple")}}function nt(W,Ce){if(1&W){const ee=f.\u0275\u0275getCurrentView();f.\u0275\u0275elementStart(0,"button",23),f.\u0275\u0275listener("click",function(){f.\u0275\u0275restoreView(ee);const j=f.\u0275\u0275nextContext(2);return f.\u0275\u0275resetView(j.addAdvancedTab())}),f.\u0275\u0275elementStart(1,"mat-icon"),f.\u0275\u0275text(2,"add_circle"),f.\u0275\u0275elementEnd()()}}function Se(W,Ce){if(1&W&&(f.\u0275\u0275elementStart(0,"button",24)(1,"mat-icon"),f.\u0275\u0275text(2,"download"),f.\u0275\u0275elementEnd()()),2&W){f.\u0275\u0275nextContext(2);const ee=f.\u0275\u0275reference(5);f.\u0275\u0275property("matMenuTriggerFor",ee)}}function Ze(W,Ce){if(1&W){const ee=f.\u0275\u0275getCurrentView();f.\u0275\u0275elementStart(0,"mat-tab-group",11),f.\u0275\u0275listener("selectedIndexChange",function(j){f.\u0275\u0275restoreView(ee);const G=f.\u0275\u0275nextContext();return f.\u0275\u0275resetView(G.selected.setValue(j))}),f.\u0275\u0275elementStart(1,"mat-tab",12)(2,"app-tab-home",13),f.\u0275\u0275listener("runFunction",function(j){f.\u0275\u0275restoreView(ee);const G=f.\u0275\u0275nextContext();return f.\u0275\u0275resetView(G.addSimpleTab(j))}),f.\u0275\u0275elementEnd()(),f.\u0275\u0275template(3,tt,5,3,"mat-tab",14),f.\u0275\u0275elementStart(4,"mat-tab",15),f.\u0275\u0275template(5,nt,3,0,"ng-template",16),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(6,"mat-tab",17),f.\u0275\u0275template(7,Se,3,1,"ng-template",16),f.\u0275\u0275elementEnd()()}if(2&W){const ee=f.\u0275\u0275nextContext();f.\u0275\u0275property("selectedIndex",ee.selected.value),f.\u0275\u0275advance(3),f.\u0275\u0275property("ngForOf",ee.tabs)}}o.AppComponent=(()=>{var W;class Ce{constructor(J,j,G){this.sdkgen=J,this.domSanitizer=j,this.matIconRegistry=G,this.selected=new a.FormControl(0),this.tabs=[{id:0,type:"advanced"}],this.tabIndex=1;for(const Oe of["typescript","dot-net","kotlin","swift","dart"])this.matIconRegistry.addSvgIcon(Oe,this.domSanitizer.bypassSecurityTrustResourceUrl(`assets/${Oe}.svg`))}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(J=>{this.state=J??void 0})}ngOnDestroy(){this.state$?.unsubscribe()}addSimpleTab(J){this.tabs.push({id:this.tabIndex++,function:J,type:"simple"}),this.selected.setValue(this.tabs.length)}addAdvancedTab(){this.tabs.push({id:this.tabIndex++,type:"advanced"}),this.selected.setValue(this.tabs.length)}closeTab(J){this.tabs.splice(this.tabs.indexOf(J),1),this.selected.setValue(0)}downloadTarget(J){if(!this.state)return;let j,G;switch(J){case"typescript_nodeserver":j=(0,p.generateNodeServerSource)(this.state.astRoot),G="node-server.ts";break;case"typescript_nodeclient":j=(0,p.generateNodeClientSource)(this.state.astRoot),G="node-client.ts";break;case"typescript_web":j=(0,p.generateBrowserClientSource)(this.state.astRoot),G="web-client.ts";break;case"typescript_interfaces":j=(0,p.generateTypescriptInterfaces)(this.state.astRoot),G="interfaces.ts";break;case"flutter":j=(0,m.generateDartClientSource)(this.state.astRoot),G="flutter-client.dart";break;case"csharp_server":j=(0,g.generateCSharpServerSource)(this.state.astRoot),G="csharp-server.cs";break;case"fsharp_server":j=(0,s.generateFSharpServerSource)(this.state.astRoot),G="fsharp-server.fs";break;case"kotlin_android":j=(0,d.generateAndroidClientSource)(this.state.astRoot,!0),G="android-client.kt";break;case"kotlin_android_without_callbacks":j=(0,d.generateAndroidClientSource)(this.state.astRoot,!1),G="android-client-no-callbacks.kt";break;case"swift_ios":j=(0,u.generateSwiftClientSource)(this.state.astRoot,!1),G="ios-client.swift";break;case"rxswift_ios":j=(0,u.generateSwiftClientSource)(this.state.astRoot,!0),G="ios-client-rx.swift"}(0,v.saveAs)(new Blob([j],{type:"application/octet-stream"}),G)}}return(W=Ce).\u0275fac=function(J){return new(J||W)(f.\u0275\u0275directiveInject(y.SdkgenService),f.\u0275\u0275directiveInject(b.DomSanitizer),f.\u0275\u0275directiveInject(_.MatIconRegistry))},W.\u0275cmp=f.\u0275\u0275defineComponent({type:W,selectors:[["app-root"]],decls:46,vars:3,consts:[[2,"width","0","height","0","opacity","0","display","block"],["id","main-tabs","animationDuration","150ms","mat-stretch-tabs","false",3,"selectedIndex","selectedIndexChange",4,"ngIf"],["downloadMenu","matMenu"],["id","download-menu-size-flow"],["mat-menu-item","","disabled",""],["mat-menu-item","",3,"click"],["svgIcon","typescript"],["svgIcon","dart"],["svgIcon","kotlin"],["svgIcon","swift"],["svgIcon","dot-net"],["id","main-tabs","animationDuration","150ms","mat-stretch-tabs","false",3,"selectedIndex","selectedIndexChange"],["label","Documenta\xe7\xe3o"],[3,"runFunction"],[4,"ngFor","ngForOf"],["disabled","","labelClass","action-button"],["mat-tab-label",""],["disabled","","labelClass","right action-button"],[3,"ngSwitch"],[4,"ngSwitchCase"],["mat-icon-button","","matTooltip","Fechar aba",3,"click"],[1,"mono","tt-none"],[3,"fn"],["mat-icon-button","","matTooltip","Nova aba de editor avan\xe7ado",3,"click"],["mat-icon-button","",3,"matMenuTriggerFor"]],template:function(J,j){1&J&&(f.\u0275\u0275element(0,"ngx-monaco-editor",0)(1,"app-tab-nav"),f.\u0275\u0275template(2,Ze,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 j.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 j.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 j.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 j.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 j.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 j.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 j.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 j.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 j.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 j.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 j.downloadTarget("typescript_interfaces")}),f.\u0275\u0275element(44,"mat-icon",6),f.\u0275\u0275text(45,"Interfaces"),f.\u0275\u0275elementEnd()()),2&J&&(f.\u0275\u0275advance(2),f.\u0275\u0275property("ngIf",f.\u0275\u0275pipeBind1(3,1,j.sdkgen.state$)))},dependencies:[w.NgForOf,w.NgIf,w.NgSwitch,w.NgSwitchCase,A.MonacoEditorComponent,R.MatIconButton,_.MatIcon,M.MatMenu,M.MatMenuItem,M.MatMenuTrigger,Y.MatTabLabel,Y.MatTab,Y.MatTabGroup,$.MatTooltip,ne.SimpleCallComponent,z.TabNavComponent,K.TabEditorComponent,de.TabHomeComponent,w.AsyncPipe],styles:["[_nghost-%COMP%]{display:block;width:100%;height:100%} app-root mat-tab-group#main-tabs>mat-tab-header{border-bottom:1px solid rgba(255,255,255,.1215686275)} app-root mat-tab-group#main-tabs .mat-mdc-tab{--mat-tab-header-active-label-text-color: #fff;--mat-tab-header-active-focus-label-text-color: #fff;--mat-tab-header-active-hover-label-text-color: #fff;text-decoration:none;transition:all .2s ease;min-width:0;text-transform:uppercase;-webkit-user-select:none;user-select:none;letter-spacing:normal} app-root mat-tab-group#main-tabs .mat-mdc-tab.right{margin-left:auto} app-root mat-tab-group#main-tabs .mat-mdc-tab .mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:0} app-root mat-tab-group#main-tabs .mat-mdc-tab:hover .mdc-tab__ripple:before{opacity:0} app-root mat-tab-group#main-tabs .mat-mdc-tab:not(#mat-tab-label-0-0){padding-right:16px} app-root mat-tab-group#main-tabs .mat-mdc-tab.action-button{padding:0;padding-right:0!important;opacity:1;pointer-events:auto} app-root mat-tab-group#main-tabs .mat-mdc-tab.action-button .mdc-tab__content, app-root mat-tab-group#main-tabs .mat-mdc-tab.action-button .mat-mdc-tab-ripple, app-root mat-tab-group#main-tabs .mat-mdc-tab.action-button .mdc-tab__ripple:before{pointer-events:all} app-root mat-tab-group#main-tabs .mat-mdc-tab.action-button button{border-radius:0} app-root mat-tab-group#main-tabs .mat-mdc-tab:not(.mat-mdc-tab-disabled) button{border-radius:0;display:inline-block;margin-left:10px;padding:0;width:30px;height:30px;line-height:30px} app-root mat-tab-group#main-tabs .mat-mdc-tab:not(.mat-mdc-tab-disabled) button .mat-icon{width:20px;height:20px;font-size:20px;line-height:20px} app-root mat-tab-group#main-tabs .mat-mdc-tab .tab-icon svg, app-root mat-tab-group#main-tabs .mat-mdc-tab .tab-icon img, app-root mat-tab-group#main-tabs .mat-mdc-tab .tab-add-icon{display:flex;align-items:center;justify-content:center;width:1rem;margin-right:.5rem} app-root mat-tab-group#main-tabs .mat-mdc-tab-body-wrapper{flex-grow:1} app-root mat-tab-group#main-tabs .mat-mdc-tab-body-wrapper mat-tab-body mat-tab-body{flex-grow:1;overflow:hidden} #download-menu-size-flow{width:185px;display:block;max-width:90vw}"]}),Ce})()},8629:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.AppModule=void 0;const n=c(7582),a=c(7502),g=c(6223),m=c(2296),s=c(1226),d=c(3680),u=c(7667),p=c(5307),v=c(1326),f=c(1370),y=c(4104),b=c(2596),_=c(6593),w=c(349),A=c(3711),R=c(9317),M=c(279),Y=c(9229),$=c(6401),ne=n.__importStar(c(5879));n.__importStar(c(9229)),o.AppModule=(()=>{var de;class X{}return(de=X).\u0275fac=function(he){return new(he||de)},de.\u0275mod=ne.\u0275\u0275defineNgModule({type:de,bootstrap:[$.AppComponent]}),de.\u0275inj=ne.\u0275\u0275defineInjector({providers:[{provide:A.MONACO_PATH,useValue:"assets/vs"}],imports:[_.BrowserModule,g.FormsModule,g.ReactiveFormsModule,A.MonacoEditorModule,w.BrowserAnimationsModule,M.NgxJsonViewerModule,Y.ToastrModule.forRoot(),R.AngularSplitModule,a.HttpClientModule,m.MatButtonModule,s.MatChipsModule,u.MatDialogModule,p.MatIconModule,v.MatMenuModule,d.MatRippleModule,f.MatTableModule,y.MatTabsModule,b.MatTooltipModule]}),X})()},343:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ConsoleComponent=void 0;const n=c(7582),a=c(821),g=n.__importStar(c(5879)),m=n.__importStar(c(6814)),s=n.__importStar(c(279)),d=n.__importStar(c(2296)),u=n.__importStar(c(5307));function p(R,M){1&R&&(g.\u0275\u0275elementContainerStart(0),g.\u0275\u0275text(1,"info_outline"),g.\u0275\u0275elementContainerEnd())}function v(R,M){1&R&&(g.\u0275\u0275elementContainerStart(0),g.\u0275\u0275text(1,"error"),g.\u0275\u0275elementContainerEnd())}function f(R,M){1&R&&(g.\u0275\u0275elementContainerStart(0),g.\u0275\u0275text(1,"public"),g.\u0275\u0275elementContainerEnd())}function y(R,M){1&R&&(g.\u0275\u0275elementContainerStart(0),g.\u0275\u0275text(1,"warning"),g.\u0275\u0275elementContainerEnd())}function b(R,M){1&R&&(g.\u0275\u0275elementContainerStart(0),g.\u0275\u0275text(1,"bug_report"),g.\u0275\u0275elementContainerEnd())}function _(R,M){if(1&R&&g.\u0275\u0275element(0,"ngx-json-viewer",6),2&R){const Y=g.\u0275\u0275nextContext().$implicit;g.\u0275\u0275property("json",Y.details)("expanded",!1)}}function w(R,M){if(1&R&&(g.\u0275\u0275elementStart(0,"li",2)(1,"mat-icon",3),g.\u0275\u0275template(2,p,2,0,"ng-container",4),g.\u0275\u0275template(3,v,2,0,"ng-container",4),g.\u0275\u0275template(4,f,2,0,"ng-container",4),g.\u0275\u0275template(5,y,2,0,"ng-container",4),g.\u0275\u0275template(6,b,2,0,"ng-container",4),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(7,"span"),g.\u0275\u0275text(8),g.\u0275\u0275elementEnd(),g.\u0275\u0275template(9,_,1,2,"ngx-json-viewer",5),g.\u0275\u0275elementEnd()),2&R){const Y=M.$implicit,$=g.\u0275\u0275nextContext();g.\u0275\u0275property("ngClass",Y.type),g.\u0275\u0275advance(1),g.\u0275\u0275property("ngSwitch",Y.type)("ngClass",Y.type),g.\u0275\u0275advance(1),g.\u0275\u0275property("ngSwitchCase",$.itemTypes.INFO),g.\u0275\u0275advance(1),g.\u0275\u0275property("ngSwitchCase",$.itemTypes.ERROR),g.\u0275\u0275advance(1),g.\u0275\u0275property("ngSwitchCase",$.itemTypes.NETWORK),g.\u0275\u0275advance(1),g.\u0275\u0275property("ngSwitchCase",$.itemTypes.WARN),g.\u0275\u0275advance(1),g.\u0275\u0275property("ngSwitchCase",$.itemTypes.DEBUG),g.\u0275\u0275advance(2),g.\u0275\u0275textInterpolate(Y.message),g.\u0275\u0275advance(1),g.\u0275\u0275property("ngIf",Y.details)}}o.ConsoleComponent=(()=>{var R;class M{constructor(){this.itemTypes=a.ConsoleItemType,this.items=[]}}return(R=M).\u0275fac=function($){return new($||R)},R.\u0275cmp=g.\u0275\u0275defineComponent({type:R,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($,ne){1&$&&(g.\u0275\u0275elementStart(0,"header")(1,"strong"),g.\u0275\u0275text(2,"CONSOLE"),g.\u0275\u0275elementEnd(),g.\u0275\u0275element(3,"s"),g.\u0275\u0275elementStart(4,"button",0),g.\u0275\u0275listener("click",function(){return ne.items.splice(0,ne.items.length)}),g.\u0275\u0275elementStart(5,"mat-icon"),g.\u0275\u0275text(6,"delete"),g.\u0275\u0275elementEnd()()(),g.\u0275\u0275elementStart(7,"ul"),g.\u0275\u0275template(8,w,10,10,"li",1),g.\u0275\u0275elementEnd()),2&$&&(g.\u0275\u0275advance(8),g.\u0275\u0275property("ngForOf",ne.items))},dependencies:[m.NgClass,m.NgForOf,m.NgIf,m.NgSwitch,m.NgSwitchCase,s.NgxJsonViewerComponent,d.MatIconButton,u.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}"]}),M})()},821:(Z,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ConsoleItemType=void 0;var c=function(n){return n.INFO="info",n.ERROR="error",n.WARN="warn",n.DEBUG="debug",n.NETWORK="network",n}(c||(o.ConsoleItemType=c={}))},5966:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.DialogAboutComponent=void 0;const n=c(7582),a=c(2598),g=n.__importStar(c(5879)),m=n.__importStar(c(2296)),s=n.__importStar(c(1226)),d=n.__importStar(c(7667)),u=n.__importStar(c(5307));o.DialogAboutComponent=(()=>{var v;class f{constructor(){this.version=a.version}}return(v=f).\u0275fac=function(b){return new(b||v)},v.\u0275cmp=g.\u0275\u0275defineComponent({type:v,selectors:[["app-dialog-about"]],decls:20,vars:2,consts:[["mat-dialog-title",""],["role","list"],[3,"disableRipple"],["mat-icon-button","","mat-dialog-close","","tabindex","-1"],["href","https://sdkgen.github.io/","rel","external noreferer","target","_blank","mat-stroked-button",""],["href","https://github.com/sdkgen/sdkgen","rel","external noreferer","target","_blank","mat-stroked-button",""],["href","https://github.com/sdkgen/sdkgen/issues/new","rel","external noreferer","target","_blank","mat-stroked-button",""]],template:function(b,_){1&b&&(g.\u0275\u0275elementStart(0,"header")(1,"h1",0),g.\u0275\u0275text(2,"sdkgen Playground"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(3,"mat-chip-set",1)(4,"mat-chip",2),g.\u0275\u0275text(5),g.\u0275\u0275elementEnd()(),g.\u0275\u0275element(6,"s"),g.\u0275\u0275elementStart(7,"button",3)(8,"mat-icon"),g.\u0275\u0275text(9,"close"),g.\u0275\u0275elementEnd()()(),g.\u0275\u0275elementStart(10,"p"),g.\u0275\u0275text(11,"Ferramenta para explorar e invocar APIs feitas com sdkgen."),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(12,"p"),g.\u0275\u0275text(13,"Feito com \u2764\ufe0f no Brasil \u{1f1e7}\u{1f1f7}"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(14,"a",4),g.\u0275\u0275text(15,"Documenta\xe7\xe3o"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(16,"a",5),g.\u0275\u0275text(17,"C\xf3digo-fonte"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(18,"a",6),g.\u0275\u0275text(19," Reportar um problema\n"),g.\u0275\u0275elementEnd()),2&b&&(g.\u0275\u0275advance(4),g.\u0275\u0275property("disableRipple",!0),g.\u0275\u0275advance(1),g.\u0275\u0275textInterpolate(_.version))},dependencies:[m.MatAnchor,m.MatIconButton,s.MatChip,s.MatChipSet,d.MatDialogClose,d.MatDialogTitle,u.MatIcon],styles:["header[_ngcontent-%COMP%]{display:flex;border-bottom:1px solid rgba(255,255,255,.2)}header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], header[_ngcontent-%COMP%] button[_ngcontent-%COMP%], header[_ngcontent-%COMP%] mat-chip-list[_ngcontent-%COMP%]{display:inline;align-self:center}header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{display:flex;margin:0 10px 0 0;padding:0}header[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:20px}a[_ngcontent-%COMP%]:not(:last-child){margin-right:12px}"]}),f})()},742:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.FilterPipe=void 0;const a=c(7582).__importStar(c(5879));o.FilterPipe=(()=>{var m;class s{transform(u,p){if(!u)return[];if(!p)return u;const v=p.toLocaleLowerCase();return u.filter(f=>JSON.stringify(f).toLocaleLowerCase().includes(v))}}return(m=s).\u0275fac=function(u){return new(u||m)},m.\u0275pipe=a.\u0275\u0275definePipe({name:"appFilter",type:m,pure:!0}),s})()},7702:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ResponsiveService=void 0;const n=c(7582),a=n.__importStar(c(5879)),g=n.__importStar(c(1088));o.ResponsiveService=(()=>{var s;class d{constructor(p){this.observer=p}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)"])}}return(s=d).\u0275fac=function(p){return new(p||s)(a.\u0275\u0275inject(g.BreakpointObserver))},s.\u0275prov=a.\u0275\u0275defineInjectable({token:s,factory:s.\u0275fac,providedIn:"root"}),d})()},7583:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.getTypeDoc=o.getTypeLabels=o.getConstructorName=o.primitiveTypesExamples=o.primitiveTypes=void 0;const n=c(6325),a=c(6480);function g(d){switch(d.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 d.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=g,o.getTypeLabels=function m(d){const u=[];switch(d.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:u.push("Primitivo");break;case n.OptionalType:u.push("Opcional"),u.push(...m(d.base));break;case n.TypeReference:u.push(...m(d.type));break;case n.ArrayType:u.push("Array"),u.push(...m(d.base));break;case n.EnumType:u.push("Enum");break;default:console.error("No labels for",g(d))}return u},o.getTypeDoc=function s(d){switch(d.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[g(d)],shortDescription:o.primitiveTypes[g(d)],examples:o.primitiveTypesExamples[g(d)]};case n.OptionalType:{const f=s(d.base);return{...f,longDescription:f.longDescription,shortDescription:`(opcional) ${f.shortDescription}`,examples:["null",...f.examples??[]]}}case n.TypeReference:return s(d.type);case n.ArrayType:{const f=s(d.base);return{...f,longDescription:f.longDescription,shortDescription:`(array) ${f.shortDescription}`,examples:["[]",...f.examples?.map(y=>`[${y}]`)??[]]}}case n.EnumType:const u=d,p=u.values.slice(0,3),v=p.map(f=>f.struct?`${f.value}: ${JSON.stringify((new a.SdkgenService).buildJsonObject(f.struct.fields),null,2)}`:f.value);return{longDescription:"enum representa um conjunto limitado de possibilidades de valores, similar as enumera\xe7\xf5es em outras linguagens.",shortDescription:`(enum) ${p.map(f=>`${f.value}${f.struct?"(\u2026)":""}`).join(", ")}${p.length>3?"\u2026":""}`,examples:v,isEnum:!0,isStruct:!0,structFields:u.values.map(f=>({name:f.value,type:f.struct,description:f.annotations.find(y=>y instanceof n.DescriptionAnnotation)?.text,secret:!1}))};case n.StructType:return{longDescription:"",shortDescription:`(objeto complexo) ${d.fields.slice(0,3).map(f=>f.name).join(", ")}\u2026`,isStruct:!0,structFields:d.fields.map(f=>({name:f.name,description:f.annotations.find(y=>y instanceof n.DescriptionAnnotation)?.text,type:f.type,secret:f.secret})),examples:[JSON.stringify((new a.SdkgenService).buildJsonObject(d.fields),null,2)]};default:return{longDescription:"BUG: Unknown Type",shortDescription:"BUG: Unknown Type",examples:[]}}}},6480:(__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__(7582),browser_runtime_1=__webpack_require__(1537),parser_1=__webpack_require__(6325),rxjs_1=__webpack_require__(188),i0=tslib_1.__importStar(__webpack_require__(5879));let SdkgenService=(()=>{var _class;class SdkgenService{constructor(){this.state$=new rxjs_1.BehaviorSubject(null)}buildJsonObject(Z,o=new Set){const c=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 c(n.type);case parser_1.ArrayType:return[c(n.base),c(n.base),c(n.base)];case parser_1.EnumType:return n.values[0].value;default:return null}};return Z.reduce((n,a)=>(n[a.name]=c(a.type),n),{})}getTypeScriptCode(Z,o){return`await client.${Z}(${JSON.stringify(o,null,2)});\n`}buildKotlinString(Z,o=0){const c=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 c(n.type);case parser_1.ArrayType:o++;const a=c(n.base);return o--,`arrayOf(\n${" ".repeat(o+2)}${a},\n${" ".repeat(o+2)}${a}\n${" ".repeat(o+1)})`;case parser_1.EnumType:return`"${n.values[0].value}"`;default:return"<>()"}};return Z.map(n=>`${" ".repeat(o+1)}${c(n.type)}`).join(",\n")}getKotlinCode(Z,o){return 0===o.length?`client.${Z}().await();`:`client.${Z}(\n${this.buildKotlinString(o)}\n).await();`}getDartCode(Z,o){return'print("todo");'}getSwiftCode(Z,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:(Z,o)=>["baseUrl","extra","successHook","errorHook","makeRequest"].includes(o.toString())?clientInstance[o.toString()]:function(){var c=_asyncToGenerator(function*(n){return clientInstance.makeRequest(o.toString(),n)});return function(n){return c.apply(this,arguments)}}()})}}return _class=SdkgenService,_class.\u0275fac=function Z(o){return new(o||_class)},_class.\u0275prov=i0.\u0275\u0275defineInjectable({token:_class,factory:_class.\u0275fac,providedIn:"root"}),SdkgenService})();exports.SdkgenService=SdkgenService},8197:(__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__(7582),forms_1=__webpack_require__(6223),console_types_1=__webpack_require__(821),code_execution_1=__webpack_require__(5276),i0=tslib_1.__importStar(__webpack_require__(5879)),i1=tslib_1.__importStar(__webpack_require__(6480)),i2=tslib_1.__importStar(__webpack_require__(6223)),i3=tslib_1.__importStar(__webpack_require__(3711)),i4=tslib_1.__importStar(__webpack_require__(279)),i5=tslib_1.__importStar(__webpack_require__(9317)),i6=tslib_1.__importStar(__webpack_require__(2296)),i7=tslib_1.__importStar(__webpack_require__(5307)),i8=tslib_1.__importStar(__webpack_require__(4104)),i9=tslib_1.__importStar(__webpack_require__(343));let SimpleCallComponent=(()=>{var _class;class SimpleCallComponent{constructor(Z){this.sdkgen=Z,this.editorOptions={theme:"vs-dark",language:"json"},this.code="",this.initialExtras='{\n "key": "value"\n}\n',this.extras=this.initialExtras,this.busy=!1,this.selected=new forms_1.FormControl(0),this.consoleItems=[]}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(Z=>{Z&&(this.generateFunctionCode(Z.astRoot,this.fn),this.client=this.sdkgen.getSdkgenClient(Z.url,Z.astJson))})}ngOnDestroy(){this.state$?.unsubscribe()}run(){var _this=this;return _asyncToGenerator(function*(){try{_this.busy=!0;{const events=_this.consoleItems;eval(code_execution_1.wrapper)}if(_this.extras&&_this.extras!==_this.initialExtras){const Z=JSON.parse(_this.extras),o=Object.keys(Z);for(const c of o)_this.client?.extra.set(c,Z[c])}const exec=_this.client[_this.fn](JSON.parse(_this.code));_this.response={result:yield exec}}catch(Z){_this.consoleItems.push({type:console_types_1.ConsoleItemType.ERROR,message:Z.toString()}),delete Z.toString,_this.response={error:{type:Z.type,message:Z.message,data:Z.data}}}finally{eval(code_execution_1.unwrap),_this.selected.setValue(2),_this.busy=!1}})()}generateFunctionCode(Z,o){const c=Z.operations.find(n=>n.name===o)?.args;c&&(this.code=JSON.stringify(this.sdkgen.buildJsonObject(c),null,2))}}return _class=SimpleCallComponent,_class.\u0275fac=function Z(o){return new(o||_class)(i0.\u0275\u0275directiveInject(i1.SdkgenService))},_class.\u0275cmp=i0.\u0275\u0275defineComponent({type:_class,selectors:[["app-simple-call"]],inputs:{fn:"fn"},decls:14,vars:10,consts:[["direction","vertical"],["animationDuration","0ms","mat-stretch-tabs","false",3,"selectedIndex","selectedIndexChange"],["label","Requisi\xe7\xe3o"],["mat-fab","",1,"run-fab",3,"disabled","click"],[3,"options","ngModel","ngModelChange"],["label","Extras"],["label","Resposta",3,"disabled"],[3,"json"],[3,"size"],[3,"items"]],template:function Z(o,c){1&o&&(i0.\u0275\u0275elementStart(0,"as-split",0)(1,"as-split-area")(2,"mat-tab-group",1),i0.\u0275\u0275listener("selectedIndexChange",function(a){return c.selected.setValue(a)}),i0.\u0275\u0275elementStart(3,"mat-tab",2)(4,"button",3),i0.\u0275\u0275listener("click",function(){return c.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(a){return c.code=a}),i0.\u0275\u0275elementEnd()(),i0.\u0275\u0275elementStart(8,"mat-tab",5)(9,"ngx-monaco-editor",4),i0.\u0275\u0275listener("ngModelChange",function(a){return c.extras=a}),i0.\u0275\u0275elementEnd()(),i0.\u0275\u0275elementStart(10,"mat-tab",6),i0.\u0275\u0275element(11,"ngx-json-viewer",7),i0.\u0275\u0275elementEnd()()(),i0.\u0275\u0275elementStart(12,"as-split-area",8),i0.\u0275\u0275element(13,"app-console",9),i0.\u0275\u0275elementEnd()()),2&o&&(i0.\u0275\u0275advance(2),i0.\u0275\u0275property("selectedIndex",c.selected.value),i0.\u0275\u0275advance(2),i0.\u0275\u0275property("disabled",c.busy),i0.\u0275\u0275advance(3),i0.\u0275\u0275property("options",c.editorOptions)("ngModel",c.code),i0.\u0275\u0275advance(2),i0.\u0275\u0275property("options",c.editorOptions)("ngModel",c.extras),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("disabled",!c.response),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("json",c.response),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("size",30),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("items",c.consoleItems))},dependencies:[i2.NgControlStatus,i2.NgModel,i3.MonacoEditorComponent,i4.NgxJsonViewerComponent,i5.SplitComponent,i5.SplitAreaDirective,i6.MatFabButton,i7.MatIcon,i8.MatTab,i8.MatTabGroup,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}"]}),SimpleCallComponent})();exports.SimpleCallComponent=SimpleCallComponent},3538:(__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__(7582),typescript_generator_1=__webpack_require__(6077),console_types_1=__webpack_require__(821),code_execution_1=__webpack_require__(5276),i0=tslib_1.__importStar(__webpack_require__(5879)),i1=tslib_1.__importStar(__webpack_require__(6480)),i2=tslib_1.__importStar(__webpack_require__(6223)),i3=tslib_1.__importStar(__webpack_require__(3711)),i4=tslib_1.__importStar(__webpack_require__(9317)),i5=tslib_1.__importStar(__webpack_require__(2296)),i6=tslib_1.__importStar(__webpack_require__(5307)),i7=tslib_1.__importStar(__webpack_require__(343));let TabEditorComponent=(()=>{var _class;class TabEditorComponent{constructor(Z){this.sdkgen=Z,this.code="",this.busy=!1,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(Z=>{if(!Z)return;const o=`${this.patchBrowserClientSource((0,typescript_generator_1.generateBrowserClientSource)(Z.astRoot))}\n\ndeclare const client: sdkgen.ApiClient;\n\n`;this.client=this.sdkgen.getSdkgenClient(Z.url,Z.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 c=monaco.editor.getModels().find(a=>a.uri.toString().endsWith("client.d.ts"));c?c.setValue(o):monaco.editor.createModel(o,"typescript",monaco.Uri.parse("ts:filename/client.d.ts"));const[n]=Z.astRoot.operations;this.code=this.sdkgen.getTypeScriptCode(n.name,this.sdkgen.buildJsonObject(n.args))})}ngOnDestroy(){this.state$?.unsubscribe()}patchBrowserClientSource(Z){return`declare namespace sdkgen {\n${Z.substring(95,Z.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{_this.busy=!0,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(Z){_this.consoleItems.push({type:console_types_1.ConsoleItemType.ERROR,message:Z.toString()})}_this.busy=!1})()}}return _class=TabEditorComponent,_class.\u0275fac=function Z(o){return new(o||_class)(i0.\u0275\u0275directiveInject(i1.SdkgenService))},_class.\u0275cmp=i0.\u0275\u0275defineComponent({type:_class,selectors:[["app-tab-editor"]],decls:8,vars:5,consts:[["mat-fab","",1,"run-fab",3,"disabled","click"],["direction","vertical"],[1,"o-hidden"],[3,"options","ngModel","ngModelChange"],[3,"size"],[3,"items"]],template:function Z(o,c){1&o&&(i0.\u0275\u0275elementStart(0,"button",0),i0.\u0275\u0275listener("click",function(){return c.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(a){return c.code=a}),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\u0275property("disabled",c.busy),i0.\u0275\u0275advance(5),i0.\u0275\u0275property("options",c.editorOptions)("ngModel",c.code),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("size",30),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("items",c.consoleItems))},dependencies:[i2.NgControlStatus,i2.NgModel,i3.MonacoEditorComponent,i4.SplitComponent,i4.SplitAreaDirective,i5.MatFabButton,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}"]}),TabEditorComponent})();exports.TabEditorComponent=TabEditorComponent},1763:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.TabHomeComponent=void 0;const n=c(7582),a=c(5879),g=c(7583),m=c(3232),s=n.__importStar(c(5879)),d=n.__importStar(c(6480)),u=n.__importStar(c(7667)),p=n.__importStar(c(7702)),v=n.__importStar(c(6814)),f=n.__importStar(c(6223)),y=n.__importStar(c(3711)),b=n.__importStar(c(9317)),_=n.__importStar(c(2296)),w=n.__importStar(c(1226)),A=n.__importStar(c(5307)),R=n.__importStar(c(3680)),M=n.__importStar(c(1370)),Y=n.__importStar(c(4104)),$=n.__importStar(c(2596)),ne=n.__importStar(c(742));function z(ye,ht){if(1&ye&&(s.\u0275\u0275elementStart(0,"span",8),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&ye){const gt=s.\u0275\u0275nextContext().$implicit;s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate(gt.description)}}const K=function(ye){return{active:ye}};function de(ye,ht){if(1&ye){const gt=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementStart(0,"li",5),s.\u0275\u0275listener("click",function(){const $e=s.\u0275\u0275restoreView(gt).$implicit,Ne=s.\u0275\u0275nextContext();return s.\u0275\u0275resetView(Ne.selectedFunction=$e)}),s.\u0275\u0275elementStart(1,"span",6),s.\u0275\u0275text(2),s.\u0275\u0275elementEnd(),s.\u0275\u0275template(3,z,2,1,"span",7),s.\u0275\u0275elementEnd()}if(2&ye){const gt=ht.$implicit,qe=s.\u0275\u0275nextContext();s.\u0275\u0275property("ngClass",s.\u0275\u0275pureFunction1(3,K,(null==qe.selectedFunction?null:qe.selectedFunction.name)===gt.name)),s.\u0275\u0275advance(2),s.\u0275\u0275textInterpolate(gt.name),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",gt.description)}}function X(ye,ht){1&ye&&s.\u0275\u0275element(0,"span")}function fe(ye,ht){if(1&ye){const gt=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementStart(0,"span"),s.\u0275\u0275element(1,"br"),s.\u0275\u0275text(2,"\xa0\xa0"),s.\u0275\u0275elementStart(3,"span",37),s.\u0275\u0275text(4),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(5,"span",14),s.\u0275\u0275text(6,":"),s.\u0275\u0275elementEnd(),s.\u0275\u0275text(7,"\xa0"),s.\u0275\u0275elementStart(8,"u",15),s.\u0275\u0275listener("click",function(){const $e=s.\u0275\u0275restoreView(gt).$implicit,Ne=s.\u0275\u0275nextContext(2);return s.\u0275\u0275resetView(Ne.showDocumentation($e.rawType))}),s.\u0275\u0275text(9),s.\u0275\u0275elementEnd(),s.\u0275\u0275template(10,X,1,0,"span",38),s.\u0275\u0275elementEnd()}if(2&ye){const gt=ht.$implicit,qe=ht.index;s.\u0275\u0275nextContext();const Q=s.\u0275\u0275reference(18),$e=s.\u0275\u0275reference(20),Ne=s.\u0275\u0275nextContext();s.\u0275\u0275advance(4),s.\u0275\u0275textInterpolate(gt.name),s.\u0275\u0275advance(4),s.\u0275\u0275property("matTooltip",Ne.getTooltip(gt.rawType)),s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate(gt.type),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",qe!=Ne.selectedFunction.args.length-1)("ngIfThen",Q)("ngIfElse",$e)}}function he(ye,ht){1&ye&&s.\u0275\u0275text(0,",")}function ot(ye,ht){1&ye&&s.\u0275\u0275element(0,"br")}function we(ye,ht){if(1&ye){const gt=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementStart(0,"u",29),s.\u0275\u0275listener("click",function(){s.\u0275\u0275restoreView(gt);const Q=s.\u0275\u0275nextContext().$implicit,$e=s.\u0275\u0275nextContext(3);return s.\u0275\u0275resetView($e.showDocumentation(Q.dataType))}),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()}if(2&ye){const gt=s.\u0275\u0275nextContext().$implicit,qe=s.\u0275\u0275nextContext(3);s.\u0275\u0275property("matTooltip",qe.getTooltip(gt.dataType)),s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1("(",gt.dataType.name,")")}}function tt(ye,ht){if(1&ye&&(s.\u0275\u0275elementStart(0,"mat-chip",42)(1,"span",28),s.\u0275\u0275text(2),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(3,"i"),s.\u0275\u0275elementStart(4,"span",28),s.\u0275\u0275text(5),s.\u0275\u0275template(6,we,2,2,"u",43),s.\u0275\u0275elementEnd()()),2&ye){const gt=ht.$implicit;s.\u0275\u0275property("disableRipple",!0),s.\u0275\u0275advance(2),s.\u0275\u0275textInterpolate(gt.name),s.\u0275\u0275advance(3),s.\u0275\u0275textInterpolate1("",gt.type," "),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",gt.dataType&&"void"!==gt.dataType.name)}}function nt(ye,ht){if(1&ye&&(s.\u0275\u0275elementStart(0,"section",39)(1,"mat-chip-set",40),s.\u0275\u0275template(2,tt,7,4,"mat-chip",41),s.\u0275\u0275elementEnd()()),2&ye){const gt=s.\u0275\u0275nextContext(2);s.\u0275\u0275advance(2),s.\u0275\u0275property("ngForOf",gt.selectedFunction.labels)}}function Se(ye,ht){if(1&ye&&(s.\u0275\u0275elementStart(0,"p"),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&ye){const gt=s.\u0275\u0275nextContext(2);s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate(gt.selectedFunction.description)}}function Ze(ye,ht){1&ye&&(s.\u0275\u0275elementStart(0,"p",44),s.\u0275\u0275text(1,"N\xe3o h\xe1 descri\xe7\xe3o para esta fun\xe7\xe3o."),s.\u0275\u0275elementEnd())}function st(ye,ht){1&ye&&(s.\u0275\u0275elementStart(0,"p",44),s.\u0275\u0275text(1,"Esta fun\xe7\xe3o n\xe3o possui argumentos."),s.\u0275\u0275elementEnd())}function W(ye,ht){1&ye&&(s.\u0275\u0275elementStart(0,"th",54),s.\u0275\u0275text(1,"Nome"),s.\u0275\u0275elementEnd())}function Ce(ye,ht){if(1&ye&&(s.\u0275\u0275elementStart(0,"td",55),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&ye){const gt=ht.$implicit;s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate(gt.name)}}function ee(ye,ht){1&ye&&(s.\u0275\u0275elementStart(0,"th",54),s.\u0275\u0275text(1,"Tipo"),s.\u0275\u0275elementEnd())}function J(ye,ht){if(1&ye){const gt=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementStart(0,"td",55)(1,"u",29),s.\u0275\u0275listener("click",function(){const $e=s.\u0275\u0275restoreView(gt).$implicit,Ne=s.\u0275\u0275nextContext(3);return s.\u0275\u0275resetView(Ne.showDocumentation($e.rawType))}),s.\u0275\u0275text(2),s.\u0275\u0275elementEnd()()}if(2&ye){const gt=ht.$implicit,qe=s.\u0275\u0275nextContext(3);s.\u0275\u0275advance(1),s.\u0275\u0275property("matTooltip",qe.getTooltip(gt.rawType)),s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate(gt.type)}}function j(ye,ht){1&ye&&(s.\u0275\u0275elementStart(0,"th",54),s.\u0275\u0275text(1,"Descri\xe7\xe3o"),s.\u0275\u0275elementEnd())}function G(ye,ht){if(1&ye&&(s.\u0275\u0275elementStart(0,"td",56),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&ye){const gt=ht.$implicit;s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate(gt.description||"-")}}function Oe(ye,ht){1&ye&&s.\u0275\u0275element(0,"tr",57)}function U(ye,ht){1&ye&&s.\u0275\u0275element(0,"tr",58)}function ae(ye,ht){if(1&ye&&(s.\u0275\u0275elementStart(0,"table",45),s.\u0275\u0275elementContainerStart(1,46),s.\u0275\u0275template(2,W,2,0,"th",47),s.\u0275\u0275template(3,Ce,2,1,"td",48),s.\u0275\u0275elementContainerEnd(),s.\u0275\u0275elementContainerStart(4,49),s.\u0275\u0275template(5,ee,2,0,"th",47),s.\u0275\u0275template(6,J,3,2,"td",48),s.\u0275\u0275elementContainerEnd(),s.\u0275\u0275elementContainerStart(7,50),s.\u0275\u0275template(8,j,2,0,"th",47),s.\u0275\u0275template(9,G,2,1,"td",51),s.\u0275\u0275elementContainerEnd(),s.\u0275\u0275template(10,Oe,1,0,"tr",52),s.\u0275\u0275template(11,U,1,0,"tr",53),s.\u0275\u0275elementEnd()),2&ye){const gt=s.\u0275\u0275nextContext(2);s.\u0275\u0275property("dataSource",gt.selectedFunction.args),s.\u0275\u0275advance(10),s.\u0275\u0275property("matHeaderRowDef",gt.argumentsTableColumns),s.\u0275\u0275advance(1),s.\u0275\u0275property("matRowDefColumns",gt.argumentsTableColumns)}}function Ee(ye,ht){1&ye&&(s.\u0275\u0275elementStart(0,"span",59),s.\u0275\u0275text(1,"Dart"),s.\u0275\u0275elementEnd())}function pe(ye,ht){1&ye&&(s.\u0275\u0275elementStart(0,"span",59),s.\u0275\u0275text(1,"Swift"),s.\u0275\u0275elementEnd())}const Ge=function(){return{theme:"vs-dark",language:"javascript"}},Be=function(){return{theme:"vs-dark",language:"kotlin"}},xe=function(){return{theme:"vs-dark",language:"dart"}},at=function(){return{theme:"vs-dark",language:"swift"}};function ge(ye,ht){if(1&ye){const gt=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementStart(0,"article")(1,"header")(2,"h1",9)(3,"span",10)(4,"span",11),s.\u0275\u0275text(5,"fn"),s.\u0275\u0275elementEnd(),s.\u0275\u0275text(6,"\xa0"),s.\u0275\u0275elementStart(7,"span",12),s.\u0275\u0275text(8),s.\u0275\u0275elementEnd(),s.\u0275\u0275text(9,"("),s.\u0275\u0275template(10,fe,11,6,"span",13),s.\u0275\u0275text(11,")"),s.\u0275\u0275elementStart(12,"span",14),s.\u0275\u0275text(13,":"),s.\u0275\u0275elementEnd(),s.\u0275\u0275text(14,"\xa0"),s.\u0275\u0275elementStart(15,"u",15),s.\u0275\u0275listener("click",function(){s.\u0275\u0275restoreView(gt);const Q=s.\u0275\u0275nextContext();return s.\u0275\u0275resetView(Q.showDocumentation(Q.selectedFunction.returns.rawType))}),s.\u0275\u0275text(16),s.\u0275\u0275elementEnd()(),s.\u0275\u0275template(17,he,1,0,"ng-template",null,16,s.\u0275\u0275templateRefExtractor),s.\u0275\u0275template(19,ot,1,0,"ng-template",null,17,s.\u0275\u0275templateRefExtractor),s.\u0275\u0275element(21,"s"),s.\u0275\u0275elementStart(22,"button",18),s.\u0275\u0275listener("click",function(){s.\u0275\u0275restoreView(gt);const Q=s.\u0275\u0275nextContext();return s.\u0275\u0275resetView(Q.addSimpleCallTab())}),s.\u0275\u0275elementStart(23,"mat-icon"),s.\u0275\u0275text(24,"play_arrow"),s.\u0275\u0275elementEnd(),s.\u0275\u0275text(25,"\xa0EXECUTAR "),s.\u0275\u0275elementEnd()()(),s.\u0275\u0275template(26,nt,3,1,"section",19),s.\u0275\u0275elementStart(27,"section",9)(28,"h2",20),s.\u0275\u0275text(29,"Descri\xe7\xe3o"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(30,"div",21),s.\u0275\u0275template(31,Se,2,1,"p",22),s.\u0275\u0275template(32,Ze,2,0,"p",23),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(33,"h2",24),s.\u0275\u0275text(34,"Par\xe2metros"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(35,"div",21),s.\u0275\u0275template(36,st,2,0,"p",23),s.\u0275\u0275elementStart(37,"div",25),s.\u0275\u0275template(38,ae,12,3,"table",26),s.\u0275\u0275elementEnd()(),s.\u0275\u0275elementStart(39,"h2",27),s.\u0275\u0275text(40,"Retorno"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(41,"div")(42,"p",28)(43,"u",29),s.\u0275\u0275listener("click",function(){s.\u0275\u0275restoreView(gt);const Q=s.\u0275\u0275nextContext();return s.\u0275\u0275resetView(Q.showDocumentation(Q.selectedFunction.returns.rawType))}),s.\u0275\u0275text(44),s.\u0275\u0275elementEnd()()(),s.\u0275\u0275elementStart(45,"h2",30),s.\u0275\u0275text(46,"Exemplo de Requisi\xe7\xe3o"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(47,"mat-tab-group",31)(48,"mat-tab",32),s.\u0275\u0275element(49,"ngx-monaco-editor",33),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(50,"mat-tab",34),s.\u0275\u0275element(51,"ngx-monaco-editor",33),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(52,"mat-tab",35),s.\u0275\u0275template(53,Ee,2,0,"ng-template",36),s.\u0275\u0275element(54,"ngx-monaco-editor",33),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(55,"mat-tab",35),s.\u0275\u0275template(56,pe,2,0,"ng-template",36),s.\u0275\u0275element(57,"ngx-monaco-editor",33),s.\u0275\u0275elementEnd()()()()}if(2&ye){const gt=s.\u0275\u0275nextContext();s.\u0275\u0275advance(8),s.\u0275\u0275textInterpolate(gt.selectedFunction.name),s.\u0275\u0275advance(2),s.\u0275\u0275property("ngForOf",gt.selectedFunction.args),s.\u0275\u0275advance(5),s.\u0275\u0275property("matTooltip",gt.getTooltip(gt.selectedFunction.returns.rawType)),s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate(gt.selectedFunction.returns.type),s.\u0275\u0275advance(10),s.\u0275\u0275property("ngIf",gt.selectedFunction.labels.length>0),s.\u0275\u0275advance(4),s.\u0275\u0275property("ngSwitch",!!gt.selectedFunction.description),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngSwitchCase",!0),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngSwitchCase",!1),s.\u0275\u0275advance(3),s.\u0275\u0275property("ngSwitch",gt.selectedFunction.args.length),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngSwitchCase",0),s.\u0275\u0275advance(7),s.\u0275\u0275property("matTooltip",gt.getTooltip(gt.selectedFunction.returns.rawType)),s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate(gt.selectedFunction.returns.type),s.\u0275\u0275advance(5),s.\u0275\u0275property("options",s.\u0275\u0275pureFunction0(20,Ge))("ngModel",gt.selectedFunction.examples.typeScript),s.\u0275\u0275advance(2),s.\u0275\u0275property("options",s.\u0275\u0275pureFunction0(21,Be))("ngModel",gt.selectedFunction.examples.kotlin),s.\u0275\u0275advance(3),s.\u0275\u0275property("options",s.\u0275\u0275pureFunction0(22,xe))("ngModel",gt.selectedFunction.examples.dart),s.\u0275\u0275advance(3),s.\u0275\u0275property("options",s.\u0275\u0275pureFunction0(23,at))("ngModel",gt.selectedFunction.examples.swift)}}const Me=function(){return{standalone:!0}};o.TabHomeComponent=(()=>{var ye;class ht{constructor(qe,Q,$e){this.sdkgen=qe,this.dialog=Q,this.responsive=$e,this.isBelowMd=!1,this.runFunction=new a.EventEmitter,this.searchText="",this.argumentsTableColumns=["name","type","description"],this.editorOptions={theme:"vs-dark",language:"javascript"}}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(qe=>{qe&&(this.selectedFunction=void 0,this.fnTable=qe.astRoot.operations.sort((Q,$e)=>Q.name.localeCompare($e.name)).map(Q=>{const $e=qe.astJson.annotations[`fn.${Q.name}`],Ne=this.sdkgen.buildJsonObject(Q.args);return $e?.find(et=>"hidden"===et.type)?null:{name:Q.name,description:$e?.find(et=>"description"===et.type)?.value,args:Q.args.map(({name:et,type:dt})=>{const xt=[...qe.astJson.annotations[`type.${dt.name}.${et}`]??[],...qe.astJson.annotations[`fn.${Q.name}.${et}`]??[]];return{name:et,description:xt.find(Nt=>"description"===Nt.type)?.value,type:dt.name,rawType:dt}}),argsStr:Q.args.map(et=>`${et.name}: ${et.type.name}`).join(", "),argsFields:Q.args,returns:{type:Q.returnType.name,rawType:Q.returnType},labels:$e?.filter(et=>["rest","throws"].includes(et.type)).map(et=>"rest"===et.type?{name:"REST",type:`${et.value.method} ${et.value.path}`}:"throws"===et.type?{name:"THROWS",type:et.value,dataType:qe.astRoot.errors.find(dt=>dt.name===et.value)?.dataType}:{name:"?",type:"?"})??[],throws:$e?.find(et=>"throws"===et.type)?.value,examples:{typeScript:this.sdkgen.getTypeScriptCode(Q.name,Ne),kotlin:this.sdkgen.getKotlinCode(Q.name,Q.args),dart:this.sdkgen.getDartCode(Q.name,Ne),swift:this.sdkgen.getSwiftCode(Q.name,Ne)}}}).filter(Q=>!!Q))})}ngOnDestroy(){this.state$?.unsubscribe(),this.responsive$?.unsubscribe()}ngAfterViewInit(){this.responsive$=this.responsive.isBelowMd().subscribe(qe=>{this.isBelowMd=qe.matches})}addSimpleCallTab(){this.runFunction.emit(this.selectedFunction?.name)}getTooltip(qe){return(0,g.getTypeDoc)(qe).shortDescription}showDocumentation(qe){this.dialog.open(m.TypeDetailsComponent,{position:{right:"0",top:"0",bottom:"0"},data:{type:qe},height:"100vh",panelClass:["dialog-no-border-radius","dialog-responsive"]})}}return(ye=ht).\u0275fac=function(qe){return new(qe||ye)(s.\u0275\u0275directiveInject(d.SdkgenService),s.\u0275\u0275directiveInject(u.MatDialog),s.\u0275\u0275directiveInject(p.ResponsiveService))},ye.\u0275cmp=s.\u0275\u0275defineComponent({type:ye,selectors:[["app-tab-home"]],outputs:{runFunction:"runFunction"},decls:11,vars:10,consts:[["unit","pixel",3,"direction"],[3,"size"],["type","search","placeholder","Buscar\u2026",3,"ngModel","ngModelOptions","ngModelChange"],["mat-ripple","",3,"ngClass","click",4,"ngFor","ngForOf"],[4,"ngIf"],["mat-ripple","",3,"ngClass","click"],[1,"fn-call"],["class","fn-description",4,"ngIf"],[1,"fn-description"],[1,"container"],[1,"mono","hide-overflow"],[1,"k-fn"],[1,"k-name"],[4,"ngFor","ngForOf"],[1,"k-sym"],[1,"k-type",3,"matTooltip","click"],["comma",""],["lineBreak",""],["mat-raised-button","","color","primary",3,"click"],["class","container","id","labels",4,"ngIf"],["id","description"],[3,"ngSwitch"],[4,"ngSwitchCase"],["class","no-content",4,"ngSwitchCase"],["id","parameters"],[1,"table-responsive","mat-elevation-z8"],["mat-table","",3,"dataSource",4,"ngSwitchDefault"],["id","returns"],[1,"mono"],[3,"matTooltip","click"],["id","sample-calls"],["animationDuration","0ms"],["label","TypeScript"],[3,"options","ngModel"],["label","Kotlin"],["disabled",""],["mat-tab-label",""],[1,"k-arg-name"],[4,"ngIf","ngIfThen","ngIfElse"],["id","labels",1,"container"],["role","list"],["color","primary",3,"disableRipple",4,"ngFor","ngForOf"],["color","primary",3,"disableRipple"],[3,"matTooltip","click",4,"ngIf"],[1,"no-content"],["mat-table","",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["class","mono","mat-cell","",4,"matCellDef"],["matColumnDef","type"],["matColumnDef","description"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"mono"],["mat-cell",""],["mat-header-row",""],["mat-row",""],["matTooltip","Em breve!"]],template:function(qe,Q){1&qe&&(s.\u0275\u0275elementStart(0,"as-split",0)(1,"as-split-area",1)(2,"aside")(3,"nav")(4,"form")(5,"input",2),s.\u0275\u0275listener("ngModelChange",function(Ne){return Q.searchText=Ne}),s.\u0275\u0275elementEnd()(),s.\u0275\u0275elementStart(6,"ul"),s.\u0275\u0275template(7,de,4,5,"li",3),s.\u0275\u0275pipe(8,"appFilter"),s.\u0275\u0275elementEnd()()()(),s.\u0275\u0275elementStart(9,"as-split-area"),s.\u0275\u0275template(10,ge,58,24,"article",4),s.\u0275\u0275elementEnd()()),2&qe&&(s.\u0275\u0275property("direction",Q.isBelowMd?"vertical":"horizontal"),s.\u0275\u0275advance(1),s.\u0275\u0275property("size",Q.isBelowMd?130:350),s.\u0275\u0275advance(4),s.\u0275\u0275property("ngModel",Q.searchText)("ngModelOptions",s.\u0275\u0275pureFunction0(9,Me)),s.\u0275\u0275advance(2),s.\u0275\u0275property("ngForOf",s.\u0275\u0275pipeBind2(8,6,Q.fnTable,Q.searchText)),s.\u0275\u0275advance(3),s.\u0275\u0275property("ngIf",Q.selectedFunction))},dependencies:[v.NgClass,v.NgForOf,v.NgIf,v.NgSwitch,v.NgSwitchCase,v.NgSwitchDefault,f.\u0275NgNoValidate,f.DefaultValueAccessor,f.NgControlStatus,f.NgControlStatusGroup,f.NgModel,f.NgForm,y.MonacoEditorComponent,b.SplitComponent,b.SplitAreaDirective,_.MatButton,w.MatChip,w.MatChipSet,A.MatIcon,R.MatRipple,M.MatTable,M.MatHeaderCellDef,M.MatHeaderRowDef,M.MatColumnDef,M.MatCellDef,M.MatRowDef,M.MatHeaderCell,M.MatCell,M.MatHeaderRow,M.MatRow,Y.MatTabLabel,Y.MatTab,Y.MatTabGroup,$.MatTooltip,ne.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;-webkit-user-select:none;user-select:none}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.active[_ngcontent-%COMP%]{background-color:#0003}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{background-color:#0000004d}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;word-break:break-all}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span.fn-call[_ngcontent-%COMP%]{font-family:Roboto Mono,monospace}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span.fn-description[_ngcontent-%COMP%]{color:#777;font-size:.9rem;margin-top:5px}u[_ngcontent-%COMP%]{text-decoration-style:dotted;cursor:pointer;font-family:Roboto Mono,monospace}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{background-color:#2b2b2b;padding:25px 20px;width:100%;position:sticky;top:0;left:0;right:0;z-index:3}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{display:flex;margin:0 auto;font-weight:300;line-height:36px;white-space:pre}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span.hide-overflow[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .k-fn[_ngcontent-%COMP%]{color:#c586c0}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .k-name[_ngcontent-%COMP%]{color:#dcdcaa}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .k-arg-name[_ngcontent-%COMP%]{color:#9cdcfe}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .k-sym[_ngcontent-%COMP%]{color:#d4d4d4}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .k-type[_ngcontent-%COMP%]{color:#569cd6}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{min-width:130px;align-self:center}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{display:block;padding:0 20px 15px}article[_ngcontent-%COMP%] section#labels[_ngcontent-%COMP%]{padding:20px 20px 0}article[_ngcontent-%COMP%] section#labels[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]{overflow:hidden}article[_ngcontent-%COMP%] section#labels[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]:focus{outline:none}article[_ngcontent-%COMP%] section#labels[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{display:block;width:1.3px;background:#fff;margin:0 7.5px;border-radius:5px;height:calc(100% + 14px)}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-weight:300;margin-top:40px;text-transform:uppercase}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] .no-content[_ngcontent-%COMP%]{background-color:#383838;color:#fafafa;display:inline-block;padding:15px;border-radius:5px;margin-top:0}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] table[_ngcontent-%COMP%], article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] .table-responsive[_ngcontent-%COMP%], article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] mat-tab-group[_ngcontent-%COMP%]{width:100%;max-width:720px}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] .mat-tab-body-content{overflow-y:hidden}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] ngx-monaco-editor[_ngcontent-%COMP%]{display:block;height:100%;min-height:300px}"]}),ht})()},3632:(Z,o,c)=>{"use strict";var n=c(7156).default;Object.defineProperty(o,"__esModule",{value:!0}),o.TabNavComponent=void 0;const a=c(7582),g=c(6223),m=c(6325),s=c(5966),d=a.__importStar(c(5879)),u=a.__importStar(c(6480)),p=a.__importStar(c(9229)),v=a.__importStar(c(7667)),f=a.__importStar(c(6814)),y=a.__importStar(c(6223)),b=a.__importStar(c(5307)),_=a.__importStar(c(3680));function w(M,Y){1&M&&(d.\u0275\u0275elementContainerStart(0),d.\u0275\u0275elementStart(1,"mat-icon",6),d.\u0275\u0275text(2,"loop"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementContainerEnd())}function A(M,Y){1&M&&(d.\u0275\u0275elementContainerStart(0),d.\u0275\u0275elementStart(1,"mat-icon"),d.\u0275\u0275text(2,"arrow_forward"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementContainerEnd())}o.TabNavComponent=(()=>{var M;class Y{constructor(ne,z,K){this.sdkgen=ne,this.toastr=z,this.dialog=K,this.loading=!1,this.url=new g.FormControl("")}ngOnInit(){fetch("/ast.json").then(ne=>{ne.ok&&(this.url.setValue(`${window.location.protocol}//${window.location.host}`),this.loadUrl())}).catch(()=>{})}loadUrl(ne){var z=this;return n(function*(){ne?.preventDefault();try{z.loading=!0,/^https?:\/\//.test(z.url.value)||z.url.setValue(`https://${z.url.value}`);const K=new URL(z.url.value);K.pathname+=(K.pathname.endsWith("/")?"":"/")+"ast.json";const de=K.toString();console.debug("astUrl",de);const X=yield fetch(de).then(function(){var fe=n(function*(he){return he.ok?he.json():he});return function(he){return fe.apply(this,arguments)}}());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(;typeof monaco>"u";)yield new Promise(fe=>setTimeout(fe,250));console.debug("astJson",X),z.sdkgen.state$.next({astJson:X,astRoot:(0,m.jsonToAst)(X),url:z.url.value})}catch(K){z.toastr.error(K instanceof Error?K.message:JSON.stringify(K),"Erro ao carregar AST",{positionClass:"toast-bottom-right"})}finally{z.loading=!1}})()}openAbout(){this.dialog.open(s.DialogAboutComponent)}}return(M=Y).\u0275fac=function(ne){return new(ne||M)(d.\u0275\u0275directiveInject(u.SdkgenService),d.\u0275\u0275directiveInject(p.ToastrService),d.\u0275\u0275directiveInject(v.MatDialog))},M.\u0275cmp=d.\u0275\u0275defineComponent({type:M,selectors:[["app-tab-nav"]],decls:9,vars:6,consts:[["src","assets/polvinho.png"],[3,"submit"],["placeholder","Digite uma URL aqui para conectar",3,"formControl","readonly"],["mat-ripple","","type","submit",3,"disabled","ngSwitch"],[4,"ngSwitchCase"],["mat-ripple","",1,"about-button",3,"click"],[1,"loader"]],template:function(ne,z){1&ne&&(d.\u0275\u0275element(0,"img",0),d.\u0275\u0275elementStart(1,"form",1),d.\u0275\u0275listener("submit",function(de){return z.loadUrl(de)}),d.\u0275\u0275element(2,"input",2),d.\u0275\u0275elementStart(3,"button",3),d.\u0275\u0275template(4,w,3,0,"ng-container",4),d.\u0275\u0275template(5,A,3,0,"ng-container",4),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(6,"button",5),d.\u0275\u0275listener("click",function(){return z.openAbout()}),d.\u0275\u0275elementStart(7,"mat-icon"),d.\u0275\u0275text(8,"info"),d.\u0275\u0275elementEnd()()),2&ne&&(d.\u0275\u0275advance(2),d.\u0275\u0275property("formControl",z.url)("readonly",z.loading),d.\u0275\u0275advance(1),d.\u0275\u0275property("disabled",z.loading)("ngSwitch",z.loading),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngSwitchCase",!0),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngSwitchCase",!1))},dependencies:[f.NgSwitch,f.NgSwitchCase,y.\u0275NgNoValidate,y.DefaultValueAccessor,y.NgControlStatus,y.NgControlStatusGroup,y.NgForm,y.FormControlDirective,b.MatIcon,_.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;line-height:10px}form[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_spin 2s linear infinite}button.about-button[_ngcontent-%COMP%]{width:42px;height:42px;border:0;border-radius:0;padding:0;background:transparent;cursor:pointer;color:inherit;line-height:0;text-align:center}@keyframes _ngcontent-%COMP%_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"]}),Y})()},3232:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.TypeDetailsComponent=void 0;const n=c(7582),a=c(7667),g=c(7583),m=n.__importStar(c(5879)),s=n.__importStar(c(7667)),d=n.__importStar(c(6814)),u=n.__importStar(c(2296)),p=n.__importStar(c(1226)),v=n.__importStar(c(5307)),f=n.__importStar(c(1370)),y=n.__importStar(c(2596));function b(nt,Se){1&nt&&(m.\u0275\u0275elementStart(0,"button",6)(1,"mat-icon"),m.\u0275\u0275text(2,"arrow_back"),m.\u0275\u0275elementEnd()())}function _(nt,Se){if(1&nt&&(m.\u0275\u0275elementStart(0,"mat-chip",7),m.\u0275\u0275text(1),m.\u0275\u0275elementEnd()),2&nt){const Ze=Se.$implicit;m.\u0275\u0275property("disableRipple",!0),m.\u0275\u0275advance(1),m.\u0275\u0275textInterpolate(Ze)}}function w(nt,Se){1&nt&&(m.\u0275\u0275elementStart(0,"button",8)(1,"mat-icon"),m.\u0275\u0275text(2,"close"),m.\u0275\u0275elementEnd()())}function A(nt,Se){1&nt&&(m.\u0275\u0275elementStart(0,"th",20),m.\u0275\u0275text(1,"Nome"),m.\u0275\u0275elementEnd())}function R(nt,Se){if(1&nt&&(m.\u0275\u0275elementStart(0,"td",21),m.\u0275\u0275text(1),m.\u0275\u0275elementEnd()),2&nt){const Ze=Se.$implicit;m.\u0275\u0275advance(1),m.\u0275\u0275textInterpolate(Ze.name)}}function M(nt,Se){1&nt&&(m.\u0275\u0275elementStart(0,"th",20),m.\u0275\u0275text(1,"Tipo"),m.\u0275\u0275elementEnd())}function Y(nt,Se){1&nt&&(m.\u0275\u0275elementStart(0,"span"),m.\u0275\u0275text(1,"-"),m.\u0275\u0275elementEnd())}function $(nt,Se){if(1&nt){const Ze=m.\u0275\u0275getCurrentView();m.\u0275\u0275elementStart(0,"u",25),m.\u0275\u0275listener("click",function(){m.\u0275\u0275restoreView(Ze);const W=m.\u0275\u0275nextContext().$implicit,Ce=m.\u0275\u0275nextContext(2);return m.\u0275\u0275resetView(Ce.showDocumentation(W.type))}),m.\u0275\u0275text(1),m.\u0275\u0275elementEnd()}if(2&nt){const Ze=m.\u0275\u0275nextContext().$implicit,st=m.\u0275\u0275nextContext(2);m.\u0275\u0275property("matTooltip",st.getTooltip(Ze.type)),m.\u0275\u0275advance(1),m.\u0275\u0275textInterpolate(Ze.type.name)}}function ne(nt,Se){1&nt&&(m.\u0275\u0275elementStart(0,"td",22),m.\u0275\u0275template(1,Y,2,0,"span",23),m.\u0275\u0275template(2,$,2,2,"u",24),m.\u0275\u0275elementEnd()),2&nt&&(m.\u0275\u0275property("ngSwitch",Se.$implicit.type),m.\u0275\u0275advance(1),m.\u0275\u0275property("ngSwitchCase",null))}function z(nt,Se){1&nt&&(m.\u0275\u0275elementStart(0,"th",20),m.\u0275\u0275text(1,"Descri\xe7\xe3o"),m.\u0275\u0275elementEnd())}function K(nt,Se){if(1&nt&&(m.\u0275\u0275elementStart(0,"td",26),m.\u0275\u0275text(1),m.\u0275\u0275elementEnd()),2&nt){const Ze=Se.$implicit;m.\u0275\u0275advance(1),m.\u0275\u0275textInterpolate(Ze.description||"-")}}function de(nt,Se){1&nt&&m.\u0275\u0275element(0,"tr",27)}function X(nt,Se){1&nt&&m.\u0275\u0275element(0,"tr",28)}const fe=function(){return[]};function he(nt,Se){if(1&nt&&(m.\u0275\u0275elementStart(0,"section")(1,"div",9)(2,"table",10),m.\u0275\u0275elementContainerStart(3,11),m.\u0275\u0275template(4,A,2,0,"th",12),m.\u0275\u0275template(5,R,2,1,"td",13),m.\u0275\u0275elementContainerEnd(),m.\u0275\u0275elementContainerStart(6,14),m.\u0275\u0275template(7,M,2,0,"th",12),m.\u0275\u0275template(8,ne,3,2,"td",15),m.\u0275\u0275elementContainerEnd(),m.\u0275\u0275elementContainerStart(9,16),m.\u0275\u0275template(10,z,2,0,"th",12),m.\u0275\u0275template(11,K,2,1,"td",17),m.\u0275\u0275elementContainerEnd(),m.\u0275\u0275template(12,de,1,0,"tr",18),m.\u0275\u0275template(13,X,1,0,"tr",19),m.\u0275\u0275elementEnd()()()),2&nt){const Ze=m.\u0275\u0275nextContext();let st;m.\u0275\u0275advance(2),m.\u0275\u0275property("dataSource",null!==(st=null==Ze.typeDoc?null:Ze.typeDoc.structFields)&&void 0!==st?st:m.\u0275\u0275pureFunction0(3,fe)),m.\u0275\u0275advance(10),m.\u0275\u0275property("matHeaderRowDef",Ze.argumentsTableColumns),m.\u0275\u0275advance(1),m.\u0275\u0275property("matRowDefColumns",Ze.argumentsTableColumns)}}function ot(nt,Se){if(1&nt&&(m.\u0275\u0275elementStart(0,"li")(1,"code",1),m.\u0275\u0275text(2),m.\u0275\u0275elementEnd()()),2&nt){const Ze=Se.$implicit;m.\u0275\u0275advance(2),m.\u0275\u0275textInterpolate(Ze)}}function we(nt,Se){if(1&nt&&(m.\u0275\u0275elementStart(0,"section")(1,"h3"),m.\u0275\u0275text(2,"Exemplos"),m.\u0275\u0275elementEnd(),m.\u0275\u0275elementStart(3,"ul"),m.\u0275\u0275template(4,ot,3,1,"li",29),m.\u0275\u0275elementEnd()()),2&nt){const Ze=m.\u0275\u0275nextContext();m.\u0275\u0275advance(4),m.\u0275\u0275property("ngForOf",null==Ze.typeDoc?null:Ze.typeDoc.examples)}}o.TypeDetailsComponent=(()=>{var nt;class Se{constructor(st,W,Ce){this.dialogRef=st,this.data=W,this.dialog=Ce,this.labels=[],this.argumentsTableColumns=["name","type","description"]}ngOnInit(){this.labels=(0,g.getTypeLabels)(this.data.type),this.typeDoc=(0,g.getTypeDoc)(this.data.type)}getTooltip(st){return(0,g.getTypeDoc)(st).shortDescription}showDocumentation(st){this.dialog.open(Se,{position:{right:"0"},data:{type:st,subdialog:!0},height:"100vh",panelClass:["dialog-no-border-radius","dialog-responsive"]})}}return(nt=Se).\u0275fac=function(st){return new(st||nt)(m.\u0275\u0275directiveInject(s.MatDialogRef),m.\u0275\u0275directiveInject(a.MAT_DIALOG_DATA),m.\u0275\u0275directiveInject(s.MatDialog))},nt.\u0275cmp=m.\u0275\u0275defineComponent({type:nt,selectors:[["app-type-details"]],decls:11,vars:7,consts:[["class","back-button","mat-icon-button","","mat-dialog-close","","tabindex","-1",4,"ngIf"],[1,"mono"],["role","list"],["color","primary",3,"disableRipple",4,"ngFor","ngForOf"],["class","close-button","mat-icon-button","","mat-dialog-close","","tabindex","-1",4,"ngIf"],[4,"ngIf"],["mat-icon-button","","mat-dialog-close","","tabindex","-1",1,"back-button"],["color","primary",3,"disableRipple"],["mat-icon-button","","mat-dialog-close","","tabindex","-1",1,"close-button"],[1,"table-responsive","mat-elevation-z8"],["mat-table","",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["class","mono","mat-cell","",4,"matCellDef"],["matColumnDef","type"],["class","mono","mat-cell","",3,"ngSwitch",4,"matCellDef"],["matColumnDef","description"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"mono"],["mat-cell","",1,"mono",3,"ngSwitch"],[4,"ngSwitchCase"],[3,"matTooltip","click",4,"ngSwitchDefault"],[3,"matTooltip","click"],["mat-cell",""],["mat-header-row",""],["mat-row",""],[4,"ngFor","ngForOf"]],template:function(st,W){1&st&&(m.\u0275\u0275elementStart(0,"h1"),m.\u0275\u0275template(1,b,3,0,"button",0),m.\u0275\u0275elementStart(2,"span",1),m.\u0275\u0275text(3),m.\u0275\u0275elementEnd(),m.\u0275\u0275elementStart(4,"mat-chip-set",2),m.\u0275\u0275template(5,_,2,2,"mat-chip",3),m.\u0275\u0275elementEnd(),m.\u0275\u0275template(6,w,3,0,"button",4),m.\u0275\u0275elementEnd(),m.\u0275\u0275elementStart(7,"p"),m.\u0275\u0275text(8),m.\u0275\u0275elementEnd(),m.\u0275\u0275template(9,he,14,4,"section",5),m.\u0275\u0275template(10,we,5,1,"section",5)),2&st&&(m.\u0275\u0275advance(1),m.\u0275\u0275property("ngIf",W.data.subdialog),m.\u0275\u0275advance(2),m.\u0275\u0275textInterpolate(W.data.type.name),m.\u0275\u0275advance(2),m.\u0275\u0275property("ngForOf",W.labels),m.\u0275\u0275advance(1),m.\u0275\u0275property("ngIf",!W.data.subdialog),m.\u0275\u0275advance(2),m.\u0275\u0275textInterpolate(null==W.typeDoc?null:W.typeDoc.longDescription),m.\u0275\u0275advance(1),m.\u0275\u0275property("ngIf",(null==W.typeDoc?null:W.typeDoc.isStruct)&&(null==W.typeDoc?null:W.typeDoc.structFields)),m.\u0275\u0275advance(1),m.\u0275\u0275property("ngIf",null==W.typeDoc||null==W.typeDoc.examples?null:W.typeDoc.examples.length))},dependencies:[d.NgForOf,d.NgIf,d.NgSwitch,d.NgSwitchCase,d.NgSwitchDefault,u.MatIconButton,p.MatChip,p.MatChipSet,s.MatDialogClose,v.MatIcon,f.MatTable,f.MatHeaderCellDef,f.MatHeaderRowDef,f.MatColumnDef,f.MatCellDef,f.MatRowDef,f.MatHeaderCell,f.MatCell,f.MatHeaderRow,f.MatRow,y.MatTooltip],styles:["h1[_ngcontent-%COMP%]{font-weight:200;word-break:break-all;word-wrap:break-word;color:#fff}h1[_ngcontent-%COMP%] mat-chip-set[_ngcontent-%COMP%]{display:inline-block;margin-left:10px;-webkit-user-select:none;user-select:none}h1[_ngcontent-%COMP%] mat-chip-set[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]{text-transform:uppercase}h1[_ngcontent-%COMP%] mat-chip-set[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]:focus{outline:none}h1[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{vertical-align:middle}h1[_ngcontent-%COMP%] button.back-button[_ngcontent-%COMP%]{margin-right:10px}h1[_ngcontent-%COMP%] button.close-button[_ngcontent-%COMP%]{float:right}p[_ngcontent-%COMP%]{line-height:1.5rem}section[_ngcontent-%COMP%]{margin-top:2rem}h3[_ngcontent-%COMP%]{font-weight:200;text-transform:uppercase}ul[_ngcontent-%COMP%]{padding-left:2rem}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{line-height:2rem;list-style:square}code[_ngcontent-%COMP%]{padding:.2rem .4rem;font-size:.875em;color:#fff;background-color:#212529;border-radius:.2rem;white-space:pre-wrap;word-break:break-all;word-wrap:break-word}table[_ngcontent-%COMP%]{width:100%}table[_ngcontent-%COMP%] u[_ngcontent-%COMP%]{text-decoration-style:dotted;cursor:pointer}"]}),Se})()},5276:(Z,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.__originalConsole = [console.log, console.error, console.warn, console.debug, console.info];\n\n for (const method of window.__originalConsole) {\n console[method.name] = function() {\n const event = { type: method.name === "log" ? "info" : method.name, message: Array.prototype.map.call(arguments, x => typeof x === "object" ? JSON.stringify(x) : x.toString()).join(" ") };\n events.push(event);\n return method.apply(this, arguments);\n }\n }\n',o.unwrap="\n XMLHttpRequest.prototype.open = window.___originalXmlHttpRequestOpen;\n for (const method of window.__originalConsole) {\n console[method.name] = method;\n }\n"},553:(Z,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.environment=void 0,o.environment={production:!0}},4913:(Z,o,c)=>{"use strict";const g=c(7582).__importStar(c(6593)),m=c(5879),s=c(8629);c(553).environment.production&&(0,m.enableProdMode)(),g.platformBrowser().bootstrapModule(s.AppModule).catch(u=>console.error(u))},217:function(Z,o){var c,a;void 0!==(a="function"==typeof(c=function(){"use strict";function m(f,y,b){var _=new XMLHttpRequest;_.open("GET",f),_.responseType="blob",_.onload=function(){v(_.response,y,b)},_.onerror=function(){console.error("could not download file")},_.send()}function s(f){var y=new XMLHttpRequest;y.open("HEAD",f,!1);try{y.send()}catch{}return 200<=y.status&&299>=y.status}function d(f){try{f.dispatchEvent(new MouseEvent("click"))}catch{var y=document.createEvent("MouseEvents");y.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),f.dispatchEvent(y)}}var u="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,p=u.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),v=u.saveAs||("object"!=typeof window||window!==u?function(){}:"download"in HTMLAnchorElement.prototype&&!p?function(f,y,b){var _=u.URL||u.webkitURL,w=document.createElement("a");w.download=y=y||f.name||"download",w.rel="noopener","string"==typeof f?(w.href=f,w.origin===location.origin?d(w):s(w.href)?m(f,y,b):d(w,w.target="_blank")):(w.href=_.createObjectURL(f),setTimeout(function(){_.revokeObjectURL(w.href)},4e4),setTimeout(function(){d(w)},0))}:"msSaveOrOpenBlob"in navigator?function(f,y,b){if(y=y||f.name||"download","string"!=typeof f)navigator.msSaveOrOpenBlob(function g(f,y){return typeof y>"u"?y={autoBom:!1}:"object"!=typeof y&&(console.warn("Deprecated: Expected third argument to be a object"),y={autoBom:!y}),y.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,b),y);else if(s(f))m(f,y,b);else{var _=document.createElement("a");_.href=f,_.target="_blank",setTimeout(function(){d(_)})}}:function(f,y,b,_){if((_=_||open("","_blank"))&&(_.document.title=_.document.body.innerText="downloading..."),"string"==typeof f)return m(f,y,b);var w="application/octet-stream"===f.type,A=/constructor/i.test(u.HTMLElement)||u.safari,R=/CriOS\/[\d]+/.test(navigator.userAgent);if((R||w&&A||p)&&typeof FileReader<"u"){var M=new FileReader;M.onloadend=function(){var ne=M.result;ne=R?ne:ne.replace(/^data:[^;]*;/,"data:attachment/file;"),_?_.location.href=ne:location=ne,_=null},M.readAsDataURL(f)}else{var Y=u.URL||u.webkitURL,$=Y.createObjectURL(f);_?_.location=$:location.href=$,_=null,setTimeout(function(){Y.revokeObjectURL($)},4e4)}});u.saveAs=v.saveAs=v,Z.exports=v})?c.apply(o,[]):c)&&(Z.exports=a)},188:function(Z,o,c){"use strict";var n=this&&this.__createBinding||(Object.create?function(vi,ei,fi,Pi){void 0===Pi&&(Pi=fi),Object.defineProperty(vi,Pi,{enumerable:!0,get:function(){return ei[fi]}})}:function(vi,ei,fi,Pi){void 0===Pi&&(Pi=fi),vi[Pi]=ei[fi]}),a=this&&this.__exportStar||function(vi,ei){for(var fi in vi)"default"!==fi&&!Object.prototype.hasOwnProperty.call(ei,fi)&&n(ei,vi,fi)};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.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.onErrorResumeNextWith=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=o.switchMapTo=void 0;var g=c(7072);Object.defineProperty(o,"Observable",{enumerable:!0,get:function(){return g.Observable}});var m=c(8840);Object.defineProperty(o,"ConnectableObservable",{enumerable:!0,get:function(){return m.ConnectableObservable}});var s=c(2289);Object.defineProperty(o,"observable",{enumerable:!0,get:function(){return s.observable}});var d=c(2505);Object.defineProperty(o,"animationFrames",{enumerable:!0,get:function(){return d.animationFrames}});var u=c(3653);Object.defineProperty(o,"Subject",{enumerable:!0,get:function(){return u.Subject}});var p=c(1552);Object.defineProperty(o,"BehaviorSubject",{enumerable:!0,get:function(){return p.BehaviorSubject}});var v=c(4098);Object.defineProperty(o,"ReplaySubject",{enumerable:!0,get:function(){return v.ReplaySubject}});var f=c(2562);Object.defineProperty(o,"AsyncSubject",{enumerable:!0,get:function(){return f.AsyncSubject}});var y=c(6842);Object.defineProperty(o,"asap",{enumerable:!0,get:function(){return y.asap}}),Object.defineProperty(o,"asapScheduler",{enumerable:!0,get:function(){return y.asapScheduler}});var b=c(9106);Object.defineProperty(o,"async",{enumerable:!0,get:function(){return b.async}}),Object.defineProperty(o,"asyncScheduler",{enumerable:!0,get:function(){return b.asyncScheduler}});var _=c(3931);Object.defineProperty(o,"queue",{enumerable:!0,get:function(){return _.queue}}),Object.defineProperty(o,"queueScheduler",{enumerable:!0,get:function(){return _.queueScheduler}});var w=c(3989);Object.defineProperty(o,"animationFrame",{enumerable:!0,get:function(){return w.animationFrame}}),Object.defineProperty(o,"animationFrameScheduler",{enumerable:!0,get:function(){return w.animationFrameScheduler}});var A=c(3503);Object.defineProperty(o,"VirtualTimeScheduler",{enumerable:!0,get:function(){return A.VirtualTimeScheduler}}),Object.defineProperty(o,"VirtualAction",{enumerable:!0,get:function(){return A.VirtualAction}});var R=c(4283);Object.defineProperty(o,"Scheduler",{enumerable:!0,get:function(){return R.Scheduler}});var M=c(642);Object.defineProperty(o,"Subscription",{enumerable:!0,get:function(){return M.Subscription}});var Y=c(7032);Object.defineProperty(o,"Subscriber",{enumerable:!0,get:function(){return Y.Subscriber}});var $=c(9988);Object.defineProperty(o,"Notification",{enumerable:!0,get:function(){return $.Notification}}),Object.defineProperty(o,"NotificationKind",{enumerable:!0,get:function(){return $.NotificationKind}});var ne=c(3776);Object.defineProperty(o,"pipe",{enumerable:!0,get:function(){return ne.pipe}});var z=c(6048);Object.defineProperty(o,"noop",{enumerable:!0,get:function(){return z.noop}});var K=c(7288);Object.defineProperty(o,"identity",{enumerable:!0,get:function(){return K.identity}});var de=c(8447);Object.defineProperty(o,"isObservable",{enumerable:!0,get:function(){return de.isObservable}});var X=c(7632);Object.defineProperty(o,"lastValueFrom",{enumerable:!0,get:function(){return X.lastValueFrom}});var fe=c(3133);Object.defineProperty(o,"firstValueFrom",{enumerable:!0,get:function(){return fe.firstValueFrom}});var he=c(4936);Object.defineProperty(o,"ArgumentOutOfRangeError",{enumerable:!0,get:function(){return he.ArgumentOutOfRangeError}});var ot=c(6159);Object.defineProperty(o,"EmptyError",{enumerable:!0,get:function(){return ot.EmptyError}});var we=c(3811);Object.defineProperty(o,"NotFoundError",{enumerable:!0,get:function(){return we.NotFoundError}});var tt=c(5499);Object.defineProperty(o,"ObjectUnsubscribedError",{enumerable:!0,get:function(){return tt.ObjectUnsubscribedError}});var nt=c(833);Object.defineProperty(o,"SequenceError",{enumerable:!0,get:function(){return nt.SequenceError}});var Se=c(6406);Object.defineProperty(o,"TimeoutError",{enumerable:!0,get:function(){return Se.TimeoutError}});var Ze=c(1490);Object.defineProperty(o,"UnsubscriptionError",{enumerable:!0,get:function(){return Ze.UnsubscriptionError}});var st=c(2344);Object.defineProperty(o,"bindCallback",{enumerable:!0,get:function(){return st.bindCallback}});var W=c(8991);Object.defineProperty(o,"bindNodeCallback",{enumerable:!0,get:function(){return W.bindNodeCallback}});var Ce=c(8250);Object.defineProperty(o,"combineLatest",{enumerable:!0,get:function(){return Ce.combineLatest}});var ee=c(7704);Object.defineProperty(o,"concat",{enumerable:!0,get:function(){return ee.concat}});var J=c(8707);Object.defineProperty(o,"connectable",{enumerable:!0,get:function(){return J.connectable}});var j=c(1844);Object.defineProperty(o,"defer",{enumerable:!0,get:function(){return j.defer}});var G=c(8611);Object.defineProperty(o,"empty",{enumerable:!0,get:function(){return G.empty}});var Oe=c(148);Object.defineProperty(o,"forkJoin",{enumerable:!0,get:function(){return Oe.forkJoin}});var U=c(7149);Object.defineProperty(o,"from",{enumerable:!0,get:function(){return U.from}});var ae=c(1043);Object.defineProperty(o,"fromEvent",{enumerable:!0,get:function(){return ae.fromEvent}});var Ee=c(1460);Object.defineProperty(o,"fromEventPattern",{enumerable:!0,get:function(){return Ee.fromEventPattern}});var pe=c(7459);Object.defineProperty(o,"generate",{enumerable:!0,get:function(){return pe.generate}});var Ge=c(1575);Object.defineProperty(o,"iif",{enumerable:!0,get:function(){return Ge.iif}});var Be=c(630);Object.defineProperty(o,"interval",{enumerable:!0,get:function(){return Be.interval}});var xe=c(4052);Object.defineProperty(o,"merge",{enumerable:!0,get:function(){return xe.merge}});var at=c(8661);Object.defineProperty(o,"never",{enumerable:!0,get:function(){return at.never}});var ge=c(655);Object.defineProperty(o,"of",{enumerable:!0,get:function(){return ge.of}});var Me=c(8186);Object.defineProperty(o,"onErrorResumeNext",{enumerable:!0,get:function(){return Me.onErrorResumeNext}});var Ke=c(5887);Object.defineProperty(o,"pairs",{enumerable:!0,get:function(){return Ke.pairs}});var ye=c(127);Object.defineProperty(o,"partition",{enumerable:!0,get:function(){return ye.partition}});var ht=c(9867);Object.defineProperty(o,"race",{enumerable:!0,get:function(){return ht.race}});var gt=c(1173);Object.defineProperty(o,"range",{enumerable:!0,get:function(){return gt.range}});var qe=c(5931);Object.defineProperty(o,"throwError",{enumerable:!0,get:function(){return qe.throwError}});var Q=c(441);Object.defineProperty(o,"timer",{enumerable:!0,get:function(){return Q.timer}});var $e=c(7261);Object.defineProperty(o,"using",{enumerable:!0,get:function(){return $e.using}});var Ne=c(2323);Object.defineProperty(o,"zip",{enumerable:!0,get:function(){return Ne.zip}});var et=c(3881);Object.defineProperty(o,"scheduled",{enumerable:!0,get:function(){return et.scheduled}});var dt=c(8611);Object.defineProperty(o,"EMPTY",{enumerable:!0,get:function(){return dt.EMPTY}});var xt=c(8661);Object.defineProperty(o,"NEVER",{enumerable:!0,get:function(){return xt.NEVER}}),a(c(1728),o);var Nt=c(2528);Object.defineProperty(o,"config",{enumerable:!0,get:function(){return Nt.config}});var Qt=c(547);Object.defineProperty(o,"audit",{enumerable:!0,get:function(){return Qt.audit}});var Jt=c(5651);Object.defineProperty(o,"auditTime",{enumerable:!0,get:function(){return Jt.auditTime}});var en=c(4546);Object.defineProperty(o,"buffer",{enumerable:!0,get:function(){return en.buffer}});var pt=c(7865);Object.defineProperty(o,"bufferCount",{enumerable:!0,get:function(){return pt.bufferCount}});var vt=c(4567);Object.defineProperty(o,"bufferTime",{enumerable:!0,get:function(){return vt.bufferTime}});var Dt=c(8151);Object.defineProperty(o,"bufferToggle",{enumerable:!0,get:function(){return Dt.bufferToggle}});var Ve=c(5201);Object.defineProperty(o,"bufferWhen",{enumerable:!0,get:function(){return Ve.bufferWhen}});var se=c(5503);Object.defineProperty(o,"catchError",{enumerable:!0,get:function(){return se.catchError}});var Qe=c(8868);Object.defineProperty(o,"combineAll",{enumerable:!0,get:function(){return Qe.combineAll}});var wt=c(5638);Object.defineProperty(o,"combineLatestAll",{enumerable:!0,get:function(){return wt.combineLatestAll}});var Lt=c(7869);Object.defineProperty(o,"combineLatestWith",{enumerable:!0,get:function(){return Lt.combineLatestWith}});var Ut=c(7507);Object.defineProperty(o,"concatAll",{enumerable:!0,get:function(){return Ut.concatAll}});var rn=c(6118);Object.defineProperty(o,"concatMap",{enumerable:!0,get:function(){return rn.concatMap}});var fn=c(5505);Object.defineProperty(o,"concatMapTo",{enumerable:!0,get:function(){return fn.concatMapTo}});var vn=c(9451);Object.defineProperty(o,"concatWith",{enumerable:!0,get:function(){return vn.concatWith}});var Ct=c(1673);Object.defineProperty(o,"connect",{enumerable:!0,get:function(){return Ct.connect}});var it=c(745);Object.defineProperty(o,"count",{enumerable:!0,get:function(){return it.count}});var St=c(6799);Object.defineProperty(o,"debounce",{enumerable:!0,get:function(){return St.debounce}});var ze=c(6662);Object.defineProperty(o,"debounceTime",{enumerable:!0,get:function(){return ze.debounceTime}});var lt=c(9033);Object.defineProperty(o,"defaultIfEmpty",{enumerable:!0,get:function(){return lt.defaultIfEmpty}});var It=c(9908);Object.defineProperty(o,"delay",{enumerable:!0,get:function(){return It.delay}});var zt=c(2680);Object.defineProperty(o,"delayWhen",{enumerable:!0,get:function(){return zt.delayWhen}});var ut=c(7856);Object.defineProperty(o,"dematerialize",{enumerable:!0,get:function(){return ut.dematerialize}});var Xe=c(3506);Object.defineProperty(o,"distinct",{enumerable:!0,get:function(){return Xe.distinct}});var _e=c(9905);Object.defineProperty(o,"distinctUntilChanged",{enumerable:!0,get:function(){return _e.distinctUntilChanged}});var V=c(9745);Object.defineProperty(o,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return V.distinctUntilKeyChanged}});var ce=c(55);Object.defineProperty(o,"elementAt",{enumerable:!0,get:function(){return ce.elementAt}});var ie=c(4486);Object.defineProperty(o,"endWith",{enumerable:!0,get:function(){return ie.endWith}});var We=c(3595);Object.defineProperty(o,"every",{enumerable:!0,get:function(){return We.every}});var Pe=c(1222);Object.defineProperty(o,"exhaust",{enumerable:!0,get:function(){return Pe.exhaust}});var rt=c(5438);Object.defineProperty(o,"exhaustAll",{enumerable:!0,get:function(){return rt.exhaustAll}});var Tt=c(733);Object.defineProperty(o,"exhaustMap",{enumerable:!0,get:function(){return Tt.exhaustMap}});var ue=c(5006);Object.defineProperty(o,"expand",{enumerable:!0,get:function(){return ue.expand}});var Ae=c(4488);Object.defineProperty(o,"filter",{enumerable:!0,get:function(){return Ae.filter}});var bt=c(835);Object.defineProperty(o,"finalize",{enumerable:!0,get:function(){return bt.finalize}});var kt=c(6167);Object.defineProperty(o,"find",{enumerable:!0,get:function(){return kt.find}});var En=c(105);Object.defineProperty(o,"findIndex",{enumerable:!0,get:function(){return En.findIndex}});var un=c(531);Object.defineProperty(o,"first",{enumerable:!0,get:function(){return un.first}});var gn=c(7389);Object.defineProperty(o,"groupBy",{enumerable:!0,get:function(){return gn.groupBy}});var Ue=c(8228);Object.defineProperty(o,"ignoreElements",{enumerable:!0,get:function(){return Ue.ignoreElements}});var Fe=c(9185);Object.defineProperty(o,"isEmpty",{enumerable:!0,get:function(){return Fe.isEmpty}});var _t=c(3383);Object.defineProperty(o,"last",{enumerable:!0,get:function(){return _t.last}});var ft=c(5970);Object.defineProperty(o,"map",{enumerable:!0,get:function(){return ft.map}});var Ot=c(5901);Object.defineProperty(o,"mapTo",{enumerable:!0,get:function(){return Ot.mapTo}});var Pt=c(3136);Object.defineProperty(o,"materialize",{enumerable:!0,get:function(){return Pt.materialize}});var Yt=c(1027);Object.defineProperty(o,"max",{enumerable:!0,get:function(){return Yt.max}});var Gt=c(689);Object.defineProperty(o,"mergeAll",{enumerable:!0,get:function(){return Gt.mergeAll}});var tn=c(984);Object.defineProperty(o,"flatMap",{enumerable:!0,get:function(){return tn.flatMap}});var on=c(1049);Object.defineProperty(o,"mergeMap",{enumerable:!0,get:function(){return on.mergeMap}});var Pn=c(6191);Object.defineProperty(o,"mergeMapTo",{enumerable:!0,get:function(){return Pn.mergeMapTo}});var Hn=c(6439);Object.defineProperty(o,"mergeScan",{enumerable:!0,get:function(){return Hn.mergeScan}});var On=c(8821);Object.defineProperty(o,"mergeWith",{enumerable:!0,get:function(){return On.mergeWith}});var Gn=c(4147);Object.defineProperty(o,"min",{enumerable:!0,get:function(){return Gn.min}});var Kn=c(4290);Object.defineProperty(o,"multicast",{enumerable:!0,get:function(){return Kn.multicast}});var Nn=c(9512);Object.defineProperty(o,"observeOn",{enumerable:!0,get:function(){return Nn.observeOn}});var oe=c(4268);Object.defineProperty(o,"onErrorResumeNextWith",{enumerable:!0,get:function(){return oe.onErrorResumeNextWith}});var ve=c(4827);Object.defineProperty(o,"pairwise",{enumerable:!0,get:function(){return ve.pairwise}});var Le=c(4011);Object.defineProperty(o,"pluck",{enumerable:!0,get:function(){return Le.pluck}});var q=c(3693);Object.defineProperty(o,"publish",{enumerable:!0,get:function(){return q.publish}});var H=c(7465);Object.defineProperty(o,"publishBehavior",{enumerable:!0,get:function(){return H.publishBehavior}});var Re=c(5982);Object.defineProperty(o,"publishLast",{enumerable:!0,get:function(){return Re.publishLast}});var Ye=c(3121);Object.defineProperty(o,"publishReplay",{enumerable:!0,get:function(){return Ye.publishReplay}});var B=c(5413);Object.defineProperty(o,"raceWith",{enumerable:!0,get:function(){return B.raceWith}});var Ie=c(597);Object.defineProperty(o,"reduce",{enumerable:!0,get:function(){return Ie.reduce}});var Rt=c(2923);Object.defineProperty(o,"repeat",{enumerable:!0,get:function(){return Rt.repeat}});var jt=c(2806);Object.defineProperty(o,"repeatWhen",{enumerable:!0,get:function(){return jt.repeatWhen}});var bn=c(1017);Object.defineProperty(o,"retry",{enumerable:!0,get:function(){return bn.retry}});var Mn=c(3377);Object.defineProperty(o,"retryWhen",{enumerable:!0,get:function(){return Mn.retryWhen}});var Yn=c(8551);Object.defineProperty(o,"refCount",{enumerable:!0,get:function(){return Yn.refCount}});var Vn=c(8255);Object.defineProperty(o,"sample",{enumerable:!0,get:function(){return Vn.sample}});var Mi=c(941);Object.defineProperty(o,"sampleTime",{enumerable:!0,get:function(){return Mi.sampleTime}});var oi=c(4141);Object.defineProperty(o,"scan",{enumerable:!0,get:function(){return oi.scan}});var qi=c(5318);Object.defineProperty(o,"sequenceEqual",{enumerable:!0,get:function(){return qi.sequenceEqual}});var Ir=c(2905);Object.defineProperty(o,"share",{enumerable:!0,get:function(){return Ir.share}});var co=c(5940);Object.defineProperty(o,"shareReplay",{enumerable:!0,get:function(){return co.shareReplay}});var dr=c(1619);Object.defineProperty(o,"single",{enumerable:!0,get:function(){return dr.single}});var Lr=c(7605);Object.defineProperty(o,"skip",{enumerable:!0,get:function(){return Lr.skip}});var er=c(3106);Object.defineProperty(o,"skipLast",{enumerable:!0,get:function(){return er.skipLast}});var ur=c(7457);Object.defineProperty(o,"skipUntil",{enumerable:!0,get:function(){return ur.skipUntil}});var fr=c(676);Object.defineProperty(o,"skipWhile",{enumerable:!0,get:function(){return fr.skipWhile}});var Sn=c(6907);Object.defineProperty(o,"startWith",{enumerable:!0,get:function(){return Sn.startWith}});var Jn=c(8625);Object.defineProperty(o,"subscribeOn",{enumerable:!0,get:function(){return Jn.subscribeOn}});var qn=c(9311);Object.defineProperty(o,"switchAll",{enumerable:!0,get:function(){return qn.switchAll}});var tr=c(6180);Object.defineProperty(o,"switchMap",{enumerable:!0,get:function(){return tr.switchMap}});var ii=c(7235);Object.defineProperty(o,"switchMapTo",{enumerable:!0,get:function(){return ii.switchMapTo}});var Ar=c(2546);Object.defineProperty(o,"switchScan",{enumerable:!0,get:function(){return Ar.switchScan}});var nr=c(3007);Object.defineProperty(o,"take",{enumerable:!0,get:function(){return nr.take}});var hr=c(9747);Object.defineProperty(o,"takeLast",{enumerable:!0,get:function(){return hr.takeLast}});var mr=c(8325);Object.defineProperty(o,"takeUntil",{enumerable:!0,get:function(){return mr.takeUntil}});var Or=c(548);Object.defineProperty(o,"takeWhile",{enumerable:!0,get:function(){return Or.takeWhile}});var $n=c(3023);Object.defineProperty(o,"tap",{enumerable:!0,get:function(){return $n.tap}});var Zt=c(7635);Object.defineProperty(o,"throttle",{enumerable:!0,get:function(){return Zt.throttle}});var hn=c(2403);Object.defineProperty(o,"throttleTime",{enumerable:!0,get:function(){return hn.throttleTime}});var kn=c(909);Object.defineProperty(o,"throwIfEmpty",{enumerable:!0,get:function(){return kn.throwIfEmpty}});var _i=c(5892);Object.defineProperty(o,"timeInterval",{enumerable:!0,get:function(){return _i.timeInterval}});var Oi=c(6406);Object.defineProperty(o,"timeout",{enumerable:!0,get:function(){return Oi.timeout}});var si=c(6348);Object.defineProperty(o,"timeoutWith",{enumerable:!0,get:function(){return si.timeoutWith}});var Ui=c(9010);Object.defineProperty(o,"timestamp",{enumerable:!0,get:function(){return Ui.timestamp}});var Un=c(2341);Object.defineProperty(o,"toArray",{enumerable:!0,get:function(){return Un.toArray}});var Xn=c(1176);Object.defineProperty(o,"window",{enumerable:!0,get:function(){return Xn.window}});var Li=c(6193);Object.defineProperty(o,"windowCount",{enumerable:!0,get:function(){return Li.windowCount}});var sn=c(2642);Object.defineProperty(o,"windowTime",{enumerable:!0,get:function(){return sn.windowTime}});var ji=c(8036);Object.defineProperty(o,"windowToggle",{enumerable:!0,get:function(){return ji.windowToggle}});var yr=c(1624);Object.defineProperty(o,"windowWhen",{enumerable:!0,get:function(){return yr.windowWhen}});var zi=c(3725);Object.defineProperty(o,"withLatestFrom",{enumerable:!0,get:function(){return zi.withLatestFrom}});var Rn=c(378);Object.defineProperty(o,"zipAll",{enumerable:!0,get:function(){return Rn.zipAll}});var pr=c(9952);Object.defineProperty(o,"zipWith",{enumerable:!0,get:function(){return pr.zipWith}})},2562:function(Z,o,c){"use strict";var m,n=this&&this.__extends||(m=function(s,d){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,p){u.__proto__=p}||function(u,p){for(var v in p)Object.prototype.hasOwnProperty.call(p,v)&&(u[v]=p[v])})(s,d)},function(s,d){if("function"!=typeof d&&null!==d)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");function u(){this.constructor=s}m(s,d),s.prototype=null===d?Object.create(d):(u.prototype=d.prototype,new u)});Object.defineProperty(o,"__esModule",{value:!0}),o.AsyncSubject=void 0;var g=function(m){function s(){var d=null!==m&&m.apply(this,arguments)||this;return d._value=null,d._hasValue=!1,d._isComplete=!1,d}return n(s,m),s.prototype._checkFinalizedStatuses=function(d){var u=this,v=u._hasValue,f=u._value,b=u.isStopped,_=u._isComplete;u.hasError?d.error(u.thrownError):(b||_)&&(v&&d.next(f),d.complete())},s.prototype.next=function(d){this.isStopped||(this._value=d,this._hasValue=!0)},s.prototype.complete=function(){var d=this,u=d._hasValue,p=d._value;d._isComplete||(this._isComplete=!0,u&&m.prototype.next.call(this,p),m.prototype.complete.call(this))},s}(c(3653).Subject);o.AsyncSubject=g},1552:function(Z,o,c){"use strict";var m,n=this&&this.__extends||(m=function(s,d){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,p){u.__proto__=p}||function(u,p){for(var v in p)Object.prototype.hasOwnProperty.call(p,v)&&(u[v]=p[v])})(s,d)},function(s,d){if("function"!=typeof d&&null!==d)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");function u(){this.constructor=s}m(s,d),s.prototype=null===d?Object.create(d):(u.prototype=d.prototype,new u)});Object.defineProperty(o,"__esModule",{value:!0}),o.BehaviorSubject=void 0;var g=function(m){function s(d){var u=m.call(this)||this;return u._value=d,u}return n(s,m),Object.defineProperty(s.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),s.prototype._subscribe=function(d){var u=m.prototype._subscribe.call(this,d);return!u.closed&&d.next(this._value),u},s.prototype.getValue=function(){var d=this,v=d._value;if(d.hasError)throw d.thrownError;return this._throwIfClosed(),v},s.prototype.next=function(d){m.prototype.next.call(this,this._value=d)},s}(c(3653).Subject);o.BehaviorSubject=g},9988:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.observeNotification=o.Notification=o.NotificationKind=void 0;var p,n=c(8611),a=c(655),g=c(5931),m=c(1860);(p=o.NotificationKind||(o.NotificationKind={})).NEXT="N",p.ERROR="E",p.COMPLETE="C";var d=function(){function p(v,f,y){this.kind=v,this.value=f,this.error=y,this.hasValue="N"===v}return p.prototype.observe=function(v){return u(this,v)},p.prototype.do=function(v,f,y){var b=this,_=b.kind,w=b.value,A=b.error;return"N"===_?v?.(w):"E"===_?f?.(A):y?.()},p.prototype.accept=function(v,f,y){var b;return m.isFunction(null===(b=v)||void 0===b?void 0:b.next)?this.observe(v):this.do(v,f,y)},p.prototype.toObservable=function(){var v=this,f=v.kind,b=v.error,_="N"===f?a.of(v.value):"E"===f?g.throwError(function(){return b}):"C"===f?n.EMPTY:0;if(!_)throw new TypeError("Unexpected notification kind "+f);return _},p.createNext=function(v){return new p("N",v)},p.createError=function(v){return new p("E",void 0,v)},p.createComplete=function(){return p.completeNotification},p.completeNotification=new p("C"),p}();function u(p,v){var f,y,b,w=p.kind,A=p.value,R=p.error;if("string"!=typeof w)throw new TypeError('Invalid notification, missing "kind"');"N"===w?null===(f=v.next)||void 0===f||f.call(v,A):"E"===w?null===(y=v.error)||void 0===y||y.call(v,R):null===(b=v.complete)||void 0===b||b.call(v)}o.Notification=d,o.observeNotification=u},9642:(Z,o)=>{"use strict";function a(g,m,s){return{kind:g,value:m,error:s}}Object.defineProperty(o,"__esModule",{value:!0}),o.createNotification=o.nextNotification=o.errorNotification=o.COMPLETE_NOTIFICATION=void 0,o.COMPLETE_NOTIFICATION=a("C",void 0,void 0),o.errorNotification=function c(g){return a("E",void 0,g)},o.nextNotification=function n(g){return a("N",g,void 0)},o.createNotification=a},7072:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.Observable=void 0;var n=c(7032),a=c(642),g=c(2289),m=c(3776),s=c(2528),d=c(1860),u=c(7525),p=function(){function b(_){_&&(this._subscribe=_)}return b.prototype.lift=function(_){var w=new b;return w.source=this,w.operator=_,w},b.prototype.subscribe=function(_,w,A){var R=this,M=function y(b){return b&&b instanceof n.Subscriber||function f(b){return b&&d.isFunction(b.next)&&d.isFunction(b.error)&&d.isFunction(b.complete)}(b)&&a.isSubscription(b)}(_)?_:new n.SafeSubscriber(_,w,A);return u.errorContext(function(){var $=R.operator,ne=R.source;M.add($?$.call(M,ne):ne?R._subscribe(M):R._trySubscribe(M))}),M},b.prototype._trySubscribe=function(_){try{return this._subscribe(_)}catch(w){_.error(w)}},b.prototype.forEach=function(_,w){var A=this;return new(w=v(w))(function(R,M){var Y=new n.SafeSubscriber({next:function($){try{_($)}catch(ne){M(ne),Y.unsubscribe()}},error:M,complete:R});A.subscribe(Y)})},b.prototype._subscribe=function(_){var w;return null===(w=this.source)||void 0===w?void 0:w.subscribe(_)},b.prototype[g.observable]=function(){return this},b.prototype.pipe=function(){for(var _=[],w=0;w<arguments.length;w++)_[w]=arguments[w];return m.pipeFromArray(_)(this)},b.prototype.toPromise=function(_){var w=this;return new(_=v(_))(function(A,R){var M;w.subscribe(function(Y){return M=Y},function(Y){return R(Y)},function(){return A(M)})})},b.create=function(_){return new b(_)},b}();function v(b){var _;return null!==(_=b??s.config.Promise)&&void 0!==_?_:Promise}o.Observable=p},4098:function(Z,o,c){"use strict";var s,n=this&&this.__extends||(s=function(d,u){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,v){p.__proto__=v}||function(p,v){for(var f in v)Object.prototype.hasOwnProperty.call(v,f)&&(p[f]=v[f])})(d,u)},function(d,u){if("function"!=typeof u&&null!==u)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");function p(){this.constructor=d}s(d,u),d.prototype=null===u?Object.create(u):(p.prototype=u.prototype,new p)});Object.defineProperty(o,"__esModule",{value:!0}),o.ReplaySubject=void 0;var a=c(3653),g=c(1937),m=function(s){function d(u,p,v){void 0===u&&(u=1/0),void 0===p&&(p=1/0),void 0===v&&(v=g.dateTimestampProvider);var f=s.call(this)||this;return f._bufferSize=u,f._windowTime=p,f._timestampProvider=v,f._buffer=[],f._infiniteTimeWindow=!0,f._infiniteTimeWindow=p===1/0,f._bufferSize=Math.max(1,u),f._windowTime=Math.max(1,p),f}return n(d,s),d.prototype.next=function(u){var p=this,f=p._buffer,y=p._infiniteTimeWindow,b=p._timestampProvider,_=p._windowTime;p.isStopped||(f.push(u),!y&&f.push(b.now()+_)),this._trimBuffer(),s.prototype.next.call(this,u)},d.prototype._subscribe=function(u){this._throwIfClosed(),this._trimBuffer();for(var p=this._innerSubscribe(u),f=this._infiniteTimeWindow,b=this._buffer.slice(),_=0;_<b.length&&!u.closed;_+=f?1:2)u.next(b[_]);return this._checkFinalizedStatuses(u),p},d.prototype._trimBuffer=function(){var u=this,p=u._bufferSize,v=u._timestampProvider,f=u._buffer,y=u._infiniteTimeWindow,b=(y?1:2)*p;if(p<1/0&&b<f.length&&f.splice(0,f.length-b),!y){for(var _=v.now(),w=0,A=1;A<f.length&&f[A]<=_;A+=2)w=A;w&&f.splice(0,w+1)}},d}(a.Subject);o.ReplaySubject=m},4283:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.Scheduler=void 0;var n=c(1937),a=function(){function g(m,s){void 0===s&&(s=g.now),this.schedulerActionCtor=m,this.now=s}return g.prototype.schedule=function(m,s,d){return void 0===s&&(s=0),new this.schedulerActionCtor(this,m).schedule(d,s)},g.now=n.dateTimestampProvider.now,g}();o.Scheduler=a},3653:function(Z,o,c){"use strict";var f,n=this&&this.__extends||(f=function(y,b){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,w){_.__proto__=w}||function(_,w){for(var A in w)Object.prototype.hasOwnProperty.call(w,A)&&(_[A]=w[A])})(y,b)},function(y,b){if("function"!=typeof b&&null!==b)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");function _(){this.constructor=y}f(y,b),y.prototype=null===b?Object.create(b):(_.prototype=b.prototype,new _)}),a=this&&this.__values||function(f){var y="function"==typeof Symbol&&Symbol.iterator,b=y&&f[y],_=0;if(b)return b.call(f);if(f&&"number"==typeof f.length)return{next:function(){return f&&_>=f.length&&(f=void 0),{value:f&&f[_++],done:!f}}};throw new TypeError(y?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0}),o.AnonymousSubject=o.Subject=void 0;var g=c(7072),m=c(642),s=c(5499),d=c(4615),u=c(7525),p=function(f){function y(){var b=f.call(this)||this;return b.closed=!1,b.currentObservers=null,b.observers=[],b.isStopped=!1,b.hasError=!1,b.thrownError=null,b}return n(y,f),y.prototype.lift=function(b){var _=new v(this,this);return _.operator=b,_},y.prototype._throwIfClosed=function(){if(this.closed)throw new s.ObjectUnsubscribedError},y.prototype.next=function(b){var _=this;u.errorContext(function(){var w,A;if(_._throwIfClosed(),!_.isStopped){_.currentObservers||(_.currentObservers=Array.from(_.observers));try{for(var R=a(_.currentObservers),M=R.next();!M.done;M=R.next())M.value.next(b)}catch($){w={error:$}}finally{try{M&&!M.done&&(A=R.return)&&A.call(R)}finally{if(w)throw w.error}}}})},y.prototype.error=function(b){var _=this;u.errorContext(function(){if(_._throwIfClosed(),!_.isStopped){_.hasError=_.isStopped=!0,_.thrownError=b;for(var w=_.observers;w.length;)w.shift().error(b)}})},y.prototype.complete=function(){var b=this;u.errorContext(function(){if(b._throwIfClosed(),!b.isStopped){b.isStopped=!0;for(var _=b.observers;_.length;)_.shift().complete()}})},y.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(y.prototype,"observed",{get:function(){var b;return(null===(b=this.observers)||void 0===b?void 0:b.length)>0},enumerable:!1,configurable:!0}),y.prototype._trySubscribe=function(b){return this._throwIfClosed(),f.prototype._trySubscribe.call(this,b)},y.prototype._subscribe=function(b){return this._throwIfClosed(),this._checkFinalizedStatuses(b),this._innerSubscribe(b)},y.prototype._innerSubscribe=function(b){var _=this,w=this,M=w.observers;return w.hasError||w.isStopped?m.EMPTY_SUBSCRIPTION:(this.currentObservers=null,M.push(b),new m.Subscription(function(){_.currentObservers=null,d.arrRemove(M,b)}))},y.prototype._checkFinalizedStatuses=function(b){var _=this,R=_.isStopped;_.hasError?b.error(_.thrownError):R&&b.complete()},y.prototype.asObservable=function(){var b=new g.Observable;return b.source=this,b},y.create=function(b,_){return new v(b,_)},y}(g.Observable);o.Subject=p;var v=function(f){function y(b,_){var w=f.call(this)||this;return w.destination=b,w.source=_,w}return n(y,f),y.prototype.next=function(b){var _,w;null===(w=null===(_=this.destination)||void 0===_?void 0:_.next)||void 0===w||w.call(_,b)},y.prototype.error=function(b){var _,w;null===(w=null===(_=this.destination)||void 0===_?void 0:_.error)||void 0===w||w.call(_,b)},y.prototype.complete=function(){var b,_;null===(_=null===(b=this.destination)||void 0===b?void 0:b.complete)||void 0===_||_.call(b)},y.prototype._subscribe=function(b){var _,w;return null!==(w=null===(_=this.source)||void 0===_?void 0:_.subscribe(b))&&void 0!==w?w:m.EMPTY_SUBSCRIPTION},y}(p);o.AnonymousSubject=v},7032:function(Z,o,c){"use strict";var Y,n=this&&this.__extends||(Y=function($,ne){return(Y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(z,K){z.__proto__=K}||function(z,K){for(var de in K)Object.prototype.hasOwnProperty.call(K,de)&&(z[de]=K[de])})($,ne)},function($,ne){if("function"!=typeof ne&&null!==ne)throw new TypeError("Class extends value "+String(ne)+" is not a constructor or null");function z(){this.constructor=$}Y($,ne),$.prototype=null===ne?Object.create(ne):(z.prototype=ne.prototype,new z)});Object.defineProperty(o,"__esModule",{value:!0}),o.EMPTY_OBSERVER=o.SafeSubscriber=o.Subscriber=void 0;var a=c(1860),g=c(642),m=c(2528),s=c(9166),d=c(6048),u=c(9642),p=c(3410),v=c(7525),f=function(Y){function $(ne){var z=Y.call(this)||this;return z.isStopped=!1,ne?(z.destination=ne,g.isSubscription(ne)&&ne.add(z)):z.destination=o.EMPTY_OBSERVER,z}return n($,Y),$.create=function(ne,z,K){return new w(ne,z,K)},$.prototype.next=function(ne){this.isStopped?M(u.nextNotification(ne),this):this._next(ne)},$.prototype.error=function(ne){this.isStopped?M(u.errorNotification(ne),this):(this.isStopped=!0,this._error(ne))},$.prototype.complete=function(){this.isStopped?M(u.COMPLETE_NOTIFICATION,this):(this.isStopped=!0,this._complete())},$.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Y.prototype.unsubscribe.call(this),this.destination=null)},$.prototype._next=function(ne){this.destination.next(ne)},$.prototype._error=function(ne){try{this.destination.error(ne)}finally{this.unsubscribe()}},$.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},$}(g.Subscription);o.Subscriber=f;var y=Function.prototype.bind;function b(Y,$){return y.call(Y,$)}var _=function(){function Y($){this.partialObserver=$}return Y.prototype.next=function($){var ne=this.partialObserver;if(ne.next)try{ne.next($)}catch(z){A(z)}},Y.prototype.error=function($){var ne=this.partialObserver;if(ne.error)try{ne.error($)}catch(z){A(z)}else A($)},Y.prototype.complete=function(){var $=this.partialObserver;if($.complete)try{$.complete()}catch(ne){A(ne)}},Y}(),w=function(Y){function $(ne,z,K){var X,fe,de=Y.call(this)||this;return a.isFunction(ne)||!ne?X={next:ne??void 0,error:z??void 0,complete:K??void 0}:de&&m.config.useDeprecatedNextContext?((fe=Object.create(ne)).unsubscribe=function(){return de.unsubscribe()},X={next:ne.next&&b(ne.next,fe),error:ne.error&&b(ne.error,fe),complete:ne.complete&&b(ne.complete,fe)}):X=ne,de.destination=new _(X),de}return n($,Y),$}(f);function A(Y){m.config.useDeprecatedSynchronousErrorHandling?v.captureError(Y):s.reportUnhandledError(Y)}function M(Y,$){var ne=m.config.onStoppedNotification;ne&&p.timeoutProvider.setTimeout(function(){return ne(Y,$)})}o.SafeSubscriber=w,o.EMPTY_OBSERVER={closed:!0,next:d.noop,error:function R(Y){throw Y},complete:d.noop}},642:function(Z,o,c){"use strict";var n=this&&this.__values||function(f){var y="function"==typeof Symbol&&Symbol.iterator,b=y&&f[y],_=0;if(b)return b.call(f);if(f&&"number"==typeof f.length)return{next:function(){return f&&_>=f.length&&(f=void 0),{value:f&&f[_++],done:!f}}};throw new TypeError(y?"Object is not iterable.":"Symbol.iterator is not defined.")},a=this&&this.__read||function(f,y){var b="function"==typeof Symbol&&f[Symbol.iterator];if(!b)return f;var w,R,_=b.call(f),A=[];try{for(;(void 0===y||y-- >0)&&!(w=_.next()).done;)A.push(w.value)}catch(M){R={error:M}}finally{try{w&&!w.done&&(b=_.return)&&b.call(_)}finally{if(R)throw R.error}}return A},g=this&&this.__spreadArray||function(f,y){for(var b=0,_=y.length,w=f.length;b<_;b++,w++)f[w]=y[b];return f};Object.defineProperty(o,"__esModule",{value:!0}),o.isSubscription=o.EMPTY_SUBSCRIPTION=o.Subscription=void 0;var m=c(1860),s=c(1490),d=c(4615),u=function(){function f(y){this.initialTeardown=y,this.closed=!1,this._parentage=null,this._finalizers=null}return f.prototype.unsubscribe=function(){var y,b,_,w,A;if(!this.closed){this.closed=!0;var R=this._parentage;if(R)if(this._parentage=null,Array.isArray(R))try{for(var M=n(R),Y=M.next();!Y.done;Y=M.next())Y.value.remove(this)}catch(fe){y={error:fe}}finally{try{Y&&!Y.done&&(b=M.return)&&b.call(M)}finally{if(y)throw y.error}}else R.remove(this);var ne=this.initialTeardown;if(m.isFunction(ne))try{ne()}catch(fe){A=fe instanceof s.UnsubscriptionError?fe.errors:[fe]}var z=this._finalizers;if(z){this._finalizers=null;try{for(var K=n(z),de=K.next();!de.done;de=K.next()){var X=de.value;try{v(X)}catch(fe){A=A??[],fe instanceof s.UnsubscriptionError?A=g(g([],a(A)),a(fe.errors)):A.push(fe)}}}catch(fe){_={error:fe}}finally{try{de&&!de.done&&(w=K.return)&&w.call(K)}finally{if(_)throw _.error}}}if(A)throw new s.UnsubscriptionError(A)}},f.prototype.add=function(y){var b;if(y&&y!==this)if(this.closed)v(y);else{if(y instanceof f){if(y.closed||y._hasParent(this))return;y._addParent(this)}(this._finalizers=null!==(b=this._finalizers)&&void 0!==b?b:[]).push(y)}},f.prototype._hasParent=function(y){var b=this._parentage;return b===y||Array.isArray(b)&&b.includes(y)},f.prototype._addParent=function(y){var b=this._parentage;this._parentage=Array.isArray(b)?(b.push(y),b):b?[b,y]:y},f.prototype._removeParent=function(y){var b=this._parentage;b===y?this._parentage=null:Array.isArray(b)&&d.arrRemove(b,y)},f.prototype.remove=function(y){var b=this._finalizers;b&&d.arrRemove(b,y),y instanceof f&&y._removeParent(this)},f.EMPTY=((y=new f).closed=!0,y),f;var y}();function v(f){m.isFunction(f)?f():f.unsubscribe()}o.Subscription=u,o.EMPTY_SUBSCRIPTION=u.EMPTY,o.isSubscription=function p(f){return f instanceof u||f&&"closed"in f&&m.isFunction(f.remove)&&m.isFunction(f.add)&&m.isFunction(f.unsubscribe)}},2528:(Z,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}},3133:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.firstValueFrom=void 0;var n=c(6159),a=c(7032);o.firstValueFrom=function g(m,s){var d="object"==typeof s;return new Promise(function(u,p){var v=new a.SafeSubscriber({next:function(f){u(f),v.unsubscribe()},error:p,complete:function(){d?u(s.defaultValue):p(new n.EmptyError)}});m.subscribe(v)})}},7632:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.lastValueFrom=void 0;var n=c(6159);o.lastValueFrom=function a(g,m){var s="object"==typeof m;return new Promise(function(d,u){var v,p=!1;g.subscribe({next:function(f){v=f,p=!0},error:u,complete:function(){p?d(v):s?d(m.defaultValue):u(new n.EmptyError)}})})}},8840:function(Z,o,c){"use strict";var p,n=this&&this.__extends||(p=function(v,f){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,b){y.__proto__=b}||function(y,b){for(var _ in b)Object.prototype.hasOwnProperty.call(b,_)&&(y[_]=b[_])})(v,f)},function(v,f){if("function"!=typeof f&&null!==f)throw new TypeError("Class extends value "+String(f)+" is not a constructor or null");function y(){this.constructor=v}p(v,f),v.prototype=null===f?Object.create(f):(y.prototype=f.prototype,new y)});Object.defineProperty(o,"__esModule",{value:!0}),o.ConnectableObservable=void 0;var a=c(7072),g=c(642),m=c(8551),s=c(3922),d=c(5145),u=function(p){function v(f,y){var b=p.call(this)||this;return b.source=f,b.subjectFactory=y,b._subject=null,b._refCount=0,b._connection=null,d.hasLift(f)&&(b.lift=f.lift),b}return n(v,p),v.prototype._subscribe=function(f){return this.getSubject().subscribe(f)},v.prototype.getSubject=function(){var f=this._subject;return(!f||f.isStopped)&&(this._subject=this.subjectFactory()),this._subject},v.prototype._teardown=function(){this._refCount=0;var f=this._connection;this._subject=this._connection=null,f?.unsubscribe()},v.prototype.connect=function(){var f=this,y=this._connection;if(!y){y=this._connection=new g.Subscription;var b=this.getSubject();y.add(this.source.subscribe(s.createOperatorSubscriber(b,void 0,function(){f._teardown(),b.complete()},function(_){f._teardown(),b.error(_)},function(){return f._teardown()}))),y.closed&&(this._connection=null,y=g.Subscription.EMPTY)}return y},v.prototype.refCount=function(){return m.refCount()(this)},v}(a.Observable);o.ConnectableObservable=u},2344:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.bindCallback=void 0;var n=c(7204);o.bindCallback=function a(g,m,s){return n.bindCallbackInternals(!1,g,m,s)}},7204:function(Z,o,c){"use strict";var n=this&&this.__read||function(f,y){var b="function"==typeof Symbol&&f[Symbol.iterator];if(!b)return f;var w,R,_=b.call(f),A=[];try{for(;(void 0===y||y-- >0)&&!(w=_.next()).done;)A.push(w.value)}catch(M){R={error:M}}finally{try{w&&!w.done&&(b=_.return)&&b.call(_)}finally{if(R)throw R.error}}return A},a=this&&this.__spreadArray||function(f,y){for(var b=0,_=y.length,w=f.length;b<_;b++,w++)f[w]=y[b];return f};Object.defineProperty(o,"__esModule",{value:!0}),o.bindCallbackInternals=void 0;var g=c(1832),m=c(7072),s=c(8625),d=c(9349),u=c(9512),p=c(2562);o.bindCallbackInternals=function v(f,y,b,_){if(b){if(!g.isScheduler(b))return function(){for(var w=[],A=0;A<arguments.length;A++)w[A]=arguments[A];return v(f,y,_).apply(this,w).pipe(d.mapOneOrManyArgs(b))};_=b}return _?function(){for(var w=[],A=0;A<arguments.length;A++)w[A]=arguments[A];return v(f,y).apply(this,w).pipe(s.subscribeOn(_),u.observeOn(_))}:function(){for(var w=this,A=[],R=0;R<arguments.length;R++)A[R]=arguments[R];var M=new p.AsyncSubject,Y=!0;return new m.Observable(function($){var ne=M.subscribe($);if(Y){Y=!1;var z=!1,K=!1;y.apply(w,a(a([],n(A)),[function(){for(var de=[],X=0;X<arguments.length;X++)de[X]=arguments[X];if(f){var fe=de.shift();if(null!=fe)return void M.error(fe)}M.next(1<de.length?de:de[0]),K=!0,z&&M.complete()}])),K&&M.complete(),z=!0}return ne})}}},8991:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.bindNodeCallback=void 0;var n=c(7204);o.bindNodeCallback=function a(g,m,s){return n.bindCallbackInternals(!0,g,m,s)}},8250:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.combineLatestInit=o.combineLatest=void 0;var n=c(7072),a=c(9422),g=c(7149),m=c(7288),s=c(9349),d=c(160),u=c(604),p=c(3922),v=c(7642);function y(_,w,A){return void 0===A&&(A=m.identity),function(R){b(w,function(){for(var M=_.length,Y=new Array(M),$=M,ne=M,z=function(de){b(w,function(){var X=g.from(_[de],w),fe=!1;X.subscribe(p.createOperatorSubscriber(R,function(he){Y[de]=he,fe||(fe=!0,ne--),ne||R.next(A(Y.slice()))},function(){--$||R.complete()}))},R)},K=0;K<M;K++)z(K)},R)}}function b(_,w,A){_?v.executeSchedule(A,_,w):w()}o.combineLatest=function f(){for(var _=[],w=0;w<arguments.length;w++)_[w]=arguments[w];var A=d.popScheduler(_),R=d.popResultSelector(_),M=a.argsArgArrayOrObject(_),Y=M.args,$=M.keys;if(0===Y.length)return g.from([],A);var ne=new n.Observable(y(Y,A,$?function(z){return u.createObject($,z)}:m.identity));return R?ne.pipe(s.mapOneOrManyArgs(R)):ne},o.combineLatestInit=y},7704:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.concat=void 0;var n=c(7507),a=c(160),g=c(7149);o.concat=function m(){for(var s=[],d=0;d<arguments.length;d++)s[d]=arguments[d];return n.concatAll()(g.from(s,a.popScheduler(s)))}},8707:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.connectable=void 0;var n=c(3653),a=c(7072),g=c(1844),m={connector:function(){return new n.Subject},resetOnDisconnect:!0};o.connectable=function s(d,u){void 0===u&&(u=m);var p=null,v=u.connector,f=u.resetOnDisconnect,y=void 0===f||f,b=v(),_=new a.Observable(function(w){return b.subscribe(w)});return _.connect=function(){return(!p||p.closed)&&(p=g.defer(function(){return d}).subscribe(b),y&&p.add(function(){return b=v()})),p},_}},1844:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.defer=void 0;var n=c(7072),a=c(7186);o.defer=function g(m){return new n.Observable(function(s){a.innerFrom(m()).subscribe(s)})}},2505:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.animationFrames=void 0;var n=c(7072),a=c(9118),g=c(8601);function s(u){return new n.Observable(function(p){var v=u||a.performanceTimestampProvider,f=v.now(),y=0,b=function(){p.closed||(y=g.animationFrameProvider.requestAnimationFrame(function(_){y=0;var w=v.now();p.next({timestamp:u?w:_,elapsed:w-f}),b()}))};return b(),function(){y&&g.animationFrameProvider.cancelAnimationFrame(y)}})}o.animationFrames=function m(u){return u?s(u):d};var d=s()},8611:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.empty=o.EMPTY=void 0;var n=c(7072);o.EMPTY=new n.Observable(function(m){return m.complete()}),o.empty=function a(m){return m?function g(m){return new n.Observable(function(s){return m.schedule(function(){return s.complete()})})}(m):o.EMPTY}},148:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.forkJoin=void 0;var n=c(7072),a=c(9422),g=c(7186),m=c(160),s=c(3922),d=c(9349),u=c(604);o.forkJoin=function p(){for(var v=[],f=0;f<arguments.length;f++)v[f]=arguments[f];var y=m.popResultSelector(v),b=a.argsArgArrayOrObject(v),_=b.args,w=b.keys,A=new n.Observable(function(R){var M=_.length;if(M)for(var Y=new Array(M),$=M,ne=M,z=function(de){var X=!1;g.innerFrom(_[de]).subscribe(s.createOperatorSubscriber(R,function(fe){X||(X=!0,ne--),Y[de]=fe},function(){return $--},void 0,function(){(!$||!X)&&(ne||R.next(w?u.createObject(w,Y):Y),R.complete())}))},K=0;K<M;K++)z(K);else R.complete()});return y?A.pipe(d.mapOneOrManyArgs(y)):A}},7149:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.from=void 0;var n=c(3881),a=c(7186);o.from=function g(m,s){return s?n.scheduled(m,s):a.innerFrom(m)}},1043:function(Z,o,c){"use strict";var n=this&&this.__read||function(R,M){var Y="function"==typeof Symbol&&R[Symbol.iterator];if(!Y)return R;var ne,K,$=Y.call(R),z=[];try{for(;(void 0===M||M-- >0)&&!(ne=$.next()).done;)z.push(ne.value)}catch(de){K={error:de}}finally{try{ne&&!ne.done&&(Y=$.return)&&Y.call($)}finally{if(K)throw K.error}}return z};Object.defineProperty(o,"__esModule",{value:!0}),o.fromEvent=void 0;var a=c(7186),g=c(7072),m=c(1049),s=c(1692),d=c(1860),u=c(9349),p=["addListener","removeListener"],v=["addEventListener","removeEventListener"],f=["on","off"];function b(R,M){return function(Y){return function($){return R[Y](M,$)}}}o.fromEvent=function y(R,M,Y,$){if(d.isFunction(Y)&&($=Y,Y=void 0),$)return y(R,M,Y).pipe(u.mapOneOrManyArgs($));var ne=n(function A(R){return d.isFunction(R.addEventListener)&&d.isFunction(R.removeEventListener)}(R)?v.map(function(de){return function(X){return R[de](M,X,Y)}}):function _(R){return d.isFunction(R.addListener)&&d.isFunction(R.removeListener)}(R)?p.map(b(R,M)):function w(R){return d.isFunction(R.on)&&d.isFunction(R.off)}(R)?f.map(b(R,M)):[],2),z=ne[0],K=ne[1];if(!z&&s.isArrayLike(R))return m.mergeMap(function(de){return y(de,M,Y)})(a.innerFrom(R));if(!z)throw new TypeError("Invalid event target");return new g.Observable(function(de){var X=function(){for(var fe=[],he=0;he<arguments.length;he++)fe[he]=arguments[he];return de.next(1<fe.length?fe:fe[0])};return z(X),function(){return K(X)}})}},1460:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.fromEventPattern=void 0;var n=c(7072),a=c(1860),g=c(9349);o.fromEventPattern=function m(s,d,u){return u?m(s,d).pipe(g.mapOneOrManyArgs(u)):new n.Observable(function(p){var v=function(){for(var y=[],b=0;b<arguments.length;b++)y[b]=arguments[b];return p.next(1===y.length?y[0]:y)},f=s(v);return a.isFunction(d)?function(){return d(v,f)}:void 0})}},8465:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.fromSubscribable=void 0;var n=c(7072);o.fromSubscribable=function a(g){return new n.Observable(function(m){return g.subscribe(m)})}},7459:function(Z,o,c){"use strict";var n=this&&this.__generator||function(u,p){var f,y,b,_,v={label:0,sent:function(){if(1&b[0])throw b[1];return b[1]},trys:[],ops:[]};return _={next:w(0),throw:w(1),return:w(2)},"function"==typeof Symbol&&(_[Symbol.iterator]=function(){return this}),_;function w(R){return function(M){return function A(R){if(f)throw new TypeError("Generator is already executing.");for(;v;)try{if(f=1,y&&(b=2&R[0]?y.return:R[0]?y.throw||((b=y.return)&&b.call(y),0):y.next)&&!(b=b.call(y,R[1])).done)return b;switch(y=0,b&&(R=[2&R[0],b.value]),R[0]){case 0:case 1:b=R;break;case 4:return v.label++,{value:R[1],done:!1};case 5:v.label++,y=R[1],R=[0];continue;case 7:R=v.ops.pop(),v.trys.pop();continue;default:if(!(b=(b=v.trys).length>0&&b[b.length-1])&&(6===R[0]||2===R[0])){v=0;continue}if(3===R[0]&&(!b||R[1]>b[0]&&R[1]<b[3])){v.label=R[1];break}if(6===R[0]&&v.label<b[1]){v.label=b[1],b=R;break}if(b&&v.label<b[2]){v.label=b[2],v.ops.push(R);break}b[2]&&v.ops.pop(),v.trys.pop();continue}R=p.call(u,v)}catch(M){R=[6,M],y=0}finally{f=b=0}if(5&R[0])throw R[1];return{value:R[0]?R[1]:void 0,done:!0}}([R,M])}}};Object.defineProperty(o,"__esModule",{value:!0}),o.generate=void 0;var a=c(7288),g=c(1832),m=c(1844),s=c(4017);o.generate=function d(u,p,v,f,y){var b,_,w,A;function R(){var M;return n(this,function(Y){switch(Y.label){case 0:M=A,Y.label=1;case 1:return!p||p(M)?[4,w(M)]:[3,4];case 2:Y.sent(),Y.label=3;case 3:return M=v(M),[3,1];case 4:return[2]}})}return 1===arguments.length?(A=(b=u).initialState,p=b.condition,v=b.iterate,w=void 0===(_=b.resultSelector)?a.identity:_,y=b.scheduler):(A=u,!f||g.isScheduler(f)?(w=a.identity,y=f):w=f),m.defer(y?function(){return s.scheduleIterable(R(),y)}:R)}},1575:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.iif=void 0;var n=c(1844);o.iif=function a(g,m,s){return n.defer(function(){return g()?m:s})}},7186:function(Z,o,c){"use strict";var n=this&&this.__awaiter||function(X,fe,he,ot){return new(he||(he=Promise))(function(tt,nt){function Se(W){try{st(ot.next(W))}catch(Ce){nt(Ce)}}function Ze(W){try{st(ot.throw(W))}catch(Ce){nt(Ce)}}function st(W){W.done?tt(W.value):function we(tt){return tt instanceof he?tt:new he(function(nt){nt(tt)})}(W.value).then(Se,Ze)}st((ot=ot.apply(X,fe||[])).next())})},a=this&&this.__generator||function(X,fe){var ot,we,tt,nt,he={label:0,sent:function(){if(1&tt[0])throw tt[1];return tt[1]},trys:[],ops:[]};return nt={next:Se(0),throw:Se(1),return:Se(2)},"function"==typeof Symbol&&(nt[Symbol.iterator]=function(){return this}),nt;function Se(st){return function(W){return function Ze(st){if(ot)throw new TypeError("Generator is already executing.");for(;he;)try{if(ot=1,we&&(tt=2&st[0]?we.return:st[0]?we.throw||((tt=we.return)&&tt.call(we),0):we.next)&&!(tt=tt.call(we,st[1])).done)return tt;switch(we=0,tt&&(st=[2&st[0],tt.value]),st[0]){case 0:case 1:tt=st;break;case 4:return he.label++,{value:st[1],done:!1};case 5:he.label++,we=st[1],st=[0];continue;case 7:st=he.ops.pop(),he.trys.pop();continue;default:if(!(tt=(tt=he.trys).length>0&&tt[tt.length-1])&&(6===st[0]||2===st[0])){he=0;continue}if(3===st[0]&&(!tt||st[1]>tt[0]&&st[1]<tt[3])){he.label=st[1];break}if(6===st[0]&&he.label<tt[1]){he.label=tt[1],tt=st;break}if(tt&&he.label<tt[2]){he.label=tt[2],he.ops.push(st);break}tt[2]&&he.ops.pop(),he.trys.pop();continue}st=fe.call(X,he)}catch(W){st=[6,W],we=0}finally{ot=tt=0}if(5&st[0])throw st[1];return{value:st[0]?st[1]:void 0,done:!0}}([st,W])}}},g=this&&this.__asyncValues||function(X){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var he,fe=X[Symbol.asyncIterator];return fe?fe.call(X):(X="function"==typeof m?m(X):X[Symbol.iterator](),he={},ot("next"),ot("throw"),ot("return"),he[Symbol.asyncIterator]=function(){return this},he);function ot(tt){he[tt]=X[tt]&&function(nt){return new Promise(function(Se,Ze){!function we(tt,nt,Se,Ze){Promise.resolve(Ze).then(function(st){tt({value:st,done:Se})},nt)}(Se,Ze,(nt=X[tt](nt)).done,nt.value)})}}},m=this&&this.__values||function(X){var fe="function"==typeof Symbol&&Symbol.iterator,he=fe&&X[fe],ot=0;if(he)return he.call(X);if(X&&"number"==typeof X.length)return{next:function(){return X&&ot>=X.length&&(X=void 0),{value:X&&X[ot++],done:!X}}};throw new TypeError(fe?"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 s=c(1692),d=c(7035),u=c(7072),p=c(3593),v=c(8474),f=c(7116),y=c(5754),b=c(7307),_=c(1860),w=c(9166),A=c(2289);function M(X){return new u.Observable(function(fe){var he=X[A.observable]();if(_.isFunction(he.subscribe))return he.subscribe(fe);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Y(X){return new u.Observable(function(fe){for(var he=0;he<X.length&&!fe.closed;he++)fe.next(X[he]);fe.complete()})}function $(X){return new u.Observable(function(fe){X.then(function(he){fe.closed||(fe.next(he),fe.complete())},function(he){return fe.error(he)}).then(null,w.reportUnhandledError)})}function ne(X){return new u.Observable(function(fe){var he,ot;try{for(var we=m(X),tt=we.next();!tt.done;tt=we.next())if(fe.next(tt.value),fe.closed)return}catch(Se){he={error:Se}}finally{try{tt&&!tt.done&&(ot=we.return)&&ot.call(we)}finally{if(he)throw he.error}}fe.complete()})}function z(X){return new u.Observable(function(fe){(function de(X,fe){var he,ot,we,tt;return n(this,void 0,void 0,function(){var Se;return a(this,function(Ze){switch(Ze.label){case 0:Ze.trys.push([0,5,6,11]),he=g(X),Ze.label=1;case 1:return[4,he.next()];case 2:if((ot=Ze.sent()).done)return[3,4];if(fe.next(ot.value),fe.closed)return[2];Ze.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return Se=Ze.sent(),we={error:Se},[3,11];case 6:return Ze.trys.push([6,,9,10]),ot&&!ot.done&&(tt=he.return)?[4,tt.call(he)]:[3,8];case 7:Ze.sent(),Ze.label=8;case 8:return[3,10];case 9:if(we)throw we.error;return[7];case 10:return[7];case 11:return fe.complete(),[2]}})})})(X,fe).catch(function(he){return fe.error(he)})})}function K(X){return z(b.readableStreamLikeToAsyncGenerator(X))}o.innerFrom=function R(X){if(X instanceof u.Observable)return X;if(null!=X){if(p.isInteropObservable(X))return M(X);if(s.isArrayLike(X))return Y(X);if(d.isPromise(X))return $(X);if(v.isAsyncIterable(X))return z(X);if(y.isIterable(X))return ne(X);if(b.isReadableStreamLike(X))return K(X)}throw f.createInvalidObservableTypeError(X)},o.fromInteropObservable=M,o.fromArrayLike=Y,o.fromPromise=$,o.fromIterable=ne,o.fromAsyncIterable=z,o.fromReadableStreamLike=K},630:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.interval=void 0;var n=c(9106),a=c(441);o.interval=function g(m,s){return void 0===m&&(m=0),void 0===s&&(s=n.asyncScheduler),m<0&&(m=0),a.timer(m,m,s)}},4052:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.merge=void 0;var n=c(689),a=c(7186),g=c(8611),m=c(160),s=c(7149);o.merge=function d(){for(var u=[],p=0;p<arguments.length;p++)u[p]=arguments[p];var v=m.popScheduler(u),f=m.popNumber(u,1/0),y=u;return y.length?1===y.length?a.innerFrom(y[0]):n.mergeAll(f)(s.from(y,v)):g.EMPTY}},8661:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.never=o.NEVER=void 0;var n=c(7072),a=c(6048);o.NEVER=new n.Observable(a.noop),o.never=function g(){return o.NEVER}},655:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.of=void 0;var n=c(160),a=c(7149);o.of=function g(){for(var m=[],s=0;s<arguments.length;s++)m[s]=arguments[s];var d=n.popScheduler(m);return a.from(m,d)}},8186:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.onErrorResumeNext=void 0;var n=c(7072),a=c(7308),g=c(3922),m=c(6048),s=c(7186);o.onErrorResumeNext=function d(){for(var u=[],p=0;p<arguments.length;p++)u[p]=arguments[p];var v=a.argsOrArgArray(u);return new n.Observable(function(f){var y=0,b=function(){if(y<v.length){var _=void 0;try{_=s.innerFrom(v[y++])}catch{return void b()}var w=new g.OperatorSubscriber(f,void 0,m.noop,m.noop);_.subscribe(w),w.add(b)}else f.complete()};b()})}},5887:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.pairs=void 0;var n=c(7149);o.pairs=function a(g,m){return n.from(Object.entries(g),m)}},127:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.partition=void 0;var n=c(1080),a=c(4488),g=c(7186);o.partition=function m(s,d,u){return[a.filter(d,u)(g.innerFrom(s)),a.filter(n.not(d,u))(g.innerFrom(s))]}},9867:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.raceInit=o.race=void 0;var n=c(7072),a=c(7186),g=c(7308),m=c(3922);function d(u){return function(p){for(var v=[],f=function(b){v.push(a.innerFrom(u[b]).subscribe(m.createOperatorSubscriber(p,function(_){if(v){for(var w=0;w<v.length;w++)w!==b&&v[w].unsubscribe();v=null}p.next(_)})))},y=0;v&&!p.closed&&y<u.length;y++)f(y)}}o.race=function s(){for(var u=[],p=0;p<arguments.length;p++)u[p]=arguments[p];return 1===(u=g.argsOrArgArray(u)).length?a.innerFrom(u[0]):new n.Observable(d(u))},o.raceInit=d},1173:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.range=void 0;var n=c(7072),a=c(8611);o.range=function g(m,s,d){if(null==s&&(s=m,m=0),s<=0)return a.EMPTY;var u=s+m;return new n.Observable(d?function(p){var v=m;return d.schedule(function(){v<u?(p.next(v++),this.schedule()):p.complete()})}:function(p){for(var v=m;v<u&&!p.closed;)p.next(v++);p.complete()})}},5931:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.throwError=void 0;var n=c(7072),a=c(1860);o.throwError=function g(m,s){var d=a.isFunction(m)?m:function(){return m},u=function(p){return p.error(d())};return new n.Observable(s?function(p){return s.schedule(u,0,p)}:u)}},441:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.timer=void 0;var n=c(7072),a=c(9106),g=c(1832),m=c(7053);o.timer=function s(d,u,p){void 0===d&&(d=0),void 0===p&&(p=a.async);var v=-1;return null!=u&&(g.isScheduler(u)?p=u:v=u),new n.Observable(function(f){var y=m.isValidDate(d)?+d-p.now():d;y<0&&(y=0);var b=0;return p.schedule(function(){f.closed||(f.next(b++),0<=v?this.schedule(void 0,v):f.complete())},y)})}},7261:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.using=void 0;var n=c(7072),a=c(7186),g=c(8611);o.using=function m(s,d){return new n.Observable(function(u){var p=s(),v=d(p);return(v?a.innerFrom(v):g.EMPTY).subscribe(u),function(){p&&p.unsubscribe()}})}},2323:function(Z,o,c){"use strict";var n=this&&this.__read||function(f,y){var b="function"==typeof Symbol&&f[Symbol.iterator];if(!b)return f;var w,R,_=b.call(f),A=[];try{for(;(void 0===y||y-- >0)&&!(w=_.next()).done;)A.push(w.value)}catch(M){R={error:M}}finally{try{w&&!w.done&&(b=_.return)&&b.call(_)}finally{if(R)throw R.error}}return A},a=this&&this.__spreadArray||function(f,y){for(var b=0,_=y.length,w=f.length;b<_;b++,w++)f[w]=y[b];return f};Object.defineProperty(o,"__esModule",{value:!0}),o.zip=void 0;var g=c(7072),m=c(7186),s=c(7308),d=c(8611),u=c(3922),p=c(160);o.zip=function v(){for(var f=[],y=0;y<arguments.length;y++)f[y]=arguments[y];var b=p.popResultSelector(f),_=s.argsOrArgArray(f);return _.length?new g.Observable(function(w){var A=_.map(function(){return[]}),R=_.map(function(){return!1});w.add(function(){A=R=null});for(var M=function($){m.innerFrom(_[$]).subscribe(u.createOperatorSubscriber(w,function(ne){if(A[$].push(ne),A.every(function(K){return K.length})){var z=A.map(function(K){return K.shift()});w.next(b?b.apply(void 0,a([],n(z))):z),A.some(function(K,de){return!K.length&&R[de]})&&w.complete()}},function(){R[$]=!0,!A[$].length&&w.complete()}))},Y=0;!w.closed&&Y<_.length;Y++)M(Y);return function(){A=R=null}}):d.EMPTY}},3922:function(Z,o,c){"use strict";var s,n=this&&this.__extends||(s=function(d,u){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,v){p.__proto__=v}||function(p,v){for(var f in v)Object.prototype.hasOwnProperty.call(v,f)&&(p[f]=v[f])})(d,u)},function(d,u){if("function"!=typeof u&&null!==u)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");function p(){this.constructor=d}s(d,u),d.prototype=null===u?Object.create(u):(p.prototype=u.prototype,new p)});Object.defineProperty(o,"__esModule",{value:!0}),o.OperatorSubscriber=o.createOperatorSubscriber=void 0;var a=c(7032);o.createOperatorSubscriber=function g(s,d,u,p,v){return new m(s,d,u,p,v)};var m=function(s){function d(u,p,v,f,y,b){var _=s.call(this,u)||this;return _.onFinalize=y,_.shouldUnsubscribe=b,_._next=p?function(w){try{p(w)}catch(A){u.error(A)}}:s.prototype._next,_._error=f?function(w){try{f(w)}catch(A){u.error(A)}finally{this.unsubscribe()}}:s.prototype._error,_._complete=v?function(){try{v()}catch(w){u.error(w)}finally{this.unsubscribe()}}:s.prototype._complete,_}return n(d,s),d.prototype.unsubscribe=function(){var u;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var p=this.closed;s.prototype.unsubscribe.call(this),!p&&(null===(u=this.onFinalize)||void 0===u||u.call(this))}},d}(a.Subscriber);o.OperatorSubscriber=m},547:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.audit=void 0;var n=c(5145),a=c(7186),g=c(3922);o.audit=function m(s){return n.operate(function(d,u){var p=!1,v=null,f=null,y=!1,b=function(){if(f?.unsubscribe(),f=null,p){p=!1;var w=v;v=null,u.next(w)}y&&u.complete()},_=function(){f=null,y&&u.complete()};d.subscribe(g.createOperatorSubscriber(u,function(w){p=!0,v=w,f||a.innerFrom(s(w)).subscribe(f=g.createOperatorSubscriber(u,b,_))},function(){y=!0,(!p||!f||f.closed)&&u.complete()}))})}},5651:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.auditTime=void 0;var n=c(9106),a=c(547),g=c(441);o.auditTime=function m(s,d){return void 0===d&&(d=n.asyncScheduler),a.audit(function(){return g.timer(s,d)})}},4546:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.buffer=void 0;var n=c(5145),a=c(6048),g=c(3922),m=c(7186);o.buffer=function s(d){return n.operate(function(u,p){var v=[];return u.subscribe(g.createOperatorSubscriber(p,function(f){return v.push(f)},function(){p.next(v),p.complete()})),m.innerFrom(d).subscribe(g.createOperatorSubscriber(p,function(){var f=v;v=[],p.next(f)},a.noop)),function(){v=null}})}},7865:function(Z,o,c){"use strict";var n=this&&this.__values||function(d){var u="function"==typeof Symbol&&Symbol.iterator,p=u&&d[u],v=0;if(p)return p.call(d);if(d&&"number"==typeof d.length)return{next:function(){return d&&v>=d.length&&(d=void 0),{value:d&&d[v++],done:!d}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0}),o.bufferCount=void 0;var a=c(5145),g=c(3922),m=c(4615);o.bufferCount=function s(d,u){return void 0===u&&(u=null),u=u??d,a.operate(function(p,v){var f=[],y=0;p.subscribe(g.createOperatorSubscriber(v,function(b){var _,w,A,R,M=null;y++%u==0&&f.push([]);try{for(var Y=n(f),$=Y.next();!$.done;$=Y.next())(ne=$.value).push(b),d<=ne.length&&(M=M??[]).push(ne)}catch(de){_={error:de}}finally{try{$&&!$.done&&(w=Y.return)&&w.call(Y)}finally{if(_)throw _.error}}if(M)try{for(var z=n(M),K=z.next();!K.done;K=z.next()){var ne;m.arrRemove(f,ne=K.value),v.next(ne)}}catch(de){A={error:de}}finally{try{K&&!K.done&&(R=z.return)&&R.call(z)}finally{if(A)throw A.error}}},function(){var b,_;try{for(var w=n(f),A=w.next();!A.done;A=w.next())v.next(A.value)}catch(M){b={error:M}}finally{try{A&&!A.done&&(_=w.return)&&_.call(w)}finally{if(b)throw b.error}}v.complete()},void 0,function(){f=null}))})}},4567:function(Z,o,c){"use strict";var n=this&&this.__values||function(f){var y="function"==typeof Symbol&&Symbol.iterator,b=y&&f[y],_=0;if(b)return b.call(f);if(f&&"number"==typeof f.length)return{next:function(){return f&&_>=f.length&&(f=void 0),{value:f&&f[_++],done:!f}}};throw new TypeError(y?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0}),o.bufferTime=void 0;var a=c(642),g=c(5145),m=c(3922),s=c(4615),d=c(9106),u=c(160),p=c(7642);o.bufferTime=function v(f){for(var y,b,_=[],w=1;w<arguments.length;w++)_[w-1]=arguments[w];var A=null!==(y=u.popScheduler(_))&&void 0!==y?y:d.asyncScheduler,R=null!==(b=_[0])&&void 0!==b?b:null,M=_[1]||1/0;return g.operate(function(Y,$){var ne=[],z=!1,K=function(fe){var he=fe.buffer;fe.subs.unsubscribe(),s.arrRemove(ne,fe),$.next(he),z&&de()},de=function(){if(ne){var fe=new a.Subscription;$.add(fe);var ot={buffer:[],subs:fe};ne.push(ot),p.executeSchedule(fe,A,function(){return K(ot)},f)}};null!==R&&R>=0?p.executeSchedule($,A,de,R,!0):z=!0,de();var X=m.createOperatorSubscriber($,function(fe){var he,ot,we=ne.slice();try{for(var tt=n(we),nt=tt.next();!nt.done;nt=tt.next()){var Se=nt.value,Ze=Se.buffer;Ze.push(fe),M<=Ze.length&&K(Se)}}catch(st){he={error:st}}finally{try{nt&&!nt.done&&(ot=tt.return)&&ot.call(tt)}finally{if(he)throw he.error}}},function(){for(;ne?.length;)$.next(ne.shift().buffer);X?.unsubscribe(),$.complete(),$.unsubscribe()},void 0,function(){return ne=null});Y.subscribe(X)})}},8151:function(Z,o,c){"use strict";var n=this&&this.__values||function(v){var f="function"==typeof Symbol&&Symbol.iterator,y=f&&v[f],b=0;if(y)return y.call(v);if(v&&"number"==typeof v.length)return{next:function(){return v&&b>=v.length&&(v=void 0),{value:v&&v[b++],done:!v}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0}),o.bufferToggle=void 0;var a=c(642),g=c(5145),m=c(7186),s=c(3922),d=c(6048),u=c(4615);o.bufferToggle=function p(v,f){return g.operate(function(y,b){var _=[];m.innerFrom(v).subscribe(s.createOperatorSubscriber(b,function(w){var A=[];_.push(A);var R=new a.Subscription;R.add(m.innerFrom(f(w)).subscribe(s.createOperatorSubscriber(b,function(){u.arrRemove(_,A),b.next(A),R.unsubscribe()},d.noop)))},d.noop)),y.subscribe(s.createOperatorSubscriber(b,function(w){var A,R;try{for(var M=n(_),Y=M.next();!Y.done;Y=M.next())Y.value.push(w)}catch(ne){A={error:ne}}finally{try{Y&&!Y.done&&(R=M.return)&&R.call(M)}finally{if(A)throw A.error}}},function(){for(;_.length>0;)b.next(_.shift());b.complete()}))})}},5201:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.bufferWhen=void 0;var n=c(5145),a=c(6048),g=c(3922),m=c(7186);o.bufferWhen=function s(d){return n.operate(function(u,p){var v=null,f=null,y=function(){f?.unsubscribe();var b=v;v=[],b&&p.next(b),m.innerFrom(d()).subscribe(f=g.createOperatorSubscriber(p,y,a.noop))};y(),u.subscribe(g.createOperatorSubscriber(p,function(b){return v?.push(b)},function(){v&&p.next(v),p.complete()},void 0,function(){return v=f=null}))})}},5503:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.catchError=void 0;var n=c(7186),a=c(3922),g=c(5145);o.catchError=function m(s){return g.operate(function(d,u){var f,p=null,v=!1;p=d.subscribe(a.createOperatorSubscriber(u,void 0,void 0,function(y){f=n.innerFrom(s(y,m(s)(d))),p?(p.unsubscribe(),p=null,f.subscribe(u)):v=!0})),v&&(p.unsubscribe(),p=null,f.subscribe(u))})}},8868:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.combineAll=void 0;var n=c(5638);o.combineAll=n.combineLatestAll},7839:function(Z,o,c){"use strict";var n=this&&this.__read||function(f,y){var b="function"==typeof Symbol&&f[Symbol.iterator];if(!b)return f;var w,R,_=b.call(f),A=[];try{for(;(void 0===y||y-- >0)&&!(w=_.next()).done;)A.push(w.value)}catch(M){R={error:M}}finally{try{w&&!w.done&&(b=_.return)&&b.call(_)}finally{if(R)throw R.error}}return A},a=this&&this.__spreadArray||function(f,y){for(var b=0,_=y.length,w=f.length;b<_;b++,w++)f[w]=y[b];return f};Object.defineProperty(o,"__esModule",{value:!0}),o.combineLatest=void 0;var g=c(8250),m=c(5145),s=c(7308),d=c(9349),u=c(3776),p=c(160);o.combineLatest=function v(){for(var f=[],y=0;y<arguments.length;y++)f[y]=arguments[y];var b=p.popResultSelector(f);return b?u.pipe(v.apply(void 0,a([],n(f))),d.mapOneOrManyArgs(b)):m.operate(function(_,w){g.combineLatestInit(a([_],n(s.argsOrArgArray(f))))(w)})}},5638:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.combineLatestAll=void 0;var n=c(8250),a=c(4622);o.combineLatestAll=function g(m){return a.joinAllInternals(n.combineLatest,m)}},7869:function(Z,o,c){"use strict";var n=this&&this.__read||function(s,d){var u="function"==typeof Symbol&&s[Symbol.iterator];if(!u)return s;var v,y,p=u.call(s),f=[];try{for(;(void 0===d||d-- >0)&&!(v=p.next()).done;)f.push(v.value)}catch(b){y={error:b}}finally{try{v&&!v.done&&(u=p.return)&&u.call(p)}finally{if(y)throw y.error}}return f},a=this&&this.__spreadArray||function(s,d){for(var u=0,p=d.length,v=s.length;u<p;u++,v++)s[v]=d[u];return s};Object.defineProperty(o,"__esModule",{value:!0}),o.combineLatestWith=void 0;var g=c(7839);o.combineLatestWith=function m(){for(var s=[],d=0;d<arguments.length;d++)s[d]=arguments[d];return g.combineLatest.apply(void 0,a([],n(s)))}},4526:function(Z,o,c){"use strict";var n=this&&this.__read||function(p,v){var f="function"==typeof Symbol&&p[Symbol.iterator];if(!f)return p;var b,w,y=f.call(p),_=[];try{for(;(void 0===v||v-- >0)&&!(b=y.next()).done;)_.push(b.value)}catch(A){w={error:A}}finally{try{b&&!b.done&&(f=y.return)&&f.call(y)}finally{if(w)throw w.error}}return _},a=this&&this.__spreadArray||function(p,v){for(var f=0,y=v.length,b=p.length;f<y;f++,b++)p[b]=v[f];return p};Object.defineProperty(o,"__esModule",{value:!0}),o.concat=void 0;var g=c(5145),m=c(7507),s=c(160),d=c(7149);o.concat=function u(){for(var p=[],v=0;v<arguments.length;v++)p[v]=arguments[v];var f=s.popScheduler(p);return g.operate(function(y,b){m.concatAll()(d.from(a([y],n(p)),f)).subscribe(b)})}},7507:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.concatAll=void 0;var n=c(689);o.concatAll=function a(){return n.mergeAll(1)}},6118:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.concatMap=void 0;var n=c(1049),a=c(1860);o.concatMap=function g(m,s){return a.isFunction(s)?n.mergeMap(m,s,1):n.mergeMap(m,1)}},5505:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.concatMapTo=void 0;var n=c(6118),a=c(1860);o.concatMapTo=function g(m,s){return a.isFunction(s)?n.concatMap(function(){return m},s):n.concatMap(function(){return m})}},9451:function(Z,o,c){"use strict";var n=this&&this.__read||function(s,d){var u="function"==typeof Symbol&&s[Symbol.iterator];if(!u)return s;var v,y,p=u.call(s),f=[];try{for(;(void 0===d||d-- >0)&&!(v=p.next()).done;)f.push(v.value)}catch(b){y={error:b}}finally{try{v&&!v.done&&(u=p.return)&&u.call(p)}finally{if(y)throw y.error}}return f},a=this&&this.__spreadArray||function(s,d){for(var u=0,p=d.length,v=s.length;u<p;u++,v++)s[v]=d[u];return s};Object.defineProperty(o,"__esModule",{value:!0}),o.concatWith=void 0;var g=c(4526);o.concatWith=function m(){for(var s=[],d=0;d<arguments.length;d++)s[d]=arguments[d];return g.concat.apply(void 0,a([],n(s)))}},1673:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.connect=void 0;var n=c(3653),a=c(7186),g=c(5145),m=c(8465),s={connector:function(){return new n.Subject}};o.connect=function d(u,p){void 0===p&&(p=s);var v=p.connector;return g.operate(function(f,y){var b=v();a.innerFrom(u(m.fromSubscribable(b))).subscribe(y),y.add(f.subscribe(b))})}},745:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.count=void 0;var n=c(597);o.count=function a(g){return n.reduce(function(m,s,d){return!g||g(s,d)?m+1:m},0)}},6799:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.debounce=void 0;var n=c(5145),a=c(6048),g=c(3922),m=c(7186);o.debounce=function s(d){return n.operate(function(u,p){var v=!1,f=null,y=null,b=function(){if(y?.unsubscribe(),y=null,v){v=!1;var _=f;f=null,p.next(_)}};u.subscribe(g.createOperatorSubscriber(p,function(_){y?.unsubscribe(),v=!0,f=_,y=g.createOperatorSubscriber(p,b,a.noop),m.innerFrom(d(_)).subscribe(y)},function(){b(),p.complete()},void 0,function(){f=y=null}))})}},6662:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.debounceTime=void 0;var n=c(9106),a=c(5145),g=c(3922);o.debounceTime=function m(s,d){return void 0===d&&(d=n.asyncScheduler),a.operate(function(u,p){var v=null,f=null,y=null,b=function(){if(v){v.unsubscribe(),v=null;var w=f;f=null,p.next(w)}};function _(){var w=y+s,A=d.now();if(A<w)return v=this.schedule(void 0,w-A),void p.add(v);b()}u.subscribe(g.createOperatorSubscriber(p,function(w){f=w,y=d.now(),v||(v=d.schedule(_,s),p.add(v))},function(){b(),p.complete()},void 0,function(){f=v=null}))})}},9033:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.defaultIfEmpty=void 0;var n=c(5145),a=c(3922);o.defaultIfEmpty=function g(m){return n.operate(function(s,d){var u=!1;s.subscribe(a.createOperatorSubscriber(d,function(p){u=!0,d.next(p)},function(){u||d.next(m),d.complete()}))})}},9908:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.delay=void 0;var n=c(9106),a=c(2680),g=c(441);o.delay=function m(s,d){void 0===d&&(d=n.asyncScheduler);var u=g.timer(s,d);return a.delayWhen(function(){return u})}},2680:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.delayWhen=void 0;var n=c(7704),a=c(3007),g=c(8228),m=c(5901),s=c(1049),d=c(7186);o.delayWhen=function u(p,v){return v?function(f){return n.concat(v.pipe(a.take(1),g.ignoreElements()),f.pipe(u(p)))}:s.mergeMap(function(f,y){return d.innerFrom(p(f,y)).pipe(a.take(1),m.mapTo(f))})}},7856:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.dematerialize=void 0;var n=c(9988),a=c(5145),g=c(3922);o.dematerialize=function m(){return a.operate(function(s,d){s.subscribe(g.createOperatorSubscriber(d,function(u){return n.observeNotification(u,d)}))})}},3506:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.distinct=void 0;var n=c(5145),a=c(3922),g=c(6048),m=c(7186);o.distinct=function s(d,u){return n.operate(function(p,v){var f=new Set;p.subscribe(a.createOperatorSubscriber(v,function(y){var b=d?d(y):y;f.has(b)||(f.add(b),v.next(y))})),u&&m.innerFrom(u).subscribe(a.createOperatorSubscriber(v,function(){return f.clear()},g.noop))})}},9905:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.distinctUntilChanged=void 0;var n=c(7288),a=c(5145),g=c(3922);function s(d,u){return d===u}o.distinctUntilChanged=function m(d,u){return void 0===u&&(u=n.identity),d=d??s,a.operate(function(p,v){var f,y=!0;p.subscribe(g.createOperatorSubscriber(v,function(b){var _=u(b);(y||!d(f,_))&&(y=!1,f=_,v.next(b))}))})}},9745:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.distinctUntilKeyChanged=void 0;var n=c(9905);o.distinctUntilKeyChanged=function a(g,m){return n.distinctUntilChanged(function(s,d){return m?m(s[g],d[g]):s[g]===d[g]})}},55:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.elementAt=void 0;var n=c(4936),a=c(4488),g=c(909),m=c(9033),s=c(3007);o.elementAt=function d(u,p){if(u<0)throw new n.ArgumentOutOfRangeError;var v=arguments.length>=2;return function(f){return f.pipe(a.filter(function(y,b){return b===u}),s.take(1),v?m.defaultIfEmpty(p):g.throwIfEmpty(function(){return new n.ArgumentOutOfRangeError}))}}},4486:function(Z,o,c){"use strict";var n=this&&this.__read||function(d,u){var p="function"==typeof Symbol&&d[Symbol.iterator];if(!p)return d;var f,b,v=p.call(d),y=[];try{for(;(void 0===u||u-- >0)&&!(f=v.next()).done;)y.push(f.value)}catch(_){b={error:_}}finally{try{f&&!f.done&&(p=v.return)&&p.call(v)}finally{if(b)throw b.error}}return y},a=this&&this.__spreadArray||function(d,u){for(var p=0,v=u.length,f=d.length;p<v;p++,f++)d[f]=u[p];return d};Object.defineProperty(o,"__esModule",{value:!0}),o.endWith=void 0;var g=c(7704),m=c(655);o.endWith=function s(){for(var d=[],u=0;u<arguments.length;u++)d[u]=arguments[u];return function(p){return g.concat(p,m.of.apply(void 0,a([],n(d))))}}},3595:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.every=void 0;var n=c(5145),a=c(3922);o.every=function g(m,s){return n.operate(function(d,u){var p=0;d.subscribe(a.createOperatorSubscriber(u,function(v){m.call(s,v,p++,d)||(u.next(!1),u.complete())},function(){u.next(!0),u.complete()}))})}},1222:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.exhaust=void 0;var n=c(5438);o.exhaust=n.exhaustAll},5438:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.exhaustAll=void 0;var n=c(733),a=c(7288);o.exhaustAll=function g(){return n.exhaustMap(a.identity)}},733:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.exhaustMap=void 0;var n=c(5970),a=c(7186),g=c(5145),m=c(3922);o.exhaustMap=function s(d,u){return u?function(p){return p.pipe(s(function(v,f){return a.innerFrom(d(v,f)).pipe(n.map(function(y,b){return u(v,y,f,b)}))}))}:g.operate(function(p,v){var f=0,y=null,b=!1;p.subscribe(m.createOperatorSubscriber(v,function(_){y||(y=m.createOperatorSubscriber(v,void 0,function(){y=null,b&&v.complete()}),a.innerFrom(d(_,f++)).subscribe(y))},function(){b=!0,!y&&v.complete()}))})}},5006:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.expand=void 0;var n=c(5145),a=c(3509);o.expand=function g(m,s,d){return void 0===s&&(s=1/0),s=(s||0)<1?1/0:s,n.operate(function(u,p){return a.mergeInternals(u,p,m,s,void 0,!0,d)})}},4488:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.filter=void 0;var n=c(5145),a=c(3922);o.filter=function g(m,s){return n.operate(function(d,u){var p=0;d.subscribe(a.createOperatorSubscriber(u,function(v){return m.call(s,v,p++)&&u.next(v)}))})}},835:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.finalize=void 0;var n=c(5145);o.finalize=function a(g){return n.operate(function(m,s){try{m.subscribe(s)}finally{s.add(g)}})}},6167:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.createFind=o.find=void 0;var n=c(5145),a=c(3922);function m(s,d,u){var p="index"===u;return function(v,f){var y=0;v.subscribe(a.createOperatorSubscriber(f,function(b){var _=y++;s.call(d,b,_,v)&&(f.next(p?_:b),f.complete())},function(){f.next(p?-1:void 0),f.complete()}))}}o.find=function g(s,d){return n.operate(m(s,d,"value"))},o.createFind=m},105:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.findIndex=void 0;var n=c(5145),a=c(6167);o.findIndex=function g(m,s){return n.operate(a.createFind(m,s,"index"))}},531:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.first=void 0;var n=c(6159),a=c(4488),g=c(3007),m=c(9033),s=c(909),d=c(7288);o.first=function u(p,v){var f=arguments.length>=2;return function(y){return y.pipe(p?a.filter(function(b,_){return p(b,_,y)}):d.identity,g.take(1),f?m.defaultIfEmpty(v):s.throwIfEmpty(function(){return new n.EmptyError}))}}},984:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.flatMap=void 0;var n=c(1049);o.flatMap=n.mergeMap},7389:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.groupBy=void 0;var n=c(7072),a=c(7186),g=c(3653),m=c(5145),s=c(3922);o.groupBy=function d(u,p,v,f){return m.operate(function(y,b){var _;p&&"function"!=typeof p?(v=p.duration,_=p.element,f=p.connector):_=p;var w=new Map,A=function(z){w.forEach(z),z(b)},R=function(z){return A(function(K){return K.error(z)})},M=0,Y=!1,$=new s.OperatorSubscriber(b,function(z){try{var K=u(z),de=w.get(K);if(!de){w.set(K,de=f?f():new g.Subject);var X=function ne(z,K){var de=new n.Observable(function(X){M++;var fe=K.subscribe(X);return function(){fe.unsubscribe(),0==--M&&Y&&$.unsubscribe()}});return de.key=z,de}(K,de);if(b.next(X),v){var fe=s.createOperatorSubscriber(de,function(){de.complete(),fe?.unsubscribe()},void 0,void 0,function(){return w.delete(K)});$.add(a.innerFrom(v(X)).subscribe(fe))}}de.next(_?_(z):z)}catch(he){R(he)}},function(){return A(function(z){return z.complete()})},R,function(){return w.clear()},function(){return Y=!0,0===M});y.subscribe($)})}},8228:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ignoreElements=void 0;var n=c(5145),a=c(3922),g=c(6048);o.ignoreElements=function m(){return n.operate(function(s,d){s.subscribe(a.createOperatorSubscriber(d,g.noop))})}},9185:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isEmpty=void 0;var n=c(5145),a=c(3922);o.isEmpty=function g(){return n.operate(function(m,s){m.subscribe(a.createOperatorSubscriber(s,function(){s.next(!1),s.complete()},function(){s.next(!0),s.complete()}))})}},4622:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.joinAllInternals=void 0;var n=c(7288),a=c(9349),g=c(3776),m=c(1049),s=c(2341);o.joinAllInternals=function d(u,p){return g.pipe(s.toArray(),m.mergeMap(function(v){return u(v)}),p?a.mapOneOrManyArgs(p):n.identity)}},3383:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.last=void 0;var n=c(6159),a=c(4488),g=c(9747),m=c(909),s=c(9033),d=c(7288);o.last=function u(p,v){var f=arguments.length>=2;return function(y){return y.pipe(p?a.filter(function(b,_){return p(b,_,y)}):d.identity,g.takeLast(1),f?s.defaultIfEmpty(v):m.throwIfEmpty(function(){return new n.EmptyError}))}}},5970:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.map=void 0;var n=c(5145),a=c(3922);o.map=function g(m,s){return n.operate(function(d,u){var p=0;d.subscribe(a.createOperatorSubscriber(u,function(v){u.next(m.call(s,v,p++))}))})}},5901:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.mapTo=void 0;var n=c(5970);o.mapTo=function a(g){return n.map(function(){return g})}},3136:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.materialize=void 0;var n=c(9988),a=c(5145),g=c(3922);o.materialize=function m(){return a.operate(function(s,d){s.subscribe(g.createOperatorSubscriber(d,function(u){d.next(n.Notification.createNext(u))},function(){d.next(n.Notification.createComplete()),d.complete()},function(u){d.next(n.Notification.createError(u)),d.complete()}))})}},1027:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.max=void 0;var n=c(597),a=c(1860);o.max=function g(m){return n.reduce(a.isFunction(m)?function(s,d){return m(s,d)>0?s:d}:function(s,d){return s>d?s:d})}},5679:function(Z,o,c){"use strict";var n=this&&this.__read||function(v,f){var y="function"==typeof Symbol&&v[Symbol.iterator];if(!y)return v;var _,A,b=y.call(v),w=[];try{for(;(void 0===f||f-- >0)&&!(_=b.next()).done;)w.push(_.value)}catch(R){A={error:R}}finally{try{_&&!_.done&&(y=b.return)&&y.call(b)}finally{if(A)throw A.error}}return w},a=this&&this.__spreadArray||function(v,f){for(var y=0,b=f.length,_=v.length;y<b;y++,_++)v[_]=f[y];return v};Object.defineProperty(o,"__esModule",{value:!0}),o.merge=void 0;var g=c(5145),m=c(7308),s=c(689),d=c(160),u=c(7149);o.merge=function p(){for(var v=[],f=0;f<arguments.length;f++)v[f]=arguments[f];var y=d.popScheduler(v),b=d.popNumber(v,1/0);return v=m.argsOrArgArray(v),g.operate(function(_,w){s.mergeAll(b)(u.from(a([_],n(v)),y)).subscribe(w)})}},689:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.mergeAll=void 0;var n=c(1049),a=c(7288);o.mergeAll=function g(m){return void 0===m&&(m=1/0),n.mergeMap(a.identity,m)}},3509:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.mergeInternals=void 0;var n=c(7186),a=c(7642),g=c(3922);o.mergeInternals=function m(s,d,u,p,v,f,y,b){var _=[],w=0,A=0,R=!1,M=function(){R&&!_.length&&!w&&d.complete()},Y=function(ne){return w<p?$(ne):_.push(ne)},$=function(ne){f&&d.next(ne),w++;var z=!1;n.innerFrom(u(ne,A++)).subscribe(g.createOperatorSubscriber(d,function(K){v?.(K),f?Y(K):d.next(K)},function(){z=!0},void 0,function(){if(z)try{w--;for(var K=function(){var de=_.shift();y?a.executeSchedule(d,y,function(){return $(de)}):$(de)};_.length&&w<p;)K();M()}catch(de){d.error(de)}}))};return s.subscribe(g.createOperatorSubscriber(d,Y,function(){R=!0,M()})),function(){b?.()}}},1049:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.mergeMap=void 0;var n=c(5970),a=c(7186),g=c(5145),m=c(3509),s=c(1860);o.mergeMap=function d(u,p,v){return void 0===v&&(v=1/0),s.isFunction(p)?d(function(f,y){return n.map(function(b,_){return p(f,b,y,_)})(a.innerFrom(u(f,y)))},v):("number"==typeof p&&(v=p),g.operate(function(f,y){return m.mergeInternals(f,y,u,v)}))}},6191:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.mergeMapTo=void 0;var n=c(1049),a=c(1860);o.mergeMapTo=function g(m,s,d){return void 0===d&&(d=1/0),a.isFunction(s)?n.mergeMap(function(){return m},s,d):("number"==typeof s&&(d=s),n.mergeMap(function(){return m},d))}},6439:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.mergeScan=void 0;var n=c(5145),a=c(3509);o.mergeScan=function g(m,s,d){return void 0===d&&(d=1/0),n.operate(function(u,p){var v=s;return a.mergeInternals(u,p,function(f,y){return m(v,f,y)},d,function(f){v=f},!1,void 0,function(){return v=null})})}},8821:function(Z,o,c){"use strict";var n=this&&this.__read||function(s,d){var u="function"==typeof Symbol&&s[Symbol.iterator];if(!u)return s;var v,y,p=u.call(s),f=[];try{for(;(void 0===d||d-- >0)&&!(v=p.next()).done;)f.push(v.value)}catch(b){y={error:b}}finally{try{v&&!v.done&&(u=p.return)&&u.call(p)}finally{if(y)throw y.error}}return f},a=this&&this.__spreadArray||function(s,d){for(var u=0,p=d.length,v=s.length;u<p;u++,v++)s[v]=d[u];return s};Object.defineProperty(o,"__esModule",{value:!0}),o.mergeWith=void 0;var g=c(5679);o.mergeWith=function m(){for(var s=[],d=0;d<arguments.length;d++)s[d]=arguments[d];return g.merge.apply(void 0,a([],n(s)))}},4147:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.min=void 0;var n=c(597),a=c(1860);o.min=function g(m){return n.reduce(a.isFunction(m)?function(s,d){return m(s,d)<0?s:d}:function(s,d){return s<d?s:d})}},4290:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.multicast=void 0;var n=c(8840),a=c(1860),g=c(1673);o.multicast=function m(s,d){var u=a.isFunction(s)?s:function(){return s};return a.isFunction(d)?g.connect(d,{connector:u}):function(p){return new n.ConnectableObservable(p,u)}}},9512:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.observeOn=void 0;var n=c(7642),a=c(5145),g=c(3922);o.observeOn=function m(s,d){return void 0===d&&(d=0),a.operate(function(u,p){u.subscribe(g.createOperatorSubscriber(p,function(v){return n.executeSchedule(p,s,function(){return p.next(v)},d)},function(){return n.executeSchedule(p,s,function(){return p.complete()},d)},function(v){return n.executeSchedule(p,s,function(){return p.error(v)},d)}))})}},4268:function(Z,o,c){"use strict";var n=this&&this.__read||function(d,u){var p="function"==typeof Symbol&&d[Symbol.iterator];if(!p)return d;var f,b,v=p.call(d),y=[];try{for(;(void 0===u||u-- >0)&&!(f=v.next()).done;)y.push(f.value)}catch(_){b={error:_}}finally{try{f&&!f.done&&(p=v.return)&&p.call(v)}finally{if(b)throw b.error}}return y},a=this&&this.__spreadArray||function(d,u){for(var p=0,v=u.length,f=d.length;p<v;p++,f++)d[f]=u[p];return d};Object.defineProperty(o,"__esModule",{value:!0}),o.onErrorResumeNext=o.onErrorResumeNextWith=void 0;var g=c(7308),m=c(8186);function s(){for(var d=[],u=0;u<arguments.length;u++)d[u]=arguments[u];var p=g.argsOrArgArray(d);return function(v){return m.onErrorResumeNext.apply(void 0,a([v],n(p)))}}o.onErrorResumeNextWith=s,o.onErrorResumeNext=s},4827:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.pairwise=void 0;var n=c(5145),a=c(3922);o.pairwise=function g(){return n.operate(function(m,s){var d,u=!1;m.subscribe(a.createOperatorSubscriber(s,function(p){var v=d;d=p,u&&s.next([v,p]),u=!0}))})}},4011:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.pluck=void 0;var n=c(5970);o.pluck=function a(){for(var g=[],m=0;m<arguments.length;m++)g[m]=arguments[m];var s=g.length;if(0===s)throw new Error("list of properties cannot be empty.");return n.map(function(d){for(var u=d,p=0;p<s;p++){var v=u?.[g[p]];if(!(typeof v<"u"))return;u=v}return u})}},3693:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.publish=void 0;var n=c(3653),a=c(4290),g=c(1673);o.publish=function m(s){return s?function(d){return g.connect(s)(d)}:function(d){return a.multicast(new n.Subject)(d)}}},7465:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.publishBehavior=void 0;var n=c(1552),a=c(8840);o.publishBehavior=function g(m){return function(s){var d=new n.BehaviorSubject(m);return new a.ConnectableObservable(s,function(){return d})}}},5982:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.publishLast=void 0;var n=c(2562),a=c(8840);o.publishLast=function g(){return function(m){var s=new n.AsyncSubject;return new a.ConnectableObservable(m,function(){return s})}}},3121:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.publishReplay=void 0;var n=c(4098),a=c(4290),g=c(1860);o.publishReplay=function m(s,d,u,p){u&&!g.isFunction(u)&&(p=u);var v=g.isFunction(u)?u:void 0;return function(f){return a.multicast(new n.ReplaySubject(s,d,p),v)(f)}}},5413:function(Z,o,c){"use strict";var n=this&&this.__read||function(u,p){var v="function"==typeof Symbol&&u[Symbol.iterator];if(!v)return u;var y,_,f=v.call(u),b=[];try{for(;(void 0===p||p-- >0)&&!(y=f.next()).done;)b.push(y.value)}catch(w){_={error:w}}finally{try{y&&!y.done&&(v=f.return)&&v.call(f)}finally{if(_)throw _.error}}return b},a=this&&this.__spreadArray||function(u,p){for(var v=0,f=p.length,y=u.length;v<f;v++,y++)u[y]=p[v];return u};Object.defineProperty(o,"__esModule",{value:!0}),o.raceWith=void 0;var g=c(9867),m=c(5145),s=c(7288);o.raceWith=function d(){for(var u=[],p=0;p<arguments.length;p++)u[p]=arguments[p];return u.length?m.operate(function(v,f){g.raceInit(a([v],n(u)))(f)}):s.identity}},597:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.reduce=void 0;var n=c(9902),a=c(5145);o.reduce=function g(m,s){return a.operate(n.scanInternals(m,s,arguments.length>=2,!1,!0))}},8551:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.refCount=void 0;var n=c(5145),a=c(3922);o.refCount=function g(){return n.operate(function(m,s){var d=null;m._refCount++;var u=a.createOperatorSubscriber(s,void 0,void 0,void 0,function(){if(!m||m._refCount<=0||0<--m._refCount)d=null;else{var p=m._connection,v=d;d=null,p&&(!v||p===v)&&p.unsubscribe(),s.unsubscribe()}});m.subscribe(u),u.closed||(d=m.connect())})}},2923:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.repeat=void 0;var n=c(8611),a=c(5145),g=c(3922),m=c(7186),s=c(441);o.repeat=function d(u){var p,f,v=1/0;return null!=u&&("object"==typeof u?(v=void 0===(p=u.count)?1/0:p,f=u.delay):v=u),v<=0?function(){return n.EMPTY}:a.operate(function(y,b){var w,_=0,A=function(){if(w?.unsubscribe(),w=null,null!=f){var M="number"==typeof f?s.timer(f):m.innerFrom(f(_)),Y=g.createOperatorSubscriber(b,function(){Y.unsubscribe(),R()});M.subscribe(Y)}else R()},R=function(){var M=!1;w=y.subscribe(g.createOperatorSubscriber(b,void 0,function(){++_<v?w?A():M=!0:b.complete()})),M&&A()};R()})}},2806:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.repeatWhen=void 0;var n=c(7186),a=c(3653),g=c(5145),m=c(3922);o.repeatWhen=function s(d){return g.operate(function(u,p){var v,y,f=!1,b=!1,_=!1,w=function(){return _&&b&&(p.complete(),!0)},R=function(){_=!1,v=u.subscribe(m.createOperatorSubscriber(p,void 0,function(){_=!0,!w()&&(y||(y=new a.Subject,n.innerFrom(d(y)).subscribe(m.createOperatorSubscriber(p,function(){v?R():f=!0},function(){b=!0,w()}))),y).next()})),f&&(v.unsubscribe(),v=null,f=!1,R())};R()})}},1017:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.retry=void 0;var n=c(5145),a=c(3922),g=c(7288),m=c(441),s=c(7186);o.retry=function d(u){var p;void 0===u&&(u=1/0);var v=(p=u&&"object"==typeof u?u:{count:u}).count,f=void 0===v?1/0:v,y=p.delay,b=p.resetOnSuccess,_=void 0!==b&&b;return f<=0?g.identity:n.operate(function(w,A){var M,R=0,Y=function(){var $=!1;M=w.subscribe(a.createOperatorSubscriber(A,function(ne){_&&(R=0),A.next(ne)},void 0,function(ne){if(R++<f){var z=function(){M?(M.unsubscribe(),M=null,Y()):$=!0};if(null!=y){var K="number"==typeof y?m.timer(y):s.innerFrom(y(ne,R)),de=a.createOperatorSubscriber(A,function(){de.unsubscribe(),z()},function(){A.complete()});K.subscribe(de)}else z()}else A.error(ne)})),$&&(M.unsubscribe(),M=null,Y())};Y()})}},3377:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.retryWhen=void 0;var n=c(7186),a=c(3653),g=c(5145),m=c(3922);o.retryWhen=function s(d){return g.operate(function(u,p){var v,y,f=!1,b=function(){v=u.subscribe(m.createOperatorSubscriber(p,void 0,void 0,function(_){y||(y=new a.Subject,n.innerFrom(d(y)).subscribe(m.createOperatorSubscriber(p,function(){return v?b():f=!0}))),y&&y.next(_)})),f&&(v.unsubscribe(),v=null,f=!1,b())};b()})}},8255:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.sample=void 0;var n=c(7186),a=c(5145),g=c(6048),m=c(3922);o.sample=function s(d){return a.operate(function(u,p){var v=!1,f=null;u.subscribe(m.createOperatorSubscriber(p,function(y){v=!0,f=y})),n.innerFrom(d).subscribe(m.createOperatorSubscriber(p,function(){if(v){v=!1;var y=f;f=null,p.next(y)}},g.noop))})}},941:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.sampleTime=void 0;var n=c(9106),a=c(8255),g=c(630);o.sampleTime=function m(s,d){return void 0===d&&(d=n.asyncScheduler),a.sample(g.interval(s,d))}},4141:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scan=void 0;var n=c(5145),a=c(9902);o.scan=function g(m,s){return n.operate(a.scanInternals(m,s,arguments.length>=2,!0))}},9902:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scanInternals=void 0;var n=c(3922);o.scanInternals=function a(g,m,s,d,u){return function(p,v){var f=s,y=m,b=0;p.subscribe(n.createOperatorSubscriber(v,function(_){var w=b++;y=f?g(y,_,w):(f=!0,_),d&&v.next(y)},u&&function(){f&&v.next(y),v.complete()}))}}},5318:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.sequenceEqual=void 0;var n=c(5145),a=c(3922),g=c(7186);o.sequenceEqual=function m(d,u){return void 0===u&&(u=function(p,v){return p===v}),n.operate(function(p,v){var f={buffer:[],complete:!1},y={buffer:[],complete:!1},b=function(w){v.next(w),v.complete()},_=function(w,A){var R=a.createOperatorSubscriber(v,function(M){var Y=A.buffer;0===Y.length?A.complete?b(!1):w.buffer.push(M):!u(M,Y.shift())&&b(!1)},function(){w.complete=!0,A.complete&&b(0===A.buffer.length),R?.unsubscribe()});return R};p.subscribe(_(f,y)),g.innerFrom(d).subscribe(_(y,f))})}},2905:function(Z,o,c){"use strict";var n=this&&this.__read||function(v,f){var y="function"==typeof Symbol&&v[Symbol.iterator];if(!y)return v;var _,A,b=y.call(v),w=[];try{for(;(void 0===f||f-- >0)&&!(_=b.next()).done;)w.push(_.value)}catch(R){A={error:R}}finally{try{_&&!_.done&&(y=b.return)&&y.call(b)}finally{if(A)throw A.error}}return w},a=this&&this.__spreadArray||function(v,f){for(var y=0,b=f.length,_=v.length;y<b;y++,_++)v[_]=f[y];return v};Object.defineProperty(o,"__esModule",{value:!0}),o.share=void 0;var g=c(7186),m=c(3653),s=c(7032),d=c(5145);function p(v,f){for(var y=[],b=2;b<arguments.length;b++)y[b-2]=arguments[b];if(!0!==f){if(!1!==f){var _=new s.SafeSubscriber({next:function(){_.unsubscribe(),v()}});return g.innerFrom(f.apply(void 0,a([],n(y)))).subscribe(_)}}else v()}o.share=function u(v){void 0===v&&(v={});var f=v.connector,y=void 0===f?function(){return new m.Subject}:f,b=v.resetOnError,_=void 0===b||b,w=v.resetOnComplete,A=void 0===w||w,R=v.resetOnRefCountZero,M=void 0===R||R;return function(Y){var $,ne,z,K=0,de=!1,X=!1,fe=function(){ne?.unsubscribe(),ne=void 0},he=function(){fe(),$=z=void 0,de=X=!1},ot=function(){var we=$;he(),we?.unsubscribe()};return d.operate(function(we,tt){K++,!X&&!de&&fe();var nt=z=z??y();tt.add(function(){0==--K&&!X&&!de&&(ne=p(ot,M))}),nt.subscribe(tt),!$&&K>0&&($=new s.SafeSubscriber({next:function(Se){return nt.next(Se)},error:function(Se){X=!0,fe(),ne=p(he,_,Se),nt.error(Se)},complete:function(){de=!0,fe(),ne=p(he,A),nt.complete()}}),g.innerFrom(we).subscribe($))})(Y)}}},5940:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.shareReplay=void 0;var n=c(4098),a=c(2905);o.shareReplay=function g(m,s,d){var u,p,v,f,y=!1;return m&&"object"==typeof m?(f=void 0===(u=m.bufferSize)?1/0:u,s=void 0===(p=m.windowTime)?1/0:p,y=void 0!==(v=m.refCount)&&v,d=m.scheduler):f=m??1/0,a.share({connector:function(){return new n.ReplaySubject(f,s,d)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:y})}},1619:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.single=void 0;var n=c(6159),a=c(833),g=c(3811),m=c(5145),s=c(3922);o.single=function d(u){return m.operate(function(p,v){var y,f=!1,b=!1,_=0;p.subscribe(s.createOperatorSubscriber(v,function(w){b=!0,(!u||u(w,_++,p))&&(f&&v.error(new a.SequenceError("Too many matching values")),f=!0,y=w)},function(){f?(v.next(y),v.complete()):v.error(b?new g.NotFoundError("No matching values"):new n.EmptyError)}))})}},7605:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.skip=void 0;var n=c(4488);o.skip=function a(g){return n.filter(function(m,s){return g<=s})}},3106:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.skipLast=void 0;var n=c(7288),a=c(5145),g=c(3922);o.skipLast=function m(s){return s<=0?n.identity:a.operate(function(d,u){var p=new Array(s),v=0;return d.subscribe(g.createOperatorSubscriber(u,function(f){var y=v++;if(y<s)p[y]=f;else{var b=y%s,_=p[b];p[b]=f,u.next(_)}})),function(){p=null}})}},7457:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.skipUntil=void 0;var n=c(5145),a=c(3922),g=c(7186),m=c(6048);o.skipUntil=function s(d){return n.operate(function(u,p){var v=!1,f=a.createOperatorSubscriber(p,function(){f?.unsubscribe(),v=!0},m.noop);g.innerFrom(d).subscribe(f),u.subscribe(a.createOperatorSubscriber(p,function(y){return v&&p.next(y)}))})}},676:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.skipWhile=void 0;var n=c(5145),a=c(3922);o.skipWhile=function g(m){return n.operate(function(s,d){var u=!1,p=0;s.subscribe(a.createOperatorSubscriber(d,function(v){return(u||(u=!m(v,p++)))&&d.next(v)}))})}},6907:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.startWith=void 0;var n=c(7704),a=c(160),g=c(5145);o.startWith=function m(){for(var s=[],d=0;d<arguments.length;d++)s[d]=arguments[d];var u=a.popScheduler(s);return g.operate(function(p,v){(u?n.concat(s,p,u):n.concat(s,p)).subscribe(v)})}},8625:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.subscribeOn=void 0;var n=c(5145);o.subscribeOn=function a(g,m){return void 0===m&&(m=0),n.operate(function(s,d){d.add(g.schedule(function(){return s.subscribe(d)},m))})}},9311:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.switchAll=void 0;var n=c(6180),a=c(7288);o.switchAll=function g(){return n.switchMap(a.identity)}},6180:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.switchMap=void 0;var n=c(7186),a=c(5145),g=c(3922);o.switchMap=function m(s,d){return a.operate(function(u,p){var v=null,f=0,y=!1,b=function(){return y&&!v&&p.complete()};u.subscribe(g.createOperatorSubscriber(p,function(_){v?.unsubscribe();var w=0,A=f++;n.innerFrom(s(_,A)).subscribe(v=g.createOperatorSubscriber(p,function(R){return p.next(d?d(_,R,A,w++):R)},function(){v=null,b()}))},function(){y=!0,b()}))})}},7235:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.switchMapTo=void 0;var n=c(6180),a=c(1860);o.switchMapTo=function g(m,s){return a.isFunction(s)?n.switchMap(function(){return m},s):n.switchMap(function(){return m})}},2546:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.switchScan=void 0;var n=c(6180),a=c(5145);o.switchScan=function g(m,s){return a.operate(function(d,u){var p=s;return n.switchMap(function(v,f){return m(p,v,f)},function(v,f){return p=f,f})(d).subscribe(u),function(){p=null}})}},3007:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.take=void 0;var n=c(8611),a=c(5145),g=c(3922);o.take=function m(s){return s<=0?function(){return n.EMPTY}:a.operate(function(d,u){var p=0;d.subscribe(g.createOperatorSubscriber(u,function(v){++p<=s&&(u.next(v),s<=p&&u.complete())}))})}},9747:function(Z,o,c){"use strict";var n=this&&this.__values||function(d){var u="function"==typeof Symbol&&Symbol.iterator,p=u&&d[u],v=0;if(p)return p.call(d);if(d&&"number"==typeof d.length)return{next:function(){return d&&v>=d.length&&(d=void 0),{value:d&&d[v++],done:!d}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0}),o.takeLast=void 0;var a=c(8611),g=c(5145),m=c(3922);o.takeLast=function s(d){return d<=0?function(){return a.EMPTY}:g.operate(function(u,p){var v=[];u.subscribe(m.createOperatorSubscriber(p,function(f){v.push(f),d<v.length&&v.shift()},function(){var f,y;try{for(var b=n(v),_=b.next();!_.done;_=b.next())p.next(_.value)}catch(A){f={error:A}}finally{try{_&&!_.done&&(y=b.return)&&y.call(b)}finally{if(f)throw f.error}}p.complete()},void 0,function(){v=null}))})}},8325:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.takeUntil=void 0;var n=c(5145),a=c(3922),g=c(7186),m=c(6048);o.takeUntil=function s(d){return n.operate(function(u,p){g.innerFrom(d).subscribe(a.createOperatorSubscriber(p,function(){return p.complete()},m.noop)),!p.closed&&u.subscribe(p)})}},548:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.takeWhile=void 0;var n=c(5145),a=c(3922);o.takeWhile=function g(m,s){return void 0===s&&(s=!1),n.operate(function(d,u){var p=0;d.subscribe(a.createOperatorSubscriber(u,function(v){var f=m(v,p++);(f||s)&&u.next(v),!f&&u.complete()}))})}},3023:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.tap=void 0;var n=c(1860),a=c(5145),g=c(3922),m=c(7288);o.tap=function s(d,u,p){var v=n.isFunction(d)||u||p?{next:d,error:u,complete:p}:d;return v?a.operate(function(f,y){var b;null===(b=v.subscribe)||void 0===b||b.call(v);var _=!0;f.subscribe(g.createOperatorSubscriber(y,function(w){var A;null===(A=v.next)||void 0===A||A.call(v,w),y.next(w)},function(){var w;_=!1,null===(w=v.complete)||void 0===w||w.call(v),y.complete()},function(w){var A;_=!1,null===(A=v.error)||void 0===A||A.call(v,w),y.error(w)},function(){var w,A;_&&(null===(w=v.unsubscribe)||void 0===w||w.call(v)),null===(A=v.finalize)||void 0===A||A.call(v)}))}):m.identity}},7635:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.throttle=void 0;var n=c(5145),a=c(3922),g=c(7186);o.throttle=function m(s,d){return n.operate(function(u,p){var v=d??{},f=v.leading,y=void 0===f||f,b=v.trailing,_=void 0!==b&&b,w=!1,A=null,R=null,M=!1,Y=function(){R?.unsubscribe(),R=null,_&&(z(),M&&p.complete())},$=function(){R=null,M&&p.complete()},ne=function(K){return R=g.innerFrom(s(K)).subscribe(a.createOperatorSubscriber(p,Y,$))},z=function(){if(w){w=!1;var K=A;A=null,p.next(K),!M&&ne(K)}};u.subscribe(a.createOperatorSubscriber(p,function(K){w=!0,A=K,(!R||R.closed)&&(y?z():ne(K))},function(){M=!0,(!(_&&w&&R)||R.closed)&&p.complete()}))})}},2403:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.throttleTime=void 0;var n=c(9106),a=c(7635),g=c(441);o.throttleTime=function m(s,d,u){void 0===d&&(d=n.asyncScheduler);var p=g.timer(s,d);return a.throttle(function(){return p},u)}},909:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.throwIfEmpty=void 0;var n=c(6159),a=c(5145),g=c(3922);function s(){return new n.EmptyError}o.throwIfEmpty=function m(d){return void 0===d&&(d=s),a.operate(function(u,p){var v=!1;u.subscribe(g.createOperatorSubscriber(p,function(f){v=!0,p.next(f)},function(){return v?p.complete():p.error(d())}))})}},5892:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.TimeInterval=o.timeInterval=void 0;var n=c(9106),a=c(5145),g=c(3922);o.timeInterval=function m(d){return void 0===d&&(d=n.asyncScheduler),a.operate(function(u,p){var v=d.now();u.subscribe(g.createOperatorSubscriber(p,function(f){var y=d.now(),b=y-v;v=y,p.next(new s(f,b))}))})};var s=function d(u,p){this.value=u,this.interval=p};o.TimeInterval=s},6406:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.timeout=o.TimeoutError=void 0;var n=c(9106),a=c(7053),g=c(5145),m=c(7186),s=c(508),d=c(3922),u=c(7642);function v(f){throw new o.TimeoutError(f)}o.TimeoutError=s.createErrorClass(function(f){return function(b){void 0===b&&(b=null),f(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=b}}),o.timeout=function p(f,y){var b=a.isValidDate(f)?{first:f}:"number"==typeof f?{each:f}:f,_=b.first,w=b.each,A=b.with,R=void 0===A?v:A,M=b.scheduler,Y=void 0===M?y??n.asyncScheduler:M,$=b.meta,ne=void 0===$?null:$;if(null==_&&null==w)throw new TypeError("No timeout provided.");return g.operate(function(z,K){var de,X,fe=null,he=0,ot=function(we){X=u.executeSchedule(K,Y,function(){try{de.unsubscribe(),m.innerFrom(R({meta:ne,lastValue:fe,seen:he})).subscribe(K)}catch(tt){K.error(tt)}},we)};de=z.subscribe(d.createOperatorSubscriber(K,function(we){X?.unsubscribe(),he++,K.next(fe=we),w>0&&ot(w)},void 0,void 0,function(){X?.closed||X?.unsubscribe(),fe=null})),!he&&ot(null!=_?"number"==typeof _?_:+_-Y.now():w)})}},6348:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.timeoutWith=void 0;var n=c(9106),a=c(7053),g=c(6406);o.timeoutWith=function m(s,d,u){var p,v,f;if(u=u??n.async,a.isValidDate(s)?p=s:"number"==typeof s&&(v=s),!d)throw new TypeError("No observable provided to switch to");if(f=function(){return d},null==p&&null==v)throw new TypeError("No timeout provided.");return g.timeout({first:p,each:v,scheduler:u,with:f})}},9010:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.timestamp=void 0;var n=c(1937),a=c(5970);o.timestamp=function g(m){return void 0===m&&(m=n.dateTimestampProvider),a.map(function(s){return{value:s,timestamp:m.now()}})}},2341:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.toArray=void 0;var n=c(597),a=c(5145),g=function(s,d){return s.push(d),s};o.toArray=function m(){return a.operate(function(s,d){n.reduce(g,[])(s).subscribe(d)})}},1176:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.window=void 0;var n=c(3653),a=c(5145),g=c(3922),m=c(6048),s=c(7186);o.window=function d(u){return a.operate(function(p,v){var f=new n.Subject;v.next(f.asObservable());var y=function(b){f.error(b),v.error(b)};return p.subscribe(g.createOperatorSubscriber(v,function(b){return f?.next(b)},function(){f.complete(),v.complete()},y)),s.innerFrom(u).subscribe(g.createOperatorSubscriber(v,function(){f.complete(),v.next(f=new n.Subject)},m.noop,y)),function(){f?.unsubscribe(),f=null}})}},6193:function(Z,o,c){"use strict";var n=this&&this.__values||function(d){var u="function"==typeof Symbol&&Symbol.iterator,p=u&&d[u],v=0;if(p)return p.call(d);if(d&&"number"==typeof d.length)return{next:function(){return d&&v>=d.length&&(d=void 0),{value:d&&d[v++],done:!d}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0}),o.windowCount=void 0;var a=c(3653),g=c(5145),m=c(3922);o.windowCount=function s(d,u){void 0===u&&(u=0);var p=u>0?u:d;return g.operate(function(v,f){var y=[new a.Subject],_=0;f.next(y[0].asObservable()),v.subscribe(m.createOperatorSubscriber(f,function(w){var A,R;try{for(var M=n(y),Y=M.next();!Y.done;Y=M.next())Y.value.next(w)}catch(K){A={error:K}}finally{try{Y&&!Y.done&&(R=M.return)&&R.call(M)}finally{if(A)throw A.error}}var ne=_-d+1;if(ne>=0&&ne%p==0&&y.shift().complete(),++_%p==0){var z=new a.Subject;y.push(z),f.next(z.asObservable())}},function(){for(;y.length>0;)y.shift().complete();f.complete()},function(w){for(;y.length>0;)y.shift().error(w);f.error(w)},function(){y=null}))})}},2642:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.windowTime=void 0;var n=c(3653),a=c(9106),g=c(642),m=c(5145),s=c(3922),d=c(4615),u=c(160),p=c(7642);o.windowTime=function v(f){for(var y,b,_=[],w=1;w<arguments.length;w++)_[w-1]=arguments[w];var A=null!==(y=u.popScheduler(_))&&void 0!==y?y:a.asyncScheduler,R=null!==(b=_[0])&&void 0!==b?b:null,M=_[1]||1/0;return m.operate(function(Y,$){var ne=[],z=!1,K=function(he){var we=he.subs;he.window.complete(),we.unsubscribe(),d.arrRemove(ne,he),z&&de()},de=function(){if(ne){var he=new g.Subscription;$.add(he);var ot=new n.Subject,we={window:ot,subs:he,seen:0};ne.push(we),$.next(ot.asObservable()),p.executeSchedule(he,A,function(){return K(we)},f)}};null!==R&&R>=0?p.executeSchedule($,A,de,R,!0):z=!0,de();var X=function(he){return ne.slice().forEach(he)},fe=function(he){X(function(ot){return he(ot.window)}),he($),$.unsubscribe()};return Y.subscribe(s.createOperatorSubscriber($,function(he){X(function(ot){ot.window.next(he),M<=++ot.seen&&K(ot)})},function(){return fe(function(he){return he.complete()})},function(he){return fe(function(ot){return ot.error(he)})})),function(){ne=null}})}},8036:function(Z,o,c){"use strict";var n=this&&this.__values||function(f){var y="function"==typeof Symbol&&Symbol.iterator,b=y&&f[y],_=0;if(b)return b.call(f);if(f&&"number"==typeof f.length)return{next:function(){return f&&_>=f.length&&(f=void 0),{value:f&&f[_++],done:!f}}};throw new TypeError(y?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0}),o.windowToggle=void 0;var a=c(3653),g=c(642),m=c(5145),s=c(7186),d=c(3922),u=c(6048),p=c(4615);o.windowToggle=function v(f,y){return m.operate(function(b,_){var w=[],A=function(R){for(;0<w.length;)w.shift().error(R);_.error(R)};s.innerFrom(f).subscribe(d.createOperatorSubscriber(_,function(R){var M=new a.Subject;w.push(M);var ne,Y=new g.Subscription;try{ne=s.innerFrom(y(R))}catch(z){return void A(z)}_.next(M.asObservable()),Y.add(ne.subscribe(d.createOperatorSubscriber(_,function(){p.arrRemove(w,M),M.complete(),Y.unsubscribe()},u.noop,A)))},u.noop)),b.subscribe(d.createOperatorSubscriber(_,function(R){var M,Y,$=w.slice();try{for(var ne=n($),z=ne.next();!z.done;z=ne.next())z.value.next(R)}catch(de){M={error:de}}finally{try{z&&!z.done&&(Y=ne.return)&&Y.call(ne)}finally{if(M)throw M.error}}},function(){for(;0<w.length;)w.shift().complete();_.complete()},A,function(){for(;0<w.length;)w.shift().unsubscribe()}))})}},1624:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.windowWhen=void 0;var n=c(3653),a=c(5145),g=c(3922),m=c(7186);o.windowWhen=function s(d){return a.operate(function(u,p){var v,f,y=function(_){v.error(_),p.error(_)},b=function(){var _;f?.unsubscribe(),v?.complete(),v=new n.Subject,p.next(v.asObservable());try{_=m.innerFrom(d())}catch(w){return void y(w)}_.subscribe(f=g.createOperatorSubscriber(p,b,b,y))};b(),u.subscribe(g.createOperatorSubscriber(p,function(_){return v.next(_)},function(){v.complete(),p.complete()},y,function(){f?.unsubscribe(),v=null}))})}},3725:function(Z,o,c){"use strict";var n=this&&this.__read||function(f,y){var b="function"==typeof Symbol&&f[Symbol.iterator];if(!b)return f;var w,R,_=b.call(f),A=[];try{for(;(void 0===y||y-- >0)&&!(w=_.next()).done;)A.push(w.value)}catch(M){R={error:M}}finally{try{w&&!w.done&&(b=_.return)&&b.call(_)}finally{if(R)throw R.error}}return A},a=this&&this.__spreadArray||function(f,y){for(var b=0,_=y.length,w=f.length;b<_;b++,w++)f[w]=y[b];return f};Object.defineProperty(o,"__esModule",{value:!0}),o.withLatestFrom=void 0;var g=c(5145),m=c(3922),s=c(7186),d=c(7288),u=c(6048),p=c(160);o.withLatestFrom=function v(){for(var f=[],y=0;y<arguments.length;y++)f[y]=arguments[y];var b=p.popResultSelector(f);return g.operate(function(_,w){for(var A=f.length,R=new Array(A),M=f.map(function(){return!1}),Y=!1,$=function(z){s.innerFrom(f[z]).subscribe(m.createOperatorSubscriber(w,function(K){R[z]=K,!Y&&!M[z]&&(M[z]=!0,(Y=M.every(d.identity))&&(M=null))},u.noop))},ne=0;ne<A;ne++)$(ne);_.subscribe(m.createOperatorSubscriber(w,function(z){if(Y){var K=a([z],n(R));w.next(b?b.apply(void 0,a([],n(K))):K)}}))})}},398:function(Z,o,c){"use strict";var n=this&&this.__read||function(d,u){var p="function"==typeof Symbol&&d[Symbol.iterator];if(!p)return d;var f,b,v=p.call(d),y=[];try{for(;(void 0===u||u-- >0)&&!(f=v.next()).done;)y.push(f.value)}catch(_){b={error:_}}finally{try{f&&!f.done&&(p=v.return)&&p.call(v)}finally{if(b)throw b.error}}return y},a=this&&this.__spreadArray||function(d,u){for(var p=0,v=u.length,f=d.length;p<v;p++,f++)d[f]=u[p];return d};Object.defineProperty(o,"__esModule",{value:!0}),o.zip=void 0;var g=c(2323),m=c(5145);o.zip=function s(){for(var d=[],u=0;u<arguments.length;u++)d[u]=arguments[u];return m.operate(function(p,v){g.zip.apply(void 0,a([p],n(d))).subscribe(v)})}},378:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.zipAll=void 0;var n=c(2323),a=c(4622);o.zipAll=function g(m){return a.joinAllInternals(n.zip,m)}},9952:function(Z,o,c){"use strict";var n=this&&this.__read||function(s,d){var u="function"==typeof Symbol&&s[Symbol.iterator];if(!u)return s;var v,y,p=u.call(s),f=[];try{for(;(void 0===d||d-- >0)&&!(v=p.next()).done;)f.push(v.value)}catch(b){y={error:b}}finally{try{v&&!v.done&&(u=p.return)&&u.call(p)}finally{if(y)throw y.error}}return f},a=this&&this.__spreadArray||function(s,d){for(var u=0,p=d.length,v=s.length;u<p;u++,v++)s[v]=d[u];return s};Object.defineProperty(o,"__esModule",{value:!0}),o.zipWith=void 0;var g=c(398);o.zipWith=function m(){for(var s=[],d=0;d<arguments.length;d++)s[d]=arguments[d];return g.zip.apply(void 0,a([],n(s)))}},448:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scheduleArray=void 0;var n=c(7072);o.scheduleArray=function a(g,m){return new n.Observable(function(s){var d=0;return m.schedule(function(){d===g.length?s.complete():(s.next(g[d++]),s.closed||this.schedule())})})}},2617:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scheduleAsyncIterable=void 0;var n=c(7072),a=c(7642);o.scheduleAsyncIterable=function g(m,s){if(!m)throw new Error("Iterable cannot be null");return new n.Observable(function(d){a.executeSchedule(d,s,function(){var u=m[Symbol.asyncIterator]();a.executeSchedule(d,s,function(){u.next().then(function(p){p.done?d.complete():d.next(p.value)})},0,!0)})})}},4017:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scheduleIterable=void 0;var n=c(7072),a=c(5900),g=c(1860),m=c(7642);o.scheduleIterable=function s(d,u){return new n.Observable(function(p){var v;return m.executeSchedule(p,u,function(){v=d[a.iterator](),m.executeSchedule(p,u,function(){var f,y,b;try{y=(f=v.next()).value,b=f.done}catch(_){return void p.error(_)}b?p.complete():p.next(y)},0,!0)}),function(){return g.isFunction(v?.return)&&v.return()}})}},8117:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scheduleObservable=void 0;var n=c(7186),a=c(9512),g=c(8625);o.scheduleObservable=function m(s,d){return n.innerFrom(s).pipe(g.subscribeOn(d),a.observeOn(d))}},4230:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.schedulePromise=void 0;var n=c(7186),a=c(9512),g=c(8625);o.schedulePromise=function m(s,d){return n.innerFrom(s).pipe(g.subscribeOn(d),a.observeOn(d))}},4260:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scheduleReadableStreamLike=void 0;var n=c(2617),a=c(7307);o.scheduleReadableStreamLike=function g(m,s){return n.scheduleAsyncIterable(a.readableStreamLikeToAsyncGenerator(m),s)}},3881:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scheduled=void 0;var n=c(8117),a=c(4230),g=c(448),m=c(4017),s=c(2617),d=c(3593),u=c(7035),p=c(1692),v=c(5754),f=c(8474),y=c(7116),b=c(7307),_=c(4260);o.scheduled=function w(A,R){if(null!=A){if(d.isInteropObservable(A))return n.scheduleObservable(A,R);if(p.isArrayLike(A))return g.scheduleArray(A,R);if(u.isPromise(A))return a.schedulePromise(A,R);if(f.isAsyncIterable(A))return s.scheduleAsyncIterable(A,R);if(v.isIterable(A))return m.scheduleIterable(A,R);if(b.isReadableStreamLike(A))return _.scheduleReadableStreamLike(A,R)}throw y.createInvalidObservableTypeError(A)}},6667:function(Z,o,c){"use strict";var m,n=this&&this.__extends||(m=function(s,d){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,p){u.__proto__=p}||function(u,p){for(var v in p)Object.prototype.hasOwnProperty.call(p,v)&&(u[v]=p[v])})(s,d)},function(s,d){if("function"!=typeof d&&null!==d)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");function u(){this.constructor=s}m(s,d),s.prototype=null===d?Object.create(d):(u.prototype=d.prototype,new u)});Object.defineProperty(o,"__esModule",{value:!0}),o.Action=void 0;var g=function(m){function s(d,u){return m.call(this)||this}return n(s,m),s.prototype.schedule=function(d,u){return void 0===u&&(u=0),this},s}(c(642).Subscription);o.Action=g},4308:function(Z,o,c){"use strict";var s,n=this&&this.__extends||(s=function(d,u){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,v){p.__proto__=v}||function(p,v){for(var f in v)Object.prototype.hasOwnProperty.call(v,f)&&(p[f]=v[f])})(d,u)},function(d,u){if("function"!=typeof u&&null!==u)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");function p(){this.constructor=d}s(d,u),d.prototype=null===u?Object.create(u):(p.prototype=u.prototype,new p)});Object.defineProperty(o,"__esModule",{value:!0}),o.AnimationFrameAction=void 0;var a=c(63),g=c(8601),m=function(s){function d(u,p){var v=s.call(this,u,p)||this;return v.scheduler=u,v.work=p,v}return n(d,s),d.prototype.requestAsyncId=function(u,p,v){return void 0===v&&(v=0),null!==v&&v>0?s.prototype.requestAsyncId.call(this,u,p,v):(u.actions.push(this),u._scheduled||(u._scheduled=g.animationFrameProvider.requestAnimationFrame(function(){return u.flush(void 0)})))},d.prototype.recycleAsyncId=function(u,p,v){var f;if(void 0===v&&(v=0),null!=v?v>0:this.delay>0)return s.prototype.recycleAsyncId.call(this,u,p,v);var y=u.actions;null!=p&&(null===(f=y[y.length-1])||void 0===f?void 0:f.id)!==p&&(g.animationFrameProvider.cancelAnimationFrame(p),u._scheduled=void 0)},d}(a.AsyncAction);o.AnimationFrameAction=m},2783:function(Z,o,c){"use strict";var m,n=this&&this.__extends||(m=function(s,d){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,p){u.__proto__=p}||function(u,p){for(var v in p)Object.prototype.hasOwnProperty.call(p,v)&&(u[v]=p[v])})(s,d)},function(s,d){if("function"!=typeof d&&null!==d)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");function u(){this.constructor=s}m(s,d),s.prototype=null===d?Object.create(d):(u.prototype=d.prototype,new u)});Object.defineProperty(o,"__esModule",{value:!0}),o.AnimationFrameScheduler=void 0;var g=function(m){function s(){return null!==m&&m.apply(this,arguments)||this}return n(s,m),s.prototype.flush=function(d){this._active=!0;var u=this._scheduled;this._scheduled=void 0;var v,p=this.actions;d=d||p.shift();do{if(v=d.execute(d.state,d.delay))break}while((d=p[0])&&d.id===u&&p.shift());if(this._active=!1,v){for(;(d=p[0])&&d.id===u&&p.shift();)d.unsubscribe();throw v}},s}(c(3104).AsyncScheduler);o.AnimationFrameScheduler=g},3262:function(Z,o,c){"use strict";var s,n=this&&this.__extends||(s=function(d,u){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,v){p.__proto__=v}||function(p,v){for(var f in v)Object.prototype.hasOwnProperty.call(v,f)&&(p[f]=v[f])})(d,u)},function(d,u){if("function"!=typeof u&&null!==u)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");function p(){this.constructor=d}s(d,u),d.prototype=null===u?Object.create(u):(p.prototype=u.prototype,new p)});Object.defineProperty(o,"__esModule",{value:!0}),o.AsapAction=void 0;var a=c(63),g=c(6494),m=function(s){function d(u,p){var v=s.call(this,u,p)||this;return v.scheduler=u,v.work=p,v}return n(d,s),d.prototype.requestAsyncId=function(u,p,v){return void 0===v&&(v=0),null!==v&&v>0?s.prototype.requestAsyncId.call(this,u,p,v):(u.actions.push(this),u._scheduled||(u._scheduled=g.immediateProvider.setImmediate(u.flush.bind(u,void 0))))},d.prototype.recycleAsyncId=function(u,p,v){var f;if(void 0===v&&(v=0),null!=v?v>0:this.delay>0)return s.prototype.recycleAsyncId.call(this,u,p,v);var y=u.actions;null!=p&&(null===(f=y[y.length-1])||void 0===f?void 0:f.id)!==p&&(g.immediateProvider.clearImmediate(p),u._scheduled===p&&(u._scheduled=void 0))},d}(a.AsyncAction);o.AsapAction=m},4027:function(Z,o,c){"use strict";var m,n=this&&this.__extends||(m=function(s,d){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,p){u.__proto__=p}||function(u,p){for(var v in p)Object.prototype.hasOwnProperty.call(p,v)&&(u[v]=p[v])})(s,d)},function(s,d){if("function"!=typeof d&&null!==d)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");function u(){this.constructor=s}m(s,d),s.prototype=null===d?Object.create(d):(u.prototype=d.prototype,new u)});Object.defineProperty(o,"__esModule",{value:!0}),o.AsapScheduler=void 0;var g=function(m){function s(){return null!==m&&m.apply(this,arguments)||this}return n(s,m),s.prototype.flush=function(d){this._active=!0;var u=this._scheduled;this._scheduled=void 0;var v,p=this.actions;d=d||p.shift();do{if(v=d.execute(d.state,d.delay))break}while((d=p[0])&&d.id===u&&p.shift());if(this._active=!1,v){for(;(d=p[0])&&d.id===u&&p.shift();)d.unsubscribe();throw v}},s}(c(3104).AsyncScheduler);o.AsapScheduler=g},63:function(Z,o,c){"use strict";var d,n=this&&this.__extends||(d=function(u,p){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,f){v.__proto__=f}||function(v,f){for(var y in f)Object.prototype.hasOwnProperty.call(f,y)&&(v[y]=f[y])})(u,p)},function(u,p){if("function"!=typeof p&&null!==p)throw new TypeError("Class extends value "+String(p)+" is not a constructor or null");function v(){this.constructor=u}d(u,p),u.prototype=null===p?Object.create(p):(v.prototype=p.prototype,new v)});Object.defineProperty(o,"__esModule",{value:!0}),o.AsyncAction=void 0;var a=c(6667),g=c(7246),m=c(4615),s=function(d){function u(p,v){var f=d.call(this,p,v)||this;return f.scheduler=p,f.work=v,f.pending=!1,f}return n(u,d),u.prototype.schedule=function(p,v){var f;if(void 0===v&&(v=0),this.closed)return this;this.state=p;var y=this.id,b=this.scheduler;return null!=y&&(this.id=this.recycleAsyncId(b,y,v)),this.pending=!0,this.delay=v,this.id=null!==(f=this.id)&&void 0!==f?f:this.requestAsyncId(b,this.id,v),this},u.prototype.requestAsyncId=function(p,v,f){return void 0===f&&(f=0),g.intervalProvider.setInterval(p.flush.bind(p,this),f)},u.prototype.recycleAsyncId=function(p,v,f){if(void 0===f&&(f=0),null!=f&&this.delay===f&&!1===this.pending)return v;null!=v&&g.intervalProvider.clearInterval(v)},u.prototype.execute=function(p,v){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var f=this._execute(p,v);if(f)return f;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},u.prototype._execute=function(p,v){var y,f=!1;try{this.work(p)}catch(b){f=!0,y=b||new Error("Scheduled action threw falsy error")}if(f)return this.unsubscribe(),y},u.prototype.unsubscribe=function(){if(!this.closed){var v=this.id,f=this.scheduler,y=f.actions;this.work=this.state=this.scheduler=null,this.pending=!1,m.arrRemove(y,this),null!=v&&(this.id=this.recycleAsyncId(f,v,null)),this.delay=null,d.prototype.unsubscribe.call(this)}},u}(a.Action);o.AsyncAction=s},3104:function(Z,o,c){"use strict";var m,n=this&&this.__extends||(m=function(s,d){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,p){u.__proto__=p}||function(u,p){for(var v in p)Object.prototype.hasOwnProperty.call(p,v)&&(u[v]=p[v])})(s,d)},function(s,d){if("function"!=typeof d&&null!==d)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");function u(){this.constructor=s}m(s,d),s.prototype=null===d?Object.create(d):(u.prototype=d.prototype,new u)});Object.defineProperty(o,"__esModule",{value:!0}),o.AsyncScheduler=void 0;var a=c(4283),g=function(m){function s(d,u){void 0===u&&(u=a.Scheduler.now);var p=m.call(this,d,u)||this;return p.actions=[],p._active=!1,p}return n(s,m),s.prototype.flush=function(d){var u=this.actions;if(this._active)u.push(d);else{var p;this._active=!0;do{if(p=d.execute(d.state,d.delay))break}while(d=u.shift());if(this._active=!1,p){for(;d=u.shift();)d.unsubscribe();throw p}}},s}(a.Scheduler);o.AsyncScheduler=g},3460:function(Z,o,c){"use strict";var m,n=this&&this.__extends||(m=function(s,d){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,p){u.__proto__=p}||function(u,p){for(var v in p)Object.prototype.hasOwnProperty.call(p,v)&&(u[v]=p[v])})(s,d)},function(s,d){if("function"!=typeof d&&null!==d)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");function u(){this.constructor=s}m(s,d),s.prototype=null===d?Object.create(d):(u.prototype=d.prototype,new u)});Object.defineProperty(o,"__esModule",{value:!0}),o.QueueAction=void 0;var g=function(m){function s(d,u){var p=m.call(this,d,u)||this;return p.scheduler=d,p.work=u,p}return n(s,m),s.prototype.schedule=function(d,u){return void 0===u&&(u=0),u>0?m.prototype.schedule.call(this,d,u):(this.delay=u,this.state=d,this.scheduler.flush(this),this)},s.prototype.execute=function(d,u){return u>0||this.closed?m.prototype.execute.call(this,d,u):this._execute(d,u)},s.prototype.requestAsyncId=function(d,u,p){return void 0===p&&(p=0),null!=p&&p>0||null==p&&this.delay>0?m.prototype.requestAsyncId.call(this,d,u,p):(d.flush(this),0)},s}(c(63).AsyncAction);o.QueueAction=g},2091:function(Z,o,c){"use strict";var m,n=this&&this.__extends||(m=function(s,d){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,p){u.__proto__=p}||function(u,p){for(var v in p)Object.prototype.hasOwnProperty.call(p,v)&&(u[v]=p[v])})(s,d)},function(s,d){if("function"!=typeof d&&null!==d)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");function u(){this.constructor=s}m(s,d),s.prototype=null===d?Object.create(d):(u.prototype=d.prototype,new u)});Object.defineProperty(o,"__esModule",{value:!0}),o.QueueScheduler=void 0;var g=function(m){function s(){return null!==m&&m.apply(this,arguments)||this}return n(s,m),s}(c(3104).AsyncScheduler);o.QueueScheduler=g},3503:function(Z,o,c){"use strict";var u,n=this&&this.__extends||(u=function(p,v){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,y){f.__proto__=y}||function(f,y){for(var b in y)Object.prototype.hasOwnProperty.call(y,b)&&(f[b]=y[b])})(p,v)},function(p,v){if("function"!=typeof v&&null!==v)throw new TypeError("Class extends value "+String(v)+" is not a constructor or null");function f(){this.constructor=p}u(p,v),p.prototype=null===v?Object.create(v):(f.prototype=v.prototype,new f)});Object.defineProperty(o,"__esModule",{value:!0}),o.VirtualAction=o.VirtualTimeScheduler=void 0;var a=c(63),g=c(642),s=function(u){function p(v,f){void 0===v&&(v=d),void 0===f&&(f=1/0);var y=u.call(this,v,function(){return y.frame})||this;return y.maxFrames=f,y.frame=0,y.index=-1,y}return n(p,u),p.prototype.flush=function(){for(var b,_,f=this.actions,y=this.maxFrames;(_=f[0])&&_.delay<=y&&(f.shift(),this.frame=_.delay,!(b=_.execute(_.state,_.delay))););if(b){for(;_=f.shift();)_.unsubscribe();throw b}},p.frameTimeFactor=10,p}(c(3104).AsyncScheduler);o.VirtualTimeScheduler=s;var d=function(u){function p(v,f,y){void 0===y&&(y=v.index+=1);var b=u.call(this,v,f)||this;return b.scheduler=v,b.work=f,b.index=y,b.active=!0,b.index=v.index=y,b}return n(p,u),p.prototype.schedule=function(v,f){if(void 0===f&&(f=0),Number.isFinite(f)){if(!this.id)return u.prototype.schedule.call(this,v,f);this.active=!1;var y=new p(this.scheduler,this.work);return this.add(y),y.schedule(v,f)}return g.Subscription.EMPTY},p.prototype.requestAsyncId=function(v,f,y){void 0===y&&(y=0),this.delay=v.frame+y;var b=v.actions;return b.push(this),b.sort(p.sortActions),1},p.prototype.recycleAsyncId=function(v,f,y){void 0===y&&(y=0)},p.prototype._execute=function(v,f){if(!0===this.active)return u.prototype._execute.call(this,v,f)},p.sortActions=function(v,f){return v.delay===f.delay?v.index===f.index?0:v.index>f.index?1:-1:v.delay>f.delay?1:-1},p}(a.AsyncAction);o.VirtualAction=d},3989:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.animationFrame=o.animationFrameScheduler=void 0;var n=c(4308),a=c(2783);o.animationFrameScheduler=new a.AnimationFrameScheduler(n.AnimationFrameAction),o.animationFrame=o.animationFrameScheduler},8601:function(Z,o,c){"use strict";var n=this&&this.__read||function(m,s){var d="function"==typeof Symbol&&m[Symbol.iterator];if(!d)return m;var p,f,u=d.call(m),v=[];try{for(;(void 0===s||s-- >0)&&!(p=u.next()).done;)v.push(p.value)}catch(y){f={error:y}}finally{try{p&&!p.done&&(d=u.return)&&d.call(u)}finally{if(f)throw f.error}}return v},a=this&&this.__spreadArray||function(m,s){for(var d=0,u=s.length,p=m.length;d<u;d++,p++)m[p]=s[d];return m};Object.defineProperty(o,"__esModule",{value:!0}),o.animationFrameProvider=void 0;var g=c(642);o.animationFrameProvider={schedule:function(m){var s=requestAnimationFrame,d=cancelAnimationFrame,u=o.animationFrameProvider.delegate;u&&(s=u.requestAnimationFrame,d=u.cancelAnimationFrame);var p=s(function(v){d=void 0,m(v)});return new g.Subscription(function(){return d?.(p)})},requestAnimationFrame:function(){for(var m=[],s=0;s<arguments.length;s++)m[s]=arguments[s];var d=o.animationFrameProvider.delegate;return(d?.requestAnimationFrame||requestAnimationFrame).apply(void 0,a([],n(m)))},cancelAnimationFrame:function(){for(var m=[],s=0;s<arguments.length;s++)m[s]=arguments[s];var d=o.animationFrameProvider.delegate;return(d?.cancelAnimationFrame||cancelAnimationFrame).apply(void 0,a([],n(m)))},delegate:void 0}},6842:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.asap=o.asapScheduler=void 0;var n=c(3262),a=c(4027);o.asapScheduler=new a.AsapScheduler(n.AsapAction),o.asap=o.asapScheduler},9106:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.async=o.asyncScheduler=void 0;var n=c(63),a=c(3104);o.asyncScheduler=new a.AsyncScheduler(n.AsyncAction),o.async=o.asyncScheduler},1937:(Z,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}},6494:function(Z,o,c){"use strict";var n=this&&this.__read||function(d,u){var p="function"==typeof Symbol&&d[Symbol.iterator];if(!p)return d;var f,b,v=p.call(d),y=[];try{for(;(void 0===u||u-- >0)&&!(f=v.next()).done;)y.push(f.value)}catch(_){b={error:_}}finally{try{f&&!f.done&&(p=v.return)&&p.call(v)}finally{if(b)throw b.error}}return y},a=this&&this.__spreadArray||function(d,u){for(var p=0,v=u.length,f=d.length;p<v;p++,f++)d[f]=u[p];return d};Object.defineProperty(o,"__esModule",{value:!0}),o.immediateProvider=void 0;var g=c(3643),m=g.Immediate.setImmediate,s=g.Immediate.clearImmediate;o.immediateProvider={setImmediate:function(){for(var d=[],u=0;u<arguments.length;u++)d[u]=arguments[u];var p=o.immediateProvider.delegate;return(p?.setImmediate||m).apply(void 0,a([],n(d)))},clearImmediate:function(d){var u=o.immediateProvider.delegate;return(u?.clearImmediate||s)(d)},delegate:void 0}},7246:function(Z,o){"use strict";var c=this&&this.__read||function(a,g){var m="function"==typeof Symbol&&a[Symbol.iterator];if(!m)return a;var d,p,s=m.call(a),u=[];try{for(;(void 0===g||g-- >0)&&!(d=s.next()).done;)u.push(d.value)}catch(v){p={error:v}}finally{try{d&&!d.done&&(m=s.return)&&m.call(s)}finally{if(p)throw p.error}}return u},n=this&&this.__spreadArray||function(a,g){for(var m=0,s=g.length,d=a.length;m<s;m++,d++)a[d]=g[m];return a};Object.defineProperty(o,"__esModule",{value:!0}),o.intervalProvider=void 0,o.intervalProvider={setInterval:function(a,g){for(var m=[],s=2;s<arguments.length;s++)m[s-2]=arguments[s];var d=o.intervalProvider.delegate;return d?.setInterval?d.setInterval.apply(d,n([a,g],c(m))):setInterval.apply(void 0,n([a,g],c(m)))},clearInterval:function(a){var g=o.intervalProvider.delegate;return(g?.clearInterval||clearInterval)(a)},delegate:void 0}},9118:(Z,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}},3931:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.queue=o.queueScheduler=void 0;var n=c(3460),a=c(2091);o.queueScheduler=new a.QueueScheduler(n.QueueAction),o.queue=o.queueScheduler},3410:function(Z,o){"use strict";var c=this&&this.__read||function(a,g){var m="function"==typeof Symbol&&a[Symbol.iterator];if(!m)return a;var d,p,s=m.call(a),u=[];try{for(;(void 0===g||g-- >0)&&!(d=s.next()).done;)u.push(d.value)}catch(v){p={error:v}}finally{try{d&&!d.done&&(m=s.return)&&m.call(s)}finally{if(p)throw p.error}}return u},n=this&&this.__spreadArray||function(a,g){for(var m=0,s=g.length,d=a.length;m<s;m++,d++)a[d]=g[m];return a};Object.defineProperty(o,"__esModule",{value:!0}),o.timeoutProvider=void 0,o.timeoutProvider={setTimeout:function(a,g){for(var m=[],s=2;s<arguments.length;s++)m[s-2]=arguments[s];var d=o.timeoutProvider.delegate;return d?.setTimeout?d.setTimeout.apply(d,n([a,g],c(m))):setTimeout.apply(void 0,n([a,g],c(m)))},clearTimeout:function(a){var g=o.timeoutProvider.delegate;return(g?.clearTimeout||clearTimeout)(a)},delegate:void 0}},5900:(Z,o)=>{"use strict";function c(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}Object.defineProperty(o,"__esModule",{value:!0}),o.iterator=o.getSymbolIterator=void 0,o.getSymbolIterator=c,o.iterator=c()},2289:(Z,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.observable=void 0,o.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"},1728:(Z,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0})},4936:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ArgumentOutOfRangeError=void 0;var n=c(508);o.ArgumentOutOfRangeError=n.createErrorClass(function(a){return function(){a(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"}})},6159:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.EmptyError=void 0;var n=c(508);o.EmptyError=n.createErrorClass(function(a){return function(){a(this),this.name="EmptyError",this.message="no elements in sequence"}})},3643:(Z,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.TestTools=o.Immediate=void 0;var n,c=1,a={};function g(m){return m in a&&(delete a[m],!0)}o.Immediate={setImmediate:function(m){var s=c++;return a[s]=!0,n||(n=Promise.resolve()),n.then(function(){return g(s)&&m()}),s},clearImmediate:function(m){g(m)}},o.TestTools={pending:function(){return Object.keys(a).length}}},3811:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.NotFoundError=void 0;var n=c(508);o.NotFoundError=n.createErrorClass(function(a){return function(m){a(this),this.name="NotFoundError",this.message=m}})},5499:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ObjectUnsubscribedError=void 0;var n=c(508);o.ObjectUnsubscribedError=n.createErrorClass(function(a){return function(){a(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})},833:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.SequenceError=void 0;var n=c(508);o.SequenceError=n.createErrorClass(function(a){return function(m){a(this),this.name="SequenceError",this.message=m}})},1490:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.UnsubscriptionError=void 0;var n=c(508);o.UnsubscriptionError=n.createErrorClass(function(a){return function(m){a(this),this.message=m?m.length+" errors occurred during unsubscription:\n"+m.map(function(s,d){return d+1+") "+s.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=m}})},160:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.popNumber=o.popScheduler=o.popResultSelector=void 0;var n=c(1860),a=c(1832);function g(u){return u[u.length-1]}o.popResultSelector=function m(u){return n.isFunction(g(u))?u.pop():void 0},o.popScheduler=function s(u){return a.isScheduler(g(u))?u.pop():void 0},o.popNumber=function d(u,p){return"number"==typeof g(u)?u.pop():p}},9422:(Z,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.argsArgArrayOrObject=void 0;var c=Array.isArray,n=Object.getPrototypeOf,a=Object.prototype,g=Object.keys;o.argsArgArrayOrObject=function m(d){if(1===d.length){var u=d[0];if(c(u))return{args:u,keys:null};if(function s(d){return d&&"object"==typeof d&&n(d)===a}(u)){var p=g(u);return{args:p.map(function(v){return u[v]}),keys:p}}}return{args:d,keys:null}}},7308:(Z,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.argsOrArgArray=void 0;var c=Array.isArray;o.argsOrArgArray=function n(a){return 1===a.length&&c(a[0])?a[0]:a}},4615:(Z,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.arrRemove=void 0,o.arrRemove=function c(n,a){if(n){var g=n.indexOf(a);0<=g&&n.splice(g,1)}}},508:(Z,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.createErrorClass=void 0,o.createErrorClass=function c(n){var g=n(function(m){Error.call(m),m.stack=(new Error).stack});return g.prototype=Object.create(Error.prototype),g.prototype.constructor=g,g}},604:(Z,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.createObject=void 0,o.createObject=function c(n,a){return n.reduce(function(g,m,s){return g[m]=a[s],g},{})}},7525:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.captureError=o.errorContext=void 0;var n=c(2528),a=null;o.errorContext=function g(s){if(n.config.useDeprecatedSynchronousErrorHandling){var d=!a;if(d&&(a={errorThrown:!1,error:null}),s(),d){var u=a;if(a=null,u.errorThrown)throw u.error}}else s()},o.captureError=function m(s){n.config.useDeprecatedSynchronousErrorHandling&&a&&(a.errorThrown=!0,a.error=s)}},7642:(Z,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.executeSchedule=void 0,o.executeSchedule=function c(n,a,g,m,s){void 0===m&&(m=0),void 0===s&&(s=!1);var d=a.schedule(function(){g(),s?n.add(this.schedule(null,m)):this.unsubscribe()},m);if(n.add(d),!s)return d}},7288:(Z,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.identity=void 0,o.identity=function c(n){return n}},1692:(Z,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isArrayLike=void 0,o.isArrayLike=function(c){return c&&"number"==typeof c.length&&"function"!=typeof c}},8474:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isAsyncIterable=void 0;var n=c(1860);o.isAsyncIterable=function a(g){return Symbol.asyncIterator&&n.isFunction(g?.[Symbol.asyncIterator])}},7053:(Z,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isValidDate=void 0,o.isValidDate=function c(n){return n instanceof Date&&!isNaN(n)}},1860:(Z,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isFunction=void 0,o.isFunction=function c(n){return"function"==typeof n}},3593:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isInteropObservable=void 0;var n=c(2289),a=c(1860);o.isInteropObservable=function g(m){return a.isFunction(m[n.observable])}},5754:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isIterable=void 0;var n=c(5900),a=c(1860);o.isIterable=function g(m){return a.isFunction(m?.[n.iterator])}},8447:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isObservable=void 0;var n=c(7072),a=c(1860);o.isObservable=function g(m){return!!m&&(m instanceof n.Observable||a.isFunction(m.lift)&&a.isFunction(m.subscribe))}},7035:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isPromise=void 0;var n=c(1860);o.isPromise=function a(g){return n.isFunction(g?.then)}},7307:function(Z,o,c){"use strict";var n=this&&this.__generator||function(u,p){var f,y,b,_,v={label:0,sent:function(){if(1&b[0])throw b[1];return b[1]},trys:[],ops:[]};return _={next:w(0),throw:w(1),return:w(2)},"function"==typeof Symbol&&(_[Symbol.iterator]=function(){return this}),_;function w(R){return function(M){return function A(R){if(f)throw new TypeError("Generator is already executing.");for(;v;)try{if(f=1,y&&(b=2&R[0]?y.return:R[0]?y.throw||((b=y.return)&&b.call(y),0):y.next)&&!(b=b.call(y,R[1])).done)return b;switch(y=0,b&&(R=[2&R[0],b.value]),R[0]){case 0:case 1:b=R;break;case 4:return v.label++,{value:R[1],done:!1};case 5:v.label++,y=R[1],R=[0];continue;case 7:R=v.ops.pop(),v.trys.pop();continue;default:if(!(b=(b=v.trys).length>0&&b[b.length-1])&&(6===R[0]||2===R[0])){v=0;continue}if(3===R[0]&&(!b||R[1]>b[0]&&R[1]<b[3])){v.label=R[1];break}if(6===R[0]&&v.label<b[1]){v.label=b[1],b=R;break}if(b&&v.label<b[2]){v.label=b[2],v.ops.push(R);break}b[2]&&v.ops.pop(),v.trys.pop();continue}R=p.call(u,v)}catch(M){R=[6,M],y=0}finally{f=b=0}if(5&R[0])throw R[1];return{value:R[0]?R[1]:void 0,done:!0}}([R,M])}}},a=this&&this.__await||function(u){return this instanceof a?(this.v=u,this):new a(u)},g=this&&this.__asyncGenerator||function(u,p,v){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var y,f=v.apply(u,p||[]),b=[];return y={},_("next"),_("throw"),_("return"),y[Symbol.asyncIterator]=function(){return this},y;function _($){f[$]&&(y[$]=function(ne){return new Promise(function(z,K){b.push([$,ne,z,K])>1||w($,ne)})})}function w($,ne){try{!function A($){$.value instanceof a?Promise.resolve($.value.v).then(R,M):Y(b[0][2],$)}(f[$](ne))}catch(z){Y(b[0][3],z)}}function R($){w("next",$)}function M($){w("throw",$)}function Y($,ne){$(ne),b.shift(),b.length&&w(b[0][0],b[0][1])}};Object.defineProperty(o,"__esModule",{value:!0}),o.isReadableStreamLike=o.readableStreamLikeToAsyncGenerator=void 0;var m=c(1860);o.readableStreamLikeToAsyncGenerator=function s(u){return g(this,arguments,function(){var v,f,y;return n(this,function(_){switch(_.label){case 0:v=u.getReader(),_.label=1;case 1:_.trys.push([1,,9,10]),_.label=2;case 2:return[4,a(v.read())];case 3:return f=_.sent(),y=f.value,f.done?[4,a(void 0)]:[3,5];case 4:return[2,_.sent()];case 5:return[4,a(y)];case 6:return[4,_.sent()];case 7:return _.sent(),[3,2];case 8:return[3,10];case 9:return v.releaseLock(),[7];case 10:return[2]}})})},o.isReadableStreamLike=function d(u){return m.isFunction(u?.getReader)}},1832:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isScheduler=void 0;var n=c(1860);o.isScheduler=function a(g){return g&&n.isFunction(g.schedule)}},5145:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.operate=o.hasLift=void 0;var n=c(1860);function a(m){return n.isFunction(m?.lift)}o.hasLift=a,o.operate=function g(m){return function(s){if(a(s))return s.lift(function(d){try{return m(d,this)}catch(u){this.error(u)}});throw new TypeError("Unable to lift unknown Observable type")}}},9349:function(Z,o,c){"use strict";var n=this&&this.__read||function(u,p){var v="function"==typeof Symbol&&u[Symbol.iterator];if(!v)return u;var y,_,f=v.call(u),b=[];try{for(;(void 0===p||p-- >0)&&!(y=f.next()).done;)b.push(y.value)}catch(w){_={error:w}}finally{try{y&&!y.done&&(v=f.return)&&v.call(f)}finally{if(_)throw _.error}}return b},a=this&&this.__spreadArray||function(u,p){for(var v=0,f=p.length,y=u.length;v<f;v++,y++)u[y]=p[v];return u};Object.defineProperty(o,"__esModule",{value:!0}),o.mapOneOrManyArgs=void 0;var g=c(5970),m=Array.isArray;o.mapOneOrManyArgs=function d(u){return g.map(function(p){return function s(u,p){return m(p)?u.apply(void 0,a([],n(p))):u(p)}(u,p)})}},6048:(Z,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.noop=void 0,o.noop=function c(){}},1080:(Z,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.not=void 0,o.not=function c(n,a){return function(g,m){return!n.call(a,g,m)}}},3776:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.pipeFromArray=o.pipe=void 0;var n=c(7288);function g(m){return 0===m.length?n.identity:1===m.length?m[0]:function(d){return m.reduce(function(u,p){return p(u)},d)}}o.pipe=function a(){for(var m=[],s=0;s<arguments.length;s++)m[s]=arguments[s];return g(m)},o.pipeFromArray=g},9166:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.reportUnhandledError=void 0;var n=c(2528),a=c(3410);o.reportUnhandledError=function g(m){a.timeoutProvider.setTimeout(function(){var s=n.config.onUnhandledError;if(!s)throw m;s(m)})}},7116:(Z,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.createInvalidObservableTypeError=void 0,o.createInvalidObservableTypeError=function c(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.")}},5619:(Z,o,c)=>{"use strict";c.d(o,{X:()=>a});var n=c(8645);class a extends n.x{constructor(m){super(),this._value=m}get value(){return this.getValue()}_subscribe(m){const s=super._subscribe(m);return!s.closed&&m.next(this._value),s}getValue(){const{hasError:m,thrownError:s,_value:d}=this;if(m)throw s;return this._throwIfClosed(),d}next(m){super.next(this._value=m)}}},3018:(Z,o,c)=>{"use strict";c.d(o,{y:()=>f});var n=c(305),a=c(7394),g=c(4850),m=c(2737);var u=c(2653),p=c(4674),v=c(1441);let f=(()=>{class w{constructor(R){R&&(this._subscribe=R)}lift(R){const M=new w;return M.source=this,M.operator=R,M}subscribe(R,M,Y){const $=function _(w){return w&&w instanceof n.Lv||function b(w){return w&&(0,p.m)(w.next)&&(0,p.m)(w.error)&&(0,p.m)(w.complete)}(w)&&(0,a.Nn)(w)}(R)?R:new n.Hp(R,M,Y);return(0,v.x)(()=>{const{operator:ne,source:z}=this;$.add(ne?ne.call($,z):z?this._subscribe($):this._trySubscribe($))}),$}_trySubscribe(R){try{return this._subscribe(R)}catch(M){R.error(M)}}forEach(R,M){return new(M=y(M))((Y,$)=>{const ne=new n.Hp({next:z=>{try{R(z)}catch(K){$(K),ne.unsubscribe()}},error:$,complete:Y});this.subscribe(ne)})}_subscribe(R){var M;return null===(M=this.source)||void 0===M?void 0:M.subscribe(R)}[g.L](){return this}pipe(...R){return function d(w){return 0===w.length?m.y:1===w.length?w[0]:function(R){return w.reduce((M,Y)=>Y(M),R)}}(R)(this)}toPromise(R){return new(R=y(R))((M,Y)=>{let $;this.subscribe(ne=>$=ne,ne=>Y(ne),()=>M($))})}}return w.create=A=>new w(A),w})();function y(w){var A;return null!==(A=w??u.config.Promise)&&void 0!==A?A:Promise}},8645:(Z,o,c)=>{"use strict";c.d(o,{x:()=>u});var n=c(3018),a=c(7394);const m=(0,c(2306).d)(v=>function(){v(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var s=c(9039),d=c(1441);let u=(()=>{class v extends n.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(y){const b=new p(this,this);return b.operator=y,b}_throwIfClosed(){if(this.closed)throw new m}next(y){(0,d.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const b of this.currentObservers)b.next(y)}})}error(y){(0,d.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=y;const{observers:b}=this;for(;b.length;)b.shift().error(y)}})}complete(){(0,d.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:y}=this;for(;y.length;)y.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var y;return(null===(y=this.observers)||void 0===y?void 0:y.length)>0}_trySubscribe(y){return this._throwIfClosed(),super._trySubscribe(y)}_subscribe(y){return this._throwIfClosed(),this._checkFinalizedStatuses(y),this._innerSubscribe(y)}_innerSubscribe(y){const{hasError:b,isStopped:_,observers:w}=this;return b||_?a.Lc:(this.currentObservers=null,w.push(y),new a.w0(()=>{this.currentObservers=null,(0,s.P)(w,y)}))}_checkFinalizedStatuses(y){const{hasError:b,thrownError:_,isStopped:w}=this;b?y.error(_):w&&y.complete()}asObservable(){const y=new n.y;return y.source=this,y}}return v.create=(f,y)=>new p(f,y),v})();class p extends u{constructor(f,y){super(),this.destination=f,this.source=y}next(f){var y,b;null===(b=null===(y=this.destination)||void 0===y?void 0:y.next)||void 0===b||b.call(y,f)}error(f){var y,b;null===(b=null===(y=this.destination)||void 0===y?void 0:y.error)||void 0===b||b.call(y,f)}complete(){var f,y;null===(y=null===(f=this.destination)||void 0===f?void 0:f.complete)||void 0===y||y.call(f)}_subscribe(f){var y,b;return null!==(b=null===(y=this.source)||void 0===y?void 0:y.subscribe(f))&&void 0!==b?b:a.Lc}}},305:(Z,o,c)=>{"use strict";c.d(o,{Hp:()=>R,Lv:()=>b});var n=c(4674),a=c(7394),g=c(2653),m=c(3894),s=c(2420);const d=v("C",void 0,void 0);function v(z,K,de){return{kind:z,value:K,error:de}}var f=c(7599),y=c(1441);class b extends a.w0{constructor(K){super(),this.isStopped=!1,K?(this.destination=K,(0,a.Nn)(K)&&K.add(this)):this.destination=ne}static create(K,de,X){return new R(K,de,X)}next(K){this.isStopped?$(function p(z){return v("N",z,void 0)}(K),this):this._next(K)}error(K){this.isStopped?$(function u(z){return v("E",void 0,z)}(K),this):(this.isStopped=!0,this._error(K))}complete(){this.isStopped?$(d,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(K){this.destination.next(K)}_error(K){try{this.destination.error(K)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const _=Function.prototype.bind;function w(z,K){return _.call(z,K)}class A{constructor(K){this.partialObserver=K}next(K){const{partialObserver:de}=this;if(de.next)try{de.next(K)}catch(X){M(X)}}error(K){const{partialObserver:de}=this;if(de.error)try{de.error(K)}catch(X){M(X)}else M(K)}complete(){const{partialObserver:K}=this;if(K.complete)try{K.complete()}catch(de){M(de)}}}class R extends b{constructor(K,de,X){let fe;if(super(),(0,n.m)(K)||!K)fe={next:K??void 0,error:de??void 0,complete:X??void 0};else{let he;this&&g.config.useDeprecatedNextContext?(he=Object.create(K),he.unsubscribe=()=>this.unsubscribe(),fe={next:K.next&&w(K.next,he),error:K.error&&w(K.error,he),complete:K.complete&&w(K.complete,he)}):fe=K}this.destination=new A(fe)}}function M(z){g.config.useDeprecatedSynchronousErrorHandling?(0,y.O)(z):(0,m.h)(z)}function $(z,K){const{onStoppedNotification:de}=g.config;de&&f.z.setTimeout(()=>de(z,K))}const ne={closed:!0,next:s.Z,error:function Y(z){throw z},complete:s.Z}},7394:(Z,o,c)=>{"use strict";c.d(o,{Lc:()=>d,w0:()=>s,Nn:()=>u});var n=c(4674);const g=(0,c(2306).d)(v=>function(y){v(this),this.message=y?`${y.length} errors occurred during unsubscription:\n${y.map((b,_)=>`${_+1}) ${b.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=y});var m=c(9039);class s{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:y}=this;if(y)if(this._parentage=null,Array.isArray(y))for(const w of y)w.remove(this);else y.remove(this);const{initialTeardown:b}=this;if((0,n.m)(b))try{b()}catch(w){f=w instanceof g?w.errors:[w]}const{_finalizers:_}=this;if(_){this._finalizers=null;for(const w of _)try{p(w)}catch(A){f=f??[],A instanceof g?f=[...f,...A.errors]:f.push(A)}}if(f)throw new g(f)}}add(f){var y;if(f&&f!==this)if(this.closed)p(f);else{if(f instanceof s){if(f.closed||f._hasParent(this))return;f._addParent(this)}(this._finalizers=null!==(y=this._finalizers)&&void 0!==y?y:[]).push(f)}}_hasParent(f){const{_parentage:y}=this;return y===f||Array.isArray(y)&&y.includes(f)}_addParent(f){const{_parentage:y}=this;this._parentage=Array.isArray(y)?(y.push(f),y):y?[y,f]:f}_removeParent(f){const{_parentage:y}=this;y===f?this._parentage=null:Array.isArray(y)&&(0,m.P)(y,f)}remove(f){const{_finalizers:y}=this;y&&(0,m.P)(y,f),f instanceof s&&f._removeParent(this)}}s.EMPTY=(()=>{const v=new s;return v.closed=!0,v})();const d=s.EMPTY;function u(v){return v instanceof s||v&&"closed"in v&&(0,n.m)(v.remove)&&(0,n.m)(v.add)&&(0,n.m)(v.unsubscribe)}function p(v){(0,n.m)(v)?v():v.unsubscribe()}},2653:(Z,o,c)=>{"use strict";c.d(o,{config:()=>n});const n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},2572:(Z,o,c)=>{"use strict";c.d(o,{a:()=>f});var n=c(3018),a=c(7453),g=c(7715),m=c(2737),s=c(7400),d=c(9940),u=c(2714),p=c(8251),v=c(7103);function f(..._){const w=(0,d.yG)(_),A=(0,d.jO)(_),{args:R,keys:M}=(0,a.D)(_);if(0===R.length)return(0,g.D)([],w);const Y=new n.y(function y(_,w,A=m.y){return R=>{b(w,()=>{const{length:M}=_,Y=new Array(M);let $=M,ne=M;for(let z=0;z<M;z++)b(w,()=>{const K=(0,g.D)(_[z],w);let de=!1;K.subscribe((0,p.x)(R,X=>{Y[z]=X,de||(de=!0,ne--),ne||R.next(A(Y.slice()))},()=>{--$||R.complete()}))},R)},R)}}(R,w,M?$=>(0,u.n)(M,$):m.y));return A?Y.pipe((0,s.Z)(A)):Y}function b(_,w,A){_?(0,v.f)(A,_,w):w()}},5211:(Z,o,c)=>{"use strict";c.d(o,{z:()=>s});var n=c(7537),g=c(9940),m=c(7715);function s(...d){return function a(){return(0,n.J)(1)}()((0,m.D)(d,(0,g.yG)(d)))}},6232:(Z,o,c)=>{"use strict";c.d(o,{E:()=>a});const a=new(c(3018).y)(s=>s.complete())},9315:(Z,o,c)=>{"use strict";c.d(o,{D:()=>p});var n=c(3018),a=c(7453),g=c(4829),m=c(9940),s=c(8251),d=c(7400),u=c(2714);function p(...v){const f=(0,m.jO)(v),{args:y,keys:b}=(0,a.D)(v),_=new n.y(w=>{const{length:A}=y;if(!A)return void w.complete();const R=new Array(A);let M=A,Y=A;for(let $=0;$<A;$++){let ne=!1;(0,g.Xf)(y[$]).subscribe((0,s.x)(w,z=>{ne||(ne=!0,Y--),R[$]=z},()=>M--,void 0,()=>{(!M||!ne)&&(Y||w.next(b?(0,u.n)(b,R):R),w.complete())}))}});return f?_.pipe((0,d.Z)(f)):_}},7715:(Z,o,c)=>{"use strict";c.d(o,{D:()=>X});var n=c(4829),a=c(7103),g=c(9360),m=c(8251);function s(fe,he=0){return(0,g.e)((ot,we)=>{ot.subscribe((0,m.x)(we,tt=>(0,a.f)(we,fe,()=>we.next(tt),he),()=>(0,a.f)(we,fe,()=>we.complete(),he),tt=>(0,a.f)(we,fe,()=>we.error(tt),he)))})}function d(fe,he=0){return(0,g.e)((ot,we)=>{we.add(fe.schedule(()=>ot.subscribe(we),he))})}var v=c(3018),y=c(4971),b=c(4674);function w(fe,he){if(!fe)throw new Error("Iterable cannot be null");return new v.y(ot=>{(0,a.f)(ot,he,()=>{const we=fe[Symbol.asyncIterator]();(0,a.f)(ot,he,()=>{we.next().then(tt=>{tt.done?ot.complete():ot.next(tt.value)})},0,!0)})})}var A=c(8382),R=c(4026),M=c(4266),Y=c(3664),$=c(5726),ne=c(9853),z=c(541);function X(fe,he){return he?function de(fe,he){if(null!=fe){if((0,A.c)(fe))return function u(fe,he){return(0,n.Xf)(fe).pipe(d(he),s(he))}(fe,he);if((0,M.z)(fe))return function f(fe,he){return new v.y(ot=>{let we=0;return he.schedule(function(){we===fe.length?ot.complete():(ot.next(fe[we++]),ot.closed||this.schedule())})})}(fe,he);if((0,R.t)(fe))return function p(fe,he){return(0,n.Xf)(fe).pipe(d(he),s(he))}(fe,he);if((0,$.D)(fe))return w(fe,he);if((0,Y.T)(fe))return function _(fe,he){return new v.y(ot=>{let we;return(0,a.f)(ot,he,()=>{we=fe[y.h](),(0,a.f)(ot,he,()=>{let tt,nt;try{({value:tt,done:nt}=we.next())}catch(Se){return void ot.error(Se)}nt?ot.complete():ot.next(tt)},0,!0)}),()=>(0,b.m)(we?.return)&&we.return()})}(fe,he);if((0,z.L)(fe))return function K(fe,he){return w((0,z.Q)(fe),he)}(fe,he)}throw(0,ne.z)(fe)}(fe,he):(0,n.Xf)(fe)}},2438:(Z,o,c)=>{"use strict";c.d(o,{R:()=>f});var n=c(4829),a=c(3018),g=c(1631),m=c(4266),s=c(4674),d=c(7400);const u=["addListener","removeListener"],p=["addEventListener","removeEventListener"],v=["on","off"];function f(A,R,M,Y){if((0,s.m)(M)&&(Y=M,M=void 0),Y)return f(A,R,M).pipe((0,d.Z)(Y));const[$,ne]=function w(A){return(0,s.m)(A.addEventListener)&&(0,s.m)(A.removeEventListener)}(A)?p.map(z=>K=>A[z](R,K,M)):function b(A){return(0,s.m)(A.addListener)&&(0,s.m)(A.removeListener)}(A)?u.map(y(A,R)):function _(A){return(0,s.m)(A.on)&&(0,s.m)(A.off)}(A)?v.map(y(A,R)):[];if(!$&&(0,m.z)(A))return(0,g.z)(z=>f(z,R,M))((0,n.Xf)(A));if(!$)throw new TypeError("Invalid event target");return new a.y(z=>{const K=(...de)=>z.next(1<de.length?de:de[0]);return $(K),()=>ne(K)})}function y(A,R){return M=>Y=>A[M](R,Y)}},4829:(Z,o,c)=>{"use strict";c.d(o,{Xf:()=>_});var n=c(7582),a=c(4266),g=c(4026),m=c(3018),s=c(8382),d=c(5726),u=c(9853),p=c(3664),v=c(541),f=c(4674),y=c(3894),b=c(4850);function _(z){if(z instanceof m.y)return z;if(null!=z){if((0,s.c)(z))return function w(z){return new m.y(K=>{const de=z[b.L]();if((0,f.m)(de.subscribe))return de.subscribe(K);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(z);if((0,a.z)(z))return function A(z){return new m.y(K=>{for(let de=0;de<z.length&&!K.closed;de++)K.next(z[de]);K.complete()})}(z);if((0,g.t)(z))return function R(z){return new m.y(K=>{z.then(de=>{K.closed||(K.next(de),K.complete())},de=>K.error(de)).then(null,y.h)})}(z);if((0,d.D)(z))return Y(z);if((0,p.T)(z))return function M(z){return new m.y(K=>{for(const de of z)if(K.next(de),K.closed)return;K.complete()})}(z);if((0,v.L)(z))return function $(z){return Y((0,v.Q)(z))}(z)}throw(0,u.z)(z)}function Y(z){return new m.y(K=>{(function ne(z,K){var de,X,fe,he;return(0,n.__awaiter)(this,void 0,void 0,function*(){try{for(de=(0,n.__asyncValues)(z);!(X=yield de.next()).done;)if(K.next(X.value),K.closed)return}catch(ot){fe={error:ot}}finally{try{X&&!X.done&&(he=de.return)&&(yield he.call(de))}finally{if(fe)throw fe.error}}K.complete()})})(z,K).catch(de=>K.error(de))})}},3019:(Z,o,c)=>{"use strict";c.d(o,{T:()=>d});var n=c(7537),a=c(4829),g=c(6232),m=c(9940),s=c(7715);function d(...u){const p=(0,m.yG)(u),v=(0,m._6)(u,1/0),f=u;return f.length?1===f.length?(0,a.Xf)(f[0]):(0,n.J)(v)((0,s.D)(f,p)):g.E}},2096:(Z,o,c)=>{"use strict";c.d(o,{of:()=>g});var n=c(9940),a=c(7715);function g(...m){const s=(0,n.yG)(m);return(0,a.D)(m,s)}},4825:(Z,o,c)=>{"use strict";c.d(o,{H:()=>s});var n=c(3018),a=c(6321),g=c(671);function s(d=0,u,p=a.P){let v=-1;return null!=u&&((0,g.K)(u)?p=u:v=u),new n.y(f=>{let y=function m(d){return d instanceof Date&&!isNaN(d)}(d)?+d-p.now():d;y<0&&(y=0);let b=0;return p.schedule(function(){f.closed||(f.next(b++),0<=v?this.schedule(void 0,v):f.complete())},y)})}},8251:(Z,o,c)=>{"use strict";c.d(o,{x:()=>a});var n=c(305);function a(m,s,d,u,p){return new g(m,s,d,u,p)}class g extends n.Lv{constructor(s,d,u,p,v,f){super(s),this.onFinalize=v,this.shouldUnsubscribe=f,this._next=d?function(y){try{d(y)}catch(b){s.error(b)}}:super._next,this._error=p?function(y){try{p(y)}catch(b){s.error(b)}finally{this.unsubscribe()}}:super._error,this._complete=u?function(){try{u()}catch(y){s.error(y)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var s;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:d}=this;super.unsubscribe(),!d&&(null===(s=this.onFinalize)||void 0===s||s.call(this))}}}},3620:(Z,o,c)=>{"use strict";c.d(o,{b:()=>m});var n=c(6321),a=c(9360),g=c(8251);function m(s,d=n.z){return(0,a.e)((u,p)=>{let v=null,f=null,y=null;const b=()=>{if(v){v.unsubscribe(),v=null;const w=f;f=null,p.next(w)}};function _(){const w=y+s,A=d.now();if(A<w)return v=this.schedule(void 0,w-A),void p.add(v);b()}u.subscribe((0,g.x)(p,w=>{f=w,y=d.now(),v||(v=d.schedule(_,s),p.add(v))},()=>{b(),p.complete()},void 0,()=>{f=v=null}))})}},3997:(Z,o,c)=>{"use strict";c.d(o,{x:()=>m});var n=c(2737),a=c(9360),g=c(8251);function m(d,u=n.y){return d=d??s,(0,a.e)((p,v)=>{let f,y=!0;p.subscribe((0,g.x)(v,b=>{const _=u(b);(y||!d(f,_))&&(y=!1,f=_,v.next(b))}))})}function s(d,u){return d===u}},2181:(Z,o,c)=>{"use strict";c.d(o,{h:()=>g});var n=c(9360),a=c(8251);function g(m,s){return(0,n.e)((d,u)=>{let p=0;d.subscribe((0,a.x)(u,v=>m.call(s,v,p++)&&u.next(v)))})}},4716:(Z,o,c)=>{"use strict";c.d(o,{x:()=>a});var n=c(9360);function a(g){return(0,n.e)((m,s)=>{try{m.subscribe(s)}finally{s.add(g)}})}},2827:(Z,o,c)=>{"use strict";c.d(o,{P:()=>y});const a=(0,c(2306).d)(b=>function(){b(this),this.name="EmptyError",this.message="no elements in sequence"});var g=c(2181),m=c(8180),s=c(9360),d=c(8251);function p(b=v){return(0,s.e)((_,w)=>{let A=!1;_.subscribe((0,d.x)(w,R=>{A=!0,w.next(R)},()=>A?w.complete():w.error(b())))})}function v(){return new a}var f=c(2737);function y(b,_){const w=arguments.length>=2;return A=>A.pipe(b?(0,g.h)((R,M)=>b(R,M,A)):f.y,(0,m.q)(1),w?function u(b){return(0,s.e)((_,w)=>{let A=!1;_.subscribe((0,d.x)(w,R=>{A=!0,w.next(R)},()=>{A||w.next(b),w.complete()}))})}(_):p(()=>new a))}},7398:(Z,o,c)=>{"use strict";c.d(o,{U:()=>g});var n=c(9360),a=c(8251);function g(m,s){return(0,n.e)((d,u)=>{let p=0;d.subscribe((0,a.x)(u,v=>{u.next(m.call(s,v,p++))}))})}},7537:(Z,o,c)=>{"use strict";c.d(o,{J:()=>g});var n=c(1631),a=c(2737);function g(m=1/0){return(0,n.z)(a.y,m)}},1631:(Z,o,c)=>{"use strict";c.d(o,{z:()=>p});var n=c(7398),a=c(4829),g=c(9360),m=c(7103),s=c(8251),u=c(4674);function p(v,f,y=1/0){return(0,u.m)(f)?p((b,_)=>(0,n.U)((w,A)=>f(b,w,_,A))((0,a.Xf)(v(b,_))),y):("number"==typeof f&&(y=f),(0,g.e)((b,_)=>function d(v,f,y,b,_,w,A,R){const M=[];let Y=0,$=0,ne=!1;const z=()=>{ne&&!M.length&&!Y&&f.complete()},K=X=>Y<b?de(X):M.push(X),de=X=>{w&&f.next(X),Y++;let fe=!1;(0,a.Xf)(y(X,$++)).subscribe((0,s.x)(f,he=>{_?.(he),w?K(he):f.next(he)},()=>{fe=!0},void 0,()=>{if(fe)try{for(Y--;M.length&&Y<b;){const he=M.shift();A?(0,m.f)(f,A,()=>de(he)):de(he)}z()}catch(he){f.error(he)}}))};return v.subscribe((0,s.x)(f,K,()=>{ne=!0,z()})),()=>{R?.()}}(b,_,v,y)))}},3020:(Z,o,c)=>{"use strict";c.d(o,{B:()=>s});var n=c(4829),a=c(8645),g=c(305),m=c(9360);function s(u={}){const{connector:p=(()=>new a.x),resetOnError:v=!0,resetOnComplete:f=!0,resetOnRefCountZero:y=!0}=u;return b=>{let _,w,A,R=0,M=!1,Y=!1;const $=()=>{w?.unsubscribe(),w=void 0},ne=()=>{$(),_=A=void 0,M=Y=!1},z=()=>{const K=_;ne(),K?.unsubscribe()};return(0,m.e)((K,de)=>{R++,!Y&&!M&&$();const X=A=A??p();de.add(()=>{R--,0===R&&!Y&&!M&&(w=d(z,y))}),X.subscribe(de),!_&&R>0&&(_=new g.Hp({next:fe=>X.next(fe),error:fe=>{Y=!0,$(),w=d(ne,v,fe),X.error(fe)},complete:()=>{M=!0,$(),w=d(ne,f),X.complete()}}),(0,n.Xf)(K).subscribe(_))})(b)}}function d(u,p,...v){if(!0===p)return void u();if(!1===p)return;const f=new g.Hp({next:()=>{f.unsubscribe(),u()}});return(0,n.Xf)(p(...v)).subscribe(f)}},836:(Z,o,c)=>{"use strict";c.d(o,{T:()=>a});var n=c(2181);function a(g){return(0,n.h)((m,s)=>g<=s)}},7921:(Z,o,c)=>{"use strict";c.d(o,{O:()=>m});var n=c(5211),a=c(9940),g=c(9360);function m(...s){const d=(0,a.yG)(s);return(0,g.e)((u,p)=>{(d?(0,n.z)(s,u,d):(0,n.z)(s,u)).subscribe(p)})}},4664:(Z,o,c)=>{"use strict";c.d(o,{w:()=>m});var n=c(4829),a=c(9360),g=c(8251);function m(s,d){return(0,a.e)((u,p)=>{let v=null,f=0,y=!1;const b=()=>y&&!v&&p.complete();u.subscribe((0,g.x)(p,_=>{v?.unsubscribe();let w=0;const A=f++;(0,n.Xf)(s(_,A)).subscribe(v=(0,g.x)(p,R=>p.next(d?d(_,R,A,w++):R),()=>{v=null,b()}))},()=>{y=!0,b()}))})}},8180:(Z,o,c)=>{"use strict";c.d(o,{q:()=>m});var n=c(6232),a=c(9360),g=c(8251);function m(s){return s<=0?()=>n.E:(0,a.e)((d,u)=>{let p=0;d.subscribe((0,g.x)(u,v=>{++p<=s&&(u.next(v),s<=p&&u.complete())}))})}},9773:(Z,o,c)=>{"use strict";c.d(o,{R:()=>s});var n=c(9360),a=c(8251),g=c(4829),m=c(2420);function s(d){return(0,n.e)((u,p)=>{(0,g.Xf)(d).subscribe((0,a.x)(p,()=>p.complete(),m.Z)),!p.closed&&u.subscribe(p)})}},9397:(Z,o,c)=>{"use strict";c.d(o,{b:()=>s});var n=c(4674),a=c(9360),g=c(8251),m=c(2737);function s(d,u,p){const v=(0,n.m)(d)||u||p?{next:d,error:u,complete:p}:d;return v?(0,a.e)((f,y)=>{var b;null===(b=v.subscribe)||void 0===b||b.call(v);let _=!0;f.subscribe((0,g.x)(y,w=>{var A;null===(A=v.next)||void 0===A||A.call(v,w),y.next(w)},()=>{var w;_=!1,null===(w=v.complete)||void 0===w||w.call(v),y.complete()},w=>{var A;_=!1,null===(A=v.error)||void 0===A||A.call(v,w),y.error(w)},()=>{var w,A;_&&(null===(w=v.unsubscribe)||void 0===w||w.call(v)),null===(A=v.finalize)||void 0===A||A.call(v)}))}):m.y}},1954:(Z,o,c)=>{"use strict";c.d(o,{o:()=>s});var n=c(7394);class a extends n.w0{constructor(u,p){super()}schedule(u,p=0){return this}}const g={setInterval(d,u,...p){const{delegate:v}=g;return v?.setInterval?v.setInterval(d,u,...p):setInterval(d,u,...p)},clearInterval(d){const{delegate:u}=g;return(u?.clearInterval||clearInterval)(d)},delegate:void 0};var m=c(9039);class s extends a{constructor(u,p){super(u,p),this.scheduler=u,this.work=p,this.pending=!1}schedule(u,p=0){var v;if(this.closed)return this;this.state=u;const f=this.id,y=this.scheduler;return null!=f&&(this.id=this.recycleAsyncId(y,f,p)),this.pending=!0,this.delay=p,this.id=null!==(v=this.id)&&void 0!==v?v:this.requestAsyncId(y,this.id,p),this}requestAsyncId(u,p,v=0){return g.setInterval(u.flush.bind(u,this),v)}recycleAsyncId(u,p,v=0){if(null!=v&&this.delay===v&&!1===this.pending)return p;null!=p&&g.clearInterval(p)}execute(u,p){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const v=this._execute(u,p);if(v)return v;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(u,p){let f,v=!1;try{this.work(u)}catch(y){v=!0,f=y||new Error("Scheduled action threw falsy error")}if(v)return this.unsubscribe(),f}unsubscribe(){if(!this.closed){const{id:u,scheduler:p}=this,{actions:v}=p;this.work=this.state=this.scheduler=null,this.pending=!1,(0,m.P)(v,this),null!=u&&(this.id=this.recycleAsyncId(p,u,null)),this.delay=null,super.unsubscribe()}}}},9931:(Z,o,c)=>{"use strict";c.d(o,{v:()=>g});const n={now:()=>(n.delegate||Date).now(),delegate:void 0};class a{constructor(s,d=a.now){this.schedulerActionCtor=s,this.now=d}schedule(s,d=0,u){return new this.schedulerActionCtor(this,s).schedule(u,d)}}a.now=n.now;class g extends a{constructor(s,d=a.now){super(s,d),this.actions=[],this._active=!1}flush(s){const{actions:d}=this;if(this._active)return void d.push(s);let u;this._active=!0;do{if(u=s.execute(s.state,s.delay))break}while(s=d.shift());if(this._active=!1,u){for(;s=d.shift();)s.unsubscribe();throw u}}}},6410:(Z,o,c)=>{"use strict";c.d(o,{E:()=>w});var n=c(1954);let g,a=1;const m={};function s(R){return R in m&&(delete m[R],!0)}const d={setImmediate(R){const M=a++;return m[M]=!0,g||(g=Promise.resolve()),g.then(()=>s(M)&&R()),M},clearImmediate(R){s(R)}},{setImmediate:p,clearImmediate:v}=d,f={setImmediate(...R){const{delegate:M}=f;return(M?.setImmediate||p)(...R)},clearImmediate(R){const{delegate:M}=f;return(M?.clearImmediate||v)(R)},delegate:void 0};var b=c(9931);const w=new class _ extends b.v{flush(M){this._active=!0;const Y=this._scheduled;this._scheduled=void 0;const{actions:$}=this;let ne;M=M||$.shift();do{if(ne=M.execute(M.state,M.delay))break}while((M=$[0])&&M.id===Y&&$.shift());if(this._active=!1,ne){for(;(M=$[0])&&M.id===Y&&$.shift();)M.unsubscribe();throw ne}}}(class y extends n.o{constructor(M,Y){super(M,Y),this.scheduler=M,this.work=Y}requestAsyncId(M,Y,$=0){return null!==$&&$>0?super.requestAsyncId(M,Y,$):(M.actions.push(this),M._scheduled||(M._scheduled=f.setImmediate(M.flush.bind(M,void 0))))}recycleAsyncId(M,Y,$=0){var ne;if(null!=$?$>0:this.delay>0)return super.recycleAsyncId(M,Y,$);const{actions:z}=M;null!=Y&&(null===(ne=z[z.length-1])||void 0===ne?void 0:ne.id)!==Y&&(f.clearImmediate(Y),M._scheduled===Y&&(M._scheduled=void 0))}})},6321:(Z,o,c)=>{"use strict";c.d(o,{P:()=>m,z:()=>g});var n=c(1954);const g=new(c(9931).v)(n.o),m=g},7599:(Z,o,c)=>{"use strict";c.d(o,{z:()=>n});const n={setTimeout(a,g,...m){const{delegate:s}=n;return s?.setTimeout?s.setTimeout(a,g,...m):setTimeout(a,g,...m)},clearTimeout(a){const{delegate:g}=n;return(g?.clearTimeout||clearTimeout)(a)},delegate:void 0}},4971:(Z,o,c)=>{"use strict";c.d(o,{h:()=>a});const a=function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(Z,o,c)=>{"use strict";c.d(o,{L:()=>n});const n="function"==typeof Symbol&&Symbol.observable||"@@observable"},9940:(Z,o,c)=>{"use strict";c.d(o,{_6:()=>d,jO:()=>m,yG:()=>s});var n=c(4674),a=c(671);function g(u){return u[u.length-1]}function m(u){return(0,n.m)(g(u))?u.pop():void 0}function s(u){return(0,a.K)(g(u))?u.pop():void 0}function d(u,p){return"number"==typeof g(u)?u.pop():p}},7453:(Z,o,c)=>{"use strict";c.d(o,{D:()=>s});const{isArray:n}=Array,{getPrototypeOf:a,prototype:g,keys:m}=Object;function s(u){if(1===u.length){const p=u[0];if(n(p))return{args:p,keys:null};if(function d(u){return u&&"object"==typeof u&&a(u)===g}(p)){const v=m(p);return{args:v.map(f=>p[f]),keys:v}}}return{args:u,keys:null}}},9039:(Z,o,c)=>{"use strict";function n(a,g){if(a){const m=a.indexOf(g);0<=m&&a.splice(m,1)}}c.d(o,{P:()=>n})},2306:(Z,o,c)=>{"use strict";function n(a){const m=a(s=>{Error.call(s),s.stack=(new Error).stack});return m.prototype=Object.create(Error.prototype),m.prototype.constructor=m,m}c.d(o,{d:()=>n})},2714:(Z,o,c)=>{"use strict";function n(a,g){return a.reduce((m,s,d)=>(m[s]=g[d],m),{})}c.d(o,{n:()=>n})},1441:(Z,o,c)=>{"use strict";c.d(o,{O:()=>m,x:()=>g});var n=c(2653);let a=null;function g(s){if(n.config.useDeprecatedSynchronousErrorHandling){const d=!a;if(d&&(a={errorThrown:!1,error:null}),s(),d){const{errorThrown:u,error:p}=a;if(a=null,u)throw p}}else s()}function m(s){n.config.useDeprecatedSynchronousErrorHandling&&a&&(a.errorThrown=!0,a.error=s)}},7103:(Z,o,c)=>{"use strict";function n(a,g,m,s=0,d=!1){const u=g.schedule(function(){m(),d?a.add(this.schedule(null,s)):this.unsubscribe()},s);if(a.add(u),!d)return u}c.d(o,{f:()=>n})},2737:(Z,o,c)=>{"use strict";function n(a){return a}c.d(o,{y:()=>n})},4266:(Z,o,c)=>{"use strict";c.d(o,{z:()=>n});const n=a=>a&&"number"==typeof a.length&&"function"!=typeof a},5726:(Z,o,c)=>{"use strict";c.d(o,{D:()=>a});var n=c(4674);function a(g){return Symbol.asyncIterator&&(0,n.m)(g?.[Symbol.asyncIterator])}},4674:(Z,o,c)=>{"use strict";function n(a){return"function"==typeof a}c.d(o,{m:()=>n})},8382:(Z,o,c)=>{"use strict";c.d(o,{c:()=>g});var n=c(4850),a=c(4674);function g(m){return(0,a.m)(m[n.L])}},3664:(Z,o,c)=>{"use strict";c.d(o,{T:()=>g});var n=c(4971),a=c(4674);function g(m){return(0,a.m)(m?.[n.h])}},4026:(Z,o,c)=>{"use strict";c.d(o,{t:()=>a});var n=c(4674);function a(g){return(0,n.m)(g?.then)}},541:(Z,o,c)=>{"use strict";c.d(o,{L:()=>m,Q:()=>g});var n=c(7582),a=c(4674);function g(s){return(0,n.__asyncGenerator)(this,arguments,function*(){const u=s.getReader();try{for(;;){const{value:p,done:v}=yield(0,n.__await)(u.read());if(v)return yield(0,n.__await)(void 0);yield yield(0,n.__await)(p)}}finally{u.releaseLock()}})}function m(s){return(0,a.m)(s?.getReader)}},671:(Z,o,c)=>{"use strict";c.d(o,{K:()=>a});var n=c(4674);function a(g){return g&&(0,n.m)(g.schedule)}},9360:(Z,o,c)=>{"use strict";c.d(o,{A:()=>a,e:()=>g});var n=c(4674);function a(m){return(0,n.m)(m?.lift)}function g(m){return s=>{if(a(s))return s.lift(function(d){try{return m(d,this)}catch(u){this.error(u)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(Z,o,c)=>{"use strict";c.d(o,{Z:()=>m});var n=c(7398);const{isArray:a}=Array;function m(s){return(0,n.U)(d=>function g(s,d){return a(d)?s(...d):s(d)}(s,d))}},2420:(Z,o,c)=>{"use strict";function n(){}c.d(o,{Z:()=>n})},3894:(Z,o,c)=>{"use strict";c.d(o,{h:()=>g});var n=c(2653),a=c(7599);function g(m){a.z.setTimeout(()=>{const{onUnhandledError:s}=n.config;if(!s)throw m;s(m)})}},9853:(Z,o,c)=>{"use strict";function n(a){return new TypeError(`You provided ${null!==a&&"object"==typeof a?"an invalid object":`'${a}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}c.d(o,{z:()=>n})},1267:(Z,o,c)=>{"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=c(6325);function a(_){switch(_.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`${a(_.base)}?`;case n.ArrayType:return`[${a(_.base)}]`;case n.StructType:case n.EnumType:return`API.${_.name}`;case n.TypeReference:return a(_.type);default:throw new Error(`BUG: generateSwiftTypeName with ${_.constructor.name}`)}}function g(_){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(_)?`_${_}`:_}function m(_,w){switch(_.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`${w}`;case n.OptionalType:return`${w} == nil ? nil : ${m(_.base,`${w}!`)}`;case n.DatePrimitiveType:return`SdkgenHelper.encodeDate(date: ${w})`;case n.DateTimePrimitiveType:return`SdkgenHelper.encodeDateTime(date: ${w})`;case n.EnumType:return`${w}.rawValue`;case n.TypeReference:return`${m(_.type,`${w}`)}`;case n.StructType:return`${w}.toJSON()`;case n.ArrayType:return`${w}.map({ return ${m(_.base,"$0")} })`;case n.JsonPrimitiveType:return`try? ${w}.toJson()`;case n.VoidPrimitiveType:return"nil";case n.BytesPrimitiveType:return`${w}.base64EncodedString()`;default:throw new Error(`BUG: No result found for generateJsonRepresentation with ${_.constructor.name}`)}}o.generateSwiftTypeName=a,o.mangle=g,o.generateJsonRepresentation=m,o.generateEnum=function s(_){let w=` public enum ${_.name}: String, Codable {\n`;return w+=_.values.map(A=>` case ${g(A.value)} = "${A.value}"`).join("\n"),w+="\n }\n",w},o.generateErrorType=function d(_){let w=" public enum ErrorType: String, Codable {\n";return w+=_.map(A=>` case ${g(A)} = "${A}"`).join("\n"),w+="\n }\n",w},o.generateClass=function v(_){return` public struct ${_.name}: Codable {\n${_.fields.map(w=>` var ${g(w.name)}: ${a(w.type)}`).join("\n")}\n\n${function u(_){let w=" init(";return w+=_.fields.map(A=>`${g(A.name)}: ${a(A.type)}`).join(", "),w+=") {\n",w+=_.fields.map(A=>` self.${g(A.name)} = ${g(A.name)}`).join("\n"),w+="\n }\n",w}(_)}\n${function p(_){let w=" func toJSON() -> [String: Any] {\n";return w+=" var json = [String: Any]()\n",w+=_.fields.map(A=>` json["${g(A.name)}"] = ${m(A.type,A.name)}`).join("\n"),w+="\n return json",w+="\n }\n",w}(_)}\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 y(_){const w=_.args.map(A=>`${g(A.name)}: ${a(A.type)}`).concat(["timeoutSeconds: Double?",`callback: ((_ result: ${_.returnType instanceof n.VoidPrimitiveType?"API.Result<API.NoReply>":`API.Result<${a(_.returnType)}>`}) -> Void)?`]);return` func ${g(_.name)}(${w.join(", ")})`},o.generateRxMethod=function b(_){const w=_.args.map(R=>`${g(R.name)}: ${a(R.type)}`).concat(["timeoutSeconds: Double? = nil"]);let A=` static func ${g(_.name)}(${w.join(", ")}) -> ${_.returnType instanceof n.VoidPrimitiveType?"Observable<API.Result<API.NoReply>>":`Observable<API.Result<${a(_.returnType)}>>`} {\n`;return A+=" return Observable.create { observer -> Disposable in\n",A+=` API.calls.${g(_.name)}(${_.args.map(R=>`${g(R.name)}: ${g(R.name)}`).concat(["timeoutSeconds: timeoutSeconds"]).join(", ")}) { result in \n`,A+=" observer.on(.next(result))\n",A+=" observer.on(.completed)\n",A+=" }\n",A+=" return Disposables.create()\n",A+=" }\n",A+=" }\n",A}},3191:function(Z,o,c){"use strict";var n=this&&this.__createBinding||(Object.create?function(g,m,s,d){void 0===d&&(d=s);var u=Object.getOwnPropertyDescriptor(m,s);(!u||("get"in u?!m.__esModule:u.writable||u.configurable))&&(u={enumerable:!0,get:function(){return m[s]}}),Object.defineProperty(g,d,u)}:function(g,m,s,d){void 0===d&&(d=s),g[d]=m[s]}),a=this&&this.__exportStar||function(g,m){for(var s in g)"default"!==s&&!Object.prototype.hasOwnProperty.call(m,s)&&n(m,g,s)};Object.defineProperty(o,"__esModule",{value:!0}),a(c(9757),o)},9757:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateSwiftClientSource=void 0;const n=c(6325),a=c(1267);o.generateSwiftClientSource=function g(m,s){let d="import Foundation\nimport SdkgenRuntime\n";d+=s?"import RxSwift\nimport RxCocoa\n\n":"\n",d+="protocol APICallsProtocol {\n",d+=m.operations.filter(v=>v.annotations.every(f=>!(f instanceof n.HiddenAnnotation))).map(v=>`${(0,a.generateMethodSignature)(v)}`).join("\n"),d+="\n}\n\n",d+='class API: SdkgenResponse {\n\n static var calls = Calls(baseUrl: "")\n static var baseUrl: String? {\n didSet {\n self.calls = Calls(baseUrl: baseUrl ?? "")\n }\n }\n \n override init() {\n super.init()\n }\n\n';for(const v of m.enumTypes)d+=(0,a.generateEnum)(v),d+="\n";for(const v of m.structTypes)d+=(0,a.generateClass)(v),d+="\n";const u=[],p=new n.ErrorNode("Connection",new n.VoidPrimitiveType);u.push(p.name);for(const v of m.errors)u.push(v.name);return u.length>0&&(d+=(0,a.generateErrorType)(u),d+="\n"),d+=(0,a.generateErrorClass)(),d+="\n",d+=" public enum Result<T> {\n case success(T)\n case failure(Failure)\n }\n\n",d+=" public class Calls: SdkgenHttpClient, APICallsProtocol {\n\n override init(baseUrl: String) {\n super.init(baseUrl: baseUrl)\n }\n\n",d+=m.operations.filter(v=>v.annotations.every(f=>!(f instanceof n.HiddenAnnotation))).map(v=>{let f="";return f+=` ${(0,a.generateMethodSignature)(v)} {\n`,v.args.length>0?(f+=" var jsonArgs = [String: Any]()\n",f+=v.args.map(y=>` jsonArgs["${(0,a.mangle)(y.name)}"] = ${(0,a.generateJsonRepresentation)(y.type,(0,a.mangle)(y.name))}`).join("\n")):f+=" let jsonArgs = [String: Any]()",f+="\n\n",f+=` makeRequest("${v.name}", jsonArgs, timeoutSeconds, completion: { (value: ${v.returnType instanceof n.VoidPrimitiveType?"API.NoReply":(0,a.generateSwiftTypeName)(v.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"),d+=" }\n",d+="}\n",s&&(d+="\n",d+="extension API: ReactiveCompatible {}\n\n",d+="extension Reactive where Base: API {\n",d+=m.operations.filter(v=>v.annotations.every(f=>!(f instanceof n.HiddenAnnotation))).map(v=>`${(0,a.generateRxMethod)(v)}`).join("\n"),d+="}\n"),d}},4323:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateBrowserClientSource=void 0;const n=c(6325),a=c(9117);o.generateBrowserClientSource=function g(m){let s="";s+=`/* eslint-disable */\nimport { SdkgenError${m.errors.some(u=>!(u.dataType instanceof n.VoidPrimitiveType))?", SdkgenErrorWithData":""}, SdkgenHttpClient } from "@sdkgen/browser-runtime";\n`,(0,n.hasType)(m,n.DecimalPrimitiveType)&&(s+='import { Decimal } from "decimal.js-light";\n'),s+="\n";for(const u of m.enumTypes)s+=(0,a.generateTypescriptEnum)(u),s+="\n";for(const u of m.structTypes)s+=(0,a.generateTypescriptInterface)(u,!0),s+="\n";for(const u of m.errors)s+=(0,a.generateTypescriptErrorClass)(u,!0),s+="\n";return s+=`export class ApiClient extends SdkgenHttpClient {\n constructor(baseUrl: string) {\n super(baseUrl, astJson, errClasses);\n }\n${m.operations.filter(u=>u.annotations.every(p=>!(p instanceof n.HiddenAnnotation))).map(u=>`\n ${u.name}(args${0===u.args.length?"?":""}: {${u.args.map(p=>`${p.name}${p.type.name.endsWith("?")?"?":""}: ${(0,a.generateTypescriptTypeName)(p.type,!0)}`).join(", ")}}): Promise<${(0,a.generateTypescriptTypeName)(u.returnType,!0)}> { return this.makeRequest("${u.name}", args || {}); }`).join("")}\n}\n\n`,s+=`const errClasses = {\n${m.errors.map(u=>` ${u.name}`).join(",\n")}\n};\n\n`,s+=`const astJson = ${JSON.stringify((0,n.astToJson)(m),null,4).replace(/"(?<key>\w+)":/gu,"$<key>:")} as const;\n`,s}},9117:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.clearForLogging=o.generateTypescriptErrorClass=o.generateTypescriptEnum=o.generateTypescriptInterface=o.generateTypescriptTypeName=void 0;const n=c(6325);function a(u,p){switch(u.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`${a(u.base,p)} | null`;case n.ArrayType:{const{base:v}=u,f=a(v,p);return v instanceof n.OptionalType?`(${f})[]`:`${f}[]`}case n.StructType:case n.EnumType:return u.name;case n.TypeReference:return a(u.type,p);default:throw new Error(`BUG: generateTypescriptTypeName with ${u.constructor.name}`)}}o.generateTypescriptTypeName=a,o.generateTypescriptInterface=function g(u,p){return`export interface ${u.name} {\n${u.fields.map(v=>` ${v.name}: ${a(v.type,p)}`).join("\n")}\n}\n`},o.generateTypescriptEnum=function m(u){return u.hasStructValues?`export type ${u.name} = ${u.values.map(p=>p.struct?`({tag: "${p.value}"} & ${p.struct.name})`:`{tag: "${p.value}"}`).join(" | ")};\n`:`export type ${u.name} = ${u.values.map(p=>`"${p.value}"`).join(" | ")};\n`},o.generateTypescriptErrorClass=function s(u,p){return`export class ${u.name} extends ${u.dataType instanceof n.VoidPrimitiveType?"SdkgenError":`SdkgenErrorWithData<${a(u.dataType,p)}>`} {}\n`},o.clearForLogging=function d(u,p){switch(p.constructor){case n.TypeReference:return d(u,p.type);case n.OptionalType:{const v=d(u,p.base);return v?`if (${u} !== null && ${u} !== undefined) { ${v} }`:""}case n.ArrayType:{const v=d("el",p.base);return v?`for (const el of ${u}) { ${v} }`:""}case n.StructType:{const v=[];for(const f of p.fields)if(f.secret)v.push(`${u}.${f.name} = "<secret>";`);else{const y=d(`${u}.${f.name}`,f.type);y&&v.push(y)}return v.join(" ")}default:return""}}},6077:function(Z,o,c){"use strict";var n=this&&this.__createBinding||(Object.create?function(g,m,s,d){void 0===d&&(d=s);var u=Object.getOwnPropertyDescriptor(m,s);(!u||("get"in u?!m.__esModule:u.writable||u.configurable))&&(u={enumerable:!0,get:function(){return m[s]}}),Object.defineProperty(g,d,u)}:function(g,m,s,d){void 0===d&&(d=s),g[d]=m[s]}),a=this&&this.__exportStar||function(g,m){for(var s in g)"default"!==s&&!Object.prototype.hasOwnProperty.call(m,s)&&n(m,g,s)};Object.defineProperty(o,"__esModule",{value:!0}),a(c(4323),o),a(c(4282),o),a(c(9151),o),a(c(3343),o)},4282:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateTypescriptInterfaces=void 0;const n=c(9117);o.generateTypescriptInterfaces=function a(g){let m="";for(const s of g.enumTypes)m+=(0,n.generateTypescriptEnum)(s);m+="\n";for(const s of g.structTypes)m+=(0,n.generateTypescriptInterface)(s,!1),m+="\n";return m}},9151:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateNodeClientSource=void 0;const n=c(6325),a=c(9117);o.generateNodeClientSource=function g(m){let s="";const d=m.errors.some(p=>!(p.dataType instanceof n.VoidPrimitiveType));s+=`/* eslint-disable */\nimport { Context, Fatal${m.errors.filter(p=>"Fatal"!==p.name).some(p=>p.dataType instanceof n.VoidPrimitiveType)?", SdkgenError":""}${d?", SdkgenErrorWithData":""}, SdkgenHttpClient } from "@sdkgen/node-runtime";\nimport { PartialDeep } from "type-fest";\nexport { Fatal } from "@sdkgen/node-runtime";\n`,(0,n.hasType)(m,n.DecimalPrimitiveType)&&(s+='import { Decimal } from "decimal.js";\n'),s+="\n";for(const p of m.enumTypes)s+=(0,a.generateTypescriptEnum)(p),s+="\n";for(const p of m.structTypes)s+=(0,a.generateTypescriptInterface)(p,!1),s+="\n";for(const p of m.errors)"Fatal"!==p.name&&(s+=(0,a.generateTypescriptErrorClass)(p,!1),s+="\n");return s+=`export class ApiClient extends SdkgenHttpClient {\n constructor(baseUrl: string) {\n super(baseUrl, astJson, errClasses);\n }\n${m.operations.filter(p=>p.annotations.every(v=>!(v instanceof n.HiddenAnnotation))).map(p=>`\n ${p.name}(ctx: PartialDeep<Context> | null, args: {${p.args.map(v=>`${v.name}${v.type.name.endsWith("?")?"?":""}: ${(0,a.generateTypescriptTypeName)(v.type,!1)}`).join(", ")}}): Promise<${(0,a.generateTypescriptTypeName)(p.returnType,!1)}> { return this.makeRequest(ctx, "${p.name}", args); }`).join("")}\n}\n\n`,s+=`const errClasses = {\n${m.errors.map(p=>` ${p.name}`).join(",\n")}\n};\n\n`,s+=`const astJson = ${JSON.stringify((0,n.astToJson)(m),null,4).replace(/"(?<key>\w+)":/gu,"$<key>:")} as const;\n`,s}},3343:(Z,o,c)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateNodeServerSource=void 0;const n=c(6325),a=c(9117);o.generateNodeServerSource=function g(m){let s="";const d=m.errors.some(p=>!(p.dataType instanceof n.VoidPrimitiveType));s+=`/* eslint-disable */\nimport { BaseApiConfig, Context, Fatal${m.errors.filter(p=>"Fatal"!==p.name).some(p=>p.dataType instanceof n.VoidPrimitiveType)?", SdkgenError":""}${d?", SdkgenErrorWithData":""} } from "@sdkgen/node-runtime";\nexport { Fatal } from "@sdkgen/node-runtime";\n`,(0,n.hasType)(m,n.DecimalPrimitiveType)&&(s+='import { Decimal } from "decimal.js";\n'),s+="\n";for(const p of m.enumTypes)s+=(0,a.generateTypescriptEnum)(p),s+="\n";for(const p of m.structTypes)s+=(0,a.generateTypescriptInterface)(p,!1),s+="\n";for(const p of m.errors)"Fatal"!==p.name&&(s+=(0,a.generateTypescriptErrorClass)(p,!1),s+="\n");return s+=`export class ApiConfig<ExtraContextT> extends BaseApiConfig<ExtraContextT> {\n declare fn: {${m.operations.map(p=>`\n ${p.name}: (ctx: Context & ExtraContextT, args: {${p.args.map(v=>`${v.name}: ${(0,a.generateTypescriptTypeName)(v.type,!1)}`).join(", ")}}) => Promise<${(0,a.generateTypescriptTypeName)(p.returnType,!1)}>`).join("")}\n }\n\n astJson = ${JSON.stringify((0,n.astToJson)(m),null,4).replace(/"(?<key>\w+)":/gu,"$<key>:").replace(/\n/gu,"\n ")} as const\n}\n\nexport const api = new ApiConfig<{}>();\n`,s}},7156:Z=>{function o(n,a,g,m,s,d,u){try{var p=n[d](u),v=p.value}catch(f){return void g(f)}p.done?a(v):Promise.resolve(v).then(m,s)}Z.exports=function c(n){return function(){var a=this,g=arguments;return new Promise(function(m,s){var d=n.apply(a,g);function u(v){o(d,m,s,u,p,"next",v)}function p(v){o(d,m,s,u,p,"throw",v)}u(void 0)})}},Z.exports.__esModule=!0,Z.exports.default=Z.exports},6825:(Z,o,c)=>{"use strict";c.d(o,{IO:()=>A,LC:()=>a,SB:()=>v,X$:()=>m,ZE:()=>Y,ZN:()=>M,_j:()=>n,eR:()=>y,jt:()=>s,k1:()=>$,l3:()=>g,oB:()=>p,pV:()=>_,ru:()=>d,vP:()=>u});class n{}class a{}const g="*";function m(ne,z){return{type:7,name:ne,definitions:z,options:{}}}function s(ne,z=null){return{type:4,styles:z,timings:ne}}function d(ne,z=null){return{type:3,steps:ne,options:z}}function u(ne,z=null){return{type:2,steps:ne,options:z}}function p(ne){return{type:6,styles:ne,offset:null}}function v(ne,z,K){return{type:0,name:ne,styles:z,options:K}}function y(ne,z,K=null){return{type:1,expr:ne,animation:z,options:K}}function _(ne=null){return{type:9,options:ne}}function A(ne,z,K=null){return{type:11,selector:ne,animation:z,options:K}}class M{constructor(z=0,K=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=z+K}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(z=>z()),this._onDoneFns=[])}onStart(z){this._originalOnStartFns.push(z),this._onStartFns.push(z)}onDone(z){this._originalOnDoneFns.push(z),this._onDoneFns.push(z)}onDestroy(z){this._onDestroyFns.push(z)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(z=>z()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(z=>z()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(z){this._position=this.totalTime?z*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(z){const K="start"==z?this._onStartFns:this._onDoneFns;K.forEach(de=>de()),K.length=0}}class Y{constructor(z){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=z;let K=0,de=0,X=0;const fe=this.players.length;0==fe?queueMicrotask(()=>this._onFinish()):this.players.forEach(he=>{he.onDone(()=>{++K==fe&&this._onFinish()}),he.onDestroy(()=>{++de==fe&&this._onDestroy()}),he.onStart(()=>{++X==fe&&this._onStart()})}),this.totalTime=this.players.reduce((he,ot)=>Math.max(he,ot.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(z=>z()),this._onDoneFns=[])}init(){this.players.forEach(z=>z.init())}onStart(z){this._onStartFns.push(z)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(z=>z()),this._onStartFns=[])}onDone(z){this._onDoneFns.push(z)}onDestroy(z){this._onDestroyFns.push(z)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(z=>z.play())}pause(){this.players.forEach(z=>z.pause())}restart(){this.players.forEach(z=>z.restart())}finish(){this._onFinish(),this.players.forEach(z=>z.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(z=>z.destroy()),this._onDestroyFns.forEach(z=>z()),this._onDestroyFns=[])}reset(){this.players.forEach(z=>z.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(z){const K=z*this.totalTime;this.players.forEach(de=>{const X=de.totalTime?Math.min(1,K/de.totalTime):1;de.setPosition(X)})}getPosition(){const z=this.players.reduce((K,de)=>null===K||de.totalTime>K.totalTime?de:K,null);return null!=z?z.getPosition():0}beforeDestroy(){this.players.forEach(z=>{z.beforeDestroy&&z.beforeDestroy()})}triggerCallback(z){const K="start"==z?this._onStartFns:this._onDoneFns;K.forEach(de=>de()),K.length=0}}const $="!"},4300:(Z,o,c)=>{"use strict";c.d(o,{$s:()=>we,Em:()=>st,X6:()=>Q,ic:()=>Ce,kH:()=>wt,qV:()=>ge,qm:()=>fn,rt:()=>vn,tE:()=>Qe,yG:()=>$e});var n=c(6814),a=c(5879),g=c(2831),m=c(8645),s=c(7394),d=c(5619),u=c(2096),p=c(6028),v=c(9397),f=c(3620),y=c(2181),b=c(7398),_=c(8180),w=c(836),A=c(3997),R=c(9773),M=c(2495),Y=c(7131),$=c(1088);function de(Ct,it){return(Ct.getAttribute(it)||"").match(/\S+/g)||[]}const fe="cdk-describedby-message",he="cdk-describedby-host";let ot=0,we=(()=>{var Ct;class it{constructor(ze,lt){this._platform=lt,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+ot++,this._document=ze,this._id=(0,a.inject)(a.APP_ID)+"-"+ot++}describe(ze,lt,It){if(!this._canBeDescribed(ze,lt))return;const zt=tt(lt,It);"string"!=typeof lt?(nt(lt,this._id),this._messageRegistry.set(zt,{messageElement:lt,referenceCount:0})):this._messageRegistry.has(zt)||this._createMessageElement(lt,It),this._isElementDescribedByMessage(ze,zt)||this._addMessageReference(ze,zt)}removeDescription(ze,lt,It){if(!lt||!this._isElementNode(ze))return;const zt=tt(lt,It);if(this._isElementDescribedByMessage(ze,zt)&&this._removeMessageReference(ze,zt),"string"==typeof lt){const ut=this._messageRegistry.get(zt);ut&&0===ut.referenceCount&&this._deleteMessageElement(zt)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const ze=this._document.querySelectorAll(`[${he}="${this._id}"]`);for(let lt=0;lt<ze.length;lt++)this._removeCdkDescribedByReferenceIds(ze[lt]),ze[lt].removeAttribute(he);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(ze,lt){const It=this._document.createElement("div");nt(It,this._id),It.textContent=ze,lt&&It.setAttribute("role",lt),this._createMessagesContainer(),this._messagesContainer.appendChild(It),this._messageRegistry.set(tt(ze,lt),{messageElement:It,referenceCount:0})}_deleteMessageElement(ze){this._messageRegistry.get(ze)?.messageElement?.remove(),this._messageRegistry.delete(ze)}_createMessagesContainer(){if(this._messagesContainer)return;const ze="cdk-describedby-message-container",lt=this._document.querySelectorAll(`.${ze}[platform="server"]`);for(let zt=0;zt<lt.length;zt++)lt[zt].remove();const It=this._document.createElement("div");It.style.visibility="hidden",It.classList.add(ze),It.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&It.setAttribute("platform","server"),this._document.body.appendChild(It),this._messagesContainer=It}_removeCdkDescribedByReferenceIds(ze){const lt=de(ze,"aria-describedby").filter(It=>0!=It.indexOf(fe));ze.setAttribute("aria-describedby",lt.join(" "))}_addMessageReference(ze,lt){const It=this._messageRegistry.get(lt);(function z(Ct,it,St){const ze=de(Ct,it);ze.some(lt=>lt.trim()==St.trim())||(ze.push(St.trim()),Ct.setAttribute(it,ze.join(" ")))})(ze,"aria-describedby",It.messageElement.id),ze.setAttribute(he,this._id),It.referenceCount++}_removeMessageReference(ze,lt){const It=this._messageRegistry.get(lt);It.referenceCount--,function K(Ct,it,St){const lt=de(Ct,it).filter(It=>It!=St.trim());lt.length?Ct.setAttribute(it,lt.join(" ")):Ct.removeAttribute(it)}(ze,"aria-describedby",It.messageElement.id),ze.removeAttribute(he)}_isElementDescribedByMessage(ze,lt){const It=de(ze,"aria-describedby"),zt=this._messageRegistry.get(lt),ut=zt&&zt.messageElement.id;return!!ut&&-1!=It.indexOf(ut)}_canBeDescribed(ze,lt){if(!this._isElementNode(ze))return!1;if(lt&&"object"==typeof lt)return!0;const It=null==lt?"":`${lt}`.trim(),zt=ze.getAttribute("aria-label");return!(!It||zt&&zt.trim()===It)}_isElementNode(ze){return ze.nodeType===this._document.ELEMENT_NODE}}return(Ct=it).\u0275fac=function(ze){return new(ze||Ct)(a.\u0275\u0275inject(n.DOCUMENT),a.\u0275\u0275inject(g.t4))},Ct.\u0275prov=a.\u0275\u0275defineInjectable({token:Ct,factory:Ct.\u0275fac,providedIn:"root"}),it})();function tt(Ct,it){return"string"==typeof Ct?`${it||""}/${Ct}`:Ct}function nt(Ct,it){Ct.id||(Ct.id=`${fe}-${it}-${ot++}`)}class Se{constructor(it){this._items=it,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new m.x,this._typeaheadSubscription=s.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=St=>St.disabled,this._pressedLetters=[],this.tabOut=new m.x,this.change=new m.x,it instanceof a.QueryList&&(this._itemChangesSubscription=it.changes.subscribe(St=>{if(this._activeItem){const lt=St.toArray().indexOf(this._activeItem);lt>-1&<!==this._activeItemIndex&&(this._activeItemIndex=lt)}}))}skipPredicate(it){return this._skipPredicateFn=it,this}withWrap(it=!0){return this._wrap=it,this}withVerticalOrientation(it=!0){return this._vertical=it,this}withHorizontalOrientation(it){return this._horizontal=it,this}withAllowedModifierKeys(it){return this._allowedModifierKeys=it,this}withTypeAhead(it=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,v.b)(St=>this._pressedLetters.push(St)),(0,f.b)(it),(0,y.h)(()=>this._pressedLetters.length>0),(0,b.U)(()=>this._pressedLetters.join(""))).subscribe(St=>{const ze=this._getItemsArray();for(let lt=1;lt<ze.length+1;lt++){const It=(this._activeItemIndex+lt)%ze.length,zt=ze[It];if(!this._skipPredicateFn(zt)&&0===zt.getLabel().toUpperCase().trim().indexOf(St)){this.setActiveItem(It);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(it=!0){return this._homeAndEnd=it,this}withPageUpDown(it=!0,St=10){return this._pageUpAndDown={enabled:it,delta:St},this}setActiveItem(it){const St=this._activeItem;this.updateActiveItem(it),this._activeItem!==St&&this.change.next(this._activeItemIndex)}onKeydown(it){const St=it.keyCode,lt=["altKey","ctrlKey","metaKey","shiftKey"].every(It=>!it[It]||this._allowedModifierKeys.indexOf(It)>-1);switch(St){case p.Mf:return void this.tabOut.next();case p.JH:if(this._vertical&<){this.setNextItemActive();break}return;case p.LH:if(this._vertical&<){this.setPreviousItemActive();break}return;case p.SV:if(this._horizontal&<){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case p.oh:if(this._horizontal&<){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case p.Sd:if(this._homeAndEnd&<){this.setFirstItemActive();break}return;case p.uR:if(this._homeAndEnd&<){this.setLastItemActive();break}return;case p.Ku:if(this._pageUpAndDown.enabled&<){const It=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(It>0?It:0,1);break}return;case p.VM:if(this._pageUpAndDown.enabled&<){const It=this._activeItemIndex+this._pageUpAndDown.delta,zt=this._getItemsArray().length;this._setActiveItemByIndex(It<zt?It:zt-1,-1);break}return;default:return void((lt||(0,p.Vb)(it,"shiftKey"))&&(it.key&&1===it.key.length?this._letterKeyStream.next(it.key.toLocaleUpperCase()):(St>=p.A&&St<=p.Z||St>=p.xE&&St<=p.aO)&&this._letterKeyStream.next(String.fromCharCode(St))))}this._pressedLetters=[],it.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(it){const St=this._getItemsArray(),ze="number"==typeof it?it:St.indexOf(it);this._activeItem=St[ze]??null,this._activeItemIndex=ze}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(it){this._wrap?this._setActiveInWrapMode(it):this._setActiveInDefaultMode(it)}_setActiveInWrapMode(it){const St=this._getItemsArray();for(let ze=1;ze<=St.length;ze++){const lt=(this._activeItemIndex+it*ze+St.length)%St.length;if(!this._skipPredicateFn(St[lt]))return void this.setActiveItem(lt)}}_setActiveInDefaultMode(it){this._setActiveItemByIndex(this._activeItemIndex+it,it)}_setActiveItemByIndex(it,St){const ze=this._getItemsArray();if(ze[it]){for(;this._skipPredicateFn(ze[it]);)if(!ze[it+=St])return;this.setActiveItem(it)}}_getItemsArray(){return this._items instanceof a.QueryList?this._items.toArray():this._items}}class st extends Se{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(it){return this._origin=it,this}setActiveItem(it){super.setActiveItem(it),this.activeItem&&this.activeItem.focus(this._origin)}}let Ce=(()=>{var Ct;class it{constructor(ze){this._platform=ze}isDisabled(ze){return ze.hasAttribute("disabled")}isVisible(ze){return function J(Ct){return!!(Ct.offsetWidth||Ct.offsetHeight||"function"==typeof Ct.getClientRects&&Ct.getClientRects().length)}(ze)&&"visible"===getComputedStyle(ze).visibility}isTabbable(ze){if(!this._platform.isBrowser)return!1;const lt=function ee(Ct){try{return Ct.frameElement}catch{return null}}(function xe(Ct){return Ct.ownerDocument&&Ct.ownerDocument.defaultView||window}(ze));if(lt&&(-1===pe(lt)||!this.isVisible(lt)))return!1;let It=ze.nodeName.toLowerCase(),zt=pe(ze);return ze.hasAttribute("contenteditable")?-1!==zt:!("iframe"===It||"object"===It||this._platform.WEBKIT&&this._platform.IOS&&!function Ge(Ct){let it=Ct.nodeName.toLowerCase(),St="input"===it&&Ct.type;return"text"===St||"password"===St||"select"===it||"textarea"===it}(ze))&&("audio"===It?!!ze.hasAttribute("controls")&&-1!==zt:"video"===It?-1!==zt&&(null!==zt||this._platform.FIREFOX||ze.hasAttribute("controls")):ze.tabIndex>=0)}isFocusable(ze,lt){return function Be(Ct){return!function G(Ct){return function U(Ct){return"input"==Ct.nodeName.toLowerCase()}(Ct)&&"hidden"==Ct.type}(Ct)&&(function j(Ct){let it=Ct.nodeName.toLowerCase();return"input"===it||"select"===it||"button"===it||"textarea"===it}(Ct)||function Oe(Ct){return function ae(Ct){return"a"==Ct.nodeName.toLowerCase()}(Ct)&&Ct.hasAttribute("href")}(Ct)||Ct.hasAttribute("contenteditable")||Ee(Ct))}(ze)&&!this.isDisabled(ze)&&(lt?.ignoreVisibility||this.isVisible(ze))}}return(Ct=it).\u0275fac=function(ze){return new(ze||Ct)(a.\u0275\u0275inject(g.t4))},Ct.\u0275prov=a.\u0275\u0275defineInjectable({token:Ct,factory:Ct.\u0275fac,providedIn:"root"}),it})();function Ee(Ct){if(!Ct.hasAttribute("tabindex")||void 0===Ct.tabIndex)return!1;let it=Ct.getAttribute("tabindex");return!(!it||isNaN(parseInt(it,10)))}function pe(Ct){if(!Ee(Ct))return null;const it=parseInt(Ct.getAttribute("tabindex")||"",10);return isNaN(it)?-1:it}class at{get enabled(){return this._enabled}set enabled(it){this._enabled=it,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(it,this._startAnchor),this._toggleAnchorTabIndex(it,this._endAnchor))}constructor(it,St,ze,lt,It=!1){this._element=it,this._checker=St,this._ngZone=ze,this._document=lt,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,It||this.attachAnchors()}destroy(){const it=this._startAnchor,St=this._endAnchor;it&&(it.removeEventListener("focus",this.startAnchorListener),it.remove()),St&&(St.removeEventListener("focus",this.endAnchorListener),St.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(it){return new Promise(St=>{this._executeOnStable(()=>St(this.focusInitialElement(it)))})}focusFirstTabbableElementWhenReady(it){return new Promise(St=>{this._executeOnStable(()=>St(this.focusFirstTabbableElement(it)))})}focusLastTabbableElementWhenReady(it){return new Promise(St=>{this._executeOnStable(()=>St(this.focusLastTabbableElement(it)))})}_getRegionBoundary(it){const St=this._element.querySelectorAll(`[cdk-focus-region-${it}], [cdkFocusRegion${it}], [cdk-focus-${it}]`);return"start"==it?St.length?St[0]:this._getFirstTabbableElement(this._element):St.length?St[St.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(it){const St=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(St){if(!this._checker.isFocusable(St)){const ze=this._getFirstTabbableElement(St);return ze?.focus(it),!!ze}return St.focus(it),!0}return this.focusFirstTabbableElement(it)}focusFirstTabbableElement(it){const St=this._getRegionBoundary("start");return St&&St.focus(it),!!St}focusLastTabbableElement(it){const St=this._getRegionBoundary("end");return St&&St.focus(it),!!St}hasAttached(){return this._hasAttached}_getFirstTabbableElement(it){if(this._checker.isFocusable(it)&&this._checker.isTabbable(it))return it;const St=it.children;for(let ze=0;ze<St.length;ze++){const lt=St[ze].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(St[ze]):null;if(lt)return lt}return null}_getLastTabbableElement(it){if(this._checker.isFocusable(it)&&this._checker.isTabbable(it))return it;const St=it.children;for(let ze=St.length-1;ze>=0;ze--){const lt=St[ze].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(St[ze]):null;if(lt)return lt}return null}_createAnchor(){const it=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,it),it.classList.add("cdk-visually-hidden"),it.classList.add("cdk-focus-trap-anchor"),it.setAttribute("aria-hidden","true"),it}_toggleAnchorTabIndex(it,St){it?St.setAttribute("tabindex","0"):St.removeAttribute("tabindex")}toggleAnchors(it){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(it,this._startAnchor),this._toggleAnchorTabIndex(it,this._endAnchor))}_executeOnStable(it){this._ngZone.isStable?it():this._ngZone.onStable.pipe((0,_.q)(1)).subscribe(it)}}let ge=(()=>{var Ct;class it{constructor(ze,lt,It){this._checker=ze,this._ngZone=lt,this._document=It}create(ze,lt=!1){return new at(ze,this._checker,this._ngZone,this._document,lt)}}return(Ct=it).\u0275fac=function(ze){return new(ze||Ct)(a.\u0275\u0275inject(Ce),a.\u0275\u0275inject(a.NgZone),a.\u0275\u0275inject(n.DOCUMENT))},Ct.\u0275prov=a.\u0275\u0275defineInjectable({token:Ct,factory:Ct.\u0275fac,providedIn:"root"}),it})();function Q(Ct){return 0===Ct.buttons||0===Ct.offsetX&&0===Ct.offsetY}function $e(Ct){const it=Ct.touches&&Ct.touches[0]||Ct.changedTouches&&Ct.changedTouches[0];return!(!it||-1!==it.identifier||null!=it.radiusX&&1!==it.radiusX||null!=it.radiusY&&1!==it.radiusY)}const Ne=new a.InjectionToken("cdk-input-modality-detector-options"),et={ignoreKeys:[p.zL,p.jx,p.b2,p.MW,p.JU]},xt=(0,g.i$)({passive:!0,capture:!0});let Nt=(()=>{var Ct;class it{get mostRecentModality(){return this._modality.value}constructor(ze,lt,It,zt){this._platform=ze,this._mostRecentTarget=null,this._modality=new d.X(null),this._lastTouchMs=0,this._onKeydown=ut=>{this._options?.ignoreKeys?.some(Xe=>Xe===ut.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,g.sA)(ut))},this._onMousedown=ut=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Q(ut)?"keyboard":"mouse"),this._mostRecentTarget=(0,g.sA)(ut))},this._onTouchstart=ut=>{$e(ut)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,g.sA)(ut))},this._options={...et,...zt},this.modalityDetected=this._modality.pipe((0,w.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,A.x)()),ze.isBrowser&<.runOutsideAngular(()=>{It.addEventListener("keydown",this._onKeydown,xt),It.addEventListener("mousedown",this._onMousedown,xt),It.addEventListener("touchstart",this._onTouchstart,xt)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,xt),document.removeEventListener("mousedown",this._onMousedown,xt),document.removeEventListener("touchstart",this._onTouchstart,xt))}}return(Ct=it).\u0275fac=function(ze){return new(ze||Ct)(a.\u0275\u0275inject(g.t4),a.\u0275\u0275inject(a.NgZone),a.\u0275\u0275inject(n.DOCUMENT),a.\u0275\u0275inject(Ne,8))},Ct.\u0275prov=a.\u0275\u0275defineInjectable({token:Ct,factory:Ct.\u0275fac,providedIn:"root"}),it})();const Ve=new a.InjectionToken("cdk-focus-monitor-default-options"),se=(0,g.i$)({passive:!0,capture:!0});let Qe=(()=>{var Ct;class it{constructor(ze,lt,It,zt,ut){this._ngZone=ze,this._platform=lt,this._inputModalityDetector=It,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 m.x,this._rootNodeFocusAndBlurListener=Xe=>{for(let V=(0,g.sA)(Xe);V;V=V.parentElement)"focus"===Xe.type?this._onFocus(Xe,V):this._onBlur(Xe,V)},this._document=zt,this._detectionMode=ut?.detectionMode||0}monitor(ze,lt=!1){const It=(0,M.fI)(ze);if(!this._platform.isBrowser||1!==It.nodeType)return(0,u.of)();const zt=(0,g.kV)(It)||this._getDocument(),ut=this._elementInfo.get(It);if(ut)return lt&&(ut.checkChildren=!0),ut.subject;const Xe={checkChildren:lt,subject:new m.x,rootNode:zt};return this._elementInfo.set(It,Xe),this._registerGlobalListeners(Xe),Xe.subject}stopMonitoring(ze){const lt=(0,M.fI)(ze),It=this._elementInfo.get(lt);It&&(It.subject.complete(),this._setClasses(lt),this._elementInfo.delete(lt),this._removeGlobalListeners(It))}focusVia(ze,lt,It){const zt=(0,M.fI)(ze);zt===this._getDocument().activeElement?this._getClosestElementsInfo(zt).forEach(([Xe,_e])=>this._originChanged(Xe,lt,_e)):(this._setOrigin(lt),"function"==typeof zt.focus&&zt.focus(It))}ngOnDestroy(){this._elementInfo.forEach((ze,lt)=>this.stopMonitoring(lt))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(ze){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(ze)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:ze&&this._isLastInteractionFromInputLabel(ze)?"mouse":"program"}_shouldBeAttributedToTouch(ze){return 1===this._detectionMode||!!ze?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(ze,lt){ze.classList.toggle("cdk-focused",!!lt),ze.classList.toggle("cdk-touch-focused","touch"===lt),ze.classList.toggle("cdk-keyboard-focused","keyboard"===lt),ze.classList.toggle("cdk-mouse-focused","mouse"===lt),ze.classList.toggle("cdk-program-focused","program"===lt)}_setOrigin(ze,lt=!1){this._ngZone.runOutsideAngular(()=>{this._origin=ze,this._originFromTouchInteraction="touch"===ze&<,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(ze,lt){const It=this._elementInfo.get(lt),zt=(0,g.sA)(ze);!It||!It.checkChildren&<!==zt||this._originChanged(lt,this._getFocusOrigin(zt),It)}_onBlur(ze,lt){const It=this._elementInfo.get(lt);!It||It.checkChildren&&ze.relatedTarget instanceof Node&<.contains(ze.relatedTarget)||(this._setClasses(lt),this._emitOrigin(It,null))}_emitOrigin(ze,lt){ze.subject.observers.length&&this._ngZone.run(()=>ze.subject.next(lt))}_registerGlobalListeners(ze){if(!this._platform.isBrowser)return;const lt=ze.rootNode,It=this._rootNodeFocusListenerCount.get(lt)||0;It||this._ngZone.runOutsideAngular(()=>{lt.addEventListener("focus",this._rootNodeFocusAndBlurListener,se),lt.addEventListener("blur",this._rootNodeFocusAndBlurListener,se)}),this._rootNodeFocusListenerCount.set(lt,It+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,R.R)(this._stopInputModalityDetector)).subscribe(zt=>{this._setOrigin(zt,!0)}))}_removeGlobalListeners(ze){const lt=ze.rootNode;if(this._rootNodeFocusListenerCount.has(lt)){const It=this._rootNodeFocusListenerCount.get(lt);It>1?this._rootNodeFocusListenerCount.set(lt,It-1):(lt.removeEventListener("focus",this._rootNodeFocusAndBlurListener,se),lt.removeEventListener("blur",this._rootNodeFocusAndBlurListener,se),this._rootNodeFocusListenerCount.delete(lt))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(ze,lt,It){this._setClasses(ze,lt),this._emitOrigin(It,lt),this._lastFocusOrigin=lt}_getClosestElementsInfo(ze){const lt=[];return this._elementInfo.forEach((It,zt)=>{(zt===ze||It.checkChildren&&zt.contains(ze))&<.push([zt,It])}),lt}_isLastInteractionFromInputLabel(ze){const{_mostRecentTarget:lt,mostRecentModality:It}=this._inputModalityDetector;if("mouse"!==It||!lt||lt===ze||"INPUT"!==ze.nodeName&&"TEXTAREA"!==ze.nodeName||ze.disabled)return!1;const zt=ze.labels;if(zt)for(let ut=0;ut<zt.length;ut++)if(zt[ut].contains(lt))return!0;return!1}}return(Ct=it).\u0275fac=function(ze){return new(ze||Ct)(a.\u0275\u0275inject(a.NgZone),a.\u0275\u0275inject(g.t4),a.\u0275\u0275inject(Nt),a.\u0275\u0275inject(n.DOCUMENT,8),a.\u0275\u0275inject(Ve,8))},Ct.\u0275prov=a.\u0275\u0275defineInjectable({token:Ct,factory:Ct.\u0275fac,providedIn:"root"}),it})(),wt=(()=>{var Ct;class it{constructor(ze,lt){this._elementRef=ze,this._focusMonitor=lt,this._focusOrigin=null,this.cdkFocusChange=new a.EventEmitter}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const ze=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(ze,1===ze.nodeType&&ze.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(lt=>{this._focusOrigin=lt,this.cdkFocusChange.emit(lt)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return(Ct=it).\u0275fac=function(ze){return new(ze||Ct)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(Qe))},Ct.\u0275dir=a.\u0275\u0275defineDirective({type:Ct,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),it})();const Lt="cdk-high-contrast-black-on-white",Ut="cdk-high-contrast-white-on-black",rn="cdk-high-contrast-active";let fn=(()=>{var Ct;class it{constructor(ze,lt){this._platform=ze,this._document=lt,this._breakpointSubscription=(0,a.inject)($.BreakpointObserver).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const ze=this._document.createElement("div");ze.style.backgroundColor="rgb(1,2,3)",ze.style.position="absolute",this._document.body.appendChild(ze);const lt=this._document.defaultView||window,It=lt&<.getComputedStyle?lt.getComputedStyle(ze):null,zt=(It&&It.backgroundColor||"").replace(/ /g,"");switch(ze.remove(),zt){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const ze=this._document.body.classList;ze.remove(rn,Lt,Ut),this._hasCheckedHighContrastMode=!0;const lt=this.getHighContrastMode();1===lt?ze.add(rn,Lt):2===lt&&ze.add(rn,Ut)}}}return(Ct=it).\u0275fac=function(ze){return new(ze||Ct)(a.\u0275\u0275inject(g.t4),a.\u0275\u0275inject(n.DOCUMENT))},Ct.\u0275prov=a.\u0275\u0275defineInjectable({token:Ct,factory:Ct.\u0275fac,providedIn:"root"}),it})(),vn=(()=>{var Ct;class it{constructor(ze){ze._applyBodyHighContrastModeCssClasses()}}return(Ct=it).\u0275fac=function(ze){return new(ze||Ct)(a.\u0275\u0275inject(fn))},Ct.\u0275mod=a.\u0275\u0275defineNgModule({type:Ct}),Ct.\u0275inj=a.\u0275\u0275defineInjector({imports:[Y.Q8]}),it})()},9388:(Z,o,c)=>{"use strict";c.d(o,{Is:()=>u,vT:()=>v});var n=c(5879),a=c(6814);const g=new n.InjectionToken("cdk-dir-doc",{providedIn:"root",factory:function m(){return(0,n.inject)(a.DOCUMENT)}}),s=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let u=(()=>{var f;class y{constructor(_){this.value="ltr",this.change=new n.EventEmitter,_&&(this.value=function d(f){const y=f?.toLowerCase()||"";return"auto"===y&&typeof navigator<"u"&&navigator?.language?s.test(navigator.language)?"rtl":"ltr":"rtl"===y?"rtl":"ltr"}((_.body?_.body.dir:null)||(_.documentElement?_.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return(f=y).\u0275fac=function(_){return new(_||f)(n.\u0275\u0275inject(g,8))},f.\u0275prov=n.\u0275\u0275defineInjectable({token:f,factory:f.\u0275fac,providedIn:"root"}),y})(),v=(()=>{var f;class y{}return(f=y).\u0275fac=function(_){return new(_||f)},f.\u0275mod=n.\u0275\u0275defineNgModule({type:f}),f.\u0275inj=n.\u0275\u0275defineInjector({}),y})()},2495:(Z,o,c)=>{"use strict";c.d(o,{Eq:()=>s,HM:()=>d,Ig:()=>a,fI:()=>u,su:()=>g,t6:()=>m});var n=c(5879);function a(v){return null!=v&&"false"!=`${v}`}function g(v,f=0){return m(v)?Number(v):f}function m(v){return!isNaN(parseFloat(v))&&!isNaN(Number(v))}function s(v){return Array.isArray(v)?v:[v]}function d(v){return null==v?"":"string"==typeof v?v:`${v}px`}function u(v){return v instanceof n.ElementRef?v.nativeElement:v}},6028:(Z,o,c)=>{"use strict";c.d(o,{A:()=>G,JH:()=>ne,JU:()=>d,K5:()=>s,Ku:()=>_,LH:()=>Y,L_:()=>b,MW:()=>en,Mf:()=>g,SV:()=>$,Sd:()=>R,VM:()=>w,Vb:()=>Le,Z:()=>Jt,ZH:()=>a,aO:()=>W,b2:()=>ve,hY:()=>y,jx:()=>u,oh:()=>M,uR:()=>A,xE:()=>fe,yY:()=>X,zL:()=>p});const a=8,g=9,s=13,d=16,u=17,p=18,y=27,b=32,_=33,w=34,A=35,R=36,M=37,Y=38,$=39,ne=40,X=46,fe=48,W=57,G=65,Jt=90,en=91,ve=224;function Le(q,...H){return H.length?H.some(Re=>q[Re]):q.altKey||q.shiftKey||q.ctrlKey||q.metaKey}},1088:(Z,o,c)=>{"use strict";c.r(o),c.d(o,{BreakpointObserver:()=>ne,Breakpoints:()=>K,LayoutModule:()=>w,MediaMatcher:()=>M});var n=c(5879),a=c(2495),g=c(8645),m=c(2572),s=c(5211),d=c(3018),u=c(8180),p=c(836),v=c(3620),f=c(7398),y=c(7921),b=c(9773),_=c(2831);let w=(()=>{var de;class X{}return(de=X).\u0275fac=function(he){return new(he||de)},de.\u0275mod=n.\u0275\u0275defineNgModule({type:de}),de.\u0275inj=n.\u0275\u0275defineInjector({}),X})();const A=new Set;let R,M=(()=>{var de;class X{constructor(he,ot){this._platform=he,this._nonce=ot,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):$}matchMedia(he){return(this._platform.WEBKIT||this._platform.BLINK)&&function Y(de,X){if(!A.has(de))try{R||(R=document.createElement("style"),X&&(R.nonce=X),R.setAttribute("type","text/css"),document.head.appendChild(R)),R.sheet&&(R.sheet.insertRule(`@media ${de} {body{ }}`,0),A.add(de))}catch(fe){console.error(fe)}}(he,this._nonce),this._matchMedia(he)}}return(de=X).\u0275fac=function(he){return new(he||de)(n.\u0275\u0275inject(_.t4),n.\u0275\u0275inject(n.CSP_NONCE,8))},de.\u0275prov=n.\u0275\u0275defineInjectable({token:de,factory:de.\u0275fac,providedIn:"root"}),X})();function $(de){return{matches:"all"===de||""===de,media:de,addListener:()=>{},removeListener:()=>{}}}let ne=(()=>{var de;class X{constructor(he,ot){this._mediaMatcher=he,this._zone=ot,this._queries=new Map,this._destroySubject=new g.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(he){return z((0,a.Eq)(he)).some(we=>this._registerQuery(we).mql.matches)}observe(he){const we=z((0,a.Eq)(he)).map(nt=>this._registerQuery(nt).observable);let tt=(0,m.a)(we);return tt=(0,s.z)(tt.pipe((0,u.q)(1)),tt.pipe((0,p.T)(1),(0,v.b)(0))),tt.pipe((0,f.U)(nt=>{const Se={matches:!1,breakpoints:{}};return nt.forEach(({matches:Ze,query:st})=>{Se.matches=Se.matches||Ze,Se.breakpoints[st]=Ze}),Se}))}_registerQuery(he){if(this._queries.has(he))return this._queries.get(he);const ot=this._mediaMatcher.matchMedia(he),tt={observable:new d.y(nt=>{const Se=Ze=>this._zone.run(()=>nt.next(Ze));return ot.addListener(Se),()=>{ot.removeListener(Se)}}).pipe((0,y.O)(ot),(0,f.U)(({matches:nt})=>({query:he,matches:nt})),(0,b.R)(this._destroySubject)),mql:ot};return this._queries.set(he,tt),tt}}return(de=X).\u0275fac=function(he){return new(he||de)(n.\u0275\u0275inject(M),n.\u0275\u0275inject(n.NgZone))},de.\u0275prov=n.\u0275\u0275defineInjectable({token:de,factory:de.\u0275fac,providedIn:"root"}),X})();function z(de){return de.map(X=>X.split(",")).reduce((X,fe)=>X.concat(fe)).map(X=>X.trim())}const K={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)"}},7131:(Z,o,c)=>{"use strict";c.d(o,{Q8:()=>v,wD:()=>p});var n=c(2495),a=c(5879),g=c(3018),m=c(8645),s=c(3620);let d=(()=>{var f;class y{create(_){return typeof MutationObserver>"u"?null:new MutationObserver(_)}}return(f=y).\u0275fac=function(_){return new(_||f)},f.\u0275prov=a.\u0275\u0275defineInjectable({token:f,factory:f.\u0275fac,providedIn:"root"}),y})(),u=(()=>{var f;class y{constructor(_){this._mutationObserverFactory=_,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((_,w)=>this._cleanupObserver(w))}observe(_){const w=(0,n.fI)(_);return new g.y(A=>{const M=this._observeElement(w).subscribe(A);return()=>{M.unsubscribe(),this._unobserveElement(w)}})}_observeElement(_){if(this._observedElements.has(_))this._observedElements.get(_).count++;else{const w=new m.x,A=this._mutationObserverFactory.create(R=>w.next(R));A&&A.observe(_,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(_,{observer:A,stream:w,count:1})}return this._observedElements.get(_).stream}_unobserveElement(_){this._observedElements.has(_)&&(this._observedElements.get(_).count--,this._observedElements.get(_).count||this._cleanupObserver(_))}_cleanupObserver(_){if(this._observedElements.has(_)){const{observer:w,stream:A}=this._observedElements.get(_);w&&w.disconnect(),A.complete(),this._observedElements.delete(_)}}}return(f=y).\u0275fac=function(_){return new(_||f)(a.\u0275\u0275inject(d))},f.\u0275prov=a.\u0275\u0275defineInjectable({token:f,factory:f.\u0275fac,providedIn:"root"}),y})(),p=(()=>{var f;class y{get disabled(){return this._disabled}set disabled(_){this._disabled=(0,n.Ig)(_),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(_){this._debounce=(0,n.su)(_),this._subscribe()}constructor(_,w,A){this._contentObserver=_,this._elementRef=w,this._ngZone=A,this.event=new a.EventEmitter,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const _=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?_.pipe((0,s.b)(this.debounce)):_).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return(f=y).\u0275fac=function(_){return new(_||f)(a.\u0275\u0275directiveInject(u),a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(a.NgZone))},f.\u0275dir=a.\u0275\u0275defineDirective({type:f,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),y})(),v=(()=>{var f;class y{}return(f=y).\u0275fac=function(_){return new(_||f)},f.\u0275mod=a.\u0275\u0275defineNgModule({type:f}),f.\u0275inj=a.\u0275\u0275defineInjector({providers:[d]}),y})()},9594:(Z,o,c)=>{"use strict";c.d(o,{Iu:()=>st,U8:()=>ht,X_:()=>de,Xj:()=>Ze,aV:()=>Be});var n=c(9829),a=c(6814),g=c(5879),m=c(2495),s=c(2831),d=c(2181),u=c(8180),p=c(9773),v=c(9388),f=c(8484),y=c(8645),b=c(7394),_=c(3019);const w=(0,s.Mq)();class A{constructor(Q,$e){this._viewportRuler=Q,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=$e}attach(){}enable(){if(this._canBeEnabled()){const Q=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=Q.style.left||"",this._previousHTMLStyles.top=Q.style.top||"",Q.style.left=(0,m.HM)(-this._previousScrollPosition.left),Q.style.top=(0,m.HM)(-this._previousScrollPosition.top),Q.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const Q=this._document.documentElement,Ne=Q.style,et=this._document.body.style,dt=Ne.scrollBehavior||"",xt=et.scrollBehavior||"";this._isEnabled=!1,Ne.left=this._previousHTMLStyles.left,Ne.top=this._previousHTMLStyles.top,Q.classList.remove("cdk-global-scrollblock"),w&&(Ne.scrollBehavior=et.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),w&&(Ne.scrollBehavior=dt,et.scrollBehavior=xt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const $e=this._document.body,Ne=this._viewportRuler.getViewportSize();return $e.scrollHeight>Ne.height||$e.scrollWidth>Ne.width}}class M{constructor(Q,$e,Ne,et){this._scrollDispatcher=Q,this._ngZone=$e,this._viewportRuler=Ne,this._config=et,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(Q){this._overlayRef=Q}enable(){if(this._scrollSubscription)return;const Q=this._scrollDispatcher.scrolled(0).pipe((0,d.h)($e=>!$e||!this._overlayRef.overlayElement.contains($e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=Q.subscribe(()=>{const $e=this._viewportRuler.getViewportScrollPosition().top;Math.abs($e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=Q.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Y{enable(){}disable(){}attach(){}}function $(qe,Q){return Q.some($e=>qe.bottom<$e.top||qe.top>$e.bottom||qe.right<$e.left||qe.left>$e.right)}function ne(qe,Q){return Q.some($e=>qe.top<$e.top||qe.bottom>$e.bottom||qe.left<$e.left||qe.right>$e.right)}class z{constructor(Q,$e,Ne,et){this._scrollDispatcher=Q,this._viewportRuler=$e,this._ngZone=Ne,this._config=et,this._scrollSubscription=null}attach(Q){this._overlayRef=Q}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 $e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:Ne,height:et}=this._viewportRuler.getViewportSize();$($e,[{width:Ne,height:et,bottom:et,right:Ne,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 K=(()=>{var qe;class Q{constructor(Ne,et,dt,xt){this._scrollDispatcher=Ne,this._viewportRuler=et,this._ngZone=dt,this.noop=()=>new Y,this.close=Nt=>new M(this._scrollDispatcher,this._ngZone,this._viewportRuler,Nt),this.block=()=>new A(this._viewportRuler,this._document),this.reposition=Nt=>new z(this._scrollDispatcher,this._viewportRuler,this._ngZone,Nt),this._document=xt}}return(qe=Q).\u0275fac=function(Ne){return new(Ne||qe)(g.\u0275\u0275inject(n.mF),g.\u0275\u0275inject(n.rL),g.\u0275\u0275inject(g.NgZone),g.\u0275\u0275inject(a.DOCUMENT))},qe.\u0275prov=g.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac,providedIn:"root"}),Q})();class de{constructor(Q){if(this.scrollStrategy=new Y,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,Q){const $e=Object.keys(Q);for(const Ne of $e)void 0!==Q[Ne]&&(this[Ne]=Q[Ne])}}}class he{constructor(Q,$e){this.connectionPair=Q,this.scrollableViewProperties=$e}}let tt=(()=>{var qe;class Q{constructor(Ne){this._attachedOverlays=[],this._document=Ne}ngOnDestroy(){this.detach()}add(Ne){this.remove(Ne),this._attachedOverlays.push(Ne)}remove(Ne){const et=this._attachedOverlays.indexOf(Ne);et>-1&&this._attachedOverlays.splice(et,1),0===this._attachedOverlays.length&&this.detach()}}return(qe=Q).\u0275fac=function(Ne){return new(Ne||qe)(g.\u0275\u0275inject(a.DOCUMENT))},qe.\u0275prov=g.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac,providedIn:"root"}),Q})(),nt=(()=>{var qe;class Q extends tt{constructor(Ne,et){super(Ne),this._ngZone=et,this._keydownListener=dt=>{const xt=this._attachedOverlays;for(let Nt=xt.length-1;Nt>-1;Nt--)if(xt[Nt]._keydownEvents.observers.length>0){const Qt=xt[Nt]._keydownEvents;this._ngZone?this._ngZone.run(()=>Qt.next(dt)):Qt.next(dt);break}}}add(Ne){super.add(Ne),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(qe=Q).\u0275fac=function(Ne){return new(Ne||qe)(g.\u0275\u0275inject(a.DOCUMENT),g.\u0275\u0275inject(g.NgZone,8))},qe.\u0275prov=g.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac,providedIn:"root"}),Q})(),Se=(()=>{var qe;class Q extends tt{constructor(Ne,et,dt){super(Ne),this._platform=et,this._ngZone=dt,this._cursorStyleIsSet=!1,this._pointerDownListener=xt=>{this._pointerDownEventTarget=(0,s.sA)(xt)},this._clickListener=xt=>{const Nt=(0,s.sA)(xt),Qt="click"===xt.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Nt;this._pointerDownEventTarget=null;const Jt=this._attachedOverlays.slice();for(let en=Jt.length-1;en>-1;en--){const pt=Jt[en];if(pt._outsidePointerEvents.observers.length<1||!pt.hasAttached())continue;if(pt.overlayElement.contains(Nt)||pt.overlayElement.contains(Qt))break;const vt=pt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>vt.next(xt)):vt.next(xt)}}}add(Ne){if(super.add(Ne),!this._isAttached){const et=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(et)):this._addEventListeners(et),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=et.style.cursor,et.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const Ne=this._document.body;Ne.removeEventListener("pointerdown",this._pointerDownListener,!0),Ne.removeEventListener("click",this._clickListener,!0),Ne.removeEventListener("auxclick",this._clickListener,!0),Ne.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(Ne.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(Ne){Ne.addEventListener("pointerdown",this._pointerDownListener,!0),Ne.addEventListener("click",this._clickListener,!0),Ne.addEventListener("auxclick",this._clickListener,!0),Ne.addEventListener("contextmenu",this._clickListener,!0)}}return(qe=Q).\u0275fac=function(Ne){return new(Ne||qe)(g.\u0275\u0275inject(a.DOCUMENT),g.\u0275\u0275inject(s.t4),g.\u0275\u0275inject(g.NgZone,8))},qe.\u0275prov=g.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac,providedIn:"root"}),Q})(),Ze=(()=>{var qe;class Q{constructor(Ne,et){this._platform=et,this._document=Ne}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Ne="cdk-overlay-container";if(this._platform.isBrowser||(0,s.Oy)()){const dt=this._document.querySelectorAll(`.${Ne}[platform="server"], .${Ne}[platform="test"]`);for(let xt=0;xt<dt.length;xt++)dt[xt].remove()}const et=this._document.createElement("div");et.classList.add(Ne),(0,s.Oy)()?et.setAttribute("platform","test"):this._platform.isBrowser||et.setAttribute("platform","server"),this._document.body.appendChild(et),this._containerElement=et}}return(qe=Q).\u0275fac=function(Ne){return new(Ne||qe)(g.\u0275\u0275inject(a.DOCUMENT),g.\u0275\u0275inject(s.t4))},qe.\u0275prov=g.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac,providedIn:"root"}),Q})();class st{constructor(Q,$e,Ne,et,dt,xt,Nt,Qt,Jt,en=!1){this._portalOutlet=Q,this._host=$e,this._pane=Ne,this._config=et,this._ngZone=dt,this._keyboardDispatcher=xt,this._document=Nt,this._location=Qt,this._outsideClickDispatcher=Jt,this._animationsDisabled=en,this._backdropElement=null,this._backdropClick=new y.x,this._attachments=new y.x,this._detachments=new y.x,this._locationChanges=b.w0.EMPTY,this._backdropClickHandler=pt=>this._backdropClick.next(pt),this._backdropTransitionendHandler=pt=>{this._disposeBackdrop(pt.target)},this._keydownEvents=new y.x,this._outsidePointerEvents=new y.x,et.scrollStrategy&&(this._scrollStrategy=et.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=et.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(Q){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const $e=this._portalOutlet.attach(Q);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,u.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 $e?.onDestroy&&$e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),$e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const Q=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),Q}dispose(){const Q=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,Q&&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(Q){Q!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=Q,this.hasAttached()&&(Q.attach(this),this.updatePosition()))}updateSize(Q){this._config={...this._config,...Q},this._updateElementSize()}setDirection(Q){this._config={...this._config,direction:Q},this._updateElementDirection()}addPanelClass(Q){this._pane&&this._toggleClasses(this._pane,Q,!0)}removePanelClass(Q){this._pane&&this._toggleClasses(this._pane,Q,!1)}getDirection(){const Q=this._config.direction;return Q?"string"==typeof Q?Q:Q.value:"ltr"}updateScrollStrategy(Q){Q!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=Q,this.hasAttached()&&(Q.attach(this),Q.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const Q=this._pane.style;Q.width=(0,m.HM)(this._config.width),Q.height=(0,m.HM)(this._config.height),Q.minWidth=(0,m.HM)(this._config.minWidth),Q.minHeight=(0,m.HM)(this._config.minHeight),Q.maxWidth=(0,m.HM)(this._config.maxWidth),Q.maxHeight=(0,m.HM)(this._config.maxHeight)}_togglePointerEvents(Q){this._pane.style.pointerEvents=Q?"":"none"}_attachBackdrop(){const Q="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(Q)})}):this._backdropElement.classList.add(Q)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const Q=this._backdropElement;if(Q){if(this._animationsDisabled)return void this._disposeBackdrop(Q);Q.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{Q.addEventListener("transitionend",this._backdropTransitionendHandler)}),Q.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(Q)},500))}}_toggleClasses(Q,$e,Ne){const et=(0,m.Eq)($e||[]).filter(dt=>!!dt);et.length&&(Ne?Q.classList.add(...et):Q.classList.remove(...et))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const Q=this._ngZone.onStable.pipe((0,p.R)((0,_.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()),Q.unsubscribe())})})}_disposeScrollStrategy(){const Q=this._scrollStrategy;Q&&(Q.disable(),Q.detach&&Q.detach())}_disposeBackdrop(Q){Q&&(Q.removeEventListener("click",this._backdropClickHandler),Q.removeEventListener("transitionend",this._backdropTransitionendHandler),Q.remove(),this._backdropElement===Q&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const W="cdk-overlay-connected-position-bounding-box",Ce=/([A-Za-z%]+)$/;class ee{get positions(){return this._preferredPositions}constructor(Q,$e,Ne,et,dt){this._viewportRuler=$e,this._document=Ne,this._platform=et,this._overlayContainer=dt,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 y.x,this._resizeSubscription=b.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(Q)}attach(Q){this._validatePositions(),Q.hostElement.classList.add(W),this._overlayRef=Q,this._boundingBox=Q.hostElement,this._pane=Q.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 Q=this._originRect,$e=this._overlayRect,Ne=this._viewportRect,et=this._containerRect,dt=[];let xt;for(let Nt of this._preferredPositions){let Qt=this._getOriginPoint(Q,et,Nt),Jt=this._getOverlayPoint(Qt,$e,Nt),en=this._getOverlayFit(Jt,$e,Ne,Nt);if(en.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Nt,Qt);this._canFitWithFlexibleDimensions(en,Jt,Ne)?dt.push({position:Nt,origin:Qt,overlayRect:$e,boundingBoxRect:this._calculateBoundingBoxRect(Qt,Nt)}):(!xt||xt.overlayFit.visibleArea<en.visibleArea)&&(xt={overlayFit:en,overlayPoint:Jt,originPoint:Qt,position:Nt,overlayRect:$e})}if(dt.length){let Nt=null,Qt=-1;for(const Jt of dt){const en=Jt.boundingBoxRect.width*Jt.boundingBoxRect.height*(Jt.position.weight||1);en>Qt&&(Qt=en,Nt=Jt)}return this._isPushed=!1,void this._applyPosition(Nt.position,Nt.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(xt.position,xt.originPoint);this._applyPosition(xt.position,xt.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&J(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(W),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const Q=this._lastPosition;if(Q){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const $e=this._getOriginPoint(this._originRect,this._containerRect,Q);this._applyPosition(Q,$e)}else this.apply()}withScrollableContainers(Q){return this._scrollables=Q,this}withPositions(Q){return this._preferredPositions=Q,-1===Q.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(Q){return this._viewportMargin=Q,this}withFlexibleDimensions(Q=!0){return this._hasFlexibleDimensions=Q,this}withGrowAfterOpen(Q=!0){return this._growAfterOpen=Q,this}withPush(Q=!0){return this._canPush=Q,this}withLockedPosition(Q=!0){return this._positionLocked=Q,this}setOrigin(Q){return this._origin=Q,this}withDefaultOffsetX(Q){return this._offsetX=Q,this}withDefaultOffsetY(Q){return this._offsetY=Q,this}withTransformOriginOn(Q){return this._transformOriginSelector=Q,this}_getOriginPoint(Q,$e,Ne){let et,dt;if("center"==Ne.originX)et=Q.left+Q.width/2;else{const xt=this._isRtl()?Q.right:Q.left,Nt=this._isRtl()?Q.left:Q.right;et="start"==Ne.originX?xt:Nt}return $e.left<0&&(et-=$e.left),dt="center"==Ne.originY?Q.top+Q.height/2:"top"==Ne.originY?Q.top:Q.bottom,$e.top<0&&(dt-=$e.top),{x:et,y:dt}}_getOverlayPoint(Q,$e,Ne){let et,dt;return et="center"==Ne.overlayX?-$e.width/2:"start"===Ne.overlayX?this._isRtl()?-$e.width:0:this._isRtl()?0:-$e.width,dt="center"==Ne.overlayY?-$e.height/2:"top"==Ne.overlayY?0:-$e.height,{x:Q.x+et,y:Q.y+dt}}_getOverlayFit(Q,$e,Ne,et){const dt=G($e);let{x:xt,y:Nt}=Q,Qt=this._getOffset(et,"x"),Jt=this._getOffset(et,"y");Qt&&(xt+=Qt),Jt&&(Nt+=Jt);let vt=0-Nt,Dt=Nt+dt.height-Ne.height,Ve=this._subtractOverflows(dt.width,0-xt,xt+dt.width-Ne.width),se=this._subtractOverflows(dt.height,vt,Dt),Qe=Ve*se;return{visibleArea:Qe,isCompletelyWithinViewport:dt.width*dt.height===Qe,fitsInViewportVertically:se===dt.height,fitsInViewportHorizontally:Ve==dt.width}}_canFitWithFlexibleDimensions(Q,$e,Ne){if(this._hasFlexibleDimensions){const et=Ne.bottom-$e.y,dt=Ne.right-$e.x,xt=j(this._overlayRef.getConfig().minHeight),Nt=j(this._overlayRef.getConfig().minWidth);return(Q.fitsInViewportVertically||null!=xt&&xt<=et)&&(Q.fitsInViewportHorizontally||null!=Nt&&Nt<=dt)}return!1}_pushOverlayOnScreen(Q,$e,Ne){if(this._previousPushAmount&&this._positionLocked)return{x:Q.x+this._previousPushAmount.x,y:Q.y+this._previousPushAmount.y};const et=G($e),dt=this._viewportRect,xt=Math.max(Q.x+et.width-dt.width,0),Nt=Math.max(Q.y+et.height-dt.height,0),Qt=Math.max(dt.top-Ne.top-Q.y,0),Jt=Math.max(dt.left-Ne.left-Q.x,0);let en=0,pt=0;return en=et.width<=dt.width?Jt||-xt:Q.x<this._viewportMargin?dt.left-Ne.left-Q.x:0,pt=et.height<=dt.height?Qt||-Nt:Q.y<this._viewportMargin?dt.top-Ne.top-Q.y:0,this._previousPushAmount={x:en,y:pt},{x:Q.x+en,y:Q.y+pt}}_applyPosition(Q,$e){if(this._setTransformOrigin(Q),this._setOverlayElementStyles($e,Q),this._setBoundingBoxStyles($e,Q),Q.panelClass&&this._addPanelClasses(Q.panelClass),this._lastPosition=Q,this._positionChanges.observers.length){const Ne=this._getScrollVisibility(),et=new he(Q,Ne);this._positionChanges.next(et)}this._isInitialRender=!1}_setTransformOrigin(Q){if(!this._transformOriginSelector)return;const $e=this._boundingBox.querySelectorAll(this._transformOriginSelector);let Ne,et=Q.overlayY;Ne="center"===Q.overlayX?"center":this._isRtl()?"start"===Q.overlayX?"right":"left":"start"===Q.overlayX?"left":"right";for(let dt=0;dt<$e.length;dt++)$e[dt].style.transformOrigin=`${Ne} ${et}`}_calculateBoundingBoxRect(Q,$e){const Ne=this._viewportRect,et=this._isRtl();let dt,xt,Nt,en,pt,vt;if("top"===$e.overlayY)xt=Q.y,dt=Ne.height-xt+this._viewportMargin;else if("bottom"===$e.overlayY)Nt=Ne.height-Q.y+2*this._viewportMargin,dt=Ne.height-Nt+this._viewportMargin;else{const Dt=Math.min(Ne.bottom-Q.y+Ne.top,Q.y),Ve=this._lastBoundingBoxSize.height;dt=2*Dt,xt=Q.y-Dt,dt>Ve&&!this._isInitialRender&&!this._growAfterOpen&&(xt=Q.y-Ve/2)}if("end"===$e.overlayX&&!et||"start"===$e.overlayX&&et)vt=Ne.width-Q.x+this._viewportMargin,en=Q.x-this._viewportMargin;else if("start"===$e.overlayX&&!et||"end"===$e.overlayX&&et)pt=Q.x,en=Ne.right-Q.x;else{const Dt=Math.min(Ne.right-Q.x+Ne.left,Q.x),Ve=this._lastBoundingBoxSize.width;en=2*Dt,pt=Q.x-Dt,en>Ve&&!this._isInitialRender&&!this._growAfterOpen&&(pt=Q.x-Ve/2)}return{top:xt,left:pt,bottom:Nt,right:vt,width:en,height:dt}}_setBoundingBoxStyles(Q,$e){const Ne=this._calculateBoundingBoxRect(Q,$e);!this._isInitialRender&&!this._growAfterOpen&&(Ne.height=Math.min(Ne.height,this._lastBoundingBoxSize.height),Ne.width=Math.min(Ne.width,this._lastBoundingBoxSize.width));const et={};if(this._hasExactPosition())et.top=et.left="0",et.bottom=et.right=et.maxHeight=et.maxWidth="",et.width=et.height="100%";else{const dt=this._overlayRef.getConfig().maxHeight,xt=this._overlayRef.getConfig().maxWidth;et.height=(0,m.HM)(Ne.height),et.top=(0,m.HM)(Ne.top),et.bottom=(0,m.HM)(Ne.bottom),et.width=(0,m.HM)(Ne.width),et.left=(0,m.HM)(Ne.left),et.right=(0,m.HM)(Ne.right),et.alignItems="center"===$e.overlayX?"center":"end"===$e.overlayX?"flex-end":"flex-start",et.justifyContent="center"===$e.overlayY?"center":"bottom"===$e.overlayY?"flex-end":"flex-start",dt&&(et.maxHeight=(0,m.HM)(dt)),xt&&(et.maxWidth=(0,m.HM)(xt))}this._lastBoundingBoxSize=Ne,J(this._boundingBox.style,et)}_resetBoundingBoxStyles(){J(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){J(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(Q,$e){const Ne={},et=this._hasExactPosition(),dt=this._hasFlexibleDimensions,xt=this._overlayRef.getConfig();if(et){const en=this._viewportRuler.getViewportScrollPosition();J(Ne,this._getExactOverlayY($e,Q,en)),J(Ne,this._getExactOverlayX($e,Q,en))}else Ne.position="static";let Nt="",Qt=this._getOffset($e,"x"),Jt=this._getOffset($e,"y");Qt&&(Nt+=`translateX(${Qt}px) `),Jt&&(Nt+=`translateY(${Jt}px)`),Ne.transform=Nt.trim(),xt.maxHeight&&(et?Ne.maxHeight=(0,m.HM)(xt.maxHeight):dt&&(Ne.maxHeight="")),xt.maxWidth&&(et?Ne.maxWidth=(0,m.HM)(xt.maxWidth):dt&&(Ne.maxWidth="")),J(this._pane.style,Ne)}_getExactOverlayY(Q,$e,Ne){let et={top:"",bottom:""},dt=this._getOverlayPoint($e,this._overlayRect,Q);return this._isPushed&&(dt=this._pushOverlayOnScreen(dt,this._overlayRect,Ne)),"bottom"===Q.overlayY?et.bottom=this._document.documentElement.clientHeight-(dt.y+this._overlayRect.height)+"px":et.top=(0,m.HM)(dt.y),et}_getExactOverlayX(Q,$e,Ne){let xt,et={left:"",right:""},dt=this._getOverlayPoint($e,this._overlayRect,Q);return this._isPushed&&(dt=this._pushOverlayOnScreen(dt,this._overlayRect,Ne)),xt=this._isRtl()?"end"===Q.overlayX?"left":"right":"end"===Q.overlayX?"right":"left","right"===xt?et.right=this._document.documentElement.clientWidth-(dt.x+this._overlayRect.width)+"px":et.left=(0,m.HM)(dt.x),et}_getScrollVisibility(){const Q=this._getOriginRect(),$e=this._pane.getBoundingClientRect(),Ne=this._scrollables.map(et=>et.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ne(Q,Ne),isOriginOutsideView:$(Q,Ne),isOverlayClipped:ne($e,Ne),isOverlayOutsideView:$($e,Ne)}}_subtractOverflows(Q,...$e){return $e.reduce((Ne,et)=>Ne-Math.max(et,0),Q)}_getNarrowedViewportRect(){const Q=this._document.documentElement.clientWidth,$e=this._document.documentElement.clientHeight,Ne=this._viewportRuler.getViewportScrollPosition();return{top:Ne.top+this._viewportMargin,left:Ne.left+this._viewportMargin,right:Ne.left+Q-this._viewportMargin,bottom:Ne.top+$e-this._viewportMargin,width:Q-2*this._viewportMargin,height:$e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(Q,$e){return"x"===$e?null==Q.offsetX?this._offsetX:Q.offsetX:null==Q.offsetY?this._offsetY:Q.offsetY}_validatePositions(){}_addPanelClasses(Q){this._pane&&(0,m.Eq)(Q).forEach($e=>{""!==$e&&-1===this._appliedPanelClasses.indexOf($e)&&(this._appliedPanelClasses.push($e),this._pane.classList.add($e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(Q=>{this._pane.classList.remove(Q)}),this._appliedPanelClasses=[])}_getOriginRect(){const Q=this._origin;if(Q instanceof g.ElementRef)return Q.nativeElement.getBoundingClientRect();if(Q instanceof Element)return Q.getBoundingClientRect();const $e=Q.width||0,Ne=Q.height||0;return{top:Q.y,bottom:Q.y+Ne,left:Q.x,right:Q.x+$e,height:Ne,width:$e}}}function J(qe,Q){for(let $e in Q)Q.hasOwnProperty($e)&&(qe[$e]=Q[$e]);return qe}function j(qe){if("number"!=typeof qe&&null!=qe){const[Q,$e]=qe.split(Ce);return $e&&"px"!==$e?null:parseFloat(Q)}return qe||null}function G(qe){return{top:Math.floor(qe.top),right:Math.floor(qe.right),bottom:Math.floor(qe.bottom),left:Math.floor(qe.left),width:Math.floor(qe.width),height:Math.floor(qe.height)}}const ae="cdk-global-overlay-wrapper";class Ee{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(Q){const $e=Q.getConfig();this._overlayRef=Q,this._width&&!$e.width&&Q.updateSize({width:this._width}),this._height&&!$e.height&&Q.updateSize({height:this._height}),Q.hostElement.classList.add(ae),this._isDisposed=!1}top(Q=""){return this._bottomOffset="",this._topOffset=Q,this._alignItems="flex-start",this}left(Q=""){return this._xOffset=Q,this._xPosition="left",this}bottom(Q=""){return this._topOffset="",this._bottomOffset=Q,this._alignItems="flex-end",this}right(Q=""){return this._xOffset=Q,this._xPosition="right",this}start(Q=""){return this._xOffset=Q,this._xPosition="start",this}end(Q=""){return this._xOffset=Q,this._xPosition="end",this}width(Q=""){return this._overlayRef?this._overlayRef.updateSize({width:Q}):this._width=Q,this}height(Q=""){return this._overlayRef?this._overlayRef.updateSize({height:Q}):this._height=Q,this}centerHorizontally(Q=""){return this.left(Q),this._xPosition="center",this}centerVertically(Q=""){return this.top(Q),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const Q=this._overlayRef.overlayElement.style,$e=this._overlayRef.hostElement.style,Ne=this._overlayRef.getConfig(),{width:et,height:dt,maxWidth:xt,maxHeight:Nt}=Ne,Qt=!("100%"!==et&&"100vw"!==et||xt&&"100%"!==xt&&"100vw"!==xt),Jt=!("100%"!==dt&&"100vh"!==dt||Nt&&"100%"!==Nt&&"100vh"!==Nt),en=this._xPosition,pt=this._xOffset,vt="rtl"===this._overlayRef.getConfig().direction;let Dt="",Ve="",se="";Qt?se="flex-start":"center"===en?(se="center",vt?Ve=pt:Dt=pt):vt?"left"===en||"end"===en?(se="flex-end",Dt=pt):("right"===en||"start"===en)&&(se="flex-start",Ve=pt):"left"===en||"start"===en?(se="flex-start",Dt=pt):("right"===en||"end"===en)&&(se="flex-end",Ve=pt),Q.position=this._cssPosition,Q.marginLeft=Qt?"0":Dt,Q.marginTop=Jt?"0":this._topOffset,Q.marginBottom=this._bottomOffset,Q.marginRight=Qt?"0":Ve,$e.justifyContent=se,$e.alignItems=Jt?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const Q=this._overlayRef.overlayElement.style,$e=this._overlayRef.hostElement,Ne=$e.style;$e.classList.remove(ae),Ne.justifyContent=Ne.alignItems=Q.marginTop=Q.marginBottom=Q.marginLeft=Q.marginRight=Q.position="",this._overlayRef=null,this._isDisposed=!0}}let pe=(()=>{var qe;class Q{constructor(Ne,et,dt,xt){this._viewportRuler=Ne,this._document=et,this._platform=dt,this._overlayContainer=xt}global(){return new Ee}flexibleConnectedTo(Ne){return new ee(Ne,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return(qe=Q).\u0275fac=function(Ne){return new(Ne||qe)(g.\u0275\u0275inject(n.rL),g.\u0275\u0275inject(a.DOCUMENT),g.\u0275\u0275inject(s.t4),g.\u0275\u0275inject(Ze))},qe.\u0275prov=g.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac,providedIn:"root"}),Q})(),Ge=0,Be=(()=>{var qe;class Q{constructor(Ne,et,dt,xt,Nt,Qt,Jt,en,pt,vt,Dt,Ve){this.scrollStrategies=Ne,this._overlayContainer=et,this._componentFactoryResolver=dt,this._positionBuilder=xt,this._keyboardDispatcher=Nt,this._injector=Qt,this._ngZone=Jt,this._document=en,this._directionality=pt,this._location=vt,this._outsideClickDispatcher=Dt,this._animationsModuleType=Ve}create(Ne){const et=this._createHostElement(),dt=this._createPaneElement(et),xt=this._createPortalOutlet(dt),Nt=new de(Ne);return Nt.direction=Nt.direction||this._directionality.value,new st(xt,et,dt,Nt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(Ne){const et=this._document.createElement("div");return et.id="cdk-overlay-"+Ge++,et.classList.add("cdk-overlay-pane"),Ne.appendChild(et),et}_createHostElement(){const Ne=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(Ne),Ne}_createPortalOutlet(Ne){return this._appRef||(this._appRef=this._injector.get(g.ApplicationRef)),new f.u0(Ne,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return(qe=Q).\u0275fac=function(Ne){return new(Ne||qe)(g.\u0275\u0275inject(K),g.\u0275\u0275inject(Ze),g.\u0275\u0275inject(g.ComponentFactoryResolver),g.\u0275\u0275inject(pe),g.\u0275\u0275inject(nt),g.\u0275\u0275inject(g.Injector),g.\u0275\u0275inject(g.NgZone),g.\u0275\u0275inject(a.DOCUMENT),g.\u0275\u0275inject(v.Is),g.\u0275\u0275inject(a.Location),g.\u0275\u0275inject(Se),g.\u0275\u0275inject(g.ANIMATION_MODULE_TYPE,8))},qe.\u0275prov=g.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac,providedIn:"root"}),Q})();const ye={provide:new g.InjectionToken("cdk-connected-overlay-scroll-strategy"),deps:[Be],useFactory:function Ke(qe){return()=>qe.scrollStrategies.reposition()}};let ht=(()=>{var qe;class Q{}return(qe=Q).\u0275fac=function(Ne){return new(Ne||qe)},qe.\u0275mod=g.\u0275\u0275defineNgModule({type:qe}),qe.\u0275inj=g.\u0275\u0275defineInjector({providers:[Be,ye],imports:[v.vT,f.eL,n.Cl,n.Cl]}),Q})()},2831:(Z,o,c)=>{"use strict";c.d(o,{Mq:()=>w,Oy:()=>z,ht:()=>$,i$:()=>y,kV:()=>Y,sA:()=>ne,t4:()=>m});var n=c(5879),a=c(6814);let g;try{g=typeof Intl<"u"&&Intl.v8BreakIterator}catch{g=!1}let v,_,R,m=(()=>{var K;class de{constructor(fe){this._platformId=fe,this.isBrowser=this._platformId?(0,a.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&&!g)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return(K=de).\u0275fac=function(fe){return new(fe||K)(n.\u0275\u0275inject(n.PLATFORM_ID))},K.\u0275prov=n.\u0275\u0275defineInjectable({token:K,factory:K.\u0275fac,providedIn:"root"}),de})();function y(K){return function f(){if(null==v&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>v=!0}))}finally{v=v||!1}return v}()?K:!!K.capture}function w(){if(null==_){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return _=!1,_;if("scrollBehavior"in document.documentElement.style)_=!0;else{const K=Element.prototype.scrollTo;_=!!K&&!/\{\s*\[native code\]\s*\}/.test(K.toString())}}return _}function Y(K){if(function M(){if(null==R){const K=typeof document<"u"?document.head:null;R=!(!K||!K.createShadowRoot&&!K.attachShadow)}return R}()){const de=K.getRootNode?K.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&de instanceof ShadowRoot)return de}return null}function $(){let K=typeof document<"u"&&document?document.activeElement:null;for(;K&&K.shadowRoot;){const de=K.shadowRoot.activeElement;if(de===K)break;K=de}return K}function ne(K){return K.composedPath?K.composedPath()[0]:K.target}function z(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},8484:(Z,o,c)=>{"use strict";c.d(o,{C5:()=>f,Pl:()=>$,UE:()=>y,eL:()=>z,en:()=>_,ig:()=>M,u0:()=>A});var n=c(5879),a=c(6814);class v{attach(X){return this._attachedHost=X,X.attach(this)}detach(){let X=this._attachedHost;null!=X&&(this._attachedHost=null,X.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(X){this._attachedHost=X}}class f extends v{constructor(X,fe,he,ot,we){super(),this.component=X,this.viewContainerRef=fe,this.injector=he,this.componentFactoryResolver=ot,this.projectableNodes=we}}class y extends v{constructor(X,fe,he,ot){super(),this.templateRef=X,this.viewContainerRef=fe,this.context=he,this.injector=ot}get origin(){return this.templateRef.elementRef}attach(X,fe=this.context){return this.context=fe,super.attach(X)}detach(){return this.context=void 0,super.detach()}}class b extends v{constructor(X){super(),this.element=X instanceof n.ElementRef?X.nativeElement:X}}class _{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(X){return X instanceof f?(this._attachedPortal=X,this.attachComponentPortal(X)):X instanceof y?(this._attachedPortal=X,this.attachTemplatePortal(X)):this.attachDomPortal&&X instanceof b?(this._attachedPortal=X,this.attachDomPortal(X)):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(X){this._disposeFn=X}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class A extends _{constructor(X,fe,he,ot,we){super(),this.outletElement=X,this._componentFactoryResolver=fe,this._appRef=he,this._defaultInjector=ot,this.attachDomPortal=tt=>{const nt=tt.element,Se=this._document.createComment("dom-portal");nt.parentNode.insertBefore(Se,nt),this.outletElement.appendChild(nt),this._attachedPortal=tt,super.setDisposeFn(()=>{Se.parentNode&&Se.parentNode.replaceChild(nt,Se)})},this._document=we}attachComponentPortal(X){const he=(X.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(X.component);let ot;return X.viewContainerRef?(ot=X.viewContainerRef.createComponent(he,X.viewContainerRef.length,X.injector||X.viewContainerRef.injector,X.projectableNodes||void 0),this.setDisposeFn(()=>ot.destroy())):(ot=he.create(X.injector||this._defaultInjector||n.Injector.NULL),this._appRef.attachView(ot.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(ot.hostView),ot.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(ot)),this._attachedPortal=X,ot}attachTemplatePortal(X){let fe=X.viewContainerRef,he=fe.createEmbeddedView(X.templateRef,X.context,{injector:X.injector});return he.rootNodes.forEach(ot=>this.outletElement.appendChild(ot)),he.detectChanges(),this.setDisposeFn(()=>{let ot=fe.indexOf(he);-1!==ot&&fe.remove(ot)}),this._attachedPortal=X,he}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(X){return X.hostView.rootNodes[0]}}let M=(()=>{var de;class X extends y{constructor(he,ot){super(he,ot)}}return(de=X).\u0275fac=function(he){return new(he||de)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef))},de.\u0275dir=n.\u0275\u0275defineDirective({type:de,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[n.\u0275\u0275InheritDefinitionFeature]}),X})(),$=(()=>{var de;class X extends _{constructor(he,ot,we){super(),this._componentFactoryResolver=he,this._viewContainerRef=ot,this._isInitialized=!1,this.attached=new n.EventEmitter,this.attachDomPortal=tt=>{const nt=tt.element,Se=this._document.createComment("dom-portal");tt.setAttachedHost(this),nt.parentNode.insertBefore(Se,nt),this._getRootNode().appendChild(nt),this._attachedPortal=tt,super.setDisposeFn(()=>{Se.parentNode&&Se.parentNode.replaceChild(nt,Se)})},this._document=we}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._attachedRef=this._attachedPortal=null}attachComponentPortal(he){he.setAttachedHost(this);const ot=null!=he.viewContainerRef?he.viewContainerRef:this._viewContainerRef,tt=(he.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(he.component),nt=ot.createComponent(tt,ot.length,he.injector||ot.injector,he.projectableNodes||void 0);return ot!==this._viewContainerRef&&this._getRootNode().appendChild(nt.hostView.rootNodes[0]),super.setDisposeFn(()=>nt.destroy()),this._attachedPortal=he,this._attachedRef=nt,this.attached.emit(nt),nt}attachTemplatePortal(he){he.setAttachedHost(this);const ot=this._viewContainerRef.createEmbeddedView(he.templateRef,he.context,{injector:he.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=he,this._attachedRef=ot,this.attached.emit(ot),ot}_getRootNode(){const he=this._viewContainerRef.element.nativeElement;return he.nodeType===he.ELEMENT_NODE?he:he.parentNode}}return(de=X).\u0275fac=function(he){return new(he||de)(n.\u0275\u0275directiveInject(n.ComponentFactoryResolver),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(a.DOCUMENT))},de.\u0275dir=n.\u0275\u0275defineDirective({type:de,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[n.\u0275\u0275InheritDefinitionFeature]}),X})(),z=(()=>{var de;class X{}return(de=X).\u0275fac=function(he){return new(he||de)},de.\u0275mod=n.\u0275\u0275defineNgModule({type:de}),de.\u0275inj=n.\u0275\u0275defineInjector({}),X})()},9829:(Z,o,c)=>{"use strict";c.d(o,{ZD:()=>xe,mF:()=>W,Cl:()=>at,rL:()=>J});var n=c(2495),a=c(5879),g=c(8645),m=c(2096),s=c(3018),d=c(2438),u=c(1954),p=c(7394);const v={schedule(ge){let Me=requestAnimationFrame,Ke=cancelAnimationFrame;const{delegate:ye}=v;ye&&(Me=ye.requestAnimationFrame,Ke=ye.cancelAnimationFrame);const ht=Me(gt=>{Ke=void 0,ge(gt)});return new p.w0(()=>Ke?.(ht))},requestAnimationFrame(...ge){const{delegate:Me}=v;return(Me?.requestAnimationFrame||requestAnimationFrame)(...ge)},cancelAnimationFrame(...ge){const{delegate:Me}=v;return(Me?.cancelAnimationFrame||cancelAnimationFrame)(...ge)},delegate:void 0};var y=c(9931);new class b extends y.v{flush(Me){this._active=!0;const Ke=this._scheduled;this._scheduled=void 0;const{actions:ye}=this;let ht;Me=Me||ye.shift();do{if(ht=Me.execute(Me.state,Me.delay))break}while((Me=ye[0])&&Me.id===Ke&&ye.shift());if(this._active=!1,ht){for(;(Me=ye[0])&&Me.id===Ke&&ye.shift();)Me.unsubscribe();throw ht}}}(class f extends u.o{constructor(Me,Ke){super(Me,Ke),this.scheduler=Me,this.work=Ke}requestAsyncId(Me,Ke,ye=0){return null!==ye&&ye>0?super.requestAsyncId(Me,Ke,ye):(Me.actions.push(this),Me._scheduled||(Me._scheduled=v.requestAnimationFrame(()=>Me.flush(void 0))))}recycleAsyncId(Me,Ke,ye=0){var ht;if(null!=ye?ye>0:this.delay>0)return super.recycleAsyncId(Me,Ke,ye);const{actions:gt}=Me;null!=Ke&&(null===(ht=gt[gt.length-1])||void 0===ht?void 0:ht.id)!==Ke&&(v.cancelAnimationFrame(Ke),Me._scheduled=void 0)}});c(6410);var R=c(6321),M=c(9360),Y=c(4829),$=c(8251),z=c(4825);function K(ge,Me=R.z){return function ne(ge){return(0,M.e)((Me,Ke)=>{let ye=!1,ht=null,gt=null,qe=!1;const Q=()=>{if(gt?.unsubscribe(),gt=null,ye){ye=!1;const Ne=ht;ht=null,Ke.next(Ne)}qe&&Ke.complete()},$e=()=>{gt=null,qe&&Ke.complete()};Me.subscribe((0,$.x)(Ke,Ne=>{ye=!0,ht=Ne,gt||(0,Y.Xf)(ge(Ne)).subscribe(gt=(0,$.x)(Ke,Q,$e))},()=>{qe=!0,(!ye||!gt||gt.closed)&&Ke.complete()}))})}(()=>(0,z.H)(ge,Me))}var de=c(2181),X=c(2831),fe=c(6814),he=c(9388);let W=(()=>{var ge;class Me{constructor(ye,ht,gt){this._ngZone=ye,this._platform=ht,this._scrolled=new g.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=gt}register(ye){this.scrollContainers.has(ye)||this.scrollContainers.set(ye,ye.elementScrolled().subscribe(()=>this._scrolled.next(ye)))}deregister(ye){const ht=this.scrollContainers.get(ye);ht&&(ht.unsubscribe(),this.scrollContainers.delete(ye))}scrolled(ye=20){return this._platform.isBrowser?new s.y(ht=>{this._globalSubscription||this._addGlobalListener();const gt=ye>0?this._scrolled.pipe(K(ye)).subscribe(ht):this._scrolled.subscribe(ht);return this._scrolledCount++,()=>{gt.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,m.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((ye,ht)=>this.deregister(ht)),this._scrolled.complete()}ancestorScrolled(ye,ht){const gt=this.getAncestorScrollContainers(ye);return this.scrolled(ht).pipe((0,de.h)(qe=>!qe||gt.indexOf(qe)>-1))}getAncestorScrollContainers(ye){const ht=[];return this.scrollContainers.forEach((gt,qe)=>{this._scrollableContainsElement(qe,ye)&&ht.push(qe)}),ht}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(ye,ht){let gt=(0,n.fI)(ht),qe=ye.getElementRef().nativeElement;do{if(gt==qe)return!0}while(gt=gt.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const ye=this._getWindow();return(0,d.R)(ye.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return(ge=Me).\u0275fac=function(ye){return new(ye||ge)(a.\u0275\u0275inject(a.NgZone),a.\u0275\u0275inject(X.t4),a.\u0275\u0275inject(fe.DOCUMENT,8))},ge.\u0275prov=a.\u0275\u0275defineInjectable({token:ge,factory:ge.\u0275fac,providedIn:"root"}),Me})(),J=(()=>{var ge;class Me{constructor(ye,ht,gt){this._platform=ye,this._change=new g.x,this._changeListener=qe=>{this._change.next(qe)},this._document=gt,ht.runOutsideAngular(()=>{if(ye.isBrowser){const qe=this._getWindow();qe.addEventListener("resize",this._changeListener),qe.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const ye=this._getWindow();ye.removeEventListener("resize",this._changeListener),ye.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const ye={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),ye}getViewportRect(){const ye=this.getViewportScrollPosition(),{width:ht,height:gt}=this.getViewportSize();return{top:ye.top,left:ye.left,bottom:ye.top+gt,right:ye.left+ht,height:gt,width:ht}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const ye=this._document,ht=this._getWindow(),gt=ye.documentElement,qe=gt.getBoundingClientRect();return{top:-qe.top||ye.body.scrollTop||ht.scrollY||gt.scrollTop||0,left:-qe.left||ye.body.scrollLeft||ht.scrollX||gt.scrollLeft||0}}change(ye=20){return ye>0?this._change.pipe(K(ye)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const ye=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:ye.innerWidth,height:ye.innerHeight}:{width:0,height:0}}}return(ge=Me).\u0275fac=function(ye){return new(ye||ge)(a.\u0275\u0275inject(X.t4),a.\u0275\u0275inject(a.NgZone),a.\u0275\u0275inject(fe.DOCUMENT,8))},ge.\u0275prov=a.\u0275\u0275defineInjectable({token:ge,factory:ge.\u0275fac,providedIn:"root"}),Me})(),xe=(()=>{var ge;class Me{}return(ge=Me).\u0275fac=function(ye){return new(ye||ge)},ge.\u0275mod=a.\u0275\u0275defineNgModule({type:ge}),ge.\u0275inj=a.\u0275\u0275defineInjector({}),Me})(),at=(()=>{var ge;class Me{}return(ge=Me).\u0275fac=function(ye){return new(ye||ge)},ge.\u0275mod=a.\u0275\u0275defineNgModule({type:ge}),ge.\u0275inj=a.\u0275\u0275defineInjector({imports:[he.vT,xe,he.vT,xe]}),Me})()},6814:(Z,o,c)=>{"use strict";c.r(o),c.d(o,{APP_BASE_HREF:()=>w,AsyncPipe:()=>co,BrowserPlatformLocation:()=>v,CommonModule:()=>Ui,CurrencyPipe:()=>hn,DATE_PIPE_DEFAULT_OPTIONS:()=>Jn,DATE_PIPE_DEFAULT_TIMEZONE:()=>Sn,DOCUMENT:()=>d,DatePipe:()=>qn,DecimalPipe:()=>$n,FormStyle:()=>fe,FormatWidth:()=>ot,HashLocationStrategy:()=>R,I18nPluralPipe:()=>ii,I18nSelectPipe:()=>Ar,IMAGE_CONFIG:()=>zn,IMAGE_LOADER:()=>bi,JsonPipe:()=>nr,KeyValuePipe:()=>mr,LOCATION_INITIALIZED:()=>p,Location:()=>M,LocationStrategy:()=>_,LowerCasePipe:()=>dr,NgClass:()=>Pn,NgComponentOutlet:()=>Hn,NgFor:()=>Kn,NgForOf:()=>Kn,NgForOfContext:()=>Gn,NgIf:()=>ve,NgIfContext:()=>Le,NgLocaleLocalization:()=>Pt,NgLocalization:()=>ft,NgOptimizedImage:()=>di,NgPlural:()=>Rt,NgPluralCase:()=>jt,NgStyle:()=>bn,NgSwitch:()=>Re,NgSwitchCase:()=>Ye,NgSwitchDefault:()=>B,NgTemplateOutlet:()=>Mn,NumberFormatStyle:()=>de,NumberSymbol:()=>we,PRECONNECT_CHECK_BLOCKLIST:()=>Jr,PathLocationStrategy:()=>A,PercentPipe:()=>Zt,PlatformLocation:()=>u,Plural:()=>X,SlicePipe:()=>Oi,TitleCasePipe:()=>er,TranslationWidth:()=>he,UpperCasePipe:()=>ur,VERSION:()=>pr,ViewportScroller:()=>vi,WeekDay:()=>tt,XhrFactory:()=>Wi,formatCurrency:()=>bt,formatDate:()=>Nt,formatNumber:()=>En,formatPercent:()=>kt,getCurrencySymbol:()=>ht,getLocaleCurrencyCode:()=>pe,getLocaleCurrencyName:()=>Ee,getLocaleCurrencySymbol:()=>ae,getLocaleDateFormat:()=>J,getLocaleDateTimeFormat:()=>G,getLocaleDayNames:()=>Ze,getLocaleDayPeriods:()=>Se,getLocaleDirection:()=>Me,getLocaleEraNames:()=>W,getLocaleExtraDayPeriodRules:()=>at,getLocaleExtraDayPeriods:()=>ge,getLocaleFirstDayOfWeek:()=>Ce,getLocaleId:()=>nt,getLocaleMonthNames:()=>st,getLocaleNumberFormat:()=>U,getLocaleNumberSymbol:()=>Oe,getLocalePluralCase:()=>Be,getLocaleTimeFormat:()=>j,getLocaleWeekEndRange:()=>ee,getNumberOfCurrencyDigits:()=>qe,isPlatformBrowser:()=>ji,isPlatformServer:()=>yr,isPlatformWorkerApp:()=>zi,isPlatformWorkerUi:()=>Rn,provideCloudflareLoader:()=>ci,provideCloudinaryLoader:()=>rr,provideImageKitLoader:()=>lo,provideImgixLoader:()=>be,registerLocaleData:()=>Yt,\u0275DomAdapter:()=>s,\u0275NullViewportScroller:()=>Pi,\u0275PLATFORM_BROWSER_ID:()=>Un,\u0275PLATFORM_SERVER_ID:()=>Xn,\u0275PLATFORM_WORKER_APP_ID:()=>Li,\u0275PLATFORM_WORKER_UI_ID:()=>sn,\u0275getDOM:()=>g,\u0275parseCookieValue:()=>Gt,\u0275setRootDomAdapter:()=>m});var n=c(5879);let a=null;function g(){return a}function m(T){a||(a=T)}class s{}const d=new n.InjectionToken("DocumentToken");let u=(()=>{var T;class F{historyGo(I){throw new Error("Not implemented")}}return(T=F).\u0275fac=function(I){return new(I||T)},T.\u0275prov=n.\u0275\u0275defineInjectable({token:T,factory:function(){return(0,n.inject)(v)},providedIn:"platform"}),F})();const p=new n.InjectionToken("Location Initialized");let v=(()=>{var T;class F extends u{constructor(){super(),this._doc=(0,n.inject)(d),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return g().getBaseHref(this._doc)}onPopState(I){const me=g().getGlobalEventTarget(this._doc,"window");return me.addEventListener("popstate",I,!1),()=>me.removeEventListener("popstate",I)}onHashChange(I){const me=g().getGlobalEventTarget(this._doc,"window");return me.addEventListener("hashchange",I,!1),()=>me.removeEventListener("hashchange",I)}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(I){this._location.pathname=I}pushState(I,me,He){this._history.pushState(I,me,He)}replaceState(I,me,He){this._history.replaceState(I,me,He)}forward(){this._history.forward()}back(){this._history.back()}historyGo(I=0){this._history.go(I)}getState(){return this._history.state}}return(T=F).\u0275fac=function(I){return new(I||T)},T.\u0275prov=n.\u0275\u0275defineInjectable({token:T,factory:function(){return new T},providedIn:"platform"}),F})();function f(T,F){if(0==T.length)return F;if(0==F.length)return T;let ke=0;return T.endsWith("/")&&ke++,F.startsWith("/")&&ke++,2==ke?T+F.substring(1):1==ke?T+F:T+"/"+F}function y(T){const F=T.match(/#|\?|$/),ke=F&&F.index||T.length;return T.slice(0,ke-("/"===T[ke-1]?1:0))+T.slice(ke)}function b(T){return T&&"?"!==T[0]?"?"+T:T}let _=(()=>{var T;class F{historyGo(I){throw new Error("Not implemented")}}return(T=F).\u0275fac=function(I){return new(I||T)},T.\u0275prov=n.\u0275\u0275defineInjectable({token:T,factory:function(){return(0,n.inject)(A)},providedIn:"root"}),F})();const w=new n.InjectionToken("appBaseHref");let A=(()=>{var T;class F extends _{constructor(I,me){super(),this._platformLocation=I,this._removeListenerFns=[],this._baseHref=me??this._platformLocation.getBaseHrefFromDOM()??(0,n.inject)(d).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(I){this._removeListenerFns.push(this._platformLocation.onPopState(I),this._platformLocation.onHashChange(I))}getBaseHref(){return this._baseHref}prepareExternalUrl(I){return f(this._baseHref,I)}path(I=!1){const me=this._platformLocation.pathname+b(this._platformLocation.search),He=this._platformLocation.hash;return He&&I?`${me}${He}`:me}pushState(I,me,He,At){const Ht=this.prepareExternalUrl(He+b(At));this._platformLocation.pushState(I,me,Ht)}replaceState(I,me,He,At){const Ht=this.prepareExternalUrl(He+b(At));this._platformLocation.replaceState(I,me,Ht)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(I=0){this._platformLocation.historyGo?.(I)}}return(T=F).\u0275fac=function(I){return new(I||T)(n.\u0275\u0275inject(u),n.\u0275\u0275inject(w,8))},T.\u0275prov=n.\u0275\u0275defineInjectable({token:T,factory:T.\u0275fac,providedIn:"root"}),F})(),R=(()=>{var T;class F extends _{constructor(I,me){super(),this._platformLocation=I,this._baseHref="",this._removeListenerFns=[],null!=me&&(this._baseHref=me)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(I){this._removeListenerFns.push(this._platformLocation.onPopState(I),this._platformLocation.onHashChange(I))}getBaseHref(){return this._baseHref}path(I=!1){let me=this._platformLocation.hash;return null==me&&(me="#"),me.length>0?me.substring(1):me}prepareExternalUrl(I){const me=f(this._baseHref,I);return me.length>0?"#"+me:me}pushState(I,me,He,At){let Ht=this.prepareExternalUrl(He+b(At));0==Ht.length&&(Ht=this._platformLocation.pathname),this._platformLocation.pushState(I,me,Ht)}replaceState(I,me,He,At){let Ht=this.prepareExternalUrl(He+b(At));0==Ht.length&&(Ht=this._platformLocation.pathname),this._platformLocation.replaceState(I,me,Ht)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(I=0){this._platformLocation.historyGo?.(I)}}return(T=F).\u0275fac=function(I){return new(I||T)(n.\u0275\u0275inject(u),n.\u0275\u0275inject(w,8))},T.\u0275prov=n.\u0275\u0275defineInjectable({token:T,factory:T.\u0275fac}),F})(),M=(()=>{var T;class F{constructor(I){this._subject=new n.EventEmitter,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=I;const me=this._locationStrategy.getBaseHref();this._basePath=function z(T){if(new RegExp("^(https?:)?//").test(T)){const[,ke]=T.split(/\/\/[^\/]+/);return ke}return T}(y(ne(me))),this._locationStrategy.onPopState(He=>{this._subject.emit({url:this.path(!0),pop:!0,state:He.state,type:He.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(I=!1){return this.normalize(this._locationStrategy.path(I))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(I,me=""){return this.path()==this.normalize(I+b(me))}normalize(I){return F.stripTrailingSlash(function $(T,F){if(!T||!F.startsWith(T))return F;const ke=F.substring(T.length);return""===ke||["/",";","?","#"].includes(ke[0])?ke:F}(this._basePath,ne(I)))}prepareExternalUrl(I){return I&&"/"!==I[0]&&(I="/"+I),this._locationStrategy.prepareExternalUrl(I)}go(I,me="",He=null){this._locationStrategy.pushState(He,"",I,me),this._notifyUrlChangeListeners(this.prepareExternalUrl(I+b(me)),He)}replaceState(I,me="",He=null){this._locationStrategy.replaceState(He,"",I,me),this._notifyUrlChangeListeners(this.prepareExternalUrl(I+b(me)),He)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(I=0){this._locationStrategy.historyGo?.(I)}onUrlChange(I){return this._urlChangeListeners.push(I),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(me=>{this._notifyUrlChangeListeners(me.url,me.state)})),()=>{const me=this._urlChangeListeners.indexOf(I);this._urlChangeListeners.splice(me,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(I="",me){this._urlChangeListeners.forEach(He=>He(I,me))}subscribe(I,me,He){return this._subject.subscribe({next:I,error:me,complete:He})}}return(T=F).normalizeQueryParams=b,T.joinWithSlash=f,T.stripTrailingSlash=y,T.\u0275fac=function(I){return new(I||T)(n.\u0275\u0275inject(_))},T.\u0275prov=n.\u0275\u0275defineInjectable({token:T,factory:function(){return function Y(){return new M((0,n.\u0275\u0275inject)(_))}()},providedIn:"root"}),F})();function ne(T){return T.replace(/\/index.html$/,"")}const K={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 de=function(T){return T[T.Decimal=0]="Decimal",T[T.Percent=1]="Percent",T[T.Currency=2]="Currency",T[T.Scientific=3]="Scientific",T}(de||{}),X=function(T){return T[T.Zero=0]="Zero",T[T.One=1]="One",T[T.Two=2]="Two",T[T.Few=3]="Few",T[T.Many=4]="Many",T[T.Other=5]="Other",T}(X||{}),fe=function(T){return T[T.Format=0]="Format",T[T.Standalone=1]="Standalone",T}(fe||{}),he=function(T){return T[T.Narrow=0]="Narrow",T[T.Abbreviated=1]="Abbreviated",T[T.Wide=2]="Wide",T[T.Short=3]="Short",T}(he||{}),ot=function(T){return T[T.Short=0]="Short",T[T.Medium=1]="Medium",T[T.Long=2]="Long",T[T.Full=3]="Full",T}(ot||{}),we=function(T){return T[T.Decimal=0]="Decimal",T[T.Group=1]="Group",T[T.List=2]="List",T[T.PercentSign=3]="PercentSign",T[T.PlusSign=4]="PlusSign",T[T.MinusSign=5]="MinusSign",T[T.Exponential=6]="Exponential",T[T.SuperscriptingExponent=7]="SuperscriptingExponent",T[T.PerMille=8]="PerMille",T[T.Infinity=9]="Infinity",T[T.NaN=10]="NaN",T[T.TimeSeparator=11]="TimeSeparator",T[T.CurrencyDecimal=12]="CurrencyDecimal",T[T.CurrencyGroup=13]="CurrencyGroup",T}(we||{}),tt=function(T){return T[T.Sunday=0]="Sunday",T[T.Monday=1]="Monday",T[T.Tuesday=2]="Tuesday",T[T.Wednesday=3]="Wednesday",T[T.Thursday=4]="Thursday",T[T.Friday=5]="Friday",T[T.Saturday=6]="Saturday",T}(tt||{});function nt(T){return(0,n.\u0275findLocaleData)(T)[n.\u0275LocaleDataIndex.LocaleId]}function Se(T,F,ke){const I=(0,n.\u0275findLocaleData)(T),He=Ke([I[n.\u0275LocaleDataIndex.DayPeriodsFormat],I[n.\u0275LocaleDataIndex.DayPeriodsStandalone]],F);return Ke(He,ke)}function Ze(T,F,ke){const I=(0,n.\u0275findLocaleData)(T),He=Ke([I[n.\u0275LocaleDataIndex.DaysFormat],I[n.\u0275LocaleDataIndex.DaysStandalone]],F);return Ke(He,ke)}function st(T,F,ke){const I=(0,n.\u0275findLocaleData)(T),He=Ke([I[n.\u0275LocaleDataIndex.MonthsFormat],I[n.\u0275LocaleDataIndex.MonthsStandalone]],F);return Ke(He,ke)}function W(T,F){return Ke((0,n.\u0275findLocaleData)(T)[n.\u0275LocaleDataIndex.Eras],F)}function Ce(T){return(0,n.\u0275findLocaleData)(T)[n.\u0275LocaleDataIndex.FirstDayOfWeek]}function ee(T){return(0,n.\u0275findLocaleData)(T)[n.\u0275LocaleDataIndex.WeekendRange]}function J(T,F){return Ke((0,n.\u0275findLocaleData)(T)[n.\u0275LocaleDataIndex.DateFormat],F)}function j(T,F){return Ke((0,n.\u0275findLocaleData)(T)[n.\u0275LocaleDataIndex.TimeFormat],F)}function G(T,F){return Ke((0,n.\u0275findLocaleData)(T)[n.\u0275LocaleDataIndex.DateTimeFormat],F)}function Oe(T,F){const ke=(0,n.\u0275findLocaleData)(T),I=ke[n.\u0275LocaleDataIndex.NumberSymbols][F];if(typeof I>"u"){if(F===we.CurrencyDecimal)return ke[n.\u0275LocaleDataIndex.NumberSymbols][we.Decimal];if(F===we.CurrencyGroup)return ke[n.\u0275LocaleDataIndex.NumberSymbols][we.Group]}return I}function U(T,F){return(0,n.\u0275findLocaleData)(T)[n.\u0275LocaleDataIndex.NumberFormats][F]}function ae(T){return(0,n.\u0275findLocaleData)(T)[n.\u0275LocaleDataIndex.CurrencySymbol]||null}function Ee(T){return(0,n.\u0275findLocaleData)(T)[n.\u0275LocaleDataIndex.CurrencyName]||null}function pe(T){return(0,n.\u0275getLocaleCurrencyCode)(T)}const Be=n.\u0275getLocalePluralCase;function xe(T){if(!T[n.\u0275LocaleDataIndex.ExtraData])throw new Error(`Missing extra locale data for the locale "${T[n.\u0275LocaleDataIndex.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function at(T){const F=(0,n.\u0275findLocaleData)(T);return xe(F),(F[n.\u0275LocaleDataIndex.ExtraData][2]||[]).map(I=>"string"==typeof I?ye(I):[ye(I[0]),ye(I[1])])}function ge(T,F,ke){const I=(0,n.\u0275findLocaleData)(T);xe(I);const He=Ke([I[n.\u0275LocaleDataIndex.ExtraData][0],I[n.\u0275LocaleDataIndex.ExtraData][1]],F)||[];return Ke(He,ke)||[]}function Me(T){return(0,n.\u0275findLocaleData)(T)[n.\u0275LocaleDataIndex.Directionality]}function Ke(T,F){for(let ke=F;ke>-1;ke--)if(typeof T[ke]<"u")return T[ke];throw new Error("Locale data API: locale data undefined")}function ye(T){const[F,ke]=T.split(":");return{hours:+F,minutes:+ke}}function ht(T,F,ke="en"){const I=function Ge(T){return(0,n.\u0275findLocaleData)(T)[n.\u0275LocaleDataIndex.Currencies]}(ke)[T]||K[T]||[],me=I[1];return"narrow"===F&&"string"==typeof me?me:I[0]||T}const gt=2;function qe(T){let F;const ke=K[T];return ke&&(F=ke[2]),"number"==typeof F?F:gt}const Q=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,$e={},Ne=/((?:[^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 et=function(T){return T[T.Short=0]="Short",T[T.ShortGMT=1]="ShortGMT",T[T.Long=2]="Long",T[T.Extended=3]="Extended",T}(et||{}),dt=function(T){return T[T.FullYear=0]="FullYear",T[T.Month=1]="Month",T[T.Date=2]="Date",T[T.Hours=3]="Hours",T[T.Minutes=4]="Minutes",T[T.Seconds=5]="Seconds",T[T.FractionalSeconds=6]="FractionalSeconds",T[T.Day=7]="Day",T}(dt||{}),xt=function(T){return T[T.DayPeriods=0]="DayPeriods",T[T.Days=1]="Days",T[T.Months=2]="Months",T[T.Eras=3]="Eras",T}(xt||{});function Nt(T,F,ke,I){let me=function zt(T){if(Xe(T))return T;if("number"==typeof T&&!isNaN(T))return new Date(T);if("string"==typeof T){if(T=T.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(T)){const[me,He=1,At=1]=T.split("-").map(Ht=>+Ht);return Qt(me,He-1,At)}const ke=parseFloat(T);if(!isNaN(T-ke))return new Date(ke);let I;if(I=T.match(Q))return function ut(T){const F=new Date(0);let ke=0,I=0;const me=T[8]?F.setUTCFullYear:F.setFullYear,He=T[8]?F.setUTCHours:F.setHours;T[9]&&(ke=Number(T[9]+T[10]),I=Number(T[9]+T[11])),me.call(F,Number(T[1]),Number(T[2])-1,Number(T[3]));const At=Number(T[4]||0)-ke,Ht=Number(T[5]||0)-I,Cn=Number(T[6]||0),jn=Math.floor(1e3*parseFloat("0."+(T[7]||0)));return He.call(F,At,Ht,Cn,jn),F}(I)}const F=new Date(T);if(!Xe(F))throw new Error(`Unable to convert "${T}" into a date`);return F}(T);F=Jt(ke,F)||F;let Ht,At=[];for(;F;){if(Ht=Ne.exec(F),!Ht){At.push(F);break}{At=At.concat(Ht.slice(1));const Bn=At.pop();if(!Bn)break;F=Bn}}let Cn=me.getTimezoneOffset();I&&(Cn=ze(I,Cn),me=function It(T,F,ke){const I=ke?-1:1,me=T.getTimezoneOffset();return function lt(T,F){return(T=new Date(T.getTime())).setMinutes(T.getMinutes()+F),T}(T,I*(ze(F,me)-me))}(me,I,!0));let jn="";return At.forEach(Bn=>{const In=function St(T){if(it[T])return it[T];let F;switch(T){case"G":case"GG":case"GGG":F=se(xt.Eras,he.Abbreviated);break;case"GGGG":F=se(xt.Eras,he.Wide);break;case"GGGGG":F=se(xt.Eras,he.Narrow);break;case"y":F=Dt(dt.FullYear,1,0,!1,!0);break;case"yy":F=Dt(dt.FullYear,2,0,!0,!0);break;case"yyy":F=Dt(dt.FullYear,3,0,!1,!0);break;case"yyyy":F=Dt(dt.FullYear,4,0,!1,!0);break;case"Y":F=Ct(1);break;case"YY":F=Ct(2,!0);break;case"YYY":F=Ct(3);break;case"YYYY":F=Ct(4);break;case"M":case"L":F=Dt(dt.Month,1,1);break;case"MM":case"LL":F=Dt(dt.Month,2,1);break;case"MMM":F=se(xt.Months,he.Abbreviated);break;case"MMMM":F=se(xt.Months,he.Wide);break;case"MMMMM":F=se(xt.Months,he.Narrow);break;case"LLL":F=se(xt.Months,he.Abbreviated,fe.Standalone);break;case"LLLL":F=se(xt.Months,he.Wide,fe.Standalone);break;case"LLLLL":F=se(xt.Months,he.Narrow,fe.Standalone);break;case"w":F=vn(1);break;case"ww":F=vn(2);break;case"W":F=vn(1,!0);break;case"d":F=Dt(dt.Date,1);break;case"dd":F=Dt(dt.Date,2);break;case"c":case"cc":F=Dt(dt.Day,1);break;case"ccc":F=se(xt.Days,he.Abbreviated,fe.Standalone);break;case"cccc":F=se(xt.Days,he.Wide,fe.Standalone);break;case"ccccc":F=se(xt.Days,he.Narrow,fe.Standalone);break;case"cccccc":F=se(xt.Days,he.Short,fe.Standalone);break;case"E":case"EE":case"EEE":F=se(xt.Days,he.Abbreviated);break;case"EEEE":F=se(xt.Days,he.Wide);break;case"EEEEE":F=se(xt.Days,he.Narrow);break;case"EEEEEE":F=se(xt.Days,he.Short);break;case"a":case"aa":case"aaa":F=se(xt.DayPeriods,he.Abbreviated);break;case"aaaa":F=se(xt.DayPeriods,he.Wide);break;case"aaaaa":F=se(xt.DayPeriods,he.Narrow);break;case"b":case"bb":case"bbb":F=se(xt.DayPeriods,he.Abbreviated,fe.Standalone,!0);break;case"bbbb":F=se(xt.DayPeriods,he.Wide,fe.Standalone,!0);break;case"bbbbb":F=se(xt.DayPeriods,he.Narrow,fe.Standalone,!0);break;case"B":case"BB":case"BBB":F=se(xt.DayPeriods,he.Abbreviated,fe.Format,!0);break;case"BBBB":F=se(xt.DayPeriods,he.Wide,fe.Format,!0);break;case"BBBBB":F=se(xt.DayPeriods,he.Narrow,fe.Format,!0);break;case"h":F=Dt(dt.Hours,1,-12);break;case"hh":F=Dt(dt.Hours,2,-12);break;case"H":F=Dt(dt.Hours,1);break;case"HH":F=Dt(dt.Hours,2);break;case"m":F=Dt(dt.Minutes,1);break;case"mm":F=Dt(dt.Minutes,2);break;case"s":F=Dt(dt.Seconds,1);break;case"ss":F=Dt(dt.Seconds,2);break;case"S":F=Dt(dt.FractionalSeconds,1);break;case"SS":F=Dt(dt.FractionalSeconds,2);break;case"SSS":F=Dt(dt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":F=wt(et.Short);break;case"ZZZZZ":F=wt(et.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":F=wt(et.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":F=wt(et.Long);break;default:return null}return it[T]=F,F}(Bn);jn+=In?In(me,ke,Cn):"''"===Bn?"'":Bn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),jn}function Qt(T,F,ke){const I=new Date(0);return I.setFullYear(T,F,ke),I.setHours(0,0,0),I}function Jt(T,F){const ke=nt(T);if($e[ke]=$e[ke]||{},$e[ke][F])return $e[ke][F];let I="";switch(F){case"shortDate":I=J(T,ot.Short);break;case"mediumDate":I=J(T,ot.Medium);break;case"longDate":I=J(T,ot.Long);break;case"fullDate":I=J(T,ot.Full);break;case"shortTime":I=j(T,ot.Short);break;case"mediumTime":I=j(T,ot.Medium);break;case"longTime":I=j(T,ot.Long);break;case"fullTime":I=j(T,ot.Full);break;case"short":const me=Jt(T,"shortTime"),He=Jt(T,"shortDate");I=en(G(T,ot.Short),[me,He]);break;case"medium":const At=Jt(T,"mediumTime"),Ht=Jt(T,"mediumDate");I=en(G(T,ot.Medium),[At,Ht]);break;case"long":const Cn=Jt(T,"longTime"),jn=Jt(T,"longDate");I=en(G(T,ot.Long),[Cn,jn]);break;case"full":const Bn=Jt(T,"fullTime"),In=Jt(T,"fullDate");I=en(G(T,ot.Full),[Bn,In])}return I&&($e[ke][F]=I),I}function en(T,F){return F&&(T=T.replace(/\{([^}]+)}/g,function(ke,I){return null!=F&&I in F?F[I]:ke})),T}function pt(T,F,ke="-",I,me){let He="";(T<0||me&&T<=0)&&(me?T=1-T:(T=-T,He=ke));let At=String(T);for(;At.length<F;)At="0"+At;return I&&(At=At.slice(At.length-F)),He+At}function Dt(T,F,ke=0,I=!1,me=!1){return function(He,At){let Ht=function Ve(T,F){switch(T){case dt.FullYear:return F.getFullYear();case dt.Month:return F.getMonth();case dt.Date:return F.getDate();case dt.Hours:return F.getHours();case dt.Minutes:return F.getMinutes();case dt.Seconds:return F.getSeconds();case dt.FractionalSeconds:return F.getMilliseconds();case dt.Day:return F.getDay();default:throw new Error(`Unknown DateType value "${T}".`)}}(T,He);if((ke>0||Ht>-ke)&&(Ht+=ke),T===dt.Hours)0===Ht&&-12===ke&&(Ht=12);else if(T===dt.FractionalSeconds)return function vt(T,F){return pt(T,3).substring(0,F)}(Ht,F);const Cn=Oe(At,we.MinusSign);return pt(Ht,F,Cn,I,me)}}function se(T,F,ke=fe.Format,I=!1){return function(me,He){return function Qe(T,F,ke,I,me,He){switch(ke){case xt.Months:return st(F,me,I)[T.getMonth()];case xt.Days:return Ze(F,me,I)[T.getDay()];case xt.DayPeriods:const At=T.getHours(),Ht=T.getMinutes();if(He){const jn=at(F),Bn=ge(F,me,I),In=jn.findIndex(ui=>{if(Array.isArray(ui)){const[Qn,Ei]=ui,Pr=At>=Qn.hours&&Ht>=Qn.minutes,xr=At<Ei.hours||At===Ei.hours&&Ht<Ei.minutes;if(Qn.hours<Ei.hours){if(Pr&&xr)return!0}else if(Pr||xr)return!0}else if(ui.hours===At&&ui.minutes===Ht)return!0;return!1});if(-1!==In)return Bn[In]}return Se(F,me,I)[At<12?0:1];case xt.Eras:return W(F,I)[T.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${ke}`)}}(me,He,T,F,ke,I)}}function wt(T){return function(F,ke,I){const me=-1*I,He=Oe(ke,we.MinusSign),At=me>0?Math.floor(me/60):Math.ceil(me/60);switch(T){case et.Short:return(me>=0?"+":"")+pt(At,2,He)+pt(Math.abs(me%60),2,He);case et.ShortGMT:return"GMT"+(me>=0?"+":"")+pt(At,1,He);case et.Long:return"GMT"+(me>=0?"+":"")+pt(At,2,He)+":"+pt(Math.abs(me%60),2,He);case et.Extended:return 0===I?"Z":(me>=0?"+":"")+pt(At,2,He)+":"+pt(Math.abs(me%60),2,He);default:throw new Error(`Unknown zone width "${T}"`)}}}const Lt=0,Ut=4;function fn(T){return Qt(T.getFullYear(),T.getMonth(),T.getDate()+(Ut-T.getDay()))}function vn(T,F=!1){return function(ke,I){let me;if(F){const He=new Date(ke.getFullYear(),ke.getMonth(),1).getDay()-1,At=ke.getDate();me=1+Math.floor((At+He)/7)}else{const He=fn(ke),At=function rn(T){const F=Qt(T,Lt,1).getDay();return Qt(T,0,1+(F<=Ut?Ut:Ut+7)-F)}(He.getFullYear()),Ht=He.getTime()-At.getTime();me=1+Math.round(Ht/6048e5)}return pt(me,T,Oe(I,we.MinusSign))}}function Ct(T,F=!1){return function(ke,I){return pt(fn(ke).getFullYear(),T,Oe(I,we.MinusSign),F)}}const it={};function ze(T,F){T=T.replace(/:/g,"");const ke=Date.parse("Jan 01, 1970 00:00:00 "+T)/6e4;return isNaN(ke)?F:ke}function Xe(T){return T instanceof Date&&!isNaN(T.valueOf())}const _e=/^(\d+)?\.((\d+)(-(\d+))?)?$/,V=22,ce=".",ie="0",We=";",Pe=",",rt="#",Tt="\xa4",ue="%";function Ae(T,F,ke,I,me,He,At=!1){let Ht="",Cn=!1;if(isFinite(T)){let jn=function Ue(T){let I,me,He,At,Ht,F=Math.abs(T)+"",ke=0;for((me=F.indexOf(ce))>-1&&(F=F.replace(ce,"")),(He=F.search(/e/i))>0?(me<0&&(me=He),me+=+F.slice(He+1),F=F.substring(0,He)):me<0&&(me=F.length),He=0;F.charAt(He)===ie;He++);if(He===(Ht=F.length))I=[0],me=1;else{for(Ht--;F.charAt(Ht)===ie;)Ht--;for(me-=He,I=[],At=0;He<=Ht;He++,At++)I[At]=Number(F.charAt(He))}return me>V&&(I=I.splice(0,V-1),ke=me-1,me=1),{digits:I,exponent:ke,integerLen:me}}(T);At&&(jn=function gn(T){if(0===T.digits[0])return T;const F=T.digits.length-T.integerLen;return T.exponent?T.exponent+=2:(0===F?T.digits.push(0,0):1===F&&T.digits.push(0),T.integerLen+=2),T}(jn));let Bn=F.minInt,In=F.minFrac,ui=F.maxFrac;if(He){const Gi=He.match(_e);if(null===Gi)throw new Error(`${He} is not a valid digit info`);const qr=Gi[1],Ii=Gi[3],eo=Gi[5];null!=qr&&(Bn=_t(qr)),null!=Ii&&(In=_t(Ii)),null!=eo?ui=_t(eo):null!=Ii&&In>ui&&(ui=In)}!function Fe(T,F,ke){if(F>ke)throw new Error(`The minimum number of digits after fraction (${F}) is higher than the maximum (${ke}).`);let I=T.digits,me=I.length-T.integerLen;const He=Math.min(Math.max(F,me),ke);let At=He+T.integerLen,Ht=I[At];if(At>0){I.splice(Math.max(T.integerLen,At));for(let In=At;In<I.length;In++)I[In]=0}else{me=Math.max(0,me),T.integerLen=1,I.length=Math.max(1,At=He+1),I[0]=0;for(let In=1;In<At;In++)I[In]=0}if(Ht>=5)if(At-1<0){for(let In=0;In>At;In--)I.unshift(0),T.integerLen++;I.unshift(1),T.integerLen++}else I[At-1]++;for(;me<Math.max(0,He);me++)I.push(0);let Cn=0!==He;const jn=F+T.integerLen,Bn=I.reduceRight(function(In,ui,Qn,Ei){return Ei[Qn]=(ui+=In)<10?ui:ui-10,Cn&&(0===Ei[Qn]&&Qn>=jn?Ei.pop():Cn=!1),ui>=10?1:0},0);Bn&&(I.unshift(Bn),T.integerLen++)}(jn,In,ui);let Qn=jn.digits,Ei=jn.integerLen;const Pr=jn.exponent;let xr=[];for(Cn=Qn.every(Gi=>!Gi);Ei<Bn;Ei++)Qn.unshift(0);for(;Ei<0;Ei++)Qn.unshift(0);Ei>0?xr=Qn.splice(Ei,Qn.length):(xr=Qn,Qn=[0]);const ho=[];for(Qn.length>=F.lgSize&&ho.unshift(Qn.splice(-F.lgSize,Qn.length).join(""));Qn.length>F.gSize;)ho.unshift(Qn.splice(-F.gSize,Qn.length).join(""));Qn.length&&ho.unshift(Qn.join("")),Ht=ho.join(Oe(ke,I)),xr.length&&(Ht+=Oe(ke,me)+xr.join("")),Pr&&(Ht+=Oe(ke,we.Exponential)+"+"+Pr)}else Ht=Oe(ke,we.Infinity);return Ht=T<0&&!Cn?F.negPre+Ht+F.negSuf:F.posPre+Ht+F.posSuf,Ht}function bt(T,F,ke,I,me){const At=un(U(F,de.Currency),Oe(F,we.MinusSign));return At.minFrac=qe(I),At.maxFrac=At.minFrac,Ae(T,At,F,we.CurrencyGroup,we.CurrencyDecimal,me).replace(Tt,ke).replace(Tt,"").trim()}function kt(T,F,ke){return Ae(T,un(U(F,de.Percent),Oe(F,we.MinusSign)),F,we.Group,we.Decimal,ke,!0).replace(new RegExp(ue,"g"),Oe(F,we.PercentSign))}function En(T,F,ke){return Ae(T,un(U(F,de.Decimal),Oe(F,we.MinusSign)),F,we.Group,we.Decimal,ke)}function un(T,F="-"){const ke={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},I=T.split(We),me=I[0],He=I[1],At=-1!==me.indexOf(ce)?me.split(ce):[me.substring(0,me.lastIndexOf(ie)+1),me.substring(me.lastIndexOf(ie)+1)],Ht=At[0],Cn=At[1]||"";ke.posPre=Ht.substring(0,Ht.indexOf(rt));for(let Bn=0;Bn<Cn.length;Bn++){const In=Cn.charAt(Bn);In===ie?ke.minFrac=ke.maxFrac=Bn+1:In===rt?ke.maxFrac=Bn+1:ke.posSuf+=In}const jn=Ht.split(Pe);if(ke.gSize=jn[1]?jn[1].length:0,ke.lgSize=jn[2]||jn[1]?(jn[2]||jn[1]).length:0,He){const Bn=me.length-ke.posPre.length-ke.posSuf.length,In=He.indexOf(rt);ke.negPre=He.substring(0,In).replace(/'/g,""),ke.negSuf=He.slice(In+Bn).replace(/'/g,"")}else ke.negPre=F+ke.posPre,ke.negSuf=ke.posSuf;return ke}function _t(T){const F=parseInt(T);if(isNaN(F))throw new Error("Invalid integer literal when parsing "+T);return F}let ft=(()=>{var T;class F{}return(T=F).\u0275fac=function(I){return new(I||T)},T.\u0275prov=n.\u0275\u0275defineInjectable({token:T,factory:function(I){let me=null;return I?me=new I:(He=n.\u0275\u0275inject(n.LOCALE_ID),me=new Pt(He)),me;var He},providedIn:"root"}),F})();function Ot(T,F,ke,I){let me=`=${T}`;if(F.indexOf(me)>-1||(me=ke.getPluralCategory(T,I),F.indexOf(me)>-1))return me;if(F.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${T}"`)}let Pt=(()=>{var T;class F extends ft{constructor(I){super(),this.locale=I}getPluralCategory(I,me){switch(Be(me||this.locale)(I)){case X.Zero:return"zero";case X.One:return"one";case X.Two:return"two";case X.Few:return"few";case X.Many:return"many";default:return"other"}}}return(T=F).\u0275fac=function(I){return new(I||T)(n.\u0275\u0275inject(n.LOCALE_ID))},T.\u0275prov=n.\u0275\u0275defineInjectable({token:T,factory:T.\u0275fac}),F})();function Yt(T,F,ke){return(0,n.\u0275registerLocaleData)(T,F,ke)}function Gt(T,F){F=encodeURIComponent(F);for(const ke of T.split(";")){const I=ke.indexOf("="),[me,He]=-1==I?[ke,""]:[ke.slice(0,I),ke.slice(I+1)];if(me.trim()===F)return decodeURIComponent(He)}return null}const tn=/\s+/,on=[];let Pn=(()=>{var T;class F{constructor(I,me,He,At){this._iterableDiffers=I,this._keyValueDiffers=me,this._ngEl=He,this._renderer=At,this.initialClasses=on,this.stateMap=new Map}set klass(I){this.initialClasses=null!=I?I.trim().split(tn):on}set ngClass(I){this.rawClass="string"==typeof I?I.trim().split(tn):I}ngDoCheck(){for(const me of this.initialClasses)this._updateState(me,!0);const I=this.rawClass;if(Array.isArray(I)||I instanceof Set)for(const me of I)this._updateState(me,!0);else if(null!=I)for(const me of Object.keys(I))this._updateState(me,!!I[me]);this._applyStateDiff()}_updateState(I,me){const He=this.stateMap.get(I);void 0!==He?(He.enabled!==me&&(He.changed=!0,He.enabled=me),He.touched=!0):this.stateMap.set(I,{enabled:me,changed:!0,touched:!0})}_applyStateDiff(){for(const I of this.stateMap){const me=I[0],He=I[1];He.changed?(this._toggleClass(me,He.enabled),He.changed=!1):He.touched||(He.enabled&&this._toggleClass(me,!1),this.stateMap.delete(me)),He.touched=!1}}_toggleClass(I,me){(I=I.trim()).length>0&&I.split(tn).forEach(He=>{me?this._renderer.addClass(this._ngEl.nativeElement,He):this._renderer.removeClass(this._ngEl.nativeElement,He)})}}return(T=F).\u0275fac=function(I){return new(I||T)(n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(n.KeyValueDiffers),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2))},T.\u0275dir=n.\u0275\u0275defineDirective({type:T,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),F})(),Hn=(()=>{var T;class F{constructor(I){this._viewContainerRef=I,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(I){return void 0!==I.ngComponentOutletNgModule||void 0!==I.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(I){return void 0!==I.ngComponentOutlet||void 0!==I.ngComponentOutletContent||void 0!==I.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(I)}ngOnChanges(I){if(this._needToReCreateComponentInstance(I)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const me=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(I)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?(0,n.createNgModule)(this.ngComponentOutletNgModule,On(me)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(On(me)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:me,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const I of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(I,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(I){for(const[me,He]of this._inputsUsed)He?(I.setInput(me,this.ngComponentOutletInputs[me]),this._inputsUsed.set(me,!1)):(I.setInput(me,void 0),this._inputsUsed.delete(me))}}return(T=F).\u0275fac=function(I){return new(I||T)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},T.\u0275dir=n.\u0275\u0275defineDirective({type:T,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]}),F})();function On(T){return T.get(n.NgModuleRef).injector}class Gn{constructor(F,ke,I,me){this.$implicit=F,this.ngForOf=ke,this.index=I,this.count=me}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 Kn=(()=>{var T;class F{set ngForOf(I){this._ngForOf=I,this._ngForOfDirty=!0}set ngForTrackBy(I){this._trackByFn=I}get ngForTrackBy(){return this._trackByFn}constructor(I,me,He){this._viewContainer=I,this._template=me,this._differs=He,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(I){I&&(this._template=I)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const I=this._ngForOf;!this._differ&&I&&(this._differ=this._differs.find(I).create(this.ngForTrackBy))}if(this._differ){const I=this._differ.diff(this._ngForOf);I&&this._applyChanges(I)}}_applyChanges(I){const me=this._viewContainer;I.forEachOperation((He,At,Ht)=>{if(null==He.previousIndex)me.createEmbeddedView(this._template,new Gn(He.item,this._ngForOf,-1,-1),null===Ht?void 0:Ht);else if(null==Ht)me.remove(null===At?void 0:At);else if(null!==At){const Cn=me.get(At);me.move(Cn,Ht),Nn(Cn,He)}});for(let He=0,At=me.length;He<At;He++){const Cn=me.get(He).context;Cn.index=He,Cn.count=At,Cn.ngForOf=this._ngForOf}I.forEachIdentityChange(He=>{Nn(me.get(He.currentIndex),He)})}static ngTemplateContextGuard(I,me){return!0}}return(T=F).\u0275fac=function(I){return new(I||T)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))},T.\u0275dir=n.\u0275\u0275defineDirective({type:T,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),F})();function Nn(T,F){T.context.$implicit=F.item}let ve=(()=>{var T;class F{constructor(I,me){this._viewContainer=I,this._context=new Le,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=me}set ngIf(I){this._context.$implicit=this._context.ngIf=I,this._updateView()}set ngIfThen(I){q("ngIfThen",I),this._thenTemplateRef=I,this._thenViewRef=null,this._updateView()}set ngIfElse(I){q("ngIfElse",I),this._elseTemplateRef=I,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(I,me){return!0}}return(T=F).\u0275fac=function(I){return new(I||T)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef))},T.\u0275dir=n.\u0275\u0275defineDirective({type:T,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),F})();class Le{constructor(){this.$implicit=null,this.ngIf=null}}function q(T,F){if(F&&!F.createEmbeddedView)throw new Error(`${T} must be a TemplateRef, but received '${(0,n.\u0275stringify)(F)}'.`)}class H{constructor(F,ke){this._viewContainerRef=F,this._templateRef=ke,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(F){F&&!this._created?this.create():!F&&this._created&&this.destroy()}}let Re=(()=>{var T;class F{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(I){this._ngSwitch=I,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(I){this._defaultViews.push(I)}_matchCase(I){const me=I==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||me,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),me}_updateDefaultCases(I){if(this._defaultViews.length>0&&I!==this._defaultUsed){this._defaultUsed=I;for(const me of this._defaultViews)me.enforceState(I)}}}return(T=F).\u0275fac=function(I){return new(I||T)},T.\u0275dir=n.\u0275\u0275defineDirective({type:T,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),F})(),Ye=(()=>{var T;class F{constructor(I,me,He){this.ngSwitch=He,He._addCase(),this._view=new H(I,me)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return(T=F).\u0275fac=function(I){return new(I||T)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(Re,9))},T.\u0275dir=n.\u0275\u0275defineDirective({type:T,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),F})(),B=(()=>{var T;class F{constructor(I,me,He){He._addDefault(new H(I,me))}}return(T=F).\u0275fac=function(I){return new(I||T)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(Re,9))},T.\u0275dir=n.\u0275\u0275defineDirective({type:T,selectors:[["","ngSwitchDefault",""]],standalone:!0}),F})(),Rt=(()=>{var T;class F{constructor(I){this._localization=I,this._caseViews={}}set ngPlural(I){this._updateView(I)}addCase(I,me){this._caseViews[I]=me}_updateView(I){this._clearViews();const He=Ot(I,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[He])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(I){I&&(this._activeView=I,this._activeView.create())}}return(T=F).\u0275fac=function(I){return new(I||T)(n.\u0275\u0275directiveInject(ft))},T.\u0275dir=n.\u0275\u0275defineDirective({type:T,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0}),F})(),jt=(()=>{var T;class F{constructor(I,me,He,At){this.value=I;const Ht=!isNaN(Number(I));At.addCase(Ht?`=${I}`:I,new H(He,me))}}return(T=F).\u0275fac=function(I){return new(I||T)(n.\u0275\u0275injectAttribute("ngPluralCase"),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(Rt,1))},T.\u0275dir=n.\u0275\u0275defineDirective({type:T,selectors:[["","ngPluralCase",""]],standalone:!0}),F})(),bn=(()=>{var T;class F{constructor(I,me,He){this._ngEl=I,this._differs=me,this._renderer=He,this._ngStyle=null,this._differ=null}set ngStyle(I){this._ngStyle=I,!this._differ&&I&&(this._differ=this._differs.find(I).create())}ngDoCheck(){if(this._differ){const I=this._differ.diff(this._ngStyle);I&&this._applyChanges(I)}}_setStyle(I,me){const[He,At]=I.split("."),Ht=-1===He.indexOf("-")?void 0:n.RendererStyleFlags2.DashCase;null!=me?this._renderer.setStyle(this._ngEl.nativeElement,He,At?`${me}${At}`:me,Ht):this._renderer.removeStyle(this._ngEl.nativeElement,He,Ht)}_applyChanges(I){I.forEachRemovedItem(me=>this._setStyle(me.key,null)),I.forEachAddedItem(me=>this._setStyle(me.key,me.currentValue)),I.forEachChangedItem(me=>this._setStyle(me.key,me.currentValue))}}return(T=F).\u0275fac=function(I){return new(I||T)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.KeyValueDiffers),n.\u0275\u0275directiveInject(n.Renderer2))},T.\u0275dir=n.\u0275\u0275defineDirective({type:T,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),F})(),Mn=(()=>{var T;class F{constructor(I){this._viewContainerRef=I,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(I){if(I.ngTemplateOutlet||I.ngTemplateOutletInjector){const me=this._viewContainerRef;if(this._viewRef&&me.remove(me.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:He,ngTemplateOutletContext:At,ngTemplateOutletInjector:Ht}=this;this._viewRef=me.createEmbeddedView(He,At,Ht?{injector:Ht}:void 0)}else this._viewRef=null}else this._viewRef&&I.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return(T=F).\u0275fac=function(I){return new(I||T)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},T.\u0275dir=n.\u0275\u0275defineDirective({type:T,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]}),F})();function Vn(T,F){return new n.\u0275RuntimeError(2100,!1)}class Mi{createSubscription(F,ke){return(0,n.untracked)(()=>F.subscribe({next:ke,error:I=>{throw I}}))}dispose(F){(0,n.untracked)(()=>F.unsubscribe())}}class oi{createSubscription(F,ke){return F.then(ke,I=>{throw I})}dispose(F){}}const qi=new oi,Ir=new Mi;let co=(()=>{var T;class F{constructor(I){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=I}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(I){return this._obj?I!==this._obj?(this._dispose(),this.transform(I)):this._latestValue:(I&&this._subscribe(I),this._latestValue)}_subscribe(I){this._obj=I,this._strategy=this._selectStrategy(I),this._subscription=this._strategy.createSubscription(I,me=>this._updateLatestValue(I,me))}_selectStrategy(I){if((0,n.\u0275isPromise)(I))return qi;if((0,n.\u0275isSubscribable)(I))return Ir;throw Vn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(I,me){I===this._obj&&(this._latestValue=me,this._ref.markForCheck())}}return(T=F).\u0275fac=function(I){return new(I||T)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef,16))},T.\u0275pipe=n.\u0275\u0275definePipe({name:"async",type:T,pure:!1,standalone:!0}),F})(),dr=(()=>{var T;class F{transform(I){if(null==I)return null;if("string"!=typeof I)throw Vn();return I.toLowerCase()}}return(T=F).\u0275fac=function(I){return new(I||T)},T.\u0275pipe=n.\u0275\u0275definePipe({name:"lowercase",type:T,pure:!0,standalone:!0}),F})();const Lr=/(?:[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 er=(()=>{var T;class F{transform(I){if(null==I)return null;if("string"!=typeof I)throw Vn();return I.replace(Lr,me=>me[0].toUpperCase()+me.slice(1).toLowerCase())}}return(T=F).\u0275fac=function(I){return new(I||T)},T.\u0275pipe=n.\u0275\u0275definePipe({name:"titlecase",type:T,pure:!0,standalone:!0}),F})(),ur=(()=>{var T;class F{transform(I){if(null==I)return null;if("string"!=typeof I)throw Vn();return I.toUpperCase()}}return(T=F).\u0275fac=function(I){return new(I||T)},T.\u0275pipe=n.\u0275\u0275definePipe({name:"uppercase",type:T,pure:!0,standalone:!0}),F})();const Sn=new n.InjectionToken("DATE_PIPE_DEFAULT_TIMEZONE"),Jn=new n.InjectionToken("DATE_PIPE_DEFAULT_OPTIONS");let qn=(()=>{var T;class F{constructor(I,me,He){this.locale=I,this.defaultTimezone=me,this.defaultOptions=He}transform(I,me,He,At){if(null==I||""===I||I!=I)return null;try{return Nt(I,me??this.defaultOptions?.dateFormat??"mediumDate",At||this.locale,He??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Ht){throw Vn()}}}return(T=F).\u0275fac=function(I){return new(I||T)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(Sn,24),n.\u0275\u0275directiveInject(Jn,24))},T.\u0275pipe=n.\u0275\u0275definePipe({name:"date",type:T,pure:!0,standalone:!0}),F})();const tr=/#/g;let ii=(()=>{var T;class F{constructor(I){this._localization=I}transform(I,me,He){if(null==I)return"";if("object"!=typeof me||null===me)throw Vn();return me[Ot(I,Object.keys(me),this._localization,He)].replace(tr,I.toString())}}return(T=F).\u0275fac=function(I){return new(I||T)(n.\u0275\u0275directiveInject(ft,16))},T.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nPlural",type:T,pure:!0,standalone:!0}),F})(),Ar=(()=>{var T;class F{transform(I,me){if(null==I)return"";if("object"!=typeof me||"string"!=typeof I)throw Vn();return me.hasOwnProperty(I)?me[I]:me.hasOwnProperty("other")?me.other:""}}return(T=F).\u0275fac=function(I){return new(I||T)},T.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nSelect",type:T,pure:!0,standalone:!0}),F})(),nr=(()=>{var T;class F{transform(I){return JSON.stringify(I,null,2)}}return(T=F).\u0275fac=function(I){return new(I||T)},T.\u0275pipe=n.\u0275\u0275definePipe({name:"json",type:T,pure:!1,standalone:!0}),F})(),mr=(()=>{var T;class F{constructor(I){this.differs=I,this.keyValues=[],this.compareFn=Or}transform(I,me=Or){if(!I||!(I instanceof Map)&&"object"!=typeof I)return null;this.differ||(this.differ=this.differs.find(I).create());const He=this.differ.diff(I),At=me!==this.compareFn;return He&&(this.keyValues=[],He.forEachItem(Ht=>{this.keyValues.push(function hr(T,F){return{key:T,value:F}}(Ht.key,Ht.currentValue))})),(He||At)&&(this.keyValues.sort(me),this.compareFn=me),this.keyValues}}return(T=F).\u0275fac=function(I){return new(I||T)(n.\u0275\u0275directiveInject(n.KeyValueDiffers,16))},T.\u0275pipe=n.\u0275\u0275definePipe({name:"keyvalue",type:T,pure:!1,standalone:!0}),F})();function Or(T,F){const ke=T.key,I=F.key;if(ke===I)return 0;if(void 0===ke)return 1;if(void 0===I)return-1;if(null===ke)return 1;if(null===I)return-1;if("string"==typeof ke&&"string"==typeof I)return ke<I?-1:1;if("number"==typeof ke&&"number"==typeof I)return ke-I;if("boolean"==typeof ke&&"boolean"==typeof I)return ke<I?-1:1;const me=String(ke),He=String(I);return me==He?0:me<He?-1:1}let $n=(()=>{var T;class F{constructor(I){this._locale=I}transform(I,me,He){if(!kn(I))return null;He=He||this._locale;try{return En(_i(I),He,me)}catch(At){throw Vn()}}}return(T=F).\u0275fac=function(I){return new(I||T)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))},T.\u0275pipe=n.\u0275\u0275definePipe({name:"number",type:T,pure:!0,standalone:!0}),F})(),Zt=(()=>{var T;class F{constructor(I){this._locale=I}transform(I,me,He){if(!kn(I))return null;He=He||this._locale;try{return kt(_i(I),He,me)}catch(At){throw Vn()}}}return(T=F).\u0275fac=function(I){return new(I||T)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))},T.\u0275pipe=n.\u0275\u0275definePipe({name:"percent",type:T,pure:!0,standalone:!0}),F})(),hn=(()=>{var T;class F{constructor(I,me="USD"){this._locale=I,this._defaultCurrencyCode=me}transform(I,me=this._defaultCurrencyCode,He="symbol",At,Ht){if(!kn(I))return null;Ht=Ht||this._locale,"boolean"==typeof He&&(He=He?"symbol":"code");let Cn=me||this._defaultCurrencyCode;"code"!==He&&(Cn="symbol"===He||"symbol-narrow"===He?ht(Cn,"symbol"===He?"wide":"narrow",Ht):He);try{return bt(_i(I),Ht,Cn,me,At)}catch(jn){throw Vn()}}}return(T=F).\u0275fac=function(I){return new(I||T)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(n.DEFAULT_CURRENCY_CODE,16))},T.\u0275pipe=n.\u0275\u0275definePipe({name:"currency",type:T,pure:!0,standalone:!0}),F})();function kn(T){return!(null==T||""===T||T!=T)}function _i(T){if("string"==typeof T&&!isNaN(Number(T)-parseFloat(T)))return Number(T);if("number"!=typeof T)throw new Error(`${T} is not a number`);return T}let Oi=(()=>{var T;class F{transform(I,me,He){if(null==I)return null;if(!this.supports(I))throw Vn();return I.slice(me,He)}supports(I){return"string"==typeof I||Array.isArray(I)}}return(T=F).\u0275fac=function(I){return new(I||T)},T.\u0275pipe=n.\u0275\u0275definePipe({name:"slice",type:T,pure:!1,standalone:!0}),F})(),Ui=(()=>{var T;class F{}return(T=F).\u0275fac=function(I){return new(I||T)},T.\u0275mod=n.\u0275\u0275defineNgModule({type:T}),T.\u0275inj=n.\u0275\u0275defineInjector({}),F})();const Un="browser",Xn="server",Li="browserWorkerApp",sn="browserWorkerUi";function ji(T){return T===Un}function yr(T){return T===Xn}function zi(T){return T===Li}function Rn(T){return T===sn}const pr=new n.Version("16.2.6");let vi=(()=>{var T;class F{}return(T=F).\u0275prov=(0,n.\u0275\u0275defineInjectable)({token:T,providedIn:"root",factory:()=>new ei((0,n.\u0275\u0275inject)(d),window)}),F})();class ei{constructor(F,ke){this.document=F,this.window=ke,this.offset=()=>[0,0]}setOffset(F){this.offset=Array.isArray(F)?()=>F:F}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(F){this.supportsScrolling()&&this.window.scrollTo(F[0],F[1])}scrollToAnchor(F){if(!this.supportsScrolling())return;const ke=function fi(T,F){const ke=T.getElementById(F)||T.getElementsByName(F)[0];if(ke)return ke;if("function"==typeof T.createTreeWalker&&T.body&&"function"==typeof T.body.attachShadow){const I=T.createTreeWalker(T.body,NodeFilter.SHOW_ELEMENT);let me=I.currentNode;for(;me;){const He=me.shadowRoot;if(He){const At=He.getElementById(F)||He.querySelector(`[name="${F}"]`);if(At)return At}me=I.nextNode()}}return null}(this.document,F);ke&&(this.scrollToElement(ke),ke.focus())}setHistoryScrollRestoration(F){this.supportsScrolling()&&(this.window.history.scrollRestoration=F)}scrollToElement(F){const ke=F.getBoundingClientRect(),I=ke.left+this.window.pageXOffset,me=ke.top+this.window.pageYOffset,He=this.offset();this.window.scrollTo(I-He[0],me-He[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class Pi{setOffset(F){}getScrollPosition(){return[0,0]}scrollToPosition(F){}scrollToAnchor(F){}setHistoryScrollRestoration(F){}}class Wi{}function Cr(T){return T.startsWith("/")?T.slice(1):T}const wr=T=>T.src,bi=new n.InjectionToken("ImageLoader",{providedIn:"root",factory:()=>wr});function Bi(T,F){return function(I){return function Dn(T){if("string"!=typeof T||""===T.trim())return!1;try{return new URL(T),!0}catch{return!1}}(I)||function ir(T,F){throw new n.\u0275RuntimeError(2959,!1)}(),I=function ko(T){return T.endsWith("/")?T.slice(0,-1):T}(I),[{provide:bi,useValue:At=>(function ti(T){return/^https?:\/\//.test(T)}(At.src)&&function jr(T,F){throw new n.\u0275RuntimeError(2959,!1)}(),T(I,{...At,src:Cr(At.src)}))}]}}const ci=Bi(Ts);function Ts(T,F){let ke="format=auto";return F.width&&(ke+=`,width=${F.width}`),`${T}/cdn-cgi/image/${ke}/${F.src}`}const rr=Bi(Er);function Er(T,F){let ke="f_auto,q_auto";return F.width&&(ke+=`,w_${F.width}`),`${T}/image/upload/${ke}/${F.src}`}const lo=Bi(yo);function yo(T,F){const{src:ke,width:I}=F;let me;return me=I?[T,`tr:w-${I}`,ke]:[T,ke],me.join("/")}const be=Bi(N);function N(T,F){const ke=new URL(`${T}/${F.src}`);return ke.searchParams.set("auto","format"),F.width&&ke.searchParams.set("w",F.width.toString()),ke.href}const Jr=new n.InjectionToken("PRECONNECT_CHECK_BLOCKLIST"),E=new n.InjectionToken("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set});let x=(()=>{var T;class F{constructor(){this.preloadedImages=(0,n.inject)(E),this.document=(0,n.inject)(d)}createPreloadLinkTag(I,me,He,At){if(this.preloadedImages.has(me))return;this.preloadedImages.add(me);const Ht=I.createElement("link");I.setAttribute(Ht,"as","image"),I.setAttribute(Ht,"href",me),I.setAttribute(Ht,"rel","preload"),I.setAttribute(Ht,"fetchpriority","high"),At&&I.setAttribute(Ht,"imageSizes",At),He&&I.setAttribute(Ht,"imageSrcset",He),I.appendChild(this.document.head,Ht)}}return(T=F).\u0275fac=function(I){return new(I||T)},T.\u0275prov=n.\u0275\u0275defineInjectable({token:T,factory:T.\u0275fac,providedIn:"root"}),F})();const te=/^((\s*\d+w\s*(,|$)){1,})$/,Et=[1,2],pn={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840]},zn=new n.InjectionToken("ImageConfig",{providedIn:"root",factory:()=>pn});let di=(()=>{var T;class F{constructor(){this.imageLoader=(0,n.inject)(bi),this.config=function ri(T){let F={};return T.breakpoints&&(F.breakpoints=T.breakpoints.sort((ke,I)=>ke-I)),Object.assign({},pn,T,F)}((0,n.inject)(zn)),this.renderer=(0,n.inject)(n.Renderer2),this.imgElement=(0,n.inject)(n.ElementRef).nativeElement,this.injector=(0,n.inject)(n.Injector),this.isServer=yr((0,n.inject)(n.PLATFORM_ID)),this.preloadLinkCreator=(0,n.inject)(x),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||(this.sizes="100vw"):(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");const I=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),I,this.sizes)}ngOnChanges(I){if(I.ngSrc&&!I.ngSrc.isFirstChange()){const me=this._renderedSrc;this.updateSrcAndSrcset(!0);const He=this._renderedSrc;null!==this.lcpObserver&&me&&He&&me!==He&&this.injector.get(n.NgZone).runOutsideAngular(()=>{this.lcpObserver?.updateImage(me,He)})}}callImageLoader(I){let me=I;return this.loaderParams&&(me.loaderParams=this.loaderParams),this.imageLoader(me)}getLoadingBehavior(){return this.priority||void 0===this.loading?this.priority?"eager":"lazy":this.loading}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){return this._renderedSrc||(this._renderedSrc=this.callImageLoader({src:this.ngSrc})),this._renderedSrc}getRewrittenSrcset(){const I=te.test(this.ngSrcset);return this.ngSrcset.split(",").filter(He=>""!==He).map(He=>{He=He.trim();const At=I?parseFloat(He):parseFloat(He)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:At})} ${He}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:I}=this.config;let me=I;return"100vw"===this.sizes?.trim()&&(me=I.filter(At=>At>=640)),me.map(At=>`${this.callImageLoader({src:this.ngSrc,width:At})} ${At}w`).join(", ")}updateSrcAndSrcset(I=!1){I&&(this._renderedSrc=null);const me=this.getRewrittenSrc();let He;return this.setHostAttribute("src",me),this.ngSrcset?He=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(He=this.getAutomaticSrcset()),He&&this.setHostAttribute("srcset",He),He}getFixedSrcset(){return Et.map(me=>`${this.callImageLoader({src:this.ngSrc,width:this.width*me})} ${me}x`).join(", ")}shouldGenerateAutomaticSrcset(){return!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==wr&&!(this.width>1920||this.height>1080)}ngOnDestroy(){}setHostAttribute(I,me){this.renderer.setAttribute(this.imgElement,I,me)}}return(T=F).\u0275fac=function(I){return new(I||T)},T.\u0275dir=n.\u0275\u0275defineDirective({type:T,selectors:[["img","ngSrc",""]],hostVars:8,hostBindings:function(I,me){2&I&&n.\u0275\u0275styleProp("position",me.fill?"absolute":null)("width",me.fill?"100%":null)("height",me.fill?"100%":null)("inset",me.fill?"0px":null)},inputs:{ngSrc:["ngSrc","ngSrc",Tr],ngSrcset:"ngSrcset",sizes:"sizes",width:["width","width",n.numberAttribute],height:["height","height",n.numberAttribute],loading:"loading",priority:["priority","priority",n.booleanAttribute],loaderParams:"loaderParams",disableOptimizedSrcset:["disableOptimizedSrcset","disableOptimizedSrcset",n.booleanAttribute],fill:["fill","fill",n.booleanAttribute],src:"src",srcset:"srcset"},standalone:!0,features:[n.\u0275\u0275InputTransformsFeature,n.\u0275\u0275NgOnChangesFeature]}),F})();function Tr(T){return"string"==typeof T?T:(0,n.\u0275unwrapSafeValue)(T)}},7502:(Z,o,c)=>{"use strict";function n(Ue,Fe,_t,ft,Ot,Pt,Yt){try{var Gt=Ue[Pt](Yt),tn=Gt.value}catch(on){return void _t(on)}Gt.done?Fe(tn):Promise.resolve(tn).then(ft,Ot)}function a(Ue){return function(){var Fe=this,_t=arguments;return new Promise(function(ft,Ot){var Pt=Ue.apply(Fe,_t);function Yt(tn){n(Pt,ft,Ot,Yt,Gt,"next",tn)}function Gt(tn){n(Pt,ft,Ot,Yt,Gt,"throw",tn)}Yt(void 0)})}}c.r(o),c.d(o,{FetchBackend:()=>Be,HTTP_INTERCEPTORS:()=>ht,HttpBackend:()=>Y,HttpClient:()=>ae,HttpClientJsonpModule:()=>Tt,HttpClientModule:()=>rt,HttpClientXsrfModule:()=>Pe,HttpContext:()=>tt,HttpContextToken:()=>we,HttpErrorResponse:()=>Oe,HttpEventType:()=>ee,HttpFeatureKind:()=>ze,HttpHandler:()=>M,HttpHeaderResponse:()=>j,HttpHeaders:()=>$,HttpParams:()=>ot,HttpRequest:()=>Ce,HttpResponse:()=>G,HttpResponseBase:()=>J,HttpUrlEncodingCodec:()=>z,HttpXhrBackend:()=>Qe,HttpXsrfTokenExtractor:()=>vn,JsonpClientBackend:()=>pt,JsonpInterceptor:()=>Dt,provideHttpClient:()=>It,withFetch:()=>We,withInterceptors:()=>zt,withInterceptorsFromDi:()=>Xe,withJsonpSupport:()=>ce,withNoXsrfProtection:()=>V,withRequestsMadeViaParent:()=>ie,withXsrfConfiguration:()=>_e,\u0275HttpInterceptingHandler:()=>$e,\u0275HttpInterceptorHandler:()=>$e,\u0275withHttpTransferCache:()=>gn});var g=c(5879),m=c(2096),s=c(3018),d=c(7715),u=c(1631),p=c(4674),f=c(2181),y=c(7398),b=c(4716),_=c(4664),w=c(9397),A=c(2827),R=c(6814);class M{}class Y{}class ${constructor(Fe){this.normalizedNames=new Map,this.lazyUpdate=null,Fe?"string"==typeof Fe?this.lazyInit=()=>{this.headers=new Map,Fe.split("\n").forEach(_t=>{const ft=_t.indexOf(":");if(ft>0){const Ot=_t.slice(0,ft),Pt=Ot.toLowerCase(),Yt=_t.slice(ft+1).trim();this.maybeSetNormalizedName(Ot,Pt),this.headers.has(Pt)?this.headers.get(Pt).push(Yt):this.headers.set(Pt,[Yt])}})}:typeof Headers<"u"&&Fe instanceof Headers?(this.headers=new Map,Fe.forEach((_t,ft)=>{this.setHeaderEntries(ft,_t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(Fe).forEach(([_t,ft])=>{this.setHeaderEntries(_t,ft)})}:this.headers=new Map}has(Fe){return this.init(),this.headers.has(Fe.toLowerCase())}get(Fe){this.init();const _t=this.headers.get(Fe.toLowerCase());return _t&&_t.length>0?_t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Fe){return this.init(),this.headers.get(Fe.toLowerCase())||null}append(Fe,_t){return this.clone({name:Fe,value:_t,op:"a"})}set(Fe,_t){return this.clone({name:Fe,value:_t,op:"s"})}delete(Fe,_t){return this.clone({name:Fe,value:_t,op:"d"})}maybeSetNormalizedName(Fe,_t){this.normalizedNames.has(_t)||this.normalizedNames.set(_t,Fe)}init(){this.lazyInit&&(this.lazyInit instanceof $?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Fe=>this.applyUpdate(Fe)),this.lazyUpdate=null))}copyFrom(Fe){Fe.init(),Array.from(Fe.headers.keys()).forEach(_t=>{this.headers.set(_t,Fe.headers.get(_t)),this.normalizedNames.set(_t,Fe.normalizedNames.get(_t))})}clone(Fe){const _t=new $;return _t.lazyInit=this.lazyInit&&this.lazyInit instanceof $?this.lazyInit:this,_t.lazyUpdate=(this.lazyUpdate||[]).concat([Fe]),_t}applyUpdate(Fe){const _t=Fe.name.toLowerCase();switch(Fe.op){case"a":case"s":let ft=Fe.value;if("string"==typeof ft&&(ft=[ft]),0===ft.length)return;this.maybeSetNormalizedName(Fe.name,_t);const Ot=("a"===Fe.op?this.headers.get(_t):void 0)||[];Ot.push(...ft),this.headers.set(_t,Ot);break;case"d":const Pt=Fe.value;if(Pt){let Yt=this.headers.get(_t);if(!Yt)return;Yt=Yt.filter(Gt=>-1===Pt.indexOf(Gt)),0===Yt.length?(this.headers.delete(_t),this.normalizedNames.delete(_t)):this.headers.set(_t,Yt)}else this.headers.delete(_t),this.normalizedNames.delete(_t)}}setHeaderEntries(Fe,_t){const ft=(Array.isArray(_t)?_t:[_t]).map(Pt=>Pt.toString()),Ot=Fe.toLowerCase();this.headers.set(Ot,ft),this.maybeSetNormalizedName(Fe,Ot)}forEach(Fe){this.init(),Array.from(this.normalizedNames.keys()).forEach(_t=>Fe(this.normalizedNames.get(_t),this.headers.get(_t)))}}class z{encodeKey(Fe){return fe(Fe)}encodeValue(Fe){return fe(Fe)}decodeKey(Fe){return decodeURIComponent(Fe)}decodeValue(Fe){return decodeURIComponent(Fe)}}const de=/%(\d[a-f0-9])/gi,X={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function fe(Ue){return encodeURIComponent(Ue).replace(de,(Fe,_t)=>X[_t]??Fe)}function he(Ue){return`${Ue}`}class ot{constructor(Fe={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Fe.encoder||new z,Fe.fromString){if(Fe.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function K(Ue,Fe){const _t=new Map;return Ue.length>0&&Ue.replace(/^\?/,"").split("&").forEach(Ot=>{const Pt=Ot.indexOf("="),[Yt,Gt]=-1==Pt?[Fe.decodeKey(Ot),""]:[Fe.decodeKey(Ot.slice(0,Pt)),Fe.decodeValue(Ot.slice(Pt+1))],tn=_t.get(Yt)||[];tn.push(Gt),_t.set(Yt,tn)}),_t}(Fe.fromString,this.encoder)}else Fe.fromObject?(this.map=new Map,Object.keys(Fe.fromObject).forEach(_t=>{const ft=Fe.fromObject[_t],Ot=Array.isArray(ft)?ft.map(he):[he(ft)];this.map.set(_t,Ot)})):this.map=null}has(Fe){return this.init(),this.map.has(Fe)}get(Fe){this.init();const _t=this.map.get(Fe);return _t?_t[0]:null}getAll(Fe){return this.init(),this.map.get(Fe)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Fe,_t){return this.clone({param:Fe,value:_t,op:"a"})}appendAll(Fe){const _t=[];return Object.keys(Fe).forEach(ft=>{const Ot=Fe[ft];Array.isArray(Ot)?Ot.forEach(Pt=>{_t.push({param:ft,value:Pt,op:"a"})}):_t.push({param:ft,value:Ot,op:"a"})}),this.clone(_t)}set(Fe,_t){return this.clone({param:Fe,value:_t,op:"s"})}delete(Fe,_t){return this.clone({param:Fe,value:_t,op:"d"})}toString(){return this.init(),this.keys().map(Fe=>{const _t=this.encoder.encodeKey(Fe);return this.map.get(Fe).map(ft=>_t+"="+this.encoder.encodeValue(ft)).join("&")}).filter(Fe=>""!==Fe).join("&")}clone(Fe){const _t=new ot({encoder:this.encoder});return _t.cloneFrom=this.cloneFrom||this,_t.updates=(this.updates||[]).concat(Fe),_t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Fe=>this.map.set(Fe,this.cloneFrom.map.get(Fe))),this.updates.forEach(Fe=>{switch(Fe.op){case"a":case"s":const _t=("a"===Fe.op?this.map.get(Fe.param):void 0)||[];_t.push(he(Fe.value)),this.map.set(Fe.param,_t);break;case"d":if(void 0===Fe.value){this.map.delete(Fe.param);break}{let ft=this.map.get(Fe.param)||[];const Ot=ft.indexOf(he(Fe.value));-1!==Ot&&ft.splice(Ot,1),ft.length>0?this.map.set(Fe.param,ft):this.map.delete(Fe.param)}}}),this.cloneFrom=this.updates=null)}}class we{constructor(Fe){this.defaultValue=Fe}}class tt{constructor(){this.map=new Map}set(Fe,_t){return this.map.set(Fe,_t),this}get(Fe){return this.map.has(Fe)||this.map.set(Fe,Fe.defaultValue()),this.map.get(Fe)}delete(Fe){return this.map.delete(Fe),this}has(Fe){return this.map.has(Fe)}keys(){return this.map.keys()}}function Se(Ue){return typeof ArrayBuffer<"u"&&Ue instanceof ArrayBuffer}function Ze(Ue){return typeof Blob<"u"&&Ue instanceof Blob}function st(Ue){return typeof FormData<"u"&&Ue instanceof FormData}class Ce{constructor(Fe,_t,ft,Ot){let Pt;if(this.url=_t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Fe.toUpperCase(),function nt(Ue){switch(Ue){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Ot?(this.body=void 0!==ft?ft:null,Pt=Ot):Pt=ft,Pt&&(this.reportProgress=!!Pt.reportProgress,this.withCredentials=!!Pt.withCredentials,Pt.responseType&&(this.responseType=Pt.responseType),Pt.headers&&(this.headers=Pt.headers),Pt.context&&(this.context=Pt.context),Pt.params&&(this.params=Pt.params)),this.headers||(this.headers=new $),this.context||(this.context=new tt),this.params){const Yt=this.params.toString();if(0===Yt.length)this.urlWithParams=_t;else{const Gt=_t.indexOf("?");this.urlWithParams=_t+(-1===Gt?"?":Gt<_t.length-1?"&":"")+Yt}}else this.params=new ot,this.urlWithParams=_t}serializeBody(){return null===this.body?null:Se(this.body)||Ze(this.body)||st(this.body)||function W(Ue){return typeof URLSearchParams<"u"&&Ue instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof ot?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||st(this.body)?null:Ze(this.body)?this.body.type||null:Se(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof ot?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(Fe={}){const _t=Fe.method||this.method,ft=Fe.url||this.url,Ot=Fe.responseType||this.responseType,Pt=void 0!==Fe.body?Fe.body:this.body,Yt=void 0!==Fe.withCredentials?Fe.withCredentials:this.withCredentials,Gt=void 0!==Fe.reportProgress?Fe.reportProgress:this.reportProgress;let tn=Fe.headers||this.headers,on=Fe.params||this.params;const Pn=Fe.context??this.context;return void 0!==Fe.setHeaders&&(tn=Object.keys(Fe.setHeaders).reduce((Hn,On)=>Hn.set(On,Fe.setHeaders[On]),tn)),Fe.setParams&&(on=Object.keys(Fe.setParams).reduce((Hn,On)=>Hn.set(On,Fe.setParams[On]),on)),new Ce(_t,ft,Pt,{params:on,headers:tn,context:Pn,reportProgress:Gt,responseType:Ot,withCredentials:Yt})}}var ee=function(Ue){return Ue[Ue.Sent=0]="Sent",Ue[Ue.UploadProgress=1]="UploadProgress",Ue[Ue.ResponseHeader=2]="ResponseHeader",Ue[Ue.DownloadProgress=3]="DownloadProgress",Ue[Ue.Response=4]="Response",Ue[Ue.User=5]="User",Ue}(ee||{});class J{constructor(Fe,_t=200,ft="OK"){this.headers=Fe.headers||new $,this.status=void 0!==Fe.status?Fe.status:_t,this.statusText=Fe.statusText||ft,this.url=Fe.url||null,this.ok=this.status>=200&&this.status<300}}class j extends J{constructor(Fe={}){super(Fe),this.type=ee.ResponseHeader}clone(Fe={}){return new j({headers:Fe.headers||this.headers,status:void 0!==Fe.status?Fe.status:this.status,statusText:Fe.statusText||this.statusText,url:Fe.url||this.url||void 0})}}class G extends J{constructor(Fe={}){super(Fe),this.type=ee.Response,this.body=void 0!==Fe.body?Fe.body:null}clone(Fe={}){return new G({body:void 0!==Fe.body?Fe.body:this.body,headers:Fe.headers||this.headers,status:void 0!==Fe.status?Fe.status:this.status,statusText:Fe.statusText||this.statusText,url:Fe.url||this.url||void 0})}}class Oe extends J{constructor(Fe){super(Fe,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Fe.url||"(unknown url)"}`:`Http failure response for ${Fe.url||"(unknown url)"}: ${Fe.status} ${Fe.statusText}`,this.error=Fe.error||null}}function U(Ue,Fe){return{body:Fe,headers:Ue.headers,context:Ue.context,observe:Ue.observe,params:Ue.params,reportProgress:Ue.reportProgress,responseType:Ue.responseType,withCredentials:Ue.withCredentials}}let ae=(()=>{var Ue;class Fe{constructor(ft){this.handler=ft}request(ft,Ot,Pt={}){let Yt;if(ft instanceof Ce)Yt=ft;else{let on,Pn;on=Pt.headers instanceof $?Pt.headers:new $(Pt.headers),Pt.params&&(Pn=Pt.params instanceof ot?Pt.params:new ot({fromObject:Pt.params})),Yt=new Ce(ft,Ot,void 0!==Pt.body?Pt.body:null,{headers:on,context:Pt.context,params:Pn,reportProgress:Pt.reportProgress,responseType:Pt.responseType||"json",withCredentials:Pt.withCredentials})}const Gt=(0,m.of)(Yt).pipe(function v(Ue,Fe){return(0,p.m)(Fe)?(0,u.z)(Ue,Fe,1):(0,u.z)(Ue,1)}(on=>this.handler.handle(on)));if(ft instanceof Ce||"events"===Pt.observe)return Gt;const tn=Gt.pipe((0,f.h)(on=>on instanceof G));switch(Pt.observe||"body"){case"body":switch(Yt.responseType){case"arraybuffer":return tn.pipe((0,y.U)(on=>{if(null!==on.body&&!(on.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return on.body}));case"blob":return tn.pipe((0,y.U)(on=>{if(null!==on.body&&!(on.body instanceof Blob))throw new Error("Response is not a Blob.");return on.body}));case"text":return tn.pipe((0,y.U)(on=>{if(null!==on.body&&"string"!=typeof on.body)throw new Error("Response is not a string.");return on.body}));default:return tn.pipe((0,y.U)(on=>on.body))}case"response":return tn;default:throw new Error(`Unreachable: unhandled observe type ${Pt.observe}}`)}}delete(ft,Ot={}){return this.request("DELETE",ft,Ot)}get(ft,Ot={}){return this.request("GET",ft,Ot)}head(ft,Ot={}){return this.request("HEAD",ft,Ot)}jsonp(ft,Ot){return this.request("JSONP",ft,{params:(new ot).append(Ot,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ft,Ot={}){return this.request("OPTIONS",ft,Ot)}patch(ft,Ot,Pt={}){return this.request("PATCH",ft,U(Pt,Ot))}post(ft,Ot,Pt={}){return this.request("POST",ft,U(Pt,Ot))}put(ft,Ot,Pt={}){return this.request("PUT",ft,U(Pt,Ot))}}return(Ue=Fe).\u0275fac=function(ft){return new(ft||Ue)(g.\u0275\u0275inject(M))},Ue.\u0275prov=g.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac}),Fe})();const Ee=/^\)\]\}',?\n/;function Ge(Ue){if(Ue.url)return Ue.url;const Fe="X-Request-URL".toLocaleLowerCase();return Ue.headers.get(Fe)}let Be=(()=>{var Ue;class Fe{constructor(){this.fetchImpl=(0,g.inject)(xe,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=(0,g.inject)(g.NgZone)}handle(ft){return new s.y(Ot=>{const Pt=new AbortController;return this.doRequest(ft,Pt.signal,Ot).then(at,Yt=>Ot.error(new Oe({error:Yt}))),()=>Pt.abort()})}doRequest(ft,Ot,Pt){var Yt=this;return a(function*(){const Gt=Yt.createRequestInit(ft);let tn;try{const Nn=Yt.fetchImpl(ft.urlWithParams,{signal:Ot,...Gt});(function ge(Ue){Ue.then(at,at)})(Nn),Pt.next({type:ee.Sent}),tn=yield Nn}catch(Nn){return void Pt.error(new Oe({error:Nn,status:Nn.status??0,statusText:Nn.statusText,url:ft.urlWithParams,headers:Nn.headers}))}const on=new $(tn.headers),Pn=tn.statusText,Hn=Ge(tn)??ft.urlWithParams;let On=tn.status,Gn=null;if(ft.reportProgress&&Pt.next(new j({headers:on,status:On,statusText:Pn,url:Hn})),tn.body){const Nn=tn.headers.get("content-length"),oe=[],ve=tn.body.getReader();let q,H,Le=0;const Re=typeof Zone<"u"&&Zone.current;yield Yt.ngZone.runOutsideAngular(a(function*(){for(;;){const{done:B,value:Ie}=yield ve.read();if(B)break;if(oe.push(Ie),Le+=Ie.length,ft.reportProgress){H="text"===ft.responseType?(H??"")+(q??=new TextDecoder).decode(Ie,{stream:!0}):void 0;const Rt=()=>Pt.next({type:ee.DownloadProgress,total:Nn?+Nn:void 0,loaded:Le,partialText:H});Re?Re.run(Rt):Rt()}}}));const Ye=Yt.concatChunks(oe,Le);try{Gn=Yt.parseBody(ft,Ye)}catch(B){return void Pt.error(new Oe({error:B,headers:new $(tn.headers),status:tn.status,statusText:tn.statusText,url:Ge(tn)??ft.urlWithParams}))}}0===On&&(On=Gn?200:0),On>=200&&On<300?(Pt.next(new G({body:Gn,headers:on,status:On,statusText:Pn,url:Hn})),Pt.complete()):Pt.error(new Oe({error:Gn,headers:on,status:On,statusText:Pn,url:Hn}))})()}parseBody(ft,Ot){switch(ft.responseType){case"json":const Pt=(new TextDecoder).decode(Ot).replace(Ee,"");return""===Pt?null:JSON.parse(Pt);case"text":return(new TextDecoder).decode(Ot);case"blob":return new Blob([Ot]);case"arraybuffer":return Ot.buffer}}createRequestInit(ft){const Ot={},Pt=ft.withCredentials?"include":void 0;if(ft.headers.forEach((Yt,Gt)=>Ot[Yt]=Gt.join(",")),Ot.Accept??="application/json, text/plain, */*",!Ot["Content-Type"]){const Yt=ft.detectContentTypeHeader();null!==Yt&&(Ot["Content-Type"]=Yt)}return{body:ft.serializeBody(),method:ft.method,headers:Ot,credentials:Pt}}concatChunks(ft,Ot){const Pt=new Uint8Array(Ot);let Yt=0;for(const Gt of ft)Pt.set(Gt,Yt),Yt+=Gt.length;return Pt}}return(Ue=Fe).\u0275fac=function(ft){return new(ft||Ue)},Ue.\u0275prov=g.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac}),Fe})();class xe{}function at(){}function Me(Ue,Fe){return Fe(Ue)}function Ke(Ue,Fe){return(_t,ft)=>Fe.intercept(_t,{handle:Ot=>Ue(Ot,ft)})}const ht=new g.InjectionToken(""),gt=new g.InjectionToken(""),qe=new g.InjectionToken("");function Q(){let Ue=null;return(Fe,_t)=>{null===Ue&&(Ue=((0,g.inject)(ht,{optional:!0})??[]).reduceRight(Ke,Me));const ft=(0,g.inject)(g.\u0275InitialRenderPendingTasks),Ot=ft.add();return Ue(Fe,_t).pipe((0,b.x)(()=>ft.remove(Ot)))}}let et,$e=(()=>{var Ue;class Fe extends M{constructor(ft,Ot){super(),this.backend=ft,this.injector=Ot,this.chain=null,this.pendingTasks=(0,g.inject)(g.\u0275InitialRenderPendingTasks)}handle(ft){if(null===this.chain){const Pt=Array.from(new Set([...this.injector.get(gt),...this.injector.get(qe,[])]));this.chain=Pt.reduceRight((Yt,Gt)=>function ye(Ue,Fe,_t){return(ft,Ot)=>_t.runInContext(()=>Fe(ft,Pt=>Ue(Pt,Ot)))}(Yt,Gt,this.injector),Me)}const Ot=this.pendingTasks.add();return this.chain(ft,Pt=>this.backend.handle(Pt)).pipe((0,b.x)(()=>this.pendingTasks.remove(Ot)))}}return(Ue=Fe).\u0275fac=function(ft){return new(ft||Ue)(g.\u0275\u0275inject(Y),g.\u0275\u0275inject(g.EnvironmentInjector))},Ue.\u0275prov=g.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac}),Fe})(),Ne=0;class Jt{}function en(){return"object"==typeof window?window:{}}let pt=(()=>{var Ue;class Fe{constructor(ft,Ot){this.callbackMap=ft,this.document=Ot,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+Ne++}handle(ft){if("JSONP"!==ft.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==ft.responseType)throw new Error("JSONP requests must use Json response type.");if(ft.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new s.y(Ot=>{const Pt=this.nextCallback(),Yt=ft.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${Pt}$1`),Gt=this.document.createElement("script");Gt.src=Yt;let tn=null,on=!1;this.callbackMap[Pt]=Gn=>{delete this.callbackMap[Pt],tn=Gn,on=!0};const Pn=()=>{Gt.parentNode&&Gt.parentNode.removeChild(Gt),delete this.callbackMap[Pt]};return Gt.addEventListener("load",Gn=>{this.resolvedPromise.then(()=>{Pn(),on?(Ot.next(new G({body:tn,status:200,statusText:"OK",url:Yt})),Ot.complete()):Ot.error(new Oe({url:Yt,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})}),Gt.addEventListener("error",Gn=>{Pn(),Ot.error(new Oe({error:Gn,status:0,statusText:"JSONP Error",url:Yt}))}),this.document.body.appendChild(Gt),Ot.next({type:ee.Sent}),()=>{on||this.removeListeners(Gt),Pn()}})}removeListeners(ft){et||(et=this.document.implementation.createHTMLDocument()),et.adoptNode(ft)}}return(Ue=Fe).\u0275fac=function(ft){return new(ft||Ue)(g.\u0275\u0275inject(Jt),g.\u0275\u0275inject(R.DOCUMENT))},Ue.\u0275prov=g.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac}),Fe})();function vt(Ue,Fe){return"JSONP"===Ue.method?(0,g.inject)(pt).handle(Ue):Fe(Ue)}let Dt=(()=>{var Ue;class Fe{constructor(ft){this.injector=ft}intercept(ft,Ot){return this.injector.runInContext(()=>vt(ft,Pt=>Ot.handle(Pt)))}}return(Ue=Fe).\u0275fac=function(ft){return new(ft||Ue)(g.\u0275\u0275inject(g.EnvironmentInjector))},Ue.\u0275prov=g.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac}),Fe})();const Ve=/^\)\]\}',?\n/;let Qe=(()=>{var Ue;class Fe{constructor(ft){this.xhrFactory=ft}handle(ft){if("JSONP"===ft.method)throw new g.\u0275RuntimeError(-2800,!1);const Ot=this.xhrFactory;return(Ot.\u0275loadImpl?(0,d.D)(Ot.\u0275loadImpl()):(0,m.of)(null)).pipe((0,_.w)(()=>new s.y(Yt=>{const Gt=Ot.build();if(Gt.open(ft.method,ft.urlWithParams),ft.withCredentials&&(Gt.withCredentials=!0),ft.headers.forEach((oe,ve)=>Gt.setRequestHeader(oe,ve.join(","))),ft.headers.has("Accept")||Gt.setRequestHeader("Accept","application/json, text/plain, */*"),!ft.headers.has("Content-Type")){const oe=ft.detectContentTypeHeader();null!==oe&&Gt.setRequestHeader("Content-Type",oe)}if(ft.responseType){const oe=ft.responseType.toLowerCase();Gt.responseType="json"!==oe?oe:"text"}const tn=ft.serializeBody();let on=null;const Pn=()=>{if(null!==on)return on;const oe=Gt.statusText||"OK",ve=new $(Gt.getAllResponseHeaders()),Le=function se(Ue){return"responseURL"in Ue&&Ue.responseURL?Ue.responseURL:/^X-Request-URL:/m.test(Ue.getAllResponseHeaders())?Ue.getResponseHeader("X-Request-URL"):null}(Gt)||ft.url;return on=new j({headers:ve,status:Gt.status,statusText:oe,url:Le}),on},Hn=()=>{let{headers:oe,status:ve,statusText:Le,url:q}=Pn(),H=null;204!==ve&&(H=typeof Gt.response>"u"?Gt.responseText:Gt.response),0===ve&&(ve=H?200:0);let Re=ve>=200&&ve<300;if("json"===ft.responseType&&"string"==typeof H){const Ye=H;H=H.replace(Ve,"");try{H=""!==H?JSON.parse(H):null}catch(B){H=Ye,Re&&(Re=!1,H={error:B,text:H})}}Re?(Yt.next(new G({body:H,headers:oe,status:ve,statusText:Le,url:q||void 0})),Yt.complete()):Yt.error(new Oe({error:H,headers:oe,status:ve,statusText:Le,url:q||void 0}))},On=oe=>{const{url:ve}=Pn(),Le=new Oe({error:oe,status:Gt.status||0,statusText:Gt.statusText||"Unknown Error",url:ve||void 0});Yt.error(Le)};let Gn=!1;const Kn=oe=>{Gn||(Yt.next(Pn()),Gn=!0);let ve={type:ee.DownloadProgress,loaded:oe.loaded};oe.lengthComputable&&(ve.total=oe.total),"text"===ft.responseType&&Gt.responseText&&(ve.partialText=Gt.responseText),Yt.next(ve)},Nn=oe=>{let ve={type:ee.UploadProgress,loaded:oe.loaded};oe.lengthComputable&&(ve.total=oe.total),Yt.next(ve)};return Gt.addEventListener("load",Hn),Gt.addEventListener("error",On),Gt.addEventListener("timeout",On),Gt.addEventListener("abort",On),ft.reportProgress&&(Gt.addEventListener("progress",Kn),null!==tn&&Gt.upload&&Gt.upload.addEventListener("progress",Nn)),Gt.send(tn),Yt.next({type:ee.Sent}),()=>{Gt.removeEventListener("error",On),Gt.removeEventListener("abort",On),Gt.removeEventListener("load",Hn),Gt.removeEventListener("timeout",On),ft.reportProgress&&(Gt.removeEventListener("progress",Kn),null!==tn&&Gt.upload&&Gt.upload.removeEventListener("progress",Nn)),Gt.readyState!==Gt.DONE&&Gt.abort()}})))}}return(Ue=Fe).\u0275fac=function(ft){return new(ft||Ue)(g.\u0275\u0275inject(R.XhrFactory))},Ue.\u0275prov=g.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac}),Fe})();const wt=new g.InjectionToken("XSRF_ENABLED"),Lt="XSRF-TOKEN",Ut=new g.InjectionToken("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>Lt}),rn="X-XSRF-TOKEN",fn=new g.InjectionToken("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>rn});class vn{}let Ct=(()=>{var Ue;class Fe{constructor(ft,Ot,Pt){this.doc=ft,this.platform=Ot,this.cookieName=Pt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ft=this.doc.cookie||"";return ft!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,R.\u0275parseCookieValue)(ft,this.cookieName),this.lastCookieString=ft),this.lastToken}}return(Ue=Fe).\u0275fac=function(ft){return new(ft||Ue)(g.\u0275\u0275inject(R.DOCUMENT),g.\u0275\u0275inject(g.PLATFORM_ID),g.\u0275\u0275inject(Ut))},Ue.\u0275prov=g.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac}),Fe})();function it(Ue,Fe){const _t=Ue.url.toLowerCase();if(!(0,g.inject)(wt)||"GET"===Ue.method||"HEAD"===Ue.method||_t.startsWith("http://")||_t.startsWith("https://"))return Fe(Ue);const ft=(0,g.inject)(vn).getToken(),Ot=(0,g.inject)(fn);return null!=ft&&!Ue.headers.has(Ot)&&(Ue=Ue.clone({headers:Ue.headers.set(Ot,ft)})),Fe(Ue)}let St=(()=>{var Ue;class Fe{constructor(ft){this.injector=ft}intercept(ft,Ot){return this.injector.runInContext(()=>it(ft,Pt=>Ot.handle(Pt)))}}return(Ue=Fe).\u0275fac=function(ft){return new(ft||Ue)(g.\u0275\u0275inject(g.EnvironmentInjector))},Ue.\u0275prov=g.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac}),Fe})();var ze=function(Ue){return Ue[Ue.Interceptors=0]="Interceptors",Ue[Ue.LegacyInterceptors=1]="LegacyInterceptors",Ue[Ue.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Ue[Ue.NoXsrfProtection=3]="NoXsrfProtection",Ue[Ue.JsonpSupport=4]="JsonpSupport",Ue[Ue.RequestsMadeViaParent=5]="RequestsMadeViaParent",Ue[Ue.Fetch=6]="Fetch",Ue}(ze||{});function lt(Ue,Fe){return{\u0275kind:Ue,\u0275providers:Fe}}function It(...Ue){const Fe=[ae,Qe,$e,{provide:M,useExisting:$e},{provide:Y,useExisting:Qe},{provide:gt,useValue:it,multi:!0},{provide:wt,useValue:!0},{provide:vn,useClass:Ct}];for(const _t of Ue)Fe.push(..._t.\u0275providers);return(0,g.makeEnvironmentProviders)(Fe)}function zt(Ue){return lt(ze.Interceptors,Ue.map(Fe=>({provide:gt,useValue:Fe,multi:!0})))}const ut=new g.InjectionToken("LEGACY_INTERCEPTOR_FN");function Xe(){return lt(ze.LegacyInterceptors,[{provide:ut,useFactory:Q},{provide:gt,useExisting:ut,multi:!0}])}function _e({cookieName:Ue,headerName:Fe}){const _t=[];return void 0!==Ue&&_t.push({provide:Ut,useValue:Ue}),void 0!==Fe&&_t.push({provide:fn,useValue:Fe}),lt(ze.CustomXsrfConfiguration,_t)}function V(){return lt(ze.NoXsrfProtection,[{provide:wt,useValue:!1}])}function ce(){return lt(ze.JsonpSupport,[pt,{provide:Jt,useFactory:en},{provide:gt,useValue:vt,multi:!0}])}function ie(){return lt(ze.RequestsMadeViaParent,[{provide:Y,useFactory:()=>(0,g.inject)(M,{skipSelf:!0,optional:!0})}])}function We(){return lt(ze.Fetch,[Be,{provide:Y,useExisting:Be}])}let Pe=(()=>{var Ue;class Fe{static disable(){return{ngModule:Fe,providers:[V().\u0275providers]}}static withOptions(ft={}){return{ngModule:Fe,providers:_e(ft).\u0275providers}}}return(Ue=Fe).\u0275fac=function(ft){return new(ft||Ue)},Ue.\u0275mod=g.\u0275\u0275defineNgModule({type:Ue}),Ue.\u0275inj=g.\u0275\u0275defineInjector({providers:[St,{provide:ht,useExisting:St,multi:!0},{provide:vn,useClass:Ct},_e({cookieName:Lt,headerName:rn}).\u0275providers,{provide:wt,useValue:!0}]}),Fe})(),rt=(()=>{var Ue;class Fe{}return(Ue=Fe).\u0275fac=function(ft){return new(ft||Ue)},Ue.\u0275mod=g.\u0275\u0275defineNgModule({type:Ue}),Ue.\u0275inj=g.\u0275\u0275defineInjector({providers:[It(Xe())]}),Fe})(),Tt=(()=>{var Ue;class Fe{}return(Ue=Fe).\u0275fac=function(ft){return new(ft||Ue)},Ue.\u0275mod=g.\u0275\u0275defineNgModule({type:Ue}),Ue.\u0275inj=g.\u0275\u0275defineInjector({providers:[ce().\u0275providers]}),Fe})();const ue=new g.InjectionToken(""),Ae=["GET","HEAD"];function bt(Ue,Fe){const{isCacheActive:_t}=(0,g.inject)(ue);if(!_t||!Ae.includes(Ue.method))return Fe(Ue);const ft=(0,g.inject)(g.TransferState),Ot=function En(Ue){const{params:Fe,method:_t,responseType:ft,url:Ot}=Ue,Gt=function un(Ue){let Fe=0;for(const _t of Ue)Fe=Math.imul(31,Fe)+_t.charCodeAt(0)<<0;return Fe+=2147483648,Fe.toString()}(_t+"."+ft+"."+Ot+"?"+Fe.keys().sort().map(tn=>`${tn}=${Fe.getAll(tn)}`).join("&"));return(0,g.makeStateKey)(Gt)}(Ue),Pt=ft.get(Ot,null);if(Pt){let Yt=Pt.body;switch(Pt.responseType){case"arraybuffer":Yt=(new TextEncoder).encode(Pt.body).buffer;break;case"blob":Yt=new Blob([Pt.body])}return(0,m.of)(new G({body:Yt,headers:new $(Pt.headers),status:Pt.status,statusText:Pt.statusText,url:Pt.url}))}return Fe(Ue).pipe((0,w.b)(Yt=>{Yt instanceof G&&ft.set(Ot,{body:Yt.body,headers:kt(Yt.headers),status:Yt.status,statusText:Yt.statusText,url:Yt.url||"",responseType:Ue.responseType})}))}function kt(Ue){const Fe={};for(const _t of Ue.keys()){const ft=Ue.getAll(_t);null!==ft&&(Fe[_t]=ft)}return Fe}function gn(){return[{provide:ue,useFactory:()=>((0,g.inject)(g.\u0275ENABLED_SSR_FEATURES).add("httpcache"),{isCacheActive:!0})},{provide:qe,useValue:bt,multi:!0,deps:[g.TransferState,ue]},{provide:g.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:()=>{const Ue=(0,g.inject)(g.ApplicationRef),Fe=(0,g.inject)(ue);return()=>{Ue.isStable.pipe((0,A.P)(_t=>_t)).toPromise().then(()=>{Fe.isCacheActive=!1})}}}]}},5879:(Z,o,c)=>{"use strict";c.r(o),c.d(o,{ANIMATION_MODULE_TYPE:()=>V0,APP_BOOTSTRAP_LISTENER:()=>Qu,APP_ID:()=>pm,APP_INITIALIZER:()=>Av,ApplicationInitStatus:()=>kc,ApplicationModule:()=>g1,ApplicationRef:()=>ws,Attribute:()=>Zf,COMPILER_OPTIONS:()=>kv,CSP_NONCE:()=>$0,CUSTOM_ELEMENTS_SCHEMA:()=>uh,ChangeDetectionStrategy:()=>gn,ChangeDetectorRef:()=>ob,Compiler:()=>bT,CompilerFactory:()=>yT,Component:()=>cT,ComponentFactory:()=>tc,ComponentFactoryResolver:()=>Ys,ComponentRef:()=>wm,ContentChild:()=>sy,ContentChildren:()=>oy,DEFAULT_CURRENCY_CODE:()=>gT,DebugElement:()=>ga,DebugEventListener:()=>e1,DebugNode:()=>Ju,DefaultIterableDiffer:()=>ub,DestroyRef:()=>Qs,Directive:()=>Iv,ENVIRONMENT_INITIALIZER:()=>zs,ElementRef:()=>Zs,EmbeddedViewRef:()=>qT,EnvironmentInjector:()=>Gr,ErrorHandler:()=>_o,EventEmitter:()=>Kr,Host:()=>ih,HostBinding:()=>fT,HostListener:()=>hT,INJECTOR:()=>Ol,Inject:()=>th,InjectFlags:()=>dt,Injectable:()=>lC,InjectionToken:()=>Wn,Injector:()=>Rr,Input:()=>dT,IterableDiffers:()=>rf,KeyValueDiffers:()=>sf,LOCALE_ID:()=>Nc,MissingTranslationStrategy:()=>Pv,ModuleWithComponentFactories:()=>Fv,NO_ERRORS_SCHEMA:()=>fh,NgModule:()=>mT,NgModuleFactory:()=>u_,NgModuleRef:()=>Po,NgProbeToken:()=>$T,NgZone:()=>Ai,Optional:()=>Ma,Output:()=>uT,PACKAGE_ROOT_URL:()=>B0,PLATFORM_ID:()=>Vl,PLATFORM_INITIALIZER:()=>gm,Pipe:()=>lT,PlatformRef:()=>Xu,Query:()=>Fs,QueryList:()=>Ac,Renderer2:()=>tC,RendererFactory2:()=>Dm,RendererStyleFlags2:()=>Na,Sanitizer:()=>Tm,SecurityContext:()=>xo,Self:()=>nh,SimpleChange:()=>Bn,SkipSelf:()=>Ia,TRANSLATIONS:()=>_T,TRANSLATIONS_FORMAT:()=>vT,TemplateRef:()=>ha,Testability:()=>VT,TestabilityRegistry:()=>$v,TransferState:()=>Ws,Type:()=>Xf,VERSION:()=>Sm,Version:()=>xm,ViewChild:()=>cy,ViewChildren:()=>ay,ViewContainerRef:()=>Rc,ViewEncapsulation:()=>Ue,ViewRef:()=>ab,afterNextRender:()=>Hm,afterRender:()=>$m,asNativeElements:()=>t1,assertInInjectionContext:()=>ic,assertPlatform:()=>Zv,booleanAttribute:()=>I1,computed:()=>No,createComponent:()=>V1,createEnvironmentInjector:()=>m_,createNgModule:()=>f_,createNgModuleRef:()=>fD,createPlatform:()=>Gv,createPlatformFactory:()=>Yv,defineInjectable:()=>ge,destroyPlatform:()=>zT,effect:()=>vp,enableProdMode:()=>ZT,forwardRef:()=>R,getDebugNode:()=>Es,getModuleFactory:()=>QT,getNgModuleById:()=>XT,getPlatform:()=>jc,importProvidersFrom:()=>lm,inject:()=>rt,isDevMode:()=>YT,isSignal:()=>ct,isStandalone:()=>tr,makeEnvironmentProviders:()=>Rl,makeStateKey:()=>H0,mergeApplicationConfig:()=>H1,numberAttribute:()=>A1,platformCore:()=>p1,provideZoneChangeDetection:()=>ib,reflectComponentType:()=>$1,resolveForwardRef:()=>M,runInInjectionContext:()=>iC,setTestabilityGetter:()=>Hv,signal:()=>gr,untracked:()=>He,\u0275ALLOW_MULTIPLE_PLATFORMS:()=>Yu,\u0275AfterRenderEventManager:()=>rc,\u0275ComponentFactory:()=>tc,\u0275Console:()=>Ov,\u0275DEFAULT_LOCALE_ID:()=>Oo,\u0275ENABLED_SSR_FEATURES:()=>_m,\u0275INJECTOR_SCOPE:()=>Nl,\u0275IS_HYDRATION_DOM_REUSE_ENABLED:()=>Js,\u0275InitialRenderPendingTasks:()=>Rv,\u0275LContext:()=>yh,\u0275LifecycleHooksFeature:()=>Mp,\u0275LocaleDataIndex:()=>ys,\u0275NG_COMP_DEF:()=>ft,\u0275NG_DIR_DEF:()=>Ot,\u0275NG_ELEMENT_ID:()=>tn,\u0275NG_INJ_DEF:()=>$e,\u0275NG_MOD_DEF:()=>Yt,\u0275NG_PIPE_DEF:()=>Pt,\u0275NG_PROV_DEF:()=>Q,\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR:()=>nc,\u0275NO_CHANGE:()=>xn,\u0275NgModuleFactory:()=>Ic,\u0275NoopNgZone:()=>Nm,\u0275ReflectionCapabilities:()=>eh,\u0275Render3ComponentFactory:()=>cs,\u0275Render3ComponentRef:()=>Sp,\u0275Render3NgModuleRef:()=>Mc,\u0275RuntimeError:()=>K,\u0275SSR_CONTENT_INTEGRITY_MARKER:()=>vm,\u0275TESTABILITY:()=>Bv,\u0275TESTABILITY_GETTER:()=>Vv,\u0275ViewRef:()=>as,\u0275XSS_SECURITY_URL:()=>z,\u0275_sanitizeHtml:()=>tm,\u0275_sanitizeUrl:()=>Wa,\u0275allowSanitizationBypassAndThrow:()=>Jo,\u0275annotateForHydration:()=>y1,\u0275bypassSanitizationTrustHtml:()=>p0,\u0275bypassSanitizationTrustResourceUrl:()=>b0,\u0275bypassSanitizationTrustScript:()=>_0,\u0275bypassSanitizationTrustStyle:()=>g0,\u0275bypassSanitizationTrustUrl:()=>v0,\u0275clearResolutionOfComponentResourcesQueue:()=>ch,\u0275compileComponent:()=>_v,\u0275compileDirective:()=>zu,\u0275compileNgModule:()=>fv,\u0275compileNgModuleDefs:()=>hv,\u0275compileNgModuleFactory:()=>Uv,\u0275compilePipe:()=>Sv,\u0275convertToBitFlags:()=>Tt,\u0275createInjector:()=>Xl,\u0275defaultIterableDiffers:()=>h1,\u0275defaultKeyValueDiffers:()=>m1,\u0275detectChanges:()=>yp,\u0275devModeEqual:()=>Np,\u0275findLocaleData:()=>bu,\u0275flushModuleScopingQueueAsMuchAsPossible:()=>dv,\u0275formatRuntimeError:()=>de,\u0275getDebugNode:()=>Es,\u0275getDirectives:()=>y_,\u0275getHostElement:()=>Ou,\u0275getInjectableDef:()=>Ke,\u0275getLContext:()=>Qi,\u0275getLocaleCurrencyCode:()=>gE,\u0275getLocalePluralCase:()=>kg,\u0275getSanitizationBypassType:()=>Yh,\u0275getUnknownElementStrictMode:()=>Sy,\u0275getUnknownPropertyStrictMode:()=>Iy,\u0275global:()=>pt,\u0275injectChangeDetectorRef:()=>sb,\u0275internalCreateApplication:()=>UT,\u0275isBoundToModule:()=>Wv,\u0275isEnvironmentProviders:()=>$,\u0275isInjectable:()=>ye,\u0275isNgModule:()=>ju,\u0275isPromise:()=>kd,\u0275isSubscribable:()=>Yp,\u0275noSideEffects:()=>un,\u0275patchComponentDefWithScope:()=>Hu,\u0275publishDefaultGlobalUtils:()=>BT,\u0275publishGlobalUtil:()=>Ji,\u0275registerLocaleData:()=>pE,\u0275resetCompiledComponents:()=>QD,\u0275resetJitOptions:()=>GD,\u0275resolveComponentResources:()=>sh,\u0275setAllowDuplicateNgModuleIdsForTest:()=>Ty,\u0275setAlternateWeakRefImpl:()=>jn,\u0275setClassMetadata:()=>w_,\u0275setCurrentInjector:()=>ce,\u0275setDocument:()=>l0,\u0275setInjectorProfilerContext:()=>Qe,\u0275setLocaleId:()=>yu,\u0275setUnknownElementStrictMode:()=>xy,\u0275setUnknownPropertyStrictMode:()=>My,\u0275store:()=>Up,\u0275stringify:()=>_,\u0275transitiveScopesFor:()=>Ro,\u0275unregisterLocaleData:()=>_E,\u0275unwrapSafeValue:()=>io,\u0275withDomHydration:()=>S1,\u0275\u0275CopyDefinitionFeature:()=>Ap,\u0275\u0275FactoryTarget:()=>Eo,\u0275\u0275HostDirectivesFeature:()=>Op,\u0275\u0275InheritDefinitionFeature:()=>md,\u0275\u0275InputTransformsFeature:()=>kp,\u0275\u0275NgOnChangesFeature:()=>In,\u0275\u0275ProvidersFeature:()=>d_,\u0275\u0275StandaloneFeature:()=>p_,\u0275\u0275advance:()=>ep,\u0275\u0275attribute:()=>gd,\u0275\u0275attributeInterpolate1:()=>_d,\u0275\u0275attributeInterpolate2:()=>vd,\u0275\u0275attributeInterpolate3:()=>bd,\u0275\u0275attributeInterpolate4:()=>yd,\u0275\u0275attributeInterpolate5:()=>Cd,\u0275\u0275attributeInterpolate6:()=>wd,\u0275\u0275attributeInterpolate7:()=>Ed,\u0275\u0275attributeInterpolate8:()=>Dd,\u0275\u0275attributeInterpolateV:()=>Td,\u0275\u0275classMap:()=>cg,\u0275\u0275classMapInterpolate1:()=>_g,\u0275\u0275classMapInterpolate2:()=>vg,\u0275\u0275classMapInterpolate3:()=>bg,\u0275\u0275classMapInterpolate4:()=>yg,\u0275\u0275classMapInterpolate5:()=>Cg,\u0275\u0275classMapInterpolate6:()=>wg,\u0275\u0275classMapInterpolate7:()=>Eg,\u0275\u0275classMapInterpolate8:()=>Dg,\u0275\u0275classMapInterpolateV:()=>Tg,\u0275\u0275classProp:()=>Xd,\u0275\u0275contentQuery:()=>iv,\u0275\u0275defer:()=>c_,\u0275\u0275defineComponent:()=>oi,\u0275\u0275defineDirective:()=>ur,\u0275\u0275defineInjectable:()=>at,\u0275\u0275defineInjector:()=>Me,\u0275\u0275defineNgModule:()=>dr,\u0275\u0275definePipe:()=>fr,\u0275\u0275directiveInject:()=>os,\u0275\u0275disableBindings:()=>vf,\u0275\u0275element:()=>Rd,\u0275\u0275elementContainer:()=>Fd,\u0275\u0275elementContainerEnd:()=>bc,\u0275\u0275elementContainerStart:()=>vc,\u0275\u0275elementEnd:()=>_c,\u0275\u0275elementStart:()=>gc,\u0275\u0275enableBindings:()=>_f,\u0275\u0275getCurrentView:()=>Kp,\u0275\u0275getInheritedFactory:()=>Kf,\u0275\u0275hostProperty:()=>_u,\u0275\u0275i18n:()=>r_,\u0275\u0275i18nApply:()=>s_,\u0275\u0275i18nAttributes:()=>o_,\u0275\u0275i18nEnd:()=>Du,\u0275\u0275i18nExp:()=>Tu,\u0275\u0275i18nPostprocess:()=>a_,\u0275\u0275i18nStart:()=>Eu,\u0275\u0275inject:()=>We,\u0275\u0275injectAttribute:()=>il,\u0275\u0275invalidFactory:()=>np,\u0275\u0275invalidFactoryDep:()=>Pe,\u0275\u0275listener:()=>Nd,\u0275\u0275loadQuery:()=>rv,\u0275\u0275namespaceHTML:()=>Rf,\u0275\u0275namespaceMathML:()=>Pf,\u0275\u0275namespaceSVG:()=>Of,\u0275\u0275nextContext:()=>Jp,\u0275\u0275ngDeclareClassMetadata:()=>P1,\u0275\u0275ngDeclareComponent:()=>R1,\u0275\u0275ngDeclareDirective:()=>O1,\u0275\u0275ngDeclareFactory:()=>F1,\u0275\u0275ngDeclareInjectable:()=>N1,\u0275\u0275ngDeclareInjector:()=>L1,\u0275\u0275ngDeclareNgModule:()=>j1,\u0275\u0275ngDeclarePipe:()=>B1,\u0275\u0275pipe:()=>j_,\u0275\u0275pipeBind1:()=>B_,\u0275\u0275pipeBind2:()=>V_,\u0275\u0275pipeBind3:()=>$_,\u0275\u0275pipeBind4:()=>H_,\u0275\u0275pipeBindV:()=>U_,\u0275\u0275projection:()=>eg,\u0275\u0275projectionDef:()=>qp,\u0275\u0275property:()=>Od,\u0275\u0275propertyInterpolate:()=>jd,\u0275\u0275propertyInterpolate1:()=>yc,\u0275\u0275propertyInterpolate2:()=>Bd,\u0275\u0275propertyInterpolate3:()=>Vd,\u0275\u0275propertyInterpolate4:()=>$d,\u0275\u0275propertyInterpolate5:()=>Hd,\u0275\u0275propertyInterpolate6:()=>Ud,\u0275\u0275propertyInterpolate7:()=>zd,\u0275\u0275propertyInterpolate8:()=>Wd,\u0275\u0275propertyInterpolateV:()=>Gd,\u0275\u0275pureFunction0:()=>E_,\u0275\u0275pureFunction1:()=>D_,\u0275\u0275pureFunction2:()=>T_,\u0275\u0275pureFunction3:()=>x_,\u0275\u0275pureFunction4:()=>S_,\u0275\u0275pureFunction5:()=>M_,\u0275\u0275pureFunction6:()=>I_,\u0275\u0275pureFunction7:()=>A_,\u0275\u0275pureFunction8:()=>O_,\u0275\u0275pureFunctionV:()=>P_,\u0275\u0275queryRefresh:()=>tv,\u0275\u0275reference:()=>zp,\u0275\u0275registerNgModuleType:()=>cl,\u0275\u0275resetView:()=>yf,\u0275\u0275resolveBody:()=>nd,\u0275\u0275resolveDocument:()=>Vm,\u0275\u0275resolveWindow:()=>Bm,\u0275\u0275restoreView:()=>bf,\u0275\u0275sanitizeHtml:()=>nm,\u0275\u0275sanitizeResourceUrl:()=>Al,\u0275\u0275sanitizeScript:()=>rm,\u0275\u0275sanitizeStyle:()=>im,\u0275\u0275sanitizeUrl:()=>Il,\u0275\u0275sanitizeUrlOrResourceUrl:()=>am,\u0275\u0275setComponentScope:()=>qi,\u0275\u0275setNgModuleScope:()=>Lr,\u0275\u0275styleMap:()=>Fr,\u0275\u0275styleMapInterpolate1:()=>xg,\u0275\u0275styleMapInterpolate2:()=>Sg,\u0275\u0275styleMapInterpolate3:()=>Mg,\u0275\u0275styleMapInterpolate4:()=>Ig,\u0275\u0275styleMapInterpolate5:()=>Ag,\u0275\u0275styleMapInterpolate6:()=>Og,\u0275\u0275styleMapInterpolate7:()=>Pg,\u0275\u0275styleMapInterpolate8:()=>Rg,\u0275\u0275styleMapInterpolateV:()=>Fg,\u0275\u0275styleProp:()=>Qd,\u0275\u0275stylePropInterpolate1:()=>cu,\u0275\u0275stylePropInterpolate2:()=>lu,\u0275\u0275stylePropInterpolate3:()=>du,\u0275\u0275stylePropInterpolate4:()=>uu,\u0275\u0275stylePropInterpolate5:()=>fu,\u0275\u0275stylePropInterpolate6:()=>hu,\u0275\u0275stylePropInterpolate7:()=>mu,\u0275\u0275stylePropInterpolate8:()=>pu,\u0275\u0275stylePropInterpolateV:()=>gu,\u0275\u0275syntheticHostListener:()=>Ld,\u0275\u0275syntheticHostProperty:()=>vu,\u0275\u0275template:()=>Vp,\u0275\u0275templateRefExtractor:()=>cv,\u0275\u0275text:()=>pg,\u0275\u0275textInterpolate:()=>qd,\u0275\u0275textInterpolate1:()=>Ec,\u0275\u0275textInterpolate2:()=>eu,\u0275\u0275textInterpolate3:()=>tu,\u0275\u0275textInterpolate4:()=>nu,\u0275\u0275textInterpolate5:()=>iu,\u0275\u0275textInterpolate6:()=>ru,\u0275\u0275textInterpolate7:()=>ou,\u0275\u0275textInterpolate8:()=>su,\u0275\u0275textInterpolateV:()=>au,\u0275\u0275trustConstantHtml:()=>om,\u0275\u0275trustConstantResourceUrl:()=>sm,\u0275\u0275validateIframeAttribute:()=>zh,\u0275\u0275viewQuery:()=>nv});var n=c(8645),a=c(7394),g=c(3018),m=c(3019),s=c(5619),d=c(2096),u=c(3020),p=c(4664),v=c(3997),f=c(2827);function y(e){for(let t in e)if(e[t]===y)return t;throw Error("Could not find renamed property on target object.")}function b(e,t){for(const i in t)t.hasOwnProperty(i)&&!e.hasOwnProperty(i)&&(e[i]=t[i])}function _(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(_).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 w(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const A=y({__forward_ref__:y});function R(e){return e.__forward_ref__=R,e.toString=function(){return _(this())},e}function M(e){return Y(e)?e():e}function Y(e){return"function"==typeof e&&e.hasOwnProperty(A)&&e.__forward_ref__===R}function $(e){return e&&!!e.\u0275providers}const z="https://g.co/ng/security#xss";class K extends Error{constructor(t,i){super(de(t,i)),this.code=t}}function de(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}function X(e){return"string"==typeof e?e:null==e?"":String(e)}function fe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():X(e)}function tt(e,t){throw new K(-201,!1)}function pe(e,t,i,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${i} ${r} ${t} <=Actual]`))}function at(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const ge=at;function Me(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ke(e){return ht(e,Q)||ht(e,Ne)}function ye(e){return null!==Ke(e)}function ht(e,t){return e.hasOwnProperty(t)?e[t]:null}function qe(e){return e&&(e.hasOwnProperty($e)||e.hasOwnProperty(et))?e[$e]:null}const Q=y({\u0275prov:y}),$e=y({\u0275inj:y}),Ne=y({ngInjectableDef:y}),et=y({ngInjectorDef:y});var dt=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(dt||{});let xt;function Nt(){return xt}function Qt(e){const t=xt;return xt=e,t}function Jt(e,t,i){const r=Ke(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:i&dt.Optional?null:void 0!==t?t:void tt(_(e))}const pt=globalThis;let Ve;function Qe(e){pe("setInjectorProfilerContext should never be called in production mode");const t=Ve;return Ve=e,t}let wt=null;const Lt=e=>{pe("setInjectorProfiler should never be called in production mode"),wt=e},St={},ze="__NG_DI_FLAG__",lt="ngTempTokenPath",zt=/\n/gm,Xe="__source";let _e;function ce(e){const t=_e;return _e=e,t}function ie(e,t=dt.Default){if(void 0===_e)throw new K(-203,!1);return null===_e?Jt(e,void 0,t):_e.get(e,t&dt.Optional?null:void 0,t)}function We(e,t=dt.Default){return(Nt()||ie)(M(e),t)}function Pe(e){throw new K(202,!1)}function rt(e,t=dt.Default){return We(e,Tt(t))}function Tt(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ue(e){const t=[];for(let i=0;i<e.length;i++){const r=M(e[i]);if(Array.isArray(r)){if(0===r.length)throw new K(900,!1);let l,h=dt.Default;for(let C=0;C<r.length;C++){const D=r[C],S=bt(D);"number"==typeof S?-1===S?l=D.token:h|=S:l=D}t.push(We(l,h))}else t.push(We(r))}return t}function Ae(e,t){return e[ze]=t,e.prototype[ze]=t,e}function bt(e){return e[ze]}function un(e){return{toString:e}.toString()}var gn=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(gn||{}),Ue=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Ue||{});const Fe={},_t=[],ft=y({\u0275cmp:y}),Ot=y({\u0275dir:y}),Pt=y({\u0275pipe:y}),Yt=y({\u0275mod:y}),Gt=y({\u0275fac:y}),tn=y({__NG_ELEMENT_ID__:y}),on=y({__NG_ENV_ID__:y});function Pn(e,t,i){let r=e.length;for(;;){const l=e.indexOf(t,i);if(-1===l)return l;if(0===l||e.charCodeAt(l-1)<=32){const h=t.length;if(l+h===r||e.charCodeAt(l+h)<=32)return l}i=l+1}}function Hn(e,t,i){let r=0;for(;r<i.length;){const l=i[r];if("number"==typeof l){if(0!==l)break;r++;const h=i[r++],C=i[r++],D=i[r++];e.setAttribute(t,C,D,h)}else{const h=l,C=i[++r];Gn(h)?e.setProperty(t,h,C):e.setAttribute(t,h,C),r++}}return r}function On(e){return 3===e||4===e||6===e}function Gn(e){return 64===e.charCodeAt(0)}function Kn(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let i=-1;for(let r=0;r<t.length;r++){const l=t[r];"number"==typeof l?i=l:0===i||Nn(e,i,l,null,-1===i||2===i?t[++r]:null)}}return e}function Nn(e,t,i,r,l){let h=0,C=e.length;if(-1===t)C=-1;else for(;h<e.length;){const D=e[h++];if("number"==typeof D){if(D===t){C=-1;break}if(D>t){C=h-1;break}}}for(;h<e.length;){const D=e[h];if("number"==typeof D)break;if(D===i){if(null===r)return void(null!==l&&(e[h+1]=l));if(r===e[h+1])return void(e[h+2]=l)}h++,null!==r&&h++,null!==l&&h++}-1!==C&&(e.splice(C,0,t),h=C+1),e.splice(h++,0,i),null!==r&&e.splice(h++,0,r),null!==l&&e.splice(h++,0,l)}const oe="ng-template";function ve(e,t,i){let r=0,l=!0;for(;r<e.length;){let h=e[r++];if("string"==typeof h&&l){const C=e[r++];if(i&&"class"===h&&-1!==Pn(C.toLowerCase(),t,0))return!0}else{if(1===h){for(;r<e.length&&"string"==typeof(h=e[r++]);)if(h.toLowerCase()===t)return!0;return!1}"number"==typeof h&&(l=!1)}}return!1}function Le(e){return 4===e.type&&e.value!==oe}function q(e,t,i){return t===(4!==e.type||i?e.value:oe)}function H(e,t,i){let r=4;const l=e.attrs||[],h=function Rt(e){for(let t=0;t<e.length;t++)if(On(e[t]))return t;return e.length}(l);let C=!1;for(let D=0;D<t.length;D++){const S=t[D];if("number"!=typeof S){if(!C)if(4&r){if(r=2|1&r,""!==S&&!q(e,S,i)||""===S&&1===t.length){if(Re(r))return!1;C=!0}}else{const L=8&r?S:t[++D];if(8&r&&null!==e.attrs){if(!ve(e.attrs,L,i)){if(Re(r))return!1;C=!0}continue}const je=Ye(8&r?"class":S,l,Le(e),i);if(-1===je){if(Re(r))return!1;C=!0;continue}if(""!==L){let mt;mt=je>h?"":l[je+1].toLowerCase();const yt=8&r?mt:null;if(yt&&-1!==Pn(yt,L,0)||2&r&&L!==mt){if(Re(r))return!1;C=!0}}}}else{if(!C&&!Re(r)&&!Re(S))return!1;if(C&&Re(S))continue;C=!1,r=S|1&r}}return Re(r)||C}function Re(e){return 0==(1&e)}function Ye(e,t,i,r){if(null===t)return-1;let l=0;if(r||!i){let h=!1;for(;l<t.length;){const C=t[l];if(C===e)return l;if(3===C||6===C)h=!0;else{if(1===C||2===C){let D=t[++l];for(;"string"==typeof D;)D=t[++l];continue}if(4===C)break;if(0===C){l+=4;continue}}l+=h?1:2}return-1}return function jt(e,t){let i=e.indexOf(4);if(i>-1)for(i++;i<e.length;){const r=e[i];if("number"==typeof r)return-1;if(r===t)return i;i++}return-1}(t,e)}function B(e,t,i=!1){for(let r=0;r<t.length;r++)if(H(e,t[r],i))return!0;return!1}function bn(e,t){e:for(let i=0;i<t.length;i++){const r=t[i];if(e.length===r.length){for(let l=0;l<e.length;l++)if(e[l]!==r[l])continue e;return!0}}return!1}function Mn(e,t){return e?":not("+t.trim()+")":t}function Yn(e){let t=e[0],i=1,r=2,l="",h=!1;for(;i<e.length;){let C=e[i];if("string"==typeof C)if(2&r){const D=e[++i];l+="["+C+(D.length>0?'="'+D+'"':"")+"]"}else 8&r?l+="."+C:4&r&&(l+=" "+C);else""!==l&&!Re(C)&&(t+=Mn(h,l),l=""),r=C,h=h||!Re(r);i++}return""!==l&&(t+=Mn(h,l)),t}function oi(e){return un(()=>{const t=Ar(e),i={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===gn.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ue.Emulated,styles:e.styles||_t,_:null,schemas:e.schemas||null,tView:null,id:""};nr(i);const r=e.dependencies;return i.directiveDefs=hr(r,!1),i.pipeDefs=hr(r,!0),i.id=function Or(e){let t=0;const i=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const l of i)t=Math.imul(31,t)+l.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(i),i})}function qi(e,t,i){const r=e.\u0275cmp;r.directiveDefs=hr(t,!1),r.pipeDefs=hr(i,!0)}function Ir(e){return Sn(e)||Jn(e)}function co(e){return null!==e}function dr(e){return un(()=>({type:e.type,bootstrap:e.bootstrap||_t,declarations:e.declarations||_t,imports:e.imports||_t,exports:e.exports||_t,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Lr(e,t){return un(()=>{const i=ii(e,!0);i.declarations=t.declarations||_t,i.imports=t.imports||_t,i.exports=t.exports||_t})}function er(e,t){if(null==e)return Fe;const i={};for(const r in e)if(e.hasOwnProperty(r)){let l=e[r],h=l;Array.isArray(l)&&(h=l[1],l=l[0]),i[l]=r,t&&(t[l]=h)}return i}function ur(e){return un(()=>{const t=Ar(e);return nr(t),t})}function fr(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 Sn(e){return e[ft]||null}function Jn(e){return e[Ot]||null}function qn(e){return e[Pt]||null}function tr(e){const t=Sn(e)||Jn(e)||qn(e);return null!==t&&t.standalone}function ii(e,t){const i=e[Yt]||null;if(!i&&!0===t)throw new Error(`Type ${_(e)} does not have '\u0275mod' property.`);return i}function Ar(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Fe,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||_t,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:er(e.inputs,t),outputs:er(e.outputs)}}function nr(e){e.features?.forEach(t=>t(e))}function hr(e,t){if(!e)return null;const i=t?qn:Ir;return()=>("function"==typeof e?e():e).map(r=>i(r)).filter(co)}const mr=new Map,$n=0,Zt=1,hn=2,kn=3,_i=4,Oi=5,si=6,Ui=7,Un=8,Xn=9,Li=10,sn=11,ji=12,yr=13,zi=14,Rn=15,pr=16,vi=17,ei=18,fi=19,Pi=20,Wi=21,ai=22,ti=23,Ri=24,Dn=25,Cr=1,wr=2,bi=7,ir=9,jr=10,ci=11;function hi(e){return Array.isArray(e)&&"object"==typeof e[Cr]}function li(e){return Array.isArray(e)&&!0===e[Cr]}function Br(e){return 0!=(4&e.flags)}function rr(e){return e.componentOffset>-1}function Er(e){return 1==(1&e.flags)}function Di(e){return!!e.template}function Vr(e){return 0!=(512&e[hn])}function $r(e){return 16==(16&e.type)}function De(e,t){return e.hasOwnProperty(Gt)?e[Gt]:null}const Je=Symbol("SIGNAL");function ct(e){return"function"==typeof e&&void 0!==e[Je]}function Et(e,t){return(null===e||"object"!=typeof e)&&Object.is(e,t)}let Mt=null,qt=!1;function Kt(e){const t=Mt;return Mt=e,t}const Tn={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function yn(e){if(qt)throw new Error("");if(null===Mt)return;const t=Mt.nextProducerIndex++;ki(Mt),t<Mt.producerNode.length&&Mt.producerNode[t]!==e&&Fi(Mt)&&wi(Mt.producerNode[t],Mt.producerIndexOfThis[t]),Mt.producerNode[t]!==e&&(Mt.producerNode[t]=e,Mt.producerIndexOfThis[t]=Fi(Mt)?or(e,Mt,t):0),Mt.producerLastReadVersion[t]=e.version}function ln(e){if(!Fi(e)||e.dirty){if(!e.producerMustRecompute(e)&&!Ci(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function pn(e){if(void 0===e.liveConsumerNode)return;const t=qt;qt=!0;try{for(const i of e.liveConsumerNode)i.dirty||di(i)}finally{qt=t}}function zn(){return!1!==Mt?.consumerAllowSignalWrites}function di(e){e.dirty=!0,pn(e),e.consumerMarkedDirty?.(e)}function ri(e){return e&&(e.nextProducerIndex=0),Kt(e)}function yi(e,t){if(Kt(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Fi(e))for(let i=e.nextProducerIndex;i<e.producerNode.length;i++)wi(e.producerNode[i],e.producerIndexOfThis[i]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Ci(e){ki(e);for(let t=0;t<e.producerNode.length;t++){const i=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==i.version||(ln(i),r!==i.version))return!0}return!1}function Hr(e){if(ki(e),Fi(e))for(let t=0;t<e.producerNode.length;t++)wi(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function or(e,t,i){if(sr(e),ki(e),0===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=or(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(i),e.liveConsumerNode.push(t)-1}function wi(e,t){if(sr(e),ki(e),1===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)wi(e.producerNode[r],e.producerIndexOfThis[r]);const i=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[i],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[i],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[t],l=e.liveConsumerNode[t];ki(l),l.producerIndexOfThis[r]=t}}function Fi(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function ki(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function sr(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function No(e,t){const i=Object.create(Ss);i.computation=e,t?.equal&&(i.equal=t.equal);const r=()=>{if(ln(i),yn(i),i.value===fo)throw i.error;return i.value};return r[Je]=i,r}const Ur=Symbol("UNSET"),Dr=Symbol("COMPUTING"),fo=Symbol("ERRORED"),Ss=(()=>({...Tn,value:Ur,dirty:!0,error:null,equal:Et,producerMustRecompute:e=>e.value===Ur||e.value===Dr,producerRecomputeValue(e){if(e.value===Dr)throw new Error("Detected cycle in computations.");const t=e.value;e.value=Dr;const i=ri(e);let r;try{r=e.computation()}catch(l){r=fo,e.error=l}finally{yi(e,i)}t!==Ur&&t!==fo&&r!==fo&&e.equal(t,r)?e.value=t:(e.value=r,e.version++)}}))();let dn=function nn(){throw new Error};function mn(){dn()}let mi=null;function gr(e,t){const i=Object.create(Tr);function r(){return yn(i),i.value}return i.value=e,t?.equal&&(i.equal=t.equal),r.set=F,r.update=ke,r.mutate=I,r.asReadonly=me,r[Je]=i,r}const Tr=(()=>({...Tn,equal:Et,readonlyFn:void 0}))();function T(e){e.version++,pn(e),mi?.()}function F(e){const t=this[Je];zn()||mn(),t.equal(t.value,e)||(t.value=e,T(t))}function ke(e){zn()||mn(),F.call(this,e(this[Je].value))}function I(e){const t=this[Je];zn()||mn(),e(t.value),T(t)}function me(){const e=this[Je];if(void 0===e.readonlyFn){const t=()=>this();t[Je]=e,e.readonlyFn=t}return e.readonlyFn}function He(e){const t=Kt(null);try{return e()}finally{Kt(t)}}const Ht=()=>{},Cn=(()=>({...Tn,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:Ht}))();function jn(e){}class Bn{constructor(t,i,r){this.previousValue=t,this.currentValue=i,this.firstChange=r}isFirstChange(){return this.firstChange}}function In(){return ui}function ui(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ei),Qn}function Qn(){const e=xr(this),t=e?.current;if(t){const i=e.previous;if(i===Fe)e.previous=t;else for(let r in t)i[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Ei(e,t,i,r){const l=this.declaredInputs[i],h=xr(e)||function ho(e,t){return e[Pr]=t}(e,{previous:Fe,current:null}),C=h.current||(h.current={}),D=h.previous,S=D[l];C[l]=new Bn(S&&S.currentValue,t,D===Fe),e[r]=t}In.ngInherit=!0;const Pr="__ngSimpleChanges__";function xr(e){return e[Pr]||null}let Gi=null;const qr=e=>{Gi=e},Ii=function(e,t,i){Gi?.(e,t,i)},eo="svg",lf="math";function ni(e){for(;Array.isArray(e);)e=e[$n];return e}function Hc(e){for(;Array.isArray(e);){if("object"==typeof e[Cr])return e;e=e[$n]}return null}function _a(e,t){return ni(t[e])}function ar(e,t){return ni(t[e.index])}function df(e,t){return e.data[t]}function Lo(e,t){return e[t]}function _r(e,t){const i=t[e];return hi(i)?i:i[$n]}function mo(e,t){return null==t?null:e[t]}function uf(e){e[vi]=0}function Ib(e){1024&e[hn]||(e[hn]|=1024,hf(e,1))}function ff(e){1024&e[hn]&&(e[hn]&=-1025,hf(e,-1))}function hf(e,t){let i=e[kn];if(null===i)return;i[Oi]+=t;let r=i;for(i=i[kn];null!==i&&(1===t&&1===r[Oi]||-1===t&&0===r[Oi]);)i[Oi]+=t,r=i,i=i[kn]}function mf(e,t){if(256==(256&e[hn]))throw new K(911,!1);null===e[Wi]&&(e[Wi]=[]),e[Wi].push(t)}const _n={lFrame:Mf(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function gf(){return _n.bindingsEnabled}function jo(){return null!==_n.skipHydrationRootTNode}function _f(){_n.bindingsEnabled=!0}function vf(){_n.bindingsEnabled=!1}function $t(){return _n.lFrame.lView}function Ln(){return _n.lFrame.tView}function bf(e){return _n.lFrame.contextLView=e,e[Un]}function yf(e){return _n.lFrame.contextLView=null,e}function Ni(){let e=Cf();for(;null!==e&&64===e.type;)e=e.parent;return e}function Cf(){return _n.lFrame.currentTNode}function Ms(){const e=_n.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function zr(e,t){const i=_n.lFrame;i.currentTNode=e,i.isParent=t}function Uc(){return _n.lFrame.isParent}function zc(){_n.lFrame.isParent=!1}function Ki(){const e=_n.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function to(){return _n.lFrame.bindingIndex}function Ef(e){return _n.lFrame.bindingIndex=e}function Bo(){return _n.lFrame.bindingIndex++}function no(e){const t=_n.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function Df(e){_n.lFrame.inI18n=e}function Bb(e,t){const i=_n.lFrame;i.bindingIndex=i.bindingRootIndex=e,Wc(t)}function Wc(e){_n.lFrame.currentDirectiveIndex=e}function Gc(e){const t=_n.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Tf(){return _n.lFrame.currentQueryIndex}function Kc(e){_n.lFrame.currentQueryIndex=e}function $b(e){const t=e[Zt];return 2===t.type?t.declTNode:1===t.type?e[si]:null}function xf(e,t,i){if(i&dt.SkipSelf){let l=t,h=e;for(;!(l=l.parent,null!==l||i&dt.Host||(l=$b(h),null===l||(h=h[zi],10&l.type))););if(null===l)return!1;t=l,e=h}const r=_n.lFrame=Sf();return r.currentTNode=t,r.lView=e,!0}function Yc(e){const t=Sf(),i=e[Zt];_n.lFrame=t,t.currentTNode=i.firstChild,t.lView=e,t.tView=i,t.contextLView=e,t.bindingIndex=i.bindingStartIndex,t.inI18n=!1}function Sf(){const e=_n.lFrame,t=null===e?null:e.child;return null===t?Mf(e):t}function Mf(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 If(){const e=_n.lFrame;return _n.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Af=If;function Zc(){const e=If();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Yi(){return _n.lFrame.selectedIndex}function Co(e){_n.lFrame.selectedIndex=e}function pi(){const e=_n.lFrame;return df(e.tView,e.selectedIndex)}function Of(){_n.lFrame.currentNamespace=eo}function Pf(){_n.lFrame.currentNamespace=lf}function Rf(){!function zb(){_n.lFrame.currentNamespace=null}()}function Ff(){return _n.lFrame.currentNamespace}let kf=!0;function va(){return kf}function po(e){kf=e}function ba(e,t){for(let i=t.directiveStart,r=t.directiveEnd;i<r;i++){const h=e.data[i].type.prototype,{ngAfterContentInit:C,ngAfterContentChecked:D,ngAfterViewInit:S,ngAfterViewChecked:L,ngOnDestroy:re}=h;C&&(e.contentHooks??=[]).push(-i,C),D&&((e.contentHooks??=[]).push(i,D),(e.contentCheckHooks??=[]).push(i,D)),S&&(e.viewHooks??=[]).push(-i,S),L&&((e.viewHooks??=[]).push(i,L),(e.viewCheckHooks??=[]).push(i,L)),null!=re&&(e.destroyHooks??=[]).push(i,re)}}function ya(e,t,i){Nf(e,t,3,i)}function Ca(e,t,i,r){(3&e[hn])===i&&Nf(e,t,i,r)}function Qc(e,t){let i=e[hn];(3&i)===t&&(i&=8191,i+=1,e[hn]=i)}function Nf(e,t,i,r){const h=r??-1,C=t.length-1;let D=0;for(let S=void 0!==r?65535&e[vi]:0;S<C;S++)if("number"==typeof t[S+1]){if(D=t[S],null!=r&&D>=r)break}else t[S]<0&&(e[vi]+=65536),(D<h||-1==h)&&(Gb(e,i,t,S),e[vi]=(4294901760&e[vi])+S+2),S++}function Lf(e,t){Ii(4,e,t);const i=Kt(null);try{t.call(e)}finally{Kt(i),Ii(5,e,t)}}function Gb(e,t,i,r){const l=i[r]<0,h=i[r+1],D=e[l?-i[r]:i[r]];l?e[hn]>>13<e[vi]>>16&&(3&e[hn])===t&&(e[hn]+=8192,Lf(D,h)):Lf(D,h)}const Vo=-1;class Is{constructor(t,i,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=r}}function Jc(e){return e!==Vo}function As(e){return 32767&e}function Os(e,t){let i=function Qb(e){return e>>16}(e),r=t;for(;i>0;)r=r[zi],i--;return r}let qc=!0;function wa(e){const t=qc;return qc=e,t}const jf=255,Bf=5;let Xb=0;const Wr={};function Ea(e,t){const i=Vf(e,t);if(-1!==i)return i;const r=t[Zt];r.firstCreatePass&&(e.injectorIndex=t.length,el(r.data,e),el(t,null),el(r.blueprint,null));const l=Da(e,t),h=e.injectorIndex;if(Jc(l)){const C=As(l),D=Os(l,t),S=D[Zt].data;for(let L=0;L<8;L++)t[h+L]=D[C+L]|S[C+L]}return t[h+8]=l,h}function el(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Vf(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Da(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let i=0,r=null,l=t;for(;null!==l;){if(r=Yf(l),null===r)return Vo;if(i++,l=l[zi],-1!==r.injectorIndex)return r.injectorIndex|i<<16}return Vo}function tl(e,t,i){!function Jb(e,t,i){let r;"string"==typeof i?r=i.charCodeAt(0)||0:i.hasOwnProperty(tn)&&(r=i[tn]),null==r&&(r=i[tn]=Xb++);const l=r&jf;t.data[e+(l>>Bf)]|=1<<l}(e,t,i)}function $f(e,t,i){if(i&dt.Optional||void 0!==e)return e;tt()}function Hf(e,t,i,r){if(i&dt.Optional&&void 0===r&&(r=null),!(i&(dt.Self|dt.Host))){const l=e[Xn],h=Qt(void 0);try{return l?l.get(t,r,i&dt.Optional):Jt(t,r,i&dt.Optional)}finally{Qt(h)}}return $f(r,0,i)}function Uf(e,t,i,r=dt.Default,l){if(null!==e){if(2048&t[hn]&&!(r&dt.Self)){const C=function ry(e,t,i,r,l){let h=e,C=t;for(;null!==h&&null!==C&&2048&C[hn]&&!(512&C[hn]);){const D=zf(h,C,i,r|dt.Self,Wr);if(D!==Wr)return D;let S=h.parent;if(!S){const L=C[Pi];if(L){const re=L.get(i,Wr,r);if(re!==Wr)return re}S=Yf(C),C=C[zi]}h=S}return l}(e,t,i,r,Wr);if(C!==Wr)return C}const h=zf(e,t,i,r,Wr);if(h!==Wr)return h}return Hf(t,i,r,l)}function zf(e,t,i,r,l){const h=function ty(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(tn)?e[tn]:void 0;return"number"==typeof t?t>=0?t&jf:iy:t}(i);if("function"==typeof h){if(!xf(t,e,r))return r&dt.Host?$f(l,0,r):Hf(t,i,r,l);try{let C;if(C=h(r),null!=C||r&dt.Optional)return C;tt()}finally{Af()}}else if("number"==typeof h){let C=null,D=Vf(e,t),S=Vo,L=r&dt.Host?t[Rn][si]:null;for((-1===D||r&dt.SkipSelf)&&(S=-1===D?Da(e,t):t[D+8],S!==Vo&&Gf(r,!1)?(C=t[Zt],D=As(S),t=Os(S,t)):D=-1);-1!==D;){const re=t[Zt];if(Wf(h,D,re.data)){const je=ey(D,t,i,C,r,L);if(je!==Wr)return je}S=t[D+8],S!==Vo&&Gf(r,t[Zt].data[D+8]===L)&&Wf(h,D,t)?(C=re,D=As(S),t=Os(S,t)):D=-1}}return l}function ey(e,t,i,r,l,h){const C=t[Zt],D=C.data[e+8],re=Ta(D,C,i,null==r?rr(D)&&qc:r!=C&&0!=(3&D.type),l&dt.Host&&h===D);return null!==re?wo(t,C,re,D):Wr}function Ta(e,t,i,r,l){const h=e.providerIndexes,C=t.data,D=1048575&h,S=e.directiveStart,re=h>>20,mt=l?D+re:e.directiveEnd;for(let yt=r?D:D+re;yt<mt;yt++){const Ft=C[yt];if(yt<S&&i===Ft||yt>=S&&Ft.type===i)return yt}if(l){const yt=C[S];if(yt&&Di(yt)&&yt.type===i)return S}return null}function wo(e,t,i,r){let l=e[i];const h=t.data;if(function Kb(e){return e instanceof Is}(l)){const C=l;C.resolving&&function he(e,t){const i=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new K(-200,`Circular dependency in DI detected for ${e}${i}`)}(fe(h[i]));const D=wa(C.canSeeViewProviders);C.resolving=!0;const L=C.injectImpl?Qt(C.injectImpl):null;xf(e,r,dt.Default);try{l=e[i]=C.factory(void 0,h,e,r),t.firstCreatePass&&i>=r.directiveStart&&function Wb(e,t,i){const{ngOnChanges:r,ngOnInit:l,ngDoCheck:h}=t.type.prototype;if(r){const C=ui(t);(i.preOrderHooks??=[]).push(e,C),(i.preOrderCheckHooks??=[]).push(e,C)}l&&(i.preOrderHooks??=[]).push(0-e,l),h&&((i.preOrderHooks??=[]).push(e,h),(i.preOrderCheckHooks??=[]).push(e,h))}(i,h[i],t)}finally{null!==L&&Qt(L),wa(D),C.resolving=!1,Af()}}return l}function Wf(e,t,i){return!!(i[t+(e>>Bf)]&1<<e)}function Gf(e,t){return!(e&dt.Self||e&dt.Host&&t)}function Ps(e){return e._lView}class Zi{constructor(t,i){this._tNode=t,this._lView=i}get(t,i,r){return Uf(this._tNode,this._lView,t,Tt(r),i)}}function iy(){return new Zi(Ni(),$t())}function Kf(e){return un(()=>{const t=e.prototype.constructor,i=t[Gt]||nl(t),r=Object.prototype;let l=Object.getPrototypeOf(e.prototype).constructor;for(;l&&l!==r;){const h=l[Gt]||nl(l);if(h&&h!==i)return h;l=Object.getPrototypeOf(l)}return h=>new h})}function nl(e){return Y(e)?()=>{const t=nl(M(e));return t&&t()}:De(e)}function Yf(e){const t=e[Zt],i=t.type;return 2===i?t.declTNode:1===i?e[si]:null}function il(e){return function qb(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const i=e.attrs;if(i){const r=i.length;let l=0;for(;l<r;){const h=i[l];if(On(h))break;if(0===h)l+=2;else if("number"==typeof h)for(l++;l<r&&"string"==typeof i[l];)l++;else{if(h===t)return i[l+1];l+=2}}}return null}(Ni(),e)}const $o="__annotations__",Ho="__parameters__",Uo="__prop__metadata__";function Rs(e,t,i,r,l){return un(()=>{const h=rl(t);function C(...D){if(this instanceof C)return h.call(this,...D),this;const S=new C(...D);return function(re){return l&&l(re,...D),(re.hasOwnProperty($o)?re[$o]:Object.defineProperty(re,$o,{value:[]})[$o]).push(S),r&&r(re),re}}return i&&(C.prototype=Object.create(i.prototype)),C.prototype.ngMetadataName=e,C.annotationCls=C,C})}function rl(e){return function(...i){if(e){const r=e(...i);for(const l in r)this[l]=r[l]}}}function zo(e,t,i){return un(()=>{const r=rl(t);function l(...h){if(this instanceof l)return r.apply(this,h),this;const C=new l(...h);return D.annotation=C,D;function D(S,L,re){const je=S.hasOwnProperty(Ho)?S[Ho]:Object.defineProperty(S,Ho,{value:[]})[Ho];for(;je.length<=re;)je.push(null);return(je[re]=je[re]||[]).push(C),S}}return i&&(l.prototype=Object.create(i.prototype)),l.prototype.ngMetadataName=e,l.annotationCls=l,l})}function go(e,t,i,r){return un(()=>{const l=rl(t);function h(...C){if(this instanceof h)return l.apply(this,C),this;const D=new h(...C);return function S(L,re){if(void 0===L)throw new Error("Standard Angular field decorators are not supported in JIT mode.");const je=L.constructor,mt=je.hasOwnProperty(Uo)?je[Uo]:Object.defineProperty(je,Uo,{value:{}})[Uo];mt[re]=mt.hasOwnProperty(re)&&mt[re]||[],mt[re].unshift(D),r&&r(L,re,...C)}}return i&&(h.prototype=Object.create(i.prototype)),h.prototype.ngMetadataName=e,h.annotationCls=h,h})}const Zf=zo("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>il(e)}));class Fs{}const oy=go("ContentChildren",(e,t={})=>({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0,...t}),Fs),sy=go("ContentChild",(e,t={})=>({selector:e,first:!0,isViewQuery:!1,descendants:!0,...t}),Fs),ay=go("ViewChildren",(e,t={})=>({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0,...t}),Fs),cy=go("ViewChild",(e,t)=>({selector:e,first:!0,isViewQuery:!0,descendants:!0,...t}),Fs);var Eo=function(e){return e[e.Directive=0]="Directive",e[e.Component=1]="Component",e[e.Injectable=2]="Injectable",e[e.Pipe=3]="Pipe",e[e.NgModule=4]="NgModule",e}(Eo||{});function xi(e){const t=pt.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const Xf=Function;function ks(e){return"function"==typeof e}function Sr(e){return e.flat(Number.POSITIVE_INFINITY)}function Wo(e,t){e.forEach(i=>Array.isArray(i)?Wo(i,t):t(i))}function Jf(e,t,i){t>=e.length?e.push(i):e.splice(t,0,i)}function xa(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ns(e,t){const i=[];for(let r=0;r<e;r++)i.push(t);return i}function vr(e,t,i){let r=Go(e,t);return r>=0?e[1|r]=i:(r=~r,function hy(e,t,i,r){let l=e.length;if(l==t)e.push(i,r);else if(1===l)e.push(r,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]=r}}(e,r,t,i)),r}function ol(e,t){const i=Go(e,t);if(i>=0)return e[1|i]}function Go(e,t){return function qf(e,t,i){let r=0,l=e.length>>i;for(;l!==r;){const h=r+(l-r>>1),C=e[h<<i];if(t===C)return h<<i;C>t?l=h:r=h+1}return~(l<<i)}(e,t,1)}const my=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,py=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,gy=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,_y=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class eh{constructor(t){this._reflect=t||pt.Reflect}factory(t){return(...i)=>new t(...i)}_zipTypesAndAnnotations(t,i){let r;r=Ns(typeof t>"u"?i.length:t.length);for(let l=0;l<r.length;l++)r[l]=typeof t>"u"?[]:t[l]&&t[l]!=Object?[t[l]]:[],i&&null!=i[l]&&(r[l]=r[l].concat(i[l]));return r}_ownParameters(t,i){if(function vy(e){return my.test(e)||_y.test(e)||py.test(e)&&!gy.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 D="function"==typeof l?l():l,S=D.map(re=>re&&re.type),L=D.map(re=>re&&sl(re.decorators));return this._zipTypesAndAnnotations(S,L)}const h=t.hasOwnProperty(Ho)&&t[Ho],C=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return C||h?this._zipTypesAndAnnotations(C,h):Ns(t.length)}parameters(t){if(!ks(t))return[];const i=Sa(t);let r=this._ownParameters(t,i);return!r&&i!==Object&&(r=this.parameters(i)),r||[]}_ownAnnotations(t,i){if(t.annotations&&t.annotations!==i.annotations){let r=t.annotations;return"function"==typeof r&&r.annotations&&(r=r.annotations),r}return t.decorators&&t.decorators!==i.decorators?sl(t.decorators):t.hasOwnProperty($o)?t[$o]:null}annotations(t){if(!ks(t))return[];const i=Sa(t),r=this._ownAnnotations(t,i)||[];return(i!==Object?this.annotations(i):[]).concat(r)}_ownPropMetadata(t,i){if(t.propMetadata&&t.propMetadata!==i.propMetadata){let r=t.propMetadata;return"function"==typeof r&&r.propMetadata&&(r=r.propMetadata),r}if(t.propDecorators&&t.propDecorators!==i.propDecorators){const r=t.propDecorators,l={};return Object.keys(r).forEach(h=>{l[h]=sl(r[h])}),l}return t.hasOwnProperty(Uo)?t[Uo]:null}propMetadata(t){if(!ks(t))return{};const i=Sa(t),r={};if(i!==Object){const h=this.propMetadata(i);Object.keys(h).forEach(C=>{r[C]=h[C]})}const l=this._ownPropMetadata(t,i);return l&&Object.keys(l).forEach(h=>{const C=[];r.hasOwnProperty(h)&&C.push(...r[h]),C.push(...l[h]),r[h]=C}),r}ownPropMetadata(t){return ks(t)&&this._ownPropMetadata(t,Sa(t))||{}}hasLifecycleHook(t,i){return t instanceof Xf&&i in t.prototype}}function sl(e){return e?e.map(t=>new(0,t.type.annotationCls)(...t.args?t.args:[])):[]}function Sa(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}const th=Ae(zo("Inject",e=>({token:e})),-1),Ma=Ae(zo("Optional"),8),nh=Ae(zo("Self"),2),Ia=Ae(zo("SkipSelf"),4),ih=Ae(zo("Host"),1);let rh=null;function al(){return rh=rh||new eh}function Aa(e){return oh(al().parameters(e))}function oh(e){return e.map(t=>function by(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 r=e[i];if(void 0===r)continue;const l=Object.getPrototypeOf(r);if(r instanceof Ma||"Optional"===l.ngMetadataName)t.optional=!0;else if(r instanceof Ia||"SkipSelf"===l.ngMetadataName)t.skipSelf=!0;else if(r instanceof nh||"Self"===l.ngMetadataName)t.self=!0;else if(r instanceof ih||"Host"===l.ngMetadataName)t.host=!0;else if(r instanceof th)t.token=r.token;else if(r instanceof Zf){if(void 0===r.attributeName)throw new K(204,!1);t.attribute=r.attributeName}else t.token=r}else t.token=void 0===e||Array.isArray(e)&&0===e.length?null:e;return t}(t))}function sh(e){const t=[],i=new Map;function r(l){let h=i.get(l);if(!h){const C=e(l);i.set(l,h=C.then(wy))}return h}return Ko.forEach((l,h)=>{const C=[];l.templateUrl&&C.push(r(l.templateUrl).then(je=>{l.template=je}));const D=l.styleUrls,S=l.styles||(l.styles=[]),L=l.styles.length;D&&D.forEach((je,mt)=>{S.push(""),C.push(r(je).then(yt=>{S[L+mt]=yt,D.splice(D.indexOf(je),1),0==D.length&&(l.styleUrls=void 0)}))});const re=Promise.all(C).then(()=>function Ey(e){Ls.delete(e)}(h));t.push(re)}),ch(),Promise.all(t).then(()=>{})}let Ko=new Map;const Ls=new Set;function ah(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length)}function ch(){const e=Ko;return Ko=new Map,e}function wy(e){return"string"==typeof e?e:e.text()}const Oa=new Map;let lh=!0;function cl(e,t){(function Dy(e,t,i){if(t&&t!==i&&lh)throw new Error(`Duplicate module registered for ${e} - ${_(t)} vs ${_(t.name)}`)})(t,Oa.get(t)||null,e),Oa.set(t,e)}function dh(e){return Oa.get(e)}function Ty(e){lh=!e}const uh={name:"custom-elements"},fh={name:"no-errors-schema"};let ll=!1;function xy(e){ll=e}function Sy(){return ll}let dl=!1;function My(e){dl=e}function Iy(){return dl}const Yo="ngSkipHydration";function gh(e){const t=Yo.toLowerCase(),i=e.mergedAttrs;if(null===i)return!1;for(let r=0;r<i.length;r+=2){const l=i[r];if("number"==typeof l)return!1;if("string"==typeof l&&l.toLowerCase()===t)return!0}return!1}function _h(e){return e.hasAttribute(Yo)}function Fa(e){return 128==(128&e.flags)}function ka(e){let t=e.parent;for(;t;){if(gh(t))return!0;t=t.parent}return!1}var Na=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Na||{});const Oy=/^>|^->|<!--|-->|--!>|<!-$/g,Py=/(<|>)/g,Ry="\u200b$1\u200b";const ul=new Map;let Fy=0;function bh(e){return ul.get(e)||null}class yh{get lView(){return bh(this.lViewId)}constructor(t,i,r){this.lViewId=t,this.nodeIndex=i,this.native=r}}function Qi(e){let t=js(e);if(t){if(hi(t)){const i=t;let r,l,h;if(Eh(e)){if(r=Th(i,e),-1==r)throw new Error("The provided component was not found in the application");l=e}else if(function jy(e){return e&&e.constructor&&e.constructor.\u0275dir}(e)){if(r=function Vy(e,t){let i=e[Zt].firstChild;for(;i;){const l=i.directiveEnd;for(let h=i.directiveStart;h<l;h++)if(e[h]===t)return i.index;i=By(i)}return-1}(i,e),-1==r)throw new Error("The provided directive was not found in the application");h=xh(r,i)}else if(r=Dh(i,e),-1==r)return null;const C=ni(i[r]),D=js(C),S=D&&!Array.isArray(D)?D:fl(i,r,C);if(l&&void 0===S.component&&(S.component=l,$i(S.component,S)),h&&void 0===S.directives){S.directives=h;for(let L=0;L<h.length;L++)$i(h[L],S)}$i(S.native,S),t=S}}else{const i=e;let r=i;for(;r=r.parentNode;){const l=js(r);if(l){const h=Array.isArray(l)?l:l.lView;if(!h)return null;const C=Dh(h,i);if(C>=0){const D=ni(h[C]),S=fl(h,C,D);$i(D,S),t=S;break}}}}return t||null}function fl(e,t,i){return new yh(e[fi],t,i)}function Ch(e){let i,t=js(e);if(hi(t)){const r=t,l=Th(r,e);i=_r(l,r);const h=fl(r,l,i[$n]);h.component=e,$i(e,h),$i(h.native,h)}else i=_r(t.nodeIndex,t.lView);return i}const hl="__ngContext__";function $i(e,t){hi(t)?(e[hl]=t[fi],function Ny(e){ul.set(e[fi],e)}(t)):e[hl]=t}function js(e){const t=e[hl];return"number"==typeof t?bh(t):t||null}function wh(e){const t=js(e);return t?hi(t)?t:t.lView:null}function Eh(e){return e&&e.constructor&&e.constructor.\u0275cmp}function Dh(e,t){const i=e[Zt];for(let r=Dn;r<i.bindingStartIndex;r++)if(ni(e[r])===t)return r;return-1}function By(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 Th(e,t){const i=e[Zt].components;if(i)for(let r=0;r<i.length;r++){const l=i[r];if(_r(l,e)[Un]===t)return l}else if(_r(Dn,e)[Un]===t)return Dn;return-1}function xh(e,t){const i=t[Zt].data[e];if(0===i.directiveStart)return _t;const r=[];for(let l=i.directiveStart;l<i.directiveEnd;l++){const h=t[l];Eh(h)||r.push(h)}return r}let ml;function pl(e,t){return ml(e,t)}function Bs(e){const t=e[kn];return li(t)?t[kn]:t}function Wy(e){return function zy(e){let t=hi(e)?e:wh(e);for(;t&&!(512&t[hn]);)t=Bs(t);return t}(e)[Un]}function Sh(e){return Ih(e[ji])}function Mh(e){return Ih(e[_i])}function Ih(e){for(;null!==e&&!li(e);)e=e[_i];return e}function Zo(e,t,i,r,l){if(null!=r){let h,C=!1;li(r)?h=r:hi(r)&&(C=!0,r=r[$n]);const D=ni(r);0===e&&null!==i?null==l?Rh(t,i,D):Do(t,i,D,l||null,!0):1===e&&null!==i?Do(t,i,D,l||null,!0):2===e?Ha(t,D,C):3===e&&t.destroyNode(D),null!=h&&function r0(e,t,i,r,l){const h=i[bi];h!==ni(i)&&Zo(t,e,r,h,l);for(let D=ci;D<i.length;D++){const S=i[D];$s(S[Zt],S,e,t,r,h)}}(t,e,h,i,l)}}function La(e,t){return e.createText(t)}function Ah(e,t,i){e.setValue(t,i)}function gl(e,t){return e.createComment(function vh(e){return e.replace(Oy,t=>t.replace(Py,Ry))}(t))}function ja(e,t,i){return e.createElement(t,i)}function Oh(e,t){const i=e[ir],r=i.indexOf(t);ff(t),i.splice(r,1)}function Ba(e,t){if(e.length<=ci)return;const i=ci+t,r=e[i];if(r){const l=r[pr];null!==l&&l!==e&&Oh(l,r),t>0&&(e[i-1][_i]=r[_i]);const h=xa(e,ci+t);!function Gy(e,t){$s(e,t,t[sn],2,null,null),t[$n]=null,t[si]=null}(r[Zt],r);const C=h[ei];null!==C&&C.detachView(h[Zt]),r[kn]=null,r[_i]=null,r[hn]&=-129}return r}function _l(e,t){if(!(256&t[hn])){const i=t[sn];t[ti]&&Hr(t[ti]),t[Ri]&&Hr(t[Ri]),i.destroyNode&&$s(e,t,i,3,null,null),function Zy(e){let t=e[ji];if(!t)return vl(e[Zt],e);for(;t;){let i=null;if(hi(t))i=t[ji];else{const r=t[ci];r&&(i=r)}if(!i){for(;t&&!t[_i]&&t!==e;)hi(t)&&vl(t[Zt],t),t=t[kn];null===t&&(t=e),hi(t)&&vl(t[Zt],t),i=t&&t[_i]}t=i}}(t)}}function vl(e,t){if(!(256&t[hn])){t[hn]&=-129,t[hn]|=256,function qy(e,t){let i;if(null!=e&&null!=(i=e.destroyHooks))for(let r=0;r<i.length;r+=2){const l=t[i[r]];if(!(l instanceof Is)){const h=i[r+1];if(Array.isArray(h))for(let C=0;C<h.length;C+=2){const D=l[h[C]],S=h[C+1];Ii(4,D,S);try{S.call(D)}finally{Ii(5,D,S)}}else{Ii(4,l,h);try{h.call(l)}finally{Ii(5,l,h)}}}}}(e,t),function Jy(e,t){const i=e.cleanup,r=t[Ui];if(null!==i)for(let h=0;h<i.length-1;h+=2)if("string"==typeof i[h]){const C=i[h+3];C>=0?r[C]():r[-C].unsubscribe(),h+=2}else i[h].call(r[i[h+1]]);null!==r&&(t[Ui]=null);const l=t[Wi];if(null!==l){t[Wi]=null;for(let h=0;h<l.length;h++)(0,l[h])()}}(e,t),1===t[Zt].type&&t[sn].destroy();const i=t[pr];if(null!==i&&li(t[kn])){i!==t[kn]&&Oh(i,t);const r=t[ei];null!==r&&r.detachView(e)}!function Ly(e){ul.delete(e[fi])}(t)}}function bl(e,t,i){return Ph(e,t.parent,i)}function Ph(e,t,i){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return i[$n];{const{componentOffset:l}=r;if(l>-1){const{encapsulation:h}=e.data[r.directiveStart+l];if(h===Ue.None||h===Ue.Emulated)return null}return ar(r,i)}}function Do(e,t,i,r,l){e.insertBefore(t,i,r,l)}function Rh(e,t,i){e.appendChild(t,i)}function Fh(e,t,i,r,l){null!==r?Do(e,t,i,r,l):Rh(e,t,i)}function Va(e,t){return e.parentNode(t)}function kh(e,t,i){return Lh(e,t,i)}function Nh(e,t,i){return 40&e.type?ar(e,i):null}let yl,Ua,Dl,za,Lh=Nh;function jh(e,t){Lh=e,yl=t}function $a(e,t,i,r){const l=bl(e,r,t),h=t[sn],D=kh(r.parent||t[si],r,t);if(null!=l)if(Array.isArray(i))for(let S=0;S<i.length;S++)Fh(h,l,i[S],D,!1);else Fh(h,l,i,D,!1);void 0!==yl&&yl(h,r,t,i,l)}function Vs(e,t){if(null!==t){const i=t.type;if(3&i)return ar(t,e);if(4&i)return Cl(-1,e[t.index]);if(8&i){const r=t.child;if(null!==r)return Vs(e,r);{const l=e[t.index];return li(l)?Cl(-1,l):ni(l)}}if(32&i)return pl(t,e)()||ni(e[t.index]);{const r=Bh(e,t);return null!==r?Array.isArray(r)?r[0]:Vs(Bs(e[Rn]),r):Vs(e,t.next)}}return null}function Bh(e,t){return null!==t?e[Rn][si].projection[t.projection]:null}function Cl(e,t){const i=ci+e+1;if(i<t.length){const r=t[i],l=r[Zt].firstChild;if(null!==l)return Vs(r,l)}return t[bi]}function Ha(e,t,i){const r=Va(e,t);r&&function e0(e,t,i,r){e.removeChild(t,i,r)}(e,r,t,i)}function Vh(e){e.textContent=""}function wl(e,t,i,r,l,h,C){for(;null!=i;){const D=r[i.index],S=i.type;if(C&&0===t&&(D&&$i(ni(D),r),i.flags|=2),32!=(32&i.flags))if(8&S)wl(e,t,i.child,r,l,h,!1),Zo(t,e,l,D,h);else if(32&S){const L=pl(i,r);let re;for(;re=L();)Zo(t,e,l,re,h);Zo(t,e,l,D,h)}else 16&S?$h(e,t,r,i,l,h):Zo(t,e,l,D,h);i=C?i.projectionNext:i.next}}function $s(e,t,i,r,l,h){wl(i,r,e.firstChild,t,l,h,!1)}function $h(e,t,i,r,l,h){const C=i[Rn],S=C[si].projection[r.projection];if(Array.isArray(S))for(let L=0;L<S.length;L++)Zo(t,e,l,S[L],h);else{let L=S;const re=C[kn];Fa(r)&&(L.flags|=128),wl(e,t,L,re,l,h,!0)}}function Hh(e,t,i){""===i?e.removeAttribute(t,"class"):e.setAttribute(t,"class",i)}function Uh(e,t,i){const{mergedAttrs:r,classes:l,styles:h}=i;null!==r&&Hn(e,t,r),null!==l&&Hh(e,t,l),null!==h&&function s0(e,t,i){e.setAttribute(t,"style",i)}(e,t,h)}function El(){if(void 0===Ua&&(Ua=null,pt.trustedTypes))try{Ua=pt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ua}function Qo(e){return El()?.createHTML(e)||e}function zh(e,t,i){const r=$t(),l=pi(),h=ar(l,r);if(2===l.type&&"iframe"===t.toLowerCase()){const C=h;throw C.src="",C.srcdoc=Qo(""),Ha(r[sn],C),new K(-910,!1)}return e}function l0(e){Dl=e}function Xo(){if(void 0!==Dl)return Dl;if(typeof document<"u")return document;throw new K(210,!1)}function Tl(){if(void 0===za&&(za=null,pt.trustedTypes))try{za=pt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return za}function Wh(e){return Tl()?.createHTML(e)||e}function Gh(e){return Tl()?.createScript(e)||e}function Kh(e){return Tl()?.createScriptURL(e)||e}class To{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${z})`}}class d0 extends To{getTypeName(){return"HTML"}}class u0 extends To{getTypeName(){return"Style"}}class f0 extends To{getTypeName(){return"Script"}}class h0 extends To{getTypeName(){return"URL"}}class m0 extends To{getTypeName(){return"ResourceURL"}}function io(e){return e instanceof To?e.changingThisBreaksApplicationSecurity:e}function Jo(e,t){const i=Yh(e);if(null!=i&&i!==t){if("ResourceURL"===i&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${i} (see ${z})`)}return i===t}function Yh(e){return e instanceof To&&e.getTypeName()||null}function p0(e){return new d0(e)}function g0(e){return new u0(e)}function _0(e){return new f0(e)}function v0(e){return new h0(e)}function b0(e){return new m0(e)}function Zh(e){const t=new C0(e);return function w0(){try{return!!(new window.DOMParser).parseFromString(Qo(""),"text/html")}catch{return!1}}()?new y0(t):t}class y0{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const i=(new window.DOMParser).parseFromString(Qo(t),"text/html").body;return null===i?this.inertDocumentHelper.getInertBodyElement(t):(i.removeChild(i.firstChild),i)}catch{return null}}}class C0{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const i=this.inertDocument.createElement("template");return i.innerHTML=Qo(t),i}}const E0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Wa(e){return(e=String(e)).match(E0)?e:"unsafe:"+e}function ro(e){const t={};for(const i of e.split(","))t[i]=!0;return t}function Hs(...e){const t={};for(const i of e)for(const r in i)i.hasOwnProperty(r)&&(t[r]=!0);return t}const Qh=ro("area,br,col,hr,img,wbr"),Xh=ro("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Jh=ro("rp,rt"),xl=Hs(Qh,Hs(Xh,ro("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")),Hs(Jh,ro("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")),Hs(Jh,Xh)),Sl=ro("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),qh=Hs(Sl,ro("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ro("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")),D0=ro("script,style,template");class T0{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let i=t.firstChild,r=!0;for(;i;)if(i.nodeType===Node.ELEMENT_NODE?r=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,r&&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(!xl.hasOwnProperty(i))return this.sanitizedSomething=!0,!D0.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);const r=t.attributes;for(let l=0;l<r.length;l++){const h=r.item(l),C=h.name,D=C.toLowerCase();if(!qh.hasOwnProperty(D)){this.sanitizedSomething=!0;continue}let S=h.value;Sl[D]&&(S=Wa(S)),this.buf.push(" ",C,'="',em(S),'"')}return this.buf.push(">"),!0}endElement(t){const i=t.nodeName.toLowerCase();xl.hasOwnProperty(i)&&!Qh.hasOwnProperty(i)&&(this.buf.push("</"),this.buf.push(i),this.buf.push(">"))}chars(t){this.buf.push(em(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 x0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,S0=/([^\#-~ |!])/g;function em(e){return e.replace(/&/g,"&").replace(x0,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(S0,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let Ga;function tm(e,t){let i=null;try{Ga=Ga||Zh(e);let r=t?String(t):"";i=Ga.getInertBodyElement(r);let l=5,h=r;do{if(0===l)throw new Error("Failed to sanitize html because the input is unstable");l--,r=h,h=i.innerHTML,i=Ga.getInertBodyElement(r)}while(r!==h);return Qo((new T0).sanitizeChildren(Ml(i)||i))}finally{if(i){const r=Ml(i)||i;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Ml(e){return"content"in e&&function M0(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var xo=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(xo||{});function nm(e){const t=Us();return t?Wh(t.sanitize(xo.HTML,e)||""):Jo(e,"HTML")?Wh(io(e)):tm(Xo(),X(e))}function im(e){const t=Us();return t?t.sanitize(xo.STYLE,e)||"":Jo(e,"Style")?io(e):X(e)}function Il(e){const t=Us();return t?t.sanitize(xo.URL,e)||"":Jo(e,"URL")?io(e):Wa(X(e))}function Al(e){const t=Us();if(t)return Kh(t.sanitize(xo.RESOURCE_URL,e)||"");if(Jo(e,"ResourceURL"))return Kh(io(e));throw new K(904,!1)}function rm(e){const t=Us();if(t)return Gh(t.sanitize(xo.SCRIPT,e)||"");if(Jo(e,"Script"))return Gh(io(e));throw new K(905,!1)}function om(e){return Qo(e[0])}function sm(e){return function c0(e){return El()?.createScriptURL(e)||e}(e[0])}function am(e,t,i){return function I0(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Al:Il}(t,i)(e)}function Us(){const e=$t();return e&&e[Li].sanitizer}class Wn{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=at({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const zs=new Wn("ENVIRONMENT_INITIALIZER"),Ol=new Wn("INJECTOR",-1),cm=new Wn("INJECTOR_DEF_TYPES");class Pl{get(t,i=St){if(i===St){const r=new Error(`NullInjectorError: No provider for ${_(t)}!`);throw r.name="NullInjectorError",r}return i}}function Rl(e){return{\u0275providers:e}}function lm(...e){return{\u0275providers:dm(0,e),\u0275fromNgModule:!0}}function dm(e,...t){const i=[],r=new Set;let l;const h=C=>{i.push(C)};return Wo(t,C=>{const D=C;Ka(D,h,[],r)&&(l||=[],l.push(D))}),void 0!==l&&um(l,h),i}function um(e,t){for(let i=0;i<e.length;i++){const{ngModule:r,providers:l}=e[i];Fl(l,h=>{t(h,r)})}}function Ka(e,t,i,r){if(!(e=M(e)))return!1;let l=null,h=qe(e);const C=!h&&Sn(e);if(h||C){if(C&&!C.standalone)return!1;l=e}else{const S=e.ngModule;if(h=qe(S),!h)return!1;l=S}const D=r.has(l);if(C){if(D)return!1;if(r.add(l),C.dependencies){const S="function"==typeof C.dependencies?C.dependencies():C.dependencies;for(const L of S)Ka(L,t,i,r)}}else{if(!h)return!1;{if(null!=h.imports&&!D){let L;r.add(l);try{Wo(h.imports,re=>{Ka(re,t,i,r)&&(L||=[],L.push(re))})}finally{}void 0!==L&&um(L,t)}if(!D){const L=De(l)||(()=>new l);t({provide:l,useFactory:L,deps:_t},l),t({provide:cm,useValue:l,multi:!0},l),t({provide:zs,useValue:()=>We(l),multi:!0},l)}const S=h.providers;if(null!=S&&!D){const L=e;Fl(S,re=>{t(re,L)})}}}return l!==e&&void 0!==e.providers}function Fl(e,t){for(let i of e)$(i)&&(i=i.\u0275providers),Array.isArray(i)?Fl(i,t):t(i)}const A0=y({provide:String,useValue:y});function kl(e){return null!==e&&"object"==typeof e&&A0 in e}function So(e){return"function"==typeof e}const Nl=new Wn("Set Injector scope."),Ya={},P0={};let Ll;function Za(){return void 0===Ll&&(Ll=new Pl),Ll}class Gr{}class Qa extends Gr{get destroyed(){return this._destroyed}constructor(t,i,r,l){super(),this.parent=i,this.source=r,this.scopes=l,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Bl(t,C=>this.processProvider(C)),this.records.set(Ol,qo(void 0,this)),l.has("environment")&&this.records.set(Gr,qo(void 0,this));const h=this.records.get(Nl);null!=h&&"string"==typeof h.value&&this.scopes.add(h.value),this.injectorDefTypes=new Set(this.get(cm.multi,_t,dt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of t)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const i=ce(this),r=Qt(void 0);try{return t()}finally{ce(i),Qt(r)}}get(t,i=St,r=dt.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(on))return t[on](this);r=Tt(r);const h=ce(this),C=Qt(void 0);try{if(!(r&dt.SkipSelf)){let S=this.records.get(t);if(void 0===S){const L=function L0(e){return"function"==typeof e||"object"==typeof e&&e instanceof Wn}(t)&&Ke(t);S=L&&this.injectableDefInScope(L)?qo(jl(t),Ya):null,this.records.set(t,S)}if(null!=S)return this.hydrate(t,S)}return(r&dt.Self?Za():this.parent).get(t,i=r&dt.Optional&&i===St?null:i)}catch(D){if("NullInjectorError"===D.name){if((D[lt]=D[lt]||[]).unshift(_(t)),h)throw D;return function kt(e,t,i,r){const l=e[lt];throw t[Xe]&&l.unshift(t[Xe]),e.message=function En(e,t,i,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let l=_(t);if(Array.isArray(t))l=t.map(_).join(" -> ");else if("object"==typeof t){let h=[];for(let C in t)if(t.hasOwnProperty(C)){let D=t[C];h.push(C+":"+("string"==typeof D?JSON.stringify(D):_(D)))}l=`{${h.join(", ")}}`}return`${i}${r?"("+r+")":""}[${l}]: ${e.replace(zt,"\n ")}`}("\n"+e.message,l,i,r),e.ngTokenPath=l,e[lt]=null,e}(D,t,"R3InjectorError",this.source)}throw D}finally{Qt(C),ce(h)}}resolveInjectorInitializers(){const t=ce(this),i=Qt(void 0);try{const l=this.get(zs.multi,_t,dt.Self);for(const h of l)h()}finally{ce(t),Qt(i)}}toString(){const t=[],i=this.records;for(const r of i.keys())t.push(_(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new K(205,!1)}processProvider(t){let i=So(t=M(t))?t:M(t&&t.provide);const r=function F0(e){return kl(e)?qo(void 0,e.useValue):qo(mm(e),Ya)}(t);if(So(t)||!0!==t.multi)this.records.get(i);else{let l=this.records.get(i);l||(l=qo(void 0,Ya,!0),l.factory=()=>ue(l.multi),this.records.set(i,l)),i=t,l.multi.push(t)}this.records.set(i,r)}hydrate(t,i){return i.value===Ya&&(i.value=P0,i.value=i.factory()),"object"==typeof i.value&&i.value&&function N0(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=M(t.providedIn);return"string"==typeof i?"any"===i||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(t){const i=this._onDestroyHooks.indexOf(t);-1!==i&&this._onDestroyHooks.splice(i,1)}}function jl(e){const t=Ke(e),i=null!==t?t.factory:De(e);if(null!==i)return i;if(e instanceof Wn)throw new K(204,!1);if(e instanceof Function)return function R0(e){const t=e.length;if(t>0)throw Ns(t,"?"),new K(204,!1);const i=function gt(e){return e&&(e[Q]||e[Ne])||null}(e);return null!==i?()=>i.factory(e):()=>new e}(e);throw new K(204,!1)}function mm(e,t,i){let r;if(So(e)){const l=M(e);return De(l)||jl(l)}if(kl(e))r=()=>M(e.useValue);else if(function hm(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...ue(e.deps||[]));else if(function fm(e){return!(!e||!e.useExisting)}(e))r=()=>We(M(e.useExisting));else{const l=M(e&&(e.useClass||e.provide));if(!function k0(e){return!!e.deps}(e))return De(l)||jl(l);r=()=>new l(...ue(e.deps))}return r}function qo(e,t,i=!1){return{factory:e,value:t,multi:i?[]:void 0}}function Bl(e,t){for(const i of e)Array.isArray(i)?Bl(i,t):i&&$(i)?Bl(i.\u0275providers,t):t(i)}const pm=new Wn("AppId",{providedIn:"root",factory:()=>j0}),j0="ng",gm=new Wn("Platform Initializer"),Vl=new Wn("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),B0=new Wn("Application Packages Root URL"),V0=new Wn("AnimationModuleType"),$0=new Wn("CSP nonce",{providedIn:"root",factory:()=>Xo().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),_m=new Wn("",{providedIn:"root",factory:()=>new Set});function H0(e){return e}function U0(){const e=new Ws;return"browser"===rt(Vl)&&(e.store=function z0(e,t){const i=e.getElementById(t+"-state");if(i?.textContent)try{return JSON.parse(i.textContent)}catch(r){console.warn("Exception while restoring TransferState for app "+t,r)}return{}}(Xo(),rt(pm))),e}let Ws=(()=>{var e;class t{constructor(){this.store={},this.onSerializeCallbacks={}}get(r,l){return void 0!==this.store[r]?this.store[r]:l}set(r,l){this.store[r]=l}remove(r){delete this.store[r]}hasKey(r){return this.store.hasOwnProperty(r)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(r,l){this.onSerializeCallbacks[r]=l}toJson(){for(const r in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(r))try{this.store[r]=this.onSerializeCallbacks[r]()}catch(l){console.warn("Exception in onSerialize callback: ",l)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}}return(e=t).\u0275prov=at({token:e,providedIn:"root",factory:U0}),t})();const $l="h",Hl="b";var es=function(e){return e.FirstChild="f",e.NextSibling="n",e}(es||{});const Ul="e",zl="t",Gs="c",Xa="x",ts="r",Wl="i",Gl="n",Ja="d",Kl="__\u0275nghData__",Ks="ngh",vm="nghm";let bm=(e,t,i)=>null;function W0(e,t,i=!1){let r=e.getAttribute(Ks);if(null==r)return null;const[l,h]=r.split("|");if(r=i?h:l,!r)return null;const C=i?l:h?`|${h}`:"";let D={};if(""!==r){const L=t.get(Ws,null,{optional:!0});null!==L&&(D=L.get(Kl,[])[Number(r)])}const S={data:D,firstChild:e.firstChild??null};return i&&(S.firstChild=e,qa(S,0,e.nextSibling)),C?e.setAttribute(Ks,C):e.removeAttribute(Ks),S}function Yl(e,t,i=!1){return bm(e,t,i)}function ym(e){let t=e._lView;return 2===t[Zt].type?null:(Vr(t)&&(t=t[Dn]),t)}function qa(e,t,i){e.segmentHeads??={},e.segmentHeads[t]=i}function Zl(e,t){return e.segmentHeads?.[t]??null}function Cm(e,t){return e.data[Gs]?.[t]??null}function Ql(e,t){const i=Cm(e,t)??[];let r=0;for(let l of i)r+=l[ts]*(l[Xa]??1);return r}function ec(e,t){if(typeof e.disconnectedNodes>"u"){const i=e.data[Ja];e.disconnectedNodes=i?new Set(i):null}return!!e.disconnectedNodes?.has(t)}class wm{}class tc{}class J0{resolveComponentFactory(t){throw function X0(e){const t=Error(`No component factory found for ${_(e)}.`);return t.ngComponent=e,t}(t)}}let Ys=(()=>{class t{}return t.NULL=new J0,t})();function q0(){return ns(Ni(),$t())}function ns(e,t){return new Zs(ar(e,t))}let Zs=(()=>{class t{constructor(r){this.nativeElement=r}}return t.__NG_ELEMENT_ID__=q0,t})();function eC(e){return e instanceof Zs?e.nativeElement:e}class Dm{}let tC=(()=>{class t{constructor(){this.destroyNode=null}}return t.__NG_ELEMENT_ID__=()=>function nC(){const e=$t(),i=_r(Ni().index,e);return(hi(i)?i:e)[sn]}(),t})(),Tm=(()=>{var e;class t{}return(e=t).\u0275prov=at({token:e,providedIn:"root",factory:()=>null}),t})();class xm{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Sm=new xm("16.2.6"),nc={};function iC(e,t){e instanceof Qa&&e.assertNotDestroyed();const r=ce(e),l=Qt(void 0);try{return t()}finally{ce(r),Qt(l)}}function ic(e){if(!Nt()&&!function V(){return _e}())throw new K(-203,!1)}const Mm={\u0275\u0275defineInjectable:at,\u0275\u0275defineInjector:Me,\u0275\u0275inject:We,\u0275\u0275invalidFactoryDep:Pe,resolveForwardRef:M};const oC=y({provide:String,useValue:y});function Im(e){return void 0!==e.useClass}function Am(e){return void 0!==e.useFactory}const lC=Rs("Injectable",void 0,void 0,void 0,(e,t)=>function rC(e,t){let i=null,r=null;e.hasOwnProperty(Q)||Object.defineProperty(e,Q,{get:()=>(null===i&&(i=xi().compileInjectable(Mm,`ng:///${e.name}/\u0275prov.js`,function cC(e,t){const i=t||{providedIn:null},r={name:e.name,type:e,typeArgumentCount:0,providedIn:i.providedIn};return(Im(i)||Am(i))&&void 0!==i.deps&&(r.deps=oh(i.deps)),Im(i)?r.useClass=i.useClass:function sC(e){return oC in e}(i)?r.useValue=i.useValue:Am(i)?r.useFactory=i.useFactory:function aC(e){return void 0!==e.useExisting}(i)&&(r.useExisting=i.useExisting),r}(e,t))),i)}),e.hasOwnProperty(Gt)||Object.defineProperty(e,Gt,{get:()=>{if(null===r){const l=xi();r=l.compileFactory(Mm,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:Aa(e),target:l.FactoryTarget.Injectable})}return r},configurable:!0})}(e,t));function Xl(e,t=null,i=null,r){const l=Om(e,t,i,r);return l.resolveInjectorInitializers(),l}function Om(e,t=null,i=null,r,l=new Set){const h=[i||_t,lm(e)];return r=r||("object"==typeof e?void 0:_(e)),new Qa(h,t||Za(),r||null,l)}let Rr=(()=>{var e;class t{static create(r,l){if(Array.isArray(r))return Xl({name:""},l,r,"");{const h=r.name??"";return Xl({name:h},r.parent,r.providers,h)}}}return(e=t).THROW_IF_NOT_FOUND=St,e.NULL=new Pl,e.\u0275prov=at({token:e,providedIn:"any",factory:()=>We(Ol)}),e.__NG_ELEMENT_ID__=-1,t})();function Jl(e){return e.ngOriginalError}class _o{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&&Jl(t);for(;i&&Jl(i);)i=Jl(i);return i||null}}let Qs=(()=>{var e;class t{}return(e=t).__NG_ELEMENT_ID__=uC,e.__NG_ENV_ID__=i=>i,t})();class dC extends Qs{constructor(t){super(),this._lView=t}onDestroy(t){return mf(this._lView,t),()=>function Ab(e,t){if(null===e[Wi])return;const i=e[Wi].indexOf(t);-1!==i&&e[Wi].splice(i,1)}(this._lView,t)}}function uC(){return new dC($t())}function ql(e){return t=>{setTimeout(e,void 0,t)}}const Kr=class fC extends n.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,i,r){let l=t,h=i||(()=>null),C=r;if(t&&"object"==typeof t){const S=t;l=S.next?.bind(S),h=S.error?.bind(S),C=S.complete?.bind(S)}this.__isAsync&&(h=ql(h),l&&(l=ql(l)),C&&(C=ql(C)));const D=super.subscribe({next:l,error:h,complete:C});return t instanceof a.w0&&t.add(D),D}};function Rm(...e){}class Ai{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Kr(!1),this.onMicrotaskEmpty=new Kr(!1),this.onStable=new Kr(!1),this.onError=new Kr(!1),typeof Zone>"u")throw new K(908,!1);Zone.assertZonePatched();const l=this;l._nesting=0,l._outer=l._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(l._inner=l._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(l._inner=l._inner.fork(Zone.longStackTraceZoneSpec)),l.shouldCoalesceEventChangeDetection=!r&&i,l.shouldCoalesceRunChangeDetection=r,l.lastRequestAnimationFrameId=-1,l.nativeRequestAnimationFrame=function hC(){const e="function"==typeof pt.requestAnimationFrame;let t=pt[e?"requestAnimationFrame":"setTimeout"],i=pt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&i){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const l=i[Zone.__symbol__("OriginalDelegate")];l&&(i=l)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:i}}().nativeRequestAnimationFrame,function gC(e){const t=()=>{!function pC(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(pt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,td(e),e.isCheckStableRunning=!0,ed(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),td(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,r,l,h,C,D)=>{if(function _C(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(D))return i.invokeTask(l,h,C,D);try{return Fm(e),i.invokeTask(l,h,C,D)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===h.type||e.shouldCoalesceRunChangeDetection)&&t(),km(e)}},onInvoke:(i,r,l,h,C,D,S)=>{try{return Fm(e),i.invoke(l,h,C,D,S)}finally{e.shouldCoalesceRunChangeDetection&&t(),km(e)}},onHasTask:(i,r,l,h)=>{i.hasTask(l,h),r===l&&("microTask"==h.change?(e._hasPendingMicrotasks=h.microTask,td(e),ed(e)):"macroTask"==h.change&&(e.hasPendingMacrotasks=h.macroTask))},onHandleError:(i,r,l,h)=>(i.handleError(l,h),e.runOutsideAngular(()=>e.onError.emit(h)),!1)})}(l)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ai.isInAngularZone())throw new K(909,!1)}static assertNotInAngularZone(){if(Ai.isInAngularZone())throw new K(909,!1)}run(t,i,r){return this._inner.run(t,i,r)}runTask(t,i,r,l){const h=this._inner,C=h.scheduleEventTask("NgZoneEvent: "+l,t,mC,Rm,Rm);try{return h.runTask(C,i,r)}finally{h.cancelTask(C)}}runGuarded(t,i,r){return this._inner.runGuarded(t,i,r)}runOutsideAngular(t){return this._outer.run(t)}}const mC={};function ed(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 td(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Fm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function km(e){e._nesting--,ed(e)}class Nm{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Kr,this.onMicrotaskEmpty=new Kr,this.onStable=new Kr,this.onError=new Kr}run(t,i,r){return t.apply(i,r)}runGuarded(t,i,r){return t.apply(i,r)}runOutsideAngular(t){return t()}runTask(t,i,r,l){return t.apply(i,r)}}const Lm=new Wn("",{providedIn:"root",factory:jm});function jm(){const e=rt(Ai);let t=!0;const i=new g.y(l=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{l.next(t),l.complete()})}),r=new g.y(l=>{let h;e.runOutsideAngular(()=>{h=e.onStable.subscribe(()=>{Ai.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,l.next(!0))})})});const C=e.onUnstable.subscribe(()=>{Ai.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{l.next(!1)}))});return()=>{h.unsubscribe(),C.unsubscribe()}});return(0,m.T)(i,r.pipe((0,u.B)()))}function Bm(e){return e.ownerDocument.defaultView}function Vm(e){return e.ownerDocument}function nd(e){return e.ownerDocument.body}function oo(e){return e instanceof Function?e():e}function rs(e){return"browser"===(e??rt(Rr)).get(Vl)}function $m(e,t){!t&&ic();const i=t?.injector??rt(Rr);if(!rs(i))return{destroy(){}};let r;const l=i.get(Qs).onDestroy(()=>r?.()),h=i.get(rc),C=h.handler??=new zm,D=i.get(Ai),S=i.get(_o,null,{optional:!0}),L=new Um(D,S,e);return r=()=>{C.unregister(L),l()},C.register(L),{destroy:r}}function Hm(e,t){!t&&ic();const i=t?.injector??rt(Rr);if(!rs(i))return{destroy(){}};let r;const l=i.get(Qs).onDestroy(()=>r?.()),h=i.get(rc),C=h.handler??=new zm,D=i.get(Ai),S=i.get(_o,null,{optional:!0}),L=new Um(D,S,()=>{r?.(),e()});return r=()=>{C.unregister(L),l()},C.register(L),{destroy:r}}class Um{constructor(t,i,r){this.zone=t,this.errorHandler=i,this.callbackFn=r}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}}class zm{constructor(){this.executingCallbacks=!1,this.callbacks=new Set,this.deferredCallbacks=new Set}validateBegin(){if(this.executingCallbacks)throw new K(102,!1)}register(t){(this.executingCallbacks?this.deferredCallbacks:this.callbacks).add(t)}unregister(t){this.callbacks.delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(const t of this.callbacks)t.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.callbacks.add(t);this.deferredCallbacks.clear()}destroy(){this.callbacks.clear(),this.deferredCallbacks.clear()}}let rc=(()=>{var e;class t{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}}return(e=t).\u0275prov=at({token:e,providedIn:"root",factory:()=>new e}),t})();function Xs(e){for(;e;){e[hn]|=64;const t=Bs(e);if(Vr(e)&&!t)return e;e=t}return null}const Js=new Wn(""),Gm=new Wn("",{providedIn:"root",factory:()=>!1});let oc=null;function Qm(e,t){return e[t]??qm()}function Xm(e,t){const i=qm();i.producerNode?.length&&(e[t]=oc,i.lView=e,oc=Jm())}const EC={...Tn,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Xs(e.lView)},lView:null};function Jm(){return Object.create(EC)}function qm(){return oc??=Jm(),oc}const xn={};function ep(e){tp(Ln(),$t(),Yi()+e,!1)}function tp(e,t,i,r){if(!r)if(3==(3&t[hn])){const h=e.preOrderCheckHooks;null!==h&&ya(t,h,i)}else{const h=e.preOrderHooks;null!==h&&Ca(t,h,0,i)}Co(i)}function os(e,t=dt.Default){const i=$t();return null===i?We(e,t):Uf(Ni(),i,M(e),t)}function np(){throw new Error("invalid")}function sc(e,t,i,r,l,h,C,D,S,L,re){const je=t.blueprint.slice();return je[$n]=l,je[hn]=140|r,(null!==L||e&&2048&e[hn])&&(je[hn]|=2048),uf(je),je[kn]=je[zi]=e,je[Un]=i,je[Li]=C||e&&e[Li],je[sn]=D||e&&e[sn],je[Xn]=S||e&&e[Xn]||null,je[si]=h,je[fi]=function ky(){return Fy++}(),je[ai]=re,je[Pi]=L,je[Rn]=2==t.type?e[Rn]:je,je}function ss(e,t,i,r,l){let h=e.data[t];if(null===h)h=id(e,t,i,r,l),function jb(){return _n.lFrame.inI18n}()&&(h.flags|=32);else if(64&h.type){h.type=i,h.value=r,h.attrs=l;const C=Ms();h.injectorIndex=null===C?-1:C.injectorIndex}return zr(h,!0),h}function id(e,t,i,r,l){const h=Cf(),C=Uc(),S=e.data[t]=function OC(e,t,i,r,l,h){let C=t?t.injectorIndex:-1,D=0;return jo()&&(D|=128),{type:i,index:r,insertBeforeIndex:null,injectorIndex:C,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:D,providerIndexes:0,value:l,attrs:h,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,C?h:h&&h.parent,i,t,r,l);return null===e.firstChild&&(e.firstChild=S),null!==h&&(C?null==h.child&&null!==S.parent&&(h.child=S):null===h.next&&(h.next=S,S.prev=h)),S}function qs(e,t,i,r){if(0===i)return-1;const l=t.length;for(let h=0;h<i;h++)t.push(r),e.blueprint.push(r),e.data.push(null);return l}function ip(e,t,i,r,l){const h=Qm(t,ti),C=Yi(),D=2&r;try{Co(-1),D&&t.length>Dn&&tp(e,t,Dn,!1),Ii(D?2:0,l);const L=D?h:null,re=ri(L);try{null!==L&&(L.dirty=!1),i(r,l)}finally{yi(L,re)}}finally{D&&null===t[ti]&&Xm(t,ti),Co(C),Ii(D?3:1,l)}}function rd(e,t,i){if(Br(t)){const r=Kt(null);try{const h=t.directiveEnd;for(let C=t.directiveStart;C<h;C++){const D=e.data[C];D.contentQueries&&D.contentQueries(1,i[C],C)}}finally{Kt(r)}}}function od(e,t,i){gf()&&(function jC(e,t,i,r){const l=i.directiveStart,h=i.directiveEnd;rr(i)&&function WC(e,t,i){const r=ar(t,e),l=rp(i);let C=16;i.signals?C=4096:i.onPush&&(C=64);const D=ac(e,sc(e,l,null,C,r,t,null,e[Li].rendererFactory.createRenderer(r,i),null,null,null));e[t.index]=D}(t,i,e.data[l+i.componentOffset]),e.firstCreatePass||Ea(i,t),$i(r,t);const C=i.initialInputs;for(let D=l;D<h;D++){const S=e.data[D],L=wo(t,e,D,i);$i(L,t),null!==C&&GC(0,D-l,L,S,0,C),Di(S)&&(_r(i.index,t)[Un]=wo(t,e,D,i))}}(e,t,i,ar(i,t)),64==(64&i.flags)&&lp(e,t,i))}function sd(e,t,i=ar){const r=t.localNames;if(null!==r){let l=t.index+1;for(let h=0;h<r.length;h+=2){const C=r[h+1],D=-1===C?i(t,e):e[C];e[l++]=D}}}function rp(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=ad(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function ad(e,t,i,r,l,h,C,D,S,L,re){const je=Dn+r,mt=je+l,yt=function TC(e,t){const i=[];for(let r=0;r<t;r++)i.push(r<e?null:xn);return i}(je,mt),Ft="function"==typeof L?L():L;return yt[Zt]={type:e,blueprint:yt,template:i,queries:null,viewQuery:D,declTNode:t,data:yt.slice().fill(null,je),bindingStartIndex:je,expandoStartIndex:mt,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 h?h():h,pipeRegistry:"function"==typeof C?C():C,firstChild:null,schemas:S,consts:Ft,incompleteFirstPass:!1,ssrId:re}}let op=e=>null;function MC(e){_h(e)?Vh(e):function Y0(e){const t=Xo(),i=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(h){const C=function K0(e){return e.textContent?.replace(/\s/gm,"")}(h);return"ngetn"===C||"ngtns"===C?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let r;const l=[];for(;r=i.nextNode();)l.push(r);for(const h of l)"ngetn"===h.textContent?h.replaceWith(t.createTextNode("")):h.remove()}(e)}function sp(e,t,i,r){for(let l in e)if(e.hasOwnProperty(l)){i=null===i?{}:i;const h=e[l];null===r?ap(i,t,l,h):r.hasOwnProperty(l)&&ap(i,t,r[l],h)}return i}function ap(e,t,i,r){e.hasOwnProperty(i)?e[i].push(t,r):e[i]=[t,r]}function br(e,t,i,r,l,h,C,D){const S=ar(t,i);let re,L=t.inputs;!D&&null!=L&&(re=L[r])?(fd(e,i,re,r,l),rr(t)&&function FC(e,t){const i=_r(t,e);16&i[hn]||(i[hn]|=64)}(i,t.index)):3&t.type&&(r=function RC(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),l=null!=C?C(l,t.value||"",r):l,h.setProperty(S,r,l))}function cd(e,t,i,r){if(gf()){const l=null===r?null:{"":-1},h=function VC(e,t){const i=e.directiveRegistry;let r=null,l=null;if(i)for(let h=0;h<i.length;h++){const C=i[h];if(B(t,C.selectors,!1))if(r||(r=[]),Di(C))if(null!==C.findHostDirectiveDefs){const D=[];l=l||new Map,C.findHostDirectiveDefs(C,D,l),r.unshift(...D,C),ld(e,t,D.length)}else r.unshift(C),ld(e,t,0);else l=l||new Map,C.findHostDirectiveDefs?.(C,r,l),r.push(C)}return null===r?null:[r,l]}(e,i);let C,D;null===h?C=D=null:[C,D]=h,null!==C&&cp(e,t,i,C,l,D),l&&function $C(e,t,i){if(t){const r=e.localNames=[];for(let l=0;l<t.length;l+=2){const h=i[t[l+1]];if(null==h)throw new K(-301,!1);r.push(t[l],h)}}}(i,r,l)}i.mergedAttrs=Kn(i.mergedAttrs,i.attrs)}function cp(e,t,i,r,l,h){for(let L=0;L<r.length;L++)tl(Ea(i,t),e,r[L].type);!function UC(e,t,i){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+i,e.providerIndexes=t}(i,e.data.length,r.length);for(let L=0;L<r.length;L++){const re=r[L];re.providersResolver&&re.providersResolver(re)}let C=!1,D=!1,S=qs(e,t,r.length,null);for(let L=0;L<r.length;L++){const re=r[L];i.mergedAttrs=Kn(i.mergedAttrs,re.hostAttrs),zC(e,i,t,S,re),HC(S,re,l),null!==re.contentQueries&&(i.flags|=4),(null!==re.hostBindings||null!==re.hostAttrs||0!==re.hostVars)&&(i.flags|=64);const je=re.type.prototype;!C&&(je.ngOnChanges||je.ngOnInit||je.ngDoCheck)&&((e.preOrderHooks??=[]).push(i.index),C=!0),!D&&(je.ngOnChanges||je.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(i.index),D=!0),S++}!function PC(e,t,i){const l=t.directiveEnd,h=e.data,C=t.attrs,D=[];let S=null,L=null;for(let re=t.directiveStart;re<l;re++){const je=h[re],mt=i?i.get(je):null,Ft=mt?mt.outputs:null;S=sp(je.inputs,re,S,mt?mt.inputs:null),L=sp(je.outputs,re,L,Ft);const Wt=null===S||null===C||Le(t)?null:KC(S,re,C);D.push(Wt)}null!==S&&(S.hasOwnProperty("class")&&(t.flags|=8),S.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=D,t.inputs=S,t.outputs=L}(e,i,h)}function lp(e,t,i){const r=i.directiveStart,l=i.directiveEnd,h=i.index,C=function Vb(){return _n.lFrame.currentDirectiveIndex}();try{Co(h);for(let D=r;D<l;D++){const S=e.data[D],L=t[D];Wc(D),(null!==S.hostBindings||0!==S.hostVars||null!==S.hostAttrs)&&BC(S,L)}}finally{Co(-1),Wc(C)}}function BC(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function ld(e,t,i){t.componentOffset=i,(e.components??=[]).push(t.index)}function HC(e,t,i){if(i){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)i[t.exportAs[r]]=e;Di(t)&&(i[""]=e)}}function zC(e,t,i,r,l){e.data[r]=l;const h=l.factory||(l.factory=De(l.type)),C=new Is(h,Di(l),os);e.blueprint[r]=C,i[r]=C,function NC(e,t,i,r,l){const h=l.hostBindings;if(h){let C=e.hostBindingOpCodes;null===C&&(C=e.hostBindingOpCodes=[]);const D=~t.index;(function LC(e){let t=e.length;for(;t>0;){const i=e[--t];if("number"==typeof i&&i<0)return i}return 0})(C)!=D&&C.push(D),C.push(i,r,h)}}(e,t,r,qs(e,i,l.hostVars,xn),l)}function Yr(e,t,i,r,l,h){const C=ar(e,t);dd(t[sn],C,h,e.value,i,r,l)}function dd(e,t,i,r,l,h,C){if(null==h)e.removeAttribute(t,l,i);else{const D=null==C?X(h):C(h,r||"",l);e.setAttribute(t,l,D,i)}}function GC(e,t,i,r,l,h){const C=h[t];if(null!==C)for(let D=0;D<C.length;)dp(r,i,C[D++],C[D++],C[D++])}function dp(e,t,i,r,l){const h=Kt(null);try{const C=e.inputTransforms;null!==C&&C.hasOwnProperty(r)&&(l=C[r].call(t,l)),null!==e.setInput?e.setInput(t,l,i,r):t[r]=l}finally{Kt(h)}}function KC(e,t,i){let r=null,l=0;for(;l<i.length;){const h=i[l];if(0!==h)if(5!==h){if("number"==typeof h)break;if(e.hasOwnProperty(h)){null===r&&(r=[]);const C=e[h];for(let D=0;D<C.length;D+=2)if(C[D]===t){r.push(h,C[D+1],i[l+1]);break}}l+=2}else l+=2;else l+=4}return r}function up(e,t,i,r){return[e,!0,!1,t,null,0,r,i,null,null,null]}function fp(e,t){const i=e.contentQueries;if(null!==i)for(let r=0;r<i.length;r+=2){const h=i[r+1];if(-1!==h){const C=e.data[h];Kc(i[r]),C.contentQueries(2,t[h],h)}}}function ac(e,t){return e[ji]?e[yr][_i]=t:e[ji]=t,e[yr]=t,t}function ud(e,t,i){Kc(0);const r=Kt(null);try{t(e,i)}finally{Kt(r)}}function hp(e){return e[Ui]||(e[Ui]=[])}function mp(e){return e.cleanup||(e.cleanup=[])}function pp(e,t,i){return(null===e||Di(e))&&(i=Hc(i[t.index])),i[sn]}function gp(e,t){const i=e[Xn],r=i?i.get(_o,null):null;r&&r.handleError(t)}function fd(e,t,i,r,l){for(let h=0;h<i.length;){const C=i[h++],D=i[h++];dp(e.data[C],t[C],r,D,l)}}function so(e,t,i){const r=_a(t,e);Ah(e[sn],r,i)}function YC(e,t){const i=_r(t,e),r=i[Zt];!function ZC(e,t){for(let i=t.length;i<e.blueprint.length;i++)t.push(e.blueprint[i])}(r,i);const l=i[$n];null!==l&&null===i[ai]&&(i[ai]=Yl(l,i[Xn])),hd(r,i,i[Un])}function hd(e,t,i){Yc(t);try{const r=e.viewQuery;null!==r&&ud(1,r,i);const l=e.template;null!==l&&ip(e,t,l,1,i),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&fp(e,t),e.staticViewQueries&&ud(2,e.viewQuery,i);const h=e.components;null!==h&&function QC(e,t){for(let i=0;i<t.length;i++)YC(e,t[i])}(t,h)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[hn]&=-5,Zc()}}let _p=(()=>{var e;class t{constructor(){this.all=new Set,this.queue=new Map}create(r,l,h){const C=typeof Zone>"u"?null:Zone.current,D=function At(e,t,i){const r=Object.create(Cn);i&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const l=C=>{r.cleanupFn=C};return r.ref={notify:()=>di(r),run:()=>{if(r.dirty=!1,r.hasRun&&!Ci(r))return;r.hasRun=!0;const C=ri(r);try{r.cleanupFn(),r.cleanupFn=Ht,r.fn(l)}finally{yi(r,C)}},cleanup:()=>r.cleanupFn()},r.ref}(r,re=>{this.all.has(re)&&this.queue.set(re,C)},h);let S;this.all.add(D),D.notify();const L=()=>{D.cleanup(),S?.(),this.all.delete(D),this.queue.delete(D)};return S=l?.onDestroy(L),{destroy:L}}flush(){if(0!==this.queue.size)for(const[r,l]of this.queue)this.queue.delete(r),l?l.run(()=>r.run()):r.run()}get isQueueEmpty(){return 0===this.queue.size}}return(e=t).\u0275prov=at({token:e,providedIn:"root",factory:()=>new e}),t})();function vp(e,t){!t?.injector&&ic();const i=t?.injector??rt(Rr),r=i.get(_p),l=!0!==t?.manualCleanup?i.get(Qs):null;return r.create(e,l,!!t?.allowSignalWrites)}function cc(e,t,i){let r=i?e.styles:null,l=i?e.classes:null,h=0;if(null!==t)for(let C=0;C<t.length;C++){const D=t[C];"number"==typeof D?h=D:1==h?l=w(l,D):2==h&&(r=w(r,D+": "+t[++C]+";"))}i?e.styles=r:e.stylesWithoutHost=r,i?e.classes=l:e.classesWithoutHost=l}function ea(e,t,i,r,l=!1){for(;null!==i;){const h=t[i.index];null!==h&&r.push(ni(h)),li(h)&&bp(h,r);const C=i.type;if(8&C)ea(e,t,i.child,r);else if(32&C){const D=pl(i,t);let S;for(;S=D();)r.push(S)}else if(16&C){const D=Bh(t,i);if(Array.isArray(D))r.push(...D);else{const S=Bs(t[Rn]);ea(S[Zt],S,D,r,!0)}}i=l?i.projectionNext:i.next}return r}function bp(e,t){for(let i=ci;i<e.length;i++){const r=e[i],l=r[Zt].firstChild;null!==l&&ea(r[Zt],r,l,t)}e[bi]!==e[$n]&&t.push(e[bi])}function lc(e,t,i,r=!0){const l=t[Li],h=l.rendererFactory,C=l.afterRenderEventManager;h.begin?.(),C?.begin();try{Cp(e,t,e.template,i)}catch(S){throw r&&gp(t,S),S}finally{h.end?.(),l.effectManager?.flush(),C?.end()}}function yp(e){const t=Ch(e);lc(t[Zt],t,e)}function Cp(e,t,i,r){const l=t[hn];if(256!=(256&l)){t[Li].effectManager?.flush(),Yc(t);try{uf(t),Ef(e.bindingStartIndex),null!==i&&ip(e,t,i,2,r);const C=3==(3&l);if(C){const L=e.preOrderCheckHooks;null!==L&&ya(t,L,null)}else{const L=e.preOrderHooks;null!==L&&Ca(t,L,0,null),Qc(t,0)}if(function XC(e){for(let t=Sh(e);null!==t;t=Mh(t)){if(!t[wr])continue;const i=t[ir];for(let r=0;r<i.length;r++){Ib(i[r])}}}(t),wp(t,2),null!==e.contentQueries&&fp(e,t),C){const L=e.contentCheckHooks;null!==L&&ya(t,L)}else{const L=e.contentHooks;null!==L&&Ca(t,L,1),Qc(t,1)}!function DC(e,t){const i=e.hostBindingOpCodes;if(null===i)return;const r=Qm(t,Ri);try{for(let l=0;l<i.length;l++){const h=i[l];if(h<0)Co(~h);else{const C=h,D=i[++l],S=i[++l];Bb(D,C),r.dirty=!1;const L=ri(r);try{S(2,t[C])}finally{yi(r,L)}}}}finally{null===t[Ri]&&Xm(t,Ri),Co(-1)}}(e,t);const D=e.components;null!==D&&Dp(t,D,0);const S=e.viewQuery;if(null!==S&&ud(2,S,r),C){const L=e.viewCheckHooks;null!==L&&ya(t,L)}else{const L=e.viewHooks;null!==L&&Ca(t,L,2),Qc(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[hn]&=-73,ff(t)}finally{Zc()}}}function wp(e,t){for(let i=Sh(e);null!==i;i=Mh(i))for(let r=ci;r<i.length;r++)Ep(i[r],t)}function JC(e,t,i){Ep(_r(t,e),i)}function Ep(e,t){if(!function Sb(e){return 128==(128&e[hn])}(e))return;const i=e[Zt],r=e[hn];if(80&r&&0===t||1024&r||2===t)Cp(i,e,i.template,e[Un]);else if(e[Oi]>0){wp(e,1);const l=i.components;null!==l&&Dp(e,l,1)}}function Dp(e,t,i){for(let r=0;r<t.length;r++)JC(e,t[r],i)}class as{get rootNodes(){const t=this._lView,i=t[Zt];return ea(i,t,i.firstChild,[])}constructor(t,i){this._lView=t,this._cdRefInjectingView=i,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Un]}set context(t){this._lView[Un]=t}get destroyed(){return 256==(256&this._lView[hn])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[kn];if(li(t)){const i=t[8],r=i?i.indexOf(this):-1;r>-1&&(Ba(t,r),xa(i,r))}this._attachedToViewContainer=!1}_l(this._lView[Zt],this._lView)}onDestroy(t){mf(this._lView,t)}markForCheck(){Xs(this._cdRefInjectingView||this._lView)}detach(){this._lView[hn]&=-129}reattach(){this._lView[hn]|=128}detectChanges(){lc(this._lView[Zt],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new K(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Yy(e,t){$s(e,t,t[sn],2,null,null)}(this._lView[Zt],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new K(902,!1);this._appRef=t}}class qC extends as{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;lc(t[Zt],t,t[Un],!1)}checkNoChanges(){}get context(){return null}}class Tp extends Ys{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const i=Sn(t);return new cs(i,this.ngModule)}}function xp(e){const t=[];for(let i in e)e.hasOwnProperty(i)&&t.push({propName:e[i],templateName:i});return t}class tw{constructor(t,i){this.injector=t,this.parentInjector=i}get(t,i,r){r=Tt(r);const l=this.injector.get(t,nc,r);return l!==nc||i===nc?l:this.parentInjector.get(t,i,r)}}class cs extends tc{get inputs(){const t=this.componentDef,i=t.inputTransforms,r=xp(t.inputs);if(null!==i)for(const l of r)i.hasOwnProperty(l.propName)&&(l.transform=i[l.propName]);return r}get outputs(){return xp(this.componentDef.outputs)}constructor(t,i){super(),this.componentDef=t,this.ngModule=i,this.componentType=t.type,this.selector=function Vn(e){return e.map(Yn).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!i}create(t,i,r,l){let h=(l=l||this.ngModule)instanceof Gr?l:l?.injector;h&&null!==this.componentDef.getStandaloneInjector&&(h=this.componentDef.getStandaloneInjector(h)||h);const C=h?new tw(t,h):t,D=C.get(Dm,null);if(null===D)throw new K(407,!1);const je={rendererFactory:D,sanitizer:C.get(Tm,null),effectManager:C.get(_p,null),afterRenderEventManager:C.get(rc,null)},mt=D.createRenderer(null,this.componentDef),yt=this.componentDef.selectors[0][0]||"div",Ft=r?function xC(e,t,i,r){const h=r.get(Gm,!1)||i===Ue.ShadowDom,C=e.selectRootElement(t,h);return function SC(e){op(e)}(C),C}(mt,r,this.componentDef.encapsulation,C):ja(mt,yt,function ew(e){const t=e.toLowerCase();return"svg"===t?eo:"math"===t?lf:null}(yt)),an=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let Bt=null;null!==Ft&&(Bt=Yl(Ft,C,!0));const wn=ad(0,null,null,1,0,null,null,null,null,null,null),An=sc(null,wn,null,an,null,null,je,mt,C,null,Bt);let Zn,lr;Yc(An);try{const ao=this.componentDef;let Ds,cf=null;ao.findHostDirectiveDefs?(Ds=[],cf=new Map,ao.findHostDirectiveDefs(ao,Ds,cf),Ds.push(ao)):Ds=[ao];const U1=function nw(e,t){const i=e[Zt],r=Dn;return e[r]=t,ss(i,r,2,"#host",null)}(An,Ft),z1=function iw(e,t,i,r,l,h,C){const D=l[Zt];!function rw(e,t,i,r){for(const l of e)t.mergedAttrs=Kn(t.mergedAttrs,l.hostAttrs);null!==t.mergedAttrs&&(cc(t,t.mergedAttrs,!0),null!==i&&Uh(r,i,t))}(r,e,t,C);let S=null;null!==t&&(S=Yl(t,l[Xn]));const L=h.rendererFactory.createRenderer(t,i);let re=16;i.signals?re=4096:i.onPush&&(re=64);const je=sc(l,rp(i),null,re,l[e.index],e,h,L,null,null,S);return D.firstCreatePass&&ld(D,e,r.length-1),ac(l,je),l[e.index]=je}(U1,Ft,ao,Ds,An,je,mt);lr=df(wn,Dn),Ft&&function sw(e,t,i,r){if(r)Hn(e,i,["ng-version",Sm.full]);else{const{attrs:l,classes:h}=function Mi(e){const t=[],i=[];let r=1,l=2;for(;r<e.length;){let h=e[r];if("string"==typeof h)2===l?""!==h&&t.push(h,e[++r]):8===l&&i.push(h);else{if(!Re(l))break;l=h}r++}return{attrs:t,classes:i}}(t.selectors[0]);l&&Hn(e,i,l),h&&h.length>0&&Hh(e,i,h.join(" "))}}(mt,ao,Ft,r),void 0!==i&&function aw(e,t,i){const r=e.projection=[];for(let l=0;l<t.length;l++){const h=i[l];r.push(null!=h?Array.from(h):null)}}(lr,this.ngContentSelectors,i),Zn=function ow(e,t,i,r,l,h){const C=Ni(),D=l[Zt],S=ar(C,l);cp(D,l,C,i,null,r);for(let re=0;re<i.length;re++)$i(wo(l,D,C.directiveStart+re,C),l);lp(D,l,C),S&&$i(S,l);const L=wo(l,D,C.directiveStart+C.componentOffset,C);if(e[Un]=l[Un]=L,null!==h)for(const re of h)re(L,t);return rd(D,C,e),L}(z1,ao,Ds,cf,An,[Mp]),hd(wn,An,null)}finally{Zc()}return new Sp(this.componentType,Zn,ns(lr,An),An,lr)}}class Sp extends wm{constructor(t,i,r,l,h){super(),this.location=r,this._rootLView=l,this._tNode=h,this.previousInputValues=null,this.instance=i,this.hostView=this.changeDetectorRef=new qC(l),this.componentType=t}setInput(t,i){const r=this._tNode.inputs;let l;if(null!==r&&(l=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),i))return;const h=this._rootLView;fd(h[Zt],h,l,t,i),this.previousInputValues.set(t,i),Xs(_r(this._tNode.index,h))}}get injector(){return new Zi(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function Mp(){const e=Ni();ba($t()[Zt],e)}function Ip(e){return Object.getPrototypeOf(e.prototype).constructor}function md(e){let t=Ip(e.type),i=!0;const r=[e];for(;t;){let l;if(Di(e))l=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new K(903,!1);l=t.\u0275dir}if(l){if(i){r.push(l);const C=e;C.inputs=dc(e.inputs),C.inputTransforms=dc(e.inputTransforms),C.declaredInputs=dc(e.declaredInputs),C.outputs=dc(e.outputs);const D=l.hostBindings;D&&uw(e,D);const S=l.viewQuery,L=l.contentQueries;if(S&&lw(e,S),L&&dw(e,L),b(e.inputs,l.inputs),b(e.declaredInputs,l.declaredInputs),b(e.outputs,l.outputs),null!==l.inputTransforms&&(null===C.inputTransforms&&(C.inputTransforms={}),b(C.inputTransforms,l.inputTransforms)),Di(l)&&l.data.animation){const re=e.data;re.animation=(re.animation||[]).concat(l.data.animation)}}const h=l.features;if(h)for(let C=0;C<h.length;C++){const D=h[C];D&&D.ngInherit&&D(e),D===md&&(i=!1)}}t=Object.getPrototypeOf(t)}!function cw(e){let t=0,i=null;for(let r=e.length-1;r>=0;r--){const l=e[r];l.hostVars=t+=l.hostVars,l.hostAttrs=Kn(l.hostAttrs,i=Kn(i,l.hostAttrs))}}(r)}function dc(e){return e===Fe?{}:e===_t?[]:e}function lw(e,t){const i=e.viewQuery;e.viewQuery=i?(r,l)=>{t(r,l),i(r,l)}:t}function dw(e,t){const i=e.contentQueries;e.contentQueries=i?(r,l,h)=>{t(r,l,h),i(r,l,h)}:t}function uw(e,t){const i=e.hostBindings;e.hostBindings=i?(r,l)=>{t(r,l),i(r,l)}:t}const fw=["providersResolver"],hw=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function Ap(e){let i,t=Ip(e.type);i=Di(e)?t.\u0275cmp:t.\u0275dir;const r=e;for(const l of fw)r[l]=i[l];if(Di(i))for(const l of hw)r[l]=i[l]}function Op(e){return t=>{t.findHostDirectiveDefs=Pp,t.hostDirectives=(Array.isArray(e)?e:e()).map(i=>"function"==typeof i?{directive:M(i),inputs:Fe,outputs:Fe}:{directive:M(i.directive),inputs:Rp(i.inputs),outputs:Rp(i.outputs)})}}function Pp(e,t,i){if(null!==e.hostDirectives)for(const r of e.hostDirectives){const l=Jn(r.directive);mw(l.declaredInputs,r.inputs),Pp(l,t,i),i.set(l,r),t.push(l)}}function Rp(e){if(void 0===e||0===e.length)return Fe;const t={};for(let i=0;i<e.length;i+=2)t[e[i]]=e[i+1];return t}function mw(e,t){for(const i in t)t.hasOwnProperty(i)&&(e[t[i]]=e[i])}function kp(e){const t=e.inputConfig,i={};for(const r in t)if(t.hasOwnProperty(r)){const l=t[r];Array.isArray(l)&&l[2]&&(i[r]=l[2])}e.inputTransforms=i}function uc(e){return!!pd(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function pd(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Np(e,t){const i=uc(e),r=uc(t);return i&&r?function pw(e,t,i){const r=e[Symbol.iterator](),l=t[Symbol.iterator]();for(;;){const h=r.next(),C=l.next();if(h.done&&C.done)return!0;if(h.done||C.done||!i(h.value,C.value))return!1}}(e,t,Np):!(i||!e||"object"!=typeof e&&"function"!=typeof e||r||!t||"object"!=typeof t&&"function"!=typeof t)||Object.is(e,t)}function Zr(e,t,i){return e[t]=i}function ta(e,t){return e[t]}function Hi(e,t,i){return!Object.is(e[t],i)&&(e[t]=i,!0)}function Mo(e,t,i,r){const l=Hi(e,t,i);return Hi(e,t+1,r)||l}function fc(e,t,i,r,l){const h=Mo(e,t,i,r);return Hi(e,t+2,l)||h}function Mr(e,t,i,r,l,h){const C=Mo(e,t,i,r);return Mo(e,t+2,l,h)||C}function gd(e,t,i,r){const l=$t();return Hi(l,Bo(),t)&&(Ln(),Yr(pi(),l,e,t,i,r)),gd}function ls(e,t){let i=!1,r=to();for(let h=1;h<t.length;h+=2)i=Hi(e,r++,t[h])||i;if(Ef(r),!i)return xn;let l=t[0];for(let h=1;h<t.length;h+=2)l+=X(t[h])+t[h+1];return l}function ds(e,t,i,r){return Hi(e,Bo(),i)?t+X(i)+r:xn}function us(e,t,i,r,l,h){const D=Mo(e,to(),i,l);return no(2),D?t+X(i)+r+X(l)+h:xn}function fs(e,t,i,r,l,h,C,D){const L=fc(e,to(),i,l,C);return no(3),L?t+X(i)+r+X(l)+h+X(C)+D:xn}function hs(e,t,i,r,l,h,C,D,S,L){const je=Mr(e,to(),i,l,C,S);return no(4),je?t+X(i)+r+X(l)+h+X(C)+D+X(S)+L:xn}function ms(e,t,i,r,l,h,C,D,S,L,re,je){const mt=to();let yt=Mr(e,mt,i,l,C,S);return yt=Hi(e,mt+4,re)||yt,no(5),yt?t+X(i)+r+X(l)+h+X(C)+D+X(S)+L+X(re)+je:xn}function ps(e,t,i,r,l,h,C,D,S,L,re,je,mt,yt){const Ft=to();let Wt=Mr(e,Ft,i,l,C,S);return Wt=Mo(e,Ft+4,re,mt)||Wt,no(6),Wt?t+X(i)+r+X(l)+h+X(C)+D+X(S)+L+X(re)+je+X(mt)+yt:xn}function gs(e,t,i,r,l,h,C,D,S,L,re,je,mt,yt,Ft,Wt){const Xt=to();let an=Mr(e,Xt,i,l,C,S);return an=fc(e,Xt+4,re,mt,Ft)||an,no(7),an?t+X(i)+r+X(l)+h+X(C)+D+X(S)+L+X(re)+je+X(mt)+yt+X(Ft)+Wt:xn}function _s(e,t,i,r,l,h,C,D,S,L,re,je,mt,yt,Ft,Wt,Xt,an){const Bt=to();let wn=Mr(e,Bt,i,l,C,S);return wn=Mr(e,Bt+4,re,mt,Ft,Xt)||wn,no(8),wn?t+X(i)+r+X(l)+h+X(C)+D+X(S)+L+X(re)+je+X(mt)+yt+X(Ft)+Wt+X(Xt)+an:xn}function _d(e,t,i,r,l,h){const C=$t(),D=ds(C,t,i,r);return D!==xn&&Yr(pi(),C,e,D,l,h),_d}function vd(e,t,i,r,l,h,C,D){const S=$t(),L=us(S,t,i,r,l,h);return L!==xn&&Yr(pi(),S,e,L,C,D),vd}function bd(e,t,i,r,l,h,C,D,S,L){const re=$t(),je=fs(re,t,i,r,l,h,C,D);return je!==xn&&Yr(pi(),re,e,je,S,L),bd}function yd(e,t,i,r,l,h,C,D,S,L,re,je){const mt=$t(),yt=hs(mt,t,i,r,l,h,C,D,S,L);return yt!==xn&&Yr(pi(),mt,e,yt,re,je),yd}function Cd(e,t,i,r,l,h,C,D,S,L,re,je,mt,yt){const Ft=$t(),Wt=ms(Ft,t,i,r,l,h,C,D,S,L,re,je);return Wt!==xn&&Yr(pi(),Ft,e,Wt,mt,yt),Cd}function wd(e,t,i,r,l,h,C,D,S,L,re,je,mt,yt,Ft,Wt){const Xt=$t(),an=ps(Xt,t,i,r,l,h,C,D,S,L,re,je,mt,yt);return an!==xn&&Yr(pi(),Xt,e,an,Ft,Wt),wd}function Ed(e,t,i,r,l,h,C,D,S,L,re,je,mt,yt,Ft,Wt,Xt,an){const Bt=$t(),wn=gs(Bt,t,i,r,l,h,C,D,S,L,re,je,mt,yt,Ft,Wt);return wn!==xn&&Yr(pi(),Bt,e,wn,Xt,an),Ed}function Dd(e,t,i,r,l,h,C,D,S,L,re,je,mt,yt,Ft,Wt,Xt,an,Bt,wn){const An=$t(),Zn=_s(An,t,i,r,l,h,C,D,S,L,re,je,mt,yt,Ft,Wt,Xt,an);return Zn!==xn&&Yr(pi(),An,e,Zn,Bt,wn),Dd}function Td(e,t,i,r){const l=$t(),h=ls(l,t);return h!==xn&&Yr(pi(),l,e,h,i,r),Td}const xd="<-- AT THIS LOCATION";function yw(e){const r=`During serialization, Angular detected DOM nodes that were created outside of Angular context and provided as projectable nodes (likely via \`ViewContainerRef.createComponent\` or \`createComponent\` APIs). Hydration is not supported for such cases, consider refactoring the code to avoid this pattern or using \`ngSkipHydration\` on the host element of the component.\n\n${function hc(e){const t=" ";let i="";const r=e;return r.previousSibling&&(i+=" \u2026\n",i+=t+na(r.previousSibling)+"\n"),i+=t+na(r)+` ${xd}\n`,e.nextSibling&&(i+=" \u2026\n"),e.parentNode&&(i=na(r.parentNode,"\n"+i)),i}(e)}\n\nNote: attributes are only displayed to better represent the DOM but have no effect on hydration mismatches.\n\n`;return new K(-503,r)}const ww=new Set(["ngh","ng-version","ng-server-context"]);function Sd(e,t="\u2026"){switch(e.type){case 1:return"#text"+(e.value?`(${e.value})`:"");case 2:const r=function Cw(e){const t=[];if(e.attrs)for(let i=0;i<e.attrs.length;){const r=e.attrs[i++];if("number"==typeof r)break;const l=e.attrs[i++];t.push(`${r}="${ra(l)}"`)}return t.join(" ")}(e),l=e.value.toLowerCase();return`<${l}${r?" "+r:""}>${t}</${l}>`;case 8:return"\x3c!-- ng-container --\x3e";case 4:return"\x3c!-- container --\x3e";default:return`#node(${function _w(e){switch(e){case 4:return"view container";case 2:return"element";case 8:return"ng-container";case 32:return"icu";case 64:return"i18n";case 16:return"projection";case 1:return"text";default:return"<unknown>"}}(e.type)})`}}function na(e,t="\u2026"){const i=e;switch(i.nodeType){case Node.ELEMENT_NODE:const r=i.tagName.toLowerCase(),l=function Ew(e){const t=[];for(let i=0;i<e.attributes.length;i++){const r=e.attributes[i];ww.has(r.name)||t.push(`${r.name}="${ra(r.value)}"`)}return t.join(" ")}(i);return`<${r}${l?" "+l:""}>${t}</${r}>`;case Node.TEXT_NODE:const h=i.textContent?ra(i.textContent):"";return"#text"+(h?`(${h})`:"");case Node.COMMENT_NODE:return`\x3c!-- ${ra(i.textContent??"")} --\x3e`;default:return`#node(${i.nodeType})`}}function ra(e,t=50){return e?(e=function Dw(e){return e.replace(/\s+/gm,"")}(e)).length>t?`${e.substring(0,t-1)}\u2026`:e:""}const Tw=new RegExp(`^(\\d+)*(${Hl}|${$l})*(.*)`);function Id(e){return e.index-Dn}function mc(e,t,i,r){let l=null;const h=Id(r),C=e.data[Gl];if(C?.[h])l=function Aw(e,t){const[i,...r]=function Sw(e){const t=e.match(Tw),[i,r,l,h]=t,C=r?parseInt(r,10):l,D=[];for(const[S,L,re]of h.matchAll(/(f|n)(\d*)/g)){const je=parseInt(re,10)||1;D.push(L,je)}return[C,...D]}(e);let l;return l=i===$l?t[Rn][$n]:i===Hl?nd(t[Rn][$n]):ni(t[Number(i)+Dn]),function Iw(e,t){let i=e;for(let r=0;r<t.length;r+=2){const l=t[r],h=t[r+1];for(let C=0;C<h;C++)switch(l){case es.FirstChild:i=i.firstChild;break;case es.NextSibling:i=i.nextSibling}}return i}(l,r)}(C[h],i);else if(t.firstChild===r)l=e.firstChild;else{const D=null===r.prev,S=r.prev??r.parent;if(function Mw(e){return!e.prev&&8===e.parent?.type}(r))l=Zl(e,Id(r.parent));else{let L=ar(S,i);if(D)l=L.firstChild;else{const re=Id(S),je=Zl(e,re);l=2===S.type&&je?pc(Ql(e,re)+1,je):L.nextSibling}}}return l}function pc(e,t){let i=t;for(let r=0;r<e;r++)i=i.nextSibling;return i}function Ad(e,t){if(e===t)return[];if(null==e.parentElement||null==t.parentElement)return null;if(e.parentElement===t.parentElement)return function Ow(e,t){const i=[];let r=null;for(r=e;null!=r&&r!==t;r=r.nextSibling)i.push(es.NextSibling);return null==r?null:i}(e,t);{const i=t.parentElement,r=Ad(e,i),l=Ad(i.firstChild,t);return r&&l?[...r,es.FirstChild,...l]:null}}function Bp(e,t,i){const r=Ad(e,t);return null===r?null:function xw(e,t){const i=[e];for(const r of t){const l=i.length-1;l>0&&i[l-1]===r?i[l]=(i[l]||1)+1:i.push(r,"")}return i.join("")}(i,r)}function Pw(e,t){const i=e.parent;let r,l,h;null!==i&&3&i.type?(r=i.index,l=ni(t[r]),h=X(r-Dn)):(r=h=$l,l=t[Rn][$n]);let C=ni(t[e.index]);if(12&e.type){const S=Vs(t,e);S&&(C=S)}let D=Bp(l,C,h);if(null===D&&l!==C&&(D=Bp(l.ownerDocument.body,C,Hl),null===D))throw function bw(e,t){const r=`${function Md(e,t,i){const r=" ";let l="";t.prev?(l+=" \u2026\n",l+=r+Sd(t.prev)+"\n"):t.type&&12&t.type&&(l+=" \u2026\n"),i?(l+=r+Sd(t)+"\n",l+=r+`\x3c!-- container --\x3e ${xd}\n`):l+=r+Sd(t)+` ${xd}\n`,l+=" \u2026\n";const h=t.type?bl(e[Zt],t,e):null;return h&&(l=na(h,"\n"+l)),l}(e,t,!1)}\n\n`,l=function ia(e){return`To fix this problem:\n * check ${e?`the "${e}"`:"corresponding"} component for hydration-related issues\n * check to see if your template has valid HTML structure\n * or skip hydration by adding the \`ngSkipHydration\` attribute to its host node in a template\n\n`}();throw new K(-502,"During serialization, Angular was unable to find an element in the DOM:\n\n"+r+l)}(t,e);return D}function Vp(e,t,i,r,l,h,C,D){const S=$t(),L=Ln(),re=e+Dn,je=L.firstCreatePass?function Rw(e,t,i,r,l,h,C,D,S){const L=t.consts,re=ss(t,e,4,C||null,mo(L,D));cd(t,i,re,mo(L,S)),ba(t,re);const je=re.tView=ad(2,re,r,l,h,t.directiveRegistry,t.pipeRegistry,null,t.schemas,L,null);return null!==t.queries&&(t.queries.template(t,re),je.queries=t.queries.embeddedTView(re)),re}(re,L,S,t,i,r,l,h,C):L.data[re];zr(je,!1);const mt=$p(L,S,je,e);va()&&$a(L,S,mt,je),$i(mt,S),ac(S,S[re]=up(mt,S,mt,je)),Er(je)&&od(L,S,je),null!=C&&sd(S,je,D)}let $p=Hp;function Hp(e,t,i,r){return po(!0),t[sn].createComment("")}function Fw(e,t,i,r){const l=t[ai],h=!l||jo()||ec(l,r);if(po(h),h)return Hp(0,t);const C=l.data[zl]?.[r]??null;null!==C&&null!==i.tView&&null===i.tView.ssrId&&(i.tView.ssrId=C);const D=mc(l,e,t,i);return qa(l,r,D),pc(Ql(l,r),D)}function Up(e,t,i,r){i>=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=r}function zp(e){return Lo(function Lb(){return _n.lFrame.contextLView}(),Dn+e)}function Od(e,t,i){const r=$t();return Hi(r,Bo(),t)&&br(Ln(),pi(),r,e,t,r[sn],i,!1),Od}function Pd(e,t,i,r,l){const C=l?"class":"style";fd(e,i,t.inputs[C],C,r)}function gc(e,t,i,r){const l=$t(),h=Ln(),C=Dn+e,D=l[sn],S=h.firstCreatePass?function Nw(e,t,i,r,l,h){const C=t.consts,S=ss(t,e,2,r,mo(C,l));return cd(t,i,S,mo(C,h)),null!==S.attrs&&cc(S,S.attrs,!1),null!==S.mergedAttrs&&cc(S,S.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,S),S}(C,h,l,t,i,r):h.data[C],L=Wp(h,l,S,D,t,e);l[C]=L;const re=Er(S);return zr(S,!0),Uh(D,L,S),32!=(32&S.flags)&&va()&&$a(h,l,L,S),0===function Ob(){return _n.lFrame.elementDepthCount}()&&$i(L,l),function Pb(){_n.lFrame.elementDepthCount++}(),re&&(od(h,l,S),rd(h,S,l)),null!==r&&sd(l,S),gc}function _c(){let e=Ni();Uc()?zc():(e=e.parent,zr(e,!1));const t=e;(function Fb(e){return _n.skipHydrationRootTNode===e})(t)&&function Nb(){_n.skipHydrationRootTNode=null}(),function Rb(){_n.lFrame.elementDepthCount--}();const i=Ln();return i.firstCreatePass&&(ba(i,e),Br(e)&&i.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Yb(e){return 0!=(8&e.flags)}(t)&&Pd(i,t,$t(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Zb(e){return 0!=(16&e.flags)}(t)&&Pd(i,t,$t(),t.stylesWithoutHost,!1),_c}function Rd(e,t,i,r){return gc(e,t,i,r),_c(),Rd}let Wp=(e,t,i,r,l,h)=>(po(!0),ja(r,l,Ff()));function Lw(e,t,i,r,l,h){const C=t[ai],D=!C||jo()||ec(C,h);if(po(D),D)return ja(r,l,Ff());const S=mc(C,e,t,i);return Cm(C,h)&&qa(C,h,S.nextSibling),C&&(gh(i)||_h(S))&&rr(i)&&(function kb(e){_n.skipHydrationRootTNode=e}(i),Vh(S)),S}function vc(e,t,i){const r=$t(),l=Ln(),h=e+Dn,C=l.firstCreatePass?function Bw(e,t,i,r,l){const h=t.consts,C=mo(h,r),D=ss(t,e,8,"ng-container",C);return null!==C&&cc(D,C,!0),cd(t,i,D,mo(h,l)),null!==t.queries&&t.queries.elementStart(t,D),D}(h,l,r,t,i):l.data[h];zr(C,!0);const D=Gp(l,r,C,e);return r[h]=D,va()&&$a(l,r,D,C),$i(D,r),Er(C)&&(od(l,r,C),rd(l,C,r)),null!=i&&sd(r,C),vc}function bc(){let e=Ni();const t=Ln();return Uc()?zc():(e=e.parent,zr(e,!1)),t.firstCreatePass&&(ba(t,e),Br(e)&&t.queries.elementEnd(e)),bc}function Fd(e,t,i){return vc(e,t,i),bc(),Fd}let Gp=(e,t,i,r)=>(po(!0),gl(t[sn],""));function Vw(e,t,i,r){let l;const h=t[ai],C=!h||jo();if(po(C),C)return gl(t[sn],"");const D=mc(h,e,t,i),S=function Q0(e,t){const i=e.data;let r=i[Ul]?.[t]??null;return null===r&&i[Gs]?.[t]&&(r=Ql(e,t)),r}(h,r);return qa(h,r,D),l=pc(S,D),l}function Kp(){return $t()}function kd(e){return!!e&&"function"==typeof e.then}function Yp(e){return!!e&&"function"==typeof e.subscribe}function Nd(e,t,i,r){const l=$t(),h=Ln(),C=Ni();return Zp(h,l,l[sn],C,e,t,r),Nd}function Ld(e,t){const i=Ni(),r=$t(),l=Ln();return Zp(l,r,pp(Gc(l.data),i,r),i,e,t),Ld}function Zp(e,t,i,r,l,h,C){const D=Er(r),L=e.firstCreatePass&&mp(e),re=t[Un],je=hp(t);let mt=!0;if(3&r.type||C){const Wt=ar(r,t),Xt=C?C(Wt):Wt,an=je.length,Bt=C?An=>C(ni(An[r.index])):r.index;let wn=null;if(!C&&D&&(wn=function Hw(e,t,i,r){const l=e.cleanup;if(null!=l)for(let h=0;h<l.length-1;h+=2){const C=l[h];if(C===i&&l[h+1]===r){const D=t[Ui],S=l[h+2];return D.length>S?D[S]:null}"string"==typeof C&&(h+=2)}return null}(e,t,l,r.index)),null!==wn)(wn.__ngLastListenerFn__||wn).__ngNextListenerFn__=h,wn.__ngLastListenerFn__=h,mt=!1;else{h=Xp(r,t,re,h,!1);const An=i.listen(Xt,l,h);je.push(h,An),L&&L.push(l,Bt,an,an+1)}}else h=Xp(r,t,re,h,!1);const yt=r.outputs;let Ft;if(mt&&null!==yt&&(Ft=yt[l])){const Wt=Ft.length;if(Wt)for(let Xt=0;Xt<Wt;Xt+=2){const Zn=t[Ft[Xt]][Ft[Xt+1]].subscribe(h),lr=je.length;je.push(h,Zn),L&&L.push(l,r.index,lr,-(lr+1))}}}function Qp(e,t,i,r){try{return Ii(6,t,i),!1!==i(r)}catch(l){return gp(e,l),!1}finally{Ii(7,t,i)}}function Xp(e,t,i,r,l){return function h(C){if(C===Function)return r;Xs(e.componentOffset>-1?_r(e.index,t):t);let S=Qp(t,i,r,C),L=h.__ngNextListenerFn__;for(;L;)S=Qp(t,i,L,C)&&S,L=L.__ngNextListenerFn__;return l&&!1===S&&C.preventDefault(),S}}function Jp(e=1){return function Hb(e){return(_n.lFrame.contextLView=function Ub(e,t){for(;e>0;)t=t[zi],e--;return t}(e,_n.lFrame.contextLView))[Un]}(e)}function Uw(e,t){let i=null;const r=function Ie(e){const t=e.attrs;if(null!=t){const i=t.indexOf(5);if(!(1&i))return t[i+1]}return null}(e);for(let l=0;l<t.length;l++){const h=t[l];if("*"!==h){if(null===r?B(e,h,!0):bn(r,h))return l}else i=l}return i}function qp(e){const t=$t()[Rn][si];if(!t.projection){const r=t.projection=Ns(e?e.length:1,null),l=r.slice();let h=t.child;for(;null!==h;){const C=e?Uw(h,e):0;null!==C&&(l[C]?l[C].projectionNext=h:r[C]=h,l[C]=h),h=h.next}}}function eg(e,t=0,i){const r=$t(),l=Ln(),h=ss(l,Dn+e,16,null,i||null);null===h.projection&&(h.projection=t),zc(),(!r[ai]||jo())&&32!=(32&h.flags)&&function n0(e,t,i){$h(t[sn],0,t,i,bl(e,i,t),kh(i.parent||t[si],i,t))}(l,r,h)}function jd(e,t,i){return yc(e,"",t,"",i),jd}function yc(e,t,i,r,l){const h=$t(),C=ds(h,t,i,r);return C!==xn&&br(Ln(),pi(),h,e,C,h[sn],l,!1),yc}function Bd(e,t,i,r,l,h,C){const D=$t(),S=us(D,t,i,r,l,h);return S!==xn&&br(Ln(),pi(),D,e,S,D[sn],C,!1),Bd}function Vd(e,t,i,r,l,h,C,D,S){const L=$t(),re=fs(L,t,i,r,l,h,C,D);return re!==xn&&br(Ln(),pi(),L,e,re,L[sn],S,!1),Vd}function $d(e,t,i,r,l,h,C,D,S,L,re){const je=$t(),mt=hs(je,t,i,r,l,h,C,D,S,L);return mt!==xn&&br(Ln(),pi(),je,e,mt,je[sn],re,!1),$d}function Hd(e,t,i,r,l,h,C,D,S,L,re,je,mt){const yt=$t(),Ft=ms(yt,t,i,r,l,h,C,D,S,L,re,je);return Ft!==xn&&br(Ln(),pi(),yt,e,Ft,yt[sn],mt,!1),Hd}function Ud(e,t,i,r,l,h,C,D,S,L,re,je,mt,yt,Ft){const Wt=$t(),Xt=ps(Wt,t,i,r,l,h,C,D,S,L,re,je,mt,yt);return Xt!==xn&&br(Ln(),pi(),Wt,e,Xt,Wt[sn],Ft,!1),Ud}function zd(e,t,i,r,l,h,C,D,S,L,re,je,mt,yt,Ft,Wt,Xt){const an=$t(),Bt=gs(an,t,i,r,l,h,C,D,S,L,re,je,mt,yt,Ft,Wt);return Bt!==xn&&br(Ln(),pi(),an,e,Bt,an[sn],Xt,!1),zd}function Wd(e,t,i,r,l,h,C,D,S,L,re,je,mt,yt,Ft,Wt,Xt,an,Bt){const wn=$t(),An=_s(wn,t,i,r,l,h,C,D,S,L,re,je,mt,yt,Ft,Wt,Xt,an);return An!==xn&&br(Ln(),pi(),wn,e,An,wn[sn],Bt,!1),Wd}function Gd(e,t,i){const r=$t(),l=ls(r,t);return l!==xn&&br(Ln(),pi(),r,e,l,r[sn],i,!1),Gd}function Cc(e,t){return e<<17|t<<2}function vo(e){return e>>17&32767}function Kd(e){return 2|e}function Io(e){return(131068&e)>>2}function Yd(e,t){return-131069&e|t<<2}function Zd(e){return 1|e}function tg(e,t,i,r,l){const h=e[i+1],C=null===t;let D=r?vo(h):Io(h),S=!1;for(;0!==D&&(!1===S||C);){const re=e[D+1];Zw(e[D],t)&&(S=!0,e[D+1]=r?Zd(re):Kd(re)),D=r?vo(re):Io(re)}S&&(e[i+1]=r?Kd(h):Zd(h))}function Zw(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Go(e,t)>=0}const Si={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ng(e){return e.substring(Si.key,Si.keyEnd)}function Qw(e){return e.substring(Si.value,Si.valueEnd)}function ig(e,t){const i=Si.textEnd;return i===t?-1:(t=Si.keyEnd=function qw(e,t,i){for(;t<i&&e.charCodeAt(t)>32;)t++;return t}(e,Si.key=t,i),vs(e,t,i))}function rg(e,t){const i=Si.textEnd;let r=Si.key=vs(e,t,i);return i===r?-1:(r=Si.keyEnd=function eE(e,t,i){let r;for(;t<i&&(45===(r=e.charCodeAt(t))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,i),r=sg(e,r,i),r=Si.value=vs(e,r,i),r=Si.valueEnd=function tE(e,t,i){let r=-1,l=-1,h=-1,C=t,D=C;for(;C<i;){const S=e.charCodeAt(C++);if(59===S)return D;34===S||39===S?D=C=ag(e,S,C,i):t===C-4&&85===h&&82===l&&76===r&&40===S?D=C=ag(e,41,C,i):S>32&&(D=C),h=l,l=r,r=-33&S}return D}(e,r,i),sg(e,r,i))}function og(e){Si.key=0,Si.keyEnd=0,Si.value=0,Si.valueEnd=0,Si.textEnd=e.length}function vs(e,t,i){for(;t<i&&e.charCodeAt(t)<=32;)t++;return t}function sg(e,t,i,r){return(t=vs(e,t,i))<i&&t++,t}function ag(e,t,i,r){let l=-1,h=i;for(;h<r;){const C=e.charCodeAt(h++);if(C==t&&92!==l)return h;l=92==C&&92===l?0:C}throw new Error}function Qd(e,t,i){return kr(e,t,i,!1),Qd}function Xd(e,t){return kr(e,t,null,!0),Xd}function Fr(e){Nr(ug,nE,e,!1)}function nE(e,t){for(let i=function Jw(e){return og(e),rg(e,vs(e,0,Si.textEnd))}(t);i>=0;i=rg(t,i))ug(e,ng(t),Qw(t))}function cg(e){Nr(cE,Qr,e,!0)}function Qr(e,t){for(let i=function Xw(e){return og(e),ig(e,vs(e,0,Si.textEnd))}(t);i>=0;i=ig(t,i))vr(e,ng(t),!0)}function kr(e,t,i,r){const l=$t(),h=Ln(),C=no(2);h.firstUpdatePass&&dg(h,e,C,r),t!==xn&&Hi(l,C,t)&&fg(h,h.data[Yi()],l,l[sn],e,l[C+1]=function dE(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=_(io(e)))),e}(t,i),r,C)}function Nr(e,t,i,r){const l=Ln(),h=no(2);l.firstUpdatePass&&dg(l,null,h,r);const C=$t();if(i!==xn&&Hi(C,h,i)){const D=l.data[Yi()];if(mg(D,r)&&!lg(l,h)){let S=r?D.classesWithoutHost:D.stylesWithoutHost;null!==S&&(i=w(S,i||"")),Pd(l,D,C,i,r)}else!function lE(e,t,i,r,l,h,C,D){l===xn&&(l=_t);let S=0,L=0,re=0<l.length?l[0]:null,je=0<h.length?h[0]:null;for(;null!==re||null!==je;){const mt=S<l.length?l[S+1]:void 0,yt=L<h.length?h[L+1]:void 0;let Wt,Ft=null;re===je?(S+=2,L+=2,mt!==yt&&(Ft=je,Wt=yt)):null===je||null!==re&&re<je?(S+=2,Ft=re):(L+=2,Ft=je,Wt=yt),null!==Ft&&fg(e,t,i,r,Ft,Wt,C,D),re=S<l.length?l[S]:null,je=L<h.length?h[L]:null}}(l,D,C,C[sn],C[h+1],C[h+1]=function aE(e,t,i){if(null==i||""===i)return _t;const r=[],l=io(i);if(Array.isArray(l))for(let h=0;h<l.length;h++)e(r,l[h],!0);else if("object"==typeof l)for(const h in l)l.hasOwnProperty(h)&&e(r,h,l[h]);else"string"==typeof l&&t(r,l);return r}(e,t,i),r,h)}}function lg(e,t){return t>=e.expandoStartIndex}function dg(e,t,i,r){const l=e.data;if(null===l[i+1]){const h=l[Yi()],C=lg(e,i);mg(h,r)&&null===t&&!C&&(t=!1),t=function iE(e,t,i,r){const l=Gc(e);let h=r?t.residualClasses:t.residualStyles;if(null===l)0===(r?t.classBindings:t.styleBindings)&&(i=oa(i=Jd(null,e,t,i,r),t.attrs,r),h=null);else{const C=t.directiveStylingLast;if(-1===C||e[C]!==l)if(i=Jd(l,e,t,i,r),null===h){let S=function rE(e,t,i){const r=i?t.classBindings:t.styleBindings;if(0!==Io(r))return e[vo(r)]}(e,t,r);void 0!==S&&Array.isArray(S)&&(S=Jd(null,e,t,S[1],r),S=oa(S,t.attrs,r),function oE(e,t,i,r){e[vo(i?t.classBindings:t.styleBindings)]=r}(e,t,r,S))}else h=function sE(e,t,i){let r;const l=t.directiveEnd;for(let h=1+t.directiveStylingLast;h<l;h++)r=oa(r,e[h].hostAttrs,i);return oa(r,t.attrs,i)}(e,t,r)}return void 0!==h&&(r?t.residualClasses=h:t.residualStyles=h),i}(l,h,t,r),function Kw(e,t,i,r,l,h){let C=h?t.classBindings:t.styleBindings,D=vo(C),S=Io(C);e[r]=i;let re,L=!1;if(Array.isArray(i)?(re=i[1],(null===re||Go(i,re)>0)&&(L=!0)):re=i,l)if(0!==S){const mt=vo(e[D+1]);e[r+1]=Cc(mt,D),0!==mt&&(e[mt+1]=Yd(e[mt+1],r)),e[D+1]=function Ww(e,t){return 131071&e|t<<17}(e[D+1],r)}else e[r+1]=Cc(D,0),0!==D&&(e[D+1]=Yd(e[D+1],r)),D=r;else e[r+1]=Cc(S,0),0===D?D=r:e[S+1]=Yd(e[S+1],r),S=r;L&&(e[r+1]=Kd(e[r+1])),tg(e,re,r,!0),tg(e,re,r,!1),function Yw(e,t,i,r,l){const h=l?e.residualClasses:e.residualStyles;null!=h&&"string"==typeof t&&Go(h,t)>=0&&(i[r+1]=Zd(i[r+1]))}(t,re,e,r,h),C=Cc(D,S),h?t.classBindings=C:t.styleBindings=C}(l,h,t,i,C,r)}}function Jd(e,t,i,r,l){let h=null;const C=i.directiveEnd;let D=i.directiveStylingLast;for(-1===D?D=i.directiveStart:D++;D<C&&(h=t[D],r=oa(r,h.hostAttrs,l),h!==e);)D++;return null!==e&&(i.directiveStylingLast=D),r}function oa(e,t,i){const r=i?1:2;let l=-1;if(null!==t)for(let h=0;h<t.length;h++){const C=t[h];"number"==typeof C?l=C:l===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),vr(e,C,!!i||t[++h]))}return void 0===e?null:e}function ug(e,t,i){vr(e,t,io(i))}function cE(e,t,i){const r=String(t);""!==r&&!r.includes(" ")&&vr(e,r,i)}function fg(e,t,i,r,l,h,C,D){if(!(3&t.type))return;const S=e.data,L=S[D+1],re=function Gw(e){return 1==(1&e)}(L)?hg(S,t,i,l,Io(L),C):void 0;wc(re)||(wc(h)||function zw(e){return 2==(2&e)}(L)&&(h=hg(S,null,i,l,D,C)),function o0(e,t,i,r,l){if(t)l?e.addClass(i,r):e.removeClass(i,r);else{let h=-1===r.indexOf("-")?void 0:Na.DashCase;null==l?e.removeStyle(i,r,h):("string"==typeof l&&l.endsWith("!important")&&(l=l.slice(0,-10),h|=Na.Important),e.setStyle(i,r,l,h))}}(r,C,_a(Yi(),i),l,h))}function hg(e,t,i,r,l,h){const C=null===t;let D;for(;l>0;){const S=e[l],L=Array.isArray(S),re=L?S[1]:S,je=null===re;let mt=i[l+1];mt===xn&&(mt=je?_t:void 0);let yt=je?ol(mt,r):re===r?mt:void 0;if(L&&!wc(yt)&&(yt=ol(S,r)),wc(yt)&&(D=yt,C))return D;const Ft=e[l+1];l=C?vo(Ft):Io(Ft)}if(null!==t){let S=h?t.residualClasses:t.residualStyles;null!=S&&(D=ol(S,r))}return D}function wc(e){return void 0!==e}function mg(e,t){return 0!=(e.flags&(t?8:16))}function pg(e,t=""){const i=$t(),r=Ln(),l=e+Dn,h=r.firstCreatePass?ss(r,l,1,t,null):r.data[l],C=gg(r,i,h,t,e);i[l]=C,va()&&$a(r,i,C,h),zr(h,!1)}let gg=(e,t,i,r,l)=>(po(!0),La(t[sn],r));function uE(e,t,i,r,l){const h=t[ai],C=!h||jo()||ec(h,l);return po(C),C?La(t[sn],r):mc(h,e,t,i)}function qd(e){return Ec("",e,""),qd}function Ec(e,t,i){const r=$t(),l=ds(r,e,t,i);return l!==xn&&so(r,Yi(),l),Ec}function eu(e,t,i,r,l){const h=$t(),C=us(h,e,t,i,r,l);return C!==xn&&so(h,Yi(),C),eu}function tu(e,t,i,r,l,h,C){const D=$t(),S=fs(D,e,t,i,r,l,h,C);return S!==xn&&so(D,Yi(),S),tu}function nu(e,t,i,r,l,h,C,D,S){const L=$t(),re=hs(L,e,t,i,r,l,h,C,D,S);return re!==xn&&so(L,Yi(),re),nu}function iu(e,t,i,r,l,h,C,D,S,L,re){const je=$t(),mt=ms(je,e,t,i,r,l,h,C,D,S,L,re);return mt!==xn&&so(je,Yi(),mt),iu}function ru(e,t,i,r,l,h,C,D,S,L,re,je,mt){const yt=$t(),Ft=ps(yt,e,t,i,r,l,h,C,D,S,L,re,je,mt);return Ft!==xn&&so(yt,Yi(),Ft),ru}function ou(e,t,i,r,l,h,C,D,S,L,re,je,mt,yt,Ft){const Wt=$t(),Xt=gs(Wt,e,t,i,r,l,h,C,D,S,L,re,je,mt,yt,Ft);return Xt!==xn&&so(Wt,Yi(),Xt),ou}function su(e,t,i,r,l,h,C,D,S,L,re,je,mt,yt,Ft,Wt,Xt){const an=$t(),Bt=_s(an,e,t,i,r,l,h,C,D,S,L,re,je,mt,yt,Ft,Wt,Xt);return Bt!==xn&&so(an,Yi(),Bt),su}function au(e){const t=$t(),i=ls(t,e);return i!==xn&&so(t,Yi(),i),au}function _g(e,t,i){Nr(vr,Qr,ds($t(),e,t,i),!0)}function vg(e,t,i,r,l){Nr(vr,Qr,us($t(),e,t,i,r,l),!0)}function bg(e,t,i,r,l,h,C){Nr(vr,Qr,fs($t(),e,t,i,r,l,h,C),!0)}function yg(e,t,i,r,l,h,C,D,S){Nr(vr,Qr,hs($t(),e,t,i,r,l,h,C,D,S),!0)}function Cg(e,t,i,r,l,h,C,D,S,L,re){Nr(vr,Qr,ms($t(),e,t,i,r,l,h,C,D,S,L,re),!0)}function wg(e,t,i,r,l,h,C,D,S,L,re,je,mt){Nr(vr,Qr,ps($t(),e,t,i,r,l,h,C,D,S,L,re,je,mt),!0)}function Eg(e,t,i,r,l,h,C,D,S,L,re,je,mt,yt,Ft){Nr(vr,Qr,gs($t(),e,t,i,r,l,h,C,D,S,L,re,je,mt,yt,Ft),!0)}function Dg(e,t,i,r,l,h,C,D,S,L,re,je,mt,yt,Ft,Wt,Xt){Nr(vr,Qr,_s($t(),e,t,i,r,l,h,C,D,S,L,re,je,mt,yt,Ft,Wt,Xt),!0)}function Tg(e){Nr(vr,Qr,ls($t(),e),!0)}function xg(e,t,i){Fr(ds($t(),e,t,i))}function Sg(e,t,i,r,l){Fr(us($t(),e,t,i,r,l))}function Mg(e,t,i,r,l,h,C){Fr(fs($t(),e,t,i,r,l,h,C))}function Ig(e,t,i,r,l,h,C,D,S){Fr(hs($t(),e,t,i,r,l,h,C,D,S))}function Ag(e,t,i,r,l,h,C,D,S,L,re){Fr(ms($t(),e,t,i,r,l,h,C,D,S,L,re))}function Og(e,t,i,r,l,h,C,D,S,L,re,je,mt){Fr(ps($t(),e,t,i,r,l,h,C,D,S,L,re,je,mt))}function Pg(e,t,i,r,l,h,C,D,S,L,re,je,mt,yt,Ft){Fr(gs($t(),e,t,i,r,l,h,C,D,S,L,re,je,mt,yt,Ft))}function Rg(e,t,i,r,l,h,C,D,S,L,re,je,mt,yt,Ft,Wt,Xt){Fr(_s($t(),e,t,i,r,l,h,C,D,S,L,re,je,mt,yt,Ft,Wt,Xt))}function Fg(e){Fr(ls($t(),e))}function cu(e,t,i,r,l){return kr(e,ds($t(),t,i,r),l,!1),cu}function lu(e,t,i,r,l,h,C){return kr(e,us($t(),t,i,r,l,h),C,!1),lu}function du(e,t,i,r,l,h,C,D,S){return kr(e,fs($t(),t,i,r,l,h,C,D),S,!1),du}function uu(e,t,i,r,l,h,C,D,S,L,re){return kr(e,hs($t(),t,i,r,l,h,C,D,S,L),re,!1),uu}function fu(e,t,i,r,l,h,C,D,S,L,re,je,mt){return kr(e,ms($t(),t,i,r,l,h,C,D,S,L,re,je),mt,!1),fu}function hu(e,t,i,r,l,h,C,D,S,L,re,je,mt,yt,Ft){return kr(e,ps($t(),t,i,r,l,h,C,D,S,L,re,je,mt,yt),Ft,!1),hu}function mu(e,t,i,r,l,h,C,D,S,L,re,je,mt,yt,Ft,Wt,Xt){return kr(e,gs($t(),t,i,r,l,h,C,D,S,L,re,je,mt,yt,Ft,Wt),Xt,!1),mu}function pu(e,t,i,r,l,h,C,D,S,L,re,je,mt,yt,Ft,Wt,Xt,an,Bt){return kr(e,_s($t(),t,i,r,l,h,C,D,S,L,re,je,mt,yt,Ft,Wt,Xt,an),Bt,!1),pu}function gu(e,t,i){return kr(e,ls($t(),t),i,!1),gu}function _u(e,t,i){const r=$t();return Hi(r,Bo(),t)&&br(Ln(),pi(),r,e,t,r[sn],i,!0),_u}function vu(e,t,i){const r=$t();if(Hi(r,Bo(),t)){const h=Ln(),C=pi();br(h,C,r,e,t,pp(Gc(h.data),C,r),i,!0)}return vu}const Ao=void 0;var mE=["en",[["a","p"],["AM","PM"],Ao],[["AM","PM"],Ao,Ao],[["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"]],Ao,[["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"]],Ao,[["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}",Ao,"{1} 'at' {0}",Ao],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function hE(e){const i=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===r?1:5}];let bs={};function pE(e,t,i){"string"!=typeof t&&(i=t,t=e[ys.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),bs[t]=e,i&&(bs[t][ys.ExtraData]=i)}function bu(e){const t=function vE(e){return e.toLowerCase().replace(/_/g,"-")}(e);let i=Ng(t);if(i)return i;const r=t.split("-")[0];if(i=Ng(r),i)return i;if("en"===r)return mE;throw new K(701,!1)}function gE(e){return bu(e)[ys.CurrencyCode]||null}function kg(e){return bu(e)[ys.PluralCase]}function Ng(e){return e in bs||(bs[e]=pt.ng&&pt.ng.common&&pt.ng.common.locales&&pt.ng.common.locales[e]),bs[e]}function _E(){bs={}}var ys=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(ys||{});const bE=["zero","one","two","few","many"],Oo="en-US",Dc={marker:"element"},Tc={marker:"ICU"};var cr=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(cr||{});let Lg=Oo;function yu(e){(function Ee(e,t){null==e&&pe(t,e,null,"!=")})(e,"Expected localeId to be defined"),"string"==typeof e&&(Lg=e.toLowerCase().replace(/_/g,"-"))}function jg(e,t,i){const r=t.insertBeforeIndex,l=Array.isArray(r)?r[0]:r;return null===l?Nh(e,0,i):ni(i[l])}function Bg(e,t,i,r,l){const h=t.insertBeforeIndex;if(Array.isArray(h)){let C=r,D=null;if(3&t.type||(D=C,C=l),null!==C&&-1===t.componentOffset)for(let S=1;S<h.length;S++)Do(e,C,i[h[S]],D,!1)}}function Vg(e,t){if(e.push(t),e.length>1)for(let i=e.length-2;i>=0;i--){const r=e[i];$g(r)||EE(r,t)&&null===DE(r)&&TE(r,t.index)}}function $g(e){return!(64&e.type)}function EE(e,t){return $g(t)||e.index>t.index}function DE(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function TE(e,t){const i=e.insertBeforeIndex;Array.isArray(i)?i[0]=t:(jh(jg,Bg),e.insertBeforeIndex=t)}function sa(e,t){const i=e.data[t];return null===i||"string"==typeof i?null:i.hasOwnProperty("currentCaseLViewIndex")?i:i.value}function ME(e,t,i){const r=id(e,i,64,null,null);return Vg(t,r),r}function xc(e,t){const i=t[e.currentCaseLViewIndex];return null===i?i:i<0?~i:i}function Hg(e){return e>>>17}function Ug(e){return(131070&e)>>>1}let aa=0,ca=0;function Wg(e,t,i,r){const l=i[sn];let C,h=null;for(let D=0;D<t.length;D++){const S=t[D];if("string"==typeof S){const L=t[++D];null===i[L]&&(i[L]=La(l,S))}else if("number"==typeof S)switch(1&S){case 0:const L=Hg(S);let re,je;if(null===h&&(h=L,C=Va(l,r)),L===h?(re=r,je=C):(re=null,je=ni(i[L])),null!==je){const Wt=Ug(S);Do(l,je,i[Wt],re,!1);const an=sa(e,Wt);if(null!==an&&"object"==typeof an){const Bt=xc(an,i);null!==Bt&&Wg(e,an.create[Bt],i,i[an.anchorIdx])}}break;case 1:const yt=t[++D],Ft=t[++D];dd(l,_a(S>>>1,i),null,null,yt,Ft,null)}else switch(S){case Tc:const L=t[++D],re=t[++D];null===i[re]&&$i(i[re]=gl(l,L),i);break;case Dc:const je=t[++D],mt=t[++D];null===i[mt]&&$i(i[mt]=ja(l,je,null),i)}}}function Gg(e,t,i,r,l){for(let h=0;h<i.length;h++){const C=i[h],D=i[++h];if(C&l){let S="";for(let L=h+1;L<=h+D;L++){const re=i[L];if("string"==typeof re)S+=re;else if("number"==typeof re)if(re<0)S+=X(t[r-re]);else{const je=re>>>2;switch(3&re){case 1:const mt=i[++L],yt=i[++L],Ft=e.data[je];"string"==typeof Ft?dd(t[sn],t[je],null,Ft,mt,S,yt):br(e,Ft,t,mt,S,t[sn],yt,!1);break;case 0:const Wt=t[je];null!==Wt&&Ah(t[sn],Wt,S);break;case 2:RE(e,sa(e,je),t,S);break;case 3:Kg(e,sa(e,je),r,t)}}}}else{const S=i[h+1];if(S>0&&3==(3&S)){const re=sa(e,S>>>2);t[re.currentCaseLViewIndex]<0&&Kg(e,re,r,t)}}h+=D}}function Kg(e,t,i,r){let l=r[t.currentCaseLViewIndex];if(null!==l){let h=aa;l<0&&(l=r[t.currentCaseLViewIndex]=~l,h=-1),Gg(e,r,t.update[l],i,h)}}function RE(e,t,i,r){const l=function FE(e,t){let i=e.cases.indexOf(t);if(-1===i)switch(e.type){case 1:{const r=function yE(e,t){const i=kg(t)(parseInt(e,10)),r=bE[i];return void 0!==r?r:"other"}(t,function wE(){return Lg}());i=e.cases.indexOf(r),-1===i&&"other"!==r&&(i=e.cases.indexOf("other"));break}case 0:i=e.cases.indexOf("other")}return-1===i?null:i}(t,r);if(xc(t,i)!==l&&(Yg(e,t,i),i[t.currentCaseLViewIndex]=null===l?null:~l,null!==l)){const C=i[t.anchorIdx];C&&Wg(e,t.create[l],i,C)}}function Yg(e,t,i){let r=xc(t,i);if(null!==r){const l=t.remove[r];for(let h=0;h<l.length;h++){const C=l[h];if(C>0){const D=_a(C,i);null!==D&&Ha(i[sn],D)}else Yg(e,sa(e,~C),i)}}}function kE(){const e=[];let i,r,t=-1;function h(D,S){t=0;const L=xc(D,S);r=null!==L?D.remove[L]:_t}function C(){if(t<r.length){const D=r[t++];return D>0?i[D]:(e.push(t,r),h(i[Zt].data[~D],i),C())}return 0===e.length?null:(r=e.pop(),t=e.pop(),C())}return function l(D,S){for(i=S;e.length;)e.pop();return h(D.value,S),C}}const Sc=/\ufffd(\d+):?\d*\ufffd/gi,NE=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,LE=/\ufffd(\d+)\ufffd/,Qg=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,la="\ufffd",jE=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,BE=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,VE=/\uE500/g;function Xg(e,t,i,r,l,h,C){const D=qs(e,r,1,null);let S=D<<cr.SHIFT,L=Ms();t===L&&(L=null),null===L&&(S|=cr.APPEND_EAGERLY),C&&(S|=cr.COMMENT,function Uy(e){void 0===ml&&(ml=e())}(kE)),l.push(S,null===h?"":h);const re=id(e,D,C?32:1,null===h?"":h,null);Vg(i,re);const je=re.index;return zr(re,!1),null!==L&&t!==L&&function SE(e,t){let i=e.insertBeforeIndex;null===i?(jh(jg,Bg),i=e.insertBeforeIndex=[null,t]):(function W(e,t,i){e!=t&&pe(i,e,t,"==")}(Array.isArray(i),!0,"Expecting array here"),i.push(t))}(L,je),re}function UE(e,t,i,r,l,h,C){const D=C.match(Sc),S=Xg(e,t,i,h,r,D?null:C,!1);D&&da(l,C,S.index,null,0,null)}function da(e,t,i,r,l,h){const C=e.length,D=C+1;e.push(null,null);const S=C+2,L=t.split(Sc);let re=0;for(let je=0;je<L.length;je++){const mt=L[je];if(1&je){const yt=l+parseInt(mt,10);e.push(-1-yt),re|=Jg(yt)}else""!==mt&&e.push(mt)}return e.push(i<<2|(r?1:0)),r&&e.push(r,h),e[C]=re,e[D]=e.length-S,re}function WE(e){let t=0;for(let i=0;i<e.length;i++){const r=e[i];"number"==typeof r&&r<0&&t++}return t}function Jg(e){return 1<<Math.min(e,31)}function qg(e){let t,h,i="",r=0,l=!1;for(;null!==(t=jE.exec(e));)l?t[0]===`${la}/*${h}${la}`&&(r=t.index,l=!1):(i+=e.substring(r,t.index+t[0].length),h=t[1],l=!0);return i+=e.slice(r),i}function e_(e,t,i,r,l,h){let C=0;const D={type:l.type,currentCaseLViewIndex:qs(e,t,1,null),anchorIdx:h,cases:[],create:[],remove:[],update:[]};(function XE(e,t,i){e.push(Jg(t.mainBinding),2,-1-t.mainBinding,i<<2|2)})(i,l,h),function xE(e,t,i){const r=e.data[t];null===r?e.data[t]=i:r.value=i}(e,h,D);const S=l.values;for(let L=0;L<S.length;L++){const re=S[L],je=[];for(let mt=0;mt<re.length;mt++){const yt=re[mt];if("string"!=typeof yt){const Ft=je.push(yt)-1;re[mt]=`\x3c!--\ufffd${Ft}\ufffd--\x3e`}}C=ZE(e,D,t,i,r,l.cases[L],re.join(""),je)|C}C&&function JE(e,t,i){e.push(t,1,i<<2|3)}(i,C,h)}function YE(e){const t=[],i=[];let r=1,l=0;const h=Cu(e=e.replace(Qg,function(C,D,S){return r="select"===S?0:1,l=parseInt(D.slice(1),10),""}));for(let C=0;C<h.length;){let D=h[C++].trim();1===r&&(D=D.replace(/\s*(?:=)?(\w+)\s*/,"$1")),D.length&&t.push(D);const S=Cu(h[C++]);t.length>i.length&&i.push(S)}return{type:r,mainBinding:l,cases:t,values:i}}function Cu(e){if(!e)return[];let t=0;const i=[],r=[],l=/[{}]/g;let h;for(l.lastIndex=0;h=l.exec(e);){const D=h.index;if("}"==h[0]){if(i.pop(),0==i.length){const S=e.substring(t,D);Qg.test(S)?r.push(YE(S)):r.push(S),t=D+1}}else{if(0==i.length){const S=e.substring(t,D);r.push(S),t=D+1}i.push("{")}}const C=e.substring(t);return r.push(C),r}function ZE(e,t,i,r,l,h,C,D){const S=[],L=[],re=[];t.cases.push(h),t.create.push(S),t.remove.push(L),t.update.push(re);const mt=Zh(Xo()).getInertBodyElement(C),yt=Ml(mt)||mt;return yt?t_(e,t,i,r,S,L,re,yt,l,D,0):0}function t_(e,t,i,r,l,h,C,D,S,L,re){let je=0,mt=D.firstChild;for(;mt;){const yt=qs(e,i,1,null);switch(mt.nodeType){case Node.ELEMENT_NODE:const Ft=mt,Wt=Ft.tagName.toLowerCase();if(xl.hasOwnProperty(Wt)){wu(l,Dc,Wt,S,yt),e.data[yt]=Wt;const wn=Ft.attributes;for(let An=0;An<wn.length;An++){const Zn=wn.item(An),lr=Zn.name.toLowerCase();Zn.value.match(Sc)?qh.hasOwnProperty(lr)&&da(C,Zn.value,yt,Zn.name,0,Sl[lr]?Wa:null):qE(l,yt,Zn)}je=t_(e,t,i,r,l,h,C,mt,yt,L,re+1)|je,n_(h,yt,re)}break;case Node.TEXT_NODE:const Xt=mt.textContent||"",an=Xt.match(Sc);wu(l,null,an?"":Xt,S,yt),n_(h,yt,re),an&&(je=da(C,Xt,yt,null,0,null)|je);break;case Node.COMMENT_NODE:const Bt=LE.exec(mt.textContent||"");if(Bt){const An=L[parseInt(Bt[1],10)];wu(l,Tc,"",S,yt),e_(e,i,r,S,An,yt),QE(h,yt,re)}}mt=mt.nextSibling}return je}function n_(e,t,i){0===i&&e.push(t)}function QE(e,t,i){0===i&&(e.push(~t),e.push(t))}function wu(e,t,i,r,l){null!==t&&e.push(t),e.push(i,l,function IE(e,t,i){return e|t<<17|i<<1}(0,r,l))}function qE(e,t,i){e.push(t<<1|1,i.name,i.value)}const i_=0,eD=/\[(\ufffd.+?\ufffd?)\]/,tD=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,nD=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,iD=/{([A-Z0-9_]+)}/g,rD=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,oD=/\/\*/,sD=/\d+\:(\d+)/;function Eu(e,t,i=-1){const r=Ln(),l=$t(),h=Dn+e,C=mo(r.consts,t),D=Ms();r.firstCreatePass&&function HE(e,t,i,r,l,h){const C=Ms(),D=[],S=[],L=[[]];l=function KE(e,t){if(function GE(e){return-1===e}(t))return qg(e);{const i=e.indexOf(`:${t}${la}`)+2+t.toString().length,r=e.search(new RegExp(`${la}\\/\\*\\d+:${t}${la}`));return qg(e.substring(i,r))}}(l,h);const re=function $E(e){return e.replace(VE," ")}(l).split(BE);for(let je=0;je<re.length;je++){let mt=re[je];if(1&je){const yt=47===mt.charCodeAt(0),Wt=(mt.charCodeAt(yt?1:0),Dn+Number.parseInt(mt.substring(yt?2:1)));if(yt)L.shift(),zr(Ms(),!1);else{const Xt=ME(e,L[0],Wt);L.unshift([]),zr(Xt,!0)}}else{const yt=Cu(mt);for(let Ft=0;Ft<yt.length;Ft++){let Wt=yt[Ft];if(1&Ft){const Xt=Wt;if("object"!=typeof Xt)throw new Error(`Unable to parse ICU expression in "${l}" message.`);e_(e,i,S,t,Xt,Xg(e,C,L[0],i,D,"",!0).index)}else""!==Wt&&UE(e,C,L[0],D,S,i,Wt)}}}e.data[r]={create:D,update:S}}(r,null===D?0:D.index,l,h,C,i),2===r.type?l[Rn][hn]|=32:l[hn]|=32;const S=r.data[h],re=Ph(r,D===l[si]?null:D,l);(function PE(e,t,i,r){const l=e[sn];for(let h=0;h<t.length;h++){const C=t[h++],D=t[h],L=(C&cr.APPEND_EAGERLY)===cr.APPEND_EAGERLY,re=C>>>cr.SHIFT;let je=e[re];null===je&&(je=e[re]=(C&cr.COMMENT)===cr.COMMENT?l.createComment(D):La(l,D)),L&&null!==i&&Do(l,i,je,r,!1)}})(l,S.create,re,D&&8&D.type?l[D.index]:null),Df(!0)}function Du(){Df(!1)}function r_(e,t,i){Eu(e,t,i),Du()}function o_(e,t){const i=Ln(),r=mo(i.consts,t);!function zE(e,t,i){const l=Ni().index,h=[];if(e.firstCreatePass&&null===e.data[t]){for(let C=0;C<i.length;C+=2){const D=i[C],S=i[C+1];if(""!==S){if(NE.test(S))throw new Error(`ICU expressions are not supported in attributes. Message: "${S}".`);da(h,S,l,D,WE(h),null)}}e.data[t]=h}}(i,e+Dn,r)}function Tu(e){return function AE(e){e&&(aa|=1<<Math.min(ca,31)),ca++}(Hi($t(),Bo(),e)),Tu}function s_(e){!function OE(e,t,i){if(ca>0){const r=e.data[i];Gg(e,t,Array.isArray(r)?r:r.update,to()-ca-1,aa)}aa=0,ca=0}(Ln(),$t(),e+Dn)}function a_(e,t={}){return function aD(e,t={}){let i=e;if(eD.test(e)){const r={},l=[i_];i=i.replace(tD,(h,C,D)=>{const S=C||D,L=r[S]||[];if(L.length||(S.split("|").forEach(Wt=>{const Xt=Wt.match(sD),an=Xt?parseInt(Xt[1],10):i_,Bt=oD.test(Wt);L.push([an,Bt,Wt])}),r[S]=L),!L.length)throw new Error(`i18n postprocess: unmatched placeholder - ${S}`);const re=l[l.length-1];let je=0;for(let Wt=0;Wt<L.length;Wt++)if(L[Wt][0]===re){je=Wt;break}const[mt,yt,Ft]=L[je];return yt?l.pop():re!==mt&&l.push(mt),L.splice(je,1),Ft})}return Object.keys(t).length&&(i=i.replace(nD,(r,l,h,C,D,S)=>t.hasOwnProperty(h)?`${l}${t[h]}${S}`:r),i=i.replace(iD,(r,l)=>t.hasOwnProperty(l)?t[l]:r),i=i.replace(rD,(r,l)=>{if(t.hasOwnProperty(l)){const h=t[l];if(!h.length)throw new Error(`i18n postprocess: unmatched ICU - ${r} with key: ${l}`);return h.shift()}return r})),i}(e,t)}function c_(e,t){}function xu(e,t,i,r,l){if(e=M(e),Array.isArray(e))for(let h=0;h<e.length;h++)xu(e[h],t,i,r,l);else{const h=Ln(),C=$t(),D=Ni();let S=So(e)?e:M(e.provide);const L=mm(e),re=1048575&D.providerIndexes,je=D.directiveStart,mt=D.providerIndexes>>20;if(So(e)||!e.multi){const yt=new Is(L,l,os),Ft=Mu(S,t,l?re:re+mt,je);-1===Ft?(tl(Ea(D,C),h,S),Su(h,e,t.length),t.push(S),D.directiveStart++,D.directiveEnd++,l&&(D.providerIndexes+=1048576),i.push(yt),C.push(yt)):(i[Ft]=yt,C[Ft]=yt)}else{const yt=Mu(S,t,re+mt,je),Ft=Mu(S,t,re,re+mt),Xt=Ft>=0&&i[Ft];if(l&&!Xt||!l&&!(yt>=0&&i[yt])){tl(Ea(D,C),h,S);const an=function uD(e,t,i,r,l){const h=new Is(e,i,os);return h.multi=[],h.index=t,h.componentProviders=0,l_(h,l,r&&!i),h}(l?dD:lD,i.length,l,r,L);!l&&Xt&&(i[Ft].providerFactory=an),Su(h,e,t.length,0),t.push(S),D.directiveStart++,D.directiveEnd++,l&&(D.providerIndexes+=1048576),i.push(an),C.push(an)}else Su(h,e,yt>-1?yt:Ft,l_(i[l?Ft:yt],L,!l&&r));!l&&r&&Xt&&i[Ft].componentProviders++}}}function Su(e,t,i,r){const l=So(t),h=function O0(e){return!!e.useClass}(t);if(l||h){const S=(h?M(t.useClass):t).prototype.ngOnDestroy;if(S){const L=e.destroyHooks||(e.destroyHooks=[]);if(!l&&t.multi){const re=L.indexOf(i);-1===re?L.push(i,[r,S]):L[re+1].push(r,S)}else L.push(i,S)}}}function l_(e,t,i){return i&&e.componentProviders++,e.multi.push(t)-1}function Mu(e,t,i,r){for(let l=i;l<r;l++)if(t[l]===e)return l;return-1}function lD(e,t,i,r){return Iu(this.multi,[])}function dD(e,t,i,r){const l=this.multi;let h;if(this.providerFactory){const C=this.providerFactory.componentProviders,D=wo(i,i[Zt],this.providerFactory.index,r);h=D.slice(0,C),Iu(l,h);for(let S=C;S<D.length;S++)h.push(D[S])}else h=[],Iu(l,h);return h}function Iu(e,t){for(let i=0;i<e.length;i++)t.push((0,e[i])());return t}function d_(e,t=[]){return i=>{i.providersResolver=(r,l)=>function cD(e,t,i){const r=Ln();if(r.firstCreatePass){const l=Di(e);xu(i,r.data,r.blueprint,l,!0),xu(t,r.data,r.blueprint,l,!1)}}(r,l?l(e):e,t)}}class Po{}class u_{}function f_(e,t){return new Mc(e,t??null,[])}const fD=f_;class Mc extends Po{constructor(t,i,r){super(),this._parent=i,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Tp(this);const l=ii(t);this._bootstrapComponents=oo(l.bootstrap),this._r3Injector=Om(t,i,[{provide:Po,useValue:this},{provide:Ys,useValue:this.componentFactoryResolver},...r],_(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 Ic extends u_{constructor(t){super(),this.moduleType=t}create(t){return new Mc(this.moduleType,t,[])}}class h_ extends Po{constructor(t){super(),this.componentFactoryResolver=new Tp(this),this.instance=null;const i=new Qa([...t.providers,{provide:Po,useValue:this},{provide:Ys,useValue:this.componentFactoryResolver}],t.parent||Za(),t.debugName,new Set(["environment"]));this.injector=i,t.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function m_(e,t,i=null){return new h_({providers:e,parent:t,debugName:i,runEnvironmentInitializers:!0}).injector}let mD=(()=>{var e;class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){const l=dm(0,r.type),h=l.length>0?m_([l],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,h)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(const r of this.cachedInjectors.values())null!==r&&r.destroy()}finally{this.cachedInjectors.clear()}}}return(e=t).\u0275prov=at({token:e,providedIn:"environment",factory:()=>new e(We(Gr))}),t})();function p_(e){e.getStandaloneInjector=t=>t.get(mD).getOrCreateStandaloneInjector(e)}function Au(e){const t=Qi(e);if(null===t)return null;if(void 0===t.component){const i=t.lView;if(null===i)return null;t.component=function $y(e,t){const i=t[Zt].data[e],{directiveStart:r,componentOffset:l}=i;return l>-1?t[r+l]:null}(t.nodeIndex,i)}return t.component}function g_(e){!function yD(e){if(typeof Element<"u"&&!(e instanceof Element))throw new Error("Expecting instance of DOM Element")}(e);const t=Qi(e),i=t?t.lView:null;return null===i?null:i[Un]}function __(e){const t=Qi(e);let r,i=t?t.lView:null;if(null===i)return null;for(;2===i[Zt].type&&(r=Bs(i));)i=r;return 512&i[hn]?null:i[Un]}function v_(e){const t=wh(e);return null!==t?[Wy(t)]:[]}function b_(e){const t=Qi(e),i=t?t.lView:null;return null===i?Rr.NULL:new Zi(i[Zt].data[t.nodeIndex],i)}function y_(e){if(e instanceof Text)return[];const t=Qi(e),i=t?t.lView:null;if(null===i)return[];const r=i[Zt],l=t.nodeIndex;return r?.data[l]?(void 0===t.directives&&(t.directives=xh(l,i)),null===t.directives?[]:[...t.directives]):[]}function gD(e){const{constructor:t}=e;if(!t)throw new Error("Unable to find the instance constructor");const i=Sn(t);if(i)return{inputs:i.inputs,outputs:i.outputs,encapsulation:i.encapsulation,changeDetection:i.onPush?gn.OnPush:gn.Default};const r=Jn(t);return r?{inputs:r.inputs,outputs:r.outputs}:null}function Ou(e){return Qi(e).native}function C_(e){const t=Qi(e),i=null===t?null:t.lView;if(null===i)return[];const l=i[Ui],h=i[Zt].cleanup,C=[];if(h&&l)for(let D=0;D<h.length;){const S=h[D++],L=h[D++];if("string"==typeof S){const re=S,je=ni(i[L]),mt=l[h[D++]],yt=h[D++];e==je&&C.push({element:e,name:re,callback:mt,useCapture:"boolean"==typeof yt&&yt,type:"boolean"==typeof yt||yt>=0?"dom":"output"})}}return C.sort(vD),C}function vD(e,t){return e.name==t.name?0:e.name<t.name?-1:1}function bD(e){return void 0!==e.type&&void 0!==e.declaredInputs&&void 0!==e.findHostDirectiveDefs}function w_(e,t,i,r){return un(()=>{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!==r&&(l.propDecorators=l.hasOwnProperty("propDecorators")&&void 0!==l.propDecorators?{...l.propDecorators,...r}:r)})}function E_(e,t,i){const r=Ki()+e,l=$t();return l[r]===xn?Zr(l,r,i?t.call(i):t()):ta(l,r)}function D_(e,t,i,r){return R_($t(),Ki(),e,t,i,r)}function T_(e,t,i,r,l){return F_($t(),Ki(),e,t,i,r,l)}function x_(e,t,i,r,l,h){return k_($t(),Ki(),e,t,i,r,l,h)}function S_(e,t,i,r,l,h,C){return N_($t(),Ki(),e,t,i,r,l,h,C)}function M_(e,t,i,r,l,h,C,D){const S=Ki()+e,L=$t(),re=Mr(L,S,i,r,l,h);return Hi(L,S+4,C)||re?Zr(L,S+5,D?t.call(D,i,r,l,h,C):t(i,r,l,h,C)):ta(L,S+5)}function I_(e,t,i,r,l,h,C,D,S){const L=Ki()+e,re=$t(),je=Mr(re,L,i,r,l,h);return Mo(re,L+4,C,D)||je?Zr(re,L+6,S?t.call(S,i,r,l,h,C,D):t(i,r,l,h,C,D)):ta(re,L+6)}function A_(e,t,i,r,l,h,C,D,S,L){const re=Ki()+e,je=$t();let mt=Mr(je,re,i,r,l,h);return fc(je,re+4,C,D,S)||mt?Zr(je,re+7,L?t.call(L,i,r,l,h,C,D,S):t(i,r,l,h,C,D,S)):ta(je,re+7)}function O_(e,t,i,r,l,h,C,D,S,L,re){const je=Ki()+e,mt=$t(),yt=Mr(mt,je,i,r,l,h);return Mr(mt,je+4,C,D,S,L)||yt?Zr(mt,je+8,re?t.call(re,i,r,l,h,C,D,S,L):t(i,r,l,h,C,D,S,L)):ta(mt,je+8)}function P_(e,t,i,r){return L_($t(),Ki(),e,t,i,r)}function ua(e,t){const i=e[t];return i===xn?void 0:i}function R_(e,t,i,r,l,h){const C=t+i;return Hi(e,C,l)?Zr(e,C+1,h?r.call(h,l):r(l)):ua(e,C+1)}function F_(e,t,i,r,l,h,C){const D=t+i;return Mo(e,D,l,h)?Zr(e,D+2,C?r.call(C,l,h):r(l,h)):ua(e,D+2)}function k_(e,t,i,r,l,h,C,D){const S=t+i;return fc(e,S,l,h,C)?Zr(e,S+3,D?r.call(D,l,h,C):r(l,h,C)):ua(e,S+3)}function N_(e,t,i,r,l,h,C,D,S){const L=t+i;return Mr(e,L,l,h,C,D)?Zr(e,L+4,S?r.call(S,l,h,C,D):r(l,h,C,D)):ua(e,L+4)}function L_(e,t,i,r,l,h){let C=t+i,D=!1;for(let S=0;S<l.length;S++)Hi(e,C++,l[S])&&(D=!0);return D?Zr(e,C,r.apply(h,l)):ua(e,C)}function j_(e,t){const i=Ln();let r;const l=e+Dn;i.firstCreatePass?(r=function CD(e,t){if(t)for(let i=t.length-1;i>=0;i--){const r=t[i];if(e===r.name)return r}}(t,i.pipeRegistry),i.data[l]=r,r.onDestroy&&(i.destroyHooks??=[]).push(l,r.onDestroy)):r=i.data[l];const h=r.factory||(r.factory=De(r.type)),D=Qt(os);try{const S=wa(!1),L=h();return wa(S),Up(i,$t(),l,L),L}finally{Qt(D)}}function B_(e,t,i){const r=e+Dn,l=$t(),h=Lo(l,r);return fa(l,r)?R_(l,Ki(),t,h.transform,i,h):h.transform(i)}function V_(e,t,i,r){const l=e+Dn,h=$t(),C=Lo(h,l);return fa(h,l)?F_(h,Ki(),t,C.transform,i,r,C):C.transform(i,r)}function $_(e,t,i,r,l){const h=e+Dn,C=$t(),D=Lo(C,h);return fa(C,h)?k_(C,Ki(),t,D.transform,i,r,l,D):D.transform(i,r,l)}function H_(e,t,i,r,l,h){const C=e+Dn,D=$t(),S=Lo(D,C);return fa(D,C)?N_(D,Ki(),t,S.transform,i,r,l,h,S):S.transform(i,r,l,h)}function U_(e,t,i){const r=e+Dn,l=$t(),h=Lo(l,r);return fa(l,r)?L_(l,Ki(),t,h.transform,i,h):h.transform.apply(h,i)}function fa(e,t){return e[Zt].data[t].pure}function wD(){return this._results[Symbol.iterator]()}class Ac{get changes(){return this._changes||(this._changes=new Kr)}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=Ac.prototype;i[Symbol.iterator]||(i[Symbol.iterator]=wD)}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 r=this;r.dirty=!1;const l=Sr(t);(this._changesDetected=!function uy(e,t,i){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let l=e[r],h=t[r];if(i&&(l=i(l),h=i(h)),h!==l)return!1}return!0}(r._results,l,i))&&(r._results=l,r.length=l.length,r.last=l[this.length-1],r.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()}}function DD(e,t,i,r=!0){const l=t[Zt];if(function Qy(e,t,i,r){const l=ci+r,h=i.length;r>0&&(i[l-1][_i]=t),r<h-ci?(t[_i]=i[l],Jf(i,ci+r,t)):(i.push(t),t[_i]=null),t[kn]=i;const C=t[pr];null!==C&&i!==C&&function Xy(e,t){const i=e[ir];t[Rn]!==t[kn][kn][Rn]&&(e[wr]=!0),null===i?e[ir]=[t]:i.push(t)}(C,t);const D=t[ei];null!==D&&D.insertView(e),t[hn]|=128}(l,t,e,i),r){const h=Cl(i,e),C=t[sn],D=Va(C,e[bi]);null!==D&&function Ky(e,t,i,r,l,h){r[$n]=l,r[si]=t,$s(e,r,i,1,l,h)}(l,e[si],C,t,D,h)}}let ha=(()=>{class t{}return t.__NG_ELEMENT_ID__=SD,t})();const TD=ha,xD=class extends TD{constructor(t,i,r){super(),this._declarationLView=t,this._declarationTContainer=i,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,i){return this.createEmbeddedViewImpl(t,i)}createEmbeddedViewImpl(t,i,r){const l=function ED(e,t,i,r){const l=t.tView,D=sc(e,l,i,4096&e[hn]?4096:16,null,t,null,null,null,r?.injector??null,r?.hydrationInfo??null);D[pr]=e[t.index];const L=e[ei];return null!==L&&(D[ei]=L.createEmbeddedView(l)),hd(l,D,i),D}(this._declarationLView,this._declarationTContainer,t,{injector:i,hydrationInfo:r});return new as(l)}};function SD(){return Oc(Ni(),$t())}function Oc(e,t){return 4&e.type?new xD(t,e,ns(e,t)):null}function z_(e){const t=e[jr]??[],r=e[kn][sn];for(const l of t)MD(l,r);e[jr]=_t}function MD(e,t){let i=0,r=e.firstChild;if(r){const l=e.data[ts];for(;i<l;){const h=r.nextSibling;Ha(t,r,!1),r=h,i++}}}function W_(e){z_(e);for(let t=ci;t<e.length;t++)Pc(e[t])}function Pc(e){const t=e[Zt];for(let i=Dn;i<t.bindingStartIndex;i++)li(e[i])?W_(e[i]):Array.isArray(e[i])&&Pc(e[i])}let G_=(e,t)=>null;function OD(e,t){const i=e[jr]??[];return t&&0!==i.length?i[0].data[Wl]===t?i.shift():(z_(e),null):null}function K_(e,t){return G_(e,t)}let Rc=(()=>{class t{}return t.__NG_ELEMENT_ID__=RD,t})();function RD(){return Q_(Ni(),$t())}const FD=Rc,Y_=class extends FD{constructor(t,i,r){super(),this._lContainer=t,this._hostTNode=i,this._hostLView=r}get element(){return ns(this._hostTNode,this._hostLView)}get injector(){return new Zi(this._hostTNode,this._hostLView)}get parentInjector(){const t=Da(this._hostTNode,this._hostLView);if(Jc(t)){const i=Os(t,this._hostLView),r=As(t);return new Zi(i[Zt].data[r+8],i)}return new Zi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const i=Z_(this._lContainer);return null!==i&&i[t]||null}get length(){return this._lContainer.length-ci}createEmbeddedView(t,i,r){let l,h;"number"==typeof r?l=r:null!=r&&(l=r.index,h=r.injector);const C=K_(this._lContainer,t.ssrId),D=t.createEmbeddedViewImpl(i||{},h,C),S=!!C&&!Fa(this._hostTNode);return this.insertImpl(D,l,S),D}createComponent(t,i,r,l,h){const C=t&&!ks(t);let D;if(C)D=i;else{const Wt=i||{};D=Wt.index,r=Wt.injector,l=Wt.projectableNodes,h=Wt.environmentInjector||Wt.ngModuleRef}const S=C?t:new cs(Sn(t)),L=r||this.parentInjector;if(!h&&null==S.ngModule){const Xt=(C?L:this.parentInjector).get(Gr,null);Xt&&(h=Xt)}const re=Sn(S.componentType??{}),je=K_(this._lContainer,re?.id??null),yt=S.create(L,l,je?.firstChild??null,h),Ft=!!je&&!Fa(this._hostTNode);return this.insertImpl(yt.hostView,D,Ft),yt}insert(t,i){return this.insertImpl(t,i,!1)}insertImpl(t,i,r){const l=t._lView;if(function Mb(e){return li(e[kn])}(l)){const S=this.indexOf(t);if(-1!==S)this.detach(S);else{const L=l[kn],re=new Y_(L,L[si],L[kn]);re.detach(re.indexOf(t))}}const C=this._adjustIndex(i),D=this._lContainer;return DD(D,l,C,!r),t.attachToViewContainerRef(),Jf(Pu(D),C,t),t}move(t,i){return this.insert(t,i)}indexOf(t){const i=Z_(this._lContainer);return null!==i?i.indexOf(t):-1}remove(t){const i=this._adjustIndex(t,-1),r=Ba(this._lContainer,i);r&&(xa(Pu(this._lContainer),i),_l(r[Zt],r))}detach(t){const i=this._adjustIndex(t,-1),r=Ba(this._lContainer,i);return r&&null!=xa(Pu(this._lContainer),i)?new as(r):null}_adjustIndex(t,i=0){return t??this.length+i}};function Z_(e){return e[8]}function Pu(e){return e[8]||(e[8]=[])}function Q_(e,t){let i;const r=t[e.index];return li(r)?i=r:(i=up(r,t,null,e),t[e.index]=i,ac(t,i)),X_(i,t,e,r),new Y_(i,e,t)}let X_=J_;function J_(e,t,i,r){if(e[bi])return;let l;l=8&i.type?ni(r):function kD(e,t){const i=e[sn],r=i.createComment(""),l=ar(t,e);return Do(i,Va(i,l),r,function t0(e,t){return e.nextSibling(t)}(i,l),!1),r}(t,i),e[bi]=l}function ND(e,t,i,r){if(e[bi]&&e[jr])return;const l=t[ai],h=i.index-Dn,C=ka(i)||Fa(i);if(!l||C||ec(l,h))return J_(e,t,i,r);const S=Zl(l,h),L=l.data[Gs]?.[h],[re,je]=function AD(e,t){const i=[];for(const r of t)for(let l=0;l<(r[Xa]??1);l++){const h={data:r,firstChild:null};r[ts]>0&&(h.firstChild=e,e=pc(r[ts],e)),i.push(h)}return[e,i]}(S,L);e[bi]=re,e[jr]=je}class Ru{constructor(t){this.queryList=t,this.matches=null}clone(){return new Ru(this.queryList)}setDirty(){this.queryList.setDirty()}}class Fu{constructor(t=[]){this.queries=t}createEmbeddedView(t){const i=t.queries;if(null!==i){const r=null!==t.contentQueries?t.contentQueries[0]:i.length,l=[];for(let h=0;h<r;h++){const C=i.getByIndex(h);l.push(this.queries[C.indexInDeclarationView].clone())}return new Fu(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!==av(t,i).matches&&this.queries[i].setDirty()}}class q_{constructor(t,i,r=null){this.predicate=t,this.flags=i,this.read=r}}class ku{constructor(t=[]){this.queries=t}elementStart(t,i){for(let r=0;r<this.queries.length;r++)this.queries[r].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 r=0;r<this.length;r++){const l=null!==i?i.length:0,h=this.getByIndex(r).embeddedTView(t,l);h&&(h.indexInDeclarationView=r,null!==i?i.push(h):i=[h])}return null!==i?new ku(i):null}template(t,i){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,i)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Nu{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 Nu(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const i=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==i;)r=r.parent;return i===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,i){const r=this.metadata.predicate;if(Array.isArray(r))for(let l=0;l<r.length;l++){const h=r[l];this.matchTNodeWithReadOption(t,i,jD(i,h)),this.matchTNodeWithReadOption(t,i,Ta(i,t,h,!1,!1))}else r===ha?4&i.type&&this.matchTNodeWithReadOption(t,i,-1):this.matchTNodeWithReadOption(t,i,Ta(i,t,r,!1,!1))}matchTNodeWithReadOption(t,i,r){if(null!==r){const l=this.metadata.read;if(null!==l)if(l===Zs||l===Rc||l===ha&&4&i.type)this.addMatch(i.index,-2);else{const h=Ta(i,t,l,!1,!1);null!==h&&this.addMatch(i.index,h)}else this.addMatch(i.index,r)}}addMatch(t,i){null===this.matches?this.matches=[t,i]:this.matches.push(t,i)}}function jD(e,t){const i=e.localNames;if(null!==i)for(let r=0;r<i.length;r+=2)if(i[r]===t)return i[r+1];return null}function VD(e,t,i,r){return-1===i?function BD(e,t){return 11&e.type?ns(e,t):4&e.type?Oc(e,t):null}(t,e):-2===i?function $D(e,t,i){return i===Zs?ns(t,e):i===ha?Oc(t,e):i===Rc?Q_(t,e):void 0}(e,t,r):wo(e,e[Zt],i,t)}function ev(e,t,i,r){const l=t[ei].queries[r];if(null===l.matches){const h=e.data,C=i.matches,D=[];for(let S=0;S<C.length;S+=2){const L=C[S];D.push(L<0?null:VD(t,h[L],C[S+1],i.metadata.read))}l.matches=D}return l.matches}function Lu(e,t,i,r){const l=e.queries.getByIndex(i),h=l.matches;if(null!==h){const C=ev(e,t,l,i);for(let D=0;D<h.length;D+=2){const S=h[D];if(S>0)r.push(C[D/2]);else{const L=h[D+1],re=t[-S];for(let je=ci;je<re.length;je++){const mt=re[je];mt[pr]===mt[kn]&&Lu(mt[Zt],mt,L,r)}if(null!==re[ir]){const je=re[ir];for(let mt=0;mt<je.length;mt++){const yt=je[mt];Lu(yt[Zt],yt,L,r)}}}}}return r}function tv(e){const t=$t(),i=Ln(),r=Tf();Kc(r+1);const l=av(i,r);if(e.dirty&&function xb(e){return 4==(4&e[hn])}(t)===(2==(2&l.metadata.flags))){if(null===l.matches)e.reset([]);else{const h=l.crossesNgTemplate?Lu(i,t,r,[]):ev(i,t,l,r);e.reset(h,eC),e.notifyOnChanges()}return!0}return!1}function nv(e,t,i){const r=Ln();r.firstCreatePass&&(sv(r,new q_(e,t,i),-1),2==(2&t)&&(r.staticViewQueries=!0)),ov(r,$t(),t)}function iv(e,t,i,r){const l=Ln();if(l.firstCreatePass){const h=Ni();sv(l,new q_(t,i,r),h.index),function UD(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)}ov(l,$t(),i)}function rv(){return function HD(e,t){return e[ei].queries[t].queryList}($t(),Tf())}function ov(e,t,i){const r=new Ac(4==(4&i));(function AC(e,t,i,r){const l=hp(t);l.push(i),e.firstCreatePass&&mp(e).push(r,l.length-1)})(e,t,r,r.destroy),null===t[ei]&&(t[ei]=new Fu),t[ei].queries.push(new Ru(r))}function sv(e,t,i){null===e.queries&&(e.queries=new ku),e.queries.track(new Nu(t,i))}function av(e,t){return e.queries.getByIndex(t)}function cv(e,t){return Oc(e,t)}const Xi=(()=>({\u0275\u0275attribute:gd,\u0275\u0275attributeInterpolate1:_d,\u0275\u0275attributeInterpolate2:vd,\u0275\u0275attributeInterpolate3:bd,\u0275\u0275attributeInterpolate4:yd,\u0275\u0275attributeInterpolate5:Cd,\u0275\u0275attributeInterpolate6:wd,\u0275\u0275attributeInterpolate7:Ed,\u0275\u0275attributeInterpolate8:Dd,\u0275\u0275attributeInterpolateV:Td,\u0275\u0275defineComponent:oi,\u0275\u0275defineDirective:ur,\u0275\u0275defineInjectable:at,\u0275\u0275defineInjector:Me,\u0275\u0275defineNgModule:dr,\u0275\u0275definePipe:fr,\u0275\u0275directiveInject:os,\u0275\u0275getInheritedFactory:Kf,\u0275\u0275inject:We,\u0275\u0275injectAttribute:il,\u0275\u0275invalidFactory:np,\u0275\u0275invalidFactoryDep:Pe,\u0275\u0275templateRefExtractor:cv,\u0275\u0275resetView:yf,\u0275\u0275HostDirectivesFeature:Op,\u0275\u0275NgOnChangesFeature:In,\u0275\u0275ProvidersFeature:d_,\u0275\u0275CopyDefinitionFeature:Ap,\u0275\u0275InheritDefinitionFeature:md,\u0275\u0275InputTransformsFeature:kp,\u0275\u0275StandaloneFeature:p_,\u0275\u0275nextContext:Jp,\u0275\u0275namespaceHTML:Rf,\u0275\u0275namespaceMathML:Pf,\u0275\u0275namespaceSVG:Of,\u0275\u0275enableBindings:_f,\u0275\u0275disableBindings:vf,\u0275\u0275elementStart:gc,\u0275\u0275elementEnd:_c,\u0275\u0275element:Rd,\u0275\u0275elementContainerStart:vc,\u0275\u0275elementContainerEnd:bc,\u0275\u0275elementContainer:Fd,\u0275\u0275pureFunction0:E_,\u0275\u0275pureFunction1:D_,\u0275\u0275pureFunction2:T_,\u0275\u0275pureFunction3:x_,\u0275\u0275pureFunction4:S_,\u0275\u0275pureFunction5:M_,\u0275\u0275pureFunction6:I_,\u0275\u0275pureFunction7:A_,\u0275\u0275pureFunction8:O_,\u0275\u0275pureFunctionV:P_,\u0275\u0275getCurrentView:Kp,\u0275\u0275restoreView:bf,\u0275\u0275listener:Nd,\u0275\u0275projection:eg,\u0275\u0275syntheticHostProperty:vu,\u0275\u0275syntheticHostListener:Ld,\u0275\u0275pipeBind1:B_,\u0275\u0275pipeBind2:V_,\u0275\u0275pipeBind3:$_,\u0275\u0275pipeBind4:H_,\u0275\u0275pipeBindV:U_,\u0275\u0275projectionDef:qp,\u0275\u0275hostProperty:_u,\u0275\u0275property:Od,\u0275\u0275propertyInterpolate:jd,\u0275\u0275propertyInterpolate1:yc,\u0275\u0275propertyInterpolate2:Bd,\u0275\u0275propertyInterpolate3:Vd,\u0275\u0275propertyInterpolate4:$d,\u0275\u0275propertyInterpolate5:Hd,\u0275\u0275propertyInterpolate6:Ud,\u0275\u0275propertyInterpolate7:zd,\u0275\u0275propertyInterpolate8:Wd,\u0275\u0275propertyInterpolateV:Gd,\u0275\u0275pipe:j_,\u0275\u0275queryRefresh:tv,\u0275\u0275viewQuery:nv,\u0275\u0275loadQuery:rv,\u0275\u0275contentQuery:iv,\u0275\u0275reference:zp,\u0275\u0275classMap:cg,\u0275\u0275classMapInterpolate1:_g,\u0275\u0275classMapInterpolate2:vg,\u0275\u0275classMapInterpolate3:bg,\u0275\u0275classMapInterpolate4:yg,\u0275\u0275classMapInterpolate5:Cg,\u0275\u0275classMapInterpolate6:wg,\u0275\u0275classMapInterpolate7:Eg,\u0275\u0275classMapInterpolate8:Dg,\u0275\u0275classMapInterpolateV:Tg,\u0275\u0275styleMap:Fr,\u0275\u0275styleMapInterpolate1:xg,\u0275\u0275styleMapInterpolate2:Sg,\u0275\u0275styleMapInterpolate3:Mg,\u0275\u0275styleMapInterpolate4:Ig,\u0275\u0275styleMapInterpolate5:Ag,\u0275\u0275styleMapInterpolate6:Og,\u0275\u0275styleMapInterpolate7:Pg,\u0275\u0275styleMapInterpolate8:Rg,\u0275\u0275styleMapInterpolateV:Fg,\u0275\u0275styleProp:Qd,\u0275\u0275stylePropInterpolate1:cu,\u0275\u0275stylePropInterpolate2:lu,\u0275\u0275stylePropInterpolate3:du,\u0275\u0275stylePropInterpolate4:uu,\u0275\u0275stylePropInterpolate5:fu,\u0275\u0275stylePropInterpolate6:hu,\u0275\u0275stylePropInterpolate7:mu,\u0275\u0275stylePropInterpolate8:pu,\u0275\u0275stylePropInterpolateV:gu,\u0275\u0275classProp:Xd,\u0275\u0275advance:ep,\u0275\u0275template:Vp,\u0275\u0275defer:c_,\u0275\u0275text:pg,\u0275\u0275textInterpolate:qd,\u0275\u0275textInterpolate1:Ec,\u0275\u0275textInterpolate2:eu,\u0275\u0275textInterpolate3:tu,\u0275\u0275textInterpolate4:nu,\u0275\u0275textInterpolate5:iu,\u0275\u0275textInterpolate6:ru,\u0275\u0275textInterpolate7:ou,\u0275\u0275textInterpolate8:su,\u0275\u0275textInterpolateV:au,\u0275\u0275i18n:r_,\u0275\u0275i18nAttributes:o_,\u0275\u0275i18nExp:Tu,\u0275\u0275i18nStart:Eu,\u0275\u0275i18nEnd:Du,\u0275\u0275i18nApply:s_,\u0275\u0275i18nPostprocess:a_,\u0275\u0275resolveWindow:Bm,\u0275\u0275resolveDocument:Vm,\u0275\u0275resolveBody:nd,\u0275\u0275setComponentScope:qi,\u0275\u0275setNgModuleScope:Lr,\u0275\u0275registerNgModuleType:cl,\u0275\u0275sanitizeHtml:nm,\u0275\u0275sanitizeStyle:im,\u0275\u0275sanitizeResourceUrl:Al,\u0275\u0275sanitizeScript:rm,\u0275\u0275sanitizeUrl:Il,\u0275\u0275sanitizeUrlOrResourceUrl:am,\u0275\u0275trustConstantHtml:om,\u0275\u0275trustConstantResourceUrl:sm,\u0275\u0275validateIframeAttribute:zh,forwardRef:R,resolveForwardRef:M}))();let Cs=null;function GD(){Cs=null}function ju(e){return!!ii(e)}const ma=[];let Bu=!1;function dv(){if(!Bu){Bu=!0;try{for(let e=ma.length-1;e>=0;e--){const{moduleType:t,ngModule:i}=ma[e];i.declarations&&i.declarations.every(uv)&&(ma.splice(e,1),XD(t,i))}}finally{Bu=!1}}}function uv(e){return Array.isArray(e)?e.every(uv):!!M(e)}function fv(e,t={}){hv(e,t),void 0!==t.id&&cl(e,t.id),function KD(e,t){ma.push({moduleType:e,ngModule:t})}(e,t)}function hv(e,t,i=!1){const r=Sr(t.declarations||_t);let l=null;Object.defineProperty(e,Yt,{configurable:!0,get:()=>(null===l&&(l=xi().compileNgModule(Xi,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:Sr(t.bootstrap||_t).map(M),declarations:r.map(M),imports:Sr(t.imports||_t).map(M).map(gv),exports:Sr(t.exports||_t).map(M).map(gv),schemas:t.schemas?Sr(t.schemas):null,id:t.id||null}),l.schemas||(l.schemas=[])),l)});let h=null;Object.defineProperty(e,Gt,{get:()=>{if(null===h){const D=xi();h=D.compileFactory(Xi,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,deps:Aa(e),target:D.FactoryTarget.NgModule,typeArgumentCount:0})}return h},configurable:!1});let C=null;Object.defineProperty(e,$e,{get:()=>{if(null===C){const D={name:e.name,type:e,providers:t.providers||_t,imports:[(t.imports||_t).map(M),(t.exports||_t).map(M)]};C=xi().compileInjector(Xi,`ng:///${e.name}/\u0275inj.js`,D)}return C},configurable:!1})}let Fc=new WeakMap,$u=new WeakMap;function QD(){Fc=new WeakMap,$u=new WeakMap,ma.length=0,mr.clear()}function XD(e,t){const i=Sr(t.declarations||_t),r=Ro(e);i.forEach(l=>{(l=M(l)).hasOwnProperty(ft)?Hu(Sn(l),r):!l.hasOwnProperty(Ot)&&!l.hasOwnProperty(Pt)&&(l.ngSelectorScope=e)})}function Hu(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map(i=>i.hasOwnProperty(ft)?Sn(i):Jn(i)).filter(i=>!!i),e.pipeDefs=()=>Array.from(t.compilation.pipes).map(i=>qn(i)),e.schemas=t.schemas,e.tView=null}function Ro(e){if(ju(e))return function JD(e){const t=ii(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 oo(t.imports).forEach(r=>{const l=Ro(r);l.exported.directives.forEach(h=>i.compilation.directives.add(h)),l.exported.pipes.forEach(h=>i.compilation.pipes.add(h))}),oo(t.declarations).forEach(r=>{qn(r)?i.compilation.pipes.add(r):i.compilation.directives.add(r)}),oo(t.exports).forEach(r=>{const l=r;if(ju(l)){const h=Ro(l);h.exported.directives.forEach(C=>{i.compilation.directives.add(C),i.exported.directives.add(C)}),h.exported.pipes.forEach(C=>{i.compilation.pipes.add(C),i.exported.pipes.add(C)})}else qn(l)?i.exported.pipes.add(l):i.exported.directives.add(l)}),t.transitiveCompileScopes=i,i}(e);if(tr(e)){if(null!==(Sn(e)||Jn(e)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([e]),pipes:new Set}};if(null!==qn(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 gv(e){return function lv(e){return void 0!==e.ngModule}(e)?e.ngModule:e}let Uu=0;function _v(e,t){let i=null;(function yy(e,t){ah(t)&&(Ko.set(e,t),Ls.add(e))})(e,t),bv(e,t),Object.defineProperty(e,ft,{get:()=>{if(null===i){const r=xi();if(ah(t)){const L=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&L.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&L.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),L.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(L.join("\n"))}const l=function WD(){return Cs}();let h=t.preserveWhitespaces;void 0===h&&(h=null!==l&&void 0!==l.preserveWhitespaces&&l.preserveWhitespaces);let C=t.encapsulation;void 0===C&&(C=null!==l&&void 0!==l.defaultEncapsulation?l.defaultEncapsulation:Ue.Emulated);const D=t.templateUrl||`ng:///${e.name}/template.html`,S={...yv(e,t),typeSourceSpan:r.createParseSourceSpan("Component",e.name,D),template:t.template||"",preserveWhitespaces:h,styles:t.styles||_t,animations:t.animations,declarations:[],changeDetection:t.changeDetection,encapsulation:C,interpolation:t.interpolation,viewProviders:t.viewProviders||null};Uu++;try{if(S.usesInheritance&&Cv(e),i=r.compileComponent(Xi,D,S),t.standalone){const L=Sr(t.imports||_t),{directiveDefs:re,pipeDefs:je}=function eT(e,t){let i=null,r=null;return{directiveDefs:()=>{if(null===i){i=[Sn(e)];const C=new Set([e]);for(const D of t){const S=M(D);if(!C.has(S))if(C.add(S),ii(S)){const L=Ro(S);for(const re of L.exported.directives){const je=Sn(re)||Jn(re);je&&!C.has(re)&&(C.add(re),i.push(je))}}else{const L=Sn(S)||Jn(S);L&&i.push(L)}}}return i},pipeDefs:()=>{if(null===r){r=[];const C=new Set;for(const D of t){const S=M(D);if(!C.has(S))if(C.add(S),ii(S)){const L=Ro(S);for(const re of L.exported.pipes){const je=qn(re);je&&!C.has(re)&&(C.add(re),r.push(je))}}else{const L=qn(S);L&&r.push(L)}}}return r}}}(e,L);i.directiveDefs=re,i.pipeDefs=je,i.dependencies=()=>L.map(M)}}finally{Uu--}if(0===Uu&&dv(),function tT(e){return void 0!==e.ngSelectorScope}(e)){const L=Ro(e.ngSelectorScope);Hu(i,L)}if(t.schemas){if(!t.standalone)throw new Error(`The 'schemas' was specified for the ${fe(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 zu(e,t){let i=null;bv(e,t||{}),Object.defineProperty(e,Ot,{get:()=>{if(null===i){const r=vv(e,t||{});i=xi().compileDirective(Xi,r.sourceMapUrl,r.metadata)}return i},configurable:!1})}function vv(e,t){const i=e&&e.name,r=`ng:///${i}/\u0275dir.js`,l=xi(),h=yv(e,t);return h.typeSourceSpan=l.createParseSourceSpan("Directive",i,r),h.usesInheritance&&Cv(e),{metadata:h,sourceMapUrl:r}}function bv(e,t){let i=null;Object.defineProperty(e,Gt,{get:()=>{if(null===i){const r=vv(e,t),l=xi();i=l.compileFactory(Xi,`ng:///${e.name}/\u0275fac.js`,{name:r.metadata.name,type:r.metadata.type,typeArgumentCount:0,deps:Aa(e),target:l.FactoryTarget.Directive})}return i},configurable:!1})}function nT(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function yv(e,t){const i=al(),r=i.ownPropMetadata(e);return{name:e.name,type:e,selector:void 0!==t.selector?t.selector:null,host:t.host||Fe,propMetadata:r,inputs:t.inputs||_t,outputs:t.outputs||_t,queries:wv(e,r,Ev),lifecycle:{usesOnChanges:i.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!nT(e),exportAs:oT(t.exportAs),providers:t.providers||null,viewQueries:wv(e,r,Dv),isStandalone:!!t.standalone,isSignal:!!t.signals,hostDirectives:t.hostDirectives?.map(l=>"function"==typeof l?{directive:l}:l)||null}}function Cv(e){const t=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==t;)!Jn(i)&&!Sn(i)&&aT(i)&&zu(i,null),i=Object.getPrototypeOf(i)}function iT(e){return"string"==typeof e?xv(e):M(e)}function rT(e,t){return{propertyName:e,predicate:iT(t.selector),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static,emitDistinctChangesOnly:!!t.emitDistinctChangesOnly}}function wv(e,t,i){const r=[];for(const l in t)if(t.hasOwnProperty(l)){const h=t[l];h.forEach(C=>{if(i(C)){if(!C.selector)throw new Error(`Can't construct a query for the property "${l}" of "${fe(e)}" since the query selector wasn't defined.`);if(h.some(Tv))throw new Error("Cannot combine @Input decorators with query decorators");r.push(rT(l,C))}})}return r}function oT(e){return void 0===e?null:xv(e)}function Ev(e){const t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function Dv(e){const t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function Tv(e){return"Input"===e.ngMetadataName}function xv(e){return e.split(",").map(t=>t.trim())}const sT=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function aT(e){const t=al();if(sT.some(r=>t.hasLifecycleHook(e,r)))return!0;const i=t.propMetadata(e);for(const r in i){const l=i[r];for(let h=0;h<l.length;h++){const C=l[h],D=C.ngMetadataName;if(Tv(C)||Ev(C)||Dv(C)||"Output"===D||"HostBinding"===D||"HostListener"===D)return!0}}return!1}function Sv(e,t){let i=null,r=null;Object.defineProperty(e,Gt,{get:()=>{if(null===r){const l=Mv(e,t),h=xi();r=h.compileFactory(Xi,`ng:///${l.name}/\u0275fac.js`,{name:l.name,type:l.type,typeArgumentCount:0,deps:Aa(e),target:h.FactoryTarget.Pipe})}return r},configurable:!1}),Object.defineProperty(e,Pt,{get:()=>{if(null===i){const l=Mv(e,t);i=xi().compilePipe(Xi,`ng:///${l.name}/\u0275pipe.js`,l)}return i},configurable:!1})}function Mv(e,t){return{type:e,name:e.name,pipeName:t.name,pure:void 0===t.pure||t.pure,isStandalone:!!t.standalone}}const Iv=Rs("Directive",(e={})=>e,void 0,void 0,(e,t)=>zu(e,t)),cT=Rs("Component",(e={})=>({changeDetection:gn.Default,...e}),Iv,void 0,(e,t)=>_v(e,t)),lT=Rs("Pipe",e=>({pure:!0,...e}),void 0,void 0,(e,t)=>Sv(e,t)),dT=go("Input",e=>e?"string"==typeof e?{alias:e}:e:{}),uT=go("Output",e=>({alias:e})),fT=go("HostBinding",e=>({hostPropertyName:e})),hT=go("HostListener",(e,t)=>({eventName:e,args:t})),mT=Rs("NgModule",e=>e,void 0,void 0,(e,t)=>fv(e,t)),Av=new Wn("Application Initializer");let kc=(()=>{var e;class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,l)=>{this.resolve=r,this.reject=l}),this.appInits=rt(Av,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const r=[];for(const h of this.appInits){const C=h();if(kd(C))r.push(C);else if(Yp(C)){const D=new Promise((S,L)=>{C.subscribe({complete:S,error:L})});r.push(D)}}const l=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{l()}).catch(h=>{this.reject(h)}),0===r.length&&l(),this.initialized=!0}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=at({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),Ov=(()=>{var e;class t{log(r){console.log(r)}warn(r){console.warn(r)}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=at({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();const Nc=new Wn("LocaleId",{providedIn:"root",factory:()=>rt(Nc,dt.Optional|dt.SkipSelf)||function pT(){return typeof $localize<"u"&&$localize.locale||Oo}()}),gT=new Wn("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"}),_T=new Wn("Translations"),vT=new Wn("TranslationsFormat");var Pv=function(e){return e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore",e}(Pv||{});let Rv=(()=>{var e;class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new s.X(!1)}add(){this.hasPendingTasks.next(!0);const r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=at({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();class Fv{constructor(t,i){this.ngModuleFactory=t,this.componentFactories=i}}let bT=(()=>{var e;class t{compileModuleSync(r){return new Ic(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){const l=this.compileModuleSync(r),C=oo(ii(r).declarations).reduce((D,S)=>{const L=Sn(S);return L&&D.push(new cs(L)),D},[]);return new Fv(l,C)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=at({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const kv=new Wn("compilerOptions");class yT{}class CT{constructor(){this.resolverToTokenToDependencies=new WeakMap,this.resolverToProviders=new WeakMap,this.standaloneInjectorToComponent=new WeakMap}reset(){this.resolverToTokenToDependencies=new WeakMap,this.resolverToProviders=new WeakMap,this.standaloneInjectorToComponent=new WeakMap}}let pa=new CT;function Lc(){return pa}function Wu(e){let t=null;return void 0===e||(t=e instanceof Zi?Ps(e):e),t}function IT(e){Xs(Ch(e)),v_(e).forEach(t=>yp(t))}function AT(e,t){const i=e.get(t,null,{self:!0,optional:!0});if(null===i)throw new Error(`Unable to determine instance of ${t} in given injector`);let r=e;e instanceof Zi&&(r=Ps(e));const{resolverToTokenToDependencies:l}=Lc();let h=l.get(r)?.get?.(t)??[];const C=Nv(e);return h=h.map(D=>{const S=D.flags;D.flags={optional:8==(8&S),host:1==(1&S),self:2==(2&S),skipSelf:4==(4&S)};for(let L=0;L<C.length;L++){const re=C[L];if(0!==L||!D.flags.skipSelf){if(D.flags.host&&re instanceof Gr)break;if(null!==re.get(D.token,null,{self:!0,optional:!0})){if(D.flags.host){null!==C[0].get(D.token,null,{...D.flags,optional:!0})&&(D.providedIn=re);break}D.providedIn=re;break}if(0===L&&D.flags.self)break}}return D}),{instance:i,dependencies:h}}function kT(e){const t=function OT(e){const{standaloneInjectorToComponent:t}=Lc();if(t.has(e))return t.get(e);const i=e.get(Po,null,{self:!0,optional:!0});return null===i?null:i.instance.constructor}(e);null===t&&pe("Could not determine where injector providers were configured.");const i=function RT(e){const t=new Map,r=function FT(e,t){return(i,r)=>{if(e.has(i)||e.set(i,[r]),!t.has(r))for(const l of e.keys()){const h=e.get(l);let C=qe(r);if(C||(C=qe(r.ngModule)),!C)return;const D=h[0];let S=!1;Wo(C.imports,L=>{S||(S=L.ngModule===D||L===D,S&&e.get(l)?.unshift(r))})}t.add(r)}}(t,new Set);return Ka(e,r,[],new Set),t}(t);return(Lc().resolverToProviders.get(e)??[]).map(l=>{let h=i.get(l.provider)??[t];return!!Sn(t)?.standalone&&(h=[t,...i.get(l.provider)??[]]),{...l,importPath:h}})}function NT(e){return e instanceof Zi?function PT(e){const t=Ps(e),{resolverToProviders:i}=Lc();return i.get(t)??[]}(e):e instanceof Gr?kT(e):void pe("getInjectorProviders only supports NodeInjector and EnvironmentInjector")}function Nv(e){const t=[e];return Gu(e,t),t}function Gu(e,t){const i=function LT(e){if(e instanceof Qa)return e.parent;let t,i;if(e instanceof Zi)t=function ny(e){return e._tNode}(e),i=Ps(e);else{if(e instanceof Pl)return null;pe("getInjectorParent only support injectors of type R3Injector, NodeInjector, NullInjector")}const r=Da(t,i);if(Jc(r)){const l=As(r),h=Os(r,i);return new Zi(h[Zt].data[l+8],h)}{const h=i[Xn].injector?.parent;if(h instanceof Zi)return h}return null}(e);if(null===i){if(e instanceof Zi){const r=t[0];if(r instanceof Zi){const l=function jT(e){let t;e instanceof Zi?t=Ps(e):pe("getModuleInjectorOfNodeInjector must be called with a NodeInjector");const r=t[Xn].parentInjector;return r||pe("NodeInjector must have some connection to the module injector tree"),r}(r);null===l&&pe("NodeInjector must have some connection to the module injector tree"),t.push(l),Gu(l,t)}return t}}else t.push(i),Gu(i,t);return t}const Lv="ng";let jv=!1;function BT(){jv||(jv=!0,function wT(){pa.reset(),Lt(e=>function ET(e){const{context:t,type:i}=e;0===i?function DT(e,t){const i=Wu(e.injector);null===i&&pe("An Inject event must be run within an injection context.");const r=pa.resolverToTokenToDependencies;if(r.has(i)||r.set(i,new WeakMap),!function MT(e){return null!==e&&("object"==typeof e||"function"==typeof e||"symbol"==typeof e)}(e.token))return;const l=r.get(i);l.has(e.token)||l.set(e.token,[]);const{token:h,value:C,flags:D}=t;l.get(e.token).push({token:h,value:C,flags:D})}(t,e.service):1===i?function TT(e,t){const{value:i}=t;let r;if(null===Wu(e.injector)&&pe("An InjectorCreatedInstance event must be run within an injection context."),"object"==typeof i&&(r=i?.constructor),void 0===r||!function xT(e){return!!Sn(e)?.standalone}(r))return;const l=e.injector.get(Gr,null,{optional:!0});if(null===l)return;const{standaloneInjectorToComponent:h}=pa;h.has(l)||h.set(l,r)}(t,e.instance):2===i&&function ST(e,t){const{resolverToProviders:i}=pa,r=Wu(e?.injector);null===r&&pe("A ProviderConfigured event must be run within an injection context."),i.has(r)||i.set(r,[]),i.get(r).push(t)}(t,e.providerRecord)}(e))}(),Ji("\u0275getDependenciesFromInjectable",AT),Ji("\u0275getInjectorProviders",NT),Ji("\u0275getInjectorResolutionPath",Nv),Ji("\u0275setProfiler",qr),Ji("getDirectiveMetadata",gD),Ji("getComponent",Au),Ji("getContext",g_),Ji("getListeners",C_),Ji("getOwningComponent",__),Ji("getHostElement",Ou),Ji("getInjector",b_),Ji("getRootComponents",v_),Ji("getDirectives",y_),Ji("applyChanges",IT))}function Ji(e,t){if((typeof COMPILED>"u"||!COMPILED)&&pt){let r=pt[Lv];r||(r=pt[Lv]={}),r[e]=t}}const Bv=new Wn(""),Vv=new Wn("");let VT=(()=>{var e;class t{constructor(r,l,h){this._ngZone=r,this.registry=l,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Ku||(Hv(h),h.addToWindow(l)),this._watchAngularEvents(),r.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ai.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb(this._didWork)}this._didWork=!1});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(l=>!l.updateCb||!l.updateCb(r)||(clearTimeout(l.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,l,h){let C=-1;l&&l>0&&(C=setTimeout(()=>{this._callbacks=this._callbacks.filter(D=>D.timeoutId!==C),r(this._didWork,this.getPendingTasks())},l)),this._callbacks.push({doneCb:r,timeoutId:C,updateCb:h})}whenStable(r,l,h){if(h&&!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(r,l,h),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,l,h){return[]}}return(e=t).\u0275fac=function(r){return new(r||e)(We(Ai),We($v),We(Vv))},e.\u0275prov=at({token:e,factory:e.\u0275fac}),t})(),$v=(()=>{var e;class t{constructor(){this._applications=new Map}registerApplication(r,l){this._applications.set(r,l)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,l=!0){return Ku?.findTestabilityInTree(this,r,l)??null}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=at({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();function Hv(e){Ku=e}let Ku,bo=null;const Yu=new Wn("AllowMultipleToken"),Zu=new Wn("PlatformDestroyListeners"),Qu=new Wn("appBootstrapListener");function Uv(e,t,i){const r=new Ic(i);return Promise.resolve(r)}function zv(){!function Fn(e){dn=e}(()=>{throw new K(600,!1)})}function Wv(e){return e.isBoundToModule}class $T{constructor(t,i){this.name=t,this.token=i}}function Gv(e){if(bo&&!bo.get(Yu,!1))throw new K(400,!1);zv(),bo=e;const t=e.get(Xu);return Kv(e),t}function Kv(e){e.get(gm,null)?.forEach(i=>i())}function UT(e){try{const{rootComponent:t,appProviders:i,platformProviders:r}=e,l=function HT(e=[]){if(bo)return bo;const t=Qv(e);return bo=t,zv(),Kv(t),t}(r),h=[ib(),...i||[]],D=new h_({providers:h,parent:l,debugName:"",runEnvironmentInitializers:!1}).injector,S=D.get(Ai);return S.run(()=>{D.resolveInjectorInitializers();const L=D.get(_o,null);let re;S.runOutsideAngular(()=>{re=S.onError.subscribe({next:yt=>{L.handleError(yt)}})});const je=()=>D.destroy(),mt=l.get(Zu);return mt.add(je),D.onDestroy(()=>{re.unsubscribe(),mt.delete(je)}),Jv(L,S,()=>{const yt=D.get(kc);return yt.runInitializers(),yt.donePromise.then(()=>{yu(D.get(Nc,Oo)||Oo);const Wt=D.get(ws);return void 0!==t&&Wt.bootstrap(t),Wt})})})}catch(t){return Promise.reject(t)}}function Yv(e,t,i=[]){const r=`Platform: ${t}`,l=new Wn(r);return(h=[])=>{let C=jc();if(!C||C.injector.get(Yu,!1)){const D=[...i,...h,{provide:l,useValue:!0}];e?e(D):Gv(Qv(D,r))}return Zv()}}function Zv(e){const t=jc();if(!t)throw new K(401,!1);return t}function Qv(e=[],t){return Rr.create({name:t,providers:[{provide:Nl,useValue:"platform"},{provide:Zu,useValue:new Set([()=>bo=null])},...e]})}function zT(){jc()?.destroy()}function jc(){return bo?.get(Xu)??null}let Xu=(()=>{var e;class t{constructor(r){this._injector=r,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(r,l){const h=function WT(e="zone.js",t){return"noop"===e?new Nm:"zone.js"===e?new Ai(t):e}(l?.ngZone,Xv({eventCoalescing:l?.ngZoneEventCoalescing,runCoalescing:l?.ngZoneRunCoalescing}));return h.run(()=>{const C=function hD(e,t,i){return new Mc(e,t,i)}(r.moduleType,this.injector,nb(()=>h)),D=C.injector.get(_o,null);return h.runOutsideAngular(()=>{const S=h.onError.subscribe({next:L=>{D.handleError(L)}});C.onDestroy(()=>{Bc(this._modules,C),S.unsubscribe()})}),Jv(D,h,()=>{const S=C.injector.get(kc);return S.runInitializers(),S.donePromise.then(()=>(yu(C.injector.get(Nc,Oo)||Oo),this._moduleDoBootstrap(C),C))})})}bootstrapModule(r,l=[]){const h=qv({},l);return Uv(0,0,r).then(C=>this.bootstrapModuleFactory(C,h))}_moduleDoBootstrap(r){const l=r.injector.get(ws);if(r._bootstrapComponents.length>0)r._bootstrapComponents.forEach(h=>l.bootstrap(h));else{if(!r.instance.ngDoBootstrap)throw new K(-403,!1);r.instance.ngDoBootstrap(l)}this._modules.push(r)}onDestroy(r){this._destroyListeners.push(r)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new K(404,!1);this._modules.slice().forEach(l=>l.destroy()),this._destroyListeners.forEach(l=>l());const r=this._injector.get(Zu,null);r&&(r.forEach(l=>l()),r.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return(e=t).\u0275fac=function(r){return new(r||e)(We(Rr))},e.\u0275prov=at({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();function Xv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}function Jv(e,t,i){try{const r=i();return kd(r)?r.catch(l=>{throw t.runOutsideAngular(()=>e.handleError(l)),l}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}function qv(e,t){return Array.isArray(t)?t.reduce(qv,e):{...e,...t}}let ws=(()=>{var e;class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=rt(tb),this.zoneIsStable=rt(Lm),this.componentTypes=[],this.components=[],this.isStable=rt(Rv).hasPendingTasks.pipe((0,p.w)(r=>r?(0,d.of)(!1):this.zoneIsStable),(0,v.x)(),(0,u.B)()),this._injector=rt(Gr)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,l){const h=r instanceof tc;if(!this._injector.get(kc).done)throw!h&&tr(r),new K(405,!1);let D;D=h?r:this._injector.get(Ys).resolveComponentFactory(r),this.componentTypes.push(D.componentType);const S=Wv(D)?void 0:this._injector.get(Po),re=D.create(Rr.NULL,[],l||D.selector,S),je=re.location.nativeElement,mt=re.injector.get(Bv,null);return mt?.registerApplication(je),re.onDestroy(()=>{this.detachView(re.hostView),Bc(this.components,re),mt?.unregisterApplication(je)}),this._loadComponent(re),re}tick(){if(this._runningTick)throw new K(101,!1);try{this._runningTick=!0;for(let r of this._views)r.detectChanges()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1}}attachView(r){const l=r;this._views.push(l),l.attachToAppRef(this)}detachView(r){const l=r;Bc(this._views,l),l.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);const l=this._injector.get(Qu,[]);l.push(...this._bootstrapListeners),l.forEach(h=>h(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>Bc(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new K(406,!1);const r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=at({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function Bc(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}const tb=new Wn("",{providedIn:"root",factory:()=>rt(_o).handleError.bind(void 0)});function GT(){const e=rt(Ai),t=rt(_o);return i=>e.runOutsideAngular(()=>t.handleError(i))}let KT=(()=>{var e;class t{constructor(){this.zone=rt(Ai),this.applicationRef=rt(ws)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=at({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function nb(e){return[{provide:Ai,useFactory:e},{provide:zs,multi:!0,useFactory:()=>{const t=rt(KT,{optional:!0});return()=>t.initialize()}},{provide:tb,useFactory:GT},{provide:Lm,useFactory:jm}]}function ib(e){return Rl([[],nb(()=>new Ai(Xv(e)))])}function YT(){return!1}function ZT(){}function QT(e){const t=dh(e);if(!t)throw rb(e);return new Ic(t)}function XT(e){const t=dh(e);if(!t)throw rb(e);return t}function rb(e){return new Error(`No module with ID ${e} loaded`)}let ob=(()=>{class t{}return t.__NG_ELEMENT_ID__=sb,t})();function sb(e){return function JT(e,t,i){if(rr(e)&&!i){const r=_r(e.index,t);return new as(r,r)}return 47&e.type?new as(t[Rn],t):null}(Ni(),$t(),16==(16&e))}class ab extends ob{}class qT extends ab{}class e1{constructor(t,i){this.name=t,this.callback=i}}function t1(e){return e.map(t=>t.nativeElement)}class Ju{constructor(t){this.nativeNode=t}get parent(){const t=this.nativeNode.parentNode;return t?new ga(t):null}get injector(){return b_(this.nativeNode)}get componentInstance(){const t=this.nativeNode;return t&&(Au(t)||__(t))}get context(){return Au(this.nativeNode)||g_(this.nativeNode)}get listeners(){return C_(this.nativeNode).filter(t=>"dom"===t.type)}get references(){return function _D(e){const t=Qi(e);if(null===t)return{};if(void 0===t.localRefs){const i=t.lView;if(null===i)return{};t.localRefs=function Hy(e,t){const i=e[Zt].data[t];if(i&&i.localNames){const r={};let l=i.index+1;for(let h=0;h<i.localNames.length;h+=2)r[i.localNames[h]]=e[l],l++;return r}return null}(i,t.nodeIndex)}return t.localRefs||{}}(this.nativeNode)}get providerTokens(){return function pD(e){const t=Qi(e),i=t?t.lView:null;if(null===i)return[];const r=i[Zt],l=r.data[t.nodeIndex],h=[],D=l.directiveEnd;for(let S=1048575&l.providerIndexes;S<D;S++){let L=r.data[S];bD(L)&&(L=L.type),h.push(L)}return h}(this.nativeNode)}}class ga extends Ju{constructor(t){super(t)}get nativeElement(){return this.nativeNode.nodeType==Node.ELEMENT_NODE?this.nativeNode:null}get name(){const t=Qi(this.nativeNode),i=t?t.lView:null;return null!==i?i[Zt].data[t.nodeIndex].value:this.nativeNode.nodeName}get properties(){const t=Qi(this.nativeNode),i=t?t.lView:null;if(null===i)return{};const r=i[Zt].data,l=r[t.nodeIndex],h={};return function n1(e,t){if(e){let i=Object.getPrototypeOf(e);const r=Node.prototype;for(;null!==i&&i!==r;){const l=Object.getOwnPropertyDescriptors(i);for(let h in l)if(!h.startsWith("__")&&!h.startsWith("on")){const C=e[h];r1(C)&&(t[h]=C)}i=Object.getPrototypeOf(i)}}}(this.nativeElement,h),function o1(e,t,i,r){let l=t.propertyBindings;if(null!==l)for(let h=0;h<l.length;h++){const C=l[h],S=r[C].split("\ufffd"),L=S[0];if(S.length>1){let re=S[1];for(let je=1;je<S.length-1;je++)re+=X(i[C+je-1])+S[je+1];e[L]=re}else e[L]=i[C]}}(h,l,i,r),h}get attributes(){const t={},i=this.nativeElement;if(!i)return t;const r=Qi(i),l=r?r.lView:null;if(null===l)return{};const h=l[Zt].data[r.nodeIndex].attrs,C=[];if(h){let D=0;for(;D<h.length;){const S=h[D];if("string"!=typeof S)break;t[S]=h[D+1],C.push(S.toLowerCase()),D+=2}}for(const D of i.attributes)C.includes(D.name)||(t[D.name]=D.value);return t}get styles(){return this.nativeElement&&this.nativeElement.style?this.nativeElement.style:{}}get classes(){const t={},r=this.nativeElement.className;return("string"!=typeof r?r.baseVal.split(" "):r.split(" ")).forEach(h=>t[h]=!0),t}get childNodes(){const t=this.nativeNode.childNodes,i=[];for(let r=0;r<t.length;r++)i.push(Es(t[r]));return i}get children(){const t=this.nativeElement;if(!t)return[];const i=t.children,r=[];for(let l=0;l<i.length;l++)r.push(Es(i[l]));return r}query(t){return this.queryAll(t)[0]||null}queryAll(t){const i=[];return cb(this,t,i,!0),i}queryAllNodes(t){const i=[];return cb(this,t,i,!1),i}triggerEventHandler(t,i){const r=this.nativeNode,l=[];this.listeners.forEach(h=>{if(h.name===t){const C=h.callback;C.call(r,i),l.push(C)}}),"function"==typeof r.eventListeners&&r.eventListeners(t).forEach(h=>{if(-1!==h.toString().indexOf("__ngUnwrap__")){const C=h("__ngUnwrap__");return-1===l.indexOf(C)&&C.call(r,i)}})}}function r1(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function cb(e,t,i,r){const l=Qi(e.nativeNode),h=l?l.lView:null;null!==h?Fo(h[Zt].data[l.nodeIndex],h,t,i,r,e.nativeNode):ef(e.nativeNode,t,i,r)}function Fo(e,t,i,r,l,h){const C=function Tb(e,t){const i=null===e?-1:e.index;return-1!==i?ni(t[i]):null}(e,t);if(11&e.type){if(qu(C,i,r,l,h),rr(e)){const S=_r(e.index,t);S&&S[Zt].firstChild&&Fo(S[Zt].firstChild,S,i,r,l,h)}else e.child&&Fo(e.child,t,i,r,l,h),C&&ef(C,i,r,l);const D=t[e.index];li(D)&&lb(D,i,r,l,h)}else if(4&e.type){const D=t[e.index];qu(D[bi],i,r,l,h),lb(D,i,r,l,h)}else if(16&e.type){const D=t[Rn],L=D[si].projection[e.projection];if(Array.isArray(L))for(let re of L)qu(re,i,r,l,h);else if(L){const re=D[kn];Fo(re[Zt].data[L.index],re,i,r,l,h)}}else e.child&&Fo(e.child,t,i,r,l,h);if(h!==C){const D=2&e.flags?e.projectionNext:e.next;D&&Fo(D,t,i,r,l,h)}}function lb(e,t,i,r,l){for(let h=ci;h<e.length;h++){const C=e[h],D=C[Zt].firstChild;D&&Fo(D,C,t,i,r,l)}}function qu(e,t,i,r,l){if(l!==e){const h=Es(e);if(!h)return;(r&&h instanceof ga&&t(h)&&-1===i.indexOf(h)||!r&&t(h)&&-1===i.indexOf(h))&&i.push(h)}}function ef(e,t,i,r){const l=e.childNodes,h=l.length;for(let C=0;C<h;C++){const D=l[C],S=Es(D);S&&((r&&S instanceof ga&&t(S)&&-1===i.indexOf(S)||!r&&t(S)&&-1===i.indexOf(S))&&i.push(S),ef(D,t,i,r))}}const nf="__ng_debug__";function Es(e){return e instanceof Node?(e.hasOwnProperty(nf)||(e[nf]=e.nodeType==Node.ELEMENT_NODE?new ga(e):new Ju(e)),e[nf]):null}class db{constructor(){}supports(t){return uc(t)}create(t){return new ub(t)}}const s1=(e,t)=>t;class ub{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||s1}forEachItem(t){let i;for(i=this._itHead;null!==i;i=i._next)t(i)}forEachOperation(t){let i=this._itHead,r=this._removalsHead,l=0,h=null;for(;i||r;){const C=!r||i&&i.currentIndex<hb(r,l,h)?i:r,D=hb(C,l,h),S=C.currentIndex;if(C===r)l--,r=r._nextRemoved;else if(i=i._next,null==C.previousIndex)l++;else{h||(h=[]);const L=D-l,re=S-l;if(L!=re){for(let mt=0;mt<L;mt++){const yt=mt<h.length?h[mt]:h[mt]=0,Ft=yt+mt;re<=Ft&&Ft<L&&(h[mt]=yt+1)}h[C.previousIndex]=re-L}}D!==S&&t(C,D,S)}}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=[]),!uc(t))throw new K(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let l,h,C,i=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let D=0;D<this.length;D++)h=t[D],C=this._trackByFn(D,h),null!==i&&Object.is(i.trackById,C)?(r&&(i=this._verifyReinsertion(i,h,C,D)),Object.is(i.item,h)||this._addIdentityChange(i,h)):(i=this._mismatch(i,h,C,D),r=!0),i=i._next}else l=0,function gw(e,t){if(Array.isArray(e))for(let i=0;i<e.length;i++)t(e[i]);else{const i=e[Symbol.iterator]();let r;for(;!(r=i.next()).done;)t(r.value)}}(t,D=>{C=this._trackByFn(l,D),null!==i&&Object.is(i.trackById,C)?(r&&(i=this._verifyReinsertion(i,D,C,l)),Object.is(i.item,D)||this._addIdentityChange(i,D)):(i=this._mismatch(i,D,C,l),r=!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,r,l){let h;return null===t?h=this._itTail:(h=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._reinsertAfter(t,h,l)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,l))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._moveAfter(t,h,l)):t=this._addAfter(new a1(i,r),h,l),t}_verifyReinsertion(t,i,r,l){let h=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==h?t=this._reinsertAfter(h,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,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const l=t._prevRemoved,h=t._nextRemoved;return null===l?this._removalsHead=h:l._nextRemoved=h,null===h?this._removalsTail=l:h._prevRemoved=l,this._insertAfter(t,i,r),this._addToMoves(t,r),t}_moveAfter(t,i,r){return this._unlink(t),this._insertAfter(t,i,r),this._addToMoves(t,r),t}_addAfter(t,i,r){return this._insertAfter(t,i,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,i,r){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 fb),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const i=t._prev,r=t._next;return null===i?this._itHead=r:i._next=r,null===r?this._itTail=i:r._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 fb),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 a1{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 c1{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 r;for(r=this._head;null!==r;r=r._nextDup)if((null===i||i<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const i=t._prevDup,r=t._nextDup;return null===i?this._head=r:i._nextDup=r,null===r?this._tail=i:r._prevDup=i,null===this._head}}class fb{constructor(){this.map=new Map}put(t){const i=t.trackById;let r=this.map.get(i);r||(r=new c1,this.map.set(i,r)),r.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 hb(e,t,i){const r=e.previousIndex;if(null===r)return r;let l=0;return i&&r<i.length&&(l=i[r]),r+t+l}class mb{constructor(){}supports(t){return t instanceof Map||pd(t)}create(){return new l1}}class l1{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||pd(t)))throw new K(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,(r,l)=>{if(i&&i.key===l)this._maybeAddToChanges(i,r),this._appendAfter=i,i=i._next;else{const h=this._getOrCreateRecordForKey(l,r);i=this._insertBeforeOrAppend(i,h)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let r=i;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,i){if(t){const r=t._prev;return i._next=t,i._prev=r,t._prev=i,r&&(r._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 h=l._prev,C=l._next;return h&&(h._next=C),C&&(C._prev=h),l._next=null,l._prev=null,l}const r=new d1(t);return this._records.set(t,r),r.currentValue=i,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,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(r=>i(t[r],r))}}class d1{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 pb(){return new rf([new db])}let rf=(()=>{var e;class t{constructor(r){this.factories=r}static create(r,l){if(null!=l){const h=l.factories.slice();r=r.concat(h)}return new t(r)}static extend(r){return{provide:t,useFactory:l=>t.create(r,l||pb()),deps:[[t,new Ia,new Ma]]}}find(r){const l=this.factories.find(h=>h.supports(r));if(null!=l)return l;throw new K(901,!1)}}return(e=t).\u0275prov=at({token:e,providedIn:"root",factory:pb}),t})();function gb(){return new sf([new mb])}let sf=(()=>{var e;class t{constructor(r){this.factories=r}static create(r,l){if(l){const h=l.factories.slice();r=r.concat(h)}return new t(r)}static extend(r){return{provide:t,useFactory:l=>t.create(r,l||gb()),deps:[[t,new Ia,new Ma]]}}find(r){const l=this.factories.find(h=>h.supports(r));if(l)return l;throw new K(901,!1)}}return(e=t).\u0275prov=at({token:e,providedIn:"root",factory:gb}),t})();const u1=[new mb],h1=new rf([new db]),m1=new sf(u1),p1=Yv(null,"core",[]);let g1=(()=>{var e;class t{constructor(r){}}return(e=t).\u0275fac=function(r){return new(r||e)(We(ws))},e.\u0275mod=dr({type:e}),e.\u0275inj=Me({}),t})();class _1{constructor(){this.views=[],this.indexByContent=new Map}add(t){const i=JSON.stringify(t);if(!this.indexByContent.has(i)){const r=this.views.length;return this.views.push(t),this.indexByContent.set(i,r),r}return this.indexByContent.get(i)}getAll(){return this.views}}let v1=0;function _b(e){return e.ssrId||(e.ssrId="t"+v1++),e.ssrId}function vb(e,t,i){const r=[];return ea(e,t,i,r),r.length}function b1(e){const t=[];return bp(e,t),t.length}function bb(e,t){const i=e[$n];return i&&!i.hasAttribute(Yo)?Vc(i,e,t):null}function yb(e,t){const i=Hc(e[$n]),r=bb(i,t),l=ni(i[$n]),C=Vc(l,e[kn],t);i[sn].setAttribute(l,Ks,`${r}|${C}`)}function y1(e,t){const i=new _1,r=new Map,l=e._views;for(const D of l){const S=ym(D);if(null!==S){const L={serializedViewCollection:i,corruptedTextNodes:r};li(S)?yb(S,L):bb(S,L),E1(r,t)}}const h=i.getAll();e.injector.get(Ws).set(Kl,h)}function C1(e,t){const i=[];let r="";for(let l=ci;l<e.length;l++){let C,D,S,h=e[l];if(Vr(h)&&(h=h[Dn],li(h))){D=b1(h)+1,yb(h,t);const re=Hc(h[$n]);S={[Wl]:re[Zt].ssrId,[ts]:D}}if(!S){const re=h[Zt];1===re.type?(C=re.ssrId,D=1):(C=_b(re),D=vb(re,h,re.firstChild)),S={[Wl]:C,[ts]:D,...wb(e[l],t)}}const L=JSON.stringify(S);if(i.length>0&&L===r){const re=i[i.length-1];re[Xa]??=1,re[Xa]++}else r=L,i.push(S)}return i}function af(e,t,i){const r=t.index-Dn;e[Gl]??={},e[Gl][r]=Pw(t,i)}function Cb(e,t){const i=t.index-Dn;e[Ja]??=[],e[Ja].includes(i)||e[Ja].push(i)}function wb(e,t){const i={},r=e[Zt];for(let l=Dn;l<r.bindingStartIndex;l++){const h=r.data[l],C=l-Dn;if(h){if(Eb(h,e)&&D1(h)){Cb(i,h);continue}if(Array.isArray(h.projection))for(const D of h.projection)if(D){if(Array.isArray(D))throw yw(ni(e[l]));!$r(D)&&!ka(D)&&(Eb(D,e)?Cb(i,D):af(i,D,e))}if(li(e[l])){const D=h.tView;null!==D&&(i[zl]??={},i[zl][C]=_b(D));const S=e[l][$n];if(Array.isArray(S)){const L=ni(S);L.hasAttribute(Yo)||Vc(L,S,t)}i[Gs]??={},i[Gs][C]=C1(e[l],t)}else if(Array.isArray(e[l])){const D=ni(e[l][$n]);D.hasAttribute(Yo)||Vc(D,e[l],t)}else if(8&h.type)i[Ul]??={},i[Ul][C]=vb(r,e,h.child);else if(16&h.type){let D=h.next;for(;null!==D&&16&D.type;)D=D.next;D&&!ka(D)&&af(i,D,e)}else{if(1&h.type){const D=ni(e[l]);""===D.textContent?t.corruptedTextNodes.set(D,"ngetn"):D.nextSibling?.nodeType===Node.TEXT_NODE&&t.corruptedTextNodes.set(D,"ngtns")}h.projectionNext&&h.projectionNext!==h.next&&!ka(h.projectionNext)&&af(i,h.projectionNext,e)}}}return i}function Vc(e,t,i){const r=t[sn];if(function lo(e){return 32==(32&e[hn])}(t)||function w1(e){const t=e[Un];return!!t?.constructor&&Sn(t.constructor)?.encapsulation===Ue.ShadowDom}(t))return r.setAttribute(e,Yo,""),null;{const l=wb(t,i),h=i.serializedViewCollection.add(l);return r.setAttribute(e,Ks,h.toString()),h}}function E1(e,t){for(const[i,r]of e)i.after(t.createComment(r))}function D1(e){let t=e;for(;null!=t;){if(rr(t))return!0;t=t.parent}return!1}function Eb(e,t){return!(16&e.type||!t[e.index]||ni(t[e.index]).isConnected)}let Db=!1;function S1(){return Rl([{provide:Js,useFactory:()=>{let e=!0;return rs()&&(e=!!rt(Ws,{optional:!0})?.get(Kl,null)),e&&rt(_m).add("hydration"),e}},{provide:zs,useValue:()=>{rs()&&rt(Js)&&(function M1(){const e=Xo();let t;for(const i of e.body.childNodes)if(i.nodeType===Node.COMMENT_NODE&&i.textContent?.trim()===vm){t=i;break}if(!t)throw new K(-507,!1)}(),function T1(){Db||(Db=!0,function G0(){bm=W0}(),function jw(){Wp=Lw}(),function fE(){gg=uE}(),function $w(){Gp=Vw}(),function kw(){$p=Fw}(),function LD(){X_=ND}(),function PD(){G_=OD}(),function IC(){op=MC}())}())},multi:!0},{provide:Gm,useFactory:()=>rs()&&rt(Js)},{provide:Qu,useFactory:()=>{if(rs()&&rt(Js)){const e=rt(ws);return rt(Rr),()=>{(function x1(e,t){return e.isStable.pipe((0,f.P)(r=>r)).toPromise().then(()=>{})})(e).then(()=>{Ai.assertInAngularZone(),function ID(e){const t=e._views;for(const i of t){const r=ym(i);null!==r&&null!==r[$n]&&(hi(r)?Pc(r):(Pc(r[$n]),W_(r)))}}(e)})}}return()=>{}},multi:!0}])}function I1(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function A1(e,t=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?t:Number(e)}function O1(e){return xi().compileDirectiveDeclaration(Xi,`ng:///${e.type.name}/\u0275fac.js`,e)}function P1(e){w_(e.type,e.decorators,e.ctorParameters??null,e.propDecorators??null)}function R1(e){return xi().compileComponentDeclaration(Xi,`ng:///${e.type.name}/\u0275cmp.js`,e)}function F1(e){return xi(function k1(e){switch(e){case Eo.Directive:return"directive";case Eo.Component:return"component";case Eo.Injectable:return"injectable";case Eo.Pipe:return"pipe";case Eo.NgModule:return"NgModule"}}(e.target)).compileFactoryDeclaration(Xi,`ng:///${e.type.name}/\u0275fac.js`,e)}function N1(e){return xi().compileInjectableDeclaration(Xi,`ng:///${e.type.name}/\u0275prov.js`,e)}function L1(e){return xi().compileInjectorDeclaration(Xi,`ng:///${e.type.name}/\u0275inj.js`,e)}function j1(e){return xi().compileNgModuleDeclaration(Xi,`ng:///${e.type.name}/\u0275mod.js`,e)}function B1(e){return xi().compilePipeDeclaration(Xi,`ng:///${e.type.name}/\u0275pipe.js`,e)}function V1(e,t){const i=Sn(e),r=t.elementInjector||Za();return new cs(i).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function $1(e){const t=Sn(e);if(!t)return null;const i=new cs(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},get isSignal(){return t.signals}}}function H1(...e){return e.reduce((t,i)=>Object.assign(t,i,{providers:[...t.providers,...i.providers]}),{providers:[]})}},6223:(Z,o,c)=>{"use strict";c.r(o),c.d(o,{AbstractControl:()=>It,AbstractControlDirective:()=>xe,AbstractFormGroupDirective:()=>Re,COMPOSITION_BUFFER_MODE:()=>_,CheckboxControlValueAccessor:()=>f,CheckboxRequiredValidator:()=>ti,ControlContainer:()=>at,DefaultValueAccessor:()=>w,EmailValidator:()=>Dn,FormArray:()=>li,FormArrayName:()=>mr,FormBuilder:()=>Di,FormControl:()=>Le,FormControlDirective:()=>qn,FormControlName:()=>Zt,FormGroup:()=>zt,FormGroupDirective:()=>ii,FormGroupName:()=>nr,FormRecord:()=>_e,FormsModule:()=>yo,MaxLengthValidator:()=>bi,MaxValidator:()=>vi,MinLengthValidator:()=>Cr,MinValidator:()=>fi,NG_ASYNC_VALIDATORS:()=>Y,NG_VALIDATORS:()=>M,NG_VALUE_ACCESSOR:()=>p,NgControl:()=>ge,NgControlStatus:()=>ht,NgControlStatusGroup:()=>gt,NgForm:()=>Nn,NgModel:()=>Vn,NgModelGroup:()=>bn,NgSelectOption:()=>si,NonNullableFormBuilder:()=>Vr,NumberValueAccessor:()=>qi,PatternValidator:()=>ir,RadioControlValueAccessor:()=>er,RangeValueAccessor:()=>fr,ReactiveFormsModule:()=>uo,RequiredValidator:()=>ai,SelectControlValueAccessor:()=>Oi,SelectMultipleControlValueAccessor:()=>sn,UntypedFormArray:()=>Br,UntypedFormBuilder:()=>$r,UntypedFormControl:()=>q,UntypedFormGroup:()=>ut,VERSION:()=>lo,Validators:()=>ne,isFormArray:()=>rr,isFormControl:()=>H,isFormGroup:()=>Xe,isFormRecord:()=>V,\u0275InternalFormsSharedModule:()=>hi,\u0275NgNoValidate:()=>Mi,\u0275NgSelectMultipleOption:()=>ji});var n=c(5879),a=c(6814),g=c(7715),m=c(9315),s=c(7398);let d=(()=>{var k;class P{constructor(N,Te){this._renderer=N,this._elementRef=Te,this.onChange=Vt=>{},this.onTouched=()=>{}}setProperty(N,Te){this._renderer.setProperty(this._elementRef.nativeElement,N,Te)}registerOnTouched(N){this.onTouched=N}registerOnChange(N){this.onChange=N}setDisabledState(N){this.setProperty("disabled",N)}}return(k=P).\u0275fac=function(N){return new(N||k)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k}),P})(),u=(()=>{var k;class P extends d{}return(k=P).\u0275fac=function(){let be;return function(Te){return(be||(be=n.\u0275\u0275getInheritedFactory(k)))(Te||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,features:[n.\u0275\u0275InheritDefinitionFeature]}),P})();const p=new n.InjectionToken("NgValueAccessor"),v={provide:p,useExisting:(0,n.forwardRef)(()=>f),multi:!0};let f=(()=>{var k;class P extends u{writeValue(N){this.setProperty("checked",N)}}return(k=P).\u0275fac=function(){let be;return function(Te){return(be||(be=n.\u0275\u0275getInheritedFactory(k)))(Te||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(N,Te){1&N&&n.\u0275\u0275listener("change",function(cn){return Te.onChange(cn.target.checked)})("blur",function(){return Te.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([v]),n.\u0275\u0275InheritDefinitionFeature]}),P})();const y={provide:p,useExisting:(0,n.forwardRef)(()=>w),multi:!0},_=new n.InjectionToken("CompositionEventMode");let w=(()=>{var k;class P extends d{constructor(N,Te,Vt){super(N,Te),this._compositionMode=Vt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function b(){const k=(0,a.\u0275getDOM)()?(0,a.\u0275getDOM)().getUserAgent():"";return/android (\d+)/.test(k.toLowerCase())}())}writeValue(N){this.setProperty("value",N??"")}_handleInput(N){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(N)}_compositionStart(){this._composing=!0}_compositionEnd(N){this._composing=!1,this._compositionMode&&this.onChange(N)}}return(k=P).\u0275fac=function(N){return new(N||k)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(_,8))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(N,Te){1&N&&n.\u0275\u0275listener("input",function(cn){return Te._handleInput(cn.target.value)})("blur",function(){return Te.onTouched()})("compositionstart",function(){return Te._compositionStart()})("compositionend",function(cn){return Te._compositionEnd(cn.target.value)})},features:[n.\u0275\u0275ProvidersFeature([y]),n.\u0275\u0275InheritDefinitionFeature]}),P})();function A(k){return null==k||("string"==typeof k||Array.isArray(k))&&0===k.length}function R(k){return null!=k&&"number"==typeof k.length}const M=new n.InjectionToken("NgValidators"),Y=new n.InjectionToken("NgAsyncValidators"),$=/^(?=.{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 ne{static min(P){return z(P)}static max(P){return K(P)}static required(P){return de(P)}static requiredTrue(P){return X(P)}static email(P){return fe(P)}static minLength(P){return he(P)}static maxLength(P){return ot(P)}static pattern(P){return we(P)}static nullValidator(P){return null}static compose(P){return ee(P)}static composeAsync(P){return j(P)}}function z(k){return P=>{if(A(P.value)||A(k))return null;const be=parseFloat(P.value);return!isNaN(be)&&be<k?{min:{min:k,actual:P.value}}:null}}function K(k){return P=>{if(A(P.value)||A(k))return null;const be=parseFloat(P.value);return!isNaN(be)&&be>k?{max:{max:k,actual:P.value}}:null}}function de(k){return A(k.value)?{required:!0}:null}function X(k){return!0===k.value?null:{required:!0}}function fe(k){return A(k.value)||$.test(k.value)?null:{email:!0}}function he(k){return P=>A(P.value)||!R(P.value)?null:P.value.length<k?{minlength:{requiredLength:k,actualLength:P.value.length}}:null}function ot(k){return P=>R(P.value)&&P.value.length>k?{maxlength:{requiredLength:k,actualLength:P.value.length}}:null}function we(k){if(!k)return tt;let P,be;return"string"==typeof k?(be="","^"!==k.charAt(0)&&(be+="^"),be+=k,"$"!==k.charAt(k.length-1)&&(be+="$"),P=new RegExp(be)):(be=k.toString(),P=k),N=>{if(A(N.value))return null;const Te=N.value;return P.test(Te)?null:{pattern:{requiredPattern:be,actualValue:Te}}}}function tt(k){return null}function nt(k){return null!=k}function Se(k){return(0,n.\u0275isPromise)(k)?(0,g.D)(k):k}function Ze(k){let P={};return k.forEach(be=>{P=null!=be?{...P,...be}:P}),0===Object.keys(P).length?null:P}function st(k,P){return P.map(be=>be(k))}function Ce(k){return k.map(P=>function W(k){return!k.validate}(P)?P:be=>P.validate(be))}function ee(k){if(!k)return null;const P=k.filter(nt);return 0==P.length?null:function(be){return Ze(st(be,P))}}function J(k){return null!=k?ee(Ce(k)):null}function j(k){if(!k)return null;const P=k.filter(nt);return 0==P.length?null:function(be){const N=st(be,P).map(Se);return(0,m.D)(N).pipe((0,s.U)(Ze))}}function G(k){return null!=k?j(Ce(k)):null}function Oe(k,P){return null===k?[P]:Array.isArray(k)?[...k,P]:[k,P]}function U(k){return k._rawValidators}function ae(k){return k._rawAsyncValidators}function Ee(k){return k?Array.isArray(k)?k:[k]:[]}function pe(k,P){return Array.isArray(k)?k.includes(P):k===P}function Ge(k,P){const be=Ee(P);return Ee(k).forEach(Te=>{pe(be,Te)||be.push(Te)}),be}function Be(k,P){return Ee(P).filter(be=>!pe(k,be))}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(P){this._rawValidators=P||[],this._composedValidatorFn=J(this._rawValidators)}_setAsyncValidators(P){this._rawAsyncValidators=P||[],this._composedAsyncValidatorFn=G(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(P){this._onDestroyCallbacks.push(P)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(P=>P()),this._onDestroyCallbacks=[]}reset(P=void 0){this.control&&this.control.reset(P)}hasError(P,be){return!!this.control&&this.control.hasError(P,be)}getError(P,be){return this.control?this.control.getError(P,be):null}}class at extends xe{get formDirective(){return null}get path(){return null}}class ge extends xe{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Me{constructor(P){this._cd=P}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let ht=(()=>{var k;class P extends Me{constructor(N){super(N)}}return(k=P).\u0275fac=function(N){return new(N||k)(n.\u0275\u0275directiveInject(ge,2))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(N,Te){2&N&&n.\u0275\u0275classProp("ng-untouched",Te.isUntouched)("ng-touched",Te.isTouched)("ng-pristine",Te.isPristine)("ng-dirty",Te.isDirty)("ng-valid",Te.isValid)("ng-invalid",Te.isInvalid)("ng-pending",Te.isPending)},features:[n.\u0275\u0275InheritDefinitionFeature]}),P})(),gt=(()=>{var k;class P extends Me{constructor(N){super(N)}}return(k=P).\u0275fac=function(N){return new(N||k)(n.\u0275\u0275directiveInject(at,10))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(N,Te){2&N&&n.\u0275\u0275classProp("ng-untouched",Te.isUntouched)("ng-touched",Te.isTouched)("ng-pristine",Te.isPristine)("ng-dirty",Te.isDirty)("ng-valid",Te.isValid)("ng-invalid",Te.isInvalid)("ng-pending",Te.isPending)("ng-submitted",Te.isSubmitted)},features:[n.\u0275\u0275InheritDefinitionFeature]}),P})();const wt="VALID",Lt="INVALID",Ut="PENDING",rn="DISABLED";function fn(k){return(St(k)?k.validators:k)||null}function Ct(k,P){return(St(P)?P.asyncValidators:k)||null}function St(k){return null!=k&&!Array.isArray(k)&&"object"==typeof k}function ze(k,P,be){const N=k.controls;if(!(P?Object.keys(N):N).length)throw new n.\u0275RuntimeError(1e3,"");if(!N[be])throw new n.\u0275RuntimeError(1001,"")}function lt(k,P,be){k._forEachChild((N,Te)=>{if(void 0===be[Te])throw new n.\u0275RuntimeError(1002,"")})}class It{constructor(P,be){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(P),this._assignAsyncValidators(be)}get validator(){return this._composedValidatorFn}set validator(P){this._rawValidators=this._composedValidatorFn=P}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(P){this._rawAsyncValidators=this._composedAsyncValidatorFn=P}get parent(){return this._parent}get valid(){return this.status===wt}get invalid(){return this.status===Lt}get pending(){return this.status==Ut}get disabled(){return this.status===rn}get enabled(){return this.status!==rn}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(P){this._assignValidators(P)}setAsyncValidators(P){this._assignAsyncValidators(P)}addValidators(P){this.setValidators(Ge(P,this._rawValidators))}addAsyncValidators(P){this.setAsyncValidators(Ge(P,this._rawAsyncValidators))}removeValidators(P){this.setValidators(Be(P,this._rawValidators))}removeAsyncValidators(P){this.setAsyncValidators(Be(P,this._rawAsyncValidators))}hasValidator(P){return pe(this._rawValidators,P)}hasAsyncValidator(P){return pe(this._rawAsyncValidators,P)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(P={}){this.touched=!0,this._parent&&!P.onlySelf&&this._parent.markAsTouched(P)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(P=>P.markAllAsTouched())}markAsUntouched(P={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(be=>{be.markAsUntouched({onlySelf:!0})}),this._parent&&!P.onlySelf&&this._parent._updateTouched(P)}markAsDirty(P={}){this.pristine=!1,this._parent&&!P.onlySelf&&this._parent.markAsDirty(P)}markAsPristine(P={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(be=>{be.markAsPristine({onlySelf:!0})}),this._parent&&!P.onlySelf&&this._parent._updatePristine(P)}markAsPending(P={}){this.status=Ut,!1!==P.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!P.onlySelf&&this._parent.markAsPending(P)}disable(P={}){const be=this._parentMarkedDirty(P.onlySelf);this.status=rn,this.errors=null,this._forEachChild(N=>{N.disable({...P,onlySelf:!0})}),this._updateValue(),!1!==P.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...P,skipPristineCheck:be}),this._onDisabledChange.forEach(N=>N(!0))}enable(P={}){const be=this._parentMarkedDirty(P.onlySelf);this.status=wt,this._forEachChild(N=>{N.enable({...P,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:P.emitEvent}),this._updateAncestors({...P,skipPristineCheck:be}),this._onDisabledChange.forEach(N=>N(!1))}_updateAncestors(P){this._parent&&!P.onlySelf&&(this._parent.updateValueAndValidity(P),P.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(P){this._parent=P}getRawValue(){return this.value}updateValueAndValidity(P={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===wt||this.status===Ut)&&this._runAsyncValidator(P.emitEvent)),!1!==P.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!P.onlySelf&&this._parent.updateValueAndValidity(P)}_updateTreeValidity(P={emitEvent:!0}){this._forEachChild(be=>be._updateTreeValidity(P)),this.updateValueAndValidity({onlySelf:!0,emitEvent:P.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?rn:wt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(P){if(this.asyncValidator){this.status=Ut,this._hasOwnPendingAsyncValidator=!0;const be=Se(this.asyncValidator(this));this._asyncValidationSubscription=be.subscribe(N=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(N,{emitEvent:P})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(P,be={}){this.errors=P,this._updateControlsErrors(!1!==be.emitEvent)}get(P){let be=P;return null==be||(Array.isArray(be)||(be=be.split(".")),0===be.length)?null:be.reduce((N,Te)=>N&&N._find(Te),this)}getError(P,be){const N=be?this.get(be):this;return N&&N.errors?N.errors[P]:null}hasError(P,be){return!!this.getError(P,be)}get root(){let P=this;for(;P._parent;)P=P._parent;return P}_updateControlsErrors(P){this.status=this._calculateStatus(),P&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(P)}_initObservables(){this.valueChanges=new n.EventEmitter,this.statusChanges=new n.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?rn:this.errors?Lt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ut)?Ut:this._anyControlsHaveStatus(Lt)?Lt:wt}_anyControlsHaveStatus(P){return this._anyControls(be=>be.status===P)}_anyControlsDirty(){return this._anyControls(P=>P.dirty)}_anyControlsTouched(){return this._anyControls(P=>P.touched)}_updatePristine(P={}){this.pristine=!this._anyControlsDirty(),this._parent&&!P.onlySelf&&this._parent._updatePristine(P)}_updateTouched(P={}){this.touched=this._anyControlsTouched(),this._parent&&!P.onlySelf&&this._parent._updateTouched(P)}_registerOnCollectionChange(P){this._onCollectionChange=P}_setUpdateStrategy(P){St(P)&&null!=P.updateOn&&(this._updateOn=P.updateOn)}_parentMarkedDirty(P){return!P&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(P){return null}_assignValidators(P){this._rawValidators=Array.isArray(P)?P.slice():P,this._composedValidatorFn=function vn(k){return Array.isArray(k)?J(k):k||null}(this._rawValidators)}_assignAsyncValidators(P){this._rawAsyncValidators=Array.isArray(P)?P.slice():P,this._composedAsyncValidatorFn=function it(k){return Array.isArray(k)?G(k):k||null}(this._rawAsyncValidators)}}class zt extends It{constructor(P,be,N){super(fn(be),Ct(N,be)),this.controls=P,this._initObservables(),this._setUpdateStrategy(be),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(P,be){return this.controls[P]?this.controls[P]:(this.controls[P]=be,be.setParent(this),be._registerOnCollectionChange(this._onCollectionChange),be)}addControl(P,be,N={}){this.registerControl(P,be),this.updateValueAndValidity({emitEvent:N.emitEvent}),this._onCollectionChange()}removeControl(P,be={}){this.controls[P]&&this.controls[P]._registerOnCollectionChange(()=>{}),delete this.controls[P],this.updateValueAndValidity({emitEvent:be.emitEvent}),this._onCollectionChange()}setControl(P,be,N={}){this.controls[P]&&this.controls[P]._registerOnCollectionChange(()=>{}),delete this.controls[P],be&&this.registerControl(P,be),this.updateValueAndValidity({emitEvent:N.emitEvent}),this._onCollectionChange()}contains(P){return this.controls.hasOwnProperty(P)&&this.controls[P].enabled}setValue(P,be={}){lt(this,0,P),Object.keys(P).forEach(N=>{ze(this,!0,N),this.controls[N].setValue(P[N],{onlySelf:!0,emitEvent:be.emitEvent})}),this.updateValueAndValidity(be)}patchValue(P,be={}){null!=P&&(Object.keys(P).forEach(N=>{const Te=this.controls[N];Te&&Te.patchValue(P[N],{onlySelf:!0,emitEvent:be.emitEvent})}),this.updateValueAndValidity(be))}reset(P={},be={}){this._forEachChild((N,Te)=>{N.reset(P[Te],{onlySelf:!0,emitEvent:be.emitEvent})}),this._updatePristine(be),this._updateTouched(be),this.updateValueAndValidity(be)}getRawValue(){return this._reduceChildren({},(P,be,N)=>(P[N]=be.getRawValue(),P))}_syncPendingControls(){let P=this._reduceChildren(!1,(be,N)=>!!N._syncPendingControls()||be);return P&&this.updateValueAndValidity({onlySelf:!0}),P}_forEachChild(P){Object.keys(this.controls).forEach(be=>{const N=this.controls[be];N&&P(N,be)})}_setUpControls(){this._forEachChild(P=>{P.setParent(this),P._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(P){for(const[be,N]of Object.entries(this.controls))if(this.contains(be)&&P(N))return!0;return!1}_reduceValue(){return this._reduceChildren({},(be,N,Te)=>((N.enabled||this.disabled)&&(be[Te]=N.value),be))}_reduceChildren(P,be){let N=P;return this._forEachChild((Te,Vt)=>{N=be(N,Te,Vt)}),N}_allControlsDisabled(){for(const P of Object.keys(this.controls))if(this.controls[P].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(P){return this.controls.hasOwnProperty(P)?this.controls[P]:null}}const ut=zt,Xe=k=>k instanceof zt;class _e extends zt{}const V=k=>k instanceof _e,ce=new n.InjectionToken("CallSetDisabledState",{providedIn:"root",factory:()=>ie}),ie="always";function We(k,P){return[...P.path,k]}function Pe(k,P,be=ie){Ae(k,P),P.valueAccessor.writeValue(k.value),(k.disabled||"always"===be)&&P.valueAccessor.setDisabledState?.(k.disabled),function kt(k,P){P.valueAccessor.registerOnChange(be=>{k._pendingValue=be,k._pendingChange=!0,k._pendingDirty=!0,"change"===k.updateOn&&un(k,P)})}(k,P),function gn(k,P){const be=(N,Te)=>{P.valueAccessor.writeValue(N),Te&&P.viewToModelUpdate(N)};k.registerOnChange(be),P._registerOnDestroy(()=>{k._unregisterOnChange(be)})}(k,P),function En(k,P){P.valueAccessor.registerOnTouched(()=>{k._pendingTouched=!0,"blur"===k.updateOn&&k._pendingChange&&un(k,P),"submit"!==k.updateOn&&k.markAsTouched()})}(k,P),function ue(k,P){if(P.valueAccessor.setDisabledState){const be=N=>{P.valueAccessor.setDisabledState(N)};k.registerOnDisabledChange(be),P._registerOnDestroy(()=>{k._unregisterOnDisabledChange(be)})}}(k,P)}function rt(k,P,be=!0){const N=()=>{};P.valueAccessor&&(P.valueAccessor.registerOnChange(N),P.valueAccessor.registerOnTouched(N)),bt(k,P),k&&(P._invokeOnDestroyCallbacks(),k._registerOnCollectionChange(()=>{}))}function Tt(k,P){k.forEach(be=>{be.registerOnValidatorChange&&be.registerOnValidatorChange(P)})}function Ae(k,P){const be=U(k);null!==P.validator?k.setValidators(Oe(be,P.validator)):"function"==typeof be&&k.setValidators([be]);const N=ae(k);null!==P.asyncValidator?k.setAsyncValidators(Oe(N,P.asyncValidator)):"function"==typeof N&&k.setAsyncValidators([N]);const Te=()=>k.updateValueAndValidity();Tt(P._rawValidators,Te),Tt(P._rawAsyncValidators,Te)}function bt(k,P){let be=!1;if(null!==k){if(null!==P.validator){const Te=U(k);if(Array.isArray(Te)&&Te.length>0){const Vt=Te.filter(cn=>cn!==P.validator);Vt.length!==Te.length&&(be=!0,k.setValidators(Vt))}}if(null!==P.asyncValidator){const Te=ae(k);if(Array.isArray(Te)&&Te.length>0){const Vt=Te.filter(cn=>cn!==P.asyncValidator);Vt.length!==Te.length&&(be=!0,k.setAsyncValidators(Vt))}}}const N=()=>{};return Tt(P._rawValidators,N),Tt(P._rawAsyncValidators,N),be}function un(k,P){k._pendingDirty&&k.markAsDirty(),k.setValue(k._pendingValue,{emitModelToViewChange:!1}),P.viewToModelUpdate(k._pendingValue),k._pendingChange=!1}function Ue(k,P){Ae(k,P)}function Gt(k,P){if(!k.hasOwnProperty("model"))return!1;const be=k.model;return!!be.isFirstChange()||!Object.is(P,be.currentValue)}function on(k,P){k._syncPendingControls(),P.forEach(be=>{const N=be.control;"submit"===N.updateOn&&N._pendingChange&&(be.viewToModelUpdate(N._pendingValue),N._pendingChange=!1)})}function Pn(k,P){if(!P)return null;let be,N,Te;return Array.isArray(P),P.forEach(Vt=>{Vt.constructor===w?be=Vt:function tn(k){return Object.getPrototypeOf(k.constructor)===u}(Vt)?N=Vt:Te=Vt}),Te||N||be||null}const Gn={provide:at,useExisting:(0,n.forwardRef)(()=>Nn)},Kn=(()=>Promise.resolve())();let Nn=(()=>{var k;class P extends at{constructor(N,Te,Vt){super(),this.callSetDisabledState=Vt,this.submitted=!1,this._directives=new Set,this.ngSubmit=new n.EventEmitter,this.form=new zt({},J(N),G(Te))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(N){Kn.then(()=>{const Te=this._findContainer(N.path);N.control=Te.registerControl(N.name,N.control),Pe(N.control,N,this.callSetDisabledState),N.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(N)})}getControl(N){return this.form.get(N.path)}removeControl(N){Kn.then(()=>{const Te=this._findContainer(N.path);Te&&Te.removeControl(N.name),this._directives.delete(N)})}addFormGroup(N){Kn.then(()=>{const Te=this._findContainer(N.path),Vt=new zt({});Ue(Vt,N),Te.registerControl(N.name,Vt),Vt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(N){Kn.then(()=>{const Te=this._findContainer(N.path);Te&&Te.removeControl(N.name)})}getFormGroup(N){return this.form.get(N.path)}updateModel(N,Te){Kn.then(()=>{this.form.get(N.path).setValue(Te)})}setValue(N){this.control.setValue(N)}onSubmit(N){return this.submitted=!0,on(this.form,this._directives),this.ngSubmit.emit(N),"dialog"===N?.target?.method}onReset(){this.resetForm()}resetForm(N=void 0){this.form.reset(N),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(N){return N.pop(),N.length?this.form.get(N):this.form}}return(k=P).\u0275fac=function(N){return new(N||k)(n.\u0275\u0275directiveInject(M,10),n.\u0275\u0275directiveInject(Y,10),n.\u0275\u0275directiveInject(ce,8))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(N,Te){1&N&&n.\u0275\u0275listener("submit",function(cn){return Te.onSubmit(cn)})("reset",function(){return Te.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([Gn]),n.\u0275\u0275InheritDefinitionFeature]}),P})();function oe(k,P){const be=k.indexOf(P);be>-1&&k.splice(be,1)}function ve(k){return"object"==typeof k&&null!==k&&2===Object.keys(k).length&&"value"in k&&"disabled"in k}const Le=class extends It{constructor(P=null,be,N){super(fn(be),Ct(N,be)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(P),this._setUpdateStrategy(be),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),St(be)&&(be.nonNullable||be.initialValueIsDefault)&&(this.defaultValue=ve(P)?P.value:P)}setValue(P,be={}){this.value=this._pendingValue=P,this._onChange.length&&!1!==be.emitModelToViewChange&&this._onChange.forEach(N=>N(this.value,!1!==be.emitViewToModelChange)),this.updateValueAndValidity(be)}patchValue(P,be={}){this.setValue(P,be)}reset(P=this.defaultValue,be={}){this._applyFormState(P),this.markAsPristine(be),this.markAsUntouched(be),this.setValue(this.value,be),this._pendingChange=!1}_updateValue(){}_anyControls(P){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(P){this._onChange.push(P)}_unregisterOnChange(P){oe(this._onChange,P)}registerOnDisabledChange(P){this._onDisabledChange.push(P)}_unregisterOnDisabledChange(P){oe(this._onDisabledChange,P)}_forEachChild(P){}_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(P){ve(P)?(this.value=this._pendingValue=P.value,P.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=P}},q=Le,H=k=>k instanceof Le;let Re=(()=>{var k;class P extends at{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return We(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}return(k=P).\u0275fac=function(){let be;return function(Te){return(be||(be=n.\u0275\u0275getInheritedFactory(k)))(Te||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,features:[n.\u0275\u0275InheritDefinitionFeature]}),P})();const jt={provide:at,useExisting:(0,n.forwardRef)(()=>bn)};let bn=(()=>{var k;class P extends Re{constructor(N,Te,Vt){super(),this.name="",this._parent=N,this._setValidators(Te),this._setAsyncValidators(Vt)}_checkParentType(){}}return(k=P).\u0275fac=function(N){return new(N||k)(n.\u0275\u0275directiveInject(at,5),n.\u0275\u0275directiveInject(M,10),n.\u0275\u0275directiveInject(Y,10))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[n.\u0275\u0275ProvidersFeature([jt]),n.\u0275\u0275InheritDefinitionFeature]}),P})();const Mn={provide:ge,useExisting:(0,n.forwardRef)(()=>Vn)},Yn=(()=>Promise.resolve())();let Vn=(()=>{var k;class P extends ge{constructor(N,Te,Vt,cn,gi,Vi){super(),this._changeDetectorRef=gi,this.callSetDisabledState=Vi,this.control=new Le,this._registered=!1,this.name="",this.update=new n.EventEmitter,this._parent=N,this._setValidators(Te),this._setAsyncValidators(Vt),this.valueAccessor=Pn(0,cn)}ngOnChanges(N){if(this._checkForErrors(),!this._registered||"name"in N){if(this._registered&&(this._checkName(),this.formDirective)){const Te=N.name.previousValue;this.formDirective.removeControl({name:Te,path:this._getPath(Te)})}this._setUpControl()}"isDisabled"in N&&this._updateDisabled(N),Gt(N,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(N){this.viewModel=N,this.update.emit(N)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Pe(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(N){Yn.then(()=>{this.control.setValue(N,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(N){const Te=N.isDisabled.currentValue,Vt=0!==Te&&(0,n.booleanAttribute)(Te);Yn.then(()=>{Vt&&!this.control.disabled?this.control.disable():!Vt&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(N){return this._parent?We(N,this._parent):[N]}}return(k=P).\u0275fac=function(N){return new(N||k)(n.\u0275\u0275directiveInject(at,9),n.\u0275\u0275directiveInject(M,10),n.\u0275\u0275directiveInject(Y,10),n.\u0275\u0275directiveInject(p,10),n.\u0275\u0275directiveInject(n.ChangeDetectorRef,8),n.\u0275\u0275directiveInject(ce,8))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,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([Mn]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),P})(),Mi=(()=>{var k;class P{}return(k=P).\u0275fac=function(N){return new(N||k)},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),P})();const oi={provide:p,useExisting:(0,n.forwardRef)(()=>qi),multi:!0};let qi=(()=>{var k;class P extends u{writeValue(N){this.setProperty("value",N??"")}registerOnChange(N){this.onChange=Te=>{N(""==Te?null:parseFloat(Te))}}}return(k=P).\u0275fac=function(){let be;return function(Te){return(be||(be=n.\u0275\u0275getInheritedFactory(k)))(Te||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(N,Te){1&N&&n.\u0275\u0275listener("input",function(cn){return Te.onChange(cn.target.value)})("blur",function(){return Te.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([oi]),n.\u0275\u0275InheritDefinitionFeature]}),P})();const Ir={provide:p,useExisting:(0,n.forwardRef)(()=>er),multi:!0};let dr=(()=>{var k;class P{}return(k=P).\u0275fac=function(N){return new(N||k)},k.\u0275mod=n.\u0275\u0275defineNgModule({type:k}),k.\u0275inj=n.\u0275\u0275defineInjector({}),P})(),Lr=(()=>{var k;class P{constructor(){this._accessors=[]}add(N,Te){this._accessors.push([N,Te])}remove(N){for(let Te=this._accessors.length-1;Te>=0;--Te)if(this._accessors[Te][1]===N)return void this._accessors.splice(Te,1)}select(N){this._accessors.forEach(Te=>{this._isSameGroup(Te,N)&&Te[1]!==N&&Te[1].fireUncheck(N.value)})}_isSameGroup(N,Te){return!!N[0].control&&N[0]._parent===Te._control._parent&&N[1].name===Te.name}}return(k=P).\u0275fac=function(N){return new(N||k)},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac,providedIn:dr}),P})(),er=(()=>{var k;class P extends u{constructor(N,Te,Vt,cn){super(N,Te),this._registry=Vt,this._injector=cn,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,n.inject)(ce,{optional:!0})??ie}ngOnInit(){this._control=this._injector.get(ge),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(N){this._state=N===this.value,this.setProperty("checked",this._state)}registerOnChange(N){this._fn=N,this.onChange=()=>{N(this.value),this._registry.select(this)}}setDisabledState(N){(this.setDisabledStateFired||N||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",N),this.setDisabledStateFired=!0}fireUncheck(N){this.writeValue(N)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return(k=P).\u0275fac=function(N){return new(N||k)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(Lr),n.\u0275\u0275directiveInject(n.Injector))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(N,Te){1&N&&n.\u0275\u0275listener("change",function(){return Te.onChange()})("blur",function(){return Te.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[n.\u0275\u0275ProvidersFeature([Ir]),n.\u0275\u0275InheritDefinitionFeature]}),P})();const ur={provide:p,useExisting:(0,n.forwardRef)(()=>fr),multi:!0};let fr=(()=>{var k;class P extends u{writeValue(N){this.setProperty("value",parseFloat(N))}registerOnChange(N){this.onChange=Te=>{N(""==Te?null:parseFloat(Te))}}}return(k=P).\u0275fac=function(){let be;return function(Te){return(be||(be=n.\u0275\u0275getInheritedFactory(k)))(Te||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(N,Te){1&N&&n.\u0275\u0275listener("change",function(cn){return Te.onChange(cn.target.value)})("input",function(cn){return Te.onChange(cn.target.value)})("blur",function(){return Te.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([ur]),n.\u0275\u0275InheritDefinitionFeature]}),P})();const Sn=new n.InjectionToken("NgModelWithFormControlWarning"),Jn={provide:ge,useExisting:(0,n.forwardRef)(()=>qn)};let qn=(()=>{var k;class P extends ge{set isDisabled(N){}constructor(N,Te,Vt,cn,gi){super(),this._ngModelWarningConfig=cn,this.callSetDisabledState=gi,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(N),this._setAsyncValidators(Te),this.valueAccessor=Pn(0,Vt)}ngOnChanges(N){if(this._isControlChanged(N)){const Te=N.form.previousValue;Te&&rt(Te,this,!1),Pe(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Gt(N,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&rt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(N){this.viewModel=N,this.update.emit(N)}_isControlChanged(N){return N.hasOwnProperty("form")}}return(k=P)._ngModelWarningSentOnce=!1,k.\u0275fac=function(N){return new(N||k)(n.\u0275\u0275directiveInject(M,10),n.\u0275\u0275directiveInject(Y,10),n.\u0275\u0275directiveInject(p,10),n.\u0275\u0275directiveInject(Sn,8),n.\u0275\u0275directiveInject(ce,8))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([Jn]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),P})();const tr={provide:at,useExisting:(0,n.forwardRef)(()=>ii)};let ii=(()=>{var k;class P extends at{constructor(N,Te,Vt){super(),this.callSetDisabledState=Vt,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new n.EventEmitter,this._setValidators(N),this._setAsyncValidators(Te)}ngOnChanges(N){this._checkFormPresent(),N.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(bt(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(N){const Te=this.form.get(N.path);return Pe(Te,N,this.callSetDisabledState),Te.updateValueAndValidity({emitEvent:!1}),this.directives.push(N),Te}getControl(N){return this.form.get(N.path)}removeControl(N){rt(N.control||null,N,!1),function Hn(k,P){const be=k.indexOf(P);be>-1&&k.splice(be,1)}(this.directives,N)}addFormGroup(N){this._setUpFormContainer(N)}removeFormGroup(N){this._cleanUpFormContainer(N)}getFormGroup(N){return this.form.get(N.path)}addFormArray(N){this._setUpFormContainer(N)}removeFormArray(N){this._cleanUpFormContainer(N)}getFormArray(N){return this.form.get(N.path)}updateModel(N,Te){this.form.get(N.path).setValue(Te)}onSubmit(N){return this.submitted=!0,on(this.form,this.directives),this.ngSubmit.emit(N),"dialog"===N?.target?.method}onReset(){this.resetForm()}resetForm(N=void 0){this.form.reset(N),this.submitted=!1}_updateDomValue(){this.directives.forEach(N=>{const Te=N.control,Vt=this.form.get(N.path);Te!==Vt&&(rt(Te||null,N),H(Vt)&&(Pe(Vt,N,this.callSetDisabledState),N.control=Vt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(N){const Te=this.form.get(N.path);Ue(Te,N),Te.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(N){if(this.form){const Te=this.form.get(N.path);Te&&function Fe(k,P){return bt(k,P)}(Te,N)&&Te.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Ae(this.form,this),this._oldForm&&bt(this._oldForm,this)}_checkFormPresent(){}}return(k=P).\u0275fac=function(N){return new(N||k)(n.\u0275\u0275directiveInject(M,10),n.\u0275\u0275directiveInject(Y,10),n.\u0275\u0275directiveInject(ce,8))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","formGroup",""]],hostBindings:function(N,Te){1&N&&n.\u0275\u0275listener("submit",function(cn){return Te.onSubmit(cn)})("reset",function(){return Te.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([tr]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),P})();const Ar={provide:at,useExisting:(0,n.forwardRef)(()=>nr)};let nr=(()=>{var k;class P extends Re{constructor(N,Te,Vt){super(),this.name=null,this._parent=N,this._setValidators(Te),this._setAsyncValidators(Vt)}_checkParentType(){Or(this._parent)}}return(k=P).\u0275fac=function(N){return new(N||k)(n.\u0275\u0275directiveInject(at,13),n.\u0275\u0275directiveInject(M,10),n.\u0275\u0275directiveInject(Y,10))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[n.\u0275\u0275ProvidersFeature([Ar]),n.\u0275\u0275InheritDefinitionFeature]}),P})();const hr={provide:at,useExisting:(0,n.forwardRef)(()=>mr)};let mr=(()=>{var k;class P extends at{constructor(N,Te,Vt){super(),this.name=null,this._parent=N,this._setValidators(Te),this._setAsyncValidators(Vt)}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 We(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Or(this._parent)}}return(k=P).\u0275fac=function(N){return new(N||k)(n.\u0275\u0275directiveInject(at,13),n.\u0275\u0275directiveInject(M,10),n.\u0275\u0275directiveInject(Y,10))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[n.\u0275\u0275ProvidersFeature([hr]),n.\u0275\u0275InheritDefinitionFeature]}),P})();function Or(k){return!(k instanceof nr||k instanceof ii||k instanceof mr)}const $n={provide:ge,useExisting:(0,n.forwardRef)(()=>Zt)};let Zt=(()=>{var k;class P extends ge{set isDisabled(N){}constructor(N,Te,Vt,cn,gi){super(),this._ngModelWarningConfig=gi,this._added=!1,this.name=null,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._parent=N,this._setValidators(Te),this._setAsyncValidators(Vt),this.valueAccessor=Pn(0,cn)}ngOnChanges(N){this._added||this._setUpControl(),Gt(N,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(N){this.viewModel=N,this.update.emit(N)}get path(){return We(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(k=P)._ngModelWarningSentOnce=!1,k.\u0275fac=function(N){return new(N||k)(n.\u0275\u0275directiveInject(at,13),n.\u0275\u0275directiveInject(M,10),n.\u0275\u0275directiveInject(Y,10),n.\u0275\u0275directiveInject(p,10),n.\u0275\u0275directiveInject(Sn,8))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[n.\u0275\u0275ProvidersFeature([$n]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),P})();const hn={provide:p,useExisting:(0,n.forwardRef)(()=>Oi),multi:!0};function kn(k,P){return null==k?`${P}`:(P&&"object"==typeof P&&(P="Object"),`${k}: ${P}`.slice(0,50))}let Oi=(()=>{var k;class P extends u{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(N){this._compareWith=N}writeValue(N){this.value=N;const Vt=kn(this._getOptionId(N),N);this.setProperty("value",Vt)}registerOnChange(N){this.onChange=Te=>{this.value=this._getOptionValue(Te),N(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(N){for(const Te of this._optionMap.keys())if(this._compareWith(this._optionMap.get(Te),N))return Te;return null}_getOptionValue(N){const Te=function _i(k){return k.split(":")[0]}(N);return this._optionMap.has(Te)?this._optionMap.get(Te):N}}return(k=P).\u0275fac=function(){let be;return function(Te){return(be||(be=n.\u0275\u0275getInheritedFactory(k)))(Te||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(N,Te){1&N&&n.\u0275\u0275listener("change",function(cn){return Te.onChange(cn.target.value)})("blur",function(){return Te.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([hn]),n.\u0275\u0275InheritDefinitionFeature]}),P})(),si=(()=>{var k;class P{constructor(N,Te,Vt){this._element=N,this._renderer=Te,this._select=Vt,this._select&&(this.id=this._select._registerOption())}set ngValue(N){null!=this._select&&(this._select._optionMap.set(this.id,N),this._setElementValue(kn(this.id,N)),this._select.writeValue(this._select.value))}set value(N){this._setElementValue(N),this._select&&this._select.writeValue(this._select.value)}_setElementValue(N){this._renderer.setProperty(this._element.nativeElement,"value",N)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return(k=P).\u0275fac=function(N){return new(N||k)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(Oi,9))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),P})();const Ui={provide:p,useExisting:(0,n.forwardRef)(()=>sn),multi:!0};function Un(k,P){return null==k?`${P}`:("string"==typeof P&&(P=`'${P}'`),P&&"object"==typeof P&&(P="Object"),`${k}: ${P}`.slice(0,50))}let sn=(()=>{var k;class P extends u{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(N){this._compareWith=N}writeValue(N){let Te;if(this.value=N,Array.isArray(N)){const Vt=N.map(cn=>this._getOptionId(cn));Te=(cn,gi)=>{cn._setSelected(Vt.indexOf(gi.toString())>-1)}}else Te=(Vt,cn)=>{Vt._setSelected(!1)};this._optionMap.forEach(Te)}registerOnChange(N){this.onChange=Te=>{const Vt=[],cn=Te.selectedOptions;if(void 0!==cn){const gi=cn;for(let Vi=0;Vi<gi.length;Vi++){const Jr=this._getOptionValue(gi[Vi].value);Vt.push(Jr)}}else{const gi=Te.options;for(let Vi=0;Vi<gi.length;Vi++){const Xr=gi[Vi];if(Xr.selected){const Jr=this._getOptionValue(Xr.value);Vt.push(Jr)}}}this.value=Vt,N(Vt)}}_registerOption(N){const Te=(this._idCounter++).toString();return this._optionMap.set(Te,N),Te}_getOptionId(N){for(const Te of this._optionMap.keys())if(this._compareWith(this._optionMap.get(Te)._value,N))return Te;return null}_getOptionValue(N){const Te=function Xn(k){return k.split(":")[0]}(N);return this._optionMap.has(Te)?this._optionMap.get(Te)._value:N}}return(k=P).\u0275fac=function(){let be;return function(Te){return(be||(be=n.\u0275\u0275getInheritedFactory(k)))(Te||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(N,Te){1&N&&n.\u0275\u0275listener("change",function(cn){return Te.onChange(cn.target)})("blur",function(){return Te.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([Ui]),n.\u0275\u0275InheritDefinitionFeature]}),P})(),ji=(()=>{var k;class P{constructor(N,Te,Vt){this._element=N,this._renderer=Te,this._select=Vt,this._select&&(this.id=this._select._registerOption(this))}set ngValue(N){null!=this._select&&(this._value=N,this._setElementValue(Un(this.id,N)),this._select.writeValue(this._select.value))}set value(N){this._select?(this._value=N,this._setElementValue(Un(this.id,N)),this._select.writeValue(this._select.value)):this._setElementValue(N)}_setElementValue(N){this._renderer.setProperty(this._element.nativeElement,"value",N)}_setSelected(N){this._renderer.setProperty(this._element.nativeElement,"selected",N)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return(k=P).\u0275fac=function(N){return new(N||k)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(sn,9))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),P})();function yr(k){return"number"==typeof k?k:parseInt(k,10)}function zi(k){return"number"==typeof k?k:parseFloat(k)}let Rn=(()=>{var k;class P{constructor(){this._validator=tt}ngOnChanges(N){if(this.inputName in N){const Te=this.normalizeInput(N[this.inputName].currentValue);this._enabled=this.enabled(Te),this._validator=this._enabled?this.createValidator(Te):tt,this._onChange&&this._onChange()}}validate(N){return this._validator(N)}registerOnValidatorChange(N){this._onChange=N}enabled(N){return null!=N}}return(k=P).\u0275fac=function(N){return new(N||k)},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,features:[n.\u0275\u0275NgOnChangesFeature]}),P})();const pr={provide:M,useExisting:(0,n.forwardRef)(()=>vi),multi:!0};let vi=(()=>{var k;class P extends Rn{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=N=>zi(N),this.createValidator=N=>K(N)}}return(k=P).\u0275fac=function(){let be;return function(Te){return(be||(be=n.\u0275\u0275getInheritedFactory(k)))(Te||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(N,Te){2&N&&n.\u0275\u0275attribute("max",Te._enabled?Te.max:null)},inputs:{max:"max"},features:[n.\u0275\u0275ProvidersFeature([pr]),n.\u0275\u0275InheritDefinitionFeature]}),P})();const ei={provide:M,useExisting:(0,n.forwardRef)(()=>fi),multi:!0};let fi=(()=>{var k;class P extends Rn{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=N=>zi(N),this.createValidator=N=>z(N)}}return(k=P).\u0275fac=function(){let be;return function(Te){return(be||(be=n.\u0275\u0275getInheritedFactory(k)))(Te||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(N,Te){2&N&&n.\u0275\u0275attribute("min",Te._enabled?Te.min:null)},inputs:{min:"min"},features:[n.\u0275\u0275ProvidersFeature([ei]),n.\u0275\u0275InheritDefinitionFeature]}),P})();const Pi={provide:M,useExisting:(0,n.forwardRef)(()=>ai),multi:!0},Wi={provide:M,useExisting:(0,n.forwardRef)(()=>ti),multi:!0};let ai=(()=>{var k;class P extends Rn{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=n.booleanAttribute,this.createValidator=N=>de}enabled(N){return N}}return(k=P).\u0275fac=function(){let be;return function(Te){return(be||(be=n.\u0275\u0275getInheritedFactory(k)))(Te||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(N,Te){2&N&&n.\u0275\u0275attribute("required",Te._enabled?"":null)},inputs:{required:"required"},features:[n.\u0275\u0275ProvidersFeature([Pi]),n.\u0275\u0275InheritDefinitionFeature]}),P})(),ti=(()=>{var k;class P extends ai{constructor(){super(...arguments),this.createValidator=N=>X}}return(k=P).\u0275fac=function(){let be;return function(Te){return(be||(be=n.\u0275\u0275getInheritedFactory(k)))(Te||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(N,Te){2&N&&n.\u0275\u0275attribute("required",Te._enabled?"":null)},features:[n.\u0275\u0275ProvidersFeature([Wi]),n.\u0275\u0275InheritDefinitionFeature]}),P})();const Ri={provide:M,useExisting:(0,n.forwardRef)(()=>Dn),multi:!0};let Dn=(()=>{var k;class P extends Rn{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=n.booleanAttribute,this.createValidator=N=>fe}enabled(N){return N}}return(k=P).\u0275fac=function(){let be;return function(Te){return(be||(be=n.\u0275\u0275getInheritedFactory(k)))(Te||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[n.\u0275\u0275ProvidersFeature([Ri]),n.\u0275\u0275InheritDefinitionFeature]}),P})();const ko={provide:M,useExisting:(0,n.forwardRef)(()=>Cr),multi:!0};let Cr=(()=>{var k;class P extends Rn{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=N=>yr(N),this.createValidator=N=>he(N)}}return(k=P).\u0275fac=function(){let be;return function(Te){return(be||(be=n.\u0275\u0275getInheritedFactory(k)))(Te||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(N,Te){2&N&&n.\u0275\u0275attribute("minlength",Te._enabled?Te.minlength:null)},inputs:{minlength:"minlength"},features:[n.\u0275\u0275ProvidersFeature([ko]),n.\u0275\u0275InheritDefinitionFeature]}),P})();const wr={provide:M,useExisting:(0,n.forwardRef)(()=>bi),multi:!0};let bi=(()=>{var k;class P extends Rn{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=N=>yr(N),this.createValidator=N=>ot(N)}}return(k=P).\u0275fac=function(){let be;return function(Te){return(be||(be=n.\u0275\u0275getInheritedFactory(k)))(Te||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(N,Te){2&N&&n.\u0275\u0275attribute("maxlength",Te._enabled?Te.maxlength:null)},inputs:{maxlength:"maxlength"},features:[n.\u0275\u0275ProvidersFeature([wr]),n.\u0275\u0275InheritDefinitionFeature]}),P})();const Bi={provide:M,useExisting:(0,n.forwardRef)(()=>ir),multi:!0};let ir=(()=>{var k;class P extends Rn{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=N=>N,this.createValidator=N=>we(N)}}return(k=P).\u0275fac=function(){let be;return function(Te){return(be||(be=n.\u0275\u0275getInheritedFactory(k)))(Te||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(N,Te){2&N&&n.\u0275\u0275attribute("pattern",Te._enabled?Te.pattern:null)},inputs:{pattern:"pattern"},features:[n.\u0275\u0275ProvidersFeature([Bi]),n.\u0275\u0275InheritDefinitionFeature]}),P})(),hi=(()=>{var k;class P{}return(k=P).\u0275fac=function(N){return new(N||k)},k.\u0275mod=n.\u0275\u0275defineNgModule({type:k}),k.\u0275inj=n.\u0275\u0275defineInjector({imports:[dr]}),P})();class li extends It{constructor(P,be,N){super(fn(be),Ct(N,be)),this.controls=P,this._initObservables(),this._setUpdateStrategy(be),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(P){return this.controls[this._adjustIndex(P)]}push(P,be={}){this.controls.push(P),this._registerControl(P),this.updateValueAndValidity({emitEvent:be.emitEvent}),this._onCollectionChange()}insert(P,be,N={}){this.controls.splice(P,0,be),this._registerControl(be),this.updateValueAndValidity({emitEvent:N.emitEvent})}removeAt(P,be={}){let N=this._adjustIndex(P);N<0&&(N=0),this.controls[N]&&this.controls[N]._registerOnCollectionChange(()=>{}),this.controls.splice(N,1),this.updateValueAndValidity({emitEvent:be.emitEvent})}setControl(P,be,N={}){let Te=this._adjustIndex(P);Te<0&&(Te=0),this.controls[Te]&&this.controls[Te]._registerOnCollectionChange(()=>{}),this.controls.splice(Te,1),be&&(this.controls.splice(Te,0,be),this._registerControl(be)),this.updateValueAndValidity({emitEvent:N.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(P,be={}){lt(this,0,P),P.forEach((N,Te)=>{ze(this,!1,Te),this.at(Te).setValue(N,{onlySelf:!0,emitEvent:be.emitEvent})}),this.updateValueAndValidity(be)}patchValue(P,be={}){null!=P&&(P.forEach((N,Te)=>{this.at(Te)&&this.at(Te).patchValue(N,{onlySelf:!0,emitEvent:be.emitEvent})}),this.updateValueAndValidity(be))}reset(P=[],be={}){this._forEachChild((N,Te)=>{N.reset(P[Te],{onlySelf:!0,emitEvent:be.emitEvent})}),this._updatePristine(be),this._updateTouched(be),this.updateValueAndValidity(be)}getRawValue(){return this.controls.map(P=>P.getRawValue())}clear(P={}){this.controls.length<1||(this._forEachChild(be=>be._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:P.emitEvent}))}_adjustIndex(P){return P<0?P+this.length:P}_syncPendingControls(){let P=this.controls.reduce((be,N)=>!!N._syncPendingControls()||be,!1);return P&&this.updateValueAndValidity({onlySelf:!0}),P}_forEachChild(P){this.controls.forEach((be,N)=>{P(be,N)})}_updateValue(){this.value=this.controls.filter(P=>P.enabled||this.disabled).map(P=>P.value)}_anyControls(P){return this.controls.some(be=>be.enabled&&P(be))}_setUpControls(){this._forEachChild(P=>this._registerControl(P))}_allControlsDisabled(){for(const P of this.controls)if(P.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(P){P.setParent(this),P._registerOnCollectionChange(this._onCollectionChange)}_find(P){return this.at(P)??null}}const Br=li,rr=k=>k instanceof li;function Er(k){return!!k&&(void 0!==k.asyncValidators||void 0!==k.validators||void 0!==k.updateOn)}let Di=(()=>{var k;class P{constructor(){this.useNonNullable=!1}get nonNullable(){const N=new P;return N.useNonNullable=!0,N}group(N,Te=null){const Vt=this._reduceControls(N);let cn={};return Er(Te)?cn=Te:null!==Te&&(cn.validators=Te.validator,cn.asyncValidators=Te.asyncValidator),new zt(Vt,cn)}record(N,Te=null){const Vt=this._reduceControls(N);return new _e(Vt,Te)}control(N,Te,Vt){let cn={};return this.useNonNullable?(Er(Te)?cn=Te:(cn.validators=Te,cn.asyncValidators=Vt),new Le(N,{...cn,nonNullable:!0})):new Le(N,Te,Vt)}array(N,Te,Vt){const cn=N.map(gi=>this._createControl(gi));return new li(cn,Te,Vt)}_reduceControls(N){const Te={};return Object.keys(N).forEach(Vt=>{Te[Vt]=this._createControl(N[Vt])}),Te}_createControl(N){return N instanceof Le||N instanceof It?N:Array.isArray(N)?this.control(N[0],N.length>1?N[1]:null,N.length>2?N[2]:null):this.control(N)}}return(k=P).\u0275fac=function(N){return new(N||k)},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac,providedIn:"root"}),P})(),Vr=(()=>{var k;class P{}return(k=P).\u0275fac=function(N){return new(N||k)},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:function(){return(0,n.inject)(Di).nonNullable},providedIn:"root"}),P})(),$r=(()=>{var k;class P extends Di{group(N,Te=null){return super.group(N,Te)}control(N,Te,Vt){return super.control(N,Te,Vt)}array(N,Te,Vt){return super.array(N,Te,Vt)}}return(k=P).\u0275fac=function(){let be;return function(Te){return(be||(be=n.\u0275\u0275getInheritedFactory(k)))(Te||k)}}(),k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac,providedIn:"root"}),P})();const lo=new n.Version("16.2.6");let yo=(()=>{var k;class P{static withConfig(N){return{ngModule:P,providers:[{provide:ce,useValue:N.callSetDisabledState??ie}]}}}return(k=P).\u0275fac=function(N){return new(N||k)},k.\u0275mod=n.\u0275\u0275defineNgModule({type:k}),k.\u0275inj=n.\u0275\u0275defineInjector({imports:[hi]}),P})(),uo=(()=>{var k;class P{static withConfig(N){return{ngModule:P,providers:[{provide:Sn,useValue:N.warnOnNgModelWithFormControl??"always"},{provide:ce,useValue:N.callSetDisabledState??ie}]}}}return(k=P).\u0275fac=function(N){return new(N||k)},k.\u0275mod=n.\u0275\u0275defineNgModule({type:k}),k.\u0275inj=n.\u0275\u0275defineInjector({imports:[hi]}),P})()},2296:(Z,o,c)=>{"use strict";c.r(o),c.d(o,{MAT_FAB_DEFAULT_OPTIONS:()=>ot,MAT_FAB_DEFAULT_OPTIONS_FACTORY:()=>we,MatAnchor:()=>he,MatButton:()=>fe,MatButtonModule:()=>J,MatFabAnchor:()=>st,MatFabButton:()=>Se,MatIconAnchor:()=>ee,MatIconButton:()=>Ce,MatMiniFabAnchor:()=>W,MatMiniFabButton:()=>Ze});var n=c(2831),a=c(5879),g=c(4300),m=c(2495),s=c(3680);const d=["mat-button",""],u=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],p=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],f=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",y=["mat-fab",""],b=["mat-mini-fab",""],_='.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab:hover{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab.mdc-ripple-upgraded--background-focused,.mdc-fab:not(.mdc-ripple-upgraded):focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family);font-size:var(--mdc-typography-button-font-size);line-height:var(--mdc-typography-button-line-height);font-weight:var(--mdc-typography-button-font-weight);letter-spacing:var(--mdc-typography-button-letter-spacing);text-decoration:var(--mdc-typography-button-text-decoration);text-transform:var(--mdc-typography-button-text-transform);border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab,.mat-mdc-mini-fab{background-color:var(--mdc-fab-container-color);--mdc-fab-container-shape:50%;--mdc-fab-icon-size:24px}.mat-mdc-fab .mdc-fab__icon,.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-extended-fab{font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}',w=["mat-icon-button",""],A=["*"],$=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],ne=(0,s.mixinColor)((0,s.mixinDisabled)((0,s.mixinDisableRipple)(class{constructor(j){this._elementRef=j}})));let z=(()=>{var j;class G extends ne{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(U){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,U)}get disableRipple(){return this._disableRipple}set disableRipple(U){this._disableRipple=(0,m.Ig)(U),this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(U){this._disabled=(0,m.Ig)(U),this._updateRippleDisabled()}constructor(U,ae,Ee,pe){super(U),this._platform=ae,this._ngZone=Ee,this._animationMode=pe,this._focusMonitor=(0,a.inject)(g.tE),this._rippleLoader=(0,a.inject)(s.MatRippleLoader),this._isFab=!1,this._disableRipple=!1,this._disabled=!1,this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});const Ge=U.nativeElement.classList;for(const Be of $)this._hasHostAttributes(Be.selector)&&Be.mdcClasses.forEach(xe=>{Ge.add(xe)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(U="program",ae){U?this._focusMonitor.focusVia(this._elementRef.nativeElement,U,ae):this._elementRef.nativeElement.focus(ae)}_hasHostAttributes(...U){return U.some(ae=>this._elementRef.nativeElement.hasAttribute(ae))}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}}return(j=G).\u0275fac=function(U){a.\u0275\u0275invalidFactory()},j.\u0275dir=a.\u0275\u0275defineDirective({type:j,features:[a.\u0275\u0275InheritDefinitionFeature]}),G})(),X=(()=>{var j;class G extends z{constructor(U,ae,Ee,pe){super(U,ae,Ee,pe),this._haltDisabledEvents=Ge=>{this.disabled&&(Ge.preventDefault(),Ge.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return(j=G).\u0275fac=function(U){a.\u0275\u0275invalidFactory()},j.\u0275dir=a.\u0275\u0275defineDirective({type:j,features:[a.\u0275\u0275InheritDefinitionFeature]}),G})(),fe=(()=>{var j;class G extends z{constructor(U,ae,Ee,pe){super(U,ae,Ee,pe)}}return(j=G).\u0275fac=function(U){return new(U||j)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(n.t4),a.\u0275\u0275directiveInject(a.NgZone),a.\u0275\u0275directiveInject(a.ANIMATION_MODULE_TYPE,8))},j.\u0275cmp=a.\u0275\u0275defineComponent({type:j,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(U,ae){2&U&&(a.\u0275\u0275attribute("disabled",ae.disabled||null),a.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===ae._animationMode)("mat-unthemed",!ae.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[a.\u0275\u0275InheritDefinitionFeature],attrs:d,ngContentSelectors:p,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(U,ae){1&U&&(a.\u0275\u0275projectionDef(u),a.\u0275\u0275element(0,"span",0),a.\u0275\u0275projection(1),a.\u0275\u0275elementStart(2,"span",1),a.\u0275\u0275projection(3,1),a.\u0275\u0275elementEnd(),a.\u0275\u0275projection(4,2),a.\u0275\u0275element(5,"span",2)(6,"span",3)),2&U&&a.\u0275\u0275classProp("mdc-button__ripple",!ae._isFab)("mdc-fab__ripple",ae._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),G})(),he=(()=>{var j;class G extends X{constructor(U,ae,Ee,pe){super(U,ae,Ee,pe)}}return(j=G).\u0275fac=function(U){return new(U||j)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(n.t4),a.\u0275\u0275directiveInject(a.NgZone),a.\u0275\u0275directiveInject(a.ANIMATION_MODULE_TYPE,8))},j.\u0275cmp=a.\u0275\u0275defineComponent({type:j,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:9,hostBindings:function(U,ae){2&U&&(a.\u0275\u0275attribute("disabled",ae.disabled||null)("tabindex",ae.disabled?-1:ae.tabIndex)("aria-disabled",ae.disabled.toString()),a.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===ae._animationMode)("mat-unthemed",!ae.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[a.\u0275\u0275InheritDefinitionFeature],attrs:d,ngContentSelectors:p,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(U,ae){1&U&&(a.\u0275\u0275projectionDef(u),a.\u0275\u0275element(0,"span",0),a.\u0275\u0275projection(1),a.\u0275\u0275elementStart(2,"span",1),a.\u0275\u0275projection(3,1),a.\u0275\u0275elementEnd(),a.\u0275\u0275projection(4,2),a.\u0275\u0275element(5,"span",2)(6,"span",3)),2&U&&a.\u0275\u0275classProp("mdc-button__ripple",!ae._isFab)("mdc-fab__ripple",ae._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',f],encapsulation:2,changeDetection:0}),G})();const ot=new a.InjectionToken("mat-mdc-fab-default-options",{providedIn:"root",factory:we});function we(){return{color:"accent"}}const tt=we();let Se=(()=>{var j;class G extends z{get extended(){return this._extended}set extended(U){this._extended=(0,m.Ig)(U)}constructor(U,ae,Ee,pe,Ge){super(U,ae,Ee,pe),this._options=Ge,this._isFab=!0,this._options=this._options||tt,this.color=this.defaultColor=this._options.color||tt.color}}return(j=G).\u0275fac=function(U){return new(U||j)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(n.t4),a.\u0275\u0275directiveInject(a.NgZone),a.\u0275\u0275directiveInject(a.ANIMATION_MODULE_TYPE,8),a.\u0275\u0275directiveInject(ot,8))},j.\u0275cmp=a.\u0275\u0275defineComponent({type:j,selectors:[["button","mat-fab",""]],hostVars:11,hostBindings:function(U,ae){2&U&&(a.\u0275\u0275attribute("disabled",ae.disabled||null),a.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===ae._animationMode)("mat-unthemed",!ae.color)("mat-mdc-button-base",!0)("mdc-fab--extended",ae.extended)("mat-mdc-extended-fab",ae.extended))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",extended:"extended"},exportAs:["matButton"],features:[a.\u0275\u0275InheritDefinitionFeature],attrs:y,ngContentSelectors:p,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(U,ae){1&U&&(a.\u0275\u0275projectionDef(u),a.\u0275\u0275element(0,"span",0),a.\u0275\u0275projection(1),a.\u0275\u0275elementStart(2,"span",1),a.\u0275\u0275projection(3,1),a.\u0275\u0275elementEnd(),a.\u0275\u0275projection(4,2),a.\u0275\u0275element(5,"span",2)(6,"span",3)),2&U&&a.\u0275\u0275classProp("mdc-button__ripple",!ae._isFab)("mdc-fab__ripple",ae._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab:hover{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab.mdc-ripple-upgraded--background-focused,.mdc-fab:not(.mdc-ripple-upgraded):focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family);font-size:var(--mdc-typography-button-font-size);line-height:var(--mdc-typography-button-line-height);font-weight:var(--mdc-typography-button-font-weight);letter-spacing:var(--mdc-typography-button-letter-spacing);text-decoration:var(--mdc-typography-button-text-decoration);text-transform:var(--mdc-typography-button-text-transform);border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab,.mat-mdc-mini-fab{background-color:var(--mdc-fab-container-color);--mdc-fab-container-shape:50%;--mdc-fab-icon-size:24px}.mat-mdc-fab .mdc-fab__icon,.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-extended-fab{font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0}),G})(),Ze=(()=>{var j;class G extends z{constructor(U,ae,Ee,pe,Ge){super(U,ae,Ee,pe),this._options=Ge,this._isFab=!0,this._options=this._options||tt,this.color=this.defaultColor=this._options.color||tt.color}}return(j=G).\u0275fac=function(U){return new(U||j)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(n.t4),a.\u0275\u0275directiveInject(a.NgZone),a.\u0275\u0275directiveInject(a.ANIMATION_MODULE_TYPE,8),a.\u0275\u0275directiveInject(ot,8))},j.\u0275cmp=a.\u0275\u0275defineComponent({type:j,selectors:[["button","mat-mini-fab",""]],hostVars:7,hostBindings:function(U,ae){2&U&&(a.\u0275\u0275attribute("disabled",ae.disabled||null),a.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===ae._animationMode)("mat-unthemed",!ae.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[a.\u0275\u0275InheritDefinitionFeature],attrs:b,ngContentSelectors:p,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(U,ae){1&U&&(a.\u0275\u0275projectionDef(u),a.\u0275\u0275element(0,"span",0),a.\u0275\u0275projection(1),a.\u0275\u0275elementStart(2,"span",1),a.\u0275\u0275projection(3,1),a.\u0275\u0275elementEnd(),a.\u0275\u0275projection(4,2),a.\u0275\u0275element(5,"span",2)(6,"span",3)),2&U&&a.\u0275\u0275classProp("mdc-button__ripple",!ae._isFab)("mdc-fab__ripple",ae._isFab)},styles:[_],encapsulation:2,changeDetection:0}),G})(),st=(()=>{var j;class G extends he{get extended(){return this._extended}set extended(U){this._extended=(0,m.Ig)(U)}constructor(U,ae,Ee,pe,Ge){super(U,ae,Ee,pe),this._options=Ge,this._isFab=!0,this._options=this._options||tt,this.color=this.defaultColor=this._options.color||tt.color}}return(j=G).\u0275fac=function(U){return new(U||j)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(n.t4),a.\u0275\u0275directiveInject(a.NgZone),a.\u0275\u0275directiveInject(a.ANIMATION_MODULE_TYPE,8),a.\u0275\u0275directiveInject(ot,8))},j.\u0275cmp=a.\u0275\u0275defineComponent({type:j,selectors:[["a","mat-fab",""]],hostVars:13,hostBindings:function(U,ae){2&U&&(a.\u0275\u0275attribute("disabled",ae.disabled||null)("tabindex",ae.disabled?-1:ae.tabIndex)("aria-disabled",ae.disabled.toString()),a.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===ae._animationMode)("mat-unthemed",!ae.color)("mat-mdc-button-base",!0)("mdc-fab--extended",ae.extended)("mat-mdc-extended-fab",ae.extended))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",extended:"extended"},exportAs:["matButton","matAnchor"],features:[a.\u0275\u0275InheritDefinitionFeature],attrs:y,ngContentSelectors:p,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(U,ae){1&U&&(a.\u0275\u0275projectionDef(u),a.\u0275\u0275element(0,"span",0),a.\u0275\u0275projection(1),a.\u0275\u0275elementStart(2,"span",1),a.\u0275\u0275projection(3,1),a.\u0275\u0275elementEnd(),a.\u0275\u0275projection(4,2),a.\u0275\u0275element(5,"span",2)(6,"span",3)),2&U&&a.\u0275\u0275classProp("mdc-button__ripple",!ae._isFab)("mdc-fab__ripple",ae._isFab)},styles:[_],encapsulation:2,changeDetection:0}),G})(),W=(()=>{var j;class G extends he{constructor(U,ae,Ee,pe,Ge){super(U,ae,Ee,pe),this._options=Ge,this._isFab=!0,this._options=this._options||tt,this.color=this.defaultColor=this._options.color||tt.color}}return(j=G).\u0275fac=function(U){return new(U||j)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(n.t4),a.\u0275\u0275directiveInject(a.NgZone),a.\u0275\u0275directiveInject(a.ANIMATION_MODULE_TYPE,8),a.\u0275\u0275directiveInject(ot,8))},j.\u0275cmp=a.\u0275\u0275defineComponent({type:j,selectors:[["a","mat-mini-fab",""]],hostVars:9,hostBindings:function(U,ae){2&U&&(a.\u0275\u0275attribute("disabled",ae.disabled||null)("tabindex",ae.disabled?-1:ae.tabIndex)("aria-disabled",ae.disabled.toString()),a.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===ae._animationMode)("mat-unthemed",!ae.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[a.\u0275\u0275InheritDefinitionFeature],attrs:b,ngContentSelectors:p,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(U,ae){1&U&&(a.\u0275\u0275projectionDef(u),a.\u0275\u0275element(0,"span",0),a.\u0275\u0275projection(1),a.\u0275\u0275elementStart(2,"span",1),a.\u0275\u0275projection(3,1),a.\u0275\u0275elementEnd(),a.\u0275\u0275projection(4,2),a.\u0275\u0275element(5,"span",2)(6,"span",3)),2&U&&a.\u0275\u0275classProp("mdc-button__ripple",!ae._isFab)("mdc-fab__ripple",ae._isFab)},styles:[_],encapsulation:2,changeDetection:0}),G})(),Ce=(()=>{var j;class G extends z{constructor(U,ae,Ee,pe){super(U,ae,Ee,pe),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}}return(j=G).\u0275fac=function(U){return new(U||j)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(n.t4),a.\u0275\u0275directiveInject(a.NgZone),a.\u0275\u0275directiveInject(a.ANIMATION_MODULE_TYPE,8))},j.\u0275cmp=a.\u0275\u0275defineComponent({type:j,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(U,ae){2&U&&(a.\u0275\u0275attribute("disabled",ae.disabled||null),a.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===ae._animationMode)("mat-unthemed",!ae.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[a.\u0275\u0275InheritDefinitionFeature],attrs:w,ngContentSelectors:A,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(U,ae){1&U&&(a.\u0275\u0275projectionDef(),a.\u0275\u0275element(0,"span",0),a.\u0275\u0275projection(1),a.\u0275\u0275element(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',f],encapsulation:2,changeDetection:0}),G})(),ee=(()=>{var j;class G extends X{constructor(U,ae,Ee,pe){super(U,ae,Ee,pe)}}return(j=G).\u0275fac=function(U){return new(U||j)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(n.t4),a.\u0275\u0275directiveInject(a.NgZone),a.\u0275\u0275directiveInject(a.ANIMATION_MODULE_TYPE,8))},j.\u0275cmp=a.\u0275\u0275defineComponent({type:j,selectors:[["a","mat-icon-button",""]],hostVars:9,hostBindings:function(U,ae){2&U&&(a.\u0275\u0275attribute("disabled",ae.disabled||null)("tabindex",ae.disabled?-1:ae.tabIndex)("aria-disabled",ae.disabled.toString()),a.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===ae._animationMode)("mat-unthemed",!ae.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[a.\u0275\u0275InheritDefinitionFeature],attrs:w,ngContentSelectors:p,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(U,ae){1&U&&(a.\u0275\u0275projectionDef(u),a.\u0275\u0275element(0,"span",0),a.\u0275\u0275projection(1),a.\u0275\u0275elementStart(2,"span",1),a.\u0275\u0275projection(3,1),a.\u0275\u0275elementEnd(),a.\u0275\u0275projection(4,2),a.\u0275\u0275element(5,"span",2)(6,"span",3)),2&U&&a.\u0275\u0275classProp("mdc-button__ripple",!ae._isFab)("mdc-fab__ripple",ae._isFab)},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',f],encapsulation:2,changeDetection:0}),G})(),J=(()=>{var j;class G{}return(j=G).\u0275fac=function(U){return new(U||j)},j.\u0275mod=a.\u0275\u0275defineNgModule({type:j}),j.\u0275inj=a.\u0275\u0275defineInjector({imports:[s.MatCommonModule,s.MatRippleModule,s.MatCommonModule]}),G})()},1226:(Z,o,c)=>{"use strict";c.r(o),c.d(o,{MAT_CHIP:()=>Tt,MAT_CHIPS_DEFAULT_OPTIONS:()=>ie,MAT_CHIP_AVATAR:()=>We,MAT_CHIP_LISTBOX_CONTROL_VALUE_ACCESSOR:()=>Pn,MAT_CHIP_REMOVE:()=>rt,MAT_CHIP_TRAILING_ICON:()=>Pe,MatChip:()=>Fe,MatChipAvatar:()=>kt,MatChipEditInput:()=>Ot,MatChipGrid:()=>Nn,MatChipGridChange:()=>On,MatChipInput:()=>ve,MatChipListbox:()=>Hn,MatChipListboxChange:()=>on,MatChipOption:()=>ft,MatChipRemove:()=>un,MatChipRow:()=>Pt,MatChipSelectionChange:()=>_t,MatChipSet:()=>tn,MatChipTrailingIcon:()=>En,MatChipsModule:()=>q});var n=c(2495),a=c(5879),g=c(6814),m=c(3680),s=c(4300),d=c(8645),u=c(3019),p=c(8180),v=c(9773),f=c(7921),y=c(4664),b=c(6028),_=c(9388),w=c(6223);c(6825);let et=(()=>{var H;class Re{}return(H=Re).\u0275fac=function(B){return new(B||H)},H.\u0275dir=a.\u0275\u0275defineDirective({type:H}),Re})();const Qt=new a.InjectionToken("MatFormField");function wt(H,Re){1&H&&(a.\u0275\u0275elementStart(0,"span",7),a.\u0275\u0275projection(1,1),a.\u0275\u0275elementEnd())}function Lt(H,Re){1&H&&(a.\u0275\u0275elementStart(0,"span",8),a.\u0275\u0275projection(1,2),a.\u0275\u0275elementEnd())}const Ut=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],rn=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function fn(H,Re){1&H&&(a.\u0275\u0275elementStart(0,"span",8),a.\u0275\u0275projection(1,1),a.\u0275\u0275elementStart(2,"span",9),a.\u0275\u0275namespaceSVG(),a.\u0275\u0275elementStart(3,"svg",10),a.\u0275\u0275element(4,"path",11),a.\u0275\u0275elementEnd()()())}function vn(H,Re){1&H&&(a.\u0275\u0275elementStart(0,"span",12),a.\u0275\u0275projection(1,2),a.\u0275\u0275elementEnd())}const Ct='.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height);--mdc-chip-container-shape-family:rounded;--mdc-chip-container-shape-radius:16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family:rounded;--mdc-chip-with-avatar-avatar-shape-radius:14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size:28px;--mdc-chip-with-icon-icon-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}';function it(H,Re){1&H&&(a.\u0275\u0275elementContainerStart(0),a.\u0275\u0275element(1,"span",8),a.\u0275\u0275elementContainerEnd())}function St(H,Re){1&H&&(a.\u0275\u0275elementStart(0,"span",9),a.\u0275\u0275projection(1),a.\u0275\u0275elementEnd())}function ze(H,Re){1&H&&(a.\u0275\u0275elementContainerStart(0),a.\u0275\u0275projection(1,1),a.\u0275\u0275elementContainerEnd())}function lt(H,Re){1&H&&a.\u0275\u0275projection(0,2,["*ngIf","contentEditInput; else defaultMatChipEditInput"])}function It(H,Re){1&H&&a.\u0275\u0275element(0,"span",12)}function zt(H,Re){if(1&H&&(a.\u0275\u0275elementContainerStart(0),a.\u0275\u0275template(1,lt,1,0,"ng-content",10),a.\u0275\u0275template(2,It,1,0,"ng-template",null,11,a.\u0275\u0275templateRefExtractor),a.\u0275\u0275elementContainerEnd()),2&H){const Ye=a.\u0275\u0275reference(3),B=a.\u0275\u0275nextContext();a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf",B.contentEditInput)("ngIfElse",Ye)}}function ut(H,Re){1&H&&(a.\u0275\u0275elementStart(0,"span",13),a.\u0275\u0275projection(1,3),a.\u0275\u0275elementEnd())}const Xe=[[["mat-chip-avatar"],["","matChipAvatar",""]],"*",[["","matChipEditInput",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],_e=["mat-chip-avatar, [matChipAvatar]","*","[matChipEditInput]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],V=["*"],ce=".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}",ie=new a.InjectionToken("mat-chips-default-options"),We=new a.InjectionToken("MatChipAvatar"),Pe=new a.InjectionToken("MatChipTrailingIcon"),rt=new a.InjectionToken("MatChipRemove"),Tt=new a.InjectionToken("MatChip");class ue{}const Ae=(0,m.mixinTabIndex)(ue,-1);let bt=(()=>{var H;class Re extends Ae{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(B){this._disabled=(0,n.Ig)(B)}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(B,Ie){super(),this._elementRef=B,this._parentChip=Ie,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this._allowFocusWhenDisabled=!1,"BUTTON"===B.nativeElement.nodeName&&B.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(B){!this.disabled&&this.isInteractive&&this._isPrimary&&(B.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(B){(B.keyCode===b.K5||B.keyCode===b.L_)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(B.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}}return(H=Re).\u0275fac=function(B){return new(B||H)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(Tt))},H.\u0275dir=a.\u0275\u0275defineDirective({type:H,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(B,Ie){1&B&&a.\u0275\u0275listener("click",function(jt){return Ie._handleClick(jt)})("keydown",function(jt){return Ie._handleKeydown(jt)}),2&B&&(a.\u0275\u0275attribute("tabindex",Ie._getTabindex())("disabled",Ie._getDisabledAttribute())("aria-disabled",Ie.disabled),a.\u0275\u0275classProp("mdc-evolution-chip__action--primary",Ie._isPrimary)("mdc-evolution-chip__action--presentational",!Ie.isInteractive)("mdc-evolution-chip__action--trailing",!Ie._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[a.\u0275\u0275InheritDefinitionFeature]}),Re})(),kt=(()=>{var H;class Re{}return(H=Re).\u0275fac=function(B){return new(B||H)},H.\u0275dir=a.\u0275\u0275defineDirective({type:H,selectors:[["mat-chip-avatar"],["","matChipAvatar",""]],hostAttrs:["role","img",1,"mat-mdc-chip-avatar","mdc-evolution-chip__icon","mdc-evolution-chip__icon--primary"],features:[a.\u0275\u0275ProvidersFeature([{provide:We,useExisting:H}])]}),Re})(),En=(()=>{var H;class Re extends bt{constructor(){super(...arguments),this.isInteractive=!1,this._isPrimary=!1}}return(H=Re).\u0275fac=function(){let Ye;return function(Ie){return(Ye||(Ye=a.\u0275\u0275getInheritedFactory(H)))(Ie||H)}}(),H.\u0275dir=a.\u0275\u0275defineDirective({type:H,selectors:[["mat-chip-trailing-icon"],["","matChipTrailingIcon",""]],hostAttrs:["aria-hidden","true",1,"mat-mdc-chip-trailing-icon","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],features:[a.\u0275\u0275ProvidersFeature([{provide:Pe,useExisting:H}]),a.\u0275\u0275InheritDefinitionFeature]}),Re})(),un=(()=>{var H;class Re extends bt{constructor(){super(...arguments),this._isPrimary=!1}_handleClick(B){this.disabled||(B.stopPropagation(),B.preventDefault(),this._parentChip.remove())}_handleKeydown(B){(B.keyCode===b.K5||B.keyCode===b.L_)&&!this.disabled&&(B.stopPropagation(),B.preventDefault(),this._parentChip.remove())}}return(H=Re).\u0275fac=function(){let Ye;return function(Ie){return(Ye||(Ye=a.\u0275\u0275getInheritedFactory(H)))(Ie||H)}}(),H.\u0275dir=a.\u0275\u0275defineDirective({type:H,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-mdc-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(B,Ie){2&B&&a.\u0275\u0275attribute("aria-hidden",null)},features:[a.\u0275\u0275ProvidersFeature([{provide:rt,useExisting:H}]),a.\u0275\u0275InheritDefinitionFeature]}),Re})(),gn=0;const Ue=(0,m.mixinTabIndex)((0,m.mixinColor)((0,m.mixinDisableRipple)((0,m.mixinDisabled)(class{constructor(H){this._elementRef=H}})),"primary"),-1);let Fe=(()=>{var H;class Re extends Ue{_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(B){this._value=B}get removable(){return this._removable}set removable(B){this._removable=(0,n.Ig)(B)}get highlighted(){return this._highlighted}set highlighted(B){this._highlighted=(0,n.Ig)(B)}get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(B){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,B)}constructor(B,Ie,Rt,jt,bn,Mn,Yn,Vn){super(Ie),this._changeDetectorRef=B,this._ngZone=Rt,this._focusMonitor=jt,this._globalRippleOptions=Yn,this._onFocus=new d.x,this._onBlur=new d.x,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+gn++,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this._removable=!0,this._highlighted=!1,this.removed=new a.EventEmitter,this.destroyed=new a.EventEmitter,this.basicChipAttrName="mat-basic-chip",this._rippleLoader=(0,a.inject)(m.MatRippleLoader),this._document=bn,this._animationsDisabled="NoopAnimations"===Mn,null!=Vn&&(this.tabIndex=parseInt(Vn)??this.defaultTabIndex),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){const B=this._elementRef.nativeElement;this._isBasicChip=B.hasAttribute(this.basicChipAttrName)||B.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=(0,u.T)(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(B){(B.keyCode===b.ZH||B.keyCode===b.yY)&&(B.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(B){return this._getActions().find(Ie=>{const Rt=Ie._elementRef.nativeElement;return Rt===B||Rt.contains(B)})}_getActions(){const B=[];return this.primaryAction&&B.push(this.primaryAction),this.removeIcon&&B.push(this.removeIcon),this.trailingIcon&&B.push(this.trailingIcon),B}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(B=>{const Ie=null!==B;Ie!==this._hasFocusInternal&&(this._hasFocusInternal=Ie,Ie?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe((0,p.q)(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}}return(H=Re).\u0275fac=function(B){return new(B||H)(a.\u0275\u0275directiveInject(a.ChangeDetectorRef),a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(a.NgZone),a.\u0275\u0275directiveInject(s.tE),a.\u0275\u0275directiveInject(g.DOCUMENT),a.\u0275\u0275directiveInject(a.ANIMATION_MODULE_TYPE,8),a.\u0275\u0275directiveInject(m.MAT_RIPPLE_GLOBAL_OPTIONS,8),a.\u0275\u0275injectAttribute("tabindex"))},H.\u0275cmp=a.\u0275\u0275defineComponent({type:H,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(B,Ie,Rt){if(1&B&&(a.\u0275\u0275contentQuery(Rt,We,5),a.\u0275\u0275contentQuery(Rt,Pe,5),a.\u0275\u0275contentQuery(Rt,rt,5),a.\u0275\u0275contentQuery(Rt,We,5),a.\u0275\u0275contentQuery(Rt,Pe,5),a.\u0275\u0275contentQuery(Rt,rt,5)),2&B){let jt;a.\u0275\u0275queryRefresh(jt=a.\u0275\u0275loadQuery())&&(Ie.leadingIcon=jt.first),a.\u0275\u0275queryRefresh(jt=a.\u0275\u0275loadQuery())&&(Ie.trailingIcon=jt.first),a.\u0275\u0275queryRefresh(jt=a.\u0275\u0275loadQuery())&&(Ie.removeIcon=jt.first),a.\u0275\u0275queryRefresh(jt=a.\u0275\u0275loadQuery())&&(Ie._allLeadingIcons=jt),a.\u0275\u0275queryRefresh(jt=a.\u0275\u0275loadQuery())&&(Ie._allTrailingIcons=jt),a.\u0275\u0275queryRefresh(jt=a.\u0275\u0275loadQuery())&&(Ie._allRemoveIcons=jt)}},viewQuery:function(B,Ie){if(1&B&&a.\u0275\u0275viewQuery(bt,5),2&B){let Rt;a.\u0275\u0275queryRefresh(Rt=a.\u0275\u0275loadQuery())&&(Ie.primaryAction=Rt.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(B,Ie){1&B&&a.\u0275\u0275listener("keydown",function(jt){return Ie._handleKeydown(jt)}),2&B&&(a.\u0275\u0275hostProperty("id",Ie.id),a.\u0275\u0275attribute("role",Ie.role)("tabindex",Ie.role?Ie.tabIndex:null)("aria-label",Ie.ariaLabel),a.\u0275\u0275classProp("mdc-evolution-chip",!Ie._isBasicChip)("mdc-evolution-chip--disabled",Ie.disabled)("mdc-evolution-chip--with-trailing-action",Ie._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",Ie.leadingIcon)("mdc-evolution-chip--with-primary-icon",Ie.leadingIcon)("mdc-evolution-chip--with-avatar",Ie.leadingIcon)("mat-mdc-chip-with-avatar",Ie.leadingIcon)("mat-mdc-chip-highlighted",Ie.highlighted)("mat-mdc-chip-disabled",Ie.disabled)("mat-mdc-basic-chip",Ie._isBasicChip)("mat-mdc-standard-chip",!Ie._isBasicChip)("mat-mdc-chip-with-trailing-icon",Ie._hasTrailingIcon())("_mat-animation-noopable",Ie._animationsDisabled))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",id:"id",ariaLabel:["aria-label","ariaLabel"],ariaDescription:["aria-description","ariaDescription"],value:"value",removable:"removable",highlighted:"highlighted"},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[a.\u0275\u0275ProvidersFeature([{provide:Tt,useExisting:H}]),a.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:rn,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(B,Ie){1&B&&(a.\u0275\u0275projectionDef(Ut),a.\u0275\u0275element(0,"span",0),a.\u0275\u0275elementStart(1,"span",1)(2,"span",2),a.\u0275\u0275template(3,wt,2,0,"span",3),a.\u0275\u0275elementStart(4,"span",4),a.\u0275\u0275projection(5),a.\u0275\u0275element(6,"span",5),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275template(7,Lt,2,0,"span",6)),2&B&&(a.\u0275\u0275advance(2),a.\u0275\u0275property("isInteractive",!1),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf",Ie.leadingIcon),a.\u0275\u0275advance(4),a.\u0275\u0275property("ngIf",Ie._hasTrailingIcon()))},dependencies:[g.NgIf,bt],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height);--mdc-chip-container-shape-family:rounded;--mdc-chip-container-shape-radius:16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family:rounded;--mdc-chip-with-avatar-avatar-shape-radius:14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size:28px;--mdc-chip-with-icon-icon-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),Re})();class _t{constructor(Re,Ye,B=!1){this.source=Re,this.selected=Ye,this.isUserInput=B}}let ft=(()=>{var H;class Re extends Fe{constructor(){super(...arguments),this._defaultOptions=(0,a.inject)(ie,{optional:!0}),this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListHideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._selectable=!0,this._selected=!1,this.basicChipAttrName="mat-basic-chip-option",this.selectionChange=new a.EventEmitter}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(B){this._selectable=(0,n.Ig)(B),this._changeDetectorRef.markForCheck()}get selected(){return this._selected}set selected(B){this._setSelectedState((0,n.Ig)(B),!1,!0)}get ariaSelected(){return this.selectable?this.selected.toString():null}ngOnInit(){super.ngOnInit(),this.role="presentation"}select(){this._setSelectedState(!0,!1,!0)}deselect(){this._setSelectedState(!1,!1,!0)}selectViaInteraction(){this._setSelectedState(!0,!0,!0)}toggleSelected(B=!1){return this._setSelectedState(!this.selected,B,!0),this.selected}_handlePrimaryActionInteraction(){this.disabled||(this.focus(),this.selectable&&this.toggleSelected(!0))}_hasLeadingGraphic(){return!!this.leadingIcon||!this._chipListHideSingleSelectionIndicator||this._chipListMultiple}_setSelectedState(B,Ie,Rt){B!==this.selected&&(this._selected=B,Rt&&this.selectionChange.emit({source:this,isUserInput:Ie,selected:this.selected}),this._changeDetectorRef.markForCheck())}}return(H=Re).\u0275fac=function(){let Ye;return function(Ie){return(Ye||(Ye=a.\u0275\u0275getInheritedFactory(H)))(Ie||H)}}(),H.\u0275cmp=a.\u0275\u0275defineComponent({type:H,selectors:[["mat-basic-chip-option"],["","mat-basic-chip-option",""],["mat-chip-option"],["","mat-chip-option",""]],hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-option"],hostVars:37,hostBindings:function(B,Ie){2&B&&(a.\u0275\u0275hostProperty("id",Ie.id),a.\u0275\u0275attribute("tabindex",null)("aria-label",null)("aria-description",null)("role",Ie.role),a.\u0275\u0275classProp("mdc-evolution-chip",!Ie._isBasicChip)("mdc-evolution-chip--filter",!Ie._isBasicChip)("mdc-evolution-chip--selectable",!Ie._isBasicChip)("mat-mdc-chip-selected",Ie.selected)("mat-mdc-chip-multiple",Ie._chipListMultiple)("mat-mdc-chip-disabled",Ie.disabled)("mat-mdc-chip-with-avatar",Ie.leadingIcon)("mdc-evolution-chip--disabled",Ie.disabled)("mdc-evolution-chip--selected",Ie.selected)("mdc-evolution-chip--selecting",!Ie._animationsDisabled)("mdc-evolution-chip--with-trailing-action",Ie._hasTrailingIcon())("mdc-evolution-chip--with-primary-icon",Ie.leadingIcon)("mdc-evolution-chip--with-primary-graphic",Ie._hasLeadingGraphic())("mdc-evolution-chip--with-avatar",Ie.leadingIcon)("mat-mdc-chip-highlighted",Ie.highlighted)("mat-mdc-chip-with-trailing-icon",Ie._hasTrailingIcon()))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",selectable:"selectable",selected:"selected"},outputs:{selectionChange:"selectionChange"},features:[a.\u0275\u0275ProvidersFeature([{provide:Fe,useExisting:H},{provide:Tt,useExisting:H}]),a.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:rn,decls:10,vars:9,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","","role","option",3,"tabIndex","_allowFocusWhenDisabled"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"cdk-visually-hidden",3,"id"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__checkmark"],["viewBox","-2 -3 30 30","focusable","false","aria-hidden","true",1,"mdc-evolution-chip__checkmark-svg"],["fill","none","stroke","currentColor","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-evolution-chip__checkmark-path"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(B,Ie){1&B&&(a.\u0275\u0275projectionDef(Ut),a.\u0275\u0275element(0,"span",0),a.\u0275\u0275elementStart(1,"span",1)(2,"button",2),a.\u0275\u0275template(3,fn,5,0,"span",3),a.\u0275\u0275elementStart(4,"span",4),a.\u0275\u0275projection(5),a.\u0275\u0275element(6,"span",5),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275template(7,vn,2,0,"span",6),a.\u0275\u0275elementStart(8,"span",7),a.\u0275\u0275text(9),a.\u0275\u0275elementEnd()),2&B&&(a.\u0275\u0275advance(2),a.\u0275\u0275property("tabIndex",Ie.tabIndex)("_allowFocusWhenDisabled",!0),a.\u0275\u0275attribute("aria-selected",Ie.ariaSelected)("aria-label",Ie.ariaLabel)("aria-describedby",Ie._ariaDescriptionId),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf",Ie._hasLeadingGraphic()),a.\u0275\u0275advance(4),a.\u0275\u0275property("ngIf",Ie._hasTrailingIcon()),a.\u0275\u0275advance(1),a.\u0275\u0275property("id",Ie._ariaDescriptionId),a.\u0275\u0275advance(1),a.\u0275\u0275textInterpolate(Ie.ariaDescription))},dependencies:[g.NgIf,bt],styles:[Ct],encapsulation:2,changeDetection:0}),Re})(),Ot=(()=>{var H;class Re{constructor(B,Ie){this._elementRef=B,this._document=Ie}initialize(B){this.getNativeElement().focus(),this.setValue(B)}getNativeElement(){return this._elementRef.nativeElement}setValue(B){this.getNativeElement().textContent=B,this._moveCursorToEndOfInput()}getValue(){return this.getNativeElement().textContent||""}_moveCursorToEndOfInput(){const B=this._document.createRange();B.selectNodeContents(this.getNativeElement()),B.collapse(!1);const Ie=window.getSelection();Ie.removeAllRanges(),Ie.addRange(B)}}return(H=Re).\u0275fac=function(B){return new(B||H)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(g.DOCUMENT))},H.\u0275dir=a.\u0275\u0275defineDirective({type:H,selectors:[["span","matChipEditInput",""]],hostAttrs:["role","textbox","tabindex","-1","contenteditable","true",1,"mat-chip-edit-input"]}),Re})(),Pt=(()=>{var H;class Re extends Fe{constructor(B,Ie,Rt,jt,bn,Mn,Yn,Vn){super(B,Ie,Rt,jt,bn,Mn,Yn,Vn),this.basicChipAttrName="mat-basic-chip-row",this._editStartPending=!1,this.editable=!1,this.edited=new a.EventEmitter,this._isEditing=!1,this.role="row",this._onBlur.pipe((0,v.R)(this.destroyed)).subscribe(()=>{this._isEditing&&!this._editStartPending&&this._onEditFinish()})}_hasTrailingIcon(){return!this._isEditing&&super._hasTrailingIcon()}_handleFocus(){!this._isEditing&&!this.disabled&&this.focus()}_handleKeydown(B){B.keyCode!==b.K5||this.disabled?this._isEditing?B.stopPropagation():super._handleKeydown(B):this._isEditing?(B.preventDefault(),this._onEditFinish()):this.editable&&this._startEditing(B)}_handleDoubleclick(B){!this.disabled&&this.editable&&this._startEditing(B)}_startEditing(B){if(!this.primaryAction||this.removeIcon&&this._getSourceAction(B.target)===this.removeIcon)return;const Ie=this.value;this._isEditing=this._editStartPending=!0,this._changeDetectorRef.detectChanges(),setTimeout(()=>{this._getEditInput().initialize(Ie),this._editStartPending=!1})}_onEditFinish(){this._isEditing=this._editStartPending=!1,this.edited.emit({chip:this,value:this._getEditInput().getValue()}),(this._document.activeElement===this._getEditInput().getNativeElement()||this._document.activeElement===this._document.body)&&this.primaryAction.focus()}_isRippleDisabled(){return super._isRippleDisabled()||this._isEditing}_getEditInput(){return this.contentEditInput||this.defaultEditInput}}return(H=Re).\u0275fac=function(B){return new(B||H)(a.\u0275\u0275directiveInject(a.ChangeDetectorRef),a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(a.NgZone),a.\u0275\u0275directiveInject(s.tE),a.\u0275\u0275directiveInject(g.DOCUMENT),a.\u0275\u0275directiveInject(a.ANIMATION_MODULE_TYPE,8),a.\u0275\u0275directiveInject(m.MAT_RIPPLE_GLOBAL_OPTIONS,8),a.\u0275\u0275injectAttribute("tabindex"))},H.\u0275cmp=a.\u0275\u0275defineComponent({type:H,selectors:[["mat-chip-row"],["","mat-chip-row",""],["mat-basic-chip-row"],["","mat-basic-chip-row",""]],contentQueries:function(B,Ie,Rt){if(1&B&&a.\u0275\u0275contentQuery(Rt,Ot,5),2&B){let jt;a.\u0275\u0275queryRefresh(jt=a.\u0275\u0275loadQuery())&&(Ie.contentEditInput=jt.first)}},viewQuery:function(B,Ie){if(1&B&&a.\u0275\u0275viewQuery(Ot,5),2&B){let Rt;a.\u0275\u0275queryRefresh(Rt=a.\u0275\u0275loadQuery())&&(Ie.defaultEditInput=Rt.first)}},hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-row","mdc-evolution-chip"],hostVars:27,hostBindings:function(B,Ie){1&B&&a.\u0275\u0275listener("focus",function(jt){return Ie._handleFocus(jt)})("dblclick",function(jt){return Ie._handleDoubleclick(jt)}),2&B&&(a.\u0275\u0275hostProperty("id",Ie.id),a.\u0275\u0275attribute("tabindex",Ie.disabled?null:-1)("aria-label",null)("aria-description",null)("role",Ie.role),a.\u0275\u0275classProp("mat-mdc-chip-with-avatar",Ie.leadingIcon)("mat-mdc-chip-disabled",Ie.disabled)("mat-mdc-chip-editing",Ie._isEditing)("mat-mdc-chip-editable",Ie.editable)("mdc-evolution-chip--disabled",Ie.disabled)("mdc-evolution-chip--with-trailing-action",Ie._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",Ie.leadingIcon)("mdc-evolution-chip--with-primary-icon",Ie.leadingIcon)("mdc-evolution-chip--with-avatar",Ie.leadingIcon)("mat-mdc-chip-highlighted",Ie.highlighted)("mat-mdc-chip-with-trailing-icon",Ie._hasTrailingIcon()))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",editable:"editable"},outputs:{edited:"edited"},features:[a.\u0275\u0275ProvidersFeature([{provide:Fe,useExisting:H},{provide:Tt,useExisting:H}]),a.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:_e,decls:10,vars:12,consts:[[4,"ngIf"],["role","gridcell","matChipAction","",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary",3,"tabIndex","disabled"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label",3,"ngSwitch"],[4,"ngSwitchCase"],["aria-hidden","true",1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing","role","gridcell",4,"ngIf"],[1,"cdk-visually-hidden",3,"id"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[4,"ngIf","ngIfElse"],["defaultMatChipEditInput",""],["matChipEditInput",""],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(B,Ie){1&B&&(a.\u0275\u0275projectionDef(Xe),a.\u0275\u0275template(0,it,2,0,"ng-container",0),a.\u0275\u0275elementStart(1,"span",1),a.\u0275\u0275template(2,St,2,0,"span",2),a.\u0275\u0275elementStart(3,"span",3),a.\u0275\u0275template(4,ze,2,0,"ng-container",4),a.\u0275\u0275template(5,zt,4,2,"ng-container",4),a.\u0275\u0275element(6,"span",5),a.\u0275\u0275elementEnd()(),a.\u0275\u0275template(7,ut,2,0,"span",6),a.\u0275\u0275elementStart(8,"span",7),a.\u0275\u0275text(9),a.\u0275\u0275elementEnd()),2&B&&(a.\u0275\u0275property("ngIf",!Ie._isEditing),a.\u0275\u0275advance(1),a.\u0275\u0275property("tabIndex",Ie.tabIndex)("disabled",Ie.disabled),a.\u0275\u0275attribute("aria-label",Ie.ariaLabel)("aria-describedby",Ie._ariaDescriptionId),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf",Ie.leadingIcon),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngSwitch",Ie._isEditing),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngSwitchCase",!1),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngSwitchCase",!0),a.\u0275\u0275advance(2),a.\u0275\u0275property("ngIf",Ie._hasTrailingIcon()),a.\u0275\u0275advance(1),a.\u0275\u0275property("id",Ie._ariaDescriptionId),a.\u0275\u0275advance(1),a.\u0275\u0275textInterpolate(Ie.ariaDescription))},dependencies:[g.NgIf,g.NgSwitch,g.NgSwitchCase,bt,Ot],styles:[Ct],encapsulation:2,changeDetection:0}),Re})();class Yt{constructor(Re){}}const Gt=(0,m.mixinTabIndex)(Yt);let tn=(()=>{var H;class Re extends Gt{get chipFocusChanges(){return this._getChipStream(B=>B._onFocus)}get chipDestroyedChanges(){return this._getChipStream(B=>B.destroyed)}get disabled(){return this._disabled}set disabled(B){this._disabled=(0,n.Ig)(B),this._syncChipsState()}get empty(){return!this._chips||0===this._chips.length}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(B){this._explicitRole=B}get focused(){return this._hasFocusedChip()}constructor(B,Ie,Rt){super(B),this._elementRef=B,this._changeDetectorRef=Ie,this._dir=Rt,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new d.x,this._defaultRole="presentation",this._disabled=!1,this._explicitRole=null,this._chipActions=new a.QueryList}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(B=>B._hasFocus())}_syncChipsState(){this._chips&&this._chips.forEach(B=>{B.disabled=this._disabled,B._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(B){this._originatesFromChip(B)&&this._keyManager.onKeydown(B)}_isValidIndex(B){return B>=0&&B<this._chips.length}_allowFocusEscape(){if(-1!==this.tabIndex){const B=this.tabIndex;this.tabIndex=-1,setTimeout(()=>this.tabIndex=B)}}_getChipStream(B){return this._chips.changes.pipe((0,f.O)(null),(0,y.w)(()=>(0,u.T)(...this._chips.map(B))))}_originatesFromChip(B){let Ie=B.target;for(;Ie&&Ie!==this._elementRef.nativeElement;){if(Ie.classList.contains("mat-mdc-chip"))return!0;Ie=Ie.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe((0,f.O)(this._chips)).subscribe(B=>{const Ie=[];B.forEach(Rt=>Rt._getActions().forEach(jt=>Ie.push(jt))),this._chipActions.reset(Ie),this._chipActions.notifyOnChanges()}),this._keyManager=new s.Em(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(B=>this._skipPredicate(B)),this.chipFocusChanges.pipe((0,v.R)(this._destroyed)).subscribe(({chip:B})=>{const Ie=B._getSourceAction(document.activeElement);Ie&&this._keyManager.updateActiveItem(Ie)}),this._dir?.change.pipe((0,v.R)(this._destroyed)).subscribe(B=>this._keyManager.withHorizontalOrientation(B))}_skipPredicate(B){return!B.isInteractive||B.disabled}_trackChipSetChanges(){this._chips.changes.pipe((0,f.O)(null),(0,v.R)(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe((0,v.R)(this._destroyed)).subscribe(B=>{const Rt=this._chips.toArray().indexOf(B.chip);this._isValidIndex(Rt)&&B.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=Rt)})}_redirectDestroyedChipFocus(){if(null!=this._lastDestroyedFocusedChipIndex){if(this._chips.length){const B=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),Ie=this._chips.toArray()[B];Ie.disabled?1===this._chips.length?this.focus():this._keyManager.setPreviousItemActive():Ie.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}}return(H=Re).\u0275fac=function(B){return new(B||H)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(a.ChangeDetectorRef),a.\u0275\u0275directiveInject(_.Is,8))},H.\u0275cmp=a.\u0275\u0275defineComponent({type:H,selectors:[["mat-chip-set"]],contentQueries:function(B,Ie,Rt){if(1&B&&a.\u0275\u0275contentQuery(Rt,Fe,5),2&B){let jt;a.\u0275\u0275queryRefresh(jt=a.\u0275\u0275loadQuery())&&(Ie._chips=jt)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(B,Ie){1&B&&a.\u0275\u0275listener("keydown",function(jt){return Ie._handleKeydown(jt)}),2&B&&a.\u0275\u0275attribute("role",Ie.role)},inputs:{disabled:"disabled",role:"role"},features:[a.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:V,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(B,Ie){1&B&&(a.\u0275\u0275projectionDef(),a.\u0275\u0275elementStart(0,"div",0),a.\u0275\u0275projection(1),a.\u0275\u0275elementEnd())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0}),Re})();class on{constructor(Re,Ye){this.source=Re,this.value=Ye}}const Pn={provide:w.NG_VALUE_ACCESSOR,useExisting:(0,a.forwardRef)(()=>Hn),multi:!0};let Hn=(()=>{var H;class Re extends tn{constructor(){super(...arguments),this._onTouched=()=>{},this._onChange=()=>{},this._defaultRole="listbox",this._defaultOptions=(0,a.inject)(ie,{optional:!0}),this._multiple=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.compareWith=(B,Ie)=>B===Ie,this._required=!1,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this.change=new a.EventEmitter,this._chips=void 0}get multiple(){return this._multiple}set multiple(B){this._multiple=(0,n.Ig)(B),this._syncListboxProperties()}get selected(){const B=this._chips.toArray().filter(Ie=>Ie.selected);return this.multiple?B:B[0]}get selectable(){return this._selectable}set selectable(B){this._selectable=(0,n.Ig)(B),this._syncListboxProperties()}get required(){return this._required}set required(B){this._required=(0,n.Ig)(B)}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(B){this._hideSingleSelectionIndicator=(0,n.Ig)(B),this._syncListboxProperties()}get chipSelectionChanges(){return this._getChipStream(B=>B.selectionChange)}get chipBlurChanges(){return this._getChipStream(B=>B._onBlur)}get value(){return this._value}set value(B){this.writeValue(B),this._value=B}ngAfterContentInit(){void 0!==this._pendingInitialValue&&Promise.resolve().then(()=>{this._setSelectionByValue(this._pendingInitialValue,!1),this._pendingInitialValue=void 0}),this._chips.changes.pipe((0,f.O)(null),(0,v.R)(this._destroyed)).subscribe(()=>{this._syncListboxProperties()}),this.chipBlurChanges.pipe((0,v.R)(this._destroyed)).subscribe(()=>this._blur()),this.chipSelectionChanges.pipe((0,v.R)(this._destroyed)).subscribe(B=>{this.multiple||this._chips.forEach(Ie=>{Ie!==B.source&&Ie._setSelectedState(!1,!1,!1)}),B.isUserInput&&this._propagateChanges()})}focus(){if(this.disabled)return;const B=this._getFirstSelectedChip();B&&!B.disabled?B.focus():this._chips.length>0?this._keyManager.setFirstItemActive():this._elementRef.nativeElement.focus()}writeValue(B){this._chips?this._setSelectionByValue(B,!1):null!=B&&(this._pendingInitialValue=B)}registerOnChange(B){this._onChange=B}registerOnTouched(B){this._onTouched=B}setDisabledState(B){this.disabled=B}_setSelectionByValue(B,Ie=!0){this._clearSelection(),Array.isArray(B)?B.forEach(Rt=>this._selectValue(Rt,Ie)):this._selectValue(B,Ie)}_blur(){this.disabled||setTimeout(()=>{this.focused||this._markAsTouched()})}_keydown(B){B.keyCode===b.Mf&&super._allowFocusEscape()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck()}_propagateChanges(){let B=null;B=Array.isArray(this.selected)?this.selected.map(Ie=>Ie.value):this.selected?this.selected.value:void 0,this._value=B,this.change.emit(new on(this,B)),this._onChange(B),this._changeDetectorRef.markForCheck()}_clearSelection(B){this._chips.forEach(Ie=>{Ie!==B&&Ie.deselect()})}_selectValue(B,Ie){const Rt=this._chips.find(jt=>null!=jt.value&&this.compareWith(jt.value,B));return Rt&&(Ie?Rt.selectViaInteraction():Rt.select()),Rt}_syncListboxProperties(){this._chips&&Promise.resolve().then(()=>{this._chips.forEach(B=>{B._chipListMultiple=this.multiple,B.chipListSelectable=this._selectable,B._chipListHideSingleSelectionIndicator=this.hideSingleSelectionIndicator,B._changeDetectorRef.markForCheck()})})}_getFirstSelectedChip(){return Array.isArray(this.selected)?this.selected.length?this.selected[0]:void 0:this.selected}_skipPredicate(B){return!B.isInteractive}}return(H=Re).\u0275fac=function(){let Ye;return function(Ie){return(Ye||(Ye=a.\u0275\u0275getInheritedFactory(H)))(Ie||H)}}(),H.\u0275cmp=a.\u0275\u0275defineComponent({type:H,selectors:[["mat-chip-listbox"]],contentQueries:function(B,Ie,Rt){if(1&B&&a.\u0275\u0275contentQuery(Rt,ft,5),2&B){let jt;a.\u0275\u0275queryRefresh(jt=a.\u0275\u0275loadQuery())&&(Ie._chips=jt)}},hostAttrs:["ngSkipHydration","",1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:11,hostBindings:function(B,Ie){1&B&&a.\u0275\u0275listener("focus",function(){return Ie.focus()})("blur",function(){return Ie._blur()})("keydown",function(jt){return Ie._keydown(jt)}),2&B&&(a.\u0275\u0275hostProperty("tabIndex",Ie.empty?-1:Ie.tabIndex),a.\u0275\u0275attribute("role",Ie.role)("aria-describedby",Ie._ariaDescribedby||null)("aria-required",Ie.role?Ie.required:null)("aria-disabled",Ie.disabled.toString())("aria-multiselectable",Ie.multiple)("aria-orientation",Ie.ariaOrientation),a.\u0275\u0275classProp("mat-mdc-chip-list-disabled",Ie.disabled)("mat-mdc-chip-list-required",Ie.required))},inputs:{tabIndex:"tabIndex",multiple:"multiple",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",compareWith:"compareWith",required:"required",hideSingleSelectionIndicator:"hideSingleSelectionIndicator",value:"value"},outputs:{change:"change"},features:[a.\u0275\u0275ProvidersFeature([Pn]),a.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:V,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(B,Ie){1&B&&(a.\u0275\u0275projectionDef(),a.\u0275\u0275elementStart(0,"div",0),a.\u0275\u0275projection(1),a.\u0275\u0275elementEnd())},styles:[ce],encapsulation:2,changeDetection:0}),Re})();class On{constructor(Re,Ye){this.source=Re,this.value=Ye}}class Gn extends tn{constructor(Re,Ye,B,Ie,Rt,jt,bn){super(Re,Ye,B),this._defaultErrorStateMatcher=Ie,this._parentForm=Rt,this._parentFormGroup=jt,this.ngControl=bn,this.stateChanges=new d.x}}const Kn=(0,m.mixinErrorState)(Gn);let Nn=(()=>{var H;class Re extends Kn{get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(B){this._disabled=(0,n.Ig)(B),this._syncChipsState()}get id(){return this._chipInput.id}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this._chips||0===this._chips.length)}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(B){this._placeholder=B,this.stateChanges.next()}get focused(){return this._chipInput.focused||this._hasFocusedChip()}get required(){return this._required??this.ngControl?.control?.hasValidator(w.Validators.required)??!1}set required(B){this._required=(0,n.Ig)(B),this.stateChanges.next()}get shouldLabelFloat(){return!this.empty||this.focused}get value(){return this._value}set value(B){this._value=B}get chipBlurChanges(){return this._getChipStream(B=>B._onBlur)}constructor(B,Ie,Rt,jt,bn,Mn,Yn){super(B,Ie,Rt,Mn,jt,bn,Yn),this.controlType="mat-chip-grid",this._defaultRole="grid",this._ariaDescribedbyIds=[],this._onTouched=()=>{},this._onChange=()=>{},this._value=[],this.change=new a.EventEmitter,this.valueChange=new a.EventEmitter,this._chips=void 0,this.ngControl&&(this.ngControl.valueAccessor=this)}ngAfterContentInit(){this.chipBlurChanges.pipe((0,v.R)(this._destroyed)).subscribe(()=>{this._blur(),this.stateChanges.next()}),(0,u.T)(this.chipFocusChanges,this._chips.changes).pipe((0,v.R)(this._destroyed)).subscribe(()=>this.stateChanges.next())}ngAfterViewInit(){super.ngAfterViewInit()}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnDestroy(){super.ngOnDestroy(),this.stateChanges.complete()}registerInput(B){this._chipInput=B,this._chipInput.setDescribedByIds(this._ariaDescribedbyIds)}onContainerClick(B){!this.disabled&&!this._originatesFromChip(B)&&this.focus()}focus(){this.disabled||this._chipInput.focused||(!this._chips.length||this._chips.first.disabled?Promise.resolve().then(()=>this._chipInput.focus()):this._chips.length&&this._keyManager.setFirstItemActive(),this.stateChanges.next())}setDescribedByIds(B){this._ariaDescribedbyIds=B,this._chipInput?.setDescribedByIds(B)}writeValue(B){this._value=B}registerOnChange(B){this._onChange=B}registerOnTouched(B){this._onTouched=B}setDisabledState(B){this.disabled=B,this.stateChanges.next()}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_allowFocusEscape(){this._chipInput.focused||super._allowFocusEscape()}_handleKeydown(B){B.keyCode===b.Mf?this._chipInput.focused&&(0,b.Vb)(B,"shiftKey")&&this._chips.length&&!this._chips.last.disabled?(B.preventDefault(),this._keyManager.activeItem?this._keyManager.setActiveItem(this._keyManager.activeItem):this._focusLastChip()):super._allowFocusEscape():this._chipInput.focused||super._handleKeydown(B),this.stateChanges.next()}_focusLastChip(){this._chips.length&&this._chips.last.focus()}_propagateChanges(){const B=this._chips.length?this._chips.toArray().map(Ie=>Ie.value):[];this._value=B,this.change.emit(new On(this,B)),this.valueChange.emit(B),this._onChange(B),this._changeDetectorRef.markForCheck()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}}return(H=Re).\u0275fac=function(B){return new(B||H)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(a.ChangeDetectorRef),a.\u0275\u0275directiveInject(_.Is,8),a.\u0275\u0275directiveInject(w.NgForm,8),a.\u0275\u0275directiveInject(w.FormGroupDirective,8),a.\u0275\u0275directiveInject(m.ErrorStateMatcher),a.\u0275\u0275directiveInject(w.NgControl,10))},H.\u0275cmp=a.\u0275\u0275defineComponent({type:H,selectors:[["mat-chip-grid"]],contentQueries:function(B,Ie,Rt){if(1&B&&a.\u0275\u0275contentQuery(Rt,Pt,5),2&B){let jt;a.\u0275\u0275queryRefresh(jt=a.\u0275\u0275loadQuery())&&(Ie._chips=jt)}},hostAttrs:[1,"mat-mdc-chip-set","mat-mdc-chip-grid","mdc-evolution-chip-set"],hostVars:10,hostBindings:function(B,Ie){1&B&&a.\u0275\u0275listener("focus",function(){return Ie.focus()})("blur",function(){return Ie._blur()}),2&B&&(a.\u0275\u0275hostProperty("tabIndex",Ie._chips&&0===Ie._chips.length?-1:Ie.tabIndex),a.\u0275\u0275attribute("role",Ie.role)("aria-disabled",Ie.disabled.toString())("aria-invalid",Ie.errorState),a.\u0275\u0275classProp("mat-mdc-chip-list-disabled",Ie.disabled)("mat-mdc-chip-list-invalid",Ie.errorState)("mat-mdc-chip-list-required",Ie.required))},inputs:{tabIndex:"tabIndex",disabled:"disabled",placeholder:"placeholder",required:"required",value:"value",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},features:[a.\u0275\u0275ProvidersFeature([{provide:et,useExisting:H}]),a.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:V,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(B,Ie){1&B&&(a.\u0275\u0275projectionDef(),a.\u0275\u0275elementStart(0,"div",0),a.\u0275\u0275projection(1),a.\u0275\u0275elementEnd())},styles:[ce],encapsulation:2,changeDetection:0}),Re})(),oe=0,ve=(()=>{var H;class Re{set chipGrid(B){B&&(this._chipGrid=B,this._chipGrid.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(B){this._addOnBlur=(0,n.Ig)(B)}get disabled(){return this._disabled||this._chipGrid&&this._chipGrid.disabled}set disabled(B){this._disabled=(0,n.Ig)(B)}get empty(){return!this.inputElement.value}constructor(B,Ie,Rt){this._elementRef=B,this.focused=!1,this._addOnBlur=!1,this.chipEnd=new a.EventEmitter,this.placeholder="",this.id="mat-mdc-chip-list-input-"+oe++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement,this.separatorKeyCodes=Ie.separatorKeyCodes,Rt&&this.inputElement.classList.add("mat-mdc-form-field-input-control")}ngOnChanges(){this._chipGrid.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(B){if(B){if(B.keyCode===b.ZH&&this._focusLastChipOnBackspace)return this._chipGrid._focusLastChip(),void B.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(B)}_keyup(B){!this._focusLastChipOnBackspace&&B.keyCode===b.ZH&&this.empty&&(this._focusLastChipOnBackspace=!0,B.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipGrid.focused||this._chipGrid._blur(),this._chipGrid.stateChanges.next()}_focus(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipGrid.stateChanges.next()}_emitChipEnd(B){(!B||this._isSeparatorKey(B))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),B?.preventDefault())}_onInput(){this._chipGrid.stateChanges.next()}focus(){this.inputElement.focus()}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}setDescribedByIds(B){const Ie=this._elementRef.nativeElement;B.length?Ie.setAttribute("aria-describedby",B.join(" ")):Ie.removeAttribute("aria-describedby")}_isSeparatorKey(B){return!(0,b.Vb)(B)&&new Set(this.separatorKeyCodes).has(B.keyCode)}}return(H=Re).\u0275fac=function(B){return new(B||H)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(ie),a.\u0275\u0275directiveInject(Qt,8))},H.\u0275dir=a.\u0275\u0275defineDirective({type:H,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-mdc-chip-input","mat-mdc-input-element","mdc-text-field__input","mat-input-element"],hostVars:6,hostBindings:function(B,Ie){1&B&&a.\u0275\u0275listener("keydown",function(jt){return Ie._keydown(jt)})("keyup",function(jt){return Ie._keyup(jt)})("blur",function(){return Ie._blur()})("focus",function(){return Ie._focus()})("input",function(){return Ie._onInput()}),2&B&&(a.\u0275\u0275hostProperty("id",Ie.id),a.\u0275\u0275attribute("disabled",Ie.disabled||null)("placeholder",Ie.placeholder||null)("aria-invalid",Ie._chipGrid&&Ie._chipGrid.ngControl?Ie._chipGrid.ngControl.invalid:null)("aria-required",Ie._chipGrid&&Ie._chipGrid.required||null)("required",Ie._chipGrid&&Ie._chipGrid.required||null))},inputs:{chipGrid:["matChipInputFor","chipGrid"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[a.\u0275\u0275NgOnChangesFeature]}),Re})(),q=(()=>{var H;class Re{}return(H=Re).\u0275fac=function(B){return new(B||H)},H.\u0275mod=a.\u0275\u0275defineNgModule({type:H}),H.\u0275inj=a.\u0275\u0275defineInjector({providers:[m.ErrorStateMatcher,{provide:ie,useValue:{separatorKeyCodes:[b.K5]}}],imports:[m.MatCommonModule,g.CommonModule,m.MatRippleModule,m.MatCommonModule]}),Re})()},3680:(Z,o,c)=>{"use strict";c.r(o),c.d(o,{AnimationCurves:()=>K,AnimationDurations:()=>de,DateAdapter:()=>j,ErrorStateMatcher:()=>xe,MATERIAL_SANITY_CHECKS:()=>fe,MAT_DATE_FORMATS:()=>G,MAT_DATE_LOCALE:()=>ee,MAT_DATE_LOCALE_FACTORY:()=>J,MAT_NATIVE_DATE_FORMATS:()=>Ee,MAT_OPTGROUP:()=>Qe,MAT_OPTION_PARENT_COMPONENT:()=>vt,MAT_RIPPLE_GLOBAL_OPTIONS:()=>Nt,MatCommonModule:()=>he,MatLine:()=>at,MatLineModule:()=>Ke,MatNativeDateModule:()=>Ge,MatOptgroup:()=>wt,MatOption:()=>fn,MatOptionModule:()=>it,MatOptionSelectionChange:()=>Ut,MatPseudoCheckbox:()=>en,MatPseudoCheckboxModule:()=>pt,MatRipple:()=>Qt,MatRippleLoader:()=>Xe,MatRippleModule:()=>Jt,NativeDateAdapter:()=>ae,NativeDateModule:()=>pe,RippleRef:()=>ye,RippleRenderer:()=>dt,ShowOnDirtyErrorStateMatcher:()=>Be,VERSION:()=>z,_MatOptgroupBase:()=>se,_MatOptionBase:()=>rn,_countGroupLabelsBeforeOption:()=>vn,_getOptionScrollPosition:()=>Ct,defaultRippleAnimationConfig:()=>qe,mixinColor:()=>Se,mixinDisableRipple:()=>Ze,mixinDisabled:()=>nt,mixinErrorState:()=>W,mixinInitialized:()=>Ce,mixinTabIndex:()=>st,setLines:()=>ge});var n=c(5879),a=c(4300),g=c(9388),s=c(6814),d=c(2831),u=c(2495),p=c(3018),v=c(8645),f=c(7921),y=c(6028);const _=["*",[["mat-option"],["ng-container"]]],w=["*","mat-option, ng-container"],A=["text"];function R(_e,V){if(1&_e&&n.\u0275\u0275element(0,"mat-pseudo-checkbox",6),2&_e){const ce=n.\u0275\u0275nextContext();n.\u0275\u0275property("disabled",ce.disabled)("state",ce.selected?"checked":"unchecked")}}function M(_e,V){if(1&_e&&n.\u0275\u0275element(0,"mat-pseudo-checkbox",7),2&_e){const ce=n.\u0275\u0275nextContext();n.\u0275\u0275property("disabled",ce.disabled)}}function Y(_e,V){if(1&_e&&(n.\u0275\u0275elementStart(0,"span",8),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&_e){const ce=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("(",ce.group.label,")")}}const $=[[["mat-icon"]],"*"],ne=["mat-icon","*"],z=new n.Version("16.2.5");let K=(()=>{var _e;class V{}return(_e=V).STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",_e.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",_e.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",_e.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",V})(),de=(()=>{var _e;class V{}return(_e=V).COMPLEX="375ms",_e.ENTERING="225ms",_e.EXITING="195ms",V})();const fe=new n.InjectionToken("mat-sanity-checks",{providedIn:"root",factory:function X(){return!0}});let he=(()=>{var _e;class V{constructor(ie,We,Pe){this._sanityChecks=We,this._document=Pe,this._hasDoneGlobalChecks=!1,ie._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(ie){return!(0,d.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[ie])}}return(_e=V).\u0275fac=function(ie){return new(ie||_e)(n.\u0275\u0275inject(a.qm),n.\u0275\u0275inject(fe,8),n.\u0275\u0275inject(s.DOCUMENT))},_e.\u0275mod=n.\u0275\u0275defineNgModule({type:_e}),_e.\u0275inj=n.\u0275\u0275defineInjector({imports:[g.vT,g.vT]}),V})();function nt(_e){return class extends _e{get disabled(){return this._disabled}set disabled(V){this._disabled=(0,u.Ig)(V)}constructor(...V){super(...V),this._disabled=!1}}}function Se(_e,V){return class extends _e{get color(){return this._color}set color(ce){const ie=ce||this.defaultColor;ie!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),ie&&this._elementRef.nativeElement.classList.add(`mat-${ie}`),this._color=ie)}constructor(...ce){super(...ce),this.defaultColor=V,this.color=V}}}function Ze(_e){return class extends _e{get disableRipple(){return this._disableRipple}set disableRipple(V){this._disableRipple=(0,u.Ig)(V)}constructor(...V){super(...V),this._disableRipple=!1}}}function st(_e,V=0){return class extends _e{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(ce){this._tabIndex=null!=ce?(0,u.su)(ce):this.defaultTabIndex}constructor(...ce){super(...ce),this._tabIndex=V,this.defaultTabIndex=V}}}function W(_e){return class extends _e{updateErrorState(){const V=this.errorState,Pe=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);Pe!==V&&(this.errorState=Pe,this.stateChanges.next())}constructor(...V){super(...V),this.errorState=!1}}}function Ce(_e){return class extends _e{constructor(...V){super(...V),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new p.y(ce=>{this._isInitialized?this._notifySubscriber(ce):this._pendingSubscribers.push(ce)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(V){V.next(),V.complete()}}}const ee=new n.InjectionToken("MAT_DATE_LOCALE",{providedIn:"root",factory:J});function J(){return(0,n.inject)(n.LOCALE_ID)}class j{constructor(){this._localeChanges=new v.x,this.localeChanges=this._localeChanges}getValidDateOrNull(V){return this.isDateInstance(V)&&this.isValid(V)?V:null}deserialize(V){return null==V||this.isDateInstance(V)&&this.isValid(V)?V:this.invalid()}setLocale(V){this.locale=V,this._localeChanges.next()}compareDate(V,ce){return this.getYear(V)-this.getYear(ce)||this.getMonth(V)-this.getMonth(ce)||this.getDate(V)-this.getDate(ce)}sameDate(V,ce){if(V&&ce){let ie=this.isValid(V),We=this.isValid(ce);return ie&&We?!this.compareDate(V,ce):ie==We}return V==ce}clampDate(V,ce,ie){return ce&&this.compareDate(V,ce)<0?ce:ie&&this.compareDate(V,ie)>0?ie:V}}const G=new n.InjectionToken("mat-date-formats"),Oe=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function U(_e,V){const ce=Array(_e);for(let ie=0;ie<_e;ie++)ce[ie]=V(ie);return ce}let ae=(()=>{var _e;class V extends j{constructor(ie,We){super(),this.useUtcForDisplay=!1,super.setLocale(ie)}getYear(ie){return ie.getFullYear()}getMonth(ie){return ie.getMonth()}getDate(ie){return ie.getDate()}getDayOfWeek(ie){return ie.getDay()}getMonthNames(ie){const We=new Intl.DateTimeFormat(this.locale,{month:ie,timeZone:"utc"});return U(12,Pe=>this._format(We,new Date(2017,Pe,1)))}getDateNames(){const ie=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return U(31,We=>this._format(ie,new Date(2017,0,We+1)))}getDayOfWeekNames(ie){const We=new Intl.DateTimeFormat(this.locale,{weekday:ie,timeZone:"utc"});return U(7,Pe=>this._format(We,new Date(2017,0,Pe+1)))}getYearName(ie){const We=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(We,ie)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(ie){return this.getDate(this._createDateWithOverflow(this.getYear(ie),this.getMonth(ie)+1,0))}clone(ie){return new Date(ie.getTime())}createDate(ie,We,Pe){let rt=this._createDateWithOverflow(ie,We,Pe);return rt.getMonth(),rt}today(){return new Date}parse(ie,We){return"number"==typeof ie?new Date(ie):ie?new Date(Date.parse(ie)):null}format(ie,We){if(!this.isValid(ie))throw Error("NativeDateAdapter: Cannot format invalid date.");const Pe=new Intl.DateTimeFormat(this.locale,{...We,timeZone:"utc"});return this._format(Pe,ie)}addCalendarYears(ie,We){return this.addCalendarMonths(ie,12*We)}addCalendarMonths(ie,We){let Pe=this._createDateWithOverflow(this.getYear(ie),this.getMonth(ie)+We,this.getDate(ie));return this.getMonth(Pe)!=((this.getMonth(ie)+We)%12+12)%12&&(Pe=this._createDateWithOverflow(this.getYear(Pe),this.getMonth(Pe),0)),Pe}addCalendarDays(ie,We){return this._createDateWithOverflow(this.getYear(ie),this.getMonth(ie),this.getDate(ie)+We)}toIso8601(ie){return[ie.getUTCFullYear(),this._2digit(ie.getUTCMonth()+1),this._2digit(ie.getUTCDate())].join("-")}deserialize(ie){if("string"==typeof ie){if(!ie)return null;if(Oe.test(ie)){let We=new Date(ie);if(this.isValid(We))return We}}return super.deserialize(ie)}isDateInstance(ie){return ie instanceof Date}isValid(ie){return!isNaN(ie.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(ie,We,Pe){const rt=new Date;return rt.setFullYear(ie,We,Pe),rt.setHours(0,0,0,0),rt}_2digit(ie){return("00"+ie).slice(-2)}_format(ie,We){const Pe=new Date;return Pe.setUTCFullYear(We.getFullYear(),We.getMonth(),We.getDate()),Pe.setUTCHours(We.getHours(),We.getMinutes(),We.getSeconds(),We.getMilliseconds()),ie.format(Pe)}}return(_e=V).\u0275fac=function(ie){return new(ie||_e)(n.\u0275\u0275inject(ee,8),n.\u0275\u0275inject(d.t4))},_e.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac}),V})();const Ee={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 pe=(()=>{var _e;class V{}return(_e=V).\u0275fac=function(ie){return new(ie||_e)},_e.\u0275mod=n.\u0275\u0275defineNgModule({type:_e}),_e.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:j,useClass:ae}]}),V})(),Ge=(()=>{var _e;class V{}return(_e=V).\u0275fac=function(ie){return new(ie||_e)},_e.\u0275mod=n.\u0275\u0275defineNgModule({type:_e}),_e.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:G,useValue:Ee}],imports:[pe]}),V})(),Be=(()=>{var _e;class V{isErrorState(ie,We){return!!(ie&&ie.invalid&&(ie.dirty||We&&We.submitted))}}return(_e=V).\u0275fac=function(ie){return new(ie||_e)},_e.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac}),V})(),xe=(()=>{var _e;class V{isErrorState(ie,We){return!!(ie&&ie.invalid&&(ie.touched||We&&We.submitted))}}return(_e=V).\u0275fac=function(ie){return new(ie||_e)},_e.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac,providedIn:"root"}),V})(),at=(()=>{var _e;class V{}return(_e=V).\u0275fac=function(ie){return new(ie||_e)},_e.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),V})();function ge(_e,V,ce="mat"){_e.changes.pipe((0,f.O)(_e)).subscribe(({length:ie})=>{Me(V,`${ce}-2-line`,!1),Me(V,`${ce}-3-line`,!1),Me(V,`${ce}-multi-line`,!1),2===ie||3===ie?Me(V,`${ce}-${ie}-line`,!0):ie>3&&Me(V,`${ce}-multi-line`,!0)})}function Me(_e,V,ce){_e.nativeElement.classList.toggle(V,ce)}let Ke=(()=>{var _e;class V{}return(_e=V).\u0275fac=function(ie){return new(ie||_e)},_e.\u0275mod=n.\u0275\u0275defineNgModule({type:_e}),_e.\u0275inj=n.\u0275\u0275defineInjector({imports:[he,he]}),V})();class ye{constructor(V,ce,ie,We=!1){this._renderer=V,this.element=ce,this.config=ie,this._animationForciblyDisabledThroughCss=We,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const ht=(0,d.i$)({passive:!0,capture:!0});class gt{constructor(){this._events=new Map,this._delegateEventHandler=V=>{const ce=(0,d.sA)(V);ce&&this._events.get(V.type)?.forEach((ie,We)=>{(We===ce||We.contains(ce))&&ie.forEach(Pe=>Pe.handleEvent(V))})}}addHandler(V,ce,ie,We){const Pe=this._events.get(ce);if(Pe){const rt=Pe.get(ie);rt?rt.add(We):Pe.set(ie,new Set([We]))}else this._events.set(ce,new Map([[ie,new Set([We])]])),V.runOutsideAngular(()=>{document.addEventListener(ce,this._delegateEventHandler,ht)})}removeHandler(V,ce,ie){const We=this._events.get(V);if(!We)return;const Pe=We.get(ce);Pe&&(Pe.delete(ie),0===Pe.size&&We.delete(ce),0===We.size&&(this._events.delete(V),document.removeEventListener(V,this._delegateEventHandler,ht)))}}const qe={enterDuration:225,exitDuration:150},$e=(0,d.i$)({passive:!0,capture:!0}),Ne=["mousedown","touchstart"],et=["mouseup","mouseleave","touchend","touchcancel"];class dt{constructor(V,ce,ie,We){this._target=V,this._ngZone=ce,this._platform=We,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,We.isBrowser&&(this._containerElement=(0,u.fI)(ie))}fadeInRipple(V,ce,ie={}){const We=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Pe={...qe,...ie.animation};ie.centered&&(V=We.left+We.width/2,ce=We.top+We.height/2);const rt=ie.radius||function xt(_e,V,ce){const ie=Math.max(Math.abs(_e-ce.left),Math.abs(_e-ce.right)),We=Math.max(Math.abs(V-ce.top),Math.abs(V-ce.bottom));return Math.sqrt(ie*ie+We*We)}(V,ce,We),Tt=V-We.left,ue=ce-We.top,Ae=Pe.enterDuration,bt=document.createElement("div");bt.classList.add("mat-ripple-element"),bt.style.left=Tt-rt+"px",bt.style.top=ue-rt+"px",bt.style.height=2*rt+"px",bt.style.width=2*rt+"px",null!=ie.color&&(bt.style.backgroundColor=ie.color),bt.style.transitionDuration=`${Ae}ms`,this._containerElement.appendChild(bt);const kt=window.getComputedStyle(bt),un=kt.transitionDuration,gn="none"===kt.transitionProperty||"0s"===un||"0s, 0s"===un||0===We.width&&0===We.height,Ue=new ye(this,bt,ie,gn);bt.style.transform="scale3d(1, 1, 1)",Ue.state=0,ie.persistent||(this._mostRecentTransientRipple=Ue);let Fe=null;return!gn&&(Ae||Pe.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const _t=()=>this._finishRippleTransition(Ue),ft=()=>this._destroyRipple(Ue);bt.addEventListener("transitionend",_t),bt.addEventListener("transitioncancel",ft),Fe={onTransitionEnd:_t,onTransitionCancel:ft}}),this._activeRipples.set(Ue,Fe),(gn||!Ae)&&this._finishRippleTransition(Ue),Ue}fadeOutRipple(V){if(2===V.state||3===V.state)return;const ce=V.element,ie={...qe,...V.config.animation};ce.style.transitionDuration=`${ie.exitDuration}ms`,ce.style.opacity="0",V.state=2,(V._animationForciblyDisabledThroughCss||!ie.exitDuration)&&this._finishRippleTransition(V)}fadeOutAll(){this._getActiveRipples().forEach(V=>V.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(V=>{V.config.persistent||V.fadeOut()})}setupTriggerEvents(V){const ce=(0,u.fI)(V);!this._platform.isBrowser||!ce||ce===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=ce,Ne.forEach(ie=>{dt._eventManager.addHandler(this._ngZone,ie,ce,this)}))}handleEvent(V){"mousedown"===V.type?this._onMousedown(V):"touchstart"===V.type?this._onTouchStart(V):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{et.forEach(ce=>{this._triggerElement.addEventListener(ce,this,$e)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(V){0===V.state?this._startFadeOutTransition(V):2===V.state&&this._destroyRipple(V)}_startFadeOutTransition(V){const ce=V===this._mostRecentTransientRipple,{persistent:ie}=V.config;V.state=1,!ie&&(!ce||!this._isPointerDown)&&V.fadeOut()}_destroyRipple(V){const ce=this._activeRipples.get(V)??null;this._activeRipples.delete(V),this._activeRipples.size||(this._containerRect=null),V===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),V.state=3,null!==ce&&(V.element.removeEventListener("transitionend",ce.onTransitionEnd),V.element.removeEventListener("transitioncancel",ce.onTransitionCancel)),V.element.remove()}_onMousedown(V){const ce=(0,a.X6)(V),ie=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!ce&&!ie&&(this._isPointerDown=!0,this.fadeInRipple(V.clientX,V.clientY,this._target.rippleConfig))}_onTouchStart(V){if(!this._target.rippleDisabled&&!(0,a.yG)(V)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const ce=V.changedTouches;if(ce)for(let ie=0;ie<ce.length;ie++)this.fadeInRipple(ce[ie].clientX,ce[ie].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(V=>{!V.config.persistent&&(1===V.state||V.config.terminateOnPointerUp&&0===V.state)&&V.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const V=this._triggerElement;V&&(Ne.forEach(ce=>dt._eventManager.removeHandler(ce,V,this)),this._pointerUpEventsRegistered&&et.forEach(ce=>V.removeEventListener(ce,this,$e)))}}dt._eventManager=new gt;const Nt=new n.InjectionToken("mat-ripple-global-options");let Qt=(()=>{var _e;class V{get disabled(){return this._disabled}set disabled(ie){ie&&this.fadeOutAllNonPersistent(),this._disabled=ie,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(ie){this._trigger=ie,this._setupTriggerEventsIfEnabled()}constructor(ie,We,Pe,rt,Tt){this._elementRef=ie,this._animationMode=Tt,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=rt||{},this._rippleRenderer=new dt(this,We,ie,Pe)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(ie,We=0,Pe){return"number"==typeof ie?this._rippleRenderer.fadeInRipple(ie,We,{...this.rippleConfig,...Pe}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...ie})}}return(_e=V).\u0275fac=function(ie){return new(ie||_e)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(d.t4),n.\u0275\u0275directiveInject(Nt,8),n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8))},_e.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(ie,We){2&ie&&n.\u0275\u0275classProp("mat-ripple-unbounded",We.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"]}),V})(),Jt=(()=>{var _e;class V{}return(_e=V).\u0275fac=function(ie){return new(ie||_e)},_e.\u0275mod=n.\u0275\u0275defineNgModule({type:_e}),_e.\u0275inj=n.\u0275\u0275defineInjector({imports:[he,he]}),V})(),en=(()=>{var _e;class V{constructor(ie){this._animationMode=ie,this.state="unchecked",this.disabled=!1,this.appearance="full"}}return(_e=V).\u0275fac=function(ie){return new(ie||_e)(n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8))},_e.\u0275cmp=n.\u0275\u0275defineComponent({type:_e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(ie,We){2&ie&&n.\u0275\u0275classProp("mat-pseudo-checkbox-indeterminate","indeterminate"===We.state)("mat-pseudo-checkbox-checked","checked"===We.state)("mat-pseudo-checkbox-disabled",We.disabled)("mat-pseudo-checkbox-minimal","minimal"===We.appearance)("mat-pseudo-checkbox-full","full"===We.appearance)("_mat-animation-noopable","NoopAnimations"===We._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(ie,We){},styles:['.mat-pseudo-checkbox{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-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{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0}),V})(),pt=(()=>{var _e;class V{}return(_e=V).\u0275fac=function(ie){return new(ie||_e)},_e.\u0275mod=n.\u0275\u0275defineNgModule({type:_e}),_e.\u0275inj=n.\u0275\u0275defineInjector({imports:[he]}),V})();const vt=new n.InjectionToken("MAT_OPTION_PARENT_COMPONENT"),Dt=nt(class{});let Ve=0,se=(()=>{var _e;class V extends Dt{constructor(ie){super(),this._labelId="mat-optgroup-label-"+Ve++,this._inert=ie?.inertGroups??!1}}return(_e=V).\u0275fac=function(ie){return new(ie||_e)(n.\u0275\u0275directiveInject(vt,8))},_e.\u0275dir=n.\u0275\u0275defineDirective({type:_e,inputs:{label:"label"},features:[n.\u0275\u0275InheritDefinitionFeature]}),V})();const Qe=new n.InjectionToken("MatOptgroup");let wt=(()=>{var _e;class V extends se{}return(_e=V).\u0275fac=function(){let ce;return function(We){return(ce||(ce=n.\u0275\u0275getInheritedFactory(_e)))(We||_e)}}(),_e.\u0275cmp=n.\u0275\u0275defineComponent({type:_e,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-mdc-optgroup"],hostVars:3,hostBindings:function(ie,We){2&ie&&n.\u0275\u0275attribute("role",We._inert?null:"group")("aria-disabled",We._inert?null:We.disabled.toString())("aria-labelledby",We._inert?null:We._labelId)},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[n.\u0275\u0275ProvidersFeature([{provide:Qe,useExisting:_e}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:w,decls:5,vars:4,consts:[["role","presentation",1,"mat-mdc-optgroup-label",3,"id"],[1,"mdc-list-item__primary-text"]],template:function(ie,We){1&ie&&(n.\u0275\u0275projectionDef(_),n.\u0275\u0275elementStart(0,"span",0)(1,"span",1),n.\u0275\u0275text(2),n.\u0275\u0275projection(3),n.\u0275\u0275elementEnd()(),n.\u0275\u0275projection(4,1)),2&ie&&(n.\u0275\u0275classProp("mdc-list-item--disabled",We.disabled),n.\u0275\u0275property("id",We._labelId),n.\u0275\u0275advance(2),n.\u0275\u0275textInterpolate1("",We.label," "))},styles:[".mat-mdc-optgroup{color:var(--mat-optgroup-label-text-color);font-family:var(--mat-optgroup-label-text-font);line-height:var(--mat-optgroup-label-text-line-height);font-size:var(--mat-optgroup-label-text-size);letter-spacing:var(--mat-optgroup-label-text-tracking);font-weight:var(--mat-optgroup-label-text-weight)}.mat-mdc-optgroup-label{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;min-height:48px}.mat-mdc-optgroup-label:focus{outline:none}[dir=rtl] .mat-mdc-optgroup-label,.mat-mdc-optgroup-label[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-optgroup-label.mdc-list-item--disabled{opacity:.38}.mat-mdc-optgroup-label .mdc-list-item__primary-text{font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;white-space:normal}"],encapsulation:2,changeDetection:0}),V})(),Lt=0;class Ut{constructor(V,ce=!1){this.source=V,this.isUserInput=ce}}let rn=(()=>{var _e;class V{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(ie){this._disabled=(0,u.Ig)(ie)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(ie,We,Pe,rt){this._element=ie,this._changeDetectorRef=We,this._parent=Pe,this.group=rt,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Lt++,this.onSelectionChange=new n.EventEmitter,this._stateChanges=new v.x}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(ie=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),ie&&this._emitSelectionChangeEvent())}deselect(ie=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),ie&&this._emitSelectionChangeEvent())}focus(ie,We){const Pe=this._getHostElement();"function"==typeof Pe.focus&&Pe.focus(We)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(ie){(ie.keyCode===y.K5||ie.keyCode===y.L_)&&!(0,y.Vb)(ie)&&(this._selectViaInteraction(),ie.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const ie=this.viewValue;ie!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=ie)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(ie=!1){this.onSelectionChange.emit(new Ut(this,ie))}}return(_e=V).\u0275fac=function(ie){n.\u0275\u0275invalidFactory()},_e.\u0275dir=n.\u0275\u0275defineDirective({type:_e,viewQuery:function(ie,We){if(1&ie&&n.\u0275\u0275viewQuery(A,7),2&ie){let Pe;n.\u0275\u0275queryRefresh(Pe=n.\u0275\u0275loadQuery())&&(We._text=Pe.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),V})(),fn=(()=>{var _e;class V extends rn{constructor(ie,We,Pe,rt){super(ie,We,Pe,rt)}}return(_e=V).\u0275fac=function(ie){return new(ie||_e)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(vt,8),n.\u0275\u0275directiveInject(Qe,8))},_e.\u0275cmp=n.\u0275\u0275defineComponent({type:_e,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(ie,We){1&ie&&n.\u0275\u0275listener("click",function(){return We._selectViaInteraction()})("keydown",function(rt){return We._handleKeydown(rt)}),2&ie&&(n.\u0275\u0275hostProperty("id",We.id),n.\u0275\u0275attribute("aria-selected",We.selected)("aria-disabled",We.disabled.toString()),n.\u0275\u0275classProp("mdc-list-item--selected",We.selected)("mat-mdc-option-multiple",We.multiple)("mat-mdc-option-active",We.active)("mdc-list-item--disabled",We.disabled))},exportAs:["matOption"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:ne,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","aria-hidden","true","appearance","minimal",3,"disabled",4,"ngIf"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(ie,We){1&ie&&(n.\u0275\u0275projectionDef($),n.\u0275\u0275template(0,R,1,2,"mat-pseudo-checkbox",0),n.\u0275\u0275projection(1),n.\u0275\u0275elementStart(2,"span",1,2),n.\u0275\u0275projection(4,1),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(5,M,1,1,"mat-pseudo-checkbox",3),n.\u0275\u0275template(6,Y,2,1,"span",4),n.\u0275\u0275element(7,"div",5)),2&ie&&(n.\u0275\u0275property("ngIf",We.multiple),n.\u0275\u0275advance(5),n.\u0275\u0275property("ngIf",!We.multiple&&We.selected&&!We.hideSingleSelectionIndicator),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",We.group&&We.group._inert),n.\u0275\u0275advance(1),n.\u0275\u0275property("matRippleTrigger",We._getHostElement())("matRippleDisabled",We.disabled||We.disableRipple))},dependencies:[Qt,s.NgIf,en],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-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-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),V})();function vn(_e,V,ce){if(ce.length){let ie=V.toArray(),We=ce.toArray(),Pe=0;for(let rt=0;rt<_e+1;rt++)ie[rt].group&&ie[rt].group===We[Pe]&&Pe++;return Pe}return 0}function Ct(_e,V,ce,ie){return _e<ce?_e:_e+V>ce+ie?Math.max(0,_e-ie+V):ce}let it=(()=>{var _e;class V{}return(_e=V).\u0275fac=function(ie){return new(ie||_e)},_e.\u0275mod=n.\u0275\u0275defineNgModule({type:_e}),_e.\u0275inj=n.\u0275\u0275defineInjector({imports:[Jt,s.CommonModule,he,pt]}),V})();const St={capture:!0},ze=["focus","click","mouseenter","touchstart"],lt="mat-ripple-loader-uninitialized",It="mat-ripple-loader-class-name",zt="mat-ripple-loader-centered",ut="mat-ripple-loader-disabled";let Xe=(()=>{var _e;class V{constructor(){this._document=(0,n.inject)(s.DOCUMENT,{optional:!0}),this._animationMode=(0,n.inject)(n.ANIMATION_MODULE_TYPE,{optional:!0}),this._globalRippleOptions=(0,n.inject)(Nt,{optional:!0}),this._platform=(0,n.inject)(d.t4),this._ngZone=(0,n.inject)(n.NgZone),this._onInteraction=ie=>{if(!(ie.target instanceof HTMLElement))return;const Pe=ie.target.closest(`[${lt}]`);Pe&&this.createRipple(Pe)},this._ngZone.runOutsideAngular(()=>{for(const ie of ze)this._document?.addEventListener(ie,this._onInteraction,St)})}ngOnDestroy(){for(const ie of ze)this._document?.removeEventListener(ie,this._onInteraction,St)}configureRipple(ie,We){ie.setAttribute(lt,""),(We.className||!ie.hasAttribute(It))&&ie.setAttribute(It,We.className||""),We.centered&&ie.setAttribute(zt,""),We.disabled&&ie.setAttribute(ut,"")}getRipple(ie){return ie.matRipple?ie.matRipple:this.createRipple(ie)}setDisabled(ie,We){const Pe=ie.matRipple;Pe?Pe.disabled=We:We?ie.setAttribute(ut,""):ie.removeAttribute(ut)}createRipple(ie){if(!this._document)return;ie.querySelector(".mat-ripple")?.remove();const We=this._document.createElement("span");We.classList.add("mat-ripple",ie.getAttribute(It)),ie.append(We);const Pe=new Qt(new n.ElementRef(We),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return Pe._isInitialized=!0,Pe.trigger=ie,Pe.centered=ie.hasAttribute(zt),Pe.disabled=ie.hasAttribute(ut),this.attachRipple(ie,Pe),Pe}attachRipple(ie,We){ie.removeAttribute(lt),ie.matRipple=We}}return(_e=V).\u0275fac=function(ie){return new(ie||_e)},_e.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac,providedIn:"root"}),V})()},7667:(Z,o,c)=>{"use strict";c.r(o),c.d(o,{MAT_DIALOG_DATA:()=>at,MAT_DIALOG_DEFAULT_OPTIONS:()=>ge,MAT_DIALOG_SCROLL_STRATEGY:()=>Me,MAT_DIALOG_SCROLL_STRATEGY_FACTORY:()=>ht,MAT_DIALOG_SCROLL_STRATEGY_PROVIDER:()=>ye,MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY:()=>Ke,MatDialog:()=>Q,MatDialogActions:()=>xt,MatDialogClose:()=>Ne,MatDialogConfig:()=>ee,MatDialogContainer:()=>Ge,MatDialogContent:()=>dt,MatDialogModule:()=>Qt,MatDialogRef:()=>Be,MatDialogTitle:()=>et,_MatDialogBase:()=>qe,_MatDialogContainerBase:()=>ae,_closeDialogVia:()=>xe,_defaultParams:()=>Jt,matDialogAnimations:()=>en});var n=c(9594),a=c(6814),g=c(5879),m=c(4300),s=c(2831),d=c(8484),u=c(6028),p=c(8645),v=c(3018),f=c(4829);function y(pt){return new v.y(vt=>{(0,f.Xf)(pt()).subscribe(vt)})}var b=c(2096),_=c(9388),w=c(7921);function A(pt,vt){}class R{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let Y=(()=>{var pt;class vt extends d.en{constructor(Ve,se,Qe,wt,Lt,Ut,rn,fn){super(),this._elementRef=Ve,this._focusTrapFactory=se,this._config=wt,this._interactivityChecker=Lt,this._ngZone=Ut,this._overlayRef=rn,this._focusMonitor=fn,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this.attachDomPortal=vn=>{this._portalOutlet.hasAttached();const Ct=this._portalOutlet.attachDomPortal(vn);return this._contentAttached(),Ct},this._document=Qe,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(Ve){this._portalOutlet.hasAttached();const se=this._portalOutlet.attachComponentPortal(Ve);return this._contentAttached(),se}attachTemplatePortal(Ve){this._portalOutlet.hasAttached();const se=this._portalOutlet.attachTemplatePortal(Ve);return this._contentAttached(),se}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(Ve,se){this._interactivityChecker.isFocusable(Ve)||(Ve.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Qe=()=>{Ve.removeEventListener("blur",Qe),Ve.removeEventListener("mousedown",Qe),Ve.removeAttribute("tabindex")};Ve.addEventListener("blur",Qe),Ve.addEventListener("mousedown",Qe)})),Ve.focus(se)}_focusByCssSelector(Ve,se){let Qe=this._elementRef.nativeElement.querySelector(Ve);Qe&&this._forceFocus(Qe,se)}_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(se=>{se||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 se=null;if("string"==typeof Ve?se=this._document.querySelector(Ve):"boolean"==typeof Ve?se=Ve?this._elementFocusedBeforeDialogWasOpened:null:Ve&&(se=Ve),this._config.restoreFocus&&se&&"function"==typeof se.focus){const Qe=(0,s.ht)(),wt=this._elementRef.nativeElement;(!Qe||Qe===this._document.body||Qe===wt||wt.contains(Qe))&&(this._focusMonitor?(this._focusMonitor.focusVia(se,this._closeInteractionType),this._closeInteractionType=null):se.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const Ve=this._elementRef.nativeElement,se=(0,s.ht)();return Ve===se||Ve.contains(se)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,s.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return(pt=vt).\u0275fac=function(Ve){return new(Ve||pt)(g.\u0275\u0275directiveInject(g.ElementRef),g.\u0275\u0275directiveInject(m.qV),g.\u0275\u0275directiveInject(a.DOCUMENT,8),g.\u0275\u0275directiveInject(R),g.\u0275\u0275directiveInject(m.ic),g.\u0275\u0275directiveInject(g.NgZone),g.\u0275\u0275directiveInject(n.Iu),g.\u0275\u0275directiveInject(m.tE))},pt.\u0275cmp=g.\u0275\u0275defineComponent({type:pt,selectors:[["cdk-dialog-container"]],viewQuery:function(Ve,se){if(1&Ve&&g.\u0275\u0275viewQuery(d.Pl,7),2&Ve){let Qe;g.\u0275\u0275queryRefresh(Qe=g.\u0275\u0275loadQuery())&&(se._portalOutlet=Qe.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(Ve,se){2&Ve&&g.\u0275\u0275attribute("id",se._config.id||null)("role",se._config.role)("aria-modal",se._config.ariaModal)("aria-labelledby",se._config.ariaLabel?null:se._ariaLabelledByQueue[0])("aria-label",se._config.ariaLabel)("aria-describedby",se._config.ariaDescribedBy||null)},features:[g.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(Ve,se){1&Ve&&g.\u0275\u0275template(0,A,0,0,"ng-template",0)},dependencies:[d.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),vt})();class ${constructor(vt,Dt){this.overlayRef=vt,this.config=Dt,this.closed=new p.x,this.disableClose=Dt.disableClose,this.backdropClick=vt.backdropClick(),this.keydownEvents=vt.keydownEvents(),this.outsidePointerEvents=vt.outsidePointerEvents(),this.id=Dt.id,this.keydownEvents.subscribe(Ve=>{Ve.keyCode===u.hY&&!this.disableClose&&!(0,u.Vb)(Ve)&&(Ve.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=vt.detachments().subscribe(()=>{!1!==Dt.closeOnOverlayDetachments&&this.close()})}close(vt,Dt){if(this.containerInstance){const Ve=this.closed;this.containerInstance._closeInteractionType=Dt?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),Ve.next(vt),Ve.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(vt="",Dt=""){return this.overlayRef.updateSize({width:vt,height:Dt}),this}addPanelClass(vt){return this.overlayRef.addPanelClass(vt),this}removePanelClass(vt){return this.overlayRef.removePanelClass(vt),this}}const ne=new g.InjectionToken("DialogScrollStrategy"),z=new g.InjectionToken("DialogData"),K=new g.InjectionToken("DefaultDialogConfig"),X={provide:ne,deps:[n.aV],useFactory:function de(pt){return()=>pt.scrollStrategies.block()}};let fe=0,he=(()=>{var pt;class vt{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(Ve,se,Qe,wt,Lt,Ut){this._overlay=Ve,this._injector=se,this._defaultOptions=Qe,this._parentDialog=wt,this._overlayContainer=Lt,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new p.x,this._afterOpenedAtThisLevel=new p.x,this._ariaHiddenElements=new Map,this.afterAllClosed=y(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,w.O)(void 0))),this._scrollStrategy=Ut}open(Ve,se){(se={...this._defaultOptions||new R,...se}).id=se.id||"cdk-dialog-"+fe++,se.id&&this.getDialogById(se.id);const wt=this._getOverlayConfig(se),Lt=this._overlay.create(wt),Ut=new $(Lt,se),rn=this._attachContainer(Lt,Ut,se);return Ut.containerInstance=rn,this._attachDialogContent(Ve,Ut,rn,se),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(Ut),Ut.closed.subscribe(()=>this._removeOpenDialog(Ut,!0)),this.afterOpened.next(Ut),Ut}closeAll(){ot(this.openDialogs,Ve=>Ve.close())}getDialogById(Ve){return this.openDialogs.find(se=>se.id===Ve)}ngOnDestroy(){ot(this._openDialogsAtThisLevel,Ve=>{!1===Ve.config.closeOnDestroy&&this._removeOpenDialog(Ve,!1)}),ot(this._openDialogsAtThisLevel,Ve=>Ve.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(Ve){const se=new n.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&&(se.backdropClass=Ve.backdropClass),se}_attachContainer(Ve,se,Qe){const wt=Qe.injector||Qe.viewContainerRef?.injector,Lt=[{provide:R,useValue:Qe},{provide:$,useValue:se},{provide:n.Iu,useValue:Ve}];let Ut;Qe.container?"function"==typeof Qe.container?Ut=Qe.container:(Ut=Qe.container.type,Lt.push(...Qe.container.providers(Qe))):Ut=Y;const rn=new d.C5(Ut,Qe.viewContainerRef,g.Injector.create({parent:wt||this._injector,providers:Lt}),Qe.componentFactoryResolver);return Ve.attach(rn).instance}_attachDialogContent(Ve,se,Qe,wt){if(Ve instanceof g.TemplateRef){const Lt=this._createInjector(wt,se,Qe,void 0);let Ut={$implicit:wt.data,dialogRef:se};wt.templateContext&&(Ut={...Ut,..."function"==typeof wt.templateContext?wt.templateContext():wt.templateContext}),Qe.attachTemplatePortal(new d.UE(Ve,null,Ut,Lt))}else{const Lt=this._createInjector(wt,se,Qe,this._injector),Ut=Qe.attachComponentPortal(new d.C5(Ve,wt.viewContainerRef,Lt,wt.componentFactoryResolver));se.componentRef=Ut,se.componentInstance=Ut.instance}}_createInjector(Ve,se,Qe,wt){const Lt=Ve.injector||Ve.viewContainerRef?.injector,Ut=[{provide:z,useValue:Ve.data},{provide:$,useValue:se}];return Ve.providers&&("function"==typeof Ve.providers?Ut.push(...Ve.providers(se,Ve,Qe)):Ut.push(...Ve.providers)),Ve.direction&&(!Lt||!Lt.get(_.Is,null,{optional:!0}))&&Ut.push({provide:_.Is,useValue:{value:Ve.direction,change:(0,b.of)()}}),g.Injector.create({parent:Lt||wt,providers:Ut})}_removeOpenDialog(Ve,se){const Qe=this.openDialogs.indexOf(Ve);Qe>-1&&(this.openDialogs.splice(Qe,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((wt,Lt)=>{wt?Lt.setAttribute("aria-hidden",wt):Lt.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),se&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const Ve=this._overlayContainer.getContainerElement();if(Ve.parentElement){const se=Ve.parentElement.children;for(let Qe=se.length-1;Qe>-1;Qe--){const wt=se[Qe];wt!==Ve&&"SCRIPT"!==wt.nodeName&&"STYLE"!==wt.nodeName&&!wt.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(wt,wt.getAttribute("aria-hidden")),wt.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const Ve=this._parentDialog;return Ve?Ve._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return(pt=vt).\u0275fac=function(Ve){return new(Ve||pt)(g.\u0275\u0275inject(n.aV),g.\u0275\u0275inject(g.Injector),g.\u0275\u0275inject(K,8),g.\u0275\u0275inject(pt,12),g.\u0275\u0275inject(n.Xj),g.\u0275\u0275inject(ne))},pt.\u0275prov=g.\u0275\u0275defineInjectable({token:pt,factory:pt.\u0275fac}),vt})();function ot(pt,vt){let Dt=pt.length;for(;Dt--;)vt(pt[Dt])}let we=(()=>{var pt;class vt{}return(pt=vt).\u0275fac=function(Ve){return new(Ve||pt)},pt.\u0275mod=g.\u0275\u0275defineNgModule({type:pt}),pt.\u0275inj=g.\u0275\u0275defineInjector({providers:[he,X],imports:[n.U8,d.eL,m.rt,d.eL]}),vt})();var tt=c(2495),nt=c(3019),Se=c(2181),Ze=c(8180),st=c(3680),W=c(6825);function Ce(pt,vt){}class ee{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const J="mdc-dialog--open",j="mdc-dialog--opening",G="mdc-dialog--closing";let ae=(()=>{var pt;class vt extends Y{constructor(Ve,se,Qe,wt,Lt,Ut,rn,fn){super(Ve,se,Qe,wt,Lt,Ut,rn,fn),this._animationStateChanged=new g.EventEmitter}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(Ve){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:Ve})}}return(pt=vt).\u0275fac=function(Ve){return new(Ve||pt)(g.\u0275\u0275directiveInject(g.ElementRef),g.\u0275\u0275directiveInject(m.qV),g.\u0275\u0275directiveInject(a.DOCUMENT,8),g.\u0275\u0275directiveInject(ee),g.\u0275\u0275directiveInject(m.ic),g.\u0275\u0275directiveInject(g.NgZone),g.\u0275\u0275directiveInject(n.Iu),g.\u0275\u0275directiveInject(m.tE))},pt.\u0275cmp=g.\u0275\u0275defineComponent({type:pt,selectors:[["ng-component"]],features:[g.\u0275\u0275InheritDefinitionFeature],decls:0,vars:0,template:function(Ve,se){},encapsulation:2}),vt})();const Ee="--mat-dialog-transition-duration";function pe(pt){return null==pt?null:"number"==typeof pt?pt:pt.endsWith("ms")?(0,tt.su)(pt.substring(0,pt.length-2)):pt.endsWith("s")?1e3*(0,tt.su)(pt.substring(0,pt.length-1)):"0"===pt?0:null}let Ge=(()=>{var pt;class vt extends ae{constructor(Ve,se,Qe,wt,Lt,Ut,rn,fn,vn){super(Ve,se,Qe,wt,Lt,Ut,rn,vn),this._animationMode=fn,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?pe(this._config.enterAnimationDuration)??150:0,this._exitAnimationDuration=this._animationsEnabled?pe(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(Ee,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(j,J)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(J),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(J),this._animationsEnabled?(this._hostElement.style.setProperty(Ee,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(G)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(j,G)}_waitForAnimationToComplete(Ve,se){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(se,Ve)}_requestAnimationFrame(Ve){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(Ve):Ve()})}}return(pt=vt).\u0275fac=function(Ve){return new(Ve||pt)(g.\u0275\u0275directiveInject(g.ElementRef),g.\u0275\u0275directiveInject(m.qV),g.\u0275\u0275directiveInject(a.DOCUMENT,8),g.\u0275\u0275directiveInject(ee),g.\u0275\u0275directiveInject(m.ic),g.\u0275\u0275directiveInject(g.NgZone),g.\u0275\u0275directiveInject(n.Iu),g.\u0275\u0275directiveInject(g.ANIMATION_MODULE_TYPE,8),g.\u0275\u0275directiveInject(m.tE))},pt.\u0275cmp=g.\u0275\u0275defineComponent({type:pt,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(Ve,se){2&Ve&&(g.\u0275\u0275hostProperty("id",se._config.id),g.\u0275\u0275attribute("aria-modal",se._config.ariaModal)("role",se._config.role)("aria-labelledby",se._config.ariaLabel?null:se._ariaLabelledByQueue[0])("aria-label",se._config.ariaLabel)("aria-describedby",se._config.ariaDescribedBy||null),g.\u0275\u0275classProp("_mat-animation-noopable",!se._animationsEnabled))},features:[g.\u0275\u0275InheritDefinitionFeature],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(Ve,se){1&Ve&&(g.\u0275\u0275elementStart(0,"div",0)(1,"div",1),g.\u0275\u0275template(2,Ce,0,0,"ng-template",2),g.\u0275\u0275elementEnd()())},dependencies:[d.Pl],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{--mdc-dialog-container-elevation-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);--mdc-dialog-container-shadow-color:#000;--mdc-dialog-container-shape:4px;--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2}),vt})();class Be{constructor(vt,Dt,Ve){this._ref=vt,this._containerInstance=Ve,this._afterOpened=new p.x,this._beforeClosed=new p.x,this._state=0,this.disableClose=Dt.disableClose,this.id=vt.id,Ve._animationStateChanged.pipe((0,Se.h)(se=>"opened"===se.state),(0,Ze.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),Ve._animationStateChanged.pipe((0,Se.h)(se=>"closed"===se.state),(0,Ze.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),vt.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,nt.T)(this.backdropClick(),this.keydownEvents().pipe((0,Se.h)(se=>se.keyCode===u.hY&&!this.disableClose&&!(0,u.Vb)(se)))).subscribe(se=>{this.disableClose||(se.preventDefault(),xe(this,"keydown"===se.type?"keyboard":"mouse"))})}close(vt){this._result=vt,this._containerInstance._animationStateChanged.pipe((0,Se.h)(Dt=>"closing"===Dt.state),(0,Ze.q)(1)).subscribe(Dt=>{this._beforeClosed.next(vt),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),Dt.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(vt){let Dt=this._ref.config.positionStrategy;return vt&&(vt.left||vt.right)?vt.left?Dt.left(vt.left):Dt.right(vt.right):Dt.centerHorizontally(),vt&&(vt.top||vt.bottom)?vt.top?Dt.top(vt.top):Dt.bottom(vt.bottom):Dt.centerVertically(),this._ref.updatePosition(),this}updateSize(vt="",Dt=""){return this._ref.updateSize(vt,Dt),this}addPanelClass(vt){return this._ref.addPanelClass(vt),this}removePanelClass(vt){return this._ref.removePanelClass(vt),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function xe(pt,vt,Dt){return pt._closeInteractionType=vt,pt.close(Dt)}const at=new g.InjectionToken("MatMdcDialogData"),ge=new g.InjectionToken("mat-mdc-dialog-default-options"),Me=new g.InjectionToken("mat-mdc-dialog-scroll-strategy");function Ke(pt){return()=>pt.scrollStrategies.block()}const ye={provide:Me,deps:[n.aV],useFactory:Ke};function ht(pt){return()=>pt.scrollStrategies.block()}let gt=0,qe=(()=>{var pt;class vt{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}constructor(Ve,se,Qe,wt,Lt,Ut,rn,fn,vn,Ct){this._overlay=Ve,this._defaultOptions=Qe,this._parentDialog=wt,this._dialogRefConstructor=rn,this._dialogContainerType=fn,this._dialogDataToken=vn,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new p.x,this._afterOpenedAtThisLevel=new p.x,this._idPrefix="mat-dialog-",this.dialogConfigClass=ee,this.afterAllClosed=y(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,w.O)(void 0))),this._scrollStrategy=Ut,this._dialog=se.get(he)}open(Ve,se){let Qe;(se={...this._defaultOptions||new ee,...se}).id=se.id||`${this._idPrefix}${gt++}`,se.scrollStrategy=se.scrollStrategy||this._scrollStrategy();const wt=this._dialog.open(Ve,{...se,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:se},{provide:R,useValue:se}]},templateContext:()=>({dialogRef:Qe}),providers:(Lt,Ut,rn)=>(Qe=new this._dialogRefConstructor(Lt,se,rn),Qe.updatePosition(se?.position),[{provide:this._dialogContainerType,useValue:rn},{provide:this._dialogDataToken,useValue:Ut.data},{provide:this._dialogRefConstructor,useValue:Qe}])});return Qe.componentRef=wt.componentRef,Qe.componentInstance=wt.componentInstance,this.openDialogs.push(Qe),this.afterOpened.next(Qe),Qe.afterClosed().subscribe(()=>{const Lt=this.openDialogs.indexOf(Qe);Lt>-1&&(this.openDialogs.splice(Lt,1),this.openDialogs.length||this._getAfterAllClosed().next())}),Qe}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(Ve){return this.openDialogs.find(se=>se.id===Ve)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(Ve){let se=Ve.length;for(;se--;)Ve[se].close()}}return(pt=vt).\u0275fac=function(Ve){g.\u0275\u0275invalidFactory()},pt.\u0275prov=g.\u0275\u0275defineInjectable({token:pt,factory:pt.\u0275fac}),vt})(),Q=(()=>{var pt;class vt extends qe{constructor(Ve,se,Qe,wt,Lt,Ut,rn,fn){super(Ve,se,wt,Ut,rn,Lt,Be,Ge,at,fn),this._idPrefix="mat-mdc-dialog-"}}return(pt=vt).\u0275fac=function(Ve){return new(Ve||pt)(g.\u0275\u0275inject(n.aV),g.\u0275\u0275inject(g.Injector),g.\u0275\u0275inject(a.Location,8),g.\u0275\u0275inject(ge,8),g.\u0275\u0275inject(Me),g.\u0275\u0275inject(pt,12),g.\u0275\u0275inject(n.Xj),g.\u0275\u0275inject(g.ANIMATION_MODULE_TYPE,8))},pt.\u0275prov=g.\u0275\u0275defineInjectable({token:pt,factory:pt.\u0275fac}),vt})(),$e=0,Ne=(()=>{var pt;class vt{constructor(Ve,se,Qe){this.dialogRef=Ve,this._elementRef=se,this._dialog=Qe,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=Nt(this._elementRef,this._dialog.openDialogs))}ngOnChanges(Ve){const se=Ve._matDialogClose||Ve._matDialogCloseResult;se&&(this.dialogResult=se.currentValue)}_onButtonClick(Ve){xe(this.dialogRef,0===Ve.screenX&&0===Ve.screenY?"keyboard":"mouse",this.dialogResult)}}return(pt=vt).\u0275fac=function(Ve){return new(Ve||pt)(g.\u0275\u0275directiveInject(Be,8),g.\u0275\u0275directiveInject(g.ElementRef),g.\u0275\u0275directiveInject(Q))},pt.\u0275dir=g.\u0275\u0275defineDirective({type:pt,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(Ve,se){1&Ve&&g.\u0275\u0275listener("click",function(wt){return se._onButtonClick(wt)}),2&Ve&&g.\u0275\u0275attribute("aria-label",se.ariaLabel||null)("type",se.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[g.\u0275\u0275NgOnChangesFeature]}),vt})(),et=(()=>{var pt;class vt{constructor(Ve,se,Qe){this._dialogRef=Ve,this._elementRef=se,this._dialog=Qe,this.id="mat-mdc-dialog-title-"+$e++}ngOnInit(){this._dialogRef||(this._dialogRef=Nt(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._dialogRef._containerInstance?._ariaLabelledByQueue?.push(this.id)})}ngOnDestroy(){const Ve=this._dialogRef?._containerInstance?._ariaLabelledByQueue;Ve&&Promise.resolve().then(()=>{const se=Ve.indexOf(this.id);se>-1&&Ve.splice(se,1)})}}return(pt=vt).\u0275fac=function(Ve){return new(Ve||pt)(g.\u0275\u0275directiveInject(Be,8),g.\u0275\u0275directiveInject(g.ElementRef),g.\u0275\u0275directiveInject(Q))},pt.\u0275dir=g.\u0275\u0275defineDirective({type:pt,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(Ve,se){2&Ve&&g.\u0275\u0275hostProperty("id",se.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),vt})(),dt=(()=>{var pt;class vt{}return(pt=vt).\u0275fac=function(Ve){return new(Ve||pt)},pt.\u0275dir=g.\u0275\u0275defineDirective({type:pt,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"]}),vt})(),xt=(()=>{var pt;class vt{constructor(){this.align="start"}}return(pt=vt).\u0275fac=function(Ve){return new(Ve||pt)},pt.\u0275dir=g.\u0275\u0275defineDirective({type:pt,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:4,hostBindings:function(Ve,se){2&Ve&&g.\u0275\u0275classProp("mat-mdc-dialog-actions-align-center","center"===se.align)("mat-mdc-dialog-actions-align-end","end"===se.align)},inputs:{align:"align"}}),vt})();function Nt(pt,vt){let Dt=pt.nativeElement.parentElement;for(;Dt&&!Dt.classList.contains("mat-mdc-dialog-container");)Dt=Dt.parentElement;return Dt?vt.find(Ve=>Ve.id===Dt.id):null}let Qt=(()=>{var pt;class vt{}return(pt=vt).\u0275fac=function(Ve){return new(Ve||pt)},pt.\u0275mod=g.\u0275\u0275defineNgModule({type:pt}),pt.\u0275inj=g.\u0275\u0275defineInjector({providers:[Q,ye],imports:[we,n.U8,d.eL,st.MatCommonModule,st.MatCommonModule]}),vt})();const Jt={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},en={dialogContainer:(0,W.X$)("dialogContainer",[(0,W.SB)("void, exit",(0,W.oB)({opacity:0,transform:"scale(0.7)"})),(0,W.SB)("enter",(0,W.oB)({transform:"none"})),(0,W.eR)("* => enter",(0,W.ru)([(0,W.jt)("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",(0,W.oB)({transform:"none",opacity:1})),(0,W.IO)("@*",(0,W.pV)(),{optional:!0})]),Jt),(0,W.eR)("* => void, * => exit",(0,W.ru)([(0,W.jt)("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",(0,W.oB)({opacity:0})),(0,W.IO)("@*",(0,W.pV)(),{optional:!0})]),Jt)])}},5307:(Z,o,c)=>{"use strict";c.r(o),c.d(o,{ICON_REGISTRY_PROVIDER:()=>st,ICON_REGISTRY_PROVIDER_FACTORY:()=>Ze,MAT_ICON_DEFAULT_OPTIONS:()=>j,MAT_ICON_LOCATION:()=>G,MAT_ICON_LOCATION_FACTORY:()=>Oe,MatIcon:()=>pe,MatIconModule:()=>Ge,MatIconRegistry:()=>Se,getMatIconFailedToSanitizeLiteralError:()=>tt,getMatIconFailedToSanitizeUrlError:()=>we,getMatIconNameNotFoundError:()=>he,getMatIconNoHttpProviderError:()=>ot});var n=c(5879),a=c(3680),g=c(2495),m=c(6814),s=c(2096),d=c(3018),u=c(4674),v=c(9315),f=c(7394),y=c(9397),b=c(7398),_=c(4829),w=c(8251),A=c(9360);function R(Be){return(0,A.e)((xe,at)=>{let Ke,ge=null,Me=!1;ge=xe.subscribe((0,w.x)(at,void 0,void 0,ye=>{Ke=(0,_.Xf)(Be(ye,R(Be)(xe))),ge?(ge.unsubscribe(),ge=null,Ke.subscribe(at)):Me=!0})),Me&&(ge.unsubscribe(),ge=null,Ke.subscribe(at))})}var M=c(4716),Y=c(3020),$=c(8180),ne=c(7502),z=c(6593);const K=["*"];let de;function fe(Be){return function X(){if(void 0===de&&(de=null,typeof window<"u")){const Be=window;void 0!==Be.trustedTypes&&(de=Be.trustedTypes.createPolicy("angular#components",{createHTML:xe=>xe}))}return de}()?.createHTML(Be)||Be}function he(Be){return Error(`Unable to find icon with the name "${Be}"`)}function ot(){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 we(Be){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${Be}".`)}function tt(Be){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${Be}".`)}class nt{constructor(xe,at,ge){this.url=xe,this.svgText=at,this.options=ge}}let Se=(()=>{var Be;class xe{constructor(ge,Me,Ke,ye){this._httpClient=ge,this._sanitizer=Me,this._errorHandler=ye,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=Ke}addSvgIcon(ge,Me,Ke){return this.addSvgIconInNamespace("",ge,Me,Ke)}addSvgIconLiteral(ge,Me,Ke){return this.addSvgIconLiteralInNamespace("",ge,Me,Ke)}addSvgIconInNamespace(ge,Me,Ke,ye){return this._addSvgIconConfig(ge,Me,new nt(Ke,null,ye))}addSvgIconResolver(ge){return this._resolvers.push(ge),this}addSvgIconLiteralInNamespace(ge,Me,Ke,ye){const ht=this._sanitizer.sanitize(n.SecurityContext.HTML,Ke);if(!ht)throw tt(Ke);const gt=fe(ht);return this._addSvgIconConfig(ge,Me,new nt("",gt,ye))}addSvgIconSet(ge,Me){return this.addSvgIconSetInNamespace("",ge,Me)}addSvgIconSetLiteral(ge,Me){return this.addSvgIconSetLiteralInNamespace("",ge,Me)}addSvgIconSetInNamespace(ge,Me,Ke){return this._addSvgIconSetConfig(ge,new nt(Me,null,Ke))}addSvgIconSetLiteralInNamespace(ge,Me,Ke){const ye=this._sanitizer.sanitize(n.SecurityContext.HTML,Me);if(!ye)throw tt(Me);const ht=fe(ye);return this._addSvgIconSetConfig(ge,new nt("",ht,Ke))}registerFontClassAlias(ge,Me=ge){return this._fontCssClassesByAlias.set(ge,Me),this}classNameForFontAlias(ge){return this._fontCssClassesByAlias.get(ge)||ge}setDefaultFontSetClass(...ge){return this._defaultFontSetClass=ge,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(ge){const Me=this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,ge);if(!Me)throw we(ge);const Ke=this._cachedIconsByUrl.get(Me);return Ke?(0,s.of)(W(Ke)):this._loadSvgIconFromConfig(new nt(ge,null)).pipe((0,y.b)(ye=>this._cachedIconsByUrl.set(Me,ye)),(0,b.U)(ye=>W(ye)))}getNamedSvgIcon(ge,Me=""){const Ke=Ce(Me,ge);let ye=this._svgIconConfigs.get(Ke);if(ye)return this._getSvgFromConfig(ye);if(ye=this._getIconConfigFromResolvers(Me,ge),ye)return this._svgIconConfigs.set(Ke,ye),this._getSvgFromConfig(ye);const ht=this._iconSetConfigs.get(Me);return ht?this._getSvgFromIconSetConfigs(ge,ht):function p(Be,xe){const at=(0,u.m)(Be)?Be:()=>Be,ge=Me=>Me.error(at());return new d.y(xe?Me=>xe.schedule(ge,0,Me):ge)}(he(Ke))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(ge){return ge.svgText?(0,s.of)(W(this._svgElementFromConfig(ge))):this._loadSvgIconFromConfig(ge).pipe((0,b.U)(Me=>W(Me)))}_getSvgFromIconSetConfigs(ge,Me){const Ke=this._extractIconWithNameFromAnySet(ge,Me);if(Ke)return(0,s.of)(Ke);const ye=Me.filter(ht=>!ht.svgText).map(ht=>this._loadSvgIconSetFromConfig(ht).pipe(R(gt=>{const Q=`Loading icon set URL: ${this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,ht.url)} failed: ${gt.message}`;return this._errorHandler.handleError(new Error(Q)),(0,s.of)(null)})));return(0,v.D)(ye).pipe((0,b.U)(()=>{const ht=this._extractIconWithNameFromAnySet(ge,Me);if(!ht)throw he(ge);return ht}))}_extractIconWithNameFromAnySet(ge,Me){for(let Ke=Me.length-1;Ke>=0;Ke--){const ye=Me[Ke];if(ye.svgText&&ye.svgText.toString().indexOf(ge)>-1){const ht=this._svgElementFromConfig(ye),gt=this._extractSvgIconFromSet(ht,ge,ye.options);if(gt)return gt}}return null}_loadSvgIconFromConfig(ge){return this._fetchIcon(ge).pipe((0,y.b)(Me=>ge.svgText=Me),(0,b.U)(()=>this._svgElementFromConfig(ge)))}_loadSvgIconSetFromConfig(ge){return ge.svgText?(0,s.of)(null):this._fetchIcon(ge).pipe((0,y.b)(Me=>ge.svgText=Me))}_extractSvgIconFromSet(ge,Me,Ke){const ye=ge.querySelector(`[id="${Me}"]`);if(!ye)return null;const ht=ye.cloneNode(!0);if(ht.removeAttribute("id"),"svg"===ht.nodeName.toLowerCase())return this._setSvgAttributes(ht,Ke);if("symbol"===ht.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(ht),Ke);const gt=this._svgElementFromString(fe("<svg></svg>"));return gt.appendChild(ht),this._setSvgAttributes(gt,Ke)}_svgElementFromString(ge){const Me=this._document.createElement("DIV");Me.innerHTML=ge;const Ke=Me.querySelector("svg");if(!Ke)throw Error("<svg> tag not found");return Ke}_toSvgElement(ge){const Me=this._svgElementFromString(fe("<svg></svg>")),Ke=ge.attributes;for(let ye=0;ye<Ke.length;ye++){const{name:ht,value:gt}=Ke[ye];"id"!==ht&&Me.setAttribute(ht,gt)}for(let ye=0;ye<ge.childNodes.length;ye++)ge.childNodes[ye].nodeType===this._document.ELEMENT_NODE&&Me.appendChild(ge.childNodes[ye].cloneNode(!0));return Me}_setSvgAttributes(ge,Me){return ge.setAttribute("fit",""),ge.setAttribute("height","100%"),ge.setAttribute("width","100%"),ge.setAttribute("preserveAspectRatio","xMidYMid meet"),ge.setAttribute("focusable","false"),Me&&Me.viewBox&&ge.setAttribute("viewBox",Me.viewBox),ge}_fetchIcon(ge){const{url:Me,options:Ke}=ge,ye=Ke?.withCredentials??!1;if(!this._httpClient)throw ot();if(null==Me)throw Error(`Cannot fetch icon from URL "${Me}".`);const ht=this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,Me);if(!ht)throw we(Me);const gt=this._inProgressUrlFetches.get(ht);if(gt)return gt;const qe=this._httpClient.get(ht,{responseType:"text",withCredentials:ye}).pipe((0,b.U)(Q=>fe(Q)),(0,M.x)(()=>this._inProgressUrlFetches.delete(ht)),(0,Y.B)());return this._inProgressUrlFetches.set(ht,qe),qe}_addSvgIconConfig(ge,Me,Ke){return this._svgIconConfigs.set(Ce(ge,Me),Ke),this}_addSvgIconSetConfig(ge,Me){const Ke=this._iconSetConfigs.get(ge);return Ke?Ke.push(Me):this._iconSetConfigs.set(ge,[Me]),this}_svgElementFromConfig(ge){if(!ge.svgElement){const Me=this._svgElementFromString(ge.svgText);this._setSvgAttributes(Me,ge.options),ge.svgElement=Me}return ge.svgElement}_getIconConfigFromResolvers(ge,Me){for(let Ke=0;Ke<this._resolvers.length;Ke++){const ye=this._resolvers[Ke](Me,ge);if(ye)return ee(ye)?new nt(ye.url,null,ye.options):new nt(ye,null)}}}return(Be=xe).\u0275fac=function(ge){return new(ge||Be)(n.\u0275\u0275inject(ne.HttpClient,8),n.\u0275\u0275inject(z.DomSanitizer),n.\u0275\u0275inject(m.DOCUMENT,8),n.\u0275\u0275inject(n.ErrorHandler))},Be.\u0275prov=n.\u0275\u0275defineInjectable({token:Be,factory:Be.\u0275fac,providedIn:"root"}),xe})();function Ze(Be,xe,at,ge,Me){return Be||new Se(xe,at,Me,ge)}const st={provide:Se,deps:[[new n.Optional,new n.SkipSelf,Se],[new n.Optional,ne.HttpClient],z.DomSanitizer,n.ErrorHandler,[new n.Optional,m.DOCUMENT]],useFactory:Ze};function W(Be){return Be.cloneNode(!0)}function Ce(Be,xe){return Be+":"+xe}function ee(Be){return!(!Be.url||!Be.options)}const J=(0,a.mixinColor)(class{constructor(Be){this._elementRef=Be}}),j=new n.InjectionToken("MAT_ICON_DEFAULT_OPTIONS"),G=new n.InjectionToken("mat-icon-location",{providedIn:"root",factory:Oe});function Oe(){const Be=(0,n.inject)(m.DOCUMENT),xe=Be?Be.location:null;return{getPathname:()=>xe?xe.pathname+xe.search:""}}const U=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],ae=U.map(Be=>`[${Be}]`).join(", "),Ee=/^url\(['"]?#(.*?)['"]?\)$/;let pe=(()=>{var Be;class xe extends J{get inline(){return this._inline}set inline(ge){this._inline=(0,g.Ig)(ge)}get svgIcon(){return this._svgIcon}set svgIcon(ge){ge!==this._svgIcon&&(ge?this._updateSvgIcon(ge):this._svgIcon&&this._clearSvgElement(),this._svgIcon=ge)}get fontSet(){return this._fontSet}set fontSet(ge){const Me=this._cleanupFontValue(ge);Me!==this._fontSet&&(this._fontSet=Me,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(ge){const Me=this._cleanupFontValue(ge);Me!==this._fontIcon&&(this._fontIcon=Me,this._updateFontIconClasses())}constructor(ge,Me,Ke,ye,ht,gt){super(ge),this._iconRegistry=Me,this._location=ye,this._errorHandler=ht,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=f.w0.EMPTY,gt&&(gt.color&&(this.color=this.defaultColor=gt.color),gt.fontSet&&(this.fontSet=gt.fontSet)),Ke||ge.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(ge){if(!ge)return["",""];const Me=ge.split(":");switch(Me.length){case 1:return["",Me[0]];case 2:return Me;default:throw Error(`Invalid icon name: "${ge}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const ge=this._elementsWithExternalReferences;if(ge&&ge.size){const Me=this._location.getPathname();Me!==this._previousPath&&(this._previousPath=Me,this._prependPathToReferences(Me))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(ge){this._clearSvgElement();const Me=this._location.getPathname();this._previousPath=Me,this._cacheChildrenWithExternalReferences(ge),this._prependPathToReferences(Me),this._elementRef.nativeElement.appendChild(ge)}_clearSvgElement(){const ge=this._elementRef.nativeElement;let Me=ge.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();Me--;){const Ke=ge.childNodes[Me];(1!==Ke.nodeType||"svg"===Ke.nodeName.toLowerCase())&&Ke.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const ge=this._elementRef.nativeElement,Me=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Ke=>Ke.length>0);this._previousFontSetClass.forEach(Ke=>ge.classList.remove(Ke)),Me.forEach(Ke=>ge.classList.add(Ke)),this._previousFontSetClass=Me,this.fontIcon!==this._previousFontIconClass&&!Me.includes("mat-ligature-font")&&(this._previousFontIconClass&&ge.classList.remove(this._previousFontIconClass),this.fontIcon&&ge.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(ge){return"string"==typeof ge?ge.trim().split(" ")[0]:ge}_prependPathToReferences(ge){const Me=this._elementsWithExternalReferences;Me&&Me.forEach((Ke,ye)=>{Ke.forEach(ht=>{ye.setAttribute(ht.name,`url('${ge}#${ht.value}')`)})})}_cacheChildrenWithExternalReferences(ge){const Me=ge.querySelectorAll(ae),Ke=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let ye=0;ye<Me.length;ye++)U.forEach(ht=>{const gt=Me[ye],qe=gt.getAttribute(ht),Q=qe?qe.match(Ee):null;if(Q){let $e=Ke.get(gt);$e||($e=[],Ke.set(gt,$e)),$e.push({name:ht,value:Q[1]})}})}_updateSvgIcon(ge){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),ge){const[Me,Ke]=this._splitIconName(ge);Me&&(this._svgNamespace=Me),Ke&&(this._svgName=Ke),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Ke,Me).pipe((0,$.q)(1)).subscribe(ye=>this._setSvgElement(ye),ye=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${Me}:${Ke}! ${ye.message}`))})}}}return(Be=xe).\u0275fac=function(ge){return new(ge||Be)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(Se),n.\u0275\u0275injectAttribute("aria-hidden"),n.\u0275\u0275directiveInject(G),n.\u0275\u0275directiveInject(n.ErrorHandler),n.\u0275\u0275directiveInject(j,8))},Be.\u0275cmp=n.\u0275\u0275defineComponent({type:Be,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(ge,Me){2&ge&&(n.\u0275\u0275attribute("data-mat-icon-type",Me._usingFontIcon()?"font":"svg")("data-mat-icon-name",Me._svgName||Me.fontIcon)("data-mat-icon-namespace",Me._svgNamespace||Me.fontSet)("fontIcon",Me._usingFontIcon()?Me.fontIcon:null),n.\u0275\u0275classProp("mat-icon-inline",Me.inline)("mat-icon-no-color","primary"!==Me.color&&"accent"!==Me.color&&"warn"!==Me.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:K,decls:1,vars:0,template:function(ge,Me){1&ge&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0}),xe})(),Ge=(()=>{var Be;class xe{}return(Be=xe).\u0275fac=function(ge){return new(ge||Be)},Be.\u0275mod=n.\u0275\u0275defineNgModule({type:Be}),Be.\u0275inj=n.\u0275\u0275defineInjector({imports:[a.MatCommonModule,a.MatCommonModule]}),xe})()},1326:(Z,o,c)=>{"use strict";c.r(o),c.d(o,{MAT_MENU_CONTENT:()=>at,MAT_MENU_DEFAULT_OPTIONS:()=>qe,MAT_MENU_PANEL:()=>ae,MAT_MENU_SCROLL_STRATEGY:()=>et,MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>xt,MENU_PANEL_TOP_PADDING:()=>Qt,MatMenu:()=>Ne,MatMenuContent:()=>Me,MatMenuItem:()=>pe,MatMenuModule:()=>pt,MatMenuTrigger:()=>en,_MatMenuBase:()=>$e,_MatMenuContentBase:()=>ge,_MatMenuTriggerBase:()=>Jt,fadeInItems:()=>ye,matMenuAnimations:()=>Ke,transformMenu:()=>ht});var n=c(5879),a=c(4300),g=c(2495),m=c(6028),s=c(8645),d=c(3019),u=c(7394),p=c(2096),v=c(6410),f=c(7921),y=c(4664),b=c(8180),_=c(9773),w=c(2181),A=c(6321),R=c(5211),M=c(9360),Y=c(8251),$=c(2420),z=c(7398),de=c(1631),X=c(4829);function fe(vt,Dt){return Dt?Ve=>(0,R.z)(Dt.pipe((0,b.q)(1),function ne(){return(0,M.e)((vt,Dt)=>{vt.subscribe((0,Y.x)(Dt,$.Z))})}()),Ve.pipe(fe(vt))):(0,de.z)((Ve,se)=>(0,X.Xf)(vt(Ve,se)).pipe((0,b.q)(1),function K(vt){return(0,z.U)(()=>vt)}(Ve)))}var he=c(4825);function ot(vt,Dt=A.z){const Ve=(0,he.H)(vt,Dt);return fe(()=>Ve)}var we=c(3680),tt=c(6814),nt=c(8484),Se=c(6825),Ze=c(9388),st=c(9594),W=c(2831),Ce=c(9829);const ee=["mat-menu-item",""];function J(vt,Dt){1&vt&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(0,"svg",3),n.\u0275\u0275element(1,"polygon",4),n.\u0275\u0275elementEnd())}const j=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],G=["mat-icon, [matMenuItemIcon]","*"];function Oe(vt,Dt){if(1&vt){const Ve=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"div",0),n.\u0275\u0275listener("keydown",function(Qe){n.\u0275\u0275restoreView(Ve);const wt=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(wt._handleKeydown(Qe))})("click",function(){n.\u0275\u0275restoreView(Ve);const Qe=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Qe.closed.emit("click"))})("@transformMenu.start",function(Qe){n.\u0275\u0275restoreView(Ve);const wt=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(wt._onAnimationStart(Qe))})("@transformMenu.done",function(Qe){n.\u0275\u0275restoreView(Ve);const wt=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(wt._onAnimationDone(Qe))}),n.\u0275\u0275elementStart(1,"div",1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd()()}if(2&vt){const Ve=n.\u0275\u0275nextContext();n.\u0275\u0275property("id",Ve.panelId)("ngClass",Ve._classList)("@transformMenu",Ve._panelAnimationState),n.\u0275\u0275attribute("aria-label",Ve.ariaLabel||null)("aria-labelledby",Ve.ariaLabelledby||null)("aria-describedby",Ve.ariaDescribedby||null)}}const U=["*"],ae=new n.InjectionToken("MAT_MENU_PANEL"),Ee=(0,we.mixinDisableRipple)((0,we.mixinDisabled)(class{}));let pe=(()=>{var vt;class Dt extends Ee{constructor(se,Qe,wt,Lt,Ut){super(),this._elementRef=se,this._document=Qe,this._focusMonitor=wt,this._parentMenu=Lt,this._changeDetectorRef=Ut,this.role="menuitem",this._hovered=new s.x,this._focused=new s.x,this._highlighted=!1,this._triggersSubmenu=!1,Lt?.addItem?.(this)}focus(se,Qe){this._focusMonitor&&se?this._focusMonitor.focusVia(this._getHostElement(),se,Qe):this._getHostElement().focus(Qe),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(se){this.disabled&&(se.preventDefault(),se.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const se=this._elementRef.nativeElement.cloneNode(!0),Qe=se.querySelectorAll("mat-icon, .material-icons");for(let wt=0;wt<Qe.length;wt++)Qe[wt].remove();return se.textContent?.trim()||""}_setHighlighted(se){this._highlighted=se,this._changeDetectorRef?.markForCheck()}_setTriggersSubmenu(se){this._triggersSubmenu=se,this._changeDetectorRef?.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}}return(vt=Dt).\u0275fac=function(se){return new(se||vt)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(tt.DOCUMENT),n.\u0275\u0275directiveInject(a.tE),n.\u0275\u0275directiveInject(ae,8),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},vt.\u0275cmp=n.\u0275\u0275defineComponent({type:vt,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-focus-indicator"],hostVars:8,hostBindings:function(se,Qe){1&se&&n.\u0275\u0275listener("click",function(Lt){return Qe._checkDisabled(Lt)})("mouseenter",function(){return Qe._handleMouseEnter()}),2&se&&(n.\u0275\u0275attribute("role",Qe.role)("tabindex",Qe._getTabIndex())("aria-disabled",Qe.disabled)("disabled",Qe.disabled||null),n.\u0275\u0275classProp("mat-mdc-menu-item-highlighted",Qe._highlighted)("mat-mdc-menu-item-submenu-trigger",Qe._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[n.\u0275\u0275InheritDefinitionFeature],attrs:ee,ngContentSelectors:G,decls:5,vars:3,consts:[[1,"mat-mdc-menu-item-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-mdc-menu-submenu-icon","viewBox","0 0 5 10","focusable","false","aria-hidden","true",4,"ngIf"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(se,Qe){1&se&&(n.\u0275\u0275projectionDef(j),n.\u0275\u0275projection(0),n.\u0275\u0275elementStart(1,"span",0),n.\u0275\u0275projection(2,1),n.\u0275\u0275elementEnd(),n.\u0275\u0275element(3,"div",1),n.\u0275\u0275template(4,J,2,0,"svg",2)),2&se&&(n.\u0275\u0275advance(3),n.\u0275\u0275property("matRippleDisabled",Qe.disableRipple||Qe.disabled)("matRippleTrigger",Qe._getHostElement()),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Qe._triggersSubmenu))},dependencies:[tt.NgIf,we.MatRipple],encapsulation:2,changeDetection:0}),Dt})();const at=new n.InjectionToken("MatMenuContent");let ge=(()=>{var vt;class Dt{constructor(se,Qe,wt,Lt,Ut,rn,fn){this._template=se,this._componentFactoryResolver=Qe,this._appRef=wt,this._injector=Lt,this._viewContainerRef=Ut,this._document=rn,this._changeDetectorRef=fn,this._attached=new s.x}attach(se={}){this._portal||(this._portal=new nt.UE(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new nt.u0(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));const Qe=this._template.elementRef.nativeElement;Qe.parentNode.insertBefore(this._outlet.outletElement,Qe),this._changeDetectorRef?.markForCheck(),this._portal.attach(this._outlet,se),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}}return(vt=Dt).\u0275fac=function(se){return new(se||vt)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ComponentFactoryResolver),n.\u0275\u0275directiveInject(n.ApplicationRef),n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(tt.DOCUMENT),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},vt.\u0275dir=n.\u0275\u0275defineDirective({type:vt}),Dt})(),Me=(()=>{var vt;class Dt extends ge{}return(vt=Dt).\u0275fac=function(){let Ve;return function(Qe){return(Ve||(Ve=n.\u0275\u0275getInheritedFactory(vt)))(Qe||vt)}}(),vt.\u0275dir=n.\u0275\u0275defineDirective({type:vt,selectors:[["ng-template","matMenuContent",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:at,useExisting:vt}]),n.\u0275\u0275InheritDefinitionFeature]}),Dt})();const Ke={transformMenu:(0,Se.X$)("transformMenu",[(0,Se.SB)("void",(0,Se.oB)({opacity:0,transform:"scale(0.8)"})),(0,Se.eR)("void => enter",(0,Se.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,Se.oB)({opacity:1,transform:"scale(1)"}))),(0,Se.eR)("* => void",(0,Se.jt)("100ms 25ms linear",(0,Se.oB)({opacity:0})))]),fadeInItems:(0,Se.X$)("fadeInItems",[(0,Se.SB)("showing",(0,Se.oB)({opacity:1})),(0,Se.eR)("void => *",[(0,Se.oB)({opacity:0}),(0,Se.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},ye=Ke.fadeInItems,ht=Ke.transformMenu;let gt=0;const qe=new n.InjectionToken("mat-menu-default-options",{providedIn:"root",factory:function Q(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let $e=(()=>{var vt;class Dt{get xPosition(){return this._xPosition}set xPosition(se){this._xPosition=se,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(se){this._yPosition=se,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(se){this._overlapTrigger=(0,g.Ig)(se)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(se){this._hasBackdrop=(0,g.Ig)(se)}set panelClass(se){const Qe=this._previousPanelClass;Qe&&Qe.length&&Qe.split(" ").forEach(wt=>{this._classList[wt]=!1}),this._previousPanelClass=se,se&&se.length&&(se.split(" ").forEach(wt=>{this._classList[wt]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(se){this.panelClass=se}constructor(se,Qe,wt,Lt){this._elementRef=se,this._ngZone=Qe,this._changeDetectorRef=Lt,this._directDescendantItems=new n.QueryList,this._classList={},this._panelAnimationState="void",this._animationDone=new s.x,this.closed=new n.EventEmitter,this.close=this.closed,this.panelId="mat-menu-panel-"+gt++,this.overlayPanelClass=wt.overlayPanelClass||"",this._xPosition=wt.xPosition,this._yPosition=wt.yPosition,this.backdropClass=wt.backdropClass,this._overlapTrigger=wt.overlapTrigger,this._hasBackdrop=wt.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new a.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,f.O)(this._directDescendantItems),(0,y.w)(se=>(0,d.T)(...se.map(Qe=>Qe._focused)))).subscribe(se=>this._keyManager.updateActiveItem(se)),this._directDescendantItems.changes.subscribe(se=>{const Qe=this._keyManager;if("enter"===this._panelAnimationState&&Qe.activeItem?._hasFocus()){const wt=se.toArray(),Lt=Math.max(0,Math.min(wt.length-1,Qe.activeItemIndex||0));wt[Lt]&&!wt[Lt].disabled?Qe.setActiveItem(Lt):Qe.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,f.O)(this._directDescendantItems),(0,y.w)(Qe=>(0,d.T)(...Qe.map(wt=>wt._hovered))))}addItem(se){}removeItem(se){}_handleKeydown(se){const Qe=se.keyCode,wt=this._keyManager;switch(Qe){case m.hY:(0,m.Vb)(se)||(se.preventDefault(),this.closed.emit("keydown"));break;case m.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case m.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(Qe===m.LH||Qe===m.JH)&&wt.setFocusOrigin("keyboard"),void wt.onKeydown(se)}se.stopPropagation()}focusFirstItem(se="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,b.q)(1)).subscribe(()=>{let Qe=null;if(this._directDescendantItems.length&&(Qe=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!Qe||!Qe.contains(document.activeElement)){const wt=this._keyManager;wt.setFocusOrigin(se).setFirstItemActive(),!wt.activeItem&&Qe&&Qe.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(se){const Qe=Math.min(this._baseElevation+se,24),wt=`${this._elevationPrefix}${Qe}`,Lt=Object.keys(this._classList).find(Ut=>Ut.startsWith(this._elevationPrefix));(!Lt||Lt===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[wt]=!0,this._previousElevation=wt)}setPositionClasses(se=this.xPosition,Qe=this.yPosition){const wt=this._classList;wt["mat-menu-before"]="before"===se,wt["mat-menu-after"]="after"===se,wt["mat-menu-above"]="above"===Qe,wt["mat-menu-below"]="below"===Qe,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(se){this._animationDone.next(se),this._isAnimating=!1}_onAnimationStart(se){this._isAnimating=!0,"enter"===se.toState&&0===this._keyManager.activeItemIndex&&(se.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,f.O)(this._allItems)).subscribe(se=>{this._directDescendantItems.reset(se.filter(Qe=>Qe._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return(vt=Dt).\u0275fac=function(se){return new(se||vt)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(qe),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},vt.\u0275dir=n.\u0275\u0275defineDirective({type:vt,contentQueries:function(se,Qe,wt){if(1&se&&(n.\u0275\u0275contentQuery(wt,at,5),n.\u0275\u0275contentQuery(wt,pe,5),n.\u0275\u0275contentQuery(wt,pe,4)),2&se){let Lt;n.\u0275\u0275queryRefresh(Lt=n.\u0275\u0275loadQuery())&&(Qe.lazyContent=Lt.first),n.\u0275\u0275queryRefresh(Lt=n.\u0275\u0275loadQuery())&&(Qe._allItems=Lt),n.\u0275\u0275queryRefresh(Lt=n.\u0275\u0275loadQuery())&&(Qe.items=Lt)}},viewQuery:function(se,Qe){if(1&se&&n.\u0275\u0275viewQuery(n.TemplateRef,5),2&se){let wt;n.\u0275\u0275queryRefresh(wt=n.\u0275\u0275loadQuery())&&(Qe.templateRef=wt.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"}}),Dt})(),Ne=(()=>{var vt;class Dt extends $e{constructor(se,Qe,wt,Lt){super(se,Qe,wt,Lt),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}}return(vt=Dt).\u0275fac=function(se){return new(se||vt)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(qe),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},vt.\u0275cmp=n.\u0275\u0275defineComponent({type:vt,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(se,Qe){2&se&&n.\u0275\u0275attribute("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[n.\u0275\u0275ProvidersFeature([{provide:ae,useExisting:vt}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:U,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content"]],template:function(se,Qe){1&se&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275template(0,Oe,3,6,"ng-template"))},dependencies:[tt.NgClass],styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;white-space:normal;font-family:var(--mat-menu-item-label-text-font);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-weight)}.mat-mdc-menu-panel{--mat-menu-container-shape:4px;min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape);background-color:var(--mat-menu-container-color);will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;align-items:center;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[Ke.transformMenu,Ke.fadeInItems]},changeDetection:0}),Dt})();const et=new n.InjectionToken("mat-menu-scroll-strategy"),xt={provide:et,deps:[st.aV],useFactory:function dt(vt){return()=>vt.scrollStrategies.reposition()}},Nt=(0,W.i$)({passive:!0}),Qt=8;let Jt=(()=>{var vt;class Dt{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(se){this.menu=se}get menu(){return this._menu}set menu(se){se!==this._menu&&(this._menu=se,this._menuCloseSubscription.unsubscribe(),se&&(this._menuCloseSubscription=se.close.subscribe(Qe=>{this._destroyMenu(Qe),("click"===Qe||"tab"===Qe)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(Qe)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(se,Qe,wt,Lt,Ut,rn,fn,vn,Ct){this._overlay=se,this._element=Qe,this._viewContainerRef=wt,this._menuItemInstance=rn,this._dir=fn,this._focusMonitor=vn,this._ngZone=Ct,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=u.w0.EMPTY,this._hoverSubscription=u.w0.EMPTY,this._menuCloseSubscription=u.w0.EMPTY,this._changeDetectorRef=(0,n.inject)(n.ChangeDetectorRef),this._handleTouchStart=it=>{(0,a.yG)(it)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new n.EventEmitter,this.onMenuOpen=this.menuOpened,this.menuClosed=new n.EventEmitter,this.onMenuClose=this.menuClosed,this._scrollStrategy=Lt,this._parentMaterialMenu=Ut instanceof $e?Ut:void 0,Qe.nativeElement.addEventListener("touchstart",this._handleTouchStart,Nt)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Nt),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const se=this.menu;if(this._menuOpen||!se)return;const Qe=this._createOverlay(se),wt=Qe.getConfig(),Lt=wt.positionStrategy;this._setPosition(se,Lt),wt.hasBackdrop=null==se.hasBackdrop?!this.triggersSubmenu():se.hasBackdrop,Qe.attach(this._getPortal(se)),se.lazyContent&&se.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(se),se instanceof $e&&(se._startAnimation(),se._directDescendantItems.changes.pipe((0,_.R)(se.close)).subscribe(()=>{Lt.withLockedPosition(!1).reapplyLastPosition(),Lt.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(se,Qe){this._focusMonitor&&se?this._focusMonitor.focusVia(this._element,se,Qe):this._element.nativeElement.focus(Qe)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(se){if(!this._overlayRef||!this.menuOpen)return;const Qe=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===se||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,Qe instanceof $e?(Qe._resetAnimation(),Qe.lazyContent?Qe._animationDone.pipe((0,w.h)(wt=>"void"===wt.toState),(0,b.q)(1),(0,_.R)(Qe.lazyContent._attached)).subscribe({next:()=>Qe.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),Qe?.lazyContent?.detach())}_initMenu(se){se.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,se.direction=this.dir,this._setMenuElevation(se),se.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(se){if(se.setElevation){let Qe=0,wt=se.parentMenu;for(;wt;)Qe++,wt=wt.parentMenu;se.setElevation(Qe)}}_setIsMenuOpen(se){se!==this._menuOpen&&(this._menuOpen=se,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(se),this._changeDetectorRef.markForCheck())}_createOverlay(se){if(!this._overlayRef){const Qe=this._getOverlayConfig(se);this._subscribeToPositions(se,Qe.positionStrategy),this._overlayRef=this._overlay.create(Qe),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(se){return new st.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:se.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:se.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(se,Qe){se.setPositionClasses&&Qe.positionChanges.subscribe(wt=>{const Lt="start"===wt.connectionPair.overlayX?"after":"before",Ut="top"===wt.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>se.setPositionClasses(Lt,Ut)):se.setPositionClasses(Lt,Ut)})}_setPosition(se,Qe){let[wt,Lt]="before"===se.xPosition?["end","start"]:["start","end"],[Ut,rn]="above"===se.yPosition?["bottom","top"]:["top","bottom"],[fn,vn]=[Ut,rn],[Ct,it]=[wt,Lt],St=0;if(this.triggersSubmenu()){if(it=wt="before"===se.xPosition?"start":"end",Lt=Ct="end"===wt?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const ze=this._parentMaterialMenu.items.first;this._parentInnerPadding=ze?ze._getHostElement().offsetTop:0}St="bottom"===Ut?this._parentInnerPadding:-this._parentInnerPadding}}else se.overlapTrigger||(fn="top"===Ut?"bottom":"top",vn="top"===rn?"bottom":"top");Qe.withPositions([{originX:wt,originY:fn,overlayX:Ct,overlayY:Ut,offsetY:St},{originX:Lt,originY:fn,overlayX:it,overlayY:Ut,offsetY:St},{originX:wt,originY:vn,overlayX:Ct,overlayY:rn,offsetY:-St},{originX:Lt,originY:vn,overlayX:it,overlayY:rn,offsetY:-St}])}_menuClosingActions(){const se=this._overlayRef.backdropClick(),Qe=this._overlayRef.detachments(),wt=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,p.of)(),Lt=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,w.h)(Ut=>Ut!==this._menuItemInstance),(0,w.h)(()=>this._menuOpen)):(0,p.of)();return(0,d.T)(se,wt,Lt,Qe)}_handleMousedown(se){(0,a.X6)(se)||(this._openedBy=0===se.button?"mouse":void 0,this.triggersSubmenu()&&se.preventDefault())}_handleKeydown(se){const Qe=se.keyCode;(Qe===m.K5||Qe===m.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(Qe===m.SV&&"ltr"===this.dir||Qe===m.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(se){this.triggersSubmenu()?(se.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,w.h)(se=>se===this._menuItemInstance&&!se.disabled),ot(0,v.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof $e&&this.menu._isAnimating?this.menu._animationDone.pipe((0,b.q)(1),ot(0,v.E),(0,_.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(se){return(!this._portal||this._portal.templateRef!==se.templateRef)&&(this._portal=new nt.UE(se.templateRef,this._viewContainerRef)),this._portal}}return(vt=Dt).\u0275fac=function(se){return new(se||vt)(n.\u0275\u0275directiveInject(st.aV),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(et),n.\u0275\u0275directiveInject(ae,8),n.\u0275\u0275directiveInject(pe,10),n.\u0275\u0275directiveInject(Ze.Is,8),n.\u0275\u0275directiveInject(a.tE),n.\u0275\u0275directiveInject(n.NgZone))},vt.\u0275dir=n.\u0275\u0275defineDirective({type:vt,hostVars:3,hostBindings:function(se,Qe){1&se&&n.\u0275\u0275listener("click",function(Lt){return Qe._handleClick(Lt)})("mousedown",function(Lt){return Qe._handleMousedown(Lt)})("keydown",function(Lt){return Qe._handleKeydown(Lt)}),2&se&&n.\u0275\u0275attribute("aria-haspopup",Qe.menu?"menu":null)("aria-expanded",Qe.menuOpen)("aria-controls",Qe.menuOpen?Qe.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"}}),Dt})(),en=(()=>{var vt;class Dt extends Jt{}return(vt=Dt).\u0275fac=function(){let Ve;return function(Qe){return(Ve||(Ve=n.\u0275\u0275getInheritedFactory(vt)))(Qe||vt)}}(),vt.\u0275dir=n.\u0275\u0275defineDirective({type:vt,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[n.\u0275\u0275InheritDefinitionFeature]}),Dt})(),pt=(()=>{var vt;class Dt{}return(vt=Dt).\u0275fac=function(se){return new(se||vt)},vt.\u0275mod=n.\u0275\u0275defineNgModule({type:vt}),vt.\u0275inj=n.\u0275\u0275defineInjector({providers:[xt],imports:[tt.CommonModule,we.MatRippleModule,we.MatCommonModule,st.U8,Ce.ZD,we.MatCommonModule]}),Dt})()},1370:(Z,o,c)=>{"use strict";c.r(o),c.d(o,{MatCell:()=>Fe,MatCellDef:()=>bt,MatColumnDef:()=>un,MatFooterCell:()=>Ue,MatFooterCellDef:()=>En,MatFooterRow:()=>Gt,MatFooterRowDef:()=>Ot,MatHeaderCell:()=>gn,MatHeaderCellDef:()=>kt,MatHeaderRow:()=>Yt,MatHeaderRowDef:()=>ft,MatNoDataRow:()=>on,MatRecycleRows:()=>ue,MatRow:()=>tn,MatRowDef:()=>Pt,MatTable:()=>Ae,MatTableDataSource:()=>Nn,MatTableModule:()=>On,MatTextColumn:()=>Pn,_MatTableDataSource:()=>Kn});var n=c(5879),a=c(9388),g=c(2495),m=c(3018),s=c(7394),d=c(9360),u=c(8251);class v extends m.y{constructor(ve,Le){super(),this.source=ve,this.subjectFactory=Le,this._subject=null,this._refCount=0,this._connection=null,(0,d.A)(ve)&&(this.lift=ve.lift)}_subscribe(ve){return this.getSubject().subscribe(ve)}getSubject(){const ve=this._subject;return(!ve||ve.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:ve}=this;this._subject=this._connection=null,ve?.unsubscribe()}connect(){let ve=this._connection;if(!ve){ve=this._connection=new s.w0;const Le=this.getSubject();ve.add(this.source.subscribe((0,u.x)(Le,void 0,()=>{this._teardown(),Le.complete()},q=>{this._teardown(),Le.error(q)},()=>this._teardown()))),ve.closed&&(this._connection=null,ve=s.w0.EMPTY)}return ve}refCount(){return function p(){return(0,d.e)((oe,ve)=>{let Le=null;oe._refCount++;const q=(0,u.x)(ve,void 0,void 0,void 0,()=>{if(!oe||oe._refCount<=0||0<--oe._refCount)return void(Le=null);const H=oe._connection,Re=Le;Le=null,H&&(!Re||H===Re)&&H.unsubscribe(),ve.unsubscribe()});oe.subscribe(q),q.closed||(Le=oe.connect())})}()(this)}}class f{}function y(oe){return oe&&"function"==typeof oe.connect&&!(oe instanceof v)}class _{applyChanges(ve,Le,q,H,Re){ve.forEachOperation((Ye,B,Ie)=>{let Rt,jt;if(null==Ye.previousIndex){const bn=q(Ye,B,Ie);Rt=Le.createEmbeddedView(bn.templateRef,bn.context,bn.index),jt=1}else null==Ie?(Le.remove(B),jt=3):(Rt=Le.get(B),Le.move(Rt,Ie),jt=2);Re&&Re({context:Rt?.context,operation:jt,record:Ye})})}detach(){}}class w{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(ve,Le,q,H,Re){ve.forEachOperation((Ye,B,Ie)=>{let Rt,jt;null==Ye.previousIndex?(Rt=this._insertView(()=>q(Ye,B,Ie),Ie,Le,H(Ye)),jt=Rt?1:0):null==Ie?(this._detachAndCacheView(B,Le),jt=3):(Rt=this._moveView(B,Ie,Le,H(Ye)),jt=2),Re&&Re({context:Rt?.context,operation:jt,record:Ye})})}detach(){for(const ve of this._viewCache)ve.destroy();this._viewCache=[]}_insertView(ve,Le,q,H){const Re=this._insertViewFromCache(Le,q);if(Re)return void(Re.context.$implicit=H);const Ye=ve();return q.createEmbeddedView(Ye.templateRef,Ye.context,Ye.index)}_detachAndCacheView(ve,Le){const q=Le.detach(ve);this._maybeCacheView(q,Le)}_moveView(ve,Le,q,H){const Re=q.get(ve);return q.move(Re,Le),Re.context.$implicit=H,Re}_maybeCacheView(ve,Le){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(ve);else{const q=Le.indexOf(ve);-1===q?ve.destroy():Le.remove(q)}}_insertViewFromCache(ve,Le){const q=this._viewCache.pop();return q&&Le.insert(q,ve),q||null}}const Y=new n.InjectionToken("_ViewRepeater");var $=c(2831),ne=c(9829),z=c(6814),K=c(8645),de=c(7715),X=c(5619),fe=c(4674),ot=c(2096),we=c(9773),tt=c(8180);const nt=[[["caption"]],[["colgroup"],["col"]]],Se=["caption","colgroup, col"];function Ze(oe,ve){if(1&oe&&(n.\u0275\u0275elementStart(0,"th",3),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&oe){const Le=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",Le.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Le.headerText," ")}}function st(oe,ve){if(1&oe&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&oe){const Le=ve.$implicit,q=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",q.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",q.dataAccessor(Le,q.name)," ")}}function W(oe){return class extends oe{get sticky(){return this._sticky}set sticky(ve){const Le=this._sticky;this._sticky=(0,g.Ig)(ve),this._hasStickyChanged=Le!==this._sticky}hasStickyChanged(){const ve=this._hasStickyChanged;return this._hasStickyChanged=!1,ve}resetStickyChanged(){this._hasStickyChanged=!1}constructor(...ve){super(...ve),this._sticky=!1,this._hasStickyChanged=!1}}}const Ce=new n.InjectionToken("CDK_TABLE"),ee=new n.InjectionToken("text-column-options");let J=(()=>{var oe;class ve{constructor(q){this.template=q}}return(oe=ve).\u0275fac=function(q){return new(q||oe)(n.\u0275\u0275directiveInject(n.TemplateRef))},oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","cdkCellDef",""]]}),ve})(),j=(()=>{var oe;class ve{constructor(q){this.template=q}}return(oe=ve).\u0275fac=function(q){return new(q||oe)(n.\u0275\u0275directiveInject(n.TemplateRef))},oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","cdkHeaderCellDef",""]]}),ve})(),G=(()=>{var oe;class ve{constructor(q){this.template=q}}return(oe=ve).\u0275fac=function(q){return new(q||oe)(n.\u0275\u0275directiveInject(n.TemplateRef))},oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","cdkFooterCellDef",""]]}),ve})();class Oe{}const U=W(Oe);let ae=(()=>{var oe;class ve extends U{get name(){return this._name}set name(q){this._setNameInput(q)}get stickyEnd(){return this._stickyEnd}set stickyEnd(q){const H=this._stickyEnd;this._stickyEnd=(0,g.Ig)(q),this._hasStickyChanged=H!==this._stickyEnd}constructor(q){super(),this._table=q,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(q){q&&(this._name=q,this.cssClassFriendlyName=q.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return(oe=ve).\u0275fac=function(q){return new(q||oe)(n.\u0275\u0275directiveInject(Ce,8))},oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","cdkColumnDef",""]],contentQueries:function(q,H,Re){if(1&q&&(n.\u0275\u0275contentQuery(Re,J,5),n.\u0275\u0275contentQuery(Re,j,5),n.\u0275\u0275contentQuery(Re,G,5)),2&q){let Ye;n.\u0275\u0275queryRefresh(Ye=n.\u0275\u0275loadQuery())&&(H.cell=Ye.first),n.\u0275\u0275queryRefresh(Ye=n.\u0275\u0275loadQuery())&&(H.headerCell=Ye.first),n.\u0275\u0275queryRefresh(Ye=n.\u0275\u0275loadQuery())&&(H.footerCell=Ye.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[n.\u0275\u0275ProvidersFeature([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:oe}]),n.\u0275\u0275InheritDefinitionFeature]}),ve})();class Ee{constructor(ve,Le){Le.nativeElement.classList.add(...ve._columnCssClassName)}}let pe=(()=>{var oe;class ve extends Ee{constructor(q,H){super(q,H)}}return(oe=ve).\u0275fac=function(q){return new(q||oe)(n.\u0275\u0275directiveInject(ae),n.\u0275\u0275directiveInject(n.ElementRef))},oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),ve})(),Ge=(()=>{var oe;class ve extends Ee{constructor(q,H){if(super(q,H),1===q._table?._elementRef.nativeElement.nodeType){const Re=q._table._elementRef.nativeElement.getAttribute("role");H.nativeElement.setAttribute("role","grid"===Re||"treegrid"===Re?"gridcell":"cell")}}}return(oe=ve).\u0275fac=function(q){return new(q||oe)(n.\u0275\u0275directiveInject(ae),n.\u0275\u0275directiveInject(n.ElementRef))},oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),ve})(),Be=(()=>{var oe;class ve extends Ee{constructor(q,H){if(super(q,H),1===q._table?._elementRef.nativeElement.nodeType){const Re=q._table._elementRef.nativeElement.getAttribute("role");H.nativeElement.setAttribute("role","grid"===Re||"treegrid"===Re?"gridcell":"cell")}}}return(oe=ve).\u0275fac=function(q){return new(q||oe)(n.\u0275\u0275directiveInject(ae),n.\u0275\u0275directiveInject(n.ElementRef))},oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),ve})();class xe{constructor(){this.tasks=[],this.endTasks=[]}}const at=new n.InjectionToken("_COALESCED_STYLE_SCHEDULER");let ge=(()=>{var oe;class ve{constructor(q){this._ngZone=q,this._currentSchedule=null,this._destroyed=new K.x}schedule(q){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(q)}scheduleEnd(q){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(q)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new xe,this._getScheduleObservable().pipe((0,we.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const q=this._currentSchedule;this._currentSchedule=new xe;for(const H of q.tasks)H();for(const H of q.endTasks)H()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,de.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,tt.q)(1))}}return(oe=ve).\u0275fac=function(q){return new(q||oe)(n.\u0275\u0275inject(n.NgZone))},oe.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac}),ve})(),Ke=(()=>{var oe;class ve{constructor(q,H){this.template=q,this._differs=H}ngOnChanges(q){if(!this._columnsDiffer){const H=q.columns&&q.columns.currentValue||[];this._columnsDiffer=this._differs.find(H).create(),this._columnsDiffer.diff(H)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(q){return this instanceof gt?q.headerCell.template:this instanceof $e?q.footerCell.template:q.cell.template}}return(oe=ve).\u0275fac=function(q){return new(q||oe)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))},oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,features:[n.\u0275\u0275NgOnChangesFeature]}),ve})();class ye extends Ke{}const ht=W(ye);let gt=(()=>{var oe;class ve extends ht{constructor(q,H,Re){super(q,H),this._table=Re}ngOnChanges(q){super.ngOnChanges(q)}}return(oe=ve).\u0275fac=function(q){return new(q||oe)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(Ce,8))},oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),ve})();class qe extends Ke{}const Q=W(qe);let $e=(()=>{var oe;class ve extends Q{constructor(q,H,Re){super(q,H),this._table=Re}ngOnChanges(q){super.ngOnChanges(q)}}return(oe=ve).\u0275fac=function(q){return new(q||oe)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(Ce,8))},oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),ve})(),Ne=(()=>{var oe;class ve extends Ke{constructor(q,H,Re){super(q,H),this._table=Re}}return(oe=ve).\u0275fac=function(q){return new(q||oe)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(Ce,8))},oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[n.\u0275\u0275InheritDefinitionFeature]}),ve})(),et=(()=>{var oe;class ve{constructor(q){this._viewContainer=q,ve.mostRecentCellOutlet=this}ngOnDestroy(){ve.mostRecentCellOutlet===this&&(ve.mostRecentCellOutlet=null)}}return(oe=ve).mostRecentCellOutlet=null,oe.\u0275fac=function(q){return new(q||oe)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","cdkCellOutlet",""]]}),ve})(),dt=(()=>{var oe;class ve{}return(oe=ve).\u0275fac=function(q){return new(q||oe)},oe.\u0275cmp=n.\u0275\u0275defineComponent({type:oe,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(q,H){1&q&&n.\u0275\u0275elementContainer(0,0)},dependencies:[et],encapsulation:2}),ve})(),xt=(()=>{var oe;class ve{}return(oe=ve).\u0275fac=function(q){return new(q||oe)},oe.\u0275cmp=n.\u0275\u0275defineComponent({type:oe,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(q,H){1&q&&n.\u0275\u0275elementContainer(0,0)},dependencies:[et],encapsulation:2}),ve})(),Nt=(()=>{var oe;class ve{}return(oe=ve).\u0275fac=function(q){return new(q||oe)},oe.\u0275cmp=n.\u0275\u0275defineComponent({type:oe,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(q,H){1&q&&n.\u0275\u0275elementContainer(0,0)},dependencies:[et],encapsulation:2}),ve})(),Qt=(()=>{var oe;class ve{constructor(q){this.templateRef=q,this._contentClassName="cdk-no-data-row"}}return(oe=ve).\u0275fac=function(q){return new(q||oe)(n.\u0275\u0275directiveInject(n.TemplateRef))},oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["ng-template","cdkNoDataRow",""]]}),ve})();const Jt=["top","bottom","left","right"];class en{constructor(ve,Le,q,H,Re=!0,Ye=!0,B){this._isNativeHtmlTable=ve,this._stickCellCss=Le,this.direction=q,this._coalescedStyleScheduler=H,this._isBrowser=Re,this._needsPositionStickyOnElement=Ye,this._positionListener=B,this._cachedCellWidths=[],this._borderCellCss={top:`${Le}-border-elem-top`,bottom:`${Le}-border-elem-bottom`,left:`${Le}-border-elem-left`,right:`${Le}-border-elem-right`}}clearStickyPositioning(ve,Le){const q=[];for(const H of ve)if(H.nodeType===H.ELEMENT_NODE){q.push(H);for(let Re=0;Re<H.children.length;Re++)q.push(H.children[Re])}this._coalescedStyleScheduler.schedule(()=>{for(const H of q)this._removeStickyStyle(H,Le)})}updateStickyColumns(ve,Le,q,H=!0){if(!ve.length||!this._isBrowser||!Le.some(Mn=>Mn)&&!q.some(Mn=>Mn))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const Re=ve[0],Ye=Re.children.length,B=this._getCellWidths(Re,H),Ie=this._getStickyStartColumnPositions(B,Le),Rt=this._getStickyEndColumnPositions(B,q),jt=Le.lastIndexOf(!0),bn=q.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const Mn="rtl"===this.direction,Yn=Mn?"right":"left",Vn=Mn?"left":"right";for(const Mi of ve)for(let oi=0;oi<Ye;oi++){const qi=Mi.children[oi];Le[oi]&&this._addStickyStyle(qi,Yn,Ie[oi],oi===jt),q[oi]&&this._addStickyStyle(qi,Vn,Rt[oi],oi===bn)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===jt?[]:B.slice(0,jt+1).map((Mi,oi)=>Le[oi]?Mi:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===bn?[]:B.slice(bn).map((Mi,oi)=>q[oi+bn]?Mi:null).reverse()}))})}stickRows(ve,Le,q){if(!this._isBrowser)return;const H="bottom"===q?ve.slice().reverse():ve,Re="bottom"===q?Le.slice().reverse():Le,Ye=[],B=[],Ie=[];for(let jt=0,bn=0;jt<H.length;jt++){if(!Re[jt])continue;Ye[jt]=bn;const Mn=H[jt];Ie[jt]=this._isNativeHtmlTable?Array.from(Mn.children):[Mn];const Yn=Mn.getBoundingClientRect().height;bn+=Yn,B[jt]=Yn}const Rt=Re.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(()=>{for(let jt=0;jt<H.length;jt++){if(!Re[jt])continue;const bn=Ye[jt],Mn=jt===Rt;for(const Yn of Ie[jt])this._addStickyStyle(Yn,q,bn,Mn)}"top"===q?this._positionListener?.stickyHeaderRowsUpdated({sizes:B,offsets:Ye,elements:Ie}):this._positionListener?.stickyFooterRowsUpdated({sizes:B,offsets:Ye,elements:Ie})})}updateStickyFooterContainer(ve,Le){if(!this._isNativeHtmlTable)return;const q=ve.querySelector("tfoot");this._coalescedStyleScheduler.schedule(()=>{Le.some(H=>!H)?this._removeStickyStyle(q,["bottom"]):this._addStickyStyle(q,"bottom",0,!1)})}_removeStickyStyle(ve,Le){for(const H of Le)ve.style[H]="",ve.classList.remove(this._borderCellCss[H]);Jt.some(H=>-1===Le.indexOf(H)&&ve.style[H])?ve.style.zIndex=this._getCalculatedZIndex(ve):(ve.style.zIndex="",this._needsPositionStickyOnElement&&(ve.style.position=""),ve.classList.remove(this._stickCellCss))}_addStickyStyle(ve,Le,q,H){ve.classList.add(this._stickCellCss),H&&ve.classList.add(this._borderCellCss[Le]),ve.style[Le]=`${q}px`,ve.style.zIndex=this._getCalculatedZIndex(ve),this._needsPositionStickyOnElement&&(ve.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(ve){const Le={top:100,bottom:10,left:1,right:1};let q=0;for(const H of Jt)ve.style[H]&&(q+=Le[H]);return q?`${q}`:""}_getCellWidths(ve,Le=!0){if(!Le&&this._cachedCellWidths.length)return this._cachedCellWidths;const q=[],H=ve.children;for(let Re=0;Re<H.length;Re++)q.push(H[Re].getBoundingClientRect().width);return this._cachedCellWidths=q,q}_getStickyStartColumnPositions(ve,Le){const q=[];let H=0;for(let Re=0;Re<ve.length;Re++)Le[Re]&&(q[Re]=H,H+=ve[Re]);return q}_getStickyEndColumnPositions(ve,Le){const q=[];let H=0;for(let Re=ve.length;Re>0;Re--)Le[Re]&&(q[Re]=H,H+=ve[Re]);return q}}const Ut=new n.InjectionToken("CDK_SPL");let fn=(()=>{var oe;class ve{constructor(q,H){this.viewContainer=q,this.elementRef=H}}return(oe=ve).\u0275fac=function(q){return new(q||oe)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","rowOutlet",""]]}),ve})(),vn=(()=>{var oe;class ve{constructor(q,H){this.viewContainer=q,this.elementRef=H}}return(oe=ve).\u0275fac=function(q){return new(q||oe)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","headerRowOutlet",""]]}),ve})(),Ct=(()=>{var oe;class ve{constructor(q,H){this.viewContainer=q,this.elementRef=H}}return(oe=ve).\u0275fac=function(q){return new(q||oe)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","footerRowOutlet",""]]}),ve})(),it=(()=>{var oe;class ve{constructor(q,H){this.viewContainer=q,this.elementRef=H}}return(oe=ve).\u0275fac=function(q){return new(q||oe)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","noDataRowOutlet",""]]}),ve})(),lt=(()=>{var oe;class ve{get trackBy(){return this._trackByFn}set trackBy(q){this._trackByFn=q}get dataSource(){return this._dataSource}set dataSource(q){this._dataSource!==q&&this._switchDataSource(q)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(q){this._multiTemplateDataRows=(0,g.Ig)(q),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(q){this._fixedLayout=(0,g.Ig)(q),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(q,H,Re,Ye,B,Ie,Rt,jt,bn,Mn,Yn,Vn){this._differs=q,this._changeDetectorRef=H,this._elementRef=Re,this._dir=B,this._platform=Rt,this._viewRepeater=jt,this._coalescedStyleScheduler=bn,this._viewportRuler=Mn,this._stickyPositioningListener=Yn,this._ngZone=Vn,this._onDestroy=new K.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 X.X({start:0,end:Number.MAX_VALUE}),Ye||this._elementRef.nativeElement.setAttribute("role","table"),this._document=Ie,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((q,H)=>this.trackBy?this.trackBy(H.dataIndex,H.data):H),this._viewportRuler.change().pipe((0,we.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const H=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||H,this._forceRecalculateCellWidths=H,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(q=>{q.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),y(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const q=this._dataDiffer.diff(this._renderRows);if(!q)return this._updateNoDataRow(),void this.contentChanged.next();const H=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(q,H,(Re,Ye,B)=>this._getEmbeddedViewArgs(Re.item,B),Re=>Re.item.data,Re=>{1===Re.operation&&Re.context&&this._renderCellTemplateForItem(Re.record.item.rowDef,Re.context)}),this._updateRowIndexContext(),q.forEachIdentityChange(Re=>{H.get(Re.currentIndex).context.$implicit=Re.item.data}),this._updateNoDataRow(),this._ngZone&&n.NgZone.isInAngularZone()?this._ngZone.onStable.pipe((0,tt.q)(1),(0,we.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(q){this._customColumnDefs.add(q)}removeColumnDef(q){this._customColumnDefs.delete(q)}addRowDef(q){this._customRowDefs.add(q)}removeRowDef(q){this._customRowDefs.delete(q)}addHeaderRowDef(q){this._customHeaderRowDefs.add(q),this._headerRowDefChanged=!0}removeHeaderRowDef(q){this._customHeaderRowDefs.delete(q),this._headerRowDefChanged=!0}addFooterRowDef(q){this._customFooterRowDefs.add(q),this._footerRowDefChanged=!0}removeFooterRowDef(q){this._customFooterRowDefs.delete(q),this._footerRowDefChanged=!0}setNoDataRow(q){this._customNoDataRow=q}updateStickyHeaderRowStyles(){const q=this._getRenderedRows(this._headerRowOutlet),Re=this._elementRef.nativeElement.querySelector("thead");Re&&(Re.style.display=q.length?"":"none");const Ye=this._headerRowDefs.map(B=>B.sticky);this._stickyStyler.clearStickyPositioning(q,["top"]),this._stickyStyler.stickRows(q,Ye,"top"),this._headerRowDefs.forEach(B=>B.resetStickyChanged())}updateStickyFooterRowStyles(){const q=this._getRenderedRows(this._footerRowOutlet),Re=this._elementRef.nativeElement.querySelector("tfoot");Re&&(Re.style.display=q.length?"":"none");const Ye=this._footerRowDefs.map(B=>B.sticky);this._stickyStyler.clearStickyPositioning(q,["bottom"]),this._stickyStyler.stickRows(q,Ye,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,Ye),this._footerRowDefs.forEach(B=>B.resetStickyChanged())}updateStickyColumnStyles(){const q=this._getRenderedRows(this._headerRowOutlet),H=this._getRenderedRows(this._rowOutlet),Re=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...q,...H,...Re],["left","right"]),this._stickyColumnStylesNeedReset=!1),q.forEach((Ye,B)=>{this._addStickyColumnStyles([Ye],this._headerRowDefs[B])}),this._rowDefs.forEach(Ye=>{const B=[];for(let Ie=0;Ie<H.length;Ie++)this._renderRows[Ie].rowDef===Ye&&B.push(H[Ie]);this._addStickyColumnStyles(B,Ye)}),Re.forEach((Ye,B)=>{this._addStickyColumnStyles([Ye],this._footerRowDefs[B])}),Array.from(this._columnDefsByName.values()).forEach(Ye=>Ye.resetStickyChanged())}_getAllRenderRows(){const q=[],H=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let Re=0;Re<this._data.length;Re++){let Ye=this._data[Re];const B=this._getRenderRowsForData(Ye,Re,H.get(Ye));this._cachedRenderRowsMap.has(Ye)||this._cachedRenderRowsMap.set(Ye,new WeakMap);for(let Ie=0;Ie<B.length;Ie++){let Rt=B[Ie];const jt=this._cachedRenderRowsMap.get(Rt.data);jt.has(Rt.rowDef)?jt.get(Rt.rowDef).push(Rt):jt.set(Rt.rowDef,[Rt]),q.push(Rt)}}return q}_getRenderRowsForData(q,H,Re){return this._getRowDefs(q,H).map(B=>{const Ie=Re&&Re.has(B)?Re.get(B):[];if(Ie.length){const Rt=Ie.shift();return Rt.dataIndex=H,Rt}return{data:q,rowDef:B,dataIndex:H}})}_cacheColumnDefs(){this._columnDefsByName.clear(),It(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(H=>{this._columnDefsByName.has(H.name),this._columnDefsByName.set(H.name,H)})}_cacheRowDefs(){this._headerRowDefs=It(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=It(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=It(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const q=this._rowDefs.filter(H=>!H.when);this._defaultRowDef=q[0]}_renderUpdatedColumns(){const q=(B,Ie)=>B||!!Ie.getColumnsDiff(),H=this._rowDefs.reduce(q,!1);H&&this._forceRenderDataRows();const Re=this._headerRowDefs.reduce(q,!1);Re&&this._forceRenderHeaderRows();const Ye=this._footerRowDefs.reduce(q,!1);return Ye&&this._forceRenderFooterRows(),H||Re||Ye}_switchDataSource(q){this._data=[],y(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),q||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=q}_observeRenderChanges(){if(!this.dataSource)return;let q;y(this.dataSource)?q=this.dataSource.connect(this):function he(oe){return!!oe&&(oe instanceof m.y||(0,fe.m)(oe.lift)&&(0,fe.m)(oe.subscribe))}(this.dataSource)?q=this.dataSource:Array.isArray(this.dataSource)&&(q=(0,ot.of)(this.dataSource)),this._renderChangeSubscription=q.pipe((0,we.R)(this._onDestroy)).subscribe(H=>{this._data=H||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((q,H)=>this._renderRow(this._headerRowOutlet,q,H)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((q,H)=>this._renderRow(this._footerRowOutlet,q,H)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(q,H){const Re=Array.from(H.columns||[]).map(Ie=>this._columnDefsByName.get(Ie)),Ye=Re.map(Ie=>Ie.sticky),B=Re.map(Ie=>Ie.stickyEnd);this._stickyStyler.updateStickyColumns(q,Ye,B,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(q){const H=[];for(let Re=0;Re<q.viewContainer.length;Re++){const Ye=q.viewContainer.get(Re);H.push(Ye.rootNodes[0])}return H}_getRowDefs(q,H){if(1==this._rowDefs.length)return[this._rowDefs[0]];let Re=[];if(this.multiTemplateDataRows)Re=this._rowDefs.filter(Ye=>!Ye.when||Ye.when(H,q));else{let Ye=this._rowDefs.find(B=>B.when&&B.when(H,q))||this._defaultRowDef;Ye&&Re.push(Ye)}return Re}_getEmbeddedViewArgs(q,H){return{templateRef:q.rowDef.template,context:{$implicit:q.data},index:H}}_renderRow(q,H,Re,Ye={}){const B=q.viewContainer.createEmbeddedView(H.template,Ye,Re);return this._renderCellTemplateForItem(H,Ye),B}_renderCellTemplateForItem(q,H){for(let Re of this._getCellTemplates(q))et.mostRecentCellOutlet&&et.mostRecentCellOutlet._viewContainer.createEmbeddedView(Re,H);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const q=this._rowOutlet.viewContainer;for(let H=0,Re=q.length;H<Re;H++){const B=q.get(H).context;B.count=Re,B.first=0===H,B.last=H===Re-1,B.even=H%2==0,B.odd=!B.even,this.multiTemplateDataRows?(B.dataIndex=this._renderRows[H].dataIndex,B.renderIndex=H):B.index=this._renderRows[H].dataIndex}}_getCellTemplates(q){return q&&q.columns?Array.from(q.columns,H=>{const Re=this._columnDefsByName.get(H);return q.extractCellTemplate(Re)}):[]}_applyNativeTableSections(){const q=this._document.createDocumentFragment(),H=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const Re of H){const Ye=this._document.createElement(Re.tag);Ye.setAttribute("role","rowgroup");for(const B of Re.outlets)Ye.appendChild(B.elementRef.nativeElement);q.appendChild(Ye)}this._elementRef.nativeElement.appendChild(q)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const q=(H,Re)=>H||Re.hasStickyChanged();this._headerRowDefs.reduce(q,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(q,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(q,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new en(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,ot.of)()).pipe((0,we.R)(this._onDestroy)).subscribe(H=>{this._stickyStyler.direction=H,this.updateStickyColumnStyles()})}_getOwnDefs(q){return q.filter(H=>!H._table||H._table===this)}_updateNoDataRow(){const q=this._customNoDataRow||this._noDataRow;if(!q)return;const H=0===this._rowOutlet.viewContainer.length;if(H===this._isShowingNoDataRow)return;const Re=this._noDataRowOutlet.viewContainer;if(H){const Ye=Re.createEmbeddedView(q.templateRef),B=Ye.rootNodes[0];1===Ye.rootNodes.length&&B?.nodeType===this._document.ELEMENT_NODE&&(B.setAttribute("role","row"),B.classList.add(q._contentClassName))}else Re.clear();this._isShowingNoDataRow=H,this._changeDetectorRef.markForCheck()}}return(oe=ve).\u0275fac=function(q){return new(q||oe)(n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275injectAttribute("role"),n.\u0275\u0275directiveInject(a.Is,8),n.\u0275\u0275directiveInject(z.DOCUMENT),n.\u0275\u0275directiveInject($.t4),n.\u0275\u0275directiveInject(Y),n.\u0275\u0275directiveInject(at),n.\u0275\u0275directiveInject(ne.rL),n.\u0275\u0275directiveInject(Ut,12),n.\u0275\u0275directiveInject(n.NgZone,8))},oe.\u0275cmp=n.\u0275\u0275defineComponent({type:oe,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(q,H,Re){if(1&q&&(n.\u0275\u0275contentQuery(Re,Qt,5),n.\u0275\u0275contentQuery(Re,ae,5),n.\u0275\u0275contentQuery(Re,Ne,5),n.\u0275\u0275contentQuery(Re,gt,5),n.\u0275\u0275contentQuery(Re,$e,5)),2&q){let Ye;n.\u0275\u0275queryRefresh(Ye=n.\u0275\u0275loadQuery())&&(H._noDataRow=Ye.first),n.\u0275\u0275queryRefresh(Ye=n.\u0275\u0275loadQuery())&&(H._contentColumnDefs=Ye),n.\u0275\u0275queryRefresh(Ye=n.\u0275\u0275loadQuery())&&(H._contentRowDefs=Ye),n.\u0275\u0275queryRefresh(Ye=n.\u0275\u0275loadQuery())&&(H._contentHeaderRowDefs=Ye),n.\u0275\u0275queryRefresh(Ye=n.\u0275\u0275loadQuery())&&(H._contentFooterRowDefs=Ye)}},viewQuery:function(q,H){if(1&q&&(n.\u0275\u0275viewQuery(fn,7),n.\u0275\u0275viewQuery(vn,7),n.\u0275\u0275viewQuery(Ct,7),n.\u0275\u0275viewQuery(it,7)),2&q){let Re;n.\u0275\u0275queryRefresh(Re=n.\u0275\u0275loadQuery())&&(H._rowOutlet=Re.first),n.\u0275\u0275queryRefresh(Re=n.\u0275\u0275loadQuery())&&(H._headerRowOutlet=Re.first),n.\u0275\u0275queryRefresh(Re=n.\u0275\u0275loadQuery())&&(H._footerRowOutlet=Re.first),n.\u0275\u0275queryRefresh(Re=n.\u0275\u0275loadQuery())&&(H._noDataRowOutlet=Re.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(q,H){2&q&&n.\u0275\u0275classProp("cdk-table-fixed-layout",H.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:Ce,useExisting:oe},{provide:Y,useClass:_},{provide:at,useClass:ge},{provide:Ut,useValue:null}])],ngContentSelectors:Se,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(q,H){1&q&&(n.\u0275\u0275projectionDef(nt),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1),n.\u0275\u0275elementContainer(2,0)(3,1)(4,2)(5,3))},dependencies:[fn,vn,Ct,it],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),ve})();function It(oe,ve){return oe.concat(Array.from(ve))}let zt=(()=>{var oe;class ve{get name(){return this._name}set name(q){this._name=q,this._syncColumnDefName()}constructor(q,H){this._table=q,this._options=H,this.justify="start",this._options=H||{}}ngOnInit(){this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((q,H)=>q[H])),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 q=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(q):q[0].toUpperCase()+q.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}}return(oe=ve).\u0275fac=function(q){return new(q||oe)(n.\u0275\u0275directiveInject(lt,8),n.\u0275\u0275directiveInject(ee,8))},oe.\u0275cmp=n.\u0275\u0275defineComponent({type:oe,selectors:[["cdk-text-column"]],viewQuery:function(q,H){if(1&q&&(n.\u0275\u0275viewQuery(ae,7),n.\u0275\u0275viewQuery(J,7),n.\u0275\u0275viewQuery(j,7)),2&q){let Re;n.\u0275\u0275queryRefresh(Re=n.\u0275\u0275loadQuery())&&(H.columnDef=Re.first),n.\u0275\u0275queryRefresh(Re=n.\u0275\u0275loadQuery())&&(H.cell=Re.first),n.\u0275\u0275queryRefresh(Re=n.\u0275\u0275loadQuery())&&(H.headerCell=Re.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(q,H){1&q&&(n.\u0275\u0275elementContainerStart(0,0),n.\u0275\u0275template(1,Ze,2,3,"th",1),n.\u0275\u0275template(2,st,2,3,"td",2),n.\u0275\u0275elementContainerEnd())},dependencies:[J,j,ae,Be,pe],encapsulation:2}),ve})(),Xe=(()=>{var oe;class ve{}return(oe=ve).\u0275fac=function(q){return new(q||oe)},oe.\u0275mod=n.\u0275\u0275defineNgModule({type:oe}),oe.\u0275inj=n.\u0275\u0275defineInjector({imports:[ne.Cl]}),ve})();var _e=c(3680),V=c(3019),ce=c(2572),ie=c(7398);const We=[[["caption"]],[["colgroup"],["col"]]],Pe=["caption","colgroup, col"];function rt(oe,ve){if(1&oe&&(n.\u0275\u0275elementStart(0,"th",3),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&oe){const Le=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",Le.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Le.headerText," ")}}function Tt(oe,ve){if(1&oe&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&oe){const Le=ve.$implicit,q=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",q.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",q.dataAccessor(Le,q.name)," ")}}let ue=(()=>{var oe;class ve{}return(oe=ve).\u0275fac=function(q){return new(q||oe)},oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["mat-table","recycleRows",""],["table","mat-table","","recycleRows",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:Y,useClass:w}])]}),ve})(),Ae=(()=>{var oe;class ve extends lt{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}ngOnInit(){super.ngOnInit(),this._isNativeHtmlTable&&this._elementRef.nativeElement.querySelector("tbody").classList.add("mdc-data-table__content")}}return(oe=ve).\u0275fac=function(){let Le;return function(H){return(Le||(Le=n.\u0275\u0275getInheritedFactory(oe)))(H||oe)}}(),oe.\u0275cmp=n.\u0275\u0275defineComponent({type:oe,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(q,H){2&q&&n.\u0275\u0275classProp("mdc-table-fixed-layout",H.fixedLayout)},exportAs:["matTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:lt,useExisting:oe},{provide:Ce,useExisting:oe},{provide:at,useClass:ge},{provide:Y,useClass:_},{provide:Ut,useValue:null}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Pe,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(q,H){1&q&&(n.\u0275\u0275projectionDef(We),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1),n.\u0275\u0275elementContainer(2,0)(3,1)(4,2)(5,3))},dependencies:[fn,vn,Ct,it],styles:[".mat-mdc-table-sticky{position:sticky !important}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{--mat-table-row-item-outline-width:1px;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color)}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-header-headline-font, Roboto, sans-serif);line-height:var(--mat-table-header-headline-line-height);font-size:var(--mat-table-header-headline-size, 14px);font-weight:var(--mat-table-header-headline-weight, 500)}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, Roboto, sans-serif);line-height:var(--mat-table-row-item-label-text-line-height);font-size:var(--mat-table-row-item-label-text-size, 14px);font-weight:var(--mat-table-row-item-label-text-weight)}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-footer-supporting-text-font, Roboto, sans-serif);line-height:var(--mat-table-footer-supporting-text-line-height);font-size:var(--mat-table-footer-supporting-text-size, 14px);font-weight:var(--mat-table-footer-supporting-text-weight);letter-spacing:var(--mat-table-footer-supporting-text-tracking)}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking);font-weight:inherit;line-height:inherit}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking);line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking)}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2}),ve})(),bt=(()=>{var oe;class ve extends J{}return(oe=ve).\u0275fac=function(){let Le;return function(H){return(Le||(Le=n.\u0275\u0275getInheritedFactory(oe)))(H||oe)}}(),oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","matCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:J,useExisting:oe}]),n.\u0275\u0275InheritDefinitionFeature]}),ve})(),kt=(()=>{var oe;class ve extends j{}return(oe=ve).\u0275fac=function(){let Le;return function(H){return(Le||(Le=n.\u0275\u0275getInheritedFactory(oe)))(H||oe)}}(),oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","matHeaderCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:j,useExisting:oe}]),n.\u0275\u0275InheritDefinitionFeature]}),ve})(),En=(()=>{var oe;class ve extends G{}return(oe=ve).\u0275fac=function(){let Le;return function(H){return(Le||(Le=n.\u0275\u0275getInheritedFactory(oe)))(H||oe)}}(),oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","matFooterCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:G,useExisting:oe}]),n.\u0275\u0275InheritDefinitionFeature]}),ve})(),un=(()=>{var oe;class ve extends ae{get name(){return this._name}set name(q){this._setNameInput(q)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return(oe=ve).\u0275fac=function(){let Le;return function(H){return(Le||(Le=n.\u0275\u0275getInheritedFactory(oe)))(H||oe)}}(),oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[n.\u0275\u0275ProvidersFeature([{provide:ae,useExisting:oe},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:oe}]),n.\u0275\u0275InheritDefinitionFeature]}),ve})(),gn=(()=>{var oe;class ve extends pe{}return(oe=ve).\u0275fac=function(){let Le;return function(H){return(Le||(Le=n.\u0275\u0275getInheritedFactory(oe)))(H||oe)}}(),oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),ve})(),Ue=(()=>{var oe;class ve extends Ge{}return(oe=ve).\u0275fac=function(){let Le;return function(H){return(Le||(Le=n.\u0275\u0275getInheritedFactory(oe)))(H||oe)}}(),oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),ve})(),Fe=(()=>{var oe;class ve extends Be{}return(oe=ve).\u0275fac=function(){let Le;return function(H){return(Le||(Le=n.\u0275\u0275getInheritedFactory(oe)))(H||oe)}}(),oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),ve})(),ft=(()=>{var oe;class ve extends gt{}return(oe=ve).\u0275fac=function(){let Le;return function(H){return(Le||(Le=n.\u0275\u0275getInheritedFactory(oe)))(H||oe)}}(),oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[n.\u0275\u0275ProvidersFeature([{provide:gt,useExisting:oe}]),n.\u0275\u0275InheritDefinitionFeature]}),ve})(),Ot=(()=>{var oe;class ve extends $e{}return(oe=ve).\u0275fac=function(){let Le;return function(H){return(Le||(Le=n.\u0275\u0275getInheritedFactory(oe)))(H||oe)}}(),oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[n.\u0275\u0275ProvidersFeature([{provide:$e,useExisting:oe}]),n.\u0275\u0275InheritDefinitionFeature]}),ve})(),Pt=(()=>{var oe;class ve extends Ne{}return(oe=ve).\u0275fac=function(){let Le;return function(H){return(Le||(Le=n.\u0275\u0275getInheritedFactory(oe)))(H||oe)}}(),oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[n.\u0275\u0275ProvidersFeature([{provide:Ne,useExisting:oe}]),n.\u0275\u0275InheritDefinitionFeature]}),ve})(),Yt=(()=>{var oe;class ve extends dt{}return(oe=ve).\u0275fac=function(){let Le;return function(H){return(Le||(Le=n.\u0275\u0275getInheritedFactory(oe)))(H||oe)}}(),oe.\u0275cmp=n.\u0275\u0275defineComponent({type:oe,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:dt,useExisting:oe}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(q,H){1&q&&n.\u0275\u0275elementContainer(0,0)},dependencies:[et],encapsulation:2}),ve})(),Gt=(()=>{var oe;class ve extends xt{}return(oe=ve).\u0275fac=function(){let Le;return function(H){return(Le||(Le=n.\u0275\u0275getInheritedFactory(oe)))(H||oe)}}(),oe.\u0275cmp=n.\u0275\u0275defineComponent({type:oe,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-mdc-footer-row","mdc-data-table__row"],exportAs:["matFooterRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:xt,useExisting:oe}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(q,H){1&q&&n.\u0275\u0275elementContainer(0,0)},dependencies:[et],encapsulation:2}),ve})(),tn=(()=>{var oe;class ve extends Nt{}return(oe=ve).\u0275fac=function(){let Le;return function(H){return(Le||(Le=n.\u0275\u0275getInheritedFactory(oe)))(H||oe)}}(),oe.\u0275cmp=n.\u0275\u0275defineComponent({type:oe,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:Nt,useExisting:oe}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(q,H){1&q&&n.\u0275\u0275elementContainer(0,0)},dependencies:[et],encapsulation:2}),ve})(),on=(()=>{var oe;class ve extends Qt{constructor(){super(...arguments),this._contentClassName="mat-mdc-no-data-row"}}return(oe=ve).\u0275fac=function(){let Le;return function(H){return(Le||(Le=n.\u0275\u0275getInheritedFactory(oe)))(H||oe)}}(),oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["ng-template","matNoDataRow",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:Qt,useExisting:oe}]),n.\u0275\u0275InheritDefinitionFeature]}),ve})(),Pn=(()=>{var oe;class ve extends zt{}return(oe=ve).\u0275fac=function(){let Le;return function(H){return(Le||(Le=n.\u0275\u0275getInheritedFactory(oe)))(H||oe)}}(),oe.\u0275cmp=n.\u0275\u0275defineComponent({type:oe,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(q,H){1&q&&(n.\u0275\u0275elementContainerStart(0,0),n.\u0275\u0275template(1,rt,2,3,"th",1),n.\u0275\u0275template(2,Tt,2,3,"td",2),n.\u0275\u0275elementContainerEnd())},dependencies:[kt,un,bt,gn,Fe],encapsulation:2}),ve})(),On=(()=>{var oe;class ve{}return(oe=ve).\u0275fac=function(q){return new(q||oe)},oe.\u0275mod=n.\u0275\u0275defineNgModule({type:oe}),oe.\u0275inj=n.\u0275\u0275defineInjector({imports:[_e.MatCommonModule,Xe,_e.MatCommonModule]}),ve})();class Kn extends f{get data(){return this._data.value}set data(ve){ve=Array.isArray(ve)?ve:[],this._data.next(ve),this._renderChangesSubscription||this._filterData(ve)}get filter(){return this._filter.value}set filter(ve){this._filter.next(ve),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(ve){this._sort=ve,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(ve){this._paginator=ve,this._updateChangeSubscription()}constructor(ve=[]){super(),this._renderData=new X.X([]),this._filter=new X.X(""),this._internalPageChanges=new K.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(Le,q)=>{const H=Le[q];if((0,g.t6)(H)){const Re=Number(H);return Re<9007199254740991?Re:H}return H},this.sortData=(Le,q)=>{const H=q.active,Re=q.direction;return H&&""!=Re?Le.sort((Ye,B)=>{let Ie=this.sortingDataAccessor(Ye,H),Rt=this.sortingDataAccessor(B,H);const jt=typeof Ie,bn=typeof Rt;jt!==bn&&("number"===jt&&(Ie+=""),"number"===bn&&(Rt+=""));let Mn=0;return null!=Ie&&null!=Rt?Ie>Rt?Mn=1:Ie<Rt&&(Mn=-1):null!=Ie?Mn=1:null!=Rt&&(Mn=-1),Mn*("asc"==Re?1:-1)}):Le},this.filterPredicate=(Le,q)=>{const H=Object.keys(Le).reduce((Ye,B)=>Ye+Le[B]+"\u25ec","").toLowerCase(),Re=q.trim().toLowerCase();return-1!=H.indexOf(Re)},this._data=new X.X(ve),this._updateChangeSubscription()}_updateChangeSubscription(){const ve=this._sort?(0,V.T)(this._sort.sortChange,this._sort.initialized):(0,ot.of)(null),Le=this._paginator?(0,V.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,ot.of)(null),H=(0,ce.a)([this._data,this._filter]).pipe((0,ie.U)(([B])=>this._filterData(B))),Re=(0,ce.a)([H,ve]).pipe((0,ie.U)(([B])=>this._orderData(B))),Ye=(0,ce.a)([Re,Le]).pipe((0,ie.U)(([B])=>this._pageData(B)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=Ye.subscribe(B=>this._renderData.next(B))}_filterData(ve){return this.filteredData=null==this.filter||""===this.filter?ve:ve.filter(Le=>this.filterPredicate(Le,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(ve){return this.sort?this.sortData(ve.slice(),this.sort):ve}_pageData(ve){if(!this.paginator)return ve;const Le=this.paginator.pageIndex*this.paginator.pageSize;return ve.slice(Le,Le+this.paginator.pageSize)}_updatePaginator(ve){Promise.resolve().then(()=>{const Le=this.paginator;if(Le&&(Le.length=ve,Le.pageIndex>0)){const q=Math.ceil(Le.length/Le.pageSize)-1||0,H=Math.min(Le.pageIndex,q);H!==Le.pageIndex&&(Le.pageIndex=H,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}class Nn extends Kn{}},4104:(Z,o,c)=>{"use strict";c.r(o),c.d(o,{MAT_TAB:()=>qe,MAT_TABS_CONFIG:()=>vn,MAT_TAB_CONTENT:()=>ye,MAT_TAB_GROUP:()=>Dt,MAT_TAB_LABEL:()=>gt,MatInkBar:()=>et,MatPaginatedTabHeader:()=>Ut,MatTab:()=>se,MatTabBody:()=>Ke,MatTabBodyPortal:()=>ge,MatTabChangeEvent:()=>lt,MatTabContent:()=>ht,MatTabGroup:()=>ze,MatTabHeader:()=>fn,MatTabLabel:()=>Q,MatTabLabelWrapper:()=>pt,MatTabLink:()=>ce,MatTabNav:()=>V,MatTabNavPanel:()=>ie,MatTabsModule:()=>We,_MAT_INK_BAR_POSITIONER:()=>Nt,_MAT_INK_BAR_POSITIONER_FACTORY:()=>xt,_MatTabBase:()=>Ve,_MatTabBodyBase:()=>Me,_MatTabGroupBase:()=>St,_MatTabHeaderBase:()=>rn,_MatTabLabelWrapperBase:()=>Jt,_MatTabLinkBase:()=>Xe,_MatTabNavBase:()=>zt,matTabsAnimations:()=>at});var n=c(6814),a=c(5879),g=c(3680),m=c(8484),s=c(7131),d=c(4300),u=c(9388),p=c(7394),v=c(8645),f=c(2438),y=c(2096),b=c(3019),_=c(6232),w=c(3018),A=c(4825),R=c(5619),M=c(7921),Y=c(3997),$=c(9773),ne=c(8180),z=c(4664),K=c(836),de=c(2181),X=c(6825),fe=c(2495),he=c(9829),ot=c(2831),we=c(6028);function tt(Pe,rt){}const nt=function(Pe){return{animationDuration:Pe}},Se=function(Pe,rt){return{value:Pe,params:rt}};function Ze(Pe,rt){1&Pe&&a.\u0275\u0275projection(0)}const st=["*"],W=["tabListContainer"],Ce=["tabList"],ee=["tabListInner"],J=["nextPaginator"],j=["previousPaginator"],G=["tabBodyWrapper"],Oe=["tabHeader"];function U(Pe,rt){}function ae(Pe,rt){if(1&Pe&&a.\u0275\u0275template(0,U,0,0,"ng-template",14),2&Pe){const Tt=a.\u0275\u0275nextContext().$implicit;a.\u0275\u0275property("cdkPortalOutlet",Tt.templateLabel)}}function Ee(Pe,rt){if(1&Pe&&a.\u0275\u0275text(0),2&Pe){const Tt=a.\u0275\u0275nextContext().$implicit;a.\u0275\u0275textInterpolate(Tt.textLabel)}}function pe(Pe,rt){if(1&Pe){const Tt=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"div",6,7),a.\u0275\u0275listener("click",function(){const Ae=a.\u0275\u0275restoreView(Tt),bt=Ae.$implicit,kt=Ae.index,En=a.\u0275\u0275nextContext(),un=a.\u0275\u0275reference(1);return a.\u0275\u0275resetView(En._handleClick(bt,un,kt))})("cdkFocusChange",function(Ae){const kt=a.\u0275\u0275restoreView(Tt).index,En=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(En._tabFocusChanged(Ae,kt))}),a.\u0275\u0275element(2,"span",8)(3,"div",9),a.\u0275\u0275elementStart(4,"span",10)(5,"span",11),a.\u0275\u0275template(6,ae,1,1,"ng-template",12),a.\u0275\u0275template(7,Ee,1,1,"ng-template",null,13,a.\u0275\u0275templateRefExtractor),a.\u0275\u0275elementEnd()()()}if(2&Pe){const Tt=rt.$implicit,ue=rt.index,Ae=a.\u0275\u0275reference(1),bt=a.\u0275\u0275reference(8),kt=a.\u0275\u0275nextContext();a.\u0275\u0275classProp("mdc-tab--active",kt.selectedIndex===ue),a.\u0275\u0275property("id",kt._getTabLabelId(ue))("ngClass",Tt.labelClass)("disabled",Tt.disabled)("fitInkBarToContent",kt.fitInkBarToContent),a.\u0275\u0275attribute("tabIndex",kt._getTabIndex(ue))("aria-posinset",ue+1)("aria-setsize",kt._tabs.length)("aria-controls",kt._getTabContentId(ue))("aria-selected",kt.selectedIndex===ue)("aria-label",Tt.ariaLabel||null)("aria-labelledby",!Tt.ariaLabel&&Tt.ariaLabelledby?Tt.ariaLabelledby:null),a.\u0275\u0275advance(3),a.\u0275\u0275property("matRippleTrigger",Ae)("matRippleDisabled",Tt.disabled||kt.disableRipple),a.\u0275\u0275advance(3),a.\u0275\u0275property("ngIf",Tt.templateLabel)("ngIfElse",bt)}}function Ge(Pe,rt){if(1&Pe){const Tt=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"mat-tab-body",15),a.\u0275\u0275listener("_onCentered",function(){a.\u0275\u0275restoreView(Tt);const Ae=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(Ae._removeTabBodyWrapperHeight())})("_onCentering",function(Ae){a.\u0275\u0275restoreView(Tt);const bt=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(bt._setTabBodyWrapperHeight(Ae))}),a.\u0275\u0275elementEnd()}if(2&Pe){const Tt=rt.$implicit,ue=rt.index,Ae=a.\u0275\u0275nextContext();a.\u0275\u0275classProp("mat-mdc-tab-body-active",Ae.selectedIndex===ue),a.\u0275\u0275property("id",Ae._getTabContentId(ue))("ngClass",Tt.bodyClass)("content",Tt.content)("position",Tt.position)("origin",Tt.origin)("animationDuration",Ae.animationDuration)("preserveContent",Ae.preserveContent),a.\u0275\u0275attribute("tabindex",null!=Ae.contentTabIndex&&Ae.selectedIndex===ue?Ae.contentTabIndex:null)("aria-labelledby",Ae._getTabLabelId(ue))("aria-hidden",Ae.selectedIndex!==ue)}}const Be=["mat-tab-nav-bar",""],xe=["mat-tab-link",""],at={translateTab:(0,X.X$)("translateTab",[(0,X.SB)("center, void, left-origin-center, right-origin-center",(0,X.oB)({transform:"none"})),(0,X.SB)("left",(0,X.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,X.SB)("right",(0,X.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,X.eR)("* => left, * => right, left => center, right => center",(0,X.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,X.eR)("void => left-origin-center",[(0,X.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,X.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,X.eR)("void => right-origin-center",[(0,X.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,X.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let ge=(()=>{var Pe;class rt extends m.Pl{constructor(ue,Ae,bt,kt){super(ue,Ae,kt),this._host=bt,this._centeringSub=p.w0.EMPTY,this._leavingSub=p.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,M.O)(this._host._isCenterPosition(this._host._position))).subscribe(ue=>{ue&&!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(Pe=rt).\u0275fac=function(ue){return new(ue||Pe)(a.\u0275\u0275directiveInject(a.ComponentFactoryResolver),a.\u0275\u0275directiveInject(a.ViewContainerRef),a.\u0275\u0275directiveInject((0,a.forwardRef)(()=>Ke)),a.\u0275\u0275directiveInject(n.DOCUMENT))},Pe.\u0275dir=a.\u0275\u0275defineDirective({type:Pe,selectors:[["","matTabBodyHost",""]],features:[a.\u0275\u0275InheritDefinitionFeature]}),rt})(),Me=(()=>{var Pe;class rt{set position(ue){this._positionIndex=ue,this._computePositionAnimationState()}constructor(ue,Ae,bt){this._elementRef=ue,this._dir=Ae,this._dirChangeSubscription=p.w0.EMPTY,this._translateTabComplete=new v.x,this._onCentering=new a.EventEmitter,this._beforeCentering=new a.EventEmitter,this._afterLeavingCenter=new a.EventEmitter,this._onCentered=new a.EventEmitter(!0),this.animationDuration="500ms",this.preserveContent=!1,Ae&&(this._dirChangeSubscription=Ae.change.subscribe(kt=>{this._computePositionAnimationState(kt),bt.markForCheck()})),this._translateTabComplete.pipe((0,Y.x)((kt,En)=>kt.fromState===En.fromState&&kt.toState===En.toState)).subscribe(kt=>{this._isCenterPosition(kt.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(kt.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(ue){const Ae=this._isCenterPosition(ue.toState);this._beforeCentering.emit(Ae),Ae&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(ue){return"center"==ue||"left-origin-center"==ue||"right-origin-center"==ue}_computePositionAnimationState(ue=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==ue?"left":"right":this._positionIndex>0?"ltr"==ue?"right":"left":"center"}_computePositionFromOrigin(ue){const Ae=this._getLayoutDirection();return"ltr"==Ae&&ue<=0||"rtl"==Ae&&ue>0?"left-origin-center":"right-origin-center"}}return(Pe=rt).\u0275fac=function(ue){return new(ue||Pe)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(u.Is,8),a.\u0275\u0275directiveInject(a.ChangeDetectorRef))},Pe.\u0275dir=a.\u0275\u0275defineDirective({type:Pe,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),rt})(),Ke=(()=>{var Pe;class rt extends Me{constructor(ue,Ae,bt){super(ue,Ae,bt)}}return(Pe=rt).\u0275fac=function(ue){return new(ue||Pe)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(u.Is,8),a.\u0275\u0275directiveInject(a.ChangeDetectorRef))},Pe.\u0275cmp=a.\u0275\u0275defineComponent({type:Pe,selectors:[["mat-tab-body"]],viewQuery:function(ue,Ae){if(1&ue&&a.\u0275\u0275viewQuery(m.Pl,5),2&ue){let bt;a.\u0275\u0275queryRefresh(bt=a.\u0275\u0275loadQuery())&&(Ae._portalHost=bt.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[a.\u0275\u0275InheritDefinitionFeature],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(ue,Ae){1&ue&&(a.\u0275\u0275elementStart(0,"div",0,1),a.\u0275\u0275listener("@translateTab.start",function(kt){return Ae._onTranslateTabStarted(kt)})("@translateTab.done",function(kt){return Ae._translateTabComplete.next(kt)}),a.\u0275\u0275template(2,tt,0,0,"ng-template",2),a.\u0275\u0275elementEnd()),2&ue&&a.\u0275\u0275property("@translateTab",a.\u0275\u0275pureFunction2(3,Se,Ae._position,a.\u0275\u0275pureFunction1(1,nt,Ae.animationDuration)))},dependencies:[ge],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[at.translateTab]}}),rt})();const ye=new a.InjectionToken("MatTabContent");let ht=(()=>{var Pe;class rt{constructor(ue){this.template=ue}}return(Pe=rt).\u0275fac=function(ue){return new(ue||Pe)(a.\u0275\u0275directiveInject(a.TemplateRef))},Pe.\u0275dir=a.\u0275\u0275defineDirective({type:Pe,selectors:[["","matTabContent",""]],features:[a.\u0275\u0275ProvidersFeature([{provide:ye,useExisting:Pe}])]}),rt})();const gt=new a.InjectionToken("MatTabLabel"),qe=new a.InjectionToken("MAT_TAB");let Q=(()=>{var Pe;class rt extends m.ig{constructor(ue,Ae,bt){super(ue,Ae),this._closestTab=bt}}return(Pe=rt).\u0275fac=function(ue){return new(ue||Pe)(a.\u0275\u0275directiveInject(a.TemplateRef),a.\u0275\u0275directiveInject(a.ViewContainerRef),a.\u0275\u0275directiveInject(qe,8))},Pe.\u0275dir=a.\u0275\u0275defineDirective({type:Pe,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[a.\u0275\u0275ProvidersFeature([{provide:gt,useExisting:Pe}]),a.\u0275\u0275InheritDefinitionFeature]}),rt})();const $e="mdc-tab-indicator--active",Ne="mdc-tab-indicator--no-transition";class et{constructor(rt){this._items=rt}hide(){this._items.forEach(rt=>rt.deactivateInkBar())}alignToElement(rt){const Tt=this._items.find(Ae=>Ae.elementRef.nativeElement===rt),ue=this._currentItem;if(Tt!==ue&&(ue?.deactivateInkBar(),Tt)){const Ae=ue?.elementRef.nativeElement.getBoundingClientRect?.();Tt.activateInkBar(Ae),this._currentItem=Tt}}}function dt(Pe){return class extends Pe{constructor(...rt){super(...rt),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(rt){const Tt=(0,fe.Ig)(rt);this._fitToContent!==Tt&&(this._fitToContent=Tt,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(rt){const Tt=this.elementRef.nativeElement;if(!rt||!Tt.getBoundingClientRect||!this._inkBarContentElement)return void Tt.classList.add($e);const ue=Tt.getBoundingClientRect(),Ae=rt.width/ue.width,bt=rt.left-ue.left;Tt.classList.add(Ne),this._inkBarContentElement.style.setProperty("transform",`translateX(${bt}px) scaleX(${Ae})`),Tt.getBoundingClientRect(),Tt.classList.remove(Ne),Tt.classList.add($e),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove($e)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const rt=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=rt.createElement("span"),this._inkBarContentElement=rt.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}}}function xt(){return rt=>({left:rt?(rt.offsetLeft||0)+"px":"0",width:rt?(rt.offsetWidth||0)+"px":"0"})}const Nt=new a.InjectionToken("MatInkBarPositioner",{providedIn:"root",factory:xt}),Qt=(0,g.mixinDisabled)(class{});let Jt=(()=>{var Pe;class rt extends Qt{constructor(ue){super(),this.elementRef=ue}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return(Pe=rt).\u0275fac=function(ue){return new(ue||Pe)(a.\u0275\u0275directiveInject(a.ElementRef))},Pe.\u0275dir=a.\u0275\u0275defineDirective({type:Pe,features:[a.\u0275\u0275InheritDefinitionFeature]}),rt})();const en=dt(Jt);let pt=(()=>{var Pe;class rt extends en{}return(Pe=rt).\u0275fac=function(){let Tt;return function(Ae){return(Tt||(Tt=a.\u0275\u0275getInheritedFactory(Pe)))(Ae||Pe)}}(),Pe.\u0275dir=a.\u0275\u0275defineDirective({type:Pe,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(ue,Ae){2&ue&&(a.\u0275\u0275attribute("aria-disabled",!!Ae.disabled),a.\u0275\u0275classProp("mat-mdc-tab-disabled",Ae.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[a.\u0275\u0275InheritDefinitionFeature]}),rt})();const vt=(0,g.mixinDisabled)(class{}),Dt=new a.InjectionToken("MAT_TAB_GROUP");let Ve=(()=>{var Pe;class rt extends vt{get content(){return this._contentPortal}constructor(ue,Ae){super(),this._viewContainerRef=ue,this._closestTabGroup=Ae,this.textLabel="",this._contentPortal=null,this._stateChanges=new v.x,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(ue){(ue.hasOwnProperty("textLabel")||ue.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new m.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(ue){ue&&ue._closestTab===this&&(this._templateLabel=ue)}}return(Pe=rt).\u0275fac=function(ue){return new(ue||Pe)(a.\u0275\u0275directiveInject(a.ViewContainerRef),a.\u0275\u0275directiveInject(Dt,8))},Pe.\u0275dir=a.\u0275\u0275defineDirective({type:Pe,viewQuery:function(ue,Ae){if(1&ue&&a.\u0275\u0275viewQuery(a.TemplateRef,7),2&ue){let bt;a.\u0275\u0275queryRefresh(bt=a.\u0275\u0275loadQuery())&&(Ae._implicitContent=bt.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[a.\u0275\u0275InheritDefinitionFeature,a.\u0275\u0275NgOnChangesFeature]}),rt})(),se=(()=>{var Pe;class rt extends Ve{constructor(){super(...arguments),this._explicitContent=void 0}get templateLabel(){return this._templateLabel}set templateLabel(ue){this._setTemplateLabelInput(ue)}}return(Pe=rt).\u0275fac=function(){let Tt;return function(Ae){return(Tt||(Tt=a.\u0275\u0275getInheritedFactory(Pe)))(Ae||Pe)}}(),Pe.\u0275cmp=a.\u0275\u0275defineComponent({type:Pe,selectors:[["mat-tab"]],contentQueries:function(ue,Ae,bt){if(1&ue&&(a.\u0275\u0275contentQuery(bt,ht,7,a.TemplateRef),a.\u0275\u0275contentQuery(bt,Q,5)),2&ue){let kt;a.\u0275\u0275queryRefresh(kt=a.\u0275\u0275loadQuery())&&(Ae._explicitContent=kt.first),a.\u0275\u0275queryRefresh(kt=a.\u0275\u0275loadQuery())&&(Ae.templateLabel=kt.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[a.\u0275\u0275ProvidersFeature([{provide:qe,useExisting:Pe}]),a.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:st,decls:1,vars:0,template:function(ue,Ae){1&ue&&(a.\u0275\u0275projectionDef(),a.\u0275\u0275template(0,Ze,1,0,"ng-template"))},encapsulation:2}),rt})();const Qe=(0,ot.i$)({passive:!0});let Ut=(()=>{var Pe;class rt{get disablePagination(){return this._disablePagination}set disablePagination(ue){this._disablePagination=(0,fe.Ig)(ue)}get selectedIndex(){return this._selectedIndex}set selectedIndex(ue){ue=(0,fe.su)(ue),this._selectedIndex!=ue&&(this._selectedIndexChanged=!0,this._selectedIndex=ue,this._keyManager&&this._keyManager.updateActiveItem(ue))}constructor(ue,Ae,bt,kt,En,un,gn){this._elementRef=ue,this._changeDetectorRef=Ae,this._viewportRuler=bt,this._dir=kt,this._ngZone=En,this._platform=un,this._animationMode=gn,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new v.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new v.x,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new a.EventEmitter,this.indexFocused=new a.EventEmitter,En.runOutsideAngular(()=>{(0,f.R)(ue.nativeElement,"mouseleave").pipe((0,$.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){(0,f.R)(this._previousPaginator.nativeElement,"touchstart",Qe).pipe((0,$.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,f.R)(this._nextPaginator.nativeElement,"touchstart",Qe).pipe((0,$.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const ue=this._dir?this._dir.change:(0,y.of)("ltr"),Ae=this._viewportRuler.change(150),bt=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new d.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,ne.q)(1)).subscribe(bt),(0,b.T)(ue,Ae,this._items.changes,this._itemsResized()).pipe((0,$.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),bt()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(kt=>{this.indexFocused.emit(kt),this._setTabFocus(kt)})}_itemsResized(){return"function"!=typeof ResizeObserver?_.E:this._items.changes.pipe((0,M.O)(this._items),(0,z.w)(ue=>new w.y(Ae=>this._ngZone.runOutsideAngular(()=>{const bt=new ResizeObserver(kt=>Ae.next(kt));return ue.forEach(kt=>bt.observe(kt.elementRef.nativeElement)),()=>{bt.disconnect()}}))),(0,K.T)(1),(0,de.h)(ue=>ue.some(Ae=>Ae.contentRect.width>0&&Ae.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(ue){if(!(0,we.Vb)(ue))switch(ue.keyCode){case we.K5:case we.L_:if(this.focusIndex!==this.selectedIndex){const Ae=this._items.get(this.focusIndex);Ae&&!Ae.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(ue))}break;default:this._keyManager.onKeydown(ue)}}_onContentChanges(){const ue=this._elementRef.nativeElement.textContent;ue!==this._currentTextContent&&(this._currentTextContent=ue||"",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(ue){!this._isValidIndex(ue)||this.focusIndex===ue||!this._keyManager||this._keyManager.setActiveItem(ue)}_isValidIndex(ue){return!this._items||!!this._items.toArray()[ue]}_setTabFocus(ue){if(this._showPaginationControls&&this._scrollToLabel(ue),this._items&&this._items.length){this._items.toArray()[ue].focus();const Ae=this._tabListContainer.nativeElement;Ae.scrollLeft="ltr"==this._getLayoutDirection()?0:Ae.scrollWidth-Ae.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const ue=this.scrollDistance,Ae="ltr"===this._getLayoutDirection()?-ue:ue;this._tabList.nativeElement.style.transform=`translateX(${Math.round(Ae)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(ue){this._scrollTo(ue)}_scrollHeader(ue){return this._scrollTo(this._scrollDistance+("before"==ue?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(ue){this._stopInterval(),this._scrollHeader(ue)}_scrollToLabel(ue){if(this.disablePagination)return;const Ae=this._items?this._items.toArray()[ue]:null;if(!Ae)return;const bt=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:kt,offsetWidth:En}=Ae.elementRef.nativeElement;let un,gn;"ltr"==this._getLayoutDirection()?(un=kt,gn=un+En):(gn=this._tabListInner.nativeElement.offsetWidth-kt,un=gn-En);const Ue=this.scrollDistance,Fe=this.scrollDistance+bt;un<Ue?this.scrollDistance-=Ue-un:gn>Fe&&(this.scrollDistance+=Math.min(gn-Fe,un-Ue))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const ue=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;ue||(this.scrollDistance=0),ue!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=ue}}_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 ue=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,Ae=ue?ue.elementRef.nativeElement:null;Ae?this._inkBar.alignToElement(Ae):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(ue,Ae){Ae&&null!=Ae.button&&0!==Ae.button||(this._stopInterval(),(0,A.H)(650,100).pipe((0,$.R)((0,b.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:bt,distance:kt}=this._scrollHeader(ue);(0===kt||kt>=bt)&&this._stopInterval()}))}_scrollTo(ue){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const Ae=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(Ae,ue)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:Ae,distance:this._scrollDistance}}}return(Pe=rt).\u0275fac=function(ue){return new(ue||Pe)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(a.ChangeDetectorRef),a.\u0275\u0275directiveInject(he.rL),a.\u0275\u0275directiveInject(u.Is,8),a.\u0275\u0275directiveInject(a.NgZone),a.\u0275\u0275directiveInject(ot.t4),a.\u0275\u0275directiveInject(a.ANIMATION_MODULE_TYPE,8))},Pe.\u0275dir=a.\u0275\u0275defineDirective({type:Pe,inputs:{disablePagination:"disablePagination"}}),rt})(),rn=(()=>{var Pe;class rt extends Ut{get disableRipple(){return this._disableRipple}set disableRipple(ue){this._disableRipple=(0,fe.Ig)(ue)}constructor(ue,Ae,bt,kt,En,un,gn){super(ue,Ae,bt,kt,En,un,gn),this._disableRipple=!1}_itemSelected(ue){ue.preventDefault()}}return(Pe=rt).\u0275fac=function(ue){return new(ue||Pe)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(a.ChangeDetectorRef),a.\u0275\u0275directiveInject(he.rL),a.\u0275\u0275directiveInject(u.Is,8),a.\u0275\u0275directiveInject(a.NgZone),a.\u0275\u0275directiveInject(ot.t4),a.\u0275\u0275directiveInject(a.ANIMATION_MODULE_TYPE,8))},Pe.\u0275dir=a.\u0275\u0275defineDirective({type:Pe,inputs:{disableRipple:"disableRipple"},features:[a.\u0275\u0275InheritDefinitionFeature]}),rt})(),fn=(()=>{var Pe;class rt extends rn{constructor(ue,Ae,bt,kt,En,un,gn){super(ue,Ae,bt,kt,En,un,gn)}ngAfterContentInit(){this._inkBar=new et(this._items),super.ngAfterContentInit()}}return(Pe=rt).\u0275fac=function(ue){return new(ue||Pe)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(a.ChangeDetectorRef),a.\u0275\u0275directiveInject(he.rL),a.\u0275\u0275directiveInject(u.Is,8),a.\u0275\u0275directiveInject(a.NgZone),a.\u0275\u0275directiveInject(ot.t4),a.\u0275\u0275directiveInject(a.ANIMATION_MODULE_TYPE,8))},Pe.\u0275cmp=a.\u0275\u0275defineComponent({type:Pe,selectors:[["mat-tab-header"]],contentQueries:function(ue,Ae,bt){if(1&ue&&a.\u0275\u0275contentQuery(bt,pt,4),2&ue){let kt;a.\u0275\u0275queryRefresh(kt=a.\u0275\u0275loadQuery())&&(Ae._items=kt)}},viewQuery:function(ue,Ae){if(1&ue&&(a.\u0275\u0275viewQuery(W,7),a.\u0275\u0275viewQuery(Ce,7),a.\u0275\u0275viewQuery(ee,7),a.\u0275\u0275viewQuery(J,5),a.\u0275\u0275viewQuery(j,5)),2&ue){let bt;a.\u0275\u0275queryRefresh(bt=a.\u0275\u0275loadQuery())&&(Ae._tabListContainer=bt.first),a.\u0275\u0275queryRefresh(bt=a.\u0275\u0275loadQuery())&&(Ae._tabList=bt.first),a.\u0275\u0275queryRefresh(bt=a.\u0275\u0275loadQuery())&&(Ae._tabListInner=bt.first),a.\u0275\u0275queryRefresh(bt=a.\u0275\u0275loadQuery())&&(Ae._nextPaginator=bt.first),a.\u0275\u0275queryRefresh(bt=a.\u0275\u0275loadQuery())&&(Ae._previousPaginator=bt.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(ue,Ae){2&ue&&a.\u0275\u0275classProp("mat-mdc-tab-header-pagination-controls-enabled",Ae._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==Ae._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[a.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:st,decls:13,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(ue,Ae){1&ue&&(a.\u0275\u0275projectionDef(),a.\u0275\u0275elementStart(0,"button",0,1),a.\u0275\u0275listener("click",function(){return Ae._handlePaginatorClick("before")})("mousedown",function(kt){return Ae._handlePaginatorPress("before",kt)})("touchend",function(){return Ae._stopInterval()}),a.\u0275\u0275element(2,"div",2),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(3,"div",3,4),a.\u0275\u0275listener("keydown",function(kt){return Ae._handleKeydown(kt)}),a.\u0275\u0275elementStart(5,"div",5,6),a.\u0275\u0275listener("cdkObserveContent",function(){return Ae._onContentChanges()}),a.\u0275\u0275elementStart(7,"div",7,8),a.\u0275\u0275projection(9),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(10,"button",9,10),a.\u0275\u0275listener("mousedown",function(kt){return Ae._handlePaginatorPress("after",kt)})("click",function(){return Ae._handlePaginatorClick("after")})("touchend",function(){return Ae._stopInterval()}),a.\u0275\u0275element(12,"div",2),a.\u0275\u0275elementEnd()),2&ue&&(a.\u0275\u0275classProp("mat-mdc-tab-header-pagination-disabled",Ae._disableScrollBefore),a.\u0275\u0275property("matRippleDisabled",Ae._disableScrollBefore||Ae.disableRipple)("disabled",Ae._disableScrollBefore||null),a.\u0275\u0275advance(3),a.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Ae._animationMode),a.\u0275\u0275advance(7),a.\u0275\u0275classProp("mat-mdc-tab-header-pagination-disabled",Ae._disableScrollAfter),a.\u0275\u0275property("matRippleDisabled",Ae._disableScrollAfter||Ae.disableRipple)("disabled",Ae._disableScrollAfter||null))},dependencies:[g.MatRipple,s.wD],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0;--mdc-tab-indicator-active-indicator-height:2px;--mdc-tab-indicator-active-indicator-shape:0;--mdc-secondary-navigation-tab-container-height:48px}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2}),rt})();const vn=new a.InjectionToken("MAT_TABS_CONFIG");let Ct=0;const it=(0,g.mixinColor)((0,g.mixinDisableRipple)(class{constructor(Pe){this._elementRef=Pe}}),"primary");let St=(()=>{var Pe;class rt extends it{get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(ue){this._dynamicHeight=(0,fe.Ig)(ue)}get selectedIndex(){return this._selectedIndex}set selectedIndex(ue){this._indexToSelect=(0,fe.su)(ue,null)}get animationDuration(){return this._animationDuration}set animationDuration(ue){this._animationDuration=/^\d+$/.test(ue+"")?ue+"ms":ue}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(ue){this._contentTabIndex=(0,fe.su)(ue,null)}get disablePagination(){return this._disablePagination}set disablePagination(ue){this._disablePagination=(0,fe.Ig)(ue)}get preserveContent(){return this._preserveContent}set preserveContent(ue){this._preserveContent=(0,fe.Ig)(ue)}get backgroundColor(){return this._backgroundColor}set backgroundColor(ue){const Ae=this._elementRef.nativeElement.classList;Ae.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),ue&&Ae.add("mat-tabs-with-background",`mat-background-${ue}`),this._backgroundColor=ue}constructor(ue,Ae,bt,kt){super(ue),this._changeDetectorRef=Ae,this._animationMode=kt,this._tabs=new a.QueryList,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=p.w0.EMPTY,this._tabLabelSubscription=p.w0.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new a.EventEmitter,this.focusChange=new a.EventEmitter,this.animationDone=new a.EventEmitter,this.selectedTabChange=new a.EventEmitter(!0),this._groupId=Ct++,this.animationDuration=bt&&bt.animationDuration?bt.animationDuration:"500ms",this.disablePagination=!(!bt||null==bt.disablePagination)&&bt.disablePagination,this.dynamicHeight=!(!bt||null==bt.dynamicHeight)&&bt.dynamicHeight,this.contentTabIndex=bt?.contentTabIndex??null,this.preserveContent=!!bt?.preserveContent}ngAfterContentChecked(){const ue=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=ue){const Ae=null==this._selectedIndex;if(!Ae){this.selectedTabChange.emit(this._createChangeEvent(ue));const bt=this._tabBodyWrapper.nativeElement;bt.style.minHeight=bt.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((bt,kt)=>bt.isActive=kt===ue),Ae||(this.selectedIndexChange.emit(ue),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((Ae,bt)=>{Ae.position=bt-ue,null!=this._selectedIndex&&0==Ae.position&&!Ae.origin&&(Ae.origin=ue-this._selectedIndex)}),this._selectedIndex!==ue&&(this._selectedIndex=ue,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const ue=this._clampTabIndex(this._indexToSelect);if(ue===this._selectedIndex){const Ae=this._tabs.toArray();let bt;for(let kt=0;kt<Ae.length;kt++)if(Ae[kt].isActive){this._indexToSelect=this._selectedIndex=kt,this._lastFocusedTabIndex=null,bt=Ae[kt];break}!bt&&Ae[ue]&&Promise.resolve().then(()=>{Ae[ue].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(ue))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,M.O)(this._allTabs)).subscribe(ue=>{this._tabs.reset(ue.filter(Ae=>Ae._closestTabGroup===this||!Ae._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(ue){const Ae=this._tabHeader;Ae&&(Ae.focusIndex=ue)}_focusChanged(ue){this._lastFocusedTabIndex=ue,this.focusChange.emit(this._createChangeEvent(ue))}_createChangeEvent(ue){const Ae=new lt;return Ae.index=ue,this._tabs&&this._tabs.length&&(Ae.tab=this._tabs.toArray()[ue]),Ae}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,b.T)(...this._tabs.map(ue=>ue._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(ue){return Math.min(this._tabs.length-1,Math.max(ue||0,0))}_getTabLabelId(ue){return`mat-tab-label-${this._groupId}-${ue}`}_getTabContentId(ue){return`mat-tab-content-${this._groupId}-${ue}`}_setTabBodyWrapperHeight(ue){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const Ae=this._tabBodyWrapper.nativeElement;Ae.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(Ae.style.height=ue+"px")}_removeTabBodyWrapperHeight(){const ue=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=ue.clientHeight,ue.style.height="",this.animationDone.emit()}_handleClick(ue,Ae,bt){Ae.focusIndex=bt,ue.disabled||(this.selectedIndex=bt)}_getTabIndex(ue){return ue===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(ue,Ae){ue&&"mouse"!==ue&&"touch"!==ue&&(this._tabHeader.focusIndex=Ae)}}return(Pe=rt).\u0275fac=function(ue){return new(ue||Pe)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(a.ChangeDetectorRef),a.\u0275\u0275directiveInject(vn,8),a.\u0275\u0275directiveInject(a.ANIMATION_MODULE_TYPE,8))},Pe.\u0275dir=a.\u0275\u0275defineDirective({type:Pe,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:[a.\u0275\u0275InheritDefinitionFeature]}),rt})(),ze=(()=>{var Pe;class rt extends St{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(ue){this._fitInkBarToContent=(0,fe.Ig)(ue),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(ue){this._stretchTabs=(0,fe.Ig)(ue)}constructor(ue,Ae,bt,kt){super(ue,Ae,bt,kt),this._fitInkBarToContent=!1,this._stretchTabs=!0,this.fitInkBarToContent=!(!bt||null==bt.fitInkBarToContent)&&bt.fitInkBarToContent,this.stretchTabs=!bt||null==bt.stretchTabs||bt.stretchTabs}}return(Pe=rt).\u0275fac=function(ue){return new(ue||Pe)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(a.ChangeDetectorRef),a.\u0275\u0275directiveInject(vn,8),a.\u0275\u0275directiveInject(a.ANIMATION_MODULE_TYPE,8))},Pe.\u0275cmp=a.\u0275\u0275defineComponent({type:Pe,selectors:[["mat-tab-group"]],contentQueries:function(ue,Ae,bt){if(1&ue&&a.\u0275\u0275contentQuery(bt,se,5),2&ue){let kt;a.\u0275\u0275queryRefresh(kt=a.\u0275\u0275loadQuery())&&(Ae._allTabs=kt)}},viewQuery:function(ue,Ae){if(1&ue&&(a.\u0275\u0275viewQuery(G,5),a.\u0275\u0275viewQuery(Oe,5)),2&ue){let bt;a.\u0275\u0275queryRefresh(bt=a.\u0275\u0275loadQuery())&&(Ae._tabBodyWrapper=bt.first),a.\u0275\u0275queryRefresh(bt=a.\u0275\u0275loadQuery())&&(Ae._tabHeader=bt.first)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-tab-group"],hostVars:8,hostBindings:function(ue,Ae){2&ue&&(a.\u0275\u0275styleProp("--mat-tab-animation-duration",Ae.animationDuration),a.\u0275\u0275classProp("mat-mdc-tab-group-dynamic-height",Ae.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===Ae.headerPosition)("mat-mdc-tab-group-stretch-tabs",Ae.stretchTabs))},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabGroup"],features:[a.\u0275\u0275ProvidersFeature([{provide:Dt,useExisting:Pe}]),a.\u0275\u0275InheritDefinitionFeature],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange"],["tabNode",""],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(ue,Ae){1&ue&&(a.\u0275\u0275elementStart(0,"mat-tab-header",0,1),a.\u0275\u0275listener("indexFocused",function(kt){return Ae._focusChanged(kt)})("selectFocusedIndex",function(kt){return Ae.selectedIndex=kt}),a.\u0275\u0275template(2,pe,9,17,"div",2),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(3,"div",3,4),a.\u0275\u0275template(5,Ge,1,12,"mat-tab-body",5),a.\u0275\u0275elementEnd()),2&ue&&(a.\u0275\u0275property("selectedIndex",Ae.selectedIndex||0)("disableRipple",Ae.disableRipple)("disablePagination",Ae.disablePagination),a.\u0275\u0275advance(2),a.\u0275\u0275property("ngForOf",Ae._tabs),a.\u0275\u0275advance(1),a.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Ae._animationMode),a.\u0275\u0275advance(2),a.\u0275\u0275property("ngForOf",Ae._tabs))},dependencies:[n.NgClass,n.NgForOf,n.NgIf,m.Pl,g.MatRipple,d.kH,Ke,pt,fn],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2}),rt})();class lt{}let It=0,zt=(()=>{var Pe;class rt extends Ut{get backgroundColor(){return this._backgroundColor}set backgroundColor(ue){const Ae=this._elementRef.nativeElement.classList;Ae.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),ue&&Ae.add("mat-tabs-with-background",`mat-background-${ue}`),this._backgroundColor=ue}get disableRipple(){return this._disableRipple}set disableRipple(ue){this._disableRipple=(0,fe.Ig)(ue)}constructor(ue,Ae,bt,kt,En,un,gn){super(ue,kt,En,Ae,bt,un,gn),this._disableRipple=!1,this.color="primary"}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe((0,M.O)(null),(0,$.R)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(){if(!this._items)return;const ue=this._items.toArray();for(let Ae=0;Ae<ue.length;Ae++)if(ue[Ae].active)return this.selectedIndex=Ae,this._changeDetectorRef.markForCheck(),void(this.tabPanel&&(this.tabPanel._activeTabId=ue[Ae].id));this.selectedIndex=-1,this._inkBar.hide()}_getRole(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")}}return(Pe=rt).\u0275fac=function(ue){return new(ue||Pe)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(u.Is,8),a.\u0275\u0275directiveInject(a.NgZone),a.\u0275\u0275directiveInject(a.ChangeDetectorRef),a.\u0275\u0275directiveInject(he.rL),a.\u0275\u0275directiveInject(ot.t4),a.\u0275\u0275directiveInject(a.ANIMATION_MODULE_TYPE,8))},Pe.\u0275dir=a.\u0275\u0275defineDirective({type:Pe,inputs:{backgroundColor:"backgroundColor",disableRipple:"disableRipple",color:"color",tabPanel:"tabPanel"},features:[a.\u0275\u0275InheritDefinitionFeature]}),rt})();const ut=(0,g.mixinTabIndex)((0,g.mixinDisableRipple)((0,g.mixinDisabled)(class{})));let Xe=(()=>{var Pe;class rt extends ut{get active(){return this._isActive}set active(ue){const Ae=(0,fe.Ig)(ue);Ae!==this._isActive&&(this._isActive=Ae,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(ue,Ae,bt,kt,En,un){super(),this._tabNavBar=ue,this.elementRef=Ae,this._focusMonitor=En,this._isActive=!1,this.id="mat-tab-link-"+It++,this.rippleConfig=bt||{},this.tabIndex=parseInt(kt)||0,"NoopAnimations"===un&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}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(ue){!this.disabled||ue.keyCode!==we.L_&&ue.keyCode!==we.K5?this._tabNavBar.tabPanel&&ue.keyCode===we.L_&&this.elementRef.nativeElement.click():ue.preventDefault()}_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.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(Pe=rt).\u0275fac=function(ue){return new(ue||Pe)(a.\u0275\u0275directiveInject(zt),a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(g.MAT_RIPPLE_GLOBAL_OPTIONS,8),a.\u0275\u0275injectAttribute("tabindex"),a.\u0275\u0275directiveInject(d.tE),a.\u0275\u0275directiveInject(a.ANIMATION_MODULE_TYPE,8))},Pe.\u0275dir=a.\u0275\u0275defineDirective({type:Pe,inputs:{active:"active",id:"id"},features:[a.\u0275\u0275InheritDefinitionFeature]}),rt})();const _e=dt(Xe);let V=(()=>{var Pe;class rt extends zt{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(ue){this._fitInkBarToContent.next((0,fe.Ig)(ue)),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(ue){this._stretchTabs=(0,fe.Ig)(ue)}get animationDuration(){return this._animationDuration}set animationDuration(ue){this._animationDuration=/^\d+$/.test(ue+"")?ue+"ms":ue}constructor(ue,Ae,bt,kt,En,un,gn,Ue){super(ue,Ae,bt,kt,En,un,gn),this._fitInkBarToContent=new R.X(!1),this._stretchTabs=!0,this.disablePagination=!(!Ue||null==Ue.disablePagination)&&Ue.disablePagination,this.fitInkBarToContent=!(!Ue||null==Ue.fitInkBarToContent)&&Ue.fitInkBarToContent,this.stretchTabs=!Ue||null==Ue.stretchTabs||Ue.stretchTabs}ngAfterContentInit(){this._inkBar=new et(this._items),super.ngAfterContentInit()}ngAfterViewInit(){super.ngAfterViewInit()}}return(Pe=rt).\u0275fac=function(ue){return new(ue||Pe)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(u.Is,8),a.\u0275\u0275directiveInject(a.NgZone),a.\u0275\u0275directiveInject(a.ChangeDetectorRef),a.\u0275\u0275directiveInject(he.rL),a.\u0275\u0275directiveInject(ot.t4),a.\u0275\u0275directiveInject(a.ANIMATION_MODULE_TYPE,8),a.\u0275\u0275directiveInject(vn,8))},Pe.\u0275cmp=a.\u0275\u0275defineComponent({type:Pe,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(ue,Ae,bt){if(1&ue&&a.\u0275\u0275contentQuery(bt,ce,5),2&ue){let kt;a.\u0275\u0275queryRefresh(kt=a.\u0275\u0275loadQuery())&&(Ae._items=kt)}},viewQuery:function(ue,Ae){if(1&ue&&(a.\u0275\u0275viewQuery(W,7),a.\u0275\u0275viewQuery(Ce,7),a.\u0275\u0275viewQuery(ee,7),a.\u0275\u0275viewQuery(J,5),a.\u0275\u0275viewQuery(j,5)),2&ue){let bt;a.\u0275\u0275queryRefresh(bt=a.\u0275\u0275loadQuery())&&(Ae._tabListContainer=bt.first),a.\u0275\u0275queryRefresh(bt=a.\u0275\u0275loadQuery())&&(Ae._tabList=bt.first),a.\u0275\u0275queryRefresh(bt=a.\u0275\u0275loadQuery())&&(Ae._tabListInner=bt.first),a.\u0275\u0275queryRefresh(bt=a.\u0275\u0275loadQuery())&&(Ae._nextPaginator=bt.first),a.\u0275\u0275queryRefresh(bt=a.\u0275\u0275loadQuery())&&(Ae._previousPaginator=bt.first)}},hostAttrs:[1,"mat-mdc-tab-nav-bar","mat-mdc-tab-header"],hostVars:17,hostBindings:function(ue,Ae){2&ue&&(a.\u0275\u0275attribute("role",Ae._getRole()),a.\u0275\u0275styleProp("--mat-tab-animation-duration",Ae.animationDuration),a.\u0275\u0275classProp("mat-mdc-tab-header-pagination-controls-enabled",Ae._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==Ae._getLayoutDirection())("mat-mdc-tab-nav-bar-stretch-tabs",Ae.stretchTabs)("mat-primary","warn"!==Ae.color&&"accent"!==Ae.color)("mat-accent","accent"===Ae.color)("mat-warn","warn"===Ae.color)("_mat-animation-noopable","NoopAnimations"===Ae._animationMode))},inputs:{color:"color",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"],animationDuration:"animationDuration"},exportAs:["matTabNavBar","matTabNav"],features:[a.\u0275\u0275InheritDefinitionFeature],attrs:Be,ngContentSelectors:st,decls:13,vars:8,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-link-container",3,"keydown"],["tabListContainer",""],[1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-links"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(ue,Ae){1&ue&&(a.\u0275\u0275projectionDef(),a.\u0275\u0275elementStart(0,"button",0,1),a.\u0275\u0275listener("click",function(){return Ae._handlePaginatorClick("before")})("mousedown",function(kt){return Ae._handlePaginatorPress("before",kt)})("touchend",function(){return Ae._stopInterval()}),a.\u0275\u0275element(2,"div",2),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(3,"div",3,4),a.\u0275\u0275listener("keydown",function(kt){return Ae._handleKeydown(kt)}),a.\u0275\u0275elementStart(5,"div",5,6),a.\u0275\u0275listener("cdkObserveContent",function(){return Ae._onContentChanges()}),a.\u0275\u0275elementStart(7,"div",7,8),a.\u0275\u0275projection(9),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(10,"button",9,10),a.\u0275\u0275listener("mousedown",function(kt){return Ae._handlePaginatorPress("after",kt)})("click",function(){return Ae._handlePaginatorClick("after")})("touchend",function(){return Ae._stopInterval()}),a.\u0275\u0275element(12,"div",2),a.\u0275\u0275elementEnd()),2&ue&&(a.\u0275\u0275classProp("mat-mdc-tab-header-pagination-disabled",Ae._disableScrollBefore),a.\u0275\u0275property("matRippleDisabled",Ae._disableScrollBefore||Ae.disableRipple)("disabled",Ae._disableScrollBefore||null),a.\u0275\u0275advance(10),a.\u0275\u0275classProp("mat-mdc-tab-header-pagination-disabled",Ae._disableScrollAfter),a.\u0275\u0275property("matRippleDisabled",Ae._disableScrollAfter||Ae.disableRipple)("disabled",Ae._disableScrollAfter||null))},dependencies:[g.MatRipple,s.wD],styles:[".mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0;--mdc-tab-indicator-active-indicator-height:2px;--mdc-tab-indicator-active-indicator-shape:0;--mdc-secondary-navigation-tab-container-height:48px}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-links{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-focus-indicator::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}"],encapsulation:2}),rt})(),ce=(()=>{var Pe;class rt extends _e{constructor(ue,Ae,bt,kt,En,un){super(ue,Ae,bt,kt,En,un),this._destroyed=new v.x,ue._fitInkBarToContent.pipe((0,$.R)(this._destroyed)).subscribe(gn=>{this.fitInkBarToContent=gn})}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy()}}return(Pe=rt).\u0275fac=function(ue){return new(ue||Pe)(a.\u0275\u0275directiveInject(V),a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(g.MAT_RIPPLE_GLOBAL_OPTIONS,8),a.\u0275\u0275injectAttribute("tabindex"),a.\u0275\u0275directiveInject(d.tE),a.\u0275\u0275directiveInject(a.ANIMATION_MODULE_TYPE,8))},Pe.\u0275cmp=a.\u0275\u0275defineComponent({type:Pe,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(ue,Ae){1&ue&&a.\u0275\u0275listener("focus",function(){return Ae._handleFocus()})("keydown",function(kt){return Ae._handleKeydown(kt)}),2&ue&&(a.\u0275\u0275attribute("aria-controls",Ae._getAriaControls())("aria-current",Ae._getAriaCurrent())("aria-disabled",Ae.disabled)("aria-selected",Ae._getAriaSelected())("id",Ae.id)("tabIndex",Ae._getTabIndex())("role",Ae._getRole()),a.\u0275\u0275classProp("mat-mdc-tab-disabled",Ae.disabled)("mdc-tab--active",Ae.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",active:"active",id:"id"},exportAs:["matTabLink"],features:[a.\u0275\u0275InheritDefinitionFeature],attrs:xe,ngContentSelectors:st,decls:5,vars:2,consts:[[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"]],template:function(ue,Ae){1&ue&&(a.\u0275\u0275projectionDef(),a.\u0275\u0275element(0,"span",0)(1,"div",1),a.\u0275\u0275elementStart(2,"span",2)(3,"span",3),a.\u0275\u0275projection(4),a.\u0275\u0275elementEnd()()),2&ue&&(a.\u0275\u0275advance(1),a.\u0275\u0275property("matRippleTrigger",Ae.elementRef.nativeElement)("matRippleDisabled",Ae.rippleDisabled))},dependencies:[g.MatRipple],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab-link:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab-link:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link.mdc-tab{flex-grow:0}.mat-mdc-tab-link:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab-link:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab-link.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab-link.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab-link.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}'],encapsulation:2,changeDetection:0}),rt})(),ie=(()=>{var Pe;class rt{constructor(){this.id="mat-tab-nav-panel-"+It++}}return(Pe=rt).\u0275fac=function(ue){return new(ue||Pe)},Pe.\u0275cmp=a.\u0275\u0275defineComponent({type:Pe,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(ue,Ae){2&ue&&a.\u0275\u0275attribute("aria-labelledby",Ae._activeTabId)("id",Ae.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:st,decls:1,vars:0,template:function(ue,Ae){1&ue&&(a.\u0275\u0275projectionDef(),a.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),rt})(),We=(()=>{var Pe;class rt{}return(Pe=rt).\u0275fac=function(ue){return new(ue||Pe)},Pe.\u0275mod=a.\u0275\u0275defineNgModule({type:Pe}),Pe.\u0275inj=a.\u0275\u0275defineInjector({imports:[n.CommonModule,g.MatCommonModule,m.eL,g.MatRippleModule,s.Q8,d.rt,g.MatCommonModule]}),rt})()},2596:(Z,o,c)=>{"use strict";c.r(o),c.d(o,{MAT_TOOLTIP_DEFAULT_OPTIONS:()=>de,MAT_TOOLTIP_DEFAULT_OPTIONS_FACTORY:()=>K,MAT_TOOLTIP_SCROLL_STRATEGY:()=>$,MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY:()=>ne,MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>z,MatTooltip:()=>st,MatTooltipModule:()=>J,SCROLL_THROTTLE_MS:()=>M,TOOLTIP_PANEL_CLASS:()=>X,TooltipComponent:()=>Ce,_MatTooltipBase:()=>Ze,_TooltipComponentBase:()=>W,getMatTooltipInvalidPositionError:()=>Y,matTooltipAnimations:()=>ee});var n=c(9773),a=c(8180),g=c(2495),m=c(6028),s=c(5879),d=c(6814),u=c(2831),p=c(4300),v=c(9388),f=c(9594),y=c(9829),b=c(8484),_=c(8645),w=c(6825),A=c(3680);const R=["tooltip"],M=20;function Y(j){return Error(`Tooltip position "${j}" is invalid.`)}const $=new s.InjectionToken("mat-tooltip-scroll-strategy");function ne(j){return()=>j.scrollStrategies.reposition({scrollThrottle:M})}const z={provide:$,deps:[f.aV],useFactory:ne};function K(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}const de=new s.InjectionToken("mat-tooltip-default-options",{providedIn:"root",factory:K}),X="mat-mdc-tooltip-panel",fe="tooltip-panel",he=(0,u.i$)({passive:!0});let Ze=(()=>{var j;class G{get position(){return this._position}set position(U){U!==this._position&&(this._position=U,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(U){this._positionAtOrigin=(0,g.Ig)(U),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(U){this._disabled=(0,g.Ig)(U),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(U){this._showDelay=(0,g.su)(U)}get hideDelay(){return this._hideDelay}set hideDelay(U){this._hideDelay=(0,g.su)(U),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(U){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=U?String(U).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(U){this._tooltipClass=U,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(U,ae,Ee,pe,Ge,Be,xe,at,ge,Me,Ke,ye){this._overlay=U,this._elementRef=ae,this._scrollDispatcher=Ee,this._viewContainerRef=pe,this._ngZone=Ge,this._platform=Be,this._ariaDescriber=xe,this._focusMonitor=at,this._dir=Me,this._defaultOptions=Ke,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new _.x,this._scrollStrategy=ge,this._document=ye,Ke&&(this._showDelay=Ke.showDelay,this._hideDelay=Ke.hideDelay,Ke.position&&(this.position=Ke.position),Ke.positionAtOrigin&&(this.positionAtOrigin=Ke.positionAtOrigin),Ke.touchGestures&&(this.touchGestures=Ke.touchGestures)),Me.change.pipe((0,n.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,n.R)(this._destroyed)).subscribe(U=>{U?"keyboard"===U&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const U=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([ae,Ee])=>{U.removeEventListener(ae,Ee,he)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(U,this.message,"tooltip"),this._focusMonitor.stopMonitoring(U)}show(U=this.showDelay,ae){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const Ee=this._createOverlay(ae);this._detach(),this._portal=this._portal||new b.C5(this._tooltipComponent,this._viewContainerRef);const pe=this._tooltipInstance=Ee.attach(this._portal).instance;pe._triggerElement=this._elementRef.nativeElement,pe._mouseLeaveHideDelay=this._hideDelay,pe.afterHidden().pipe((0,n.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),pe.show(U)}hide(U=this.hideDelay){const ae=this._tooltipInstance;ae&&(ae.isVisible()?ae.hide(U):(ae._cancelPendingAnimations(),this._detach()))}toggle(U){this._isTooltipVisible()?this.hide():this.show(void 0,U)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(U){if(this._overlayRef){const pe=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!U)&&pe._origin instanceof s.ElementRef)return this._overlayRef;this._detach()}const ae=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),Ee=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&U||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(ae);return Ee.positionChanges.pipe((0,n.R)(this._destroyed)).subscribe(pe=>{this._updateCurrentPositionClass(pe.connectionPair),this._tooltipInstance&&pe.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:Ee,panelClass:`${this._cssClassPrefix}-${fe}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,n.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,n.R)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,n.R)(this._destroyed)).subscribe(pe=>{this._isTooltipVisible()&&pe.keyCode===m.hY&&!(0,m.Vb)(pe)&&(pe.preventDefault(),pe.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(U){const ae=U.getConfig().positionStrategy,Ee=this._getOrigin(),pe=this._getOverlayPosition();ae.withPositions([this._addOffset({...Ee.main,...pe.main}),this._addOffset({...Ee.fallback,...pe.fallback})])}_addOffset(U){return U}_getOrigin(){const U=!this._dir||"ltr"==this._dir.value,ae=this.position;let Ee;"above"==ae||"below"==ae?Ee={originX:"center",originY:"above"==ae?"top":"bottom"}:"before"==ae||"left"==ae&&U||"right"==ae&&!U?Ee={originX:"start",originY:"center"}:("after"==ae||"right"==ae&&U||"left"==ae&&!U)&&(Ee={originX:"end",originY:"center"});const{x:pe,y:Ge}=this._invertPosition(Ee.originX,Ee.originY);return{main:Ee,fallback:{originX:pe,originY:Ge}}}_getOverlayPosition(){const U=!this._dir||"ltr"==this._dir.value,ae=this.position;let Ee;"above"==ae?Ee={overlayX:"center",overlayY:"bottom"}:"below"==ae?Ee={overlayX:"center",overlayY:"top"}:"before"==ae||"left"==ae&&U||"right"==ae&&!U?Ee={overlayX:"end",overlayY:"center"}:("after"==ae||"right"==ae&&U||"left"==ae&&!U)&&(Ee={overlayX:"start",overlayY:"center"});const{x:pe,y:Ge}=this._invertPosition(Ee.overlayX,Ee.overlayY);return{main:Ee,fallback:{overlayX:pe,overlayY:Ge}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,a.q)(1),(0,n.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(U){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=U,this._tooltipInstance._markForCheck())}_invertPosition(U,ae){return"above"===this.position||"below"===this.position?"top"===ae?ae="bottom":"bottom"===ae&&(ae="top"):"end"===U?U="start":"start"===U&&(U="end"),{x:U,y:ae}}_updateCurrentPositionClass(U){const{overlayY:ae,originX:Ee,originY:pe}=U;let Ge;if(Ge="center"===ae?this._dir&&"rtl"===this._dir.value?"end"===Ee?"left":"right":"start"===Ee?"left":"right":"bottom"===ae&&"top"===pe?"above":"below",Ge!==this._currentPosition){const Be=this._overlayRef;if(Be){const xe=`${this._cssClassPrefix}-${fe}-`;Be.removePanelClass(xe+this._currentPosition),Be.addPanelClass(xe+Ge)}this._currentPosition=Ge}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",U=>{let ae;this._setupPointerExitEventsIfNeeded(),void 0!==U.x&&void 0!==U.y&&(ae=U),this.show(void 0,ae)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",U=>{const ae=U.targetTouches?.[0],Ee=ae?{x:ae.clientX,y:ae.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,Ee),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const U=[];if(this._platformSupportsMouseEvents())U.push(["mouseleave",ae=>{const Ee=ae.relatedTarget;(!Ee||!this._overlayRef?.overlayElement.contains(Ee))&&this.hide()}],["wheel",ae=>this._wheelListener(ae)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const ae=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};U.push(["touchend",ae],["touchcancel",ae])}this._addListeners(U),this._passiveListeners.push(...U)}_addListeners(U){U.forEach(([ae,Ee])=>{this._elementRef.nativeElement.addEventListener(ae,Ee,he)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(U){if(this._isTooltipVisible()){const ae=this._document.elementFromPoint(U.clientX,U.clientY),Ee=this._elementRef.nativeElement;ae!==Ee&&!Ee.contains(ae)&&this.hide()}}_disableNativeGesturesIfNecessary(){const U=this.touchGestures;if("off"!==U){const ae=this._elementRef.nativeElement,Ee=ae.style;("on"===U||"INPUT"!==ae.nodeName&&"TEXTAREA"!==ae.nodeName)&&(Ee.userSelect=Ee.msUserSelect=Ee.webkitUserSelect=Ee.MozUserSelect="none"),("on"===U||!ae.draggable)&&(Ee.webkitUserDrag="none"),Ee.touchAction="none",Ee.webkitTapHighlightColor="transparent"}}}return(j=G).\u0275fac=function(U){s.\u0275\u0275invalidFactory()},j.\u0275dir=s.\u0275\u0275defineDirective({type:j,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),G})(),st=(()=>{var j;class G extends Ze{constructor(U,ae,Ee,pe,Ge,Be,xe,at,ge,Me,Ke,ye){super(U,ae,Ee,pe,Ge,Be,xe,at,ge,Me,Ke,ye),this._tooltipComponent=Ce,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(U){const Ee=!this._dir||"ltr"==this._dir.value;return"top"===U.originY?U.offsetY=-8:"bottom"===U.originY?U.offsetY=8:"start"===U.originX?U.offsetX=Ee?-8:8:"end"===U.originX&&(U.offsetX=Ee?8:-8),U}}return(j=G).\u0275fac=function(U){return new(U||j)(s.\u0275\u0275directiveInject(f.aV),s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(y.mF),s.\u0275\u0275directiveInject(s.ViewContainerRef),s.\u0275\u0275directiveInject(s.NgZone),s.\u0275\u0275directiveInject(u.t4),s.\u0275\u0275directiveInject(p.$s),s.\u0275\u0275directiveInject(p.tE),s.\u0275\u0275directiveInject($),s.\u0275\u0275directiveInject(v.Is,8),s.\u0275\u0275directiveInject(de,8),s.\u0275\u0275directiveInject(d.DOCUMENT))},j.\u0275dir=s.\u0275\u0275defineDirective({type:j,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(U,ae){2&U&&s.\u0275\u0275classProp("mat-mdc-tooltip-disabled",ae.disabled)},exportAs:["matTooltip"],features:[s.\u0275\u0275InheritDefinitionFeature]}),G})(),W=(()=>{var j;class G{constructor(U,ae){this._changeDetectorRef=U,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new _.x,this._animationsDisabled="NoopAnimations"===ae}show(U){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},U)}hide(U){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},U)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:U}){(!U||!this._triggerElement.contains(U))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:U}){(U===this._showAnimation||U===this._hideAnimation)&&this._finalizeAnimation(U===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(U){U?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(U){const ae=this._tooltip.nativeElement,Ee=this._showAnimation,pe=this._hideAnimation;if(ae.classList.remove(U?pe:Ee),ae.classList.add(U?Ee:pe),this._isVisible=U,U&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const Ge=getComputedStyle(ae);("0s"===Ge.getPropertyValue("animation-duration")||"none"===Ge.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}U&&this._onShow(),this._animationsDisabled&&(ae.classList.add("_mat-animation-noopable"),this._finalizeAnimation(U))}}return(j=G).\u0275fac=function(U){return new(U||j)(s.\u0275\u0275directiveInject(s.ChangeDetectorRef),s.\u0275\u0275directiveInject(s.ANIMATION_MODULE_TYPE,8))},j.\u0275dir=s.\u0275\u0275defineDirective({type:j}),G})(),Ce=(()=>{var j;class G extends W{constructor(U,ae,Ee){super(U,Ee),this._elementRef=ae,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const U=this._elementRef.nativeElement.getBoundingClientRect();return U.height>24&&U.width>=200}}return(j=G).\u0275fac=function(U){return new(U||j)(s.\u0275\u0275directiveInject(s.ChangeDetectorRef),s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(s.ANIMATION_MODULE_TYPE,8))},j.\u0275cmp=s.\u0275\u0275defineComponent({type:j,selectors:[["mat-tooltip-component"]],viewQuery:function(U,ae){if(1&U&&s.\u0275\u0275viewQuery(R,7),2&U){let Ee;s.\u0275\u0275queryRefresh(Ee=s.\u0275\u0275loadQuery())&&(ae._tooltip=Ee.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(U,ae){1&U&&s.\u0275\u0275listener("mouseleave",function(pe){return ae._handleMouseLeave(pe)}),2&U&&s.\u0275\u0275styleProp("zoom",ae.isVisible()?1:null)},features:[s.\u0275\u0275InheritDefinitionFeature],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(U,ae){1&U&&(s.\u0275\u0275elementStart(0,"div",0,1),s.\u0275\u0275listener("animationend",function(pe){return ae._handleAnimationEnd(pe)}),s.\u0275\u0275elementStart(2,"div",2),s.\u0275\u0275text(3),s.\u0275\u0275elementEnd()()),2&U&&(s.\u0275\u0275classProp("mdc-tooltip--multiline",ae._isMultiline),s.\u0275\u0275property("ngClass",ae.tooltipClass),s.\u0275\u0275advance(3),s.\u0275\u0275textInterpolate(ae.message))},dependencies:[d.NgClass],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - (2 * 8px));margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - (2 * 8px));align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip{--mdc-plain-tooltip-container-shape:4px;--mdc-plain-tooltip-supporting-text-line-height:16px}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0}),G})();const ee={tooltipState:(0,w.X$)("state",[(0,w.SB)("initial, void, hidden",(0,w.oB)({opacity:0,transform:"scale(0.8)"})),(0,w.SB)("visible",(0,w.oB)({transform:"scale(1)"})),(0,w.eR)("* => visible",(0,w.jt)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,w.eR)("* => hidden",(0,w.jt)("75ms cubic-bezier(0.4, 0, 1, 1)"))])};let J=(()=>{var j;class G{}return(j=G).\u0275fac=function(U){return new(U||j)},j.\u0275mod=s.\u0275\u0275defineNgModule({type:j}),j.\u0275inj=s.\u0275\u0275defineInjector({providers:[z],imports:[p.rt,d.CommonModule,f.U8,A.MatCommonModule,A.MatCommonModule,y.ZD]}),G})()},349:(Z,o,c)=>{"use strict";c.r(o),c.d(o,{ANIMATION_MODULE_TYPE:()=>n.ANIMATION_MODULE_TYPE,BrowserAnimationsModule:()=>Xr,NoopAnimationsModule:()=>$c,provideAnimations:()=>Jr,provideNoopAnimations:()=>xs,\u0275AnimationRenderer:()=>k,\u0275AnimationRendererFactory:()=>yo,\u0275BrowserAnimationBuilder:()=>rr,\u0275BrowserAnimationFactory:()=>Er,\u0275InjectableAnimationEngine:()=>N});var n=c(5879),a=c(6593),g=c(6825);function s(le){return new n.\u0275RuntimeError(3e3,!1)}function ae(le){switch(le.length){case 0:return new g.ZN;case 1:return le[0];default:return new g.ZE(le)}}function Ee(le,E,x=new Map,O=new Map){const te=[],De=[];let Je=-1,ct=null;if(E.forEach(Et=>{const Mt=Et.get("offset"),qt=Mt==Je,Kt=qt&&ct||new Map;Et.forEach((Tn,yn)=>{let ln=yn,pn=Tn;if("offset"!==yn)switch(ln=le.normalizePropertyName(ln,te),pn){case g.k1:pn=x.get(yn);break;case g.l3:pn=O.get(yn);break;default:pn=le.normalizeStyleValue(yn,ln,pn,te)}Kt.set(ln,pn)}),qt||De.push(Kt),ct=Kt,Je=Mt}),te.length)throw function tt(le){return new n.\u0275RuntimeError(3502,!1)}();return De}function pe(le,E,x,O){switch(E){case"start":le.onStart(()=>O(x&&Ge(x,"start",le)));break;case"done":le.onDone(()=>O(x&&Ge(x,"done",le)));break;case"destroy":le.onDestroy(()=>O(x&&Ge(x,"destroy",le)))}}function Ge(le,E,x){const De=Be(le.element,le.triggerName,le.fromState,le.toState,E||le.phaseName,x.totalTime??le.totalTime,!!x.disabled),Je=le._data;return null!=Je&&(De._data=Je),De}function Be(le,E,x,O,te="",De=0,Je){return{element:le,triggerName:E,fromState:x,toState:O,phaseName:te,totalTime:De,disabled:!!Je}}function xe(le,E,x){let O=le.get(E);return O||le.set(E,O=x),O}function at(le){const E=le.indexOf(":");return[le.substring(1,E),le.slice(E+1)]}const ge=(()=>typeof document>"u"?null:document.documentElement)();function Me(le){const E=le.parentNode||le.host||null;return E===ge?null:E}let ye=null,ht=!1;function $e(le,E){for(;E;){if(E===le)return!0;E=Me(E)}return!1}function Ne(le,E,x){if(x)return Array.from(le.querySelectorAll(E));const O=le.querySelector(E);return O?[O]:[]}let dt=(()=>{var le;class E{validateStyleProperty(O){return function gt(le){ye||(ye=function Q(){return typeof document<"u"?document.body:null}()||{},ht=!!ye.style&&"WebkitAppearance"in ye.style);let E=!0;return ye.style&&!function Ke(le){return"ebkit"==le.substring(1,6)}(le)&&(E=le in ye.style,!E&&ht&&(E="Webkit"+le.charAt(0).toUpperCase()+le.slice(1)in ye.style)),E}(O)}matchesElement(O,te){return!1}containsElement(O,te){return $e(O,te)}getParentElement(O){return Me(O)}query(O,te,De){return Ne(O,te,De)}computeStyle(O,te,De){return De||""}animate(O,te,De,Je,ct,Et=[],Mt){return new g.ZN(De,Je)}}return(le=E).\u0275fac=function(O){return new(O||le)},le.\u0275prov=n.\u0275\u0275defineInjectable({token:le,factory:le.\u0275fac}),E})(),xt=(()=>{class E{}return E.NOOP=new dt,E})();const Nt=1e3,en="ng-enter",pt="ng-leave",vt="ng-trigger",Dt=".ng-trigger",Ve="ng-animating",se=".ng-animating";function Qe(le){if("number"==typeof le)return le;const E=le.match(/^(-?[\.\d]+)(m?s)/);return!E||E.length<2?0:wt(parseFloat(E[1]),E[2])}function wt(le,E){return"s"===E?le*Nt:le}function Lt(le,E,x){return le.hasOwnProperty("duration")?le:function Ut(le,E,x){let te,De=0,Je="";if("string"==typeof le){const ct=le.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===ct)return E.push(s()),{duration:0,delay:0,easing:""};te=wt(parseFloat(ct[1]),ct[2]);const Et=ct[3];null!=Et&&(De=wt(parseFloat(Et),ct[4]));const Mt=ct[5];Mt&&(Je=Mt)}else te=le;if(!x){let ct=!1,Et=E.length;te<0&&(E.push(function d(){return new n.\u0275RuntimeError(3100,!1)}()),ct=!0),De<0&&(E.push(function u(){return new n.\u0275RuntimeError(3101,!1)}()),ct=!0),ct&&E.splice(Et,0,s())}return{duration:te,delay:De,easing:Je}}(le,E,x)}function rn(le,E={}){return Object.keys(le).forEach(x=>{E[x]=le[x]}),E}function fn(le){const E=new Map;return Object.keys(le).forEach(x=>{E.set(x,le[x])}),E}function it(le,E=new Map,x){if(x)for(let[O,te]of x)E.set(O,te);for(let[O,te]of le)E.set(O,te);return E}function St(le,E,x){E.forEach((O,te)=>{const De=ce(te);x&&!x.has(te)&&x.set(te,le.style[De]),le.style[De]=O})}function ze(le,E){E.forEach((x,O)=>{const te=ce(O);le.style[te]=""})}function lt(le){return Array.isArray(le)?1==le.length?le[0]:(0,g.vP)(le):le}const zt=new RegExp("{{\\s*(.+?)\\s*}}","g");function ut(le){let E=[];if("string"==typeof le){let x;for(;x=zt.exec(le);)E.push(x[1]);zt.lastIndex=0}return E}function Xe(le,E,x){const O=le.toString(),te=O.replace(zt,(De,Je)=>{let ct=E[Je];return null==ct&&(x.push(function v(le){return new n.\u0275RuntimeError(3003,!1)}()),ct=""),ct.toString()});return te==O?le:te}function _e(le){const E=[];let x=le.next();for(;!x.done;)E.push(x.value),x=le.next();return E}const V=/-+([a-z0-9])/g;function ce(le){return le.replace(V,(...E)=>E[1].toUpperCase())}function rt(le,E,x){switch(E.type){case 7:return le.visitTrigger(E,x);case 0:return le.visitState(E,x);case 1:return le.visitTransition(E,x);case 2:return le.visitSequence(E,x);case 3:return le.visitGroup(E,x);case 4:return le.visitAnimate(E,x);case 5:return le.visitKeyframes(E,x);case 6:return le.visitStyle(E,x);case 8:return le.visitReference(E,x);case 9:return le.visitAnimateChild(E,x);case 10:return le.visitAnimateRef(E,x);case 11:return le.visitQuery(E,x);case 12:return le.visitStagger(E,x);default:throw function f(le){return new n.\u0275RuntimeError(3004,!1)}()}}function Tt(le,E){return window.getComputedStyle(le)[E]}const gn="*";function Ue(le,E){const x=[];return"string"==typeof le?le.split(/\s*,\s*/).forEach(O=>function Fe(le,E,x){if(":"==le[0]){const Et=function _t(le,E){switch(le){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(x,O)=>parseFloat(O)>parseFloat(x);case":decrement":return(x,O)=>parseFloat(O)<parseFloat(x);default:return E.push(function fe(le){return new n.\u0275RuntimeError(3016,!1)}()),"* => *"}}(le,x);if("function"==typeof Et)return void E.push(Et);le=Et}const O=le.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==O||O.length<4)return x.push(function X(le){return new n.\u0275RuntimeError(3015,!1)}()),E;const te=O[1],De=O[2],Je=O[3];E.push(Pt(te,Je));"<"==De[0]&&!(te==gn&&Je==gn)&&E.push(Pt(Je,te))}(O,x,E)):x.push(le),x}const ft=new Set(["true","1"]),Ot=new Set(["false","0"]);function Pt(le,E){const x=ft.has(le)||Ot.has(le),O=ft.has(E)||Ot.has(E);return(te,De)=>{let Je=le==gn||le==te,ct=E==gn||E==De;return!Je&&x&&"boolean"==typeof te&&(Je=te?ft.has(le):Ot.has(le)),!ct&&O&&"boolean"==typeof De&&(ct=De?ft.has(E):Ot.has(E)),Je&&ct}}const Gt=new RegExp("s*:selfs*,?","g");function tn(le,E,x,O){return new Pn(le).build(E,x,O)}class Pn{constructor(E){this._driver=E}build(E,x,O){const te=new Gn(x);return this._resetContextStyleTimingState(te),rt(this,lt(E),te)}_resetContextStyleTimingState(E){E.currentQuerySelector="",E.collectedStyles=new Map,E.collectedStyles.set("",new Map),E.currentTime=0}visitTrigger(E,x){let O=x.queryCount=0,te=x.depCount=0;const De=[],Je=[];return"@"==E.name.charAt(0)&&x.errors.push(function b(){return new n.\u0275RuntimeError(3006,!1)}()),E.definitions.forEach(ct=>{if(this._resetContextStyleTimingState(x),0==ct.type){const Et=ct,Mt=Et.name;Mt.toString().split(/\s*,\s*/).forEach(qt=>{Et.name=qt,De.push(this.visitState(Et,x))}),Et.name=Mt}else if(1==ct.type){const Et=this.visitTransition(ct,x);O+=Et.queryCount,te+=Et.depCount,Je.push(Et)}else x.errors.push(function _(){return new n.\u0275RuntimeError(3007,!1)}())}),{type:7,name:E.name,states:De,transitions:Je,queryCount:O,depCount:te,options:null}}visitState(E,x){const O=this.visitStyle(E.styles,x),te=E.options&&E.options.params||null;if(O.containsDynamicStyles){const De=new Set,Je=te||{};O.styles.forEach(ct=>{ct instanceof Map&&ct.forEach(Et=>{ut(Et).forEach(Mt=>{Je.hasOwnProperty(Mt)||De.add(Mt)})})}),De.size&&(_e(De.values()),x.errors.push(function w(le,E){return new n.\u0275RuntimeError(3008,!1)}()))}return{type:0,name:E.name,style:O,options:te?{params:te}:null}}visitTransition(E,x){x.queryCount=0,x.depCount=0;const O=rt(this,lt(E.animation),x);return{type:1,matchers:Ue(E.expr,x.errors),animation:O,queryCount:x.queryCount,depCount:x.depCount,options:oe(E.options)}}visitSequence(E,x){return{type:2,steps:E.steps.map(O=>rt(this,O,x)),options:oe(E.options)}}visitGroup(E,x){const O=x.currentTime;let te=0;const De=E.steps.map(Je=>{x.currentTime=O;const ct=rt(this,Je,x);return te=Math.max(te,x.currentTime),ct});return x.currentTime=te,{type:3,steps:De,options:oe(E.options)}}visitAnimate(E,x){const O=function Nn(le,E){if(le.hasOwnProperty("duration"))return le;if("number"==typeof le)return ve(Lt(le,E).duration,0,"");const x=le;if(x.split(/\s+/).some(De=>"{"==De.charAt(0)&&"{"==De.charAt(1))){const De=ve(0,0,"");return De.dynamic=!0,De.strValue=x,De}const te=Lt(x,E);return ve(te.duration,te.delay,te.easing)}(E.timings,x.errors);x.currentAnimateTimings=O;let te,De=E.styles?E.styles:(0,g.oB)({});if(5==De.type)te=this.visitKeyframes(De,x);else{let Je=E.styles,ct=!1;if(!Je){ct=!0;const Mt={};O.easing&&(Mt.easing=O.easing),Je=(0,g.oB)(Mt)}x.currentTime+=O.duration+O.delay;const Et=this.visitStyle(Je,x);Et.isEmptyStep=ct,te=Et}return x.currentAnimateTimings=null,{type:4,timings:O,style:te,options:null}}visitStyle(E,x){const O=this._makeStyleAst(E,x);return this._validateStyleAst(O,x),O}_makeStyleAst(E,x){const O=[],te=Array.isArray(E.styles)?E.styles:[E.styles];for(let ct of te)"string"==typeof ct?ct===g.l3?O.push(ct):x.errors.push(new n.\u0275RuntimeError(3002,!1)):O.push(fn(ct));let De=!1,Je=null;return O.forEach(ct=>{if(ct instanceof Map&&(ct.has("easing")&&(Je=ct.get("easing"),ct.delete("easing")),!De))for(let Et of ct.values())if(Et.toString().indexOf("{{")>=0){De=!0;break}}),{type:6,styles:O,easing:Je,offset:E.offset,containsDynamicStyles:De,options:null}}_validateStyleAst(E,x){const O=x.currentAnimateTimings;let te=x.currentTime,De=x.currentTime;O&&De>0&&(De-=O.duration+O.delay),E.styles.forEach(Je=>{"string"!=typeof Je&&Je.forEach((ct,Et)=>{const Mt=x.collectedStyles.get(x.currentQuerySelector),qt=Mt.get(Et);let Kt=!0;qt&&(De!=te&&De>=qt.startTime&&te<=qt.endTime&&(x.errors.push(function M(le,E,x,O,te){return new n.\u0275RuntimeError(3010,!1)}()),Kt=!1),De=qt.startTime),Kt&&Mt.set(Et,{startTime:De,endTime:te}),x.options&&function It(le,E,x){const O=E.params||{},te=ut(le);te.length&&te.forEach(De=>{O.hasOwnProperty(De)||x.push(function p(le){return new n.\u0275RuntimeError(3001,!1)}())})}(ct,x.options,x.errors)})})}visitKeyframes(E,x){const O={type:5,styles:[],options:null};if(!x.currentAnimateTimings)return x.errors.push(function Y(){return new n.\u0275RuntimeError(3011,!1)}()),O;let De=0;const Je=[];let ct=!1,Et=!1,Mt=0;const qt=E.steps.map(di=>{const ri=this._makeStyleAst(di,x);let yi=null!=ri.offset?ri.offset:function Kn(le){if("string"==typeof le)return null;let E=null;if(Array.isArray(le))le.forEach(x=>{if(x instanceof Map&&x.has("offset")){const O=x;E=parseFloat(O.get("offset")),O.delete("offset")}});else if(le instanceof Map&&le.has("offset")){const x=le;E=parseFloat(x.get("offset")),x.delete("offset")}return E}(ri.styles),Ci=0;return null!=yi&&(De++,Ci=ri.offset=yi),Et=Et||Ci<0||Ci>1,ct=ct||Ci<Mt,Mt=Ci,Je.push(Ci),ri});Et&&x.errors.push(function $(){return new n.\u0275RuntimeError(3012,!1)}()),ct&&x.errors.push(function ne(){return new n.\u0275RuntimeError(3200,!1)}());const Kt=E.steps.length;let Tn=0;De>0&&De<Kt?x.errors.push(function z(){return new n.\u0275RuntimeError(3202,!1)}()):0==De&&(Tn=1/(Kt-1));const yn=Kt-1,ln=x.currentTime,pn=x.currentAnimateTimings,zn=pn.duration;return qt.forEach((di,ri)=>{const yi=Tn>0?ri==yn?1:Tn*ri:Je[ri],Ci=yi*zn;x.currentTime=ln+pn.delay+Ci,pn.duration=Ci,this._validateStyleAst(di,x),di.offset=yi,O.styles.push(di)}),O}visitReference(E,x){return{type:8,animation:rt(this,lt(E.animation),x),options:oe(E.options)}}visitAnimateChild(E,x){return x.depCount++,{type:9,options:oe(E.options)}}visitAnimateRef(E,x){return{type:10,animation:this.visitReference(E.animation,x),options:oe(E.options)}}visitQuery(E,x){const O=x.currentQuerySelector,te=E.options||{};x.queryCount++,x.currentQuery=E;const[De,Je]=function Hn(le){const E=!!le.split(/\s*,\s*/).find(x=>":self"==x);return E&&(le=le.replace(Gt,"")),le=le.replace(/@\*/g,Dt).replace(/@\w+/g,x=>Dt+"-"+x.slice(1)).replace(/:animating/g,se),[le,E]}(E.selector);x.currentQuerySelector=O.length?O+" "+De:De,xe(x.collectedStyles,x.currentQuerySelector,new Map);const ct=rt(this,lt(E.animation),x);return x.currentQuery=null,x.currentQuerySelector=O,{type:11,selector:De,limit:te.limit||0,optional:!!te.optional,includeSelf:Je,animation:ct,originalSelector:E.selector,options:oe(E.options)}}visitStagger(E,x){x.currentQuery||x.errors.push(function K(){return new n.\u0275RuntimeError(3013,!1)}());const O="full"===E.timings?{duration:0,delay:0,easing:"full"}:Lt(E.timings,x.errors,!0);return{type:12,animation:rt(this,lt(E.animation),x),timings:O,options:null}}}class Gn{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 oe(le){return le?(le=rn(le)).params&&(le.params=function On(le){return le?rn(le):null}(le.params)):le={},le}function ve(le,E,x){return{duration:le,delay:E,easing:x}}function Le(le,E,x,O,te,De,Je=null,ct=!1){return{type:1,element:le,keyframes:E,preStyleProps:x,postStyleProps:O,duration:te,delay:De,totalTime:te+De,easing:Je,subTimeline:ct}}class q{constructor(){this._map=new Map}get(E){return this._map.get(E)||[]}append(E,x){let O=this._map.get(E);O||this._map.set(E,O=[]),O.push(...x)}has(E){return this._map.has(E)}clear(){this._map.clear()}}const Ye=new RegExp(":enter","g"),Ie=new RegExp(":leave","g");function Rt(le,E,x,O,te,De=new Map,Je=new Map,ct,Et,Mt=[]){return(new jt).buildKeyframes(le,E,x,O,te,De,Je,ct,Et,Mt)}class jt{buildKeyframes(E,x,O,te,De,Je,ct,Et,Mt,qt=[]){Mt=Mt||new q;const Kt=new Mn(E,x,Mt,te,De,qt,[]);Kt.options=Et;const Tn=Et.delay?Qe(Et.delay):0;Kt.currentTimeline.delayNextStep(Tn),Kt.currentTimeline.setStyles([Je],null,Kt.errors,Et),rt(this,O,Kt);const yn=Kt.timelines.filter(ln=>ln.containsAnimation());if(yn.length&&ct.size){let ln;for(let pn=yn.length-1;pn>=0;pn--){const zn=yn[pn];if(zn.element===x){ln=zn;break}}ln&&!ln.allowOnlyTimelineStyles()&&ln.setStyles([ct],null,Kt.errors,Et)}return yn.length?yn.map(ln=>ln.buildKeyframes()):[Le(x,[],[],[],0,Tn,"",!1)]}visitTrigger(E,x){}visitState(E,x){}visitTransition(E,x){}visitAnimateChild(E,x){const O=x.subInstructions.get(x.element);if(O){const te=x.createSubContext(E.options),De=x.currentTimeline.currentTime,Je=this._visitSubInstructions(O,te,te.options);De!=Je&&x.transformIntoNewTimeline(Je)}x.previousNode=E}visitAnimateRef(E,x){const O=x.createSubContext(E.options);O.transformIntoNewTimeline(),this._applyAnimationRefDelays([E.options,E.animation.options],x,O),this.visitReference(E.animation,O),x.transformIntoNewTimeline(O.currentTimeline.currentTime),x.previousNode=E}_applyAnimationRefDelays(E,x,O){for(const te of E){const De=te?.delay;if(De){const Je="number"==typeof De?De:Qe(Xe(De,te?.params??{},x.errors));O.delayNextStep(Je)}}}_visitSubInstructions(E,x,O){let De=x.currentTimeline.currentTime;const Je=null!=O.duration?Qe(O.duration):null,ct=null!=O.delay?Qe(O.delay):null;return 0!==Je&&E.forEach(Et=>{const Mt=x.appendInstructionToTimeline(Et,Je,ct);De=Math.max(De,Mt.duration+Mt.delay)}),De}visitReference(E,x){x.updateOptions(E.options,!0),rt(this,E.animation,x),x.previousNode=E}visitSequence(E,x){const O=x.subContextCount;let te=x;const De=E.options;if(De&&(De.params||De.delay)&&(te=x.createSubContext(De),te.transformIntoNewTimeline(),null!=De.delay)){6==te.previousNode.type&&(te.currentTimeline.snapshotCurrentStyles(),te.previousNode=bn);const Je=Qe(De.delay);te.delayNextStep(Je)}E.steps.length&&(E.steps.forEach(Je=>rt(this,Je,te)),te.currentTimeline.applyStylesToKeyframe(),te.subContextCount>O&&te.transformIntoNewTimeline()),x.previousNode=E}visitGroup(E,x){const O=[];let te=x.currentTimeline.currentTime;const De=E.options&&E.options.delay?Qe(E.options.delay):0;E.steps.forEach(Je=>{const ct=x.createSubContext(E.options);De&&ct.delayNextStep(De),rt(this,Je,ct),te=Math.max(te,ct.currentTimeline.currentTime),O.push(ct.currentTimeline)}),O.forEach(Je=>x.currentTimeline.mergeTimelineCollectedStyles(Je)),x.transformIntoNewTimeline(te),x.previousNode=E}_visitTiming(E,x){if(E.dynamic){const O=E.strValue;return Lt(x.params?Xe(O,x.params,x.errors):O,x.errors)}return{duration:E.duration,delay:E.delay,easing:E.easing}}visitAnimate(E,x){const O=x.currentAnimateTimings=this._visitTiming(E.timings,x),te=x.currentTimeline;O.delay&&(x.incrementTime(O.delay),te.snapshotCurrentStyles());const De=E.style;5==De.type?this.visitKeyframes(De,x):(x.incrementTime(O.duration),this.visitStyle(De,x),te.applyStylesToKeyframe()),x.currentAnimateTimings=null,x.previousNode=E}visitStyle(E,x){const O=x.currentTimeline,te=x.currentAnimateTimings;!te&&O.hasCurrentStyleProperties()&&O.forwardFrame();const De=te&&te.easing||E.easing;E.isEmptyStep?O.applyEmptyStep(De):O.setStyles(E.styles,De,x.errors,x.options),x.previousNode=E}visitKeyframes(E,x){const O=x.currentAnimateTimings,te=x.currentTimeline.duration,De=O.duration,ct=x.createSubContext().currentTimeline;ct.easing=O.easing,E.styles.forEach(Et=>{ct.forwardTime((Et.offset||0)*De),ct.setStyles(Et.styles,Et.easing,x.errors,x.options),ct.applyStylesToKeyframe()}),x.currentTimeline.mergeTimelineCollectedStyles(ct),x.transformIntoNewTimeline(te+De),x.previousNode=E}visitQuery(E,x){const O=x.currentTimeline.currentTime,te=E.options||{},De=te.delay?Qe(te.delay):0;De&&(6===x.previousNode.type||0==O&&x.currentTimeline.hasCurrentStyleProperties())&&(x.currentTimeline.snapshotCurrentStyles(),x.previousNode=bn);let Je=O;const ct=x.invokeQuery(E.selector,E.originalSelector,E.limit,E.includeSelf,!!te.optional,x.errors);x.currentQueryTotal=ct.length;let Et=null;ct.forEach((Mt,qt)=>{x.currentQueryIndex=qt;const Kt=x.createSubContext(E.options,Mt);De&&Kt.delayNextStep(De),Mt===x.element&&(Et=Kt.currentTimeline),rt(this,E.animation,Kt),Kt.currentTimeline.applyStylesToKeyframe(),Je=Math.max(Je,Kt.currentTimeline.currentTime)}),x.currentQueryIndex=0,x.currentQueryTotal=0,x.transformIntoNewTimeline(Je),Et&&(x.currentTimeline.mergeTimelineCollectedStyles(Et),x.currentTimeline.snapshotCurrentStyles()),x.previousNode=E}visitStagger(E,x){const O=x.parentContext,te=x.currentTimeline,De=E.timings,Je=Math.abs(De.duration),ct=Je*(x.currentQueryTotal-1);let Et=Je*x.currentQueryIndex;switch(De.duration<0?"reverse":De.easing){case"reverse":Et=ct-Et;break;case"full":Et=O.currentStaggerTime}const qt=x.currentTimeline;Et&&qt.delayNextStep(Et);const Kt=qt.currentTime;rt(this,E.animation,x),x.previousNode=E,O.currentStaggerTime=te.currentTime-Kt+(te.startTime-O.currentTimeline.startTime)}}const bn={};class Mn{constructor(E,x,O,te,De,Je,ct,Et){this._driver=E,this.element=x,this.subInstructions=O,this._enterClassName=te,this._leaveClassName=De,this.errors=Je,this.timelines=ct,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=bn,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Et||new Yn(this._driver,x,0),ct.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(E,x){if(!E)return;const O=E;let te=this.options;null!=O.duration&&(te.duration=Qe(O.duration)),null!=O.delay&&(te.delay=Qe(O.delay));const De=O.params;if(De){let Je=te.params;Je||(Je=this.options.params={}),Object.keys(De).forEach(ct=>{(!x||!Je.hasOwnProperty(ct))&&(Je[ct]=Xe(De[ct],Je,this.errors))})}}_copyOptions(){const E={};if(this.options){const x=this.options.params;if(x){const O=E.params={};Object.keys(x).forEach(te=>{O[te]=x[te]})}}return E}createSubContext(E=null,x,O){const te=x||this.element,De=new Mn(this._driver,te,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(te,O||0));return De.previousNode=this.previousNode,De.currentAnimateTimings=this.currentAnimateTimings,De.options=this._copyOptions(),De.updateOptions(E),De.currentQueryIndex=this.currentQueryIndex,De.currentQueryTotal=this.currentQueryTotal,De.parentContext=this,this.subContextCount++,De}transformIntoNewTimeline(E){return this.previousNode=bn,this.currentTimeline=this.currentTimeline.fork(this.element,E),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(E,x,O){const te={duration:x??E.duration,delay:this.currentTimeline.currentTime+(O??0)+E.delay,easing:""},De=new Vn(this._driver,E.element,E.keyframes,E.preStyleProps,E.postStyleProps,te,E.stretchStartingKeyframe);return this.timelines.push(De),te}incrementTime(E){this.currentTimeline.forwardTime(this.currentTimeline.duration+E)}delayNextStep(E){E>0&&this.currentTimeline.delayNextStep(E)}invokeQuery(E,x,O,te,De,Je){let ct=[];if(te&&ct.push(this.element),E.length>0){E=(E=E.replace(Ye,"."+this._enterClassName)).replace(Ie,"."+this._leaveClassName);let Mt=this._driver.query(this.element,E,1!=O);0!==O&&(Mt=O<0?Mt.slice(Mt.length+O,Mt.length):Mt.slice(0,O)),ct.push(...Mt)}return!De&&0==ct.length&&Je.push(function de(le){return new n.\u0275RuntimeError(3014,!1)}()),ct}}class Yn{constructor(E,x,O,te){this._driver=E,this.element=x,this.startTime=O,this._elementTimelineStylesLookup=te,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(x),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(x,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 x=1===this._keyframes.size&&this._pendingStyles.size;this.duration||x?(this.forwardTime(this.currentTime+E),x&&this.snapshotCurrentStyles()):this.startTime+=E}fork(E,x){return this.applyStylesToKeyframe(),new Yn(this._driver,E,x||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,x){this._localTimelineStyles.set(E,x),this._globalTimelineStyles.set(E,x),this._styleSummary.set(E,{time:this.currentTime,value:x})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(E){E&&this._previousKeyframe.set("easing",E);for(let[x,O]of this._globalTimelineStyles)this._backFill.set(x,O||g.l3),this._currentKeyframe.set(x,g.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(E,x,O,te){x&&this._previousKeyframe.set("easing",x);const De=te&&te.params||{},Je=function oi(le,E){const x=new Map;let O;return le.forEach(te=>{if("*"===te){O=O||E.keys();for(let De of O)x.set(De,g.l3)}else it(te,x)}),x}(E,this._globalTimelineStyles);for(let[ct,Et]of Je){const Mt=Xe(Et,De,O);this._pendingStyles.set(ct,Mt),this._localTimelineStyles.has(ct)||this._backFill.set(ct,this._globalTimelineStyles.get(ct)??g.l3),this._updateStyle(ct,Mt)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((E,x)=>{this._currentKeyframe.set(x,E)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((E,x)=>{this._currentKeyframe.has(x)||this._currentKeyframe.set(x,E)}))}snapshotCurrentStyles(){for(let[E,x]of this._localTimelineStyles)this._pendingStyles.set(E,x),this._updateStyle(E,x)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const E=[];for(let x in this._currentKeyframe)E.push(x);return E}mergeTimelineCollectedStyles(E){E._styleSummary.forEach((x,O)=>{const te=this._styleSummary.get(O);(!te||x.time>te.time)&&this._updateStyle(O,x.value)})}buildKeyframes(){this.applyStylesToKeyframe();const E=new Set,x=new Set,O=1===this._keyframes.size&&0===this.duration;let te=[];this._keyframes.forEach((ct,Et)=>{const Mt=it(ct,new Map,this._backFill);Mt.forEach((qt,Kt)=>{qt===g.k1?E.add(Kt):qt===g.l3&&x.add(Kt)}),O||Mt.set("offset",Et/this.duration),te.push(Mt)});const De=E.size?_e(E.values()):[],Je=x.size?_e(x.values()):[];if(O){const ct=te[0],Et=new Map(ct);ct.set("offset",0),Et.set("offset",1),te=[ct,Et]}return Le(this.element,te,De,Je,this.duration,this.startTime,this.easing,!1)}}class Vn extends Yn{constructor(E,x,O,te,De,Je,ct=!1){super(E,x,Je.delay),this.keyframes=O,this.preStyleProps=te,this.postStyleProps=De,this._stretchStartingKeyframe=ct,this.timings={duration:Je.duration,delay:Je.delay,easing:Je.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let E=this.keyframes,{delay:x,duration:O,easing:te}=this.timings;if(this._stretchStartingKeyframe&&x){const De=[],Je=O+x,ct=x/Je,Et=it(E[0]);Et.set("offset",0),De.push(Et);const Mt=it(E[0]);Mt.set("offset",Mi(ct)),De.push(Mt);const qt=E.length-1;for(let Kt=1;Kt<=qt;Kt++){let Tn=it(E[Kt]);const yn=Tn.get("offset");Tn.set("offset",Mi((x+yn*O)/Je)),De.push(Tn)}O=Je,x=0,te="",E=De}return Le(this.element,E,this.preStyleProps,this.postStyleProps,O,x,te,!0)}}function Mi(le,E=3){const x=Math.pow(10,E-1);return Math.round(le*x)/x}class Ir{}const dr=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 Lr extends Ir{normalizePropertyName(E,x){return ce(E)}normalizeStyleValue(E,x,O,te){let De="";const Je=O.toString().trim();if(dr.has(x)&&0!==O&&"0"!==O)if("number"==typeof O)De="px";else{const ct=O.match(/^[+-]?[\d\.]+([a-z]*)$/);ct&&0==ct[1].length&&te.push(function y(le,E){return new n.\u0275RuntimeError(3005,!1)}())}return Je+De}}function er(le,E,x,O,te,De,Je,ct,Et,Mt,qt,Kt,Tn){return{type:0,element:le,triggerName:E,isRemovalTransition:te,fromState:x,fromStyles:De,toState:O,toStyles:Je,timelines:ct,queriedElements:Et,preStyleProps:Mt,postStyleProps:qt,totalTime:Kt,errors:Tn}}const ur={};class fr{constructor(E,x,O){this._triggerName=E,this.ast=x,this._stateStyles=O}match(E,x,O,te){return function Jn(le,E,x,O,te){return le.some(De=>De(E,x,O,te))}(this.ast.matchers,E,x,O,te)}buildStyles(E,x,O){let te=this._stateStyles.get("*");return void 0!==E&&(te=this._stateStyles.get(E?.toString())||te),te?te.buildStyles(x,O):new Map}build(E,x,O,te,De,Je,ct,Et,Mt,qt){const Kt=[],Tn=this.ast.options&&this.ast.options.params||ur,ln=this.buildStyles(O,ct&&ct.params||ur,Kt),pn=Et&&Et.params||ur,zn=this.buildStyles(te,pn,Kt),di=new Set,ri=new Map,yi=new Map,Ci="void"===te,Hr={params:qn(pn,Tn),delay:this.ast.options?.delay},or=qt?[]:Rt(E,x,this.ast.animation,De,Je,ln,zn,Hr,Mt,Kt);let wi=0;if(or.forEach(ki=>{wi=Math.max(ki.duration+ki.delay,wi)}),Kt.length)return er(x,this._triggerName,O,te,Ci,ln,zn,[],[],ri,yi,wi,Kt);or.forEach(ki=>{const sr=ki.element,No=xe(ri,sr,new Set);ki.preStyleProps.forEach(Dr=>No.add(Dr));const Ur=xe(yi,sr,new Set);ki.postStyleProps.forEach(Dr=>Ur.add(Dr)),sr!==x&&di.add(sr)});const Fi=_e(di.values());return er(x,this._triggerName,O,te,Ci,ln,zn,or,Fi,ri,yi,wi)}}function qn(le,E){const x=rn(E);for(const O in le)le.hasOwnProperty(O)&&null!=le[O]&&(x[O]=le[O]);return x}class tr{constructor(E,x,O){this.styles=E,this.defaultParams=x,this.normalizer=O}buildStyles(E,x){const O=new Map,te=rn(this.defaultParams);return Object.keys(E).forEach(De=>{const Je=E[De];null!==Je&&(te[De]=Je)}),this.styles.styles.forEach(De=>{"string"!=typeof De&&De.forEach((Je,ct)=>{Je&&(Je=Xe(Je,te,x));const Et=this.normalizer.normalizePropertyName(ct,x);Je=this.normalizer.normalizeStyleValue(ct,Et,Je,x),O.set(ct,Je)})}),O}}class Ar{constructor(E,x,O){this.name=E,this.ast=x,this._normalizer=O,this.transitionFactories=[],this.states=new Map,x.states.forEach(te=>{this.states.set(te.name,new tr(te.style,te.options&&te.options.params||{},O))}),hr(this.states,"true","1"),hr(this.states,"false","0"),x.transitions.forEach(te=>{this.transitionFactories.push(new fr(E,te,this.states))}),this.fallbackTransition=function nr(le,E,x){return new fr(le,{type:1,animation:{type:2,steps:[],options:null},matchers:[(Je,ct)=>!0],options:null,queryCount:0,depCount:0},E)}(E,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(E,x,O,te){return this.transitionFactories.find(Je=>Je.match(E,x,O,te))||null}matchStyles(E,x,O){return this.fallbackTransition.buildStyles(E,x,O)}}function hr(le,E,x){le.has(E)?le.has(x)||le.set(x,le.get(E)):le.has(x)&&le.set(E,le.get(x))}const mr=new q;class Or{constructor(E,x,O){this.bodyNode=E,this._driver=x,this._normalizer=O,this._animations=new Map,this._playersById=new Map,this.players=[]}register(E,x){const O=[],De=tn(this._driver,x,O,[]);if(O.length)throw function nt(le){return new n.\u0275RuntimeError(3503,!1)}();this._animations.set(E,De)}_buildPlayer(E,x,O){const te=E.element,De=Ee(this._normalizer,E.keyframes,x,O);return this._driver.animate(te,De,E.duration,E.delay,E.easing,[],!0)}create(E,x,O={}){const te=[],De=this._animations.get(E);let Je;const ct=new Map;if(De?(Je=Rt(this._driver,x,De,en,pt,new Map,new Map,O,mr,te),Je.forEach(qt=>{const Kt=xe(ct,qt.element,new Map);qt.postStyleProps.forEach(Tn=>Kt.set(Tn,null))})):(te.push(function Se(){return new n.\u0275RuntimeError(3300,!1)}()),Je=[]),te.length)throw function Ze(le){return new n.\u0275RuntimeError(3504,!1)}();ct.forEach((qt,Kt)=>{qt.forEach((Tn,yn)=>{qt.set(yn,this._driver.computeStyle(Kt,yn,g.l3))})});const Mt=ae(Je.map(qt=>{const Kt=ct.get(qt.element);return this._buildPlayer(qt,new Map,Kt)}));return this._playersById.set(E,Mt),Mt.onDestroy(()=>this.destroy(E)),this.players.push(Mt),Mt}destroy(E){const x=this._getPlayer(E);x.destroy(),this._playersById.delete(E);const O=this.players.indexOf(x);O>=0&&this.players.splice(O,1)}_getPlayer(E){const x=this._playersById.get(E);if(!x)throw function st(le){return new n.\u0275RuntimeError(3301,!1)}();return x}listen(E,x,O,te){const De=Be(x,"","","");return pe(this._getPlayer(E),O,De,te),()=>{}}command(E,x,O,te){if("register"==O)return void this.register(E,te[0]);if("create"==O)return void this.create(E,x,te[0]||{});const De=this._getPlayer(E);switch(O){case"play":De.play();break;case"pause":De.pause();break;case"reset":De.reset();break;case"restart":De.restart();break;case"finish":De.finish();break;case"init":De.init();break;case"setPosition":De.setPosition(parseFloat(te[0]));break;case"destroy":this.destroy(E)}}}const $n="ng-animate-queued",hn="ng-animate-disabled",si=[],Ui={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Un={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Xn="__ng_removed";class Li{get params(){return this.options.params}constructor(E,x=""){this.namespaceId=x;const O=E&&E.hasOwnProperty("value");if(this.value=function vi(le){return le??null}(O?E.value:E),O){const De=rn(E);delete De.value,this.options=De}else this.options={};this.options.params||(this.options.params={})}absorbOptions(E){const x=E.params;if(x){const O=this.options.params;Object.keys(x).forEach(te=>{null==O[te]&&(O[te]=x[te])})}}}const sn="void",ji=new Li(sn);class yr{constructor(E,x,O){this.id=E,this.hostElement=x,this._engine=O,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+E,ti(x,this._hostClassName)}listen(E,x,O,te){if(!this._triggers.has(x))throw function W(le,E){return new n.\u0275RuntimeError(3302,!1)}();if(null==O||0==O.length)throw function Ce(le){return new n.\u0275RuntimeError(3303,!1)}();if(!function fi(le){return"start"==le||"done"==le}(O))throw function ee(le,E){return new n.\u0275RuntimeError(3400,!1)}();const De=xe(this._elementListeners,E,[]),Je={name:x,phase:O,callback:te};De.push(Je);const ct=xe(this._engine.statesByElement,E,new Map);return ct.has(x)||(ti(E,vt),ti(E,vt+"-"+x),ct.set(x,ji)),()=>{this._engine.afterFlush(()=>{const Et=De.indexOf(Je);Et>=0&&De.splice(Et,1),this._triggers.has(x)||ct.delete(x)})}}register(E,x){return!this._triggers.has(E)&&(this._triggers.set(E,x),!0)}_getTrigger(E){const x=this._triggers.get(E);if(!x)throw function J(le){return new n.\u0275RuntimeError(3401,!1)}();return x}trigger(E,x,O,te=!0){const De=this._getTrigger(x),Je=new Rn(this.id,x,E);let ct=this._engine.statesByElement.get(E);ct||(ti(E,vt),ti(E,vt+"-"+x),this._engine.statesByElement.set(E,ct=new Map));let Et=ct.get(x);const Mt=new Li(O,this.id);if(!(O&&O.hasOwnProperty("value"))&&Et&&Mt.absorbOptions(Et.options),ct.set(x,Mt),Et||(Et=ji),Mt.value!==sn&&Et.value===Mt.value){if(!function wr(le,E){const x=Object.keys(le),O=Object.keys(E);if(x.length!=O.length)return!1;for(let te=0;te<x.length;te++){const De=x[te];if(!E.hasOwnProperty(De)||le[De]!==E[De])return!1}return!0}(Et.params,Mt.params)){const pn=[],zn=De.matchStyles(Et.value,Et.params,pn),di=De.matchStyles(Mt.value,Mt.params,pn);pn.length?this._engine.reportError(pn):this._engine.afterFlush(()=>{ze(E,zn),St(E,di)})}return}const Tn=xe(this._engine.playersByElement,E,[]);Tn.forEach(pn=>{pn.namespaceId==this.id&&pn.triggerName==x&&pn.queued&&pn.destroy()});let yn=De.matchTransition(Et.value,Mt.value,E,Mt.params),ln=!1;if(!yn){if(!te)return;yn=De.fallbackTransition,ln=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:E,triggerName:x,transition:yn,fromState:Et,toState:Mt,player:Je,isFallbackTransition:ln}),ln||(ti(E,$n),Je.onStart(()=>{Ri(E,$n)})),Je.onDone(()=>{let pn=this.players.indexOf(Je);pn>=0&&this.players.splice(pn,1);const zn=this._engine.playersByElement.get(E);if(zn){let di=zn.indexOf(Je);di>=0&&zn.splice(di,1)}}),this.players.push(Je),Tn.push(Je),Je}deregister(E){this._triggers.delete(E),this._engine.statesByElement.forEach(x=>x.delete(E)),this._elementListeners.forEach((x,O)=>{this._elementListeners.set(O,x.filter(te=>te.name!=E))})}clearElementCache(E){this._engine.statesByElement.delete(E),this._elementListeners.delete(E);const x=this._engine.playersByElement.get(E);x&&(x.forEach(O=>O.destroy()),this._engine.playersByElement.delete(E))}_signalRemovalForInnerTriggers(E,x){const O=this._engine.driver.query(E,Dt,!0);O.forEach(te=>{if(te[Xn])return;const De=this._engine.fetchNamespacesByElement(te);De.size?De.forEach(Je=>Je.triggerLeaveAnimation(te,x,!1,!0)):this.clearElementCache(te)}),this._engine.afterFlushAnimationsDone(()=>O.forEach(te=>this.clearElementCache(te)))}triggerLeaveAnimation(E,x,O,te){const De=this._engine.statesByElement.get(E),Je=new Map;if(De){const ct=[];if(De.forEach((Et,Mt)=>{if(Je.set(Mt,Et.value),this._triggers.has(Mt)){const qt=this.trigger(E,Mt,sn,te);qt&&ct.push(qt)}}),ct.length)return this._engine.markElementAsRemoved(this.id,E,!0,x,Je),O&&ae(ct).onDone(()=>this._engine.processLeaveNode(E)),!0}return!1}prepareLeaveAnimationListeners(E){const x=this._elementListeners.get(E),O=this._engine.statesByElement.get(E);if(x&&O){const te=new Set;x.forEach(De=>{const Je=De.name;if(te.has(Je))return;te.add(Je);const Et=this._triggers.get(Je).fallbackTransition,Mt=O.get(Je)||ji,qt=new Li(sn),Kt=new Rn(this.id,Je,E);this._engine.totalQueuedPlayers++,this._queue.push({element:E,triggerName:Je,transition:Et,fromState:Mt,toState:qt,player:Kt,isFallbackTransition:!0})})}}removeNode(E,x){const O=this._engine;if(E.childElementCount&&this._signalRemovalForInnerTriggers(E,x),this.triggerLeaveAnimation(E,x,!0))return;let te=!1;if(O.totalAnimations){const De=O.players.length?O.playersByQueriedElement.get(E):[];if(De&&De.length)te=!0;else{let Je=E;for(;Je=Je.parentNode;)if(O.statesByElement.get(Je)){te=!0;break}}}if(this.prepareLeaveAnimationListeners(E),te)O.markElementAsRemoved(this.id,E,!1,x);else{const De=E[Xn];(!De||De===Ui)&&(O.afterFlush(()=>this.clearElementCache(E)),O.destroyInnerAnimations(E),O._onRemovalComplete(E,x))}}insertNode(E,x){ti(E,this._hostClassName)}drainQueuedTransitions(E){const x=[];return this._queue.forEach(O=>{const te=O.player;if(te.destroyed)return;const De=O.element,Je=this._elementListeners.get(De);Je&&Je.forEach(ct=>{if(ct.name==O.triggerName){const Et=Be(De,O.triggerName,O.fromState.value,O.toState.value);Et._data=E,pe(O.player,ct.phase,Et,ct.callback)}}),te.markedForDestroy?this._engine.afterFlush(()=>{te.destroy()}):x.push(O)}),this._queue=[],x.sort((O,te)=>{const De=O.transition.ast.depCount,Je=te.transition.ast.depCount;return 0==De||0==Je?De-Je:this._engine.driver.containsElement(O.element,te.element)?1:-1})}destroy(E){this.players.forEach(x=>x.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,E)}}class zi{_onRemovalComplete(E,x){this.onRemovalComplete(E,x)}constructor(E,x,O){this.bodyNode=E,this.driver=x,this._normalizer=O,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=(te,De)=>{}}get queuedPlayers(){const E=[];return this._namespaceList.forEach(x=>{x.players.forEach(O=>{O.queued&&E.push(O)})}),E}createNamespace(E,x){const O=new yr(E,x,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,x)?this._balanceNamespaceList(O,x):(this.newHostElements.set(x,O),this.collectEnterElement(x)),this._namespaceLookup[E]=O}_balanceNamespaceList(E,x){const O=this._namespaceList,te=this.namespacesByHostElement;if(O.length-1>=0){let Je=!1,ct=this.driver.getParentElement(x);for(;ct;){const Et=te.get(ct);if(Et){const Mt=O.indexOf(Et);O.splice(Mt+1,0,E),Je=!0;break}ct=this.driver.getParentElement(ct)}Je||O.unshift(E)}else O.push(E);return te.set(x,E),E}register(E,x){let O=this._namespaceLookup[E];return O||(O=this.createNamespace(E,x)),O}registerTrigger(E,x,O){let te=this._namespaceLookup[E];te&&te.register(x,O)&&this.totalAnimations++}destroy(E,x){E&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const O=this._fetchNamespace(E);this.namespacesByHostElement.delete(O.hostElement);const te=this._namespaceList.indexOf(O);te>=0&&this._namespaceList.splice(te,1),O.destroy(x),delete this._namespaceLookup[E]}))}_fetchNamespace(E){return this._namespaceLookup[E]}fetchNamespacesByElement(E){const x=new Set,O=this.statesByElement.get(E);if(O)for(let te of O.values())if(te.namespaceId){const De=this._fetchNamespace(te.namespaceId);De&&x.add(De)}return x}trigger(E,x,O,te){if(ei(x)){const De=this._fetchNamespace(E);if(De)return De.trigger(x,O,te),!0}return!1}insertNode(E,x,O,te){if(!ei(x))return;const De=x[Xn];if(De&&De.setForRemoval){De.setForRemoval=!1,De.setForMove=!0;const Je=this.collectedLeaveElements.indexOf(x);Je>=0&&this.collectedLeaveElements.splice(Je,1)}if(E){const Je=this._fetchNamespace(E);Je&&Je.insertNode(x,O)}te&&this.collectEnterElement(x)}collectEnterElement(E){this.collectedEnterElements.push(E)}markElementAsDisabled(E,x){x?this.disabledNodes.has(E)||(this.disabledNodes.add(E),ti(E,hn)):this.disabledNodes.has(E)&&(this.disabledNodes.delete(E),Ri(E,hn))}removeNode(E,x,O){if(ei(x)){const te=E?this._fetchNamespace(E):null;te?te.removeNode(x,O):this.markElementAsRemoved(E,x,!1,O);const De=this.namespacesByHostElement.get(x);De&&De.id!==E&&De.removeNode(x,O)}else this._onRemovalComplete(x,O)}markElementAsRemoved(E,x,O,te,De){this.collectedLeaveElements.push(x),x[Xn]={namespaceId:E,setForRemoval:te,hasAnimation:O,removedBeforeQueried:!1,previousTriggersValues:De}}listen(E,x,O,te,De){return ei(x)?this._fetchNamespace(E).listen(x,O,te,De):()=>{}}_buildInstruction(E,x,O,te,De){return E.transition.build(this.driver,E.element,E.fromState.value,E.toState.value,O,te,E.fromState.options,E.toState.options,x,De)}destroyInnerAnimations(E){let x=this.driver.query(E,Dt,!0);x.forEach(O=>this.destroyActiveAnimationsForElement(O)),0!=this.playersByQueriedElement.size&&(x=this.driver.query(E,se,!0),x.forEach(O=>this.finishActiveQueriedAnimationOnElement(O)))}destroyActiveAnimationsForElement(E){const x=this.playersByElement.get(E);x&&x.forEach(O=>{O.queued?O.markedForDestroy=!0:O.destroy()})}finishActiveQueriedAnimationOnElement(E){const x=this.playersByQueriedElement.get(E);x&&x.forEach(O=>O.finish())}whenRenderingDone(){return new Promise(E=>{if(this.players.length)return ae(this.players).onDone(()=>E());E()})}processLeaveNode(E){const x=E[Xn];if(x&&x.setForRemoval){if(E[Xn]=Ui,x.namespaceId){this.destroyInnerAnimations(E);const O=this._fetchNamespace(x.namespaceId);O&&O.clearElementCache(E)}this._onRemovalComplete(E,x.setForRemoval)}E.classList?.contains(hn)&&this.markElementAsDisabled(E,!1),this.driver.query(E,".ng-animate-disabled",!0).forEach(O=>{this.markElementAsDisabled(O,!1)})}flush(E=-1){let x=[];if(this.newHostElements.size&&(this.newHostElements.forEach((O,te)=>this._balanceNamespaceList(O,te)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let O=0;O<this.collectedEnterElements.length;O++)ti(this.collectedEnterElements[O],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const O=[];try{x=this._flushAnimations(O,E)}finally{for(let te=0;te<O.length;te++)O[te]()}}else for(let O=0;O<this.collectedLeaveElements.length;O++)this.processLeaveNode(this.collectedLeaveElements[O]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(O=>O()),this._flushFns=[],this._whenQuietFns.length){const O=this._whenQuietFns;this._whenQuietFns=[],x.length?ae(x).onDone(()=>{O.forEach(te=>te())}):O.forEach(te=>te())}}reportError(E){throw function j(le){return new n.\u0275RuntimeError(3402,!1)}()}_flushAnimations(E,x){const O=new q,te=[],De=new Map,Je=[],ct=new Map,Et=new Map,Mt=new Map,qt=new Set;this.disabledNodes.forEach(nn=>{qt.add(nn);const dn=this.driver.query(nn,".ng-animate-queued",!0);for(let mn=0;mn<dn.length;mn++)qt.add(dn[mn])});const Kt=this.bodyNode,Tn=Array.from(this.statesByElement.keys()),yn=ai(Tn,this.collectedEnterElements),ln=new Map;let pn=0;yn.forEach((nn,dn)=>{const mn=en+pn++;ln.set(dn,mn),nn.forEach(Fn=>ti(Fn,mn))});const zn=[],di=new Set,ri=new Set;for(let nn=0;nn<this.collectedLeaveElements.length;nn++){const dn=this.collectedLeaveElements[nn],mn=dn[Xn];mn&&mn.setForRemoval&&(zn.push(dn),di.add(dn),mn.hasAnimation?this.driver.query(dn,".ng-star-inserted",!0).forEach(Fn=>di.add(Fn)):ri.add(dn))}const yi=new Map,Ci=ai(Tn,Array.from(di));Ci.forEach((nn,dn)=>{const mn=pt+pn++;yi.set(dn,mn),nn.forEach(Fn=>ti(Fn,mn))}),E.push(()=>{yn.forEach((nn,dn)=>{const mn=ln.get(dn);nn.forEach(Fn=>Ri(Fn,mn))}),Ci.forEach((nn,dn)=>{const mn=yi.get(dn);nn.forEach(Fn=>Ri(Fn,mn))}),zn.forEach(nn=>{this.processLeaveNode(nn)})});const Hr=[],or=[];for(let nn=this._namespaceList.length-1;nn>=0;nn--)this._namespaceList[nn].drainQueuedTransitions(x).forEach(mn=>{const Fn=mn.player,mi=mn.element;if(Hr.push(Fn),this.collectedEnterElements.length){const I=mi[Xn];if(I&&I.setForMove){if(I.previousTriggersValues&&I.previousTriggersValues.has(mn.triggerName)){const me=I.previousTriggersValues.get(mn.triggerName),He=this.statesByElement.get(mn.element);if(He&&He.has(mn.triggerName)){const At=He.get(mn.triggerName);At.value=me,He.set(mn.triggerName,At)}}return void Fn.destroy()}}const gr=!Kt||!this.driver.containsElement(Kt,mi),Ti=yi.get(mi),Tr=ln.get(mi),T=this._buildInstruction(mn,O,Tr,Ti,gr);if(T.errors&&T.errors.length)return void or.push(T);if(gr)return Fn.onStart(()=>ze(mi,T.fromStyles)),Fn.onDestroy(()=>St(mi,T.toStyles)),void te.push(Fn);if(mn.isFallbackTransition)return Fn.onStart(()=>ze(mi,T.fromStyles)),Fn.onDestroy(()=>St(mi,T.toStyles)),void te.push(Fn);const F=[];T.timelines.forEach(I=>{I.stretchStartingKeyframe=!0,this.disabledNodes.has(I.element)||F.push(I)}),T.timelines=F,O.append(mi,T.timelines),Je.push({instruction:T,player:Fn,element:mi}),T.queriedElements.forEach(I=>xe(ct,I,[]).push(Fn)),T.preStyleProps.forEach((I,me)=>{if(I.size){let He=Et.get(me);He||Et.set(me,He=new Set),I.forEach((At,Ht)=>He.add(Ht))}}),T.postStyleProps.forEach((I,me)=>{let He=Mt.get(me);He||Mt.set(me,He=new Set),I.forEach((At,Ht)=>He.add(Ht))})});if(or.length){const nn=[];or.forEach(dn=>{nn.push(function Oe(le,E){return new n.\u0275RuntimeError(3505,!1)}())}),Hr.forEach(dn=>dn.destroy()),this.reportError(nn)}const wi=new Map,Fi=new Map;Je.forEach(nn=>{const dn=nn.element;O.has(dn)&&(Fi.set(dn,dn),this._beforeAnimationBuild(nn.player.namespaceId,nn.instruction,wi))}),te.forEach(nn=>{const dn=nn.element;this._getPreviousPlayers(dn,!1,nn.namespaceId,nn.triggerName,null).forEach(Fn=>{xe(wi,dn,[]).push(Fn),Fn.destroy()})});const ki=zn.filter(nn=>bi(nn,Et,Mt)),sr=new Map;Wi(sr,this.driver,ri,Mt,g.l3).forEach(nn=>{bi(nn,Et,Mt)&&ki.push(nn)});const Ur=new Map;yn.forEach((nn,dn)=>{Wi(Ur,this.driver,new Set(nn),Et,g.k1)}),ki.forEach(nn=>{const dn=sr.get(nn),mn=Ur.get(nn);sr.set(nn,new Map([...dn?.entries()??[],...mn?.entries()??[]]))});const Dr=[],fo=[],Ss={};Je.forEach(nn=>{const{element:dn,player:mn,instruction:Fn}=nn;if(O.has(dn)){if(qt.has(dn))return mn.onDestroy(()=>St(dn,Fn.toStyles)),mn.disabled=!0,mn.overrideTotalTime(Fn.totalTime),void te.push(mn);let mi=Ss;if(Fi.size>1){let Ti=dn;const Tr=[];for(;Ti=Ti.parentNode;){const T=Fi.get(Ti);if(T){mi=T;break}Tr.push(Ti)}Tr.forEach(T=>Fi.set(T,mi))}const gr=this._buildAnimation(mn.namespaceId,Fn,wi,De,Ur,sr);if(mn.setRealPlayer(gr),mi===Ss)Dr.push(mn);else{const Ti=this.playersByElement.get(mi);Ti&&Ti.length&&(mn.parentPlayer=ae(Ti)),te.push(mn)}}else ze(dn,Fn.fromStyles),mn.onDestroy(()=>St(dn,Fn.toStyles)),fo.push(mn),qt.has(dn)&&te.push(mn)}),fo.forEach(nn=>{const dn=De.get(nn.element);if(dn&&dn.length){const mn=ae(dn);nn.setRealPlayer(mn)}}),te.forEach(nn=>{nn.parentPlayer?nn.syncPlayerEvents(nn.parentPlayer):nn.destroy()});for(let nn=0;nn<zn.length;nn++){const dn=zn[nn],mn=dn[Xn];if(Ri(dn,pt),mn&&mn.hasAnimation)continue;let Fn=[];if(ct.size){let gr=ct.get(dn);gr&&gr.length&&Fn.push(...gr);let Ti=this.driver.query(dn,se,!0);for(let Tr=0;Tr<Ti.length;Tr++){let T=ct.get(Ti[Tr]);T&&T.length&&Fn.push(...T)}}const mi=Fn.filter(gr=>!gr.destroyed);mi.length?Dn(this,dn,mi):this.processLeaveNode(dn)}return zn.length=0,Dr.forEach(nn=>{this.players.push(nn),nn.onDone(()=>{nn.destroy();const dn=this.players.indexOf(nn);this.players.splice(dn,1)}),nn.play()}),Dr}afterFlush(E){this._flushFns.push(E)}afterFlushAnimationsDone(E){this._whenQuietFns.push(E)}_getPreviousPlayers(E,x,O,te,De){let Je=[];if(x){const ct=this.playersByQueriedElement.get(E);ct&&(Je=ct)}else{const ct=this.playersByElement.get(E);if(ct){const Et=!De||De==sn;ct.forEach(Mt=>{Mt.queued||!Et&&Mt.triggerName!=te||Je.push(Mt)})}}return(O||te)&&(Je=Je.filter(ct=>!(O&&O!=ct.namespaceId||te&&te!=ct.triggerName))),Je}_beforeAnimationBuild(E,x,O){const De=x.element,Je=x.isRemovalTransition?void 0:E,ct=x.isRemovalTransition?void 0:x.triggerName;for(const Et of x.timelines){const Mt=Et.element,qt=Mt!==De,Kt=xe(O,Mt,[]);this._getPreviousPlayers(Mt,qt,Je,ct,x.toState).forEach(yn=>{const ln=yn.getRealPlayer();ln.beforeDestroy&&ln.beforeDestroy(),yn.destroy(),Kt.push(yn)})}ze(De,x.fromStyles)}_buildAnimation(E,x,O,te,De,Je){const ct=x.triggerName,Et=x.element,Mt=[],qt=new Set,Kt=new Set,Tn=x.timelines.map(ln=>{const pn=ln.element;qt.add(pn);const zn=pn[Xn];if(zn&&zn.removedBeforeQueried)return new g.ZN(ln.duration,ln.delay);const di=pn!==Et,ri=function ko(le){const E=[];return Cr(le,E),E}((O.get(pn)||si).map(wi=>wi.getRealPlayer())).filter(wi=>!!wi.element&&wi.element===pn),yi=De.get(pn),Ci=Je.get(pn),Hr=Ee(this._normalizer,ln.keyframes,yi,Ci),or=this._buildPlayer(ln,Hr,ri);if(ln.subTimeline&&te&&Kt.add(pn),di){const wi=new Rn(E,ct,pn);wi.setRealPlayer(or),Mt.push(wi)}return or});Mt.forEach(ln=>{xe(this.playersByQueriedElement,ln.element,[]).push(ln),ln.onDone(()=>function pr(le,E,x){let O=le.get(E);if(O){if(O.length){const te=O.indexOf(x);O.splice(te,1)}0==O.length&&le.delete(E)}return O}(this.playersByQueriedElement,ln.element,ln))}),qt.forEach(ln=>ti(ln,Ve));const yn=ae(Tn);return yn.onDestroy(()=>{qt.forEach(ln=>Ri(ln,Ve)),St(Et,x.toStyles)}),Kt.forEach(ln=>{xe(te,ln,[]).push(yn)}),yn}_buildPlayer(E,x,O){return x.length>0?this.driver.animate(E.element,x,E.duration,E.delay,E.easing,O):new g.ZN(E.duration,E.delay)}}class Rn{constructor(E,x,O){this.namespaceId=E,this.triggerName=x,this.element=O,this._player=new g.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(E){this._containsRealPlayer||(this._player=E,this._queuedCallbacks.forEach((x,O)=>{x.forEach(te=>pe(E,O,void 0,te))}),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 x=this._player;x.triggerCallback&&E.onStart(()=>x.triggerCallback("start")),E.onDone(()=>this.finish()),E.onDestroy(()=>this.destroy())}_queueEvent(E,x){xe(this._queuedCallbacks,E,[]).push(x)}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 x=this._player;x.triggerCallback&&x.triggerCallback(E)}}function ei(le){return le&&1===le.nodeType}function Pi(le,E){const x=le.style.display;return le.style.display=E??"none",x}function Wi(le,E,x,O,te){const De=[];x.forEach(Et=>De.push(Pi(Et)));const Je=[];O.forEach((Et,Mt)=>{const qt=new Map;Et.forEach(Kt=>{const Tn=E.computeStyle(Mt,Kt,te);qt.set(Kt,Tn),(!Tn||0==Tn.length)&&(Mt[Xn]=Un,Je.push(Mt))}),le.set(Mt,qt)});let ct=0;return x.forEach(Et=>Pi(Et,De[ct++])),Je}function ai(le,E){const x=new Map;if(le.forEach(ct=>x.set(ct,[])),0==E.length)return x;const te=new Set(E),De=new Map;function Je(ct){if(!ct)return 1;let Et=De.get(ct);if(Et)return Et;const Mt=ct.parentNode;return Et=x.has(Mt)?Mt:te.has(Mt)?1:Je(Mt),De.set(ct,Et),Et}return E.forEach(ct=>{const Et=Je(ct);1!==Et&&x.get(Et).push(ct)}),x}function ti(le,E){le.classList?.add(E)}function Ri(le,E){le.classList?.remove(E)}function Dn(le,E,x){ae(x).onDone(()=>le.processLeaveNode(E))}function Cr(le,E){for(let x=0;x<le.length;x++){const O=le[x];O instanceof g.ZE?Cr(O.players,E):E.push(O)}}function bi(le,E,x){const O=x.get(le);if(!O)return!1;let te=E.get(le);return te?O.forEach(De=>te.add(De)):E.set(le,O),x.delete(le),!0}class Bi{constructor(E,x,O){this.bodyNode=E,this._driver=x,this._normalizer=O,this._triggerCache={},this.onRemovalComplete=(te,De)=>{},this._transitionEngine=new zi(E,x,O),this._timelineEngine=new Or(E,x,O),this._transitionEngine.onRemovalComplete=(te,De)=>this.onRemovalComplete(te,De)}registerTrigger(E,x,O,te,De){const Je=E+"-"+te;let ct=this._triggerCache[Je];if(!ct){const Et=[],qt=tn(this._driver,De,Et,[]);if(Et.length)throw function we(le,E){return new n.\u0275RuntimeError(3404,!1)}();ct=function ii(le,E,x){return new Ar(le,E,x)}(te,qt,this._normalizer),this._triggerCache[Je]=ct}this._transitionEngine.registerTrigger(x,te,ct)}register(E,x){this._transitionEngine.register(E,x)}destroy(E,x){this._transitionEngine.destroy(E,x)}onInsert(E,x,O,te){this._transitionEngine.insertNode(E,x,O,te)}onRemove(E,x,O){this._transitionEngine.removeNode(E,x,O)}disableAnimations(E,x){this._transitionEngine.markElementAsDisabled(E,x)}process(E,x,O,te){if("@"==O.charAt(0)){const[De,Je]=at(O);this._timelineEngine.command(De,x,Je,te)}else this._transitionEngine.trigger(E,x,O,te)}listen(E,x,O,te,De){if("@"==O.charAt(0)){const[Je,ct]=at(O);return this._timelineEngine.listen(Je,x,ct,De)}return this._transitionEngine.listen(E,x,O,te,De)}flush(E=-1){this._transitionEngine.flush(E)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(E){this._transitionEngine.afterFlushAnimationsDone(E)}}let jr=(()=>{class E{constructor(O,te,De){this._element=O,this._startStyles=te,this._endStyles=De,this._state=0;let Je=E.initialStylesByElement.get(O);Je||E.initialStylesByElement.set(O,Je=new Map),this._initialStyles=Je}start(){this._state<1&&(this._startStyles&&St(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(St(this._element,this._initialStyles),this._endStyles&&(St(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(E.initialStylesByElement.delete(this._element),this._startStyles&&(ze(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ze(this._element,this._endStyles),this._endStyles=null),St(this._element,this._initialStyles),this._state=3)}}return E.initialStylesByElement=new WeakMap,E})();function ci(le){let E=null;return le.forEach((x,O)=>{(function Ts(le){return"display"===le||"position"===le})(O)&&(E=E||new Map,E.set(O,x))}),E}class hi{constructor(E,x,O,te){this.element=E,this.keyframes=x,this.options=O,this._specialStyles=te,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=O.duration,this._delay=O.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 x=[];return E.forEach(O=>{x.push(Object.fromEntries(O))}),x}_triggerWebAnimation(E,x,O){return E.animate(this._convertKeyframesToObject(x),O)}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??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const E=new Map;this.hasStarted()&&this._finalKeyframe.forEach((O,te)=>{"offset"!==te&&E.set(te,this._finished?O:Tt(this.element,te))}),this.currentSnapshot=E}triggerCallback(E){const x="start"===E?this._onStartFns:this._onDoneFns;x.forEach(O=>O()),x.length=0}}class li{validateStyleProperty(E){return!0}validateAnimatableStyleProperty(E){return!0}matchesElement(E,x){return!1}containsElement(E,x){return $e(E,x)}getParentElement(E){return Me(E)}query(E,x,O){return Ne(E,x,O)}computeStyle(E,x,O){return window.getComputedStyle(E)[x]}animate(E,x,O,te,De,Je=[]){const Et={duration:O,delay:te,fill:0==te?"both":"forwards"};De&&(Et.easing=De);const Mt=new Map,qt=Je.filter(yn=>yn instanceof hi);(function We(le,E){return 0===le||0===E})(O,te)&&qt.forEach(yn=>{yn.currentSnapshot.forEach((ln,pn)=>Mt.set(pn,ln))});let Kt=function vn(le){return le.length?le[0]instanceof Map?le:le.map(E=>fn(E)):[]}(x).map(yn=>it(yn));Kt=function Pe(le,E,x){if(x.size&&E.length){let O=E[0],te=[];if(x.forEach((De,Je)=>{O.has(Je)||te.push(Je),O.set(Je,De)}),te.length)for(let De=1;De<E.length;De++){let Je=E[De];te.forEach(ct=>Je.set(ct,Tt(le,ct)))}}return E}(E,Kt,Mt);const Tn=function ir(le,E){let x=null,O=null;return Array.isArray(E)&&E.length?(x=ci(E[0]),E.length>1&&(O=ci(E[E.length-1]))):E instanceof Map&&(x=ci(E)),x||O?new jr(le,x,O):null}(E,Kt);return new hi(E,Kt,Et,Tn)}}var Br=c(6814);let rr=(()=>{var le;class E extends g._j{constructor(O,te){super(),this._nextAnimationId=0,this._renderer=O.createRenderer(te.body,{id:"0",encapsulation:n.ViewEncapsulation.None,styles:[],data:{animation:[]}})}build(O){const te=this._nextAnimationId.toString();this._nextAnimationId++;const De=Array.isArray(O)?(0,g.vP)(O):O;return Vr(this._renderer,null,te,"register",[De]),new Er(te,this._renderer)}}return(le=E).\u0275fac=function(O){return new(O||le)(n.\u0275\u0275inject(n.RendererFactory2),n.\u0275\u0275inject(Br.DOCUMENT))},le.\u0275prov=n.\u0275\u0275defineInjectable({token:le,factory:le.\u0275fac}),E})();class Er extends g.LC{constructor(E,x){super(),this._id=E,this._renderer=x}create(E,x){return new Di(this._id,E,x||{},this._renderer)}}class Di{constructor(E,x,O,te){this.id=E,this.element=x,this._renderer=te,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",O)}_listen(E,x){return this._renderer.listen(this.element,`@@${this.id}:${E}`,x)}_command(E,...x){return Vr(this._renderer,this.element,this.id,E,x)}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(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Vr(le,E,x,O,te){return le.setProperty(E,`@@${x}:${O}`,te)}const lo="@.disabled";let yo=(()=>{var le;class E{constructor(O,te,De){this.delegate=O,this.engine=te,this._zone=De,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,te.onRemovalComplete=(Je,ct)=>{const Et=ct?.parentNode(Je);Et&&ct.removeChild(Et,Je)}}createRenderer(O,te){const Je=this.delegate.createRenderer(O,te);if(!(O&&te&&te.data&&te.data.animation)){let Kt=this._rendererCache.get(Je);return Kt||(Kt=new uo("",Je,this.engine,()=>this._rendererCache.delete(Je)),this._rendererCache.set(Je,Kt)),Kt}const ct=te.id,Et=te.id+"-"+this._currentId;this._currentId++,this.engine.register(Et,O);const Mt=Kt=>{Array.isArray(Kt)?Kt.forEach(Mt):this.engine.registerTrigger(ct,Et,O,Kt.name,Kt)};return te.data.animation.forEach(Mt),new k(this,Et,Je,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(O,te,De){O>=0&&O<this._microtaskId?this._zone.run(()=>te(De)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(Je=>{const[ct,Et]=Je;ct(Et)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([te,De]))}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(le=E).\u0275fac=function(O){return new(O||le)(n.\u0275\u0275inject(n.RendererFactory2),n.\u0275\u0275inject(Bi),n.\u0275\u0275inject(n.NgZone))},le.\u0275prov=n.\u0275\u0275defineInjectable({token:le,factory:le.\u0275fac}),E})();class uo{constructor(E,x,O,te){this.namespaceId=E,this.delegate=x,this.engine=O,this._onDestroy=te}get data(){return this.delegate.data}destroyNode(E){this.delegate.destroyNode?.(E)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(E,x){return this.delegate.createElement(E,x)}createComment(E){return this.delegate.createComment(E)}createText(E){return this.delegate.createText(E)}appendChild(E,x){this.delegate.appendChild(E,x),this.engine.onInsert(this.namespaceId,x,E,!1)}insertBefore(E,x,O,te=!0){this.delegate.insertBefore(E,x,O),this.engine.onInsert(this.namespaceId,x,E,te)}removeChild(E,x,O){this.engine.onRemove(this.namespaceId,x,this.delegate)}selectRootElement(E,x){return this.delegate.selectRootElement(E,x)}parentNode(E){return this.delegate.parentNode(E)}nextSibling(E){return this.delegate.nextSibling(E)}setAttribute(E,x,O,te){this.delegate.setAttribute(E,x,O,te)}removeAttribute(E,x,O){this.delegate.removeAttribute(E,x,O)}addClass(E,x){this.delegate.addClass(E,x)}removeClass(E,x){this.delegate.removeClass(E,x)}setStyle(E,x,O,te){this.delegate.setStyle(E,x,O,te)}removeStyle(E,x,O){this.delegate.removeStyle(E,x,O)}setProperty(E,x,O){"@"==x.charAt(0)&&x==lo?this.disableAnimations(E,!!O):this.delegate.setProperty(E,x,O)}setValue(E,x){this.delegate.setValue(E,x)}listen(E,x,O){return this.delegate.listen(E,x,O)}disableAnimations(E,x){this.engine.disableAnimations(E,x)}}class k extends uo{constructor(E,x,O,te,De){super(x,O,te,De),this.factory=E,this.namespaceId=x}setProperty(E,x,O){"@"==x.charAt(0)?"."==x.charAt(1)&&x==lo?this.disableAnimations(E,O=void 0===O||!!O):this.engine.process(this.namespaceId,E,x.slice(1),O):this.delegate.setProperty(E,x,O)}listen(E,x,O){if("@"==x.charAt(0)){const te=function P(le){switch(le){case"body":return document.body;case"document":return document;case"window":return window;default:return le}}(E);let De=x.slice(1),Je="";return"@"!=De.charAt(0)&&([De,Je]=function be(le){const E=le.indexOf(".");return[le.substring(0,E),le.slice(E+1)]}(De)),this.engine.listen(this.namespaceId,te,De,Je,ct=>{this.factory.scheduleListenerCallback(ct._data||-1,O,ct)})}return this.delegate.listen(E,x,O)}}let N=(()=>{var le;class E extends Bi{constructor(O,te,De,Je){super(O.body,te,De)}ngOnDestroy(){this.flush()}}return(le=E).\u0275fac=function(O){return new(O||le)(n.\u0275\u0275inject(Br.DOCUMENT),n.\u0275\u0275inject(xt),n.\u0275\u0275inject(Ir),n.\u0275\u0275inject(n.ApplicationRef))},le.\u0275prov=n.\u0275\u0275defineInjectable({token:le,factory:le.\u0275fac}),E})();const cn=[{provide:g._j,useClass:rr},{provide:Ir,useFactory:function Te(){return new Lr}},{provide:Bi,useClass:N},{provide:n.RendererFactory2,useFactory:function Vt(le,E,x){return new yo(le,E,x)},deps:[a.\u0275DomRendererFactory2,Bi,n.NgZone]}],gi=[{provide:xt,useFactory:()=>new li},{provide:n.ANIMATION_MODULE_TYPE,useValue:"BrowserAnimations"},...cn],Vi=[{provide:xt,useClass:dt},{provide:n.ANIMATION_MODULE_TYPE,useValue:"NoopAnimations"},...cn];let Xr=(()=>{var le;class E{static withConfig(O){return{ngModule:E,providers:O.disableAnimations?Vi:gi}}}return(le=E).\u0275fac=function(O){return new(O||le)},le.\u0275mod=n.\u0275\u0275defineNgModule({type:le}),le.\u0275inj=n.\u0275\u0275defineInjector({providers:gi,imports:[a.BrowserModule]}),E})();function Jr(){return[...gi]}let $c=(()=>{var le;class E{}return(le=E).\u0275fac=function(O){return new(O||le)},le.\u0275mod=n.\u0275\u0275defineNgModule({type:le}),le.\u0275inj=n.\u0275\u0275defineInjector({providers:Vi,imports:[a.BrowserModule]}),E})();function xs(){return[...Vi]}},6593:(Z,o,c)=>{"use strict";c.r(o),c.d(o,{BrowserModule:()=>ye,By:()=>pt,DomSanitizer:()=>Ut,EVENT_MANAGER_PLUGINS:()=>b,EventManager:()=>_,HAMMER_GESTURE_CONFIG:()=>Ve,HAMMER_LOADER:()=>se,HammerGestureConfig:()=>Qe,HammerModule:()=>Lt,Meta:()=>gt,REMOVE_STYLES_ON_COMPONENT_DESTROY:()=>de,Title:()=>$e,TransferState:()=>zt,VERSION:()=>lt,bootstrapApplication:()=>Oe,createApplication:()=>U,disableDebugTools:()=>en,enableDebugTools:()=>Jt,makeStateKey:()=>It,platformBrowser:()=>at,provideClientHydration:()=>ze,provideProtractorTestingSupport:()=>Ee,withNoDomReuse:()=>Ct,withNoHttpTransferCache:()=>it,\u0275BrowserDomAdapter:()=>s,\u0275BrowserGetTestability:()=>f,\u0275DomEventsPlugin:()=>Ce,\u0275DomRendererFactory2:()=>ot,\u0275DomSanitizerImpl:()=>fn,\u0275HammerGesturesPlugin:()=>wt,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>xe,\u0275KeyEventsPlugin:()=>G,\u0275SharedStylesHost:()=>R,\u0275getDOM:()=>a.\u0275getDOM,\u0275initDomAdapter:()=>pe});var n=c(5879),a=c(6814),g=c(7502);class m extends a.\u0275DomAdapter{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class s extends m{static makeCurrent(){(0,a.\u0275setRootDomAdapter)(new s)}onAndCancel(Xe,_e,V){return Xe.addEventListener(_e,V),()=>{Xe.removeEventListener(_e,V)}}dispatchEvent(Xe,_e){Xe.dispatchEvent(_e)}remove(Xe){Xe.parentNode&&Xe.parentNode.removeChild(Xe)}createElement(Xe,_e){return(_e=_e||this.getDefaultDocument()).createElement(Xe)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Xe){return Xe.nodeType===Node.ELEMENT_NODE}isShadowRoot(Xe){return Xe instanceof DocumentFragment}getGlobalEventTarget(Xe,_e){return"window"===_e?window:"document"===_e?Xe:"body"===_e?Xe.body:null}getBaseHref(Xe){const _e=function u(){return d=d||document.querySelector("base"),d?d.getAttribute("href"):null}();return null==_e?null:function v(ut){p=p||document.createElement("a"),p.setAttribute("href",ut);const Xe=p.pathname;return"/"===Xe.charAt(0)?Xe:`/${Xe}`}(_e)}resetBaseElement(){d=null}getUserAgent(){return window.navigator.userAgent}getCookie(Xe){return(0,a.\u0275parseCookieValue)(document.cookie,Xe)}}let p,d=null;class f{addToWindow(Xe){n.\u0275global.getAngularTestability=(V,ce=!0)=>{const ie=Xe.findTestabilityInTree(V,ce);if(null==ie)throw new n.\u0275RuntimeError(5103,!1);return ie},n.\u0275global.getAllAngularTestabilities=()=>Xe.getAllTestabilities(),n.\u0275global.getAllAngularRootElements=()=>Xe.getAllRootElements(),n.\u0275global.frameworkStabilizers||(n.\u0275global.frameworkStabilizers=[]),n.\u0275global.frameworkStabilizers.push(V=>{const ce=n.\u0275global.getAllAngularTestabilities();let ie=ce.length,We=!1;const Pe=function(rt){We=We||rt,ie--,0==ie&&V(We)};ce.forEach(rt=>{rt.whenStable(Pe)})})}findTestabilityInTree(Xe,_e,V){return null==_e?null:Xe.getTestability(_e)??(V?(0,a.\u0275getDOM)().isShadowRoot(_e)?this.findTestabilityInTree(Xe,_e.host,!0):this.findTestabilityInTree(Xe,_e.parentElement,!0):null)}}let y=(()=>{var ut;class Xe{build(){return new XMLHttpRequest}}return(ut=Xe).\u0275fac=function(V){return new(V||ut)},ut.\u0275prov=n.\u0275\u0275defineInjectable({token:ut,factory:ut.\u0275fac}),Xe})();const b=new n.InjectionToken("EventManagerPlugins");let _=(()=>{var ut;class Xe{constructor(V,ce){this._zone=ce,this._eventNameToPlugin=new Map,V.forEach(ie=>{ie.manager=this}),this._plugins=V.slice().reverse()}addEventListener(V,ce,ie){return this._findPluginFor(ce).addEventListener(V,ce,ie)}getZone(){return this._zone}_findPluginFor(V){let ce=this._eventNameToPlugin.get(V);if(ce)return ce;if(ce=this._plugins.find(We=>We.supports(V)),!ce)throw new n.\u0275RuntimeError(5101,!1);return this._eventNameToPlugin.set(V,ce),ce}}return(ut=Xe).\u0275fac=function(V){return new(V||ut)(n.\u0275\u0275inject(b),n.\u0275\u0275inject(n.NgZone))},ut.\u0275prov=n.\u0275\u0275defineInjectable({token:ut,factory:ut.\u0275fac}),Xe})();class w{constructor(Xe){this._doc=Xe}}const A="ng-app-id";let R=(()=>{var ut;class Xe{constructor(V,ce,ie,We={}){this.doc=V,this.appId=ce,this.nonce=ie,this.platformId=We,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,a.isPlatformServer)(We),this.resetHostNodes()}addStyles(V){for(const ce of V)1===this.changeUsageCount(ce,1)&&this.onStyleAdded(ce)}removeStyles(V){for(const ce of V)this.changeUsageCount(ce,-1)<=0&&this.onStyleRemoved(ce)}ngOnDestroy(){const V=this.styleNodesInDOM;V&&(V.forEach(ce=>ce.remove()),V.clear());for(const ce of this.getAllStyles())this.onStyleRemoved(ce);this.resetHostNodes()}addHost(V){this.hostNodes.add(V);for(const ce of this.getAllStyles())this.addStyleToHost(V,ce)}removeHost(V){this.hostNodes.delete(V)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(V){for(const ce of this.hostNodes)this.addStyleToHost(ce,V)}onStyleRemoved(V){const ce=this.styleRef;ce.get(V)?.elements?.forEach(ie=>ie.remove()),ce.delete(V)}collectServerRenderedStyles(){const V=this.doc.head?.querySelectorAll(`style[${A}="${this.appId}"]`);if(V?.length){const ce=new Map;return V.forEach(ie=>{null!=ie.textContent&&ce.set(ie.textContent,ie)}),ce}return null}changeUsageCount(V,ce){const ie=this.styleRef;if(ie.has(V)){const We=ie.get(V);return We.usage+=ce,We.usage}return ie.set(V,{usage:ce,elements:[]}),ce}getStyleElement(V,ce){const ie=this.styleNodesInDOM,We=ie?.get(ce);if(We?.parentNode===V)return ie.delete(ce),We.removeAttribute(A),We;{const Pe=this.doc.createElement("style");return this.nonce&&Pe.setAttribute("nonce",this.nonce),Pe.textContent=ce,this.platformIsServer&&Pe.setAttribute(A,this.appId),Pe}}addStyleToHost(V,ce){const ie=this.getStyleElement(V,ce);V.appendChild(ie);const We=this.styleRef,Pe=We.get(ce)?.elements;Pe?Pe.push(ie):We.set(ce,{elements:[ie],usage:1})}resetHostNodes(){const V=this.hostNodes;V.clear(),V.add(this.doc.head)}}return(ut=Xe).\u0275fac=function(V){return new(V||ut)(n.\u0275\u0275inject(a.DOCUMENT),n.\u0275\u0275inject(n.APP_ID),n.\u0275\u0275inject(n.CSP_NONCE,8),n.\u0275\u0275inject(n.PLATFORM_ID))},ut.\u0275prov=n.\u0275\u0275defineInjectable({token:ut,factory:ut.\u0275fac}),Xe})();const M={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/"},Y=/%COMP%/g,$="%COMP%",ne=`_nghost-${$}`,z=`_ngcontent-${$}`,de=new n.InjectionToken("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function he(ut,Xe){return Xe.map(_e=>_e.replace(Y,ut))}let ot=(()=>{var ut;class Xe{constructor(V,ce,ie,We,Pe,rt,Tt,ue=null){this.eventManager=V,this.sharedStylesHost=ce,this.appId=ie,this.removeStylesOnCompDestroy=We,this.doc=Pe,this.platformId=rt,this.ngZone=Tt,this.nonce=ue,this.rendererByCompId=new Map,this.platformIsServer=(0,a.isPlatformServer)(rt),this.defaultRenderer=new we(V,Pe,Tt,this.platformIsServer)}createRenderer(V,ce){if(!V||!ce)return this.defaultRenderer;this.platformIsServer&&ce.encapsulation===n.ViewEncapsulation.ShadowDom&&(ce={...ce,encapsulation:n.ViewEncapsulation.Emulated});const ie=this.getOrCreateRenderer(V,ce);return ie instanceof W?ie.applyToHost(V):ie instanceof st&&ie.applyStyles(),ie}getOrCreateRenderer(V,ce){const ie=this.rendererByCompId;let We=ie.get(ce.id);if(!We){const Pe=this.doc,rt=this.ngZone,Tt=this.eventManager,ue=this.sharedStylesHost,Ae=this.removeStylesOnCompDestroy,bt=this.platformIsServer;switch(ce.encapsulation){case n.ViewEncapsulation.Emulated:We=new W(Tt,ue,ce,this.appId,Ae,Pe,rt,bt);break;case n.ViewEncapsulation.ShadowDom:return new Ze(Tt,ue,V,ce,Pe,rt,this.nonce,bt);default:We=new st(Tt,ue,ce,Ae,Pe,rt,bt)}ie.set(ce.id,We)}return We}ngOnDestroy(){this.rendererByCompId.clear()}}return(ut=Xe).\u0275fac=function(V){return new(V||ut)(n.\u0275\u0275inject(_),n.\u0275\u0275inject(R),n.\u0275\u0275inject(n.APP_ID),n.\u0275\u0275inject(de),n.\u0275\u0275inject(a.DOCUMENT),n.\u0275\u0275inject(n.PLATFORM_ID),n.\u0275\u0275inject(n.NgZone),n.\u0275\u0275inject(n.CSP_NONCE))},ut.\u0275prov=n.\u0275\u0275defineInjectable({token:ut,factory:ut.\u0275fac}),Xe})();class we{constructor(Xe,_e,V,ce){this.eventManager=Xe,this.doc=_e,this.ngZone=V,this.platformIsServer=ce,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(Xe,_e){return _e?this.doc.createElementNS(M[_e]||_e,Xe):this.doc.createElement(Xe)}createComment(Xe){return this.doc.createComment(Xe)}createText(Xe){return this.doc.createTextNode(Xe)}appendChild(Xe,_e){(Se(Xe)?Xe.content:Xe).appendChild(_e)}insertBefore(Xe,_e,V){Xe&&(Se(Xe)?Xe.content:Xe).insertBefore(_e,V)}removeChild(Xe,_e){Xe&&Xe.removeChild(_e)}selectRootElement(Xe,_e){let V="string"==typeof Xe?this.doc.querySelector(Xe):Xe;if(!V)throw new n.\u0275RuntimeError(-5104,!1);return _e||(V.textContent=""),V}parentNode(Xe){return Xe.parentNode}nextSibling(Xe){return Xe.nextSibling}setAttribute(Xe,_e,V,ce){if(ce){_e=ce+":"+_e;const ie=M[ce];ie?Xe.setAttributeNS(ie,_e,V):Xe.setAttribute(_e,V)}else Xe.setAttribute(_e,V)}removeAttribute(Xe,_e,V){if(V){const ce=M[V];ce?Xe.removeAttributeNS(ce,_e):Xe.removeAttribute(`${V}:${_e}`)}else Xe.removeAttribute(_e)}addClass(Xe,_e){Xe.classList.add(_e)}removeClass(Xe,_e){Xe.classList.remove(_e)}setStyle(Xe,_e,V,ce){ce&(n.RendererStyleFlags2.DashCase|n.RendererStyleFlags2.Important)?Xe.style.setProperty(_e,V,ce&n.RendererStyleFlags2.Important?"important":""):Xe.style[_e]=V}removeStyle(Xe,_e,V){V&n.RendererStyleFlags2.DashCase?Xe.style.removeProperty(_e):Xe.style[_e]=""}setProperty(Xe,_e,V){Xe[_e]=V}setValue(Xe,_e){Xe.nodeValue=_e}listen(Xe,_e,V){if("string"==typeof Xe&&!(Xe=(0,a.\u0275getDOM)().getGlobalEventTarget(this.doc,Xe)))throw new Error(`Unsupported event target ${Xe} for event ${_e}`);return this.eventManager.addEventListener(Xe,_e,this.decoratePreventDefault(V))}decoratePreventDefault(Xe){return _e=>{if("__ngUnwrap__"===_e)return Xe;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>Xe(_e)):Xe(_e))&&_e.preventDefault()}}}function Se(ut){return"TEMPLATE"===ut.tagName&&void 0!==ut.content}class Ze extends we{constructor(Xe,_e,V,ce,ie,We,Pe,rt){super(Xe,ie,We,rt),this.sharedStylesHost=_e,this.hostEl=V,this.shadowRoot=V.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Tt=he(ce.id,ce.styles);for(const ue of Tt){const Ae=document.createElement("style");Pe&&Ae.setAttribute("nonce",Pe),Ae.textContent=ue,this.shadowRoot.appendChild(Ae)}}nodeOrShadowRoot(Xe){return Xe===this.hostEl?this.shadowRoot:Xe}appendChild(Xe,_e){return super.appendChild(this.nodeOrShadowRoot(Xe),_e)}insertBefore(Xe,_e,V){return super.insertBefore(this.nodeOrShadowRoot(Xe),_e,V)}removeChild(Xe,_e){return super.removeChild(this.nodeOrShadowRoot(Xe),_e)}parentNode(Xe){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Xe)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class st extends we{constructor(Xe,_e,V,ce,ie,We,Pe,rt){super(Xe,ie,We,Pe),this.sharedStylesHost=_e,this.removeStylesOnCompDestroy=ce,this.styles=rt?he(rt,V.styles):V.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class W extends st{constructor(Xe,_e,V,ce,ie,We,Pe,rt){const Tt=ce+"-"+V.id;super(Xe,_e,V,ie,We,Pe,rt,Tt),this.contentAttr=function X(ut){return z.replace(Y,ut)}(Tt),this.hostAttr=function fe(ut){return ne.replace(Y,ut)}(Tt)}applyToHost(Xe){this.applyStyles(),this.setAttribute(Xe,this.hostAttr,"")}createElement(Xe,_e){const V=super.createElement(Xe,_e);return super.setAttribute(V,this.contentAttr,""),V}}let Ce=(()=>{var ut;class Xe extends w{constructor(V){super(V)}supports(V){return!0}addEventListener(V,ce,ie){return V.addEventListener(ce,ie,!1),()=>this.removeEventListener(V,ce,ie)}removeEventListener(V,ce,ie){return V.removeEventListener(ce,ie)}}return(ut=Xe).\u0275fac=function(V){return new(V||ut)(n.\u0275\u0275inject(a.DOCUMENT))},ut.\u0275prov=n.\u0275\u0275defineInjectable({token:ut,factory:ut.\u0275fac}),Xe})();const ee=["alt","control","meta","shift"],J={"\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"},j={alt:ut=>ut.altKey,control:ut=>ut.ctrlKey,meta:ut=>ut.metaKey,shift:ut=>ut.shiftKey};let G=(()=>{var ut;class Xe extends w{constructor(V){super(V)}supports(V){return null!=Xe.parseEventName(V)}addEventListener(V,ce,ie){const We=Xe.parseEventName(ce),Pe=Xe.eventCallback(We.fullKey,ie,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,a.\u0275getDOM)().onAndCancel(V,We.domEventName,Pe))}static parseEventName(V){const ce=V.toLowerCase().split("."),ie=ce.shift();if(0===ce.length||"keydown"!==ie&&"keyup"!==ie)return null;const We=Xe._normalizeKey(ce.pop());let Pe="",rt=ce.indexOf("code");if(rt>-1&&(ce.splice(rt,1),Pe="code."),ee.forEach(ue=>{const Ae=ce.indexOf(ue);Ae>-1&&(ce.splice(Ae,1),Pe+=ue+".")}),Pe+=We,0!=ce.length||0===We.length)return null;const Tt={};return Tt.domEventName=ie,Tt.fullKey=Pe,Tt}static matchEventFullKeyCode(V,ce){let ie=J[V.key]||V.key,We="";return ce.indexOf("code.")>-1&&(ie=V.code,We="code."),!(null==ie||!ie)&&(ie=ie.toLowerCase()," "===ie?ie="space":"."===ie&&(ie="dot"),ee.forEach(Pe=>{Pe!==ie&&(0,j[Pe])(V)&&(We+=Pe+".")}),We+=ie,We===ce)}static eventCallback(V,ce,ie){return We=>{Xe.matchEventFullKeyCode(We,V)&&ie.runGuarded(()=>ce(We))}}static _normalizeKey(V){return"esc"===V?"escape":V}}return(ut=Xe).\u0275fac=function(V){return new(V||ut)(n.\u0275\u0275inject(a.DOCUMENT))},ut.\u0275prov=n.\u0275\u0275defineInjectable({token:ut,factory:ut.\u0275fac}),Xe})();function Oe(ut,Xe){return(0,n.\u0275internalCreateApplication)({rootComponent:ut,...ae(Xe)})}function U(ut){return(0,n.\u0275internalCreateApplication)(ae(ut))}function ae(ut){return{appProviders:[...Ke,...ut?.providers??[]],platformProviders:xe}}function Ee(){return[...Me]}function pe(){s.makeCurrent()}const xe=[{provide:n.PLATFORM_ID,useValue:a.\u0275PLATFORM_BROWSER_ID},{provide:n.PLATFORM_INITIALIZER,useValue:pe,multi:!0},{provide:a.DOCUMENT,useFactory:function Be(){return(0,n.\u0275setDocument)(document),document},deps:[]}],at=(0,n.createPlatformFactory)(n.platformCore,"browser",xe),ge=new n.InjectionToken(""),Me=[{provide:n.\u0275TESTABILITY_GETTER,useClass:f,deps:[]},{provide:n.\u0275TESTABILITY,useClass:n.Testability,deps:[n.NgZone,n.TestabilityRegistry,n.\u0275TESTABILITY_GETTER]},{provide:n.Testability,useClass:n.Testability,deps:[n.NgZone,n.TestabilityRegistry,n.\u0275TESTABILITY_GETTER]}],Ke=[{provide:n.\u0275INJECTOR_SCOPE,useValue:"root"},{provide:n.ErrorHandler,useFactory:function Ge(){return new n.ErrorHandler},deps:[]},{provide:b,useClass:Ce,multi:!0,deps:[a.DOCUMENT,n.NgZone,n.PLATFORM_ID]},{provide:b,useClass:G,multi:!0,deps:[a.DOCUMENT]},ot,R,_,{provide:n.RendererFactory2,useExisting:ot},{provide:a.XhrFactory,useClass:y,deps:[]},[]];let ye=(()=>{var ut;class Xe{constructor(V){}static withServerTransition(V){return{ngModule:Xe,providers:[{provide:n.APP_ID,useValue:V.appId}]}}}return(ut=Xe).\u0275fac=function(V){return new(V||ut)(n.\u0275\u0275inject(ge,12))},ut.\u0275mod=n.\u0275\u0275defineNgModule({type:ut}),ut.\u0275inj=n.\u0275\u0275defineInjector({providers:[...Ke,...Me],imports:[a.CommonModule,n.ApplicationModule]}),Xe})(),gt=(()=>{var ut;class Xe{constructor(V){this._doc=V,this._dom=(0,a.\u0275getDOM)()}addTag(V,ce=!1){return V?this._getOrCreateElement(V,ce):null}addTags(V,ce=!1){return V?V.reduce((ie,We)=>(We&&ie.push(this._getOrCreateElement(We,ce)),ie),[]):[]}getTag(V){return V&&this._doc.querySelector(`meta[${V}]`)||null}getTags(V){if(!V)return[];const ce=this._doc.querySelectorAll(`meta[${V}]`);return ce?[].slice.call(ce):[]}updateTag(V,ce){if(!V)return null;ce=ce||this._parseSelector(V);const ie=this.getTag(ce);return ie?this._setMetaElementAttributes(V,ie):this._getOrCreateElement(V,!0)}removeTag(V){this.removeTagElement(this.getTag(V))}removeTagElement(V){V&&this._dom.remove(V)}_getOrCreateElement(V,ce=!1){if(!ce){const Pe=this._parseSelector(V),rt=this.getTags(Pe).filter(Tt=>this._containsAttributes(V,Tt))[0];if(void 0!==rt)return rt}const ie=this._dom.createElement("meta");return this._setMetaElementAttributes(V,ie),this._doc.getElementsByTagName("head")[0].appendChild(ie),ie}_setMetaElementAttributes(V,ce){return Object.keys(V).forEach(ie=>ce.setAttribute(this._getMetaKeyMap(ie),V[ie])),ce}_parseSelector(V){const ce=V.name?"name":"property";return`${ce}="${V[ce]}"`}_containsAttributes(V,ce){return Object.keys(V).every(ie=>ce.getAttribute(this._getMetaKeyMap(ie))===V[ie])}_getMetaKeyMap(V){return qe[V]||V}}return(ut=Xe).\u0275fac=function(V){return new(V||ut)(n.\u0275\u0275inject(a.DOCUMENT))},ut.\u0275prov=n.\u0275\u0275defineInjectable({token:ut,factory:function(V){let ce=null;return ce=V?new V:function ht(){return new gt((0,n.\u0275\u0275inject)(a.DOCUMENT))}(),ce},providedIn:"root"}),Xe})();const qe={httpEquiv:"http-equiv"};let $e=(()=>{var ut;class Xe{constructor(V){this._doc=V}getTitle(){return this._doc.title}setTitle(V){this._doc.title=V||""}}return(ut=Xe).\u0275fac=function(V){return new(V||ut)(n.\u0275\u0275inject(a.DOCUMENT))},ut.\u0275prov=n.\u0275\u0275defineInjectable({token:ut,factory:function(V){let ce=null;return ce=V?new V:function Q(){return new $e((0,n.\u0275\u0275inject)(a.DOCUMENT))}(),ce},providedIn:"root"}),Xe})();function Ne(ut,Xe){(typeof COMPILED>"u"||!COMPILED)&&((n.\u0275global.ng=n.\u0275global.ng||{})[ut]=Xe)}const et=typeof window<"u"&&window||{};class dt{constructor(Xe,_e){this.msPerTick=Xe,this.numTicks=_e}}class xt{constructor(Xe){this.appRef=Xe.injector.get(n.ApplicationRef)}timeChangeDetection(Xe){const _e=Xe&&Xe.record,V="Change Detection",ce=null!=et.console.profile;_e&&ce&&et.console.profile(V);const ie=Nt();let We=0;for(;We<5||Nt()-ie<500;)this.appRef.tick(),We++;const Pe=Nt();_e&&ce&&et.console.profileEnd(V);const rt=(Pe-ie)/We;return et.console.log(`ran ${We} change detection cycles`),et.console.log(`${rt.toFixed(2)} ms per check`),new dt(rt,We)}}function Nt(){return et.performance&&et.performance.now?et.performance.now():(new Date).getTime()}const Qt="profiler";function Jt(ut){return Ne(Qt,new xt(ut)),ut}function en(){Ne(Qt,null)}class pt{static all(){return()=>!0}static css(Xe){return _e=>null!=_e.nativeElement&&function vt(ut,Xe){return!!(0,a.\u0275getDOM)().isElementNode(ut)&&(ut.matches&&ut.matches(Xe)||ut.msMatchesSelector&&ut.msMatchesSelector(Xe)||ut.webkitMatchesSelector&&ut.webkitMatchesSelector(Xe))}(_e.nativeElement,Xe)}static directive(Xe){return _e=>-1!==_e.providerTokens.indexOf(Xe)}}const Dt={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},Ve=new n.InjectionToken("HammerGestureConfig"),se=new n.InjectionToken("HammerLoader");let Qe=(()=>{var ut;class Xe{constructor(){this.events=[],this.overrides={}}buildHammer(V){const ce=new Hammer(V,this.options);ce.get("pinch").set({enable:!0}),ce.get("rotate").set({enable:!0});for(const ie in this.overrides)ce.get(ie).set(this.overrides[ie]);return ce}}return(ut=Xe).\u0275fac=function(V){return new(V||ut)},ut.\u0275prov=n.\u0275\u0275defineInjectable({token:ut,factory:ut.\u0275fac}),Xe})(),wt=(()=>{var ut;class Xe extends w{constructor(V,ce,ie,We){super(V),this._config=ce,this.console=ie,this.loader=We,this._loaderPromise=null}supports(V){return!(!Dt.hasOwnProperty(V.toLowerCase())&&!this.isCustomEvent(V)||!window.Hammer&&!this.loader)}addEventListener(V,ce,ie){const We=this.manager.getZone();if(ce=ce.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||We.runOutsideAngular(()=>this.loader());let Pe=!1,rt=()=>{Pe=!0};return We.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?Pe||(rt=this.addEventListener(V,ce,ie)):rt=()=>{}}).catch(()=>{rt=()=>{}})),()=>{rt()}}return We.runOutsideAngular(()=>{const Pe=this._config.buildHammer(V),rt=function(Tt){We.runGuarded(function(){ie(Tt)})};return Pe.on(ce,rt),()=>{Pe.off(ce,rt),"function"==typeof Pe.destroy&&Pe.destroy()}})}isCustomEvent(V){return this._config.events.indexOf(V)>-1}}return(ut=Xe).\u0275fac=function(V){return new(V||ut)(n.\u0275\u0275inject(a.DOCUMENT),n.\u0275\u0275inject(Ve),n.\u0275\u0275inject(n.\u0275Console),n.\u0275\u0275inject(se,8))},ut.\u0275prov=n.\u0275\u0275defineInjectable({token:ut,factory:ut.\u0275fac}),Xe})(),Lt=(()=>{var ut;class Xe{}return(ut=Xe).\u0275fac=function(V){return new(V||ut)},ut.\u0275mod=n.\u0275\u0275defineNgModule({type:ut}),ut.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:b,useClass:wt,multi:!0,deps:[a.DOCUMENT,Ve,n.\u0275Console,[new n.Optional,se]]},{provide:Ve,useClass:Qe,deps:[]}]}),Xe})(),Ut=(()=>{var ut;class Xe{}return(ut=Xe).\u0275fac=function(V){return new(V||ut)},ut.\u0275prov=n.\u0275\u0275defineInjectable({token:ut,factory:function(V){let ce=null;return ce=V?new(V||ut):n.\u0275\u0275inject(fn),ce},providedIn:"root"}),Xe})(),fn=(()=>{var ut;class Xe extends Ut{constructor(V){super(),this._doc=V}sanitize(V,ce){if(null==ce)return null;switch(V){case n.SecurityContext.NONE:return ce;case n.SecurityContext.HTML:return(0,n.\u0275allowSanitizationBypassAndThrow)(ce,"HTML")?(0,n.\u0275unwrapSafeValue)(ce):(0,n.\u0275_sanitizeHtml)(this._doc,String(ce)).toString();case n.SecurityContext.STYLE:return(0,n.\u0275allowSanitizationBypassAndThrow)(ce,"Style")?(0,n.\u0275unwrapSafeValue)(ce):ce;case n.SecurityContext.SCRIPT:if((0,n.\u0275allowSanitizationBypassAndThrow)(ce,"Script"))return(0,n.\u0275unwrapSafeValue)(ce);throw new n.\u0275RuntimeError(5200,!1);case n.SecurityContext.URL:return(0,n.\u0275allowSanitizationBypassAndThrow)(ce,"URL")?(0,n.\u0275unwrapSafeValue)(ce):(0,n.\u0275_sanitizeUrl)(String(ce));case n.SecurityContext.RESOURCE_URL:if((0,n.\u0275allowSanitizationBypassAndThrow)(ce,"ResourceURL"))return(0,n.\u0275unwrapSafeValue)(ce);throw new n.\u0275RuntimeError(5201,!1);default:throw new n.\u0275RuntimeError(5202,!1)}}bypassSecurityTrustHtml(V){return(0,n.\u0275bypassSanitizationTrustHtml)(V)}bypassSecurityTrustStyle(V){return(0,n.\u0275bypassSanitizationTrustStyle)(V)}bypassSecurityTrustScript(V){return(0,n.\u0275bypassSanitizationTrustScript)(V)}bypassSecurityTrustUrl(V){return(0,n.\u0275bypassSanitizationTrustUrl)(V)}bypassSecurityTrustResourceUrl(V){return(0,n.\u0275bypassSanitizationTrustResourceUrl)(V)}}return(ut=Xe).\u0275fac=function(V){return new(V||ut)(n.\u0275\u0275inject(a.DOCUMENT))},ut.\u0275prov=n.\u0275\u0275defineInjectable({token:ut,factory:function(V){let ce=null;return ce=V?new V:function rn(ut){return new fn(ut.get(a.DOCUMENT))}(n.\u0275\u0275inject(n.Injector)),ce},providedIn:"root"}),Xe})();function vn(ut,Xe=[]){return{\u0275kind:ut,\u0275providers:Xe}}function Ct(){return vn(0)}function it(){return vn(1)}function ze(...ut){const Xe=[],_e=new Set;for(const{\u0275providers:V,\u0275kind:ce}of ut)_e.add(ce),V.length&&Xe.push(V);return(0,n.makeEnvironmentProviders)([[],_e.has(0)?[]:(0,n.\u0275withDomHydration)(),_e.has(1)?[]:(0,g.\u0275withHttpTransferCache)(),Xe])}const lt=new n.Version("16.2.6"),It=n.makeStateKey,zt=n.TransferState},3711:(Z,o,c)=>{"use strict";c.r(o),c.d(o,{MONACO_PATH:()=>y,MonacoDiffEditorComponent:()=>A,MonacoEditorComponent:()=>w,MonacoEditorLoaderDirective:()=>_,MonacoEditorLoaderService:()=>b,MonacoEditorModule:()=>R});var n=c(5879),a=c(9773),g=c(2181),m=c(8180),s=c(5619),d=c(8645),u=c(6223);const p=["editor"],v=["diffEditor"],y="MONACO_PATH";let b=(()=>{class M{constructor($,ne){this.ngZone=$,this.monacoPathConfig=ne,this.isMonacoLoaded$=new s.X(!1),this._monacoPath="assets/monaco-editor/min/vs",window.monacoEditorAlreadyInitialized?$.run(()=>this.isMonacoLoaded$.next(!0)):(window.monacoEditorAlreadyInitialized=!0,this.monacoPathConfig&&(this.monacoPath=this.monacoPathConfig),this.loadMonaco())}set monacoPath($){$&&(this._monacoPath=$)}loadMonaco(){const $=()=>{let de=this._monacoPath;window.amdRequire=window.require;const X=!!this.nodeRequire,fe=de.includes("http");X&&(window.require=this.nodeRequire,fe||(de=window.require("path").resolve(window.__dirname,this._monacoPath))),window.amdRequire.config({paths:{vs:de}}),window.amdRequire(["vs/editor/editor.main"],()=>{this.ngZone.run(()=>this.isMonacoLoaded$.next(!0))},he=>console.error("Error loading monaco-editor: ",he))};if(window.amdRequire)return $();window.require&&(this.addElectronFixScripts(),this.nodeRequire=window.require);const K=document.createElement("script");K.type="text/javascript",K.src=`${this._monacoPath}/loader.js`,K.addEventListener("load",$),document.body.appendChild(K)}addElectronFixScripts(){const $=document.createElement("script"),ne=document.createTextNode("self.module = undefined;"),z=document.createTextNode("self.process.browser = true;");$.appendChild(ne),$.appendChild(z),document.body.appendChild($)}}return M.\u0275fac=function($){return new($||M)(n.\u0275\u0275inject(n.NgZone),n.\u0275\u0275inject(y,8))},M.\u0275prov=n.\u0275\u0275defineInjectable({token:M,factory:M.\u0275fac,providedIn:"root"}),M})(),_=(()=>{class M{constructor($,ne,z){this.templateRef=$,this.viewContainer=ne,this.monacoEditorLoaderService=z,this.isMonacoLoaded$=this.monacoEditorLoaderService.isMonacoLoaded$.asObservable(),this.destroyed$=new d.x}ngOnInit(){this.isMonacoLoaded$.pipe((0,a.R)(this.destroyed$)).subscribe($=>{if(!$)return this.viewContainer.clear();this.viewContainer.createEmbeddedView(this.templateRef)})}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}}return M.\u0275fac=function($){return new($||M)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(b))},M.\u0275dir=n.\u0275\u0275defineDirective({type:M,selectors:[["","ngxLoadMonacoEditor",""]]}),M})(),w=(()=>{class M{constructor($){this.monacoLoader=$,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,g.h)($=>$),(0,m.q)(1)).subscribe(()=>{this.initEditor()})}ngOnChanges($){if(this.editor&&$.options&&!$.options.firstChange){const{language:ne,theme:z,...K}=$.options.currentValue,{language:de,theme:X}=$.options.previousValue;de!==ne&&monaco.editor.setModelLanguage(this.editor.getModel(),this.options&&this.options.language?this.options.language:"text"),X!==z&&monaco.editor.setTheme(z),this.editor.updateOptions(K)}if(this.editor&&$.uri){const ne=$.uri.currentValue,z=$.uri.previousValue;if(z&&!ne||!z&&ne||ne&&z&&ne.path!==z.path){const K=this.editor.getValue();let de;this.modelUriInstance&&this.modelUriInstance.dispose(),ne&&(de=monaco.editor.getModels().find(X=>X.uri.path===ne.path)),this.modelUriInstance=de||monaco.editor.createModel(K,this.options.language||"text",this.uri),this.editor.setModel(this.modelUriInstance)}}}writeValue($){this.value=$,this.editor&&$?this.editor.setValue($):this.editor&&this.editor.setValue("")}registerOnChange($){this.propagateChange=$}registerOnTouched($){this.onTouched=$}validate(){return this.parsedError?{monaco:{value:this.parsedError.split("|")}}:null}registerOnValidatorChange($){this.onErrorStatusChange=$}initEditor(){const $={value:[this.value].join("\n"),language:"text",automaticLayout:!0,scrollBeyondLastLine:!1,theme:"vc"};this.editor=monaco.editor.create(this.editorContent.nativeElement,this.options?{...$,...this.options}:$),this.registerEditorListeners(),this.init.emit(this.editor)}registerEditorListeners(){this.editor.onDidChangeModelContent(()=>{this.propagateChange(this.editor.getValue())}),this.editor.onDidChangeModelDecorations(()=>{const $=this.modelMarkers.map(({message:z})=>z).join("|");this.parsedError!==$&&(this.parsedError=$,this.onErrorStatusChange())}),this.editor.onDidBlurEditorText(()=>{this.onTouched()})}ngOnDestroy(){this.editor&&this.editor.dispose()}}return M.\u0275fac=function($){return new($||M)(n.\u0275\u0275directiveInject(b))},M.\u0275cmp=n.\u0275\u0275defineComponent({type:M,selectors:[["ngx-monaco-editor"]],viewQuery:function($,ne){if(1&$&&n.\u0275\u0275viewQuery(p,7),2&$){let z;n.\u0275\u0275queryRefresh(z=n.\u0275\u0275loadQuery())&&(ne.editorContent=z.first)}},inputs:{options:"options",uri:"uri"},outputs:{init:"init"},features:[n.\u0275\u0275ProvidersFeature([{provide:u.NG_VALUE_ACCESSOR,useExisting:(0,n.forwardRef)(()=>M),multi:!0},{provide:u.NG_VALIDATORS,useExisting:(0,n.forwardRef)(()=>M),multi:!0}]),n.\u0275\u0275NgOnChangesFeature],decls:4,vars:0,consts:[["fxFlex","",1,"editor-container"],["container",""],[1,"monaco-editor"],["editor",""]],template:function($,ne){1&$&&(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}),M})(),A=(()=>{class M{constructor($){this.monacoLoader=$,this.init=new n.EventEmitter}ngOnInit(){this.container=this.editorContent.nativeElement,this.monacoLoader.isMonacoLoaded$.pipe((0,g.h)($=>$),(0,m.q)(1)).subscribe(()=>{this.initMonaco()})}ngOnChanges($){if(this.editor&&($.code&&!$.code.firstChange||$.modified&&!$.modified.firstChange)){const ne=monaco.editor.createModel(this.modified),z=monaco.editor.createModel(this.original);this.editor.setModel({original:z,modified:ne})}this.editor&&$.options&&!$.options.firstChange&&($.options.previousValue.theme!==$.options.currentValue.theme&&monaco.editor.setTheme($.options.currentValue.theme),this.editor.updateOptions($.options.currentValue))}initMonaco(){let $={readOnly:!0,automaticLayout:!0,theme:"vc"};this.options&&($=Object.assign({},$,this.options)),this.editor=monaco.editor.createDiffEditor(this.container,$);const ne=monaco.editor.createModel(this.original),z=monaco.editor.createModel(this.modified);this.editor.setModel({original:ne,modified:z}),this.editor.layout(),this.init.emit(this.editor)}ngOnDestroy(){this.editor&&this.editor.dispose()}}return M.\u0275fac=function($){return new($||M)(n.\u0275\u0275directiveInject(b))},M.\u0275cmp=n.\u0275\u0275defineComponent({type:M,selectors:[["ngx-monaco-diff-editor"]],viewQuery:function($,ne){if(1&$&&n.\u0275\u0275viewQuery(v,7),2&$){let z;n.\u0275\u0275queryRefresh(z=n.\u0275\u0275loadQuery())&&(ne.editorContent=z.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($,ne){1&$&&(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}),M})(),R=(()=>{class M{}return M.\u0275fac=function($){return new($||M)},M.\u0275mod=n.\u0275\u0275defineNgModule({type:M}),M.\u0275inj=n.\u0275\u0275defineInjector({imports:[[]]}),M})()},9317:(Z,o,c)=>{"use strict";c.r(o),c.d(o,{ANGULAR_SPLIT_DEFAULT_OPTIONS:()=>X,AngularSplitModule:()=>ot,SplitAreaDirective:()=>he,SplitComponent:()=>fe});var n=c(5879),a=c(6814),g=c(3018),m=c(8645),s=c(3620);const d=["gutterEls"];function u(we,tt){if(1&we){const nt=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"div",2,3),n.\u0275\u0275listener("keydown",function(Ze){n.\u0275\u0275restoreView(nt);const st=n.\u0275\u0275nextContext().index,W=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(W.startKeyboardDrag(Ze,2*st+1,st+1))})("mousedown",function(Ze){n.\u0275\u0275restoreView(nt);const st=n.\u0275\u0275nextContext().index,W=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(W.startMouseDrag(Ze,2*st+1,st+1))})("touchstart",function(Ze){n.\u0275\u0275restoreView(nt);const st=n.\u0275\u0275nextContext().index,W=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(W.startMouseDrag(Ze,2*st+1,st+1))})("mouseup",function(Ze){n.\u0275\u0275restoreView(nt);const st=n.\u0275\u0275nextContext().index,W=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(W.clickGutter(Ze,st+1))})("touchend",function(Ze){n.\u0275\u0275restoreView(nt);const st=n.\u0275\u0275nextContext().index,W=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(W.clickGutter(Ze,st+1))}),n.\u0275\u0275element(2,"div",4),n.\u0275\u0275elementEnd()}if(2&we){const nt=n.\u0275\u0275nextContext(),Se=nt.index,Ze=nt.$implicit,st=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("flex-basis",st.gutterSize,"px")("order",2*Se+1),n.\u0275\u0275attribute("aria-label",st.gutterAriaLabel)("aria-orientation",st.direction)("aria-valuemin",Ze.minSize)("aria-valuemax",Ze.maxSize)("aria-valuenow",Ze.size)("aria-valuetext",st.getAriaAreaSizeText(Ze.size))}}function p(we,tt){1&we&&n.\u0275\u0275template(0,u,3,10,"div",1),2&we&&n.\u0275\u0275property("ngIf",!1===tt.last)}const v=["*"];function f(we){if(void 0!==we.changedTouches&&we.changedTouches.length>0)return{x:we.changedTouches[0].clientX,y:we.changedTouches[0].clientY};if(void 0!==we.clientX&&void 0!==we.clientY)return{x:we.clientX,y:we.clientY};if(void 0!==we.currentTarget){const tt=we.currentTarget;return{x:tt.offsetLeft,y:tt.offsetTop}}return null}function y(we,tt,nt){return Math.abs(we.x-tt.x)<=nt&&Math.abs(we.y-tt.y)<=nt}function _(we,tt){const nt=we.nativeElement.getBoundingClientRect();return"horizontal"===tt?nt.width:nt.height}function w(we){return"boolean"==typeof we?we:"false"!==we}function A(we,tt){return null==we?tt:(we=Number(we),!isNaN(we)&&we>=0?we:tt)}function R(we,tt){if("percent"===we){const nt=tt.reduce((Ze,st)=>"*"!==st?Ze+st:Ze,0),Se=tt.filter(Ze=>"*"===Ze);return!(Se.length>1)&&(1===Se.length||nt>99.9)&&nt<100.1}if("pixel"===we)return 1===tt.filter(nt=>"*"===nt).length}function M(we){return"*"===we.size?null:!0===we.component.lockSize?we.size:null===we.component.minSize?null:we.component.minSize>we.size?we.size:we.component.minSize}function Y(we){return"*"===we.size?null:!0===we.component.lockSize?we.size:null===we.component.maxSize?null:we.component.maxSize<we.size?we.size:we.component.maxSize}function $(we,tt,nt,Se){return tt.reduce((Ze,st)=>{const W=function ne(we,tt,nt,Se){return 0===nt?{areaSnapshot:tt,pixelAbsorb:0,percentAfterAbsorption:tt.sizePercentAtStart,pixelRemain:0}:0===tt.sizePixelAtStart&&nt<0?{areaSnapshot:tt,pixelAbsorb:0,percentAfterAbsorption:0,pixelRemain:nt}:"percent"===we?function z(we,tt,nt){const Ze=(we.sizePixelAtStart+tt)/nt*100;if(tt>0){if(null!==we.area.maxSize&&Ze>we.area.maxSize){const st=we.area.maxSize/100*nt;return{areaSnapshot:we,pixelAbsorb:st,percentAfterAbsorption:we.area.maxSize,pixelRemain:we.sizePixelAtStart+tt-st}}return{areaSnapshot:we,pixelAbsorb:tt,percentAfterAbsorption:Ze>100?100:Ze,pixelRemain:0}}if(tt<0){if(null!==we.area.minSize&&Ze<we.area.minSize){const st=we.area.minSize/100*nt;return{areaSnapshot:we,pixelAbsorb:st,percentAfterAbsorption:we.area.minSize,pixelRemain:we.sizePixelAtStart+tt-st}}return Ze<0?{areaSnapshot:we,pixelAbsorb:-we.sizePixelAtStart,percentAfterAbsorption:0,pixelRemain:tt+we.sizePixelAtStart}:{areaSnapshot:we,pixelAbsorb:tt,percentAfterAbsorption:Ze,pixelRemain:0}}}(tt,nt,Se):"pixel"===we?function K(we,tt,nt){const Se=we.sizePixelAtStart+tt;return tt>0?null!==we.area.maxSize&&Se>we.area.maxSize?{areaSnapshot:we,pixelAbsorb:we.area.maxSize-we.sizePixelAtStart,percentAfterAbsorption:-1,pixelRemain:Se-we.area.maxSize}:{areaSnapshot:we,pixelAbsorb:tt,percentAfterAbsorption:-1,pixelRemain:0}:tt<0?null!==we.area.minSize&&Se<we.area.minSize?{areaSnapshot:we,pixelAbsorb:we.area.minSize+tt-Se,percentAfterAbsorption:-1,pixelRemain:Se-we.area.minSize}:Se<0?{areaSnapshot:we,pixelAbsorb:-we.sizePixelAtStart,percentAfterAbsorption:-1,pixelRemain:tt+we.sizePixelAtStart}:{areaSnapshot:we,pixelAbsorb:tt,percentAfterAbsorption:-1,pixelRemain:0}:void 0}(tt,nt):void 0}(we,st,Ze.remain,Se);return Ze.list.push(W),Ze.remain=W.pixelRemain,Ze},{remain:nt,list:[]})}function de(we,tt){"*"!==tt.areaSnapshot.area.size&&("percent"===we?tt.areaSnapshot.area.size=tt.percentAfterAbsorption:"pixel"===we&&(tt.areaSnapshot.area.size=tt.areaSnapshot.sizePixelAtStart+tt.pixelAbsorb))}const X=new n.InjectionToken("angular-split-global-config");let fe=(()=>{var we;class tt{set direction(Se){this._direction="vertical"===Se?"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(Se){this._unit="pixel"===Se?"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(Se){this._gutterSize=A(Se,11),this.build(!1,!1)}get gutterSize(){return this._gutterSize}set gutterStep(Se){this._gutterStep=A(Se,1)}get gutterStep(){return this._gutterStep}set restrictMove(Se){this._restrictMove=w(Se)}get restrictMove(){return this._restrictMove}set useTransition(Se){this._useTransition=w(Se),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(Se){this._disabled=w(Se),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(Se){this._dir="rtl"===Se?"rtl":"ltr",this.renderer.setAttribute(this.elRef.nativeElement,"dir",this._dir)}get dir(){return this._dir}set gutterDblClickDuration(Se){this._gutterDblClickDuration=A(Se,0)}get gutterDblClickDuration(){return this._gutterDblClickDuration}get transitionEnd(){return new g.y(Se=>this.transitionEndSubscriber=Se).pipe((0,s.b)(20))}constructor(Se,Ze,st,W,Ce){this.ngZone=Se,this.elRef=Ze,this.cdRef=st,this.renderer=W,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 m.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=Ce?Object.assign(this._config,Ce):this._config,Object.keys(this._config).forEach(ee=>{this[ee]=this._config[ee]})}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(Se){const Ze={component:Se,order:0,size:0,minSize:null,maxSize:null,sizeBeforeCollapse:null,gutterBeforeCollapse:0};!0===Se.visible?(this.displayedAreas.push(Ze),this.build(!0,!0)):this.hiddenAreas.push(Ze)}removeArea(Se){if(this.displayedAreas.some(Ze=>Ze.component===Se)){const Ze=this.displayedAreas.find(st=>st.component===Se);this.displayedAreas.splice(this.displayedAreas.indexOf(Ze),1),this.build(!0,!0)}else if(this.hiddenAreas.some(Ze=>Ze.component===Se)){const Ze=this.hiddenAreas.find(st=>st.component===Se);this.hiddenAreas.splice(this.hiddenAreas.indexOf(Ze),1)}}updateArea(Se,Ze,st){!0===Se.visible&&this.build(Ze,st)}showArea(Se){const Ze=this.hiddenAreas.find(W=>W.component===Se);if(void 0===Ze)return;const st=this.hiddenAreas.splice(this.hiddenAreas.indexOf(Ze),1);this.displayedAreas.push(...st),this.build(!0,!0)}hideArea(Se){const Ze=this.displayedAreas.find(W=>W.component===Se);if(void 0===Ze)return;const st=this.displayedAreas.splice(this.displayedAreas.indexOf(Ze),1);st.forEach(W=>{W.order=0,W.size=0}),this.hiddenAreas.push(...st),this.build(!0,!0)}getVisibleAreaSizes(){return this.displayedAreas.map(Se=>Se.size)}setVisibleAreaSizes(Se){if(Se.length!==this.displayedAreas.length)return!1;const Ze=Se.map(W=>A(W,"*"));return!1!==R(this.unit,Ze)&&(this.displayedAreas.forEach((W,Ce)=>W.component._size=Ze[Ce]),this.build(!1,!0),!0)}build(Se,Ze){if(this.stopDragging(),!0===Se&&(this.displayedAreas.every(st=>null!==st.component.order)&&this.displayedAreas.sort((st,W)=>st.component.order-W.component.order),this.displayedAreas.forEach((st,W)=>{st.order=2*W,st.component.setStyleOrder(st.order)})),!0===Ze){const st=R(this.unit,this.displayedAreas.map(W=>W.component.size));switch(this.unit){case"percent":{const W=100/this.displayedAreas.length;this.displayedAreas.forEach(Ce=>{Ce.size=st?Ce.component.size:W,Ce.minSize=M(Ce),Ce.maxSize=Y(Ce)});break}case"pixel":if(st)this.displayedAreas.forEach(W=>{W.size=W.component.size,W.minSize=M(W),W.maxSize=Y(W)});else{const W=this.displayedAreas.filter(Ce=>"*"===Ce.component.size);if(0===W.length&&this.displayedAreas.length>0)this.displayedAreas.forEach((Ce,ee)=>{Ce.size=0===ee?"*":Ce.component.size,Ce.minSize=0===ee?null:M(Ce),Ce.maxSize=0===ee?null:Y(Ce)});else if(W.length>1){let Ce=!1;this.displayedAreas.forEach(ee=>{"*"===ee.component.size?!1===Ce?(ee.size="*",ee.minSize=null,ee.maxSize=null,Ce=!0):(ee.size=100,ee.minSize=null,ee.maxSize=null):(ee.size=ee.component.size,ee.minSize=M(ee),ee.maxSize=Y(ee))})}}}}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 Se=this.getNbGutters()*this.gutterSize;this.displayedAreas.forEach(Ze=>{"*"===Ze.size?Ze.component.setStyleFlex(1,1,1===this.displayedAreas.length?"100%":"auto",!1,!1):Ze.component.setStyleFlex(0,0,`calc( ${Ze.size}% - ${Ze.size/100*Se}px )`,null!==Ze.minSize&&Ze.minSize===Ze.size,null!==Ze.maxSize&&Ze.maxSize===Ze.size)})}else"pixel"===this.unit&&this.displayedAreas.forEach(Se=>{"*"===Se.size?Se.component.setStyleFlex(1,1,1===this.displayedAreas.length?"100%":"auto",!1,!1):1===this.displayedAreas.length?Se.component.setStyleFlex(0,0,"100%",!1,!1):Se.component.setStyleFlex(0,0,`${Se.size}px`,null!==Se.minSize&&Se.minSize===Se.size,null!==Se.maxSize&&Se.maxSize===Se.size)})}clickGutter(Se,Ze){const st=f(Se);this.startPoint&&y(this.startPoint,st,this.gutterClickDeltaPx)&&(!this.isDragging||this.isWaitingInitialMove)&&(null!==this._clickTimeout?(window.clearTimeout(this._clickTimeout),this._clickTimeout=null,this.notify("dblclick",Ze),this.stopDragging()):this._clickTimeout=window.setTimeout(()=>{this._clickTimeout=null,this.notify("click",Ze),this.stopDragging()},this.gutterDblClickDuration))}startKeyboardDrag(Se,Ze,st){if(!0===this.disabled||!0===this.isWaitingClear)return;const W=function b(we,tt){if("horizontal"===tt)switch(we.key){case"ArrowLeft":case"ArrowRight":case"PageUp":case"PageDown":break;default:return null}if("vertical"===tt)switch(we.key){case"ArrowUp":case"ArrowDown":case"PageUp":case"PageDown":break;default:return null}const nt=we.currentTarget,Se="PageUp"===we.key||"PageDown"===we.key?500:50;let Ze=nt.offsetLeft,st=nt.offsetTop;switch(we.key){case"ArrowLeft":Ze-=Se;break;case"ArrowRight":Ze+=Se;break;case"ArrowUp":st-=Se;break;case"ArrowDown":st+=Se;break;case"PageUp":"vertical"===tt?st-=Se:Ze+=Se;break;case"PageDown":"vertical"===tt?st+=Se:Ze-=Se;break;default:return null}return{x:Ze,y:st}}(Se,this.direction);null!==W&&(this.endPoint=W,this.startPoint=f(Se),Se.preventDefault(),Se.stopPropagation(),this.setupForDragEvent(Ze,st),this.startDragging(),this.drag(),this.stopDragging())}startMouseDrag(Se,Ze,st){Se.preventDefault(),Se.stopPropagation(),this.startPoint=f(Se),null!==this.startPoint&&!0!==this.disabled&&!0!==this.isWaitingClear&&(this.setupForDragEvent(Ze,st),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(Se,Ze){if(this.snapshot={gutterNum:Ze,lastSteppedOffset:0,allAreasSizePixel:_(this.elRef,this.direction)-this.getNbGutters()*this.gutterSize,allInvolvedAreasSizePercent:100,areasBeforeGutter:[],areasAfterGutter:[]},this.displayedAreas.forEach(st=>{const W={area:st,sizePixelAtStart:_(st.component.elRef,this.direction),sizePercentAtStart:"percent"===this.unit?st.size:-1};st.order<Se?!0===this.restrictMove?this.snapshot.areasBeforeGutter=[W]:this.snapshot.areasBeforeGutter.unshift(W):st.order>Se&&(!0===this.restrictMove?0===this.snapshot.areasAfterGutter.length&&(this.snapshot.areasAfterGutter=[W]):this.snapshot.areasAfterGutter.push(W))}),this.restrictMove&&"percent"===this.unit){const st=this.snapshot.areasBeforeGutter[0],W=this.snapshot.areasAfterGutter[0];if("*"===st.area.size||"*"===W.area.size){const Ce=this.displayedAreas.reduce((ee,J)=>st.area!==J&&W.area!==J?ee+J.size:ee,0);this.snapshot.allInvolvedAreasSizePercent=100-Ce}else this.snapshot.allInvolvedAreasSizePercent=[...this.snapshot.areasBeforeGutter,...this.snapshot.areasAfterGutter].reduce((Ce,ee)=>Ce+ee.sizePercentAtStart,0)}}startDragging(){this.displayedAreas.forEach(Se=>Se.component.lockEvents()),this.isDragging=!0,this.isWaitingInitialMove=!0}mouseDragEvent(Se){Se.preventDefault(),Se.stopPropagation();const Ze=f(Se);null!==this._clickTimeout&&!y(this.startPoint,Ze,this.gutterClickDeltaPx)&&(window.clearTimeout(this._clickTimeout),this._clickTimeout=null),!1!==this.isDragging&&(this.endPoint=f(Se),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 Se="horizontal"===this.direction?this.startPoint.x-this.endPoint.x:this.startPoint.y-this.endPoint.y;"rtl"===this.dir&&"horizontal"===this.direction&&(Se=-Se);const Ze=Math.round(Se/this.gutterStep)*this.gutterStep;if(Ze===this.snapshot.lastSteppedOffset)return;this.snapshot.lastSteppedOffset=Ze;let st=$(this.unit,this.snapshot.areasBeforeGutter,-Ze,this.snapshot.allAreasSizePixel),W=$(this.unit,this.snapshot.areasAfterGutter,Ze,this.snapshot.allAreasSizePixel);if(0!==st.remain&&0!==W.remain?Math.abs(st.remain)===Math.abs(W.remain)||(Math.abs(st.remain)>Math.abs(W.remain)?W=$(this.unit,this.snapshot.areasAfterGutter,Ze+st.remain,this.snapshot.allAreasSizePixel):st=$(this.unit,this.snapshot.areasBeforeGutter,-(Ze-W.remain),this.snapshot.allAreasSizePixel)):0!==st.remain?W=$(this.unit,this.snapshot.areasAfterGutter,Ze+st.remain,this.snapshot.allAreasSizePixel):0!==W.remain&&(st=$(this.unit,this.snapshot.areasBeforeGutter,-(Ze-W.remain),this.snapshot.allAreasSizePixel)),"percent"===this.unit){const Ce=[...st.list,...W.list],J=Ce.find(j=>"*"==j.percentAfterAbsorption)??Ce.find(j=>0!==j.percentAfterAbsorption&&j.percentAfterAbsorption!==j.areaSnapshot.area.minSize&&j.percentAfterAbsorption!==j.areaSnapshot.area.maxSize);J&&(J.percentAfterAbsorption=this.snapshot.allInvolvedAreasSizePercent-Ce.filter(j=>j!==J).reduce((j,G)=>j+G.percentAfterAbsorption,0))}st.list.forEach(Ce=>de(this.unit,Ce)),W.list.forEach(Ce=>de(this.unit,Ce)),this.refreshStyleSizes(),this.notify("progress",this.snapshot.gutterNum)}stopDragging(Se){if(Se&&(Se.preventDefault(),Se.stopPropagation()),!1!==this.isDragging){for(this.displayedAreas.forEach(Ze=>Ze.component.unlockEvents());this.dragListeners.length>0;){const Ze=this.dragListeners.pop();Ze&&Ze()}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(Se,Ze){const st=this.getVisibleAreaSizes();"start"===Se?this.dragStart.emit({gutterNum:Ze,sizes:st}):"end"===Se?this.dragEnd.emit({gutterNum:Ze,sizes:st}):"click"===Se?this.gutterClick.emit({gutterNum:Ze,sizes:st}):"dblclick"===Se?this.gutterDblClick.emit({gutterNum:Ze,sizes:st}):"transitionEnd"===Se?this.transitionEndSubscriber&&this.ngZone.run(()=>this.transitionEndSubscriber.next(st)):"progress"===Se&&this.dragProgressSubject.next({gutterNum:Ze,sizes:st})}ngOnDestroy(){this.stopDragging()}collapseArea(Se,Ze,st){const W=this.displayedAreas.find(J=>J.component===Se);if(void 0===W)return;const Ce="right"===st?1:-1;W.sizeBeforeCollapse||(W.sizeBeforeCollapse=W.size,W.gutterBeforeCollapse=Ce),W.size=Ze;const ee=this.gutterEls.find(J=>J.nativeElement.style.order===`${W.order+Ce}`);ee&&this.renderer.addClass(ee.nativeElement,"as-split-gutter-collapsed"),this.updateArea(Se,!1,!1)}expandArea(Se){const Ze=this.displayedAreas.find(W=>W.component===Se);if(void 0===Ze||!Ze.sizeBeforeCollapse)return;Ze.size=Ze.sizeBeforeCollapse,Ze.sizeBeforeCollapse=null;const st=this.gutterEls.find(W=>W.nativeElement.style.order===`${Ze.order+Ze.gutterBeforeCollapse}`);st&&this.renderer.removeClass(st.nativeElement,"as-split-gutter-collapsed"),this.updateArea(Se,!1,!1)}getAriaAreaSizeText(Se){return"*"===Se?null:Se.toFixed(0)+" "+this.unit}}return(we=tt).\u0275fac=function(Se){return new(Se||we)(n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(X,8))},we.\u0275cmp=n.\u0275\u0275defineComponent({type:we,selectors:[["as-split"]],viewQuery:function(Se,Ze){if(1&Se&&n.\u0275\u0275viewQuery(d,5),2&Se){let st;n.\u0275\u0275queryRefresh(st=n.\u0275\u0275loadQuery())&&(Ze.gutterEls=st)}},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:v,decls:2,vars:1,consts:[["ngFor","",3,"ngForOf"],["role","separator","tabindex","0","class","as-split-gutter",3,"flex-basis","order","keydown","mousedown","touchstart","mouseup","touchend",4,"ngIf"],["role","separator","tabindex","0",1,"as-split-gutter",3,"keydown","mousedown","touchstart","mouseup","touchend"],["gutterEls",""],[1,"as-split-gutter-icon"]],template:function(Se,Ze){1&Se&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0),n.\u0275\u0275template(1,p,1,1,"ng-template",0)),2&Se&&(n.\u0275\u0275advance(1),n.\u0275\u0275property("ngForOf",Ze.displayedAreas))},dependencies:[a.NgForOf,a.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}[_nghost-%COMP%] >.as-split-area .iframe-fix{position:absolute;top:0;left:0;width:100%;height:100%}.as-horizontal[_nghost-%COMP%]{flex-direction:row}.as-horizontal[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{flex-direction:row;cursor:col-resize;height:100%}.as-horizontal[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] > .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==)}.as-horizontal[_nghost-%COMP%] >.as-split-area{height:100%}.as-vertical[_nghost-%COMP%]{flex-direction:column}.as-vertical[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{flex-direction:column;cursor:row-resize;width:100%}.as-vertical[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFCAMAAABl/6zIAAAABlBMVEUAAADMzMzIT8AyAAAAAXRSTlMAQObYZgAAABRJREFUeAFjYGRkwIMJSeMHlBkOABP7AEGzSuPKAAAAAElFTkSuQmCC)}.as-vertical[_nghost-%COMP%] >.as-split-area{width:100%}.as-vertical[_nghost-%COMP%] >.as-split-area.as-hidden{max-width:0}.as-disabled[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{cursor:default}.as-disabled[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==)}.as-transition.as-init[_nghost-%COMP%]:not(.as-dragging) > .as-split-gutter[_ngcontent-%COMP%], .as-transition.as-init[_nghost-%COMP%]:not(.as-dragging) >.as-split-area{transition:flex-basis .3s}"],changeDetection:0}),tt})(),he=(()=>{var we;class tt{set order(Se){this._order=A(Se,null),this.split.updateArea(this,!0,!1)}get order(){return this._order}set size(Se){this._size=A(Se,"*"),this.split.updateArea(this,!1,!0)}get size(){return this._size}set minSize(Se){this._minSize=A(Se,null),this.split.updateArea(this,!1,!0)}get minSize(){return this._minSize}set maxSize(Se){this._maxSize=A(Se,null),this.split.updateArea(this,!1,!0)}get maxSize(){return this._maxSize}set lockSize(Se){this._lockSize=w(Se),this.split.updateArea(this,!1,!0)}get lockSize(){return this._lockSize}set visible(Se){this._visible=w(Se),this._visible?(this.split.showArea(this),this.renderer.removeClass(this.elRef.nativeElement,"as-hidden")):(this.split.hideArea(this),this.renderer.addClass(this.elRef.nativeElement,"as-hidden"))}get visible(){return this._visible}constructor(Se,Ze,st,W){this.ngZone=Se,this.elRef=Ze,this.renderer=st,this.split=W,this._order=null,this._size="*",this._minSize=null,this._maxSize=null,this._lockSize=!1,this._visible=!0,this.lockListeners=[],this.renderer.addClass(this.elRef.nativeElement,"as-split-area")}ngOnInit(){this.split.addArea(this),this.ngZone.runOutsideAngular(()=>{this.transitionListener=this.renderer.listen(this.elRef.nativeElement,"transitionend",Ze=>{"flex-basis"===Ze.propertyName&&this.split.notify("transitionEnd",-1)})});const Se=this.renderer.createElement("div");this.renderer.addClass(Se,"iframe-fix"),this.dragStartSubscription=this.split.dragStart.subscribe(()=>{this.renderer.setStyle(this.elRef.nativeElement,"position","relative"),this.renderer.appendChild(this.elRef.nativeElement,Se)}),this.dragEndSubscription=this.split.dragEnd.subscribe(()=>{this.renderer.removeStyle(this.elRef.nativeElement,"position"),this.renderer.removeChild(this.elRef.nativeElement,Se)})}setStyleOrder(Se){this.renderer.setStyle(this.elRef.nativeElement,"order",Se)}setStyleFlex(Se,Ze,st,W,Ce){this.renderer.setStyle(this.elRef.nativeElement,"flex-grow",Se),this.renderer.setStyle(this.elRef.nativeElement,"flex-shrink",Ze),this.renderer.setStyle(this.elRef.nativeElement,"flex-basis",st),!0===W?this.renderer.addClass(this.elRef.nativeElement,"as-min"):this.renderer.removeClass(this.elRef.nativeElement,"as-min"),!0===Ce?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 Se=this.lockListeners.pop();Se&&Se()}}ngOnDestroy(){this.unlockEvents(),this.transitionListener&&this.transitionListener(),this.dragStartSubscription?.unsubscribe(),this.dragEndSubscription?.unsubscribe(),this.split.removeArea(this)}collapse(Se=0,Ze="right"){this.split.collapseArea(this,Se,Ze)}expand(){this.split.expandArea(this)}}return(we=tt).\u0275fac=function(Se){return new(Se||we)(n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(fe))},we.\u0275dir=n.\u0275\u0275defineDirective({type:we,selectors:[["as-split-area"],["","as-split-area",""]],inputs:{order:"order",size:"size",minSize:"minSize",maxSize:"maxSize",lockSize:"lockSize",visible:"visible"},exportAs:["asSplitArea"]}),tt})(),ot=(()=>{var we;class tt{}return(we=tt).\u0275fac=function(Se){return new(Se||we)},we.\u0275mod=n.\u0275\u0275defineNgModule({type:we}),we.\u0275inj=n.\u0275\u0275defineInjector({imports:[a.CommonModule]}),tt})()},279:(Z,o,c)=>{"use strict";c.r(o),c.d(o,{NgxJsonViewerComponent:()=>v,NgxJsonViewerModule:()=>f});var n=c(5879),a=c(6814);function g(y,b){1&y&&n.\u0275\u0275element(0,"div",9)}function m(y,b){if(1&y&&(n.\u0275\u0275elementStart(0,"span",10),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&y){const _=n.\u0275\u0275nextContext().$implicit;n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate(_.description)}}function s(y,b){if(1&y&&(n.\u0275\u0275elementStart(0,"section",11),n.\u0275\u0275element(1,"ngx-json-viewer",12),n.\u0275\u0275elementEnd()),2&y){const _=n.\u0275\u0275nextContext().$implicit,w=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275property("json",_.value)("expanded",w.expanded)("depth",w.depth)("_currentDepth",w._currentDepth+1)}}const d=function(y){return["segment",y]},u=function(y,b){return{"segment-main":!0,expandable:y,expanded:b}};function p(y,b){if(1&y){const _=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"section",2)(1,"section",3),n.\u0275\u0275listener("click",function(){const R=n.\u0275\u0275restoreView(_).$implicit,M=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(M.toggle(R))}),n.\u0275\u0275template(2,g,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,m,2,1,"span",7),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(8,s,2,4,"section",8),n.\u0275\u0275elementEnd()}if(2&y){const _=b.$implicit,w=n.\u0275\u0275nextContext();n.\u0275\u0275property("ngClass",n.\u0275\u0275pureFunction1(6,d,"segment-type-"+_.type)),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngClass",n.\u0275\u0275pureFunction2(8,u,w.isExpandable(_),_.expanded)),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",w.isExpandable(_)),n.\u0275\u0275advance(2),n.\u0275\u0275textInterpolate(_.key),n.\u0275\u0275advance(3),n.\u0275\u0275property("ngIf",!_.expanded||!w.isExpandable(_)),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",_.expanded&&w.isExpandable(_))}}let v=(()=>{class y{constructor(){this.expanded=!0,this.depth=-1,this._currentDepth=0,this.segments=[]}ngOnChanges(){this.segments=[],this.json=this.decycle(this.json),"object"==typeof this.json?Object.keys(this.json).forEach(_=>{this.segments.push(this.parseKeyValue(_,this.json[_]))}):this.segments.push(this.parseKeyValue(`(${typeof this.json})`,this.json))}isExpandable(_){return"object"===_.type||"array"===_.type}toggle(_){this.isExpandable(_)&&(_.expanded=!_.expanded)}parseKeyValue(_,w){const A={key:_,value:w,type:void 0,description:""+w,expanded:this.isExpanded()};switch(typeof A.value){case"number":A.type="number";break;case"boolean":A.type="boolean";break;case"function":A.type="function";break;case"string":A.type="string",A.description='"'+A.value+'"';break;case"undefined":A.type="undefined",A.description="undefined";break;case"object":null===A.value?(A.type="null",A.description="null"):Array.isArray(A.value)?(A.type="array",A.description="Array["+A.value.length+"] "+JSON.stringify(A.value)):A.value instanceof Date?A.type="date":(A.type="object",A.description="Object "+JSON.stringify(A.value))}return A}isExpanded(){return this.expanded&&!(this.depth>-1&&this._currentDepth>=this.depth)}decycle(_){const w=new WeakMap;return function A(R,M){let Y,$;return"object"!=typeof R||null===R||R instanceof Boolean||R instanceof Date||R instanceof Number||R instanceof RegExp||R instanceof String?R:(Y=w.get(R),void 0!==Y?{$ref:Y}:(w.set(R,M),Array.isArray(R)?($=[],R.forEach(function(ne,z){$[z]=A(ne,M+"["+z+"]")})):($={},Object.keys(R).forEach(function(ne){$[ne]=A(R[ne],M+"["+JSON.stringify(ne)+"]")})),$))}(_,"$")}}return y.\u0275fac=function(_){return new(_||y)},y.\u0275cmp=n.\u0275\u0275defineComponent({type:y,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(_,w){1&_&&(n.\u0275\u0275elementStart(0,"section",0),n.\u0275\u0275template(1,p,9,11,"section",1),n.\u0275\u0275elementEnd()),2&_&&(n.\u0275\u0275advance(1),n.\u0275\u0275property("ngForOf",w.segments))},dependencies:[a.NgClass,a.NgForOf,a.NgIf,y],styles:['@charset "UTF-8";.ngx-json-viewer[_ngcontent-%COMP%]{font-family:var(--ngx-json-font-family, monospace);font-size:var(--ngx-json-font-size, 1em);width:100%;height:100%;overflow:hidden;position:relative}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%]{padding:2px;margin:1px 1px 1px 12px}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%]{word-wrap:break-word}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .toggler[_ngcontent-%COMP%]{position:absolute;margin-left:-14px;margin-top:3px;font-size:.8em;line-height:1.2em;vertical-align:middle;color:var(--ngx-json-toggler, #787878)}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .toggler[_ngcontent-%COMP%]:after{display:inline-block;content:"\\25ba";transition:transform .1s ease-in}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-key[_ngcontent-%COMP%]{color:var(--ngx-json-key, #4E187C)}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-separator[_ngcontent-%COMP%]{color:var(--ngx-json-separator, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-value, #000)}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .children[_ngcontent-%COMP%]{margin-left:12px}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-string[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-string, #FF6B6B)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-number[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-number, #009688)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-boolean[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-boolean, #B938A4)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-date[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-date, #05668D)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-array[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-array, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-object[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-object, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-function[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-function, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-null[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-null, #fff)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-undefined, #fff)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-null[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{background-color:var(--ngx-json-null-bg, red)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-key[_ngcontent-%COMP%]{color:var(--ngx-json-undefined-key, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{background-color:var(--ngx-json-undefined-key, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-object[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%], .ngx-json-viewer[_ngcontent-%COMP%] .segment-type-array[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%]{white-space:nowrap}.ngx-json-viewer[_ngcontent-%COMP%] .expanded[_ngcontent-%COMP%] > .toggler[_ngcontent-%COMP%]:after{transform:rotate(90deg)}.ngx-json-viewer[_ngcontent-%COMP%] .expandable[_ngcontent-%COMP%], .ngx-json-viewer[_ngcontent-%COMP%] .expandable[_ngcontent-%COMP%] > .toggler[_ngcontent-%COMP%]{cursor:pointer}']}),y})(),f=(()=>{class y{}return y.\u0275fac=function(_){return new(_||y)},y.\u0275mod=n.\u0275\u0275defineNgModule({type:y}),y.\u0275inj=n.\u0275\u0275defineInjector({imports:[a.CommonModule]}),y})()},9229:(Z,o,c)=>{"use strict";function n(Ee){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(pe){return typeof pe}:function(pe){return pe&&"function"==typeof Symbol&&pe.constructor===Symbol&&pe!==Symbol.prototype?"symbol":typeof pe})(Ee)}function m(Ee,pe,Ge){return(pe=function g(Ee){var pe=function a(Ee,pe){if("object"!==n(Ee)||null===Ee)return Ee;var Ge=Ee[Symbol.toPrimitive];if(void 0!==Ge){var Be=Ge.call(Ee,pe||"default");if("object"!==n(Be))return Be;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===pe?String:Number)(Ee)}(Ee,"string");return"symbol"===n(pe)?pe:String(pe)}(pe))in Ee?Object.defineProperty(Ee,pe,{value:Ge,enumerable:!0,configurable:!0,writable:!0}):Ee[pe]=Ge,Ee}c.r(o),c.d(o,{BasePortalHost:()=>fe,ComponentPortal:()=>X,DefaultGlobalConfig:()=>ee,DefaultNoAnimationsGlobalConfig:()=>U,DefaultNoComponentGlobalConfig:()=>we,Overlay:()=>st,OverlayContainer:()=>Se,OverlayRef:()=>Ze,TOAST_CONFIG:()=>tt,Toast:()=>Ce,ToastContainerDirective:()=>de,ToastNoAnimation:()=>Oe,ToastNoAnimationModule:()=>ae,ToastPackage:()=>ot,ToastRef:()=>he,ToastrComponentlessModule:()=>G,ToastrModule:()=>j,ToastrService:()=>W,provideToastr:()=>J});var s=c(5879),d=c(6825),u=c(6814),p=c(8645),v=c(6593);const f=["toast-component",""];function y(Ee,pe){if(1&Ee){const Ge=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementStart(0,"button",5),s.\u0275\u0275listener("click",function(){s.\u0275\u0275restoreView(Ge);const xe=s.\u0275\u0275nextContext();return s.\u0275\u0275resetView(xe.remove())}),s.\u0275\u0275elementStart(1,"span",6),s.\u0275\u0275text(2,"\xd7"),s.\u0275\u0275elementEnd()()}}function b(Ee,pe){if(1&Ee&&(s.\u0275\u0275elementContainerStart(0),s.\u0275\u0275text(1),s.\u0275\u0275elementContainerEnd()),2&Ee){const Ge=s.\u0275\u0275nextContext(2);s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1("[",Ge.duplicatesCount+1,"]")}}function _(Ee,pe){if(1&Ee&&(s.\u0275\u0275elementStart(0,"div"),s.\u0275\u0275text(1),s.\u0275\u0275template(2,b,2,1,"ng-container",4),s.\u0275\u0275elementEnd()),2&Ee){const Ge=s.\u0275\u0275nextContext();s.\u0275\u0275classMap(Ge.options.titleClass),s.\u0275\u0275attribute("aria-label",Ge.title),s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1(" ",Ge.title," "),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",Ge.duplicatesCount)}}function w(Ee,pe){if(1&Ee&&s.\u0275\u0275element(0,"div",7),2&Ee){const Ge=s.\u0275\u0275nextContext();s.\u0275\u0275classMap(Ge.options.messageClass),s.\u0275\u0275property("innerHTML",Ge.message,s.\u0275\u0275sanitizeHtml)}}function A(Ee,pe){if(1&Ee&&(s.\u0275\u0275elementStart(0,"div",8),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&Ee){const Ge=s.\u0275\u0275nextContext();s.\u0275\u0275classMap(Ge.options.messageClass),s.\u0275\u0275attribute("aria-label",Ge.message),s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1(" ",Ge.message," ")}}function R(Ee,pe){if(1&Ee&&(s.\u0275\u0275elementStart(0,"div"),s.\u0275\u0275element(1,"div",9),s.\u0275\u0275elementEnd()),2&Ee){const Ge=s.\u0275\u0275nextContext();s.\u0275\u0275advance(1),s.\u0275\u0275styleProp("width",Ge.width+"%")}}function M(Ee,pe){if(1&Ee){const Ge=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementStart(0,"button",5),s.\u0275\u0275listener("click",function(){s.\u0275\u0275restoreView(Ge);const xe=s.\u0275\u0275nextContext();return s.\u0275\u0275resetView(xe.remove())}),s.\u0275\u0275elementStart(1,"span",6),s.\u0275\u0275text(2,"\xd7"),s.\u0275\u0275elementEnd()()}}function Y(Ee,pe){if(1&Ee&&(s.\u0275\u0275elementContainerStart(0),s.\u0275\u0275text(1),s.\u0275\u0275elementContainerEnd()),2&Ee){const Ge=s.\u0275\u0275nextContext(2);s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1("[",Ge.duplicatesCount+1,"]")}}function $(Ee,pe){if(1&Ee&&(s.\u0275\u0275elementStart(0,"div"),s.\u0275\u0275text(1),s.\u0275\u0275template(2,Y,2,1,"ng-container",4),s.\u0275\u0275elementEnd()),2&Ee){const Ge=s.\u0275\u0275nextContext();s.\u0275\u0275classMap(Ge.options.titleClass),s.\u0275\u0275attribute("aria-label",Ge.title),s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1(" ",Ge.title," "),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",Ge.duplicatesCount)}}function ne(Ee,pe){if(1&Ee&&s.\u0275\u0275element(0,"div",7),2&Ee){const Ge=s.\u0275\u0275nextContext();s.\u0275\u0275classMap(Ge.options.messageClass),s.\u0275\u0275property("innerHTML",Ge.message,s.\u0275\u0275sanitizeHtml)}}function z(Ee,pe){if(1&Ee&&(s.\u0275\u0275elementStart(0,"div",8),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&Ee){const Ge=s.\u0275\u0275nextContext();s.\u0275\u0275classMap(Ge.options.messageClass),s.\u0275\u0275attribute("aria-label",Ge.message),s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1(" ",Ge.message," ")}}function K(Ee,pe){if(1&Ee&&(s.\u0275\u0275elementStart(0,"div"),s.\u0275\u0275element(1,"div",9),s.\u0275\u0275elementEnd()),2&Ee){const Ge=s.\u0275\u0275nextContext();s.\u0275\u0275advance(1),s.\u0275\u0275styleProp("width",Ge.width+"%")}}let de=(()=>{var Ee;class pe{constructor(Be){m(this,"el",void 0),this.el=Be}getContainerElement(){return this.el.nativeElement}}return Ee=pe,m(pe,"\u0275fac",function(Be){return new(Be||Ee)(s.\u0275\u0275directiveInject(s.ElementRef))}),m(pe,"\u0275dir",s.\u0275\u0275defineDirective({type:Ee,selectors:[["","toastContainer",""]],exportAs:["toastContainer"],standalone:!0})),pe})();class X{constructor(pe,Ge){m(this,"_attachedHost",void 0),m(this,"component",void 0),m(this,"viewContainerRef",void 0),m(this,"injector",void 0),this.component=pe,this.injector=Ge}attach(pe,Ge){return this._attachedHost=pe,pe.attach(this,Ge)}detach(){const pe=this._attachedHost;if(pe)return this._attachedHost=void 0,pe.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(pe){this._attachedHost=pe}}class fe{constructor(){m(this,"_attachedPortal",void 0),m(this,"_disposeFn",void 0)}attach(pe,Ge){return this._attachedPortal=pe,this.attachComponentPortal(pe,Ge)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(pe){this._disposeFn=pe}}class he{constructor(pe){m(this,"_overlayRef",void 0),m(this,"componentInstance",void 0),m(this,"duplicatesCount",0),m(this,"_afterClosed",new p.x),m(this,"_activate",new p.x),m(this,"_manualClose",new p.x),m(this,"_resetTimeout",new p.x),m(this,"_countDuplicate",new p.x),this._overlayRef=pe}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(pe,Ge){pe&&this._resetTimeout.next(),Ge&&this._countDuplicate.next(++this.duplicatesCount)}}class ot{constructor(pe,Ge,Be,xe,at,ge){m(this,"toastId",void 0),m(this,"config",void 0),m(this,"message",void 0),m(this,"title",void 0),m(this,"toastType",void 0),m(this,"toastRef",void 0),m(this,"_onTap",new p.x),m(this,"_onAction",new p.x),this.toastId=pe,this.config=Ge,this.message=Be,this.title=xe,this.toastType=at,this.toastRef=ge,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(pe){this._onAction.next(pe)}onAction(){return this._onAction.asObservable()}}const we={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"},tt=new s.InjectionToken("ToastConfig");class nt extends fe{constructor(pe,Ge,Be){super(),m(this,"_hostDomElement",void 0),m(this,"_componentFactoryResolver",void 0),m(this,"_appRef",void 0),this._hostDomElement=pe,this._componentFactoryResolver=Ge,this._appRef=Be}attachComponentPortal(pe,Ge){const Be=this._componentFactoryResolver.resolveComponentFactory(pe.component);let xe;return xe=Be.create(pe.injector),this._appRef.attachView(xe.hostView),this.setDisposeFn(()=>{this._appRef.detachView(xe.hostView),xe.destroy()}),Ge?this._hostDomElement.insertBefore(this._getComponentRootNode(xe),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(xe)),xe}_getComponentRootNode(pe){return pe.hostView.rootNodes[0]}}let Se=(()=>{var Ee;class pe{constructor(){m(this,"_document",(0,s.inject)(u.DOCUMENT)),m(this,"_containerElement",void 0)}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Be=this._document.createElement("div");Be.classList.add("overlay-container"),Be.setAttribute("aria-live","polite"),this._document.body.appendChild(Be),this._containerElement=Be}}return Ee=pe,m(pe,"\u0275fac",function(Be){return new(Be||Ee)}),m(pe,"\u0275prov",s.\u0275\u0275defineInjectable({token:Ee,factory:Ee.\u0275fac,providedIn:"root"})),pe})();class Ze{constructor(pe){m(this,"_portalHost",void 0),this._portalHost=pe}attach(pe,Ge=!0){return this._portalHost.attach(pe,Ge)}detach(){return this._portalHost.detach()}}let st=(()=>{var Ee;class pe{constructor(){m(this,"_overlayContainer",(0,s.inject)(Se)),m(this,"_componentFactoryResolver",(0,s.inject)(s.ComponentFactoryResolver)),m(this,"_appRef",(0,s.inject)(s.ApplicationRef)),m(this,"_document",(0,s.inject)(u.DOCUMENT)),m(this,"_paneElements",new Map)}create(Be,xe){return this._createOverlayRef(this.getPaneElement(Be,xe))}getPaneElement(Be="",xe){return this._paneElements.get(xe)||this._paneElements.set(xe,{}),this._paneElements.get(xe)[Be]||(this._paneElements.get(xe)[Be]=this._createPaneElement(Be,xe)),this._paneElements.get(xe)[Be]}_createPaneElement(Be,xe){const at=this._document.createElement("div");return at.id="toast-container",at.classList.add(Be),at.classList.add("toast-container"),xe?xe.getContainerElement().appendChild(at):this._overlayContainer.getContainerElement().appendChild(at),at}_createPortalHost(Be){return new nt(Be,this._componentFactoryResolver,this._appRef)}_createOverlayRef(Be){return new Ze(this._createPortalHost(Be))}}return Ee=pe,m(pe,"\u0275fac",function(Be){return new(Be||Ee)}),m(pe,"\u0275prov",s.\u0275\u0275defineInjectable({token:Ee,factory:Ee.\u0275fac,providedIn:"root"})),pe})(),W=(()=>{var Ee;class pe{constructor(Be,xe,at,ge,Me){m(this,"overlay",void 0),m(this,"_injector",void 0),m(this,"sanitizer",void 0),m(this,"ngZone",void 0),m(this,"toastrConfig",void 0),m(this,"currentlyActive",0),m(this,"toasts",[]),m(this,"overlayContainer",void 0),m(this,"previousToastMessage",void 0),m(this,"index",0),this.overlay=xe,this._injector=at,this.sanitizer=ge,this.ngZone=Me,this.toastrConfig={...Be.default,...Be.config},Be.config.iconClasses&&(this.toastrConfig.iconClasses={...Be.default.iconClasses,...Be.config.iconClasses})}show(Be,xe,at={},ge=""){return this._preBuildNotification(ge,Be,xe,this.applyConfig(at))}success(Be,xe,at={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",Be,xe,this.applyConfig(at))}error(Be,xe,at={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",Be,xe,this.applyConfig(at))}info(Be,xe,at={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",Be,xe,this.applyConfig(at))}warning(Be,xe,at={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",Be,xe,this.applyConfig(at))}clear(Be){for(const xe of this.toasts)if(void 0!==Be){if(xe.toastId===Be)return void xe.toastRef.manualClose()}else xe.toastRef.manualClose()}remove(Be){const xe=this._findToast(Be);if(!xe||(xe.activeToast.toastRef.close(),this.toasts.splice(xe.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 at=this.toasts[this.currentlyActive].toastRef;at.isInactive()||(this.currentlyActive=this.currentlyActive+1,at.activate())}return!0}findDuplicate(Be="",xe="",at,ge){const{includeTitleDuplicates:Me}=this.toastrConfig;for(const Ke of this.toasts)if((!Me||Me&&Ke.title===Be)&&Ke.message===xe)return Ke.toastRef.onDuplicate(at,ge),Ke;return null}applyConfig(Be={}){return{...this.toastrConfig,...Be}}_findToast(Be){for(let xe=0;xe<this.toasts.length;xe++)if(this.toasts[xe].toastId===Be)return{index:xe,activeToast:this.toasts[xe]};return null}_preBuildNotification(Be,xe,at,ge){return ge.onActivateTick?this.ngZone.run(()=>this._buildNotification(Be,xe,at,ge)):this._buildNotification(Be,xe,at,ge)}_buildNotification(Be,xe,at,ge){if(!ge.toastComponent)throw new Error("toastComponent required");const Me=this.findDuplicate(at,xe,this.toastrConfig.resetTimeoutOnDuplicate&&ge.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&at||xe)&&this.toastrConfig.preventDuplicates&&null!==Me)return Me;this.previousToastMessage=xe;let Ke=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(Ke=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const ye=this.overlay.create(ge.positionClass,this.overlayContainer);this.index=this.index+1;let ht=xe;xe&&ge.enableHtml&&(ht=this.sanitizer.sanitize(s.SecurityContext.HTML,xe));const gt=new he(ye),qe=new ot(this.index,ge,ht,at,Be,gt),$e=s.Injector.create({providers:[{provide:ot,useValue:qe}],parent:this._injector}),Ne=new X(ge.toastComponent,$e),et=ye.attach(Ne,ge.newestOnTop);gt.componentInstance=et.instance;const dt={toastId:this.index,title:at||"",message:xe||"",toastRef:gt,onShown:gt.afterActivate(),onHidden:gt.afterClosed(),onTap:qe.onTap(),onAction:qe.onAction(),portal:et};return Ke||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{dt.toastRef.activate()})),this.toasts.push(dt),dt}}return Ee=pe,m(pe,"\u0275fac",function(Be){return new(Be||Ee)(s.\u0275\u0275inject(tt),s.\u0275\u0275inject(st),s.\u0275\u0275inject(s.Injector),s.\u0275\u0275inject(v.DomSanitizer),s.\u0275\u0275inject(s.NgZone))}),m(pe,"\u0275prov",s.\u0275\u0275defineInjectable({token:Ee,factory:Ee.\u0275fac,providedIn:"root"})),pe})(),Ce=(()=>{var Ee;class pe{get displayStyle(){if("inactive"===this.state.value)return"none"}constructor(Be,xe,at){m(this,"toastrService",void 0),m(this,"toastPackage",void 0),m(this,"ngZone",void 0),m(this,"message",void 0),m(this,"title",void 0),m(this,"options",void 0),m(this,"duplicatesCount",void 0),m(this,"originalTimeout",void 0),m(this,"width",-1),m(this,"toastClasses",""),m(this,"state",void 0),m(this,"timeout",void 0),m(this,"intervalId",void 0),m(this,"hideTime",void 0),m(this,"sub",void 0),m(this,"sub1",void 0),m(this,"sub2",void 0),m(this,"sub3",void 0),this.toastrService=Be,this.toastPackage=xe,this.ngZone=at,this.message=xe.message,this.title=xe.title,this.options=xe.config,this.originalTimeout=xe.config.timeOut,this.toastClasses=`${xe.toastType} ${xe.config.toastClass}`,this.sub=xe.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=xe.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=xe.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=xe.toastRef.countDuplicate().subscribe(ge=>{this.duplicatesCount=ge}),this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}}}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state={...this.state,value:"active"},!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const Be=(new Date).getTime();this.width=(this.hideTime-Be)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state={...this.state,value:"active"},this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state={...this.state,value:"removed"},this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&"extendedTimeOut"!==this.options.disableTimeOut&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state.value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(Be,xe){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(Be),xe)):this.timeout=setTimeout(()=>Be(),xe)}outsideInterval(Be,xe){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(Be),xe)):this.intervalId=setInterval(()=>Be(),xe)}runInsideAngular(Be){this.ngZone?this.ngZone.run(()=>Be()):Be()}}return Ee=pe,m(pe,"\u0275fac",function(Be){return new(Be||Ee)(s.\u0275\u0275directiveInject(W),s.\u0275\u0275directiveInject(ot),s.\u0275\u0275directiveInject(s.NgZone))}),m(pe,"\u0275cmp",s.\u0275\u0275defineComponent({type:Ee,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(Be,xe){1&Be&&s.\u0275\u0275listener("click",function(){return xe.tapToast()})("mouseenter",function(){return xe.stickAround()})("mouseleave",function(){return xe.delayedHideToast()}),2&Be&&(s.\u0275\u0275syntheticHostProperty("@flyInOut",xe.state),s.\u0275\u0275classMap(xe.toastClasses),s.\u0275\u0275styleProp("display",xe.displayStyle))},standalone:!0,features:[s.\u0275\u0275StandaloneFeature],attrs:f,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(Be,xe){1&Be&&(s.\u0275\u0275template(0,y,3,0,"button",0),s.\u0275\u0275template(1,_,3,5,"div",1),s.\u0275\u0275template(2,w,1,3,"div",2),s.\u0275\u0275template(3,A,2,4,"div",3),s.\u0275\u0275template(4,R,2,2,"div",4)),2&Be&&(s.\u0275\u0275property("ngIf",xe.options.closeButton),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",xe.title),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",xe.message&&xe.options.enableHtml),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",xe.message&&!xe.options.enableHtml),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",xe.options.progressBar))},dependencies:[u.NgIf],encapsulation:2,data:{animation:[(0,d.X$)("flyInOut",[(0,d.SB)("inactive",(0,d.oB)({opacity:0})),(0,d.SB)("active",(0,d.oB)({opacity:1})),(0,d.SB)("removed",(0,d.oB)({opacity:0})),(0,d.eR)("inactive => active",(0,d.jt)("{{ easeTime }}ms {{ easing }}")),(0,d.eR)("active => removed",(0,d.jt)("{{ easeTime }}ms {{ easing }}"))])]}})),pe})();const ee={...we,toastComponent:Ce},J=(Ee={})=>(0,s.makeEnvironmentProviders)([{provide:tt,useValue:{default:ee,config:Ee}}]);let j=(()=>{var Ee;class pe{static forRoot(Be={}){return{ngModule:pe,providers:[J(Be)]}}}return Ee=pe,m(pe,"\u0275fac",function(Be){return new(Be||Ee)}),m(pe,"\u0275mod",s.\u0275\u0275defineNgModule({type:Ee})),m(pe,"\u0275inj",s.\u0275\u0275defineInjector({})),pe})(),G=(()=>{var Ee;class pe{static forRoot(Be={}){return{ngModule:j,providers:[{provide:tt,useValue:{default:we,config:Be}}]}}}return Ee=pe,m(pe,"\u0275fac",function(Be){return new(Be||Ee)}),m(pe,"\u0275mod",s.\u0275\u0275defineNgModule({type:Ee})),m(pe,"\u0275inj",s.\u0275\u0275defineInjector({})),pe})(),Oe=(()=>{var Ee;class pe{get displayStyle(){if("inactive"===this.state)return"none"}constructor(Be,xe,at){m(this,"toastrService",void 0),m(this,"toastPackage",void 0),m(this,"appRef",void 0),m(this,"message",void 0),m(this,"title",void 0),m(this,"options",void 0),m(this,"duplicatesCount",void 0),m(this,"originalTimeout",void 0),m(this,"width",-1),m(this,"toastClasses",""),m(this,"state","inactive"),m(this,"timeout",void 0),m(this,"intervalId",void 0),m(this,"hideTime",void 0),m(this,"sub",void 0),m(this,"sub1",void 0),m(this,"sub2",void 0),m(this,"sub3",void 0),this.toastrService=Be,this.toastPackage=xe,this.appRef=at,this.message=xe.message,this.title=xe.title,this.options=xe.config,this.originalTimeout=xe.config.timeOut,this.toastClasses=`${xe.toastType} ${xe.config.toastClass}`,this.sub=xe.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=xe.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=xe.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=xe.toastRef.countDuplicate().subscribe(ge=>{this.duplicatesCount=ge})}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 Be=(new Date).getTime();this.width=(this.hideTime-Be)/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 Ee=pe,m(pe,"\u0275fac",function(Be){return new(Be||Ee)(s.\u0275\u0275directiveInject(W),s.\u0275\u0275directiveInject(ot),s.\u0275\u0275directiveInject(s.ApplicationRef))}),m(pe,"\u0275cmp",s.\u0275\u0275defineComponent({type:Ee,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(Be,xe){1&Be&&s.\u0275\u0275listener("click",function(){return xe.tapToast()})("mouseenter",function(){return xe.stickAround()})("mouseleave",function(){return xe.delayedHideToast()}),2&Be&&(s.\u0275\u0275classMap(xe.toastClasses),s.\u0275\u0275styleProp("display",xe.displayStyle))},standalone:!0,features:[s.\u0275\u0275StandaloneFeature],attrs:f,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(Be,xe){1&Be&&(s.\u0275\u0275template(0,M,3,0,"button",0),s.\u0275\u0275template(1,$,3,5,"div",1),s.\u0275\u0275template(2,ne,1,3,"div",2),s.\u0275\u0275template(3,z,2,4,"div",3),s.\u0275\u0275template(4,K,2,2,"div",4)),2&Be&&(s.\u0275\u0275property("ngIf",xe.options.closeButton),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",xe.title),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",xe.message&&xe.options.enableHtml),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",xe.message&&!xe.options.enableHtml),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",xe.options.progressBar))},dependencies:[u.NgIf],encapsulation:2})),pe})();const U={...we,toastComponent:Oe};let ae=(()=>{var Ee;class pe{static forRoot(Be={}){return{ngModule:pe,providers:[{provide:tt,useValue:{default:U,config:Be}}]}}}return Ee=pe,m(pe,"\u0275fac",function(Be){return new(Be||Ee)}),m(pe,"\u0275mod",s.\u0275\u0275defineNgModule({type:Ee})),m(pe,"\u0275inj",s.\u0275\u0275defineInjector({})),pe})()},7582:(Z,o,c)=>{"use strict";c.r(o),c.d(o,{__addDisposableResource:()=>Ze,__assign:()=>g,__asyncDelegator:()=>de,__asyncGenerator:()=>K,__asyncValues:()=>X,__await:()=>z,__awaiter:()=>b,__classPrivateFieldGet:()=>tt,__classPrivateFieldIn:()=>Se,__classPrivateFieldSet:()=>nt,__createBinding:()=>w,__decorate:()=>s,__disposeResources:()=>W,__esDecorate:()=>u,__exportStar:()=>A,__extends:()=>a,__generator:()=>_,__importDefault:()=>we,__importStar:()=>ot,__makeTemplateObject:()=>fe,__metadata:()=>y,__param:()=>d,__propKey:()=>v,__read:()=>M,__rest:()=>m,__runInitializers:()=>p,__setFunctionName:()=>f,__spread:()=>Y,__spreadArray:()=>ne,__spreadArrays:()=>$,__values:()=>R,default:()=>Ce});var n=function(ee,J){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(j,G){j.__proto__=G}||function(j,G){for(var Oe in G)Object.prototype.hasOwnProperty.call(G,Oe)&&(j[Oe]=G[Oe])})(ee,J)};function a(ee,J){if("function"!=typeof J&&null!==J)throw new TypeError("Class extends value "+String(J)+" is not a constructor or null");function j(){this.constructor=ee}n(ee,J),ee.prototype=null===J?Object.create(J):(j.prototype=J.prototype,new j)}var g=function(){return g=Object.assign||function(J){for(var j,G=1,Oe=arguments.length;G<Oe;G++)for(var U in j=arguments[G])Object.prototype.hasOwnProperty.call(j,U)&&(J[U]=j[U]);return J},g.apply(this,arguments)};function m(ee,J){var j={};for(var G in ee)Object.prototype.hasOwnProperty.call(ee,G)&&J.indexOf(G)<0&&(j[G]=ee[G]);if(null!=ee&&"function"==typeof Object.getOwnPropertySymbols){var Oe=0;for(G=Object.getOwnPropertySymbols(ee);Oe<G.length;Oe++)J.indexOf(G[Oe])<0&&Object.prototype.propertyIsEnumerable.call(ee,G[Oe])&&(j[G[Oe]]=ee[G[Oe]])}return j}function s(ee,J,j,G){var ae,Oe=arguments.length,U=Oe<3?J:null===G?G=Object.getOwnPropertyDescriptor(J,j):G;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)U=Reflect.decorate(ee,J,j,G);else for(var Ee=ee.length-1;Ee>=0;Ee--)(ae=ee[Ee])&&(U=(Oe<3?ae(U):Oe>3?ae(J,j,U):ae(J,j))||U);return Oe>3&&U&&Object.defineProperty(J,j,U),U}function d(ee,J){return function(j,G){J(j,G,ee)}}function u(ee,J,j,G,Oe,U){function ae(ht){if(void 0!==ht&&"function"!=typeof ht)throw new TypeError("Function expected");return ht}for(var xe,Ee=G.kind,pe="getter"===Ee?"get":"setter"===Ee?"set":"value",Ge=!J&&ee?G.static?ee:ee.prototype:null,Be=J||(Ge?Object.getOwnPropertyDescriptor(Ge,G.name):{}),at=!1,ge=j.length-1;ge>=0;ge--){var Me={};for(var Ke in G)Me[Ke]="access"===Ke?{}:G[Ke];for(var Ke in G.access)Me.access[Ke]=G.access[Ke];Me.addInitializer=function(ht){if(at)throw new TypeError("Cannot add initializers after decoration has completed");U.push(ae(ht||null))};var ye=(0,j[ge])("accessor"===Ee?{get:Be.get,set:Be.set}:Be[pe],Me);if("accessor"===Ee){if(void 0===ye)continue;if(null===ye||"object"!=typeof ye)throw new TypeError("Object expected");(xe=ae(ye.get))&&(Be.get=xe),(xe=ae(ye.set))&&(Be.set=xe),(xe=ae(ye.init))&&Oe.unshift(xe)}else(xe=ae(ye))&&("field"===Ee?Oe.unshift(xe):Be[pe]=xe)}Ge&&Object.defineProperty(Ge,G.name,Be),at=!0}function p(ee,J,j){for(var G=arguments.length>2,Oe=0;Oe<J.length;Oe++)j=G?J[Oe].call(ee,j):J[Oe].call(ee);return G?j:void 0}function v(ee){return"symbol"==typeof ee?ee:"".concat(ee)}function f(ee,J,j){return"symbol"==typeof J&&(J=J.description?"[".concat(J.description,"]"):""),Object.defineProperty(ee,"name",{configurable:!0,value:j?"".concat(j," ",J):J})}function y(ee,J){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(ee,J)}function b(ee,J,j,G){return new(j||(j=Promise))(function(U,ae){function Ee(Be){try{Ge(G.next(Be))}catch(xe){ae(xe)}}function pe(Be){try{Ge(G.throw(Be))}catch(xe){ae(xe)}}function Ge(Be){Be.done?U(Be.value):function Oe(U){return U instanceof j?U:new j(function(ae){ae(U)})}(Be.value).then(Ee,pe)}Ge((G=G.apply(ee,J||[])).next())})}function _(ee,J){var G,Oe,U,ae,j={label:0,sent:function(){if(1&U[0])throw U[1];return U[1]},trys:[],ops:[]};return ae={next:Ee(0),throw:Ee(1),return:Ee(2)},"function"==typeof Symbol&&(ae[Symbol.iterator]=function(){return this}),ae;function Ee(Ge){return function(Be){return function pe(Ge){if(G)throw new TypeError("Generator is already executing.");for(;ae&&(ae=0,Ge[0]&&(j=0)),j;)try{if(G=1,Oe&&(U=2&Ge[0]?Oe.return:Ge[0]?Oe.throw||((U=Oe.return)&&U.call(Oe),0):Oe.next)&&!(U=U.call(Oe,Ge[1])).done)return U;switch(Oe=0,U&&(Ge=[2&Ge[0],U.value]),Ge[0]){case 0:case 1:U=Ge;break;case 4:return j.label++,{value:Ge[1],done:!1};case 5:j.label++,Oe=Ge[1],Ge=[0];continue;case 7:Ge=j.ops.pop(),j.trys.pop();continue;default:if(!(U=(U=j.trys).length>0&&U[U.length-1])&&(6===Ge[0]||2===Ge[0])){j=0;continue}if(3===Ge[0]&&(!U||Ge[1]>U[0]&&Ge[1]<U[3])){j.label=Ge[1];break}if(6===Ge[0]&&j.label<U[1]){j.label=U[1],U=Ge;break}if(U&&j.label<U[2]){j.label=U[2],j.ops.push(Ge);break}U[2]&&j.ops.pop(),j.trys.pop();continue}Ge=J.call(ee,j)}catch(Be){Ge=[6,Be],Oe=0}finally{G=U=0}if(5&Ge[0])throw Ge[1];return{value:Ge[0]?Ge[1]:void 0,done:!0}}([Ge,Be])}}}var w=Object.create?function(ee,J,j,G){void 0===G&&(G=j);var Oe=Object.getOwnPropertyDescriptor(J,j);(!Oe||("get"in Oe?!J.__esModule:Oe.writable||Oe.configurable))&&(Oe={enumerable:!0,get:function(){return J[j]}}),Object.defineProperty(ee,G,Oe)}:function(ee,J,j,G){void 0===G&&(G=j),ee[G]=J[j]};function A(ee,J){for(var j in ee)"default"!==j&&!Object.prototype.hasOwnProperty.call(J,j)&&w(J,ee,j)}function R(ee){var J="function"==typeof Symbol&&Symbol.iterator,j=J&&ee[J],G=0;if(j)return j.call(ee);if(ee&&"number"==typeof ee.length)return{next:function(){return ee&&G>=ee.length&&(ee=void 0),{value:ee&&ee[G++],done:!ee}}};throw new TypeError(J?"Object is not iterable.":"Symbol.iterator is not defined.")}function M(ee,J){var j="function"==typeof Symbol&&ee[Symbol.iterator];if(!j)return ee;var Oe,ae,G=j.call(ee),U=[];try{for(;(void 0===J||J-- >0)&&!(Oe=G.next()).done;)U.push(Oe.value)}catch(Ee){ae={error:Ee}}finally{try{Oe&&!Oe.done&&(j=G.return)&&j.call(G)}finally{if(ae)throw ae.error}}return U}function Y(){for(var ee=[],J=0;J<arguments.length;J++)ee=ee.concat(M(arguments[J]));return ee}function $(){for(var ee=0,J=0,j=arguments.length;J<j;J++)ee+=arguments[J].length;var G=Array(ee),Oe=0;for(J=0;J<j;J++)for(var U=arguments[J],ae=0,Ee=U.length;ae<Ee;ae++,Oe++)G[Oe]=U[ae];return G}function ne(ee,J,j){if(j||2===arguments.length)for(var U,G=0,Oe=J.length;G<Oe;G++)(U||!(G in J))&&(U||(U=Array.prototype.slice.call(J,0,G)),U[G]=J[G]);return ee.concat(U||Array.prototype.slice.call(J))}function z(ee){return this instanceof z?(this.v=ee,this):new z(ee)}function K(ee,J,j){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Oe,G=j.apply(ee,J||[]),U=[];return Oe={},ae("next"),ae("throw"),ae("return"),Oe[Symbol.asyncIterator]=function(){return this},Oe;function ae(at){G[at]&&(Oe[at]=function(ge){return new Promise(function(Me,Ke){U.push([at,ge,Me,Ke])>1||Ee(at,ge)})})}function Ee(at,ge){try{!function pe(at){at.value instanceof z?Promise.resolve(at.value.v).then(Ge,Be):xe(U[0][2],at)}(G[at](ge))}catch(Me){xe(U[0][3],Me)}}function Ge(at){Ee("next",at)}function Be(at){Ee("throw",at)}function xe(at,ge){at(ge),U.shift(),U.length&&Ee(U[0][0],U[0][1])}}function de(ee){var J,j;return J={},G("next"),G("throw",function(Oe){throw Oe}),G("return"),J[Symbol.iterator]=function(){return this},J;function G(Oe,U){J[Oe]=ee[Oe]?function(ae){return(j=!j)?{value:z(ee[Oe](ae)),done:!1}:U?U(ae):ae}:U}}function X(ee){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var j,J=ee[Symbol.asyncIterator];return J?J.call(ee):(ee=R(ee),j={},G("next"),G("throw"),G("return"),j[Symbol.asyncIterator]=function(){return this},j);function G(U){j[U]=ee[U]&&function(ae){return new Promise(function(Ee,pe){!function Oe(U,ae,Ee,pe){Promise.resolve(pe).then(function(Ge){U({value:Ge,done:Ee})},ae)}(Ee,pe,(ae=ee[U](ae)).done,ae.value)})}}}function fe(ee,J){return Object.defineProperty?Object.defineProperty(ee,"raw",{value:J}):ee.raw=J,ee}var he=Object.create?function(ee,J){Object.defineProperty(ee,"default",{enumerable:!0,value:J})}:function(ee,J){ee.default=J};function ot(ee){if(ee&&ee.__esModule)return ee;var J={};if(null!=ee)for(var j in ee)"default"!==j&&Object.prototype.hasOwnProperty.call(ee,j)&&w(J,ee,j);return he(J,ee),J}function we(ee){return ee&&ee.__esModule?ee:{default:ee}}function tt(ee,J,j,G){if("a"===j&&!G)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof J?ee!==J||!G:!J.has(ee))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===j?G:"a"===j?G.call(ee):G?G.value:J.get(ee)}function nt(ee,J,j,G,Oe){if("m"===G)throw new TypeError("Private method is not writable");if("a"===G&&!Oe)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof J?ee!==J||!Oe:!J.has(ee))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===G?Oe.call(ee,j):Oe?Oe.value=j:J.set(ee,j),j}function Se(ee,J){if(null===J||"object"!=typeof J&&"function"!=typeof J)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof ee?J===ee:ee.has(J)}function Ze(ee,J,j){if(null!=J){if("object"!=typeof J&&"function"!=typeof J)throw new TypeError("Object expected.");var G;if(j){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");G=J[Symbol.asyncDispose]}if(void 0===G){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");G=J[Symbol.dispose]}if("function"!=typeof G)throw new TypeError("Object not disposable.");ee.stack.push({value:J,dispose:G,async:j})}else j&&ee.stack.push({async:!0});return J}var st="function"==typeof SuppressedError?SuppressedError:function(ee,J,j){var G=new Error(j);return G.name="SuppressedError",G.error=ee,G.suppressed=J,G};function W(ee){function J(G){ee.error=ee.hasError?new st(G,ee.error,"An error was suppressed during disposal."):G,ee.hasError=!0}return function j(){for(;ee.stack.length;){var G=ee.stack.pop();try{var Oe=G.dispose&&G.dispose.call(G.value);if(G.async)return Promise.resolve(Oe).then(j,function(U){return J(U),j()})}catch(U){J(U)}}if(ee.hasError)throw ee.error}()}const Ce={__extends:a,__assign:g,__rest:m,__decorate:s,__param:d,__metadata:y,__awaiter:b,__generator:_,__createBinding:w,__exportStar:A,__values:R,__read:M,__spread:Y,__spreadArrays:$,__spreadArray:ne,__await:z,__asyncGenerator:K,__asyncDelegator:de,__asyncValues:X,__makeTemplateObject:fe,__importStar:ot,__importDefault:we,__classPrivateFieldGet:tt,__classPrivateFieldSet:nt,__classPrivateFieldIn:Se,__addDisposableResource:Ze,__disposeResources:W}},2598:Z=>{"use strict";Z.exports=JSON.parse('{"name":"@sdkgen/playground","version":"0.0.0-dev.20230925175759","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":"~16.2.3","@angular/animations":"~16.2.6","@angular/cdk":"~16.2.5","@angular/cli":"~16.2.3","@angular/common":"~16.2.6","@angular/compiler":"~16.2.6","@angular/compiler-cli":"~16.2.6","@angular/core":"~16.2.6","@angular/forms":"~16.2.6","@angular/material":"~16.2.5","@angular/platform-browser":"~16.2.6","@angular/platform-browser-dynamic":"~16.2.6","@angular/router":"~16.2.6","@cubos/eslint-config":"^2.2.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":"^20.6.5","angular-split":"^16.2.1","file-saver":"^2.0.5","json":"^11.0.0","monaco-editor":"^0.43.0","ngx-json-viewer":"^3.2.1","ngx-toastr":"^17.0.2","rxjs":"~7.8.1","tslib":"^2.6.2","typescript":"~5.1.3","webpack-bundle-analyzer":"^4.9.1","zone.js":"~0.13.3"}}')}},Z=>{Z(Z.s=4913)}]);
|