@sdkgen/playground 2.0.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ (self.webpackChunksdkgen_playground=self.webpackChunksdkgen_playground||[]).push([[179],{4602:function(G,r){"use strict";var p,a=this&&this.__extends||(p=function(m,u){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,v){_.__proto__=v}||function(_,v){for(var b in v)Object.prototype.hasOwnProperty.call(v,b)&&(_[b]=v[b])})(m,u)},function(m,u){if("function"!=typeof u&&null!==u)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");function _(){this.constructor=m}p(m,u),m.prototype=null===u?Object.create(u):(_.prototype=u.prototype,new _)}),n=this&&this.__spreadArray||function(p,m,u){if(u||2===arguments.length)for(var b,_=0,v=m.length;_<v;_++)(b||!(_ in m))&&(b||(b=Array.prototype.slice.call(m,0,_)),b[_]=m[_]);return p.concat(b||Array.prototype.slice.call(m))};Object.defineProperty(r,"__esModule",{value:!0}),r.decode=r.encode=void 0;var h=["string","email","phone","html","xml"],y=n(["json","bool","url","int","uint","float","money","hex","uuid","base64","void"],h,!0),d=function(p){function m(u,_,v){var b;try{b=JSON.stringify(v)}catch(T){b=String(v)}return p.call(this,"Invalid type at '".concat(u,"', expected ").concat(_,", got ").concat(b))||this}return a(m,p),m}(Error);function o(p,m,u){if("json"===m)return null==u?null:JSON.parse(JSON.stringify(u));if("bool"===m){if("boolean"!=typeof u)throw new d(p,m,u);return u}if(h.indexOf(m)>=0){if("string"!=typeof u)throw new d(p,m,u);return u}if("hex"===m){if("string"!=typeof u||!/^(?:[A-Fa-f0-9]{2})*$/u.test(u))throw new d(p,m,u);return u.toLowerCase()}if("uuid"===m){if("string"!=typeof u||!/^[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(u))throw new d(p,m,u);return u.toLowerCase()}if("base64"===m){var _=!0;try{atob(u)}catch(b){_=!1}if("string"!=typeof u||!_)throw new d(p,m,u);return u}if("int"===m){if("number"!=typeof u||(0|u)!==u)throw new d(p,m,u);return u}if("uint"===m){if("number"!=typeof u||(0|u)!==u||u<0)throw new d(p,m,u);return u}if("float"===m){if("number"!=typeof u)throw new d(p,m,u);return u}if("money"===m){if("number"!=typeof u||!Number.isInteger(u))throw new d(p,m,u);return u}if("url"===m){var v=void 0;if("string"==typeof u)try{v=new URL(u)}catch(b){}if(!v)throw new d(p,m,u);return v.toString()}if("void"===m)return null;throw new Error("Unknown type '".concat(m,"' at '").concat(p,"'"))}r.encode=function c(p,m,u,_){if("string"==typeof u&&!u.endsWith("?")&&"void"!==u&&null==_)throw new Error("Invalid type at '".concat(m,"', cannot be null"));if(Array.isArray(u)){for(var v=0,b=u;v<b.length;v++){var T=b[v];if(T===_)return _;if(Array.isArray(_)&&2===_.length&&T===_[0])return _[0];if(Array.isArray(T)&&2===T.length){if(T[0]===_)return[_,c(p,"".concat(m,".").concat(T[0]),T[1],{})];if(Array.isArray(_)&&2===_.length&&T[0]===_[0])return[_[0],c(p,"".concat(m,".").concat(T[0]),T[1],_[1])]}}throw new d(m,u,_)}if("object"==typeof u){if("object"!=typeof _)throw new d(m,u,_);for(var S={},x=0,A=Object.keys(u);x<A.length;x++){var H=A[x];S[H]=c(p,"".concat(m,".").concat(H),u[H],_[H])}return S}if(u.endsWith("?"))return null==_?null:c(p,m,u.slice(0,u.length-1),_);if(u.endsWith("[]")){if(!Array.isArray(_))throw new d(m,u,_);return _.map(function(Q,J){return c(p,"".concat(m,"[").concat(J,"]"),u.slice(0,u.length-2),Q)})}if(y.indexOf(u)>=0)return o(m,u,_);if("bytes"===u){if(!(_ instanceof ArrayBuffer))throw new d(m,u,_);return btoa(String.fromCharCode.apply(String,new Uint8Array(_)))}if("bigint"===u){if("bigint"!=typeof _)throw new d(m,u,_);return _.toString()}if("cpf"===u){if("string"!=typeof _)throw new d(m,u,_);return _}if("cnpj"===u){if("string"!=typeof _)throw new d(m,u,_);return _}if("date"===u){if((!(_ instanceof Date)||isNaN(_.getTime()))&&("string"!=typeof _||!/^[0-9]{4}-[01][0-9]-[0123][0-9]$/u.test(_)))throw new d(m,u,_);return"string"==typeof _?new Date(_).toISOString().split("T")[0]:_.toISOString().split("T")[0]}if("datetime"===u){if((!(_ instanceof Date)||isNaN(_.getTime()))&&("string"!=typeof _||!/^[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(_)))throw new d(m,u,_);return("string"==typeof _?new Date(_):_).toISOString().replace("Z","")}var Z=p[u];if(Z)return c(p,m,Z,_);throw new Error("Unknown type '".concat(u,"' at '").concat(m,"'"))},r.decode=function f(p,m,u,_){if("string"==typeof u&&!u.endsWith("?")&&"void"!==u&&null==_)throw new Error("Invalid type at '".concat(m,"', cannot be null"));if(Array.isArray(u)){for(var v=0,b=u;v<b.length;v++){var T=b[v];if(T===_)return _;if(Array.isArray(_)&&2===_.length&&T===_[0])return _[0];if(Array.isArray(T)&&2===T.length){if(T[0]===_)return[_,f(p,"".concat(m,".").concat(T[0]),T[1],{})];if(Array.isArray(_)&&2===_.length&&T[0]===_[0])return[_[0],f(p,"".concat(m,".").concat(T[0]),T[1],_[1])]}}throw new d(m,u,_)}if("object"==typeof u){if("object"!=typeof _)throw new d(m,u,_);for(var S={},x=0,A=Object.keys(u);x<A.length;x++){var H=A[x];S[H]=f(p,"".concat(m,".").concat(H),u[H],_[H])}return S}if(u.endsWith("?"))return null==_?null:f(p,m,u.slice(0,u.length-1),_);if(u.endsWith("[]")){if(!Array.isArray(_))throw new d(m,u,_);return _.map(function(ae,me){return f(p,"".concat(m,"[").concat(me,"]"),u.slice(0,u.length-2),ae)})}if(y.indexOf(u)>=0)return o(m,u,_);if("bytes"!==u){if("bigint"===u){if("number"!=typeof _&&("string"!=typeof _||!/^-?[0-9]+$/u.test(_)))throw new d(m,u,_);return BigInt(_)}if("cpf"===u){if("string"!=typeof _)throw new d(m,u,_);return _}if("cnpj"===u){if("string"!=typeof _)throw new d(m,u,_);return _}if("date"===u){if("string"!=typeof _||!/^[0-9]{4}-[01][0-9]-[0123][0-9]$/u.test(_))throw new d(m,u,_);var Z=parseInt(_.split("-")[2],10),Q=parseInt(_.split("-")[1],10)-1,J=parseInt(_.split("-")[0],10),z=new Date(J,Q,Z);if(z.getFullYear()!==J||z.getMonth()!==Q||z.getDate()!==Z)throw new d(m,u,_);return z}if("datetime"===u){if("string"!=typeof _||!/^[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(_))throw new d(m,u,_);return new Date("".concat(_.endsWith("Z")?_:_.concat("Z")))}var se=p[u];if(se)return f(p,m,se,_);throw new Error("Unknown type '".concat(u,"' at '").concat(m,"'"))}if("string"!=typeof _)throw new d(m,"".concat(u," (base 64)"),_);try{return Uint8Array.from(atob(_),function(ae){return ae.charCodeAt(0)})}catch(ae){throw new d(m,"".concat(u," (base 64)"),_)}}},2837:function(G,r){"use strict";var y,a=this&&this.__extends||(y=function(d,o){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&(c[p]=f[p])})(d,o)},function(d,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function c(){this.constructor=d}y(d,o),d.prototype=null===o?Object.create(o):(c.prototype=o.prototype,new c)});Object.defineProperty(r,"__esModule",{value:!0}),r.SdkgenErrorWithData=r.SdkgenError=void 0;var n=function(y){function d(){return null!==y&&y.apply(this,arguments)||this}return a(d,y),Object.defineProperty(d.prototype,"type",{get:function(){return this.constructor.name},enumerable:!1,configurable:!0}),d.prototype.toJSON=function(){return{message:this.message,type:this.type}},d}(Error);r.SdkgenError=n;var h=function(y){function d(o,c){var f=y.call(this,o)||this;return f.data=c,f}return a(d,y),d.prototype.toJSON=function(){return{data:this.data,message:this.message,type:this.type}},d}(n);r.SdkgenErrorWithData=h},2062:function(G,r,a){"use strict";var n=this&&this.__awaiter||function(m,u,_,v){return new(_||(_=Promise))(function(T,S){function x(Z){try{H(v.next(Z))}catch(Q){S(Q)}}function A(Z){try{H(v.throw(Z))}catch(Q){S(Q)}}function H(Z){Z.done?T(Z.value):function b(T){return T instanceof _?T:new _(function(S){S(T)})}(Z.value).then(x,A)}H((v=v.apply(m,u||[])).next())})},h=this&&this.__generator||function(m,u){var v,b,T,S,_={label:0,sent:function(){if(1&T[0])throw T[1];return T[1]},trys:[],ops:[]};return S={next:x(0),throw:x(1),return:x(2)},"function"==typeof Symbol&&(S[Symbol.iterator]=function(){return this}),S;function x(H){return function(Z){return function A(H){if(v)throw new TypeError("Generator is already executing.");for(;_;)try{if(v=1,b&&(T=2&H[0]?b.return:H[0]?b.throw||((T=b.return)&&T.call(b),0):b.next)&&!(T=T.call(b,H[1])).done)return T;switch(b=0,T&&(H=[2&H[0],T.value]),H[0]){case 0:case 1:T=H;break;case 4:return _.label++,{value:H[1],done:!1};case 5:_.label++,b=H[1],H=[0];continue;case 7:H=_.ops.pop(),_.trys.pop();continue;default:if(!(T=(T=_.trys).length>0&&T[T.length-1])&&(6===H[0]||2===H[0])){_=0;continue}if(3===H[0]&&(!T||H[1]>T[0]&&H[1]<T[3])){_.label=H[1];break}if(6===H[0]&&_.label<T[1]){_.label=T[1],T=H;break}if(T&&_.label<T[2]){_.label=T[2],_.ops.push(H);break}T[2]&&_.ops.pop(),_.trys.pop();continue}H=u.call(m,_)}catch(Z){H=[6,Z],b=0}finally{v=T=0}if(5&H[0])throw H[1];return{value:H[0]?H[1]:void 0,done:!0}}([H,Z])}}};Object.defineProperty(r,"__esModule",{value:!0}),r.SdkgenHttpClient=void 0;var y=a(4602);function d(m){for(var u="",_=0;_<2*m;++_)u+="0123456789abcdef"[Math.floor(16*Math.random())];return u}var o=d(20);function c(){try{var m=localStorage.getItem("deviceId");return m||(m=o,localStorage.setItem("deviceId",m)),m}catch(u){}return o}function f(m,u){return u in m}var p=function(){function m(u,_,v){this.astJson=_,this.errClasses=v,this.extra=new Map,this.successHook=function(){},this.errorHook=function(){},this.baseUrl=u}return m.prototype.makeRequest=function(u,_){var v,b;return n(this,void 0,void 0,function(){var T,S,x,A,H,Z=this;return h(this,function(Q){switch(Q.label){case 0:if(!(T=this.astJson.functionTable[u]))throw new Error("Unknown function ".concat(u));return S={},this.extra.forEach(function(J,z){S[z]=J}),x={args:(0,y.encode)(this.astJson.typeTable,"".concat(u,".args"),T.args,_),deviceInfo:{id:c(),language:navigator.language,platform:{browserUserAgent:navigator.userAgent},timezone:"object"==typeof Intl?Intl.DateTimeFormat().resolvedOptions().timeZone:null,type:"web",version:null!==(b=null===(v=document.currentScript)||void 0===v?void 0:v.getAttribute("src"))&&void 0!==b?b:""},extra:S,name:u,requestId:d(16),version:3},[4,new Promise(function(J,z){var se=new XMLHttpRequest;se.open("POST","".concat(Z.baseUrl,"/").concat(u)),se.setRequestHeader("Content-Type","application/sdkgen"),se.onreadystatechange=function(){if(4===se.readyState)try{var ae=JSON.parse(se.responseText);try{f(ae,"error")&&ae.error?(z(ae.error),Z.errorHook(ae.error,u,_)):J(f(ae,"result")?ae.result:null)}catch(Te){var me={message:"".concat(Te),type:"Fatal"};z(me),Z.errorHook(me,u,_)}}catch(Te){z(me={message:"Falha de conex\xe3o com o servidor",type:"Fatal"}),Z.errorHook(me,u,_)}},se.send(JSON.stringify(x))}).catch(function(J){if(Z.errorHook(J,u,_),f(J,"type")&&f(J,"message")&&"string"==typeof J.type&&"string"==typeof J.message){var z=Z.errClasses[J.type];if(z){var se=Z.astJson.errors.find(function(ae){return Array.isArray(ae)?ae[0]===J.type:ae===J.type});if(se)throw Array.isArray(se)&&f(J,"data")?new z(J.message,(0,y.decode)(Z.astJson.typeTable,"".concat(z.name,".data"),se[1],J.data)):new z(J.message,void 0)}throw new Z.errClasses.Fatal("".concat(J.type,": ").concat(J.message))}throw J})];case 1:return A=Q.sent(),H=(0,y.decode)(this.astJson.typeTable,"".concat(u,".ret"),T.ret,A),this.successHook(H,u,_),[2,H]}})})},m}();r.SdkgenHttpClient=p},4539:function(G,r,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(y,d,o,c){void 0===c&&(c=o);var f=Object.getOwnPropertyDescriptor(d,o);(!f||("get"in f?!d.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return d[o]}}),Object.defineProperty(y,c,f)}:function(y,d,o,c){void 0===c&&(c=o),y[c]=d[o]}),h=this&&this.__exportStar||function(y,d){for(var o in y)"default"!==o&&!Object.prototype.hasOwnProperty.call(d,o)&&n(d,y,o)};Object.defineProperty(r,"__esModule",{value:!0}),h(a(2837),r),h(a(2062),r)},3905:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.generateCSharpServerSource=void 0;const n=a(6676),h=a(4510);r.generateCSharpServerSource=function y(d){let o="using System;\nusing System.Collections.Generic;\nusing System.Globalization;\nusing System.Numerics;\nusing System.Text.Json;\nusing System.Threading.Tasks;\nusing static Sdkgen.Runtime;\nusing static Sdkgen.Context;\nusing static Sdkgen.Helpers;\n\nnamespace SdkgenGenerated\n{\n public abstract class Api : BaseApi\n {";for(const c of d.operations){const f=c.returnType instanceof n.VoidPrimitiveType?"":`<${(0,h.generateTypeName)(c.returnType)}>`;o+=`\n public virtual Task${f} ${(0,h.capitalize)(c.name)}(${["Context ctx",...c.args.map(p=>`${(0,h.generateTypeName)(p.type)} ${(0,h.ident)(p.name)}`)].join(", ")})\n {\n return Task.FromException${f}(new FatalException("Function '${c.name}' not implemented."));\n }\n`}o+="\n public async Task ExecuteFunction(Context context_, Utf8JsonWriter resultWriter_)\n {\n switch (context_.Name)\n {";for(const c of d.operations){o+=`\n case ${JSON.stringify(c.name)}:\n {`;for(const f of c.args)o+=`\n JsonElement ${f.name}Json_;\n if (!context_.Args.TryGetValue(${JSON.stringify(f.name)}, out ${f.name}Json_))\n {\n ${f.type instanceof n.OptionalType?`${f.name}Json_ = new JsonElement();`:`throw new FatalException("'${c.name}().args.${f.name}' must be set to a value of type ${f.type.name}.");`}\n }\n ${(0,h.generateTypeName)(f.type)} ${(0,h.ident)(f.name)};\n ${(0,h.decodeType)(f.type,`${f.name}Json_`,`"${c.name}().args.${f.name}"`,(0,h.ident)(f.name)).replace(/\n/gu,"\n ")}`;o+=c.returnType instanceof n.VoidPrimitiveType?`\n await ${(0,h.capitalize)(c.name)}(${["context_",...c.args.map(f=>(0,h.ident)(f.name))].join(", ")});\n resultWriter_.WriteNullValue();`:`\n var result_ = await ${(0,h.capitalize)(c.name)}(${["context_",...c.args.map(f=>(0,h.ident)(f.name))].join(", ")});\n ${(0,h.encodeType)(c.returnType,"result_",`"${c.name}().ret"`).replace(/\n/gu,"\n ")}`,o+="\n return;\n }"}o+="\n default:\n {\n throw new FatalException($\"Unknown function '{context_.Name}'.\");\n }\n }\n }\n";for(const c of d.structTypes)o+=(0,h.generateStruct)(c);for(const c of d.enumTypes)o+=(0,h.generateEnum)(c);o+=`\n public string GetAstJson() => @"${JSON.stringify((0,n.astToJson)(d),null,4).replace(/"/gu,'""').replace(/\n/gu,"\n ")}";\n }\n`;for(const c of d.errors)o+=`\n public class ${c.name}Exception : SdkgenException\n {\n public ${c.name}Exception(string message, Exception? inner = null) : base("${c.name}", message, inner) { }\n }\n`;return o+="\n}\n",o}},4510:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.generateEnum=r.generateStruct=r.encodeType=r.decodeType=r.generateTypeName=r.capitalize=r.ident=void 0;const n=a(6676),h=["abstract","as","base","bool","break","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","else","enum","event","explicit","extern","false","finally","fixed","float","for","foreach","goto","if","implicit","in","int","interface","internal","is","lock","long","namespace","new","null","object","operator","out","override","params","private","protected","public","readonly","ref","return","sbyte","sealed","short","sizeof","stackalloc","static","string","struct","switch","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","using","static","virtual","void","volatile","while"],y=[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],d=[n.BigIntPrimitiveType,n.DatePrimitiveType,n.DateTimePrimitiveType,n.FloatPrimitiveType,n.IntPrimitiveType,n.MoneyPrimitiveType,n.UIntPrimitiveType];function o(v){return h.includes(v)?`@${v}`:v}function c(v){return v[0].toUpperCase()+v.slice(1)}function f(v){switch(v.constructor){case n.StringPrimitiveType:return"string";case n.IntPrimitiveType:return"int";case n.UIntPrimitiveType:return"uint";case n.FloatPrimitiveType:return"double";case n.BigIntPrimitiveType:return"BigInteger";case n.DatePrimitiveType:case n.DateTimePrimitiveType:return"DateTime";case n.BoolPrimitiveType:return"bool";case n.BytesPrimitiveType:return"byte[]";case n.MoneyPrimitiveType: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`${f(v.base)}?`;case n.ArrayType:return`List<${f(v.base)}>`;case n.StructType:case n.EnumType:return v.name;case n.TypeReference:return f(v.type);default:throw new Error(`BUG: generateTypeName with ${v.constructor.name}`)}}function p(v,b,T,S,x=1,A=!0){switch(v.constructor){case n.IntPrimitiveType:return`\n if (${b}.ValueKind != JsonValueKind.Number || !${b}.TryGetInt32(out ${S}))\n {\n throw new FatalException($"'{${T}}' must be an integer");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.UIntPrimitiveType:return`\n if (${b}.ValueKind != JsonValueKind.Number || !${b}.TryGetUInt32(out ${S}))\n {\n throw new FatalException($"'{${T}}' must be an unsigned integer.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.MoneyPrimitiveType:return`\n if (${b}.ValueKind != JsonValueKind.Number || !${b}.TryGetDecimal(out ${S}) || ${S} % 1 != 0)\n {\n throw new FatalException($"'{${T}}' must be an integer amount of cents.");\n }\n ${S} /= 100;\n `.replace(/\n {16}/gu,"\n").trim();case n.FloatPrimitiveType:return`\n if (${b}.ValueKind != JsonValueKind.Number || !${b}.TryGetDouble(out ${S}))\n {\n throw new FatalException($"'{${T}}' must be a floating-point number.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.BigIntPrimitiveType:return`\n if (${b}.ValueKind != JsonValueKind.String || !BigInteger.TryParse(${b}.GetString(), out ${S}))\n {\n throw new FatalException($"'{${T}}' must be an arbitrarily large integer in a string.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.StringPrimitiveType:return`\n if (${b}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${T}}' must be a string.");\n }\n ${S} = ${b}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.HtmlPrimitiveType:return`\n if (${b}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${T}}' must be a valid HTML string.");\n }\n ${S} = ${b}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.CpfPrimitiveType:return`\n if (${b}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${T}}' must be a valid CPF string.");\n }\n ${S} = ${b}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.CnpjPrimitiveType:return`\n if (${b}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${T}}' must be a valid CNPJ string.");\n }\n ${S} = ${b}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.EmailPrimitiveType:return`\n if (${b}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${T}}' must be a valid email.");\n }\n ${S} = ${b}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.UrlPrimitiveType:return`\n if (${b}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${T}}' must be a valid URL string.");\n }\n ${S} = ${b}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.UuidPrimitiveType:return`\n if (${b}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${T}}' must be a valid UUID.");\n }\n ${S} = ${b}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.HexPrimitiveType:return`\n if (${b}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${T}}' must be a valid hex string.");\n }\n ${S} = ${b}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.Base64PrimitiveType:return`\n if (${b}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${T}}' must be a base64 string.");\n }\n ${S} = ${b}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.XmlPrimitiveType:return`\n if (${b}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${T}}' must be a XML string.");\n }\n ${S} = ${b}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.BoolPrimitiveType:return`\n if (${b}.ValueKind != JsonValueKind.True && ${b}.ValueKind != JsonValueKind.False)\n {\n throw new FatalException($"'{${T}}' must be either true or false.");\n }\n ${S} = ${b}.GetBoolean();\n `.replace(/\n {16}/gu,"\n").trim();case n.BytesPrimitiveType:return`\n if (${b}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${T}}' must be a string.");\n }\n try\n {\n ${S} = Convert.FromBase64String(${b}.GetString());\n }\n catch (FormatException)\n {\n throw new FatalException($"'{${T}}' must be a base64 string.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.TypeReference:return p(v.type,b,T,S,x);case n.OptionalType:if(d.includes(v.base.constructor)){const H=`${S.replace(/[^0-9a-zA-Z]/gu,"")}Tmp`;return`\n if (${b}.ValueKind == JsonValueKind.Null || ${b}.ValueKind == JsonValueKind.Undefined)\n {\n ${S} = null;\n }\n else\n {\n ${f(v.base)} ${H};\n ${p(v.base,b,T,H,x,!1).replace(/\n/gu,"\n ")}\n ${S} = ${H};\n }\n `.replace(/\n {20}/gu,"\n").trim()}return`\n if (${b}.ValueKind == JsonValueKind.Null || ${b}.ValueKind == JsonValueKind.Undefined)\n {\n ${S} = null;\n }\n else\n {\n ${p(v.base,b,T,S,x,!1).replace(/\n/gu,"\n ")}\n }\n `.replace(/\n {20}/gu,"\n").trim();case n.EnumType:case n.StructType:return`${S} = Decode${v.name}(${b}, ${T});`;case n.JsonPrimitiveType:return A?`\n if (${b}.ValueKind == JsonValueKind.Null || ${b}.ValueKind == JsonValueKind.Undefined)\n {\n throw new FatalException($"'{${T}}' can't be null.");\n }\n ${S} = ${b};\n `.replace(/\n {16}/gu,"\n").trim():`${S} = ${b};`;case n.DateTimePrimitiveType:return`\n if (${b}.ValueKind != JsonValueKind.String || !(DateTime.TryParseExact(${b}.GetString(), "yyyy-MM-ddTHH:mm:ss.FFFFFFF", CultureInfo.InvariantCulture, DateTimeStyles.AdjustToUniversal | DateTimeStyles.AssumeUniversal, out ${S}) || DateTime.TryParseExact(${b}.GetString(), "yyyy-MM-ddTHH:mm:ss.FFFFFFF'Z'", CultureInfo.InvariantCulture, DateTimeStyles.AdjustToUniversal | DateTimeStyles.AssumeUniversal, out ${S})))\n {\n throw new FatalException($"'{${T}}' must be a datetime.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.DatePrimitiveType:return`\n if (${b}.ValueKind != JsonValueKind.String || !(DateTime.TryParseExact(${b}.GetString(), "yyyy-MM-dd", CultureInfo.InvariantCulture, DateTimeStyles.AdjustToUniversal | DateTimeStyles.AssumeUniversal, out ${S})))\n {\n throw new FatalException($"'{${T}}' must be a date.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.ArrayType:return`\n if (${b}.ValueKind != JsonValueKind.Array)\n {\n throw new FatalException($"'{${T}}' must be a date.");\n }\n ${S} = new ${f(v)}();\n for (var i${x} = 0; i${x} < ${b}.GetArrayLength(); ++i${x})\n {\n ${f(v.base)} element${x};\n ${p(v.base,`${b}[i${x}]`,`$"{${T}}[{i${x}}]"`,`element${x}`,x+1).replace(/\n/gu,"\n ")}\n ${S}.Add(element${x});\n }\n `.replace(/\n {16}/gu,"\n").trim();default:throw new Error(`BUG: decodeType with ${v.constructor.name}`)}}function m(v,b,T,S=1){switch(v.constructor){case n.StringPrimitiveType:return`resultWriter_.WriteStringValue(${b});`;case n.FloatPrimitiveType:case n.UIntPrimitiveType:case n.IntPrimitiveType:return`resultWriter_.WriteNumberValue(${b});`;case n.MoneyPrimitiveType:return`resultWriter_.WriteNumberValue(Math.Round(${b} * 100));`;case n.BigIntPrimitiveType:return`resultWriter_.WriteStringValue(${b}.ToString());`;case n.BoolPrimitiveType:return`resultWriter_.WriteBooleanValue(${b});`;case n.BytesPrimitiveType:return`resultWriter_.WriteStringValue(Convert.ToBase64String(${b}));`;case n.DateTimePrimitiveType:return`resultWriter_.WriteStringValue(${b}.ToString("yyyy-MM-ddTHH:mm:ss.FFFFFF'Z'"));`;case n.DatePrimitiveType:return`resultWriter_.WriteStringValue(${b}.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(${b});`;case n.OptionalType:{let x=v.base;for(;x instanceof n.TypeReference;)x=x.type;return`\n if (${b} == null)\n {\n resultWriter_.WriteNullValue();\n }\n else\n {\n ${m(x,y.includes(x.constructor)?b:`${b}.Value`,T,S).replace(/\n/gu,"\n ")}\n }`.replace(/\n {16}/gu,"\n").trim()}case n.TypeReference:return m(v.type,b,T,S);case n.EnumType:case n.StructType:return`Encode${v.name}(${b}, resultWriter_, ${T});`;case n.JsonPrimitiveType:return`${b}.WriteTo(resultWriter_);`;case n.ArrayType:return`\n resultWriter_.WriteStartArray();\n for (var i${S} = 0; i${S} < ${b}.Count; ++i${S})\n {\n ${m(v.base,`${b}[i${S}]`,`$"{${T}}[{i${S}}]"`,S+1).replace(/\n/gu,"\n ")}\n }\n resultWriter_.WriteEndArray();\n `.replace(/\n {16}/gu,"\n").trim();default:throw new Error(`BUG: encodeType with ${v.constructor.name}`)}}r.ident=o,r.capitalize=c,r.generateTypeName=f,r.decodeType=p,r.encodeType=m,r.generateStruct=function u(v){return`\n public class ${v.name}\n {${v.fields.map(b=>`\n public ${f(b.type)} ${c(b.name)};`).join("")}\n public ${v.name}(${v.fields.map(b=>`${f(b.type)} ${o(b.name)}`).join(", ")})\n {${v.fields.map(b=>`\n ${c(b.name)} = ${o(b.name)};`).join("")}\n }\n }\n\n ${v.name} Decode${v.name}(JsonElement json_, string path_)\n {\n if (json_.ValueKind != JsonValueKind.Object)\n {\n throw new FatalException($"'{path_}' must be an object.");\n }\n${v.fields.map(b=>` JsonElement ${b.name}Json_;\n if (!json_.TryGetProperty(${JSON.stringify(b.name)}, out ${b.name}Json_))\n {\n ${b.type instanceof n.OptionalType?`${b.name}Json_ = new JsonElement();`:`throw new FatalException($"'{path_}.${b.name}' must be set to a value of type ${b.type.name}.");`}\n }\n ${f(b.type)} ${o(b.name)};\n ${p(b.type,`${b.name}Json_`,`$"{path_}.${b.name}"`,o(b.name)).replace(/\n/gu,"\n ")}`).join("\n")}\n return new ${v.name}(${v.fields.map(b=>o(b.name)).join(", ")});\n }\n\n void Encode${v.name}(${v.name} obj_, Utf8JsonWriter resultWriter_, string path_)\n {\n resultWriter_.WriteStartObject();\n ${v.fields.map(b=>`resultWriter_.WritePropertyName(${JSON.stringify(b.name)});\n ${m(b.type,`obj_.${c(b.name)}`,`$"{path_}.${b.name}"`).replace(/\n/gu,"\n ")}`).join("\n ")}\n resultWriter_.WriteEndObject();\n }\n`},r.generateEnum=function _(v){return`\n public enum ${v.name}\n {${v.values.map(({value:b})=>`\n ${c(b)}`).join(",\n ")}\n }\n\n ${v.name} Decode${v.name}(JsonElement json_, string path_)\n {\n if (json_.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{path_}' must be a string.");\n }\n var value = json_.GetString();${v.values.map(({value:b})=>`\n if (value == "${b}")\n {\n return ${v.name}.${c(b)};\n }`).join("")}\n throw new FatalException($"'{path_}' must be one of: (${v.values.map(({value:b})=>`'${b}'`).join(", ")}).");\n }\n\n void Encode${v.name}(${v.name} obj_, Utf8JsonWriter resultWriter_, string path_)\n {${v.values.map(({value:b})=>`\n if (obj_ == ${v.name}.${c(b)})\n {\n resultWriter_.WriteStringValue("${b}");\n }`).join("")}\n }\n`}},7179:function(G,r,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(y,d,o,c){void 0===c&&(c=o);var f=Object.getOwnPropertyDescriptor(d,o);(!f||("get"in f?!d.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return d[o]}}),Object.defineProperty(y,c,f)}:function(y,d,o,c){void 0===c&&(c=o),y[c]=d[o]}),h=this&&this.__exportStar||function(y,d){for(var o in y)"default"!==o&&!Object.prototype.hasOwnProperty.call(d,o)&&n(d,y,o)};Object.defineProperty(r,"__esModule",{value:!0}),h(a(3905),r)},1911:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.generateDartClientSource=void 0;const n=a(6676),h=a(5235);r.generateDartClientSource=function y(d){let o="";o+="import 'dart:typed_data';\nimport 'dart:ui';\n\nimport 'package:sdkgen_runtime/types.dart';\nimport 'package:sdkgen_runtime/http_client.dart';\n\n";for(const c of d.enumTypes)o+=(0,h.generateEnum)(c),o+="\n";for(const c of d.structTypes)o+=(0,h.generateClass)(c),o+="\n";for(const c of d.errors)o+=(0,h.generateErrorClass)(c),o+="\n";o+=`class ApiClient extends SdkgenHttpClient {\n ApiClient(String baseUrl) : super(baseUrl, _typeTable, _fnTable, _errTable);\n${d.operations.filter(c=>c.annotations.every(f=>!(f instanceof n.HiddenAnnotation))).map(c=>`\n ${c.returnType instanceof n.VoidPrimitiveType?"Future<void> ":`Future<${(0,h.generateTypeName)(c.returnType)}> `}${c.name}(${0===c.args.length?"":`{${c.args.map(f=>`${f.type instanceof n.OptionalType?"":"required "}${(0,h.generateTypeName)(f.type)} ${(0,h.mangle)(f.name)}`).join(", ")}}`}) async { ${c.returnType instanceof n.VoidPrimitiveType?"":"return "}${(0,h.cast)(`await makeRequest('${c.name}', {${c.args.map(f=>`'${f.name}': ${(0,h.mangle)(f.name)}`).join(", ")}})`,c.returnType)}; }`).join("")}\n}\n\n`,o+="var _typeTable = {\n";for(const c of d.structTypes){o+=` '${c.name}': StructTypeDescription(\n`,o+=` ${c.name},\n`,o+=" {\n";for(const f of c.fields)o+=` '${f.name}': '${f.type.name}',\n`;o+=" },\n",o+=` (Map fields) => ${c.name}(\n`;for(const f of c.fields)o+=` ${(0,h.mangle)(f.name)}: ${(0,h.cast)(`fields['${f.name}']`,f.type)},\n`;o+=" ),\n",o+=` (${c.name} obj) => ({\n`;for(const f of c.fields)o+=` '${f.name}': obj.${(0,h.mangle)(f.name)},\n`;o+=" }),\n",o+=" ),\n"}for(const c of d.enumTypes)o+=` '${c.name}': EnumTypeDescription(${c.name}, ${c.name}.values, [\n ${c.values.map(f=>`'${f.value}'`).join(",\n ")}\n ]),\n`;o+="};\n\n",o+="var _fnTable = {\n";for(const c of d.operations){o+=` '${c.name}': FunctionDescription('${c.returnType.name}', {\n`;for(const f of c.args)o+=` '${f.name}': '${f.type.name}',\n`;o+=" }),\n"}o+="};\n\n",o+="var _errTable = {\n";for(const c of d.errors)o+=` '${c.name}': SdkgenErrorDescription('${c.dataType.name}', (msg, data) => ${c.name}(msg${c.dataType instanceof n.VoidPrimitiveType?"":", data"})),\n`;return o+="};\n",o}},5235:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.generateClass=r.cast=r.generateErrorClass=r.generateTypeName=r.generateEnum=r.mangle=void 0;const n=a(6676);function h(v){return["abstract","as","assert","async","await","bool","break","case","catch","class","const","continue","covariant","default","deferred","do","double","dynamic","else","enum","export","extends","extension","external","factory","false","final","finally","for","Function","get","hide","if","implements","import","in","int","interface","is","library","mixin","new","null","on","operator","part","rethrow","return","set","show","static","super","switch","sync","this","throw","true","try","typedef","var","void","while","with","yield"].includes(v)?`$${v}`:v}function d(v){switch(v.constructor){case n.StringPrimitiveType:return"String";case n.IntPrimitiveType:case n.UIntPrimitiveType:return"int";case n.FloatPrimitiveType:return"double";case n.BigIntPrimitiveType:return"BigInt";case n.DatePrimitiveType:case n.DateTimePrimitiveType:return"DateTime";case n.BoolPrimitiveType:return"bool";case n.BytesPrimitiveType:return"Uint8List";case n.MoneyPrimitiveType:return"int";case n.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`${d(v.base)}?`;case n.ArrayType:return`List<${d(v.base)}>`;case n.StructType:case n.EnumType:return v.name;case n.TypeReference:return d(v.type);default:throw new Error(`BUG: generateTypeName with ${v.constructor.name}`)}}r.mangle=h,r.generateEnum=function y(v){return`enum ${v.name} {\n ${v.values.map(b=>b.value).join(",\n ")}\n}\n`},r.generateTypeName=d,r.generateErrorClass=function o(v){if(v.dataType instanceof n.VoidPrimitiveType)return`class ${v.name} extends SdkgenError {\n ${v.name}(String msg) : super(msg);\n}\n`;const b=d(v.dataType);return`class ${v.name} extends SdkgenErrorWithData<${b}> {\n ${v.name}(String msg, ${b} data) : super(msg, data);\n}\n`},r.cast=function c(v,b){return b instanceof n.OptionalType?`${v} == null ? null : ${c(v,b.base)}`:b instanceof n.ArrayType?`(${v} as List).map((e) => ${c("e",b.base)}).toList()`:b instanceof n.VoidPrimitiveType?v:b instanceof n.FloatPrimitiveType?`(${v} as num).toDouble()`:b instanceof n.MoneyPrimitiveType?`${v} as int`:`${v} as ${d(b)}`},r.generateClass=function _(v){return`class ${v.name} {\n ${v.fields.map(b=>`final ${d(b.type)} ${h(b.name)};`).join("\n ")}\n\n${function f(v){let b=` ${v.name}({\n`;for(const T of v.fields)b+=T.type instanceof n.OptionalType?" ":" required ",b+=`this.${h(T.name)},\n`;return b+=" });\n",b}(v)}\n${function p(v){let b=" bool operator ==(other){\n";return b+=" if (identical(this, other)) return true;\n",b+=` return ${[`other is ${v.name}`,...v.fields.map(T=>`${h(T.name)} == other.${h(T.name)}`)].join(" && ")};\n`,b+=" }\n",b}(v)}\n${function m(v){return` @override\n int get hashCode => hashList([${v.fields.map(b=>h(b.name)).join(", ")}]);\n`}(v)}\n${function u(v){return` String toString() {\n return '${v.name} { ${v.fields.map(b=>`${b.name}: $${h(b.name).startsWith("$")?`{${h(b.name)}}`:h(b.name)}`).join(", ")} }';\n }\n`}(v)}}\n`}},1823:function(G,r,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(y,d,o,c){void 0===c&&(c=o);var f=Object.getOwnPropertyDescriptor(d,o);(!f||("get"in f?!d.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return d[o]}}),Object.defineProperty(y,c,f)}:function(y,d,o,c){void 0===c&&(c=o),y[c]=d[o]}),h=this&&this.__exportStar||function(y,d){for(var o in y)"default"!==o&&!Object.prototype.hasOwnProperty.call(d,o)&&n(d,y,o)};Object.defineProperty(r,"__esModule",{value:!0}),h(a(1911),r)},196:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.generateFSharpServerSource=void 0;const n=a(6676),h=a(8735);r.generateFSharpServerSource=function y(d){let o="module rec SdkgenGenerated\nopen Sdkgen.Runtime\nopen Sdkgen.Helpers\nopen Sdkgen.Context\nopen System.Threading.Tasks\nopen System.Text.Json\nopen System\nopen System.Globalization\n#if NET5_0\n// To use tasks as computation expression in .NET 5 install https://www.nuget.org/packages/TaskBuilder.fs/\nopen FSharp.Control.Tasks.V2.ContextInsensitive\n#endif\n";for(const c of d.errors)o+=`\ntype ${c.name}Exception =\n inherit SdkgenException\n\n new(message: string) = {\n inherit SdkgenException("${c.name}", message, null)\n }\n\n new(message: string, inner: Exception) = {\n inherit SdkgenException("${c.name}", message, inner)\n }\n`;for(const c of d.enumTypes)o+=`\n${(0,h.generateEnum)(c)}\n`;for(const c of d.structTypes)o+=`\n${(0,h.generateStruct)(c)}\n`;o+="\ntype Api() =";for(const c of d.operations){const f=c.returnType instanceof n.VoidPrimitiveType?"":`<${(0,h.generateTypeName)(c.returnType)}>`,p=c.args.length>0?`{| ${c.args.map(m=>`${m.name}: ${(0,h.generateTypeName)(m.type)};`).join("")} |} ->`:"";o+=`\n member val ${(0,h.capitalize)(c.name)}: Context -> ${p} Task${f} =\n fun _ -> (raise (FatalException("Function '${c.name}' not implemented.")))\n with get, set\n `}o+="\n interface BaseApi with\n member __.ExecuteFunction(context_: Context, resultWriter_: Utf8JsonWriter) : Task =\n task {\n match context_.Name with";for(const c of d.operations){o+=`\n | ${JSON.stringify(c.name)} ->`;for(const f of c.args)o+=`\n let ${f.name}Json_ =\n match context_.Args.TryGetValue(${JSON.stringify(f.name)}) with\n | true, v -> v\n | _ -> raise (FatalException("'${c.name}().args.${f.name}' must be set to a value of type ${f.type.name}."))\n\n let ${(0,h.ident)(f.name)} =\n ${(0,h.decodeType)(f.type,`${f.name}Json_`,`"${c.name}().args.${f.name}"`,(0,h.ident)(f.name)).replace(/\n/gu,"\n ")}`;o+=c.returnType instanceof n.VoidPrimitiveType?`\n\n do! (__.${(0,h.capitalize)(c.name)} context_ ${c.args.length>0?"{|":""} ${c.args.map(f=>`${f.name} = ${(0,h.ident)(f.name)}`).join("; ")} ${c.args.length>0?"|}":""})\n `:`\n\n let! result_ = (__.${(0,h.capitalize)(c.name)} context_ ${c.args.length>0?"{|":""} ${c.args.map(f=>`${f.name} = ${(0,h.ident)(f.name)}`).join("; ")} ${c.args.length>0?"|}":""})\n ${(0,h.encodeType)(c.returnType,"result_",`"${c.name}().ret"`,1,!1).replace(/\n/gu,"\n ")}`}return o+="\n\n | _ -> raise (FatalException($\"Unknown function '{context_.Name}'.\"))\n } :> Task",o+=`\n member __.GetAstJson() = """${JSON.stringify((0,n.astToJson)(d),null,4).replace(/\n/gu,"\n ")}""";`,o}},8735:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.generateEnum=r.generateStruct=r.encodeType=r.decodeType=r.generateTypeName=r.capitalize=r.ident=void 0;const n=a(6676),h=["abstract","as","base","bool","break","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","else","enum","event","explicit","extern","false","finally","fixed","float","for","foreach","goto","if","implicit","in","int","interface","internal","is","lock","long","namespace","new","null","object","operator","out","override","params","private","protected","public","readonly","ref","return","sbyte","sealed","short","sizeof","stackalloc","static","string","struct","switch","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","using","static","virtual","void","volatile","while","type","end","id"],d=[n.BigIntPrimitiveType,n.DatePrimitiveType,n.DateTimePrimitiveType,n.FloatPrimitiveType,n.IntPrimitiveType,n.MoneyPrimitiveType,n.UIntPrimitiveType,n.ArrayType];function o(v){return h.includes(v)?`${v}'`:v}function c(v){return v[0].toUpperCase()+v.slice(1)}function f(v){switch(v.constructor){case n.StringPrimitiveType:return"string";case n.IntPrimitiveType:return"int";case n.UIntPrimitiveType:return"uint";case n.FloatPrimitiveType:return"double";case n.BigIntPrimitiveType:return"bigint";case n.DatePrimitiveType:case n.DateTimePrimitiveType:return"DateTime";case n.BoolPrimitiveType:return"bool";case n.BytesPrimitiveType:return"byte[]";case n.MoneyPrimitiveType:return"decimal";case n.UuidPrimitiveType:return"Guid";case n.CpfPrimitiveType:case n.CnpjPrimitiveType:case n.EmailPrimitiveType:case n.HtmlPrimitiveType:case n.UrlPrimitiveType:case n.HexPrimitiveType:case n.Base64PrimitiveType:case n.XmlPrimitiveType:return"string";case n.VoidPrimitiveType:return"void";case n.JsonPrimitiveType:return"JsonElement";case n.OptionalType:return`${f(v.base)} option`;case n.ArrayType:return`${f(v.base)} list`;case n.StructType:case n.EnumType:return v.name;case n.TypeReference:return f(v.type);default:throw new Error(`BUG: generateTypeName with ${v.constructor.name}`)}}function p(v,b,T,S,x=1,A=!0){switch(v.constructor){case n.IntPrimitiveType:return`\n decodeInt32 ${b} ${T}\n `.replace(/\n {16}/gu,"\n").trim();case n.UIntPrimitiveType:return`\n decodeUInt32 ${b} ${T}\n `.replace(/\n {16}/gu,"\n").trim();case n.MoneyPrimitiveType:return`\n (decodeMoney ${b} ${T}) / 100m\n `.replace(/\n {16}/gu,"\n").trim();case n.FloatPrimitiveType:return`\n decodeFloat ${b} ${T}\n `.replace(/\n {16}/gu,"\n").trim();case n.BigIntPrimitiveType:return`\n decodeBigInt ${b} ${T}\n `.replace(/\n {16}/gu,"\n").trim();case n.StringPrimitiveType:return`\n decodeString ${b} ${T}\n `.replace(/\n {16}/gu,"\n").trim();case n.HtmlPrimitiveType:return`\n decodeHtml ${b} ${T}\n `.replace(/\n {16}/gu,"\n").trim();case n.CpfPrimitiveType:return`\n decodeCpf ${b} ${T}\n `.replace(/\n {16}/gu,"\n").trim();case n.CnpjPrimitiveType:return`\n decodeCnpj ${b} ${T}\n `.replace(/\n {16}/gu,"\n").trim();case n.EmailPrimitiveType:return`\n decodeEmail ${b} ${T}\n `.replace(/\n {16}/gu,"\n").trim();case n.UrlPrimitiveType:return`\n decodeUrl ${b} ${T}\n `.replace(/\n {16}/gu,"\n").trim();case n.UuidPrimitiveType:return`\n decodeUuid ${b} ${T}\n `.replace(/\n {16}/gu,"\n").trim();case n.HexPrimitiveType:return`\n decodeHex ${b} ${T}\n `.replace(/\n {16}/gu,"\n").trim();case n.Base64PrimitiveType:return`\n decodeBase64 ${b} ${T}\n `.replace(/\n {16}/gu,"\n").trim();case n.XmlPrimitiveType:return`\n decodeXml ${b} ${T}\n `.replace(/\n {16}/gu,"\n").trim();case n.BoolPrimitiveType:return`\n decodeBool ${b} ${T}\n `.replace(/\n {16}/gu,"\n").trim();case n.BytesPrimitiveType:return`\n decodeBytes ${b} ${T}\n `.replace(/\n {16}/gu,"\n").trim();case n.TypeReference:return p(v.type,b,T,S,x);case n.OptionalType:return d.includes(v.base.constructor)?`match ${b}.ValueKind with\n | JsonValueKind.Null | JsonValueKind.Undefined -> None\n | _ ->\n (${p(v.base,b,T,S,x,!1).replace(/\n/gu,"\n ")}) |> Some\n `.replace(/\n {16}/gu,"\n").trim():v.base instanceof n.OptionalType||v.base instanceof n.ArrayType?`\n (>.>) decodeOptional ${p(v.base,b,T,S,x,!1)}\n `.replace(/\n {16}/gu,"\n").trim():`\n decodeOptional ${p(v.base,b,T,S,x,!1)}\n `.replace(/\n {16}/gu,"\n").trim();case n.EnumType:case n.StructType:return`Decode${v.name} ${b} ${T}`;case n.JsonPrimitiveType:return A?`\n ${b}\n `.replace(/\n {16}/gu,"\n").trim():`${S} <- ${b}`;case n.DateTimePrimitiveType:return`\n decodeDateTime ${b} ${T}\n `.replace(/\n {16}/gu,"\n").trim();case n.DatePrimitiveType:return`\n decodeDate ${b} ${T}\n `.replace(/\n {16}/gu,"\n").trim();case n.ArrayType:return`\n match ${b}.ValueKind with\n | JsonValueKind.Array ->\n let mutable list_ = List.empty\n for i1 in 0 .. (${b}.GetArrayLength() - 1) do\n let item = ${b}.[i1]\n let partialResult =\n ${p(v.base,`${b}.[i1]`,`${T.slice(0,-1)}.{i1}"`,S,x,!1).replace(/\n/gu,"\n ")}\n list_ <- list_ |> List.append [ partialResult ]\n list_\n | _ -> raise (FatalException(${T.slice(0,-1)} must be an array."))\n `.replace(/\n {16}/gu,"\n").trim();default:throw new Error(`BUG: decodeType with ${v.constructor.name}`)}}function m(v,b,T,S=1,x=!0){switch(v.constructor){case n.StringPrimitiveType:return`resultWriter_.WriteStringValue(${b})`;case n.FloatPrimitiveType:case n.UIntPrimitiveType:case n.IntPrimitiveType:return`resultWriter_.WriteNumberValue(${b})`;case n.MoneyPrimitiveType:return`resultWriter_.WriteNumberValue(int (Math.Round(${b} * 100m)))`;case n.BigIntPrimitiveType:return`resultWriter_.WriteStringValue(${b}.ToString())`;case n.BoolPrimitiveType:return`resultWriter_.WriteBooleanValue(${b})`;case n.BytesPrimitiveType:return`resultWriter_.WriteStringValue(Convert.ToBase64String(${b}))`;case n.DateTimePrimitiveType:return`resultWriter_.WriteStringValue(${b}.ToString("yyyy-MM-ddTHH:mm:ss.FFFFFF'Z'"))`;case n.DatePrimitiveType:return`resultWriter_.WriteStringValue(${b}.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(${b})`;case n.OptionalType:{let A=v.base;for(;A instanceof n.TypeReference;)A=A.type;return`\n if (${b}.IsNone) then\n resultWriter_.WriteNullValue()\n else\n ${m(A,`${b}.Value`,T,S,x)}\n `.replace(/\n {14}/gu,"\n").trim()}case n.TypeReference:return m(v.type,b,T,S,x);case n.EnumType:case n.StructType:return`Encode${v.name} ${b} resultWriter_ ${T}`;case n.JsonPrimitiveType:return`${b}.WriteTo(resultWriter_)`;case n.ArrayType:return`\n resultWriter_.WriteStartArray()\n for i${S} in 0..${b}.Length - 1 do\n ${m(v.base,`${b}.[i${S}]`,`${T}`,S+1).replace(/\n/gu,"\n ")}\n resultWriter_.WriteEndArray()\n `.replace(/\n {14}/gu,"\n").trim();default:throw new Error(`BUG: encodeType with ${v.constructor.name}`)}}r.ident=o,r.capitalize=c,r.generateTypeName=f,r.decodeType=p,r.encodeType=m,r.generateStruct=function u(v){return`\ntype ${v.name} = {\n ${v.fields.map(b=>`${c(b.name)}: ${f(b.type)}`).join(";\n ")}\n} with\n static member Create (${v.fields.map(b=>`${o(b.name)}: ${f(b.type)}`).join(", ")}): ${v.name} =\n { ${v.fields.map(b=>`${c(b.name)} = ${o(b.name)}`).join("; ")} }\n\nlet Decode${v.name} (json_: JsonElement) (path_: string): ${v.name} =\n if (json_.ValueKind <> JsonValueKind.Object) then raise (FatalException($"'{path_}' must be an object."))\n ${v.fields.map(b=>`\n let ${b.name}Json_ = decodeJsonElementStrict ${JSON.stringify(b.name)} json_ $"{path_}.${b.name}"\n let ${o(b.name)} =\n ${p(b.type,`${b.name}Json_`,`$"{path_}.${b.name}"`,o(b.name)).replace(/\n/gu,"\n ")}\n `).join("")}\n { ${v.fields.map(b=>`${c(b.name)} = ${o(b.name)}`).join("; ")} }\n\nlet Encode${v.name} (obj_: ${v.name}) (resultWriter_: Utf8JsonWriter) (path_: string) =\n resultWriter_.WriteStartObject()\n ${v.fields.map(b=>`\n resultWriter_.WritePropertyName(${JSON.stringify(b.name)})\n ${m(b.type,`obj_.${c(b.name)}`,`$"{path_}.${b.name}"`).replace(/\n/gu,"\n ")}`).join("\n")}\n resultWriter_.WriteEndObject()`},r.generateEnum=function _(v){return`\ntype ${v.name} =\n ${v.values.map(({value:b})=>`| ${c(b)}`).join("\n ")}\n\nlet Decode${v.name} (json_: JsonElement) (path_: string): ${v.name} =\n if (json_.ValueKind <> JsonValueKind.String) then raise (FatalException($"'{path_}' must be a string."))\n match json_.GetString() with\n ${v.values.map(({value:b})=>`| "${b}" -> ${v.name}.${c(b)}`).join("\n ")}\n | _ -> raise (FatalException($"'{path_}' must be one of: (${v.values.map(({value:b})=>`'${b}'`).join(", ")})."))\n\nlet Encode${v.name} (obj_: ${v.name}) (resultWriter_: Utf8JsonWriter) (path_: string) =\n match obj_ with\n ${v.values.map(({value:b})=>`| ${v.name}.${c(b)} -> resultWriter_.WriteStringValue("${b}")`).join("\n ")}\n\n`}},2863:function(G,r,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(y,d,o,c){void 0===c&&(c=o);var f=Object.getOwnPropertyDescriptor(d,o);(!f||("get"in f?!d.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return d[o]}}),Object.defineProperty(y,c,f)}:function(y,d,o,c){void 0===c&&(c=o),y[c]=d[o]}),h=this&&this.__exportStar||function(y,d){for(var o in y)"default"!==o&&!Object.prototype.hasOwnProperty.call(d,o)&&n(d,y,o)};Object.defineProperty(r,"__esModule",{value:!0}),h(a(196),r)},9409:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.generateAndroidClientSource=void 0;const n=a(6676),h=a(7250);r.generateAndroidClientSource=function y(d,o){let c='@file:Suppress("UNNECESSARY_SAFE_CALL")\n\nimport android.os.Parcelable\nimport kotlinx.android.parcel.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 java.util.*\n\ninline fun <reified T> Gson.fromJson(json: String) =\n fromJson<T>(json, object : TypeToken<T>() {}.type)\n\ninline fun <reified T> Gson.fromJson(json: JsonElement) =\n fromJson<T>(json, object : TypeToken<T>() {}.type)\n\n@Suppress("DeferredIsResult", "unused")\nclass ApiClient(\n baseUrl: String,\n val applicationContext: Context,\n defaultTimeoutMillis: Long = 10000L\n) : SdkgenHttpClient(baseUrl, applicationContext, defaultTimeoutMillis) {\n\n private val gson = GsonBuilder()\n .registerTypeAdapter(object : TypeToken<ByteArray>() {}.type, ByteArrayDeserializer())\n .create()\n\n';for(const m of d.enumTypes)c+=` ${(0,h.generateEnum)(m)}`,c+="\n";c+=" open class Error(val message: String? = null)\n",c+=" data class Response<T>(val error: Error?, val data: T?, val stats: CallStats?)\n\n";for(const m of d.structTypes)c+=` ${(0,h.generateClass)(m)}\n`;const f=[],p=new n.ErrorNode("Connection",new n.VoidPrimitiveType);f.push(p.name),c+=` ${(0,h.generateErrorClass)(p)}`;for(const m of d.errors)c+=` ${(0,h.generateErrorClass)(m)}`,f.push(m.name);return f.length>0&&(c+=`\n enum class ErrorType {\n ${f.join(",\n ")};\n\n fun type(): Class<out ApiClient.Error> {\n return when (this) {\n ${f.map(m=>`${m} -> ApiClient.${m}::class.java`).join("\n ")}\n else -> ApiClient.Error::class.java\n }\n }\n }\n\n`),c+=" private val sdkgenIOScope = CoroutineScope(IO + SupervisorJob())\n\n",c+=d.operations.filter(m=>m.annotations.every(u=>!(u instanceof n.HiddenAnnotation))).map(m=>{let u="";const _=[];_.push("timeoutMillis: Long? = null"),o&&_.push(`callback: ((response: Response<${(0,h.generateKotlinTypeName)(m.returnType)}>) -> Unit)? = null`);const v=m.args.map(b=>`${(0,h.mangle)(b.name)}: ${(0,h.generateKotlinTypeName)(b.type)}`).concat(_);return u+=` fun ${(0,h.mangle)(m.name)}(\n ${v.join(",\n ")}\n ): Deferred<Response<out ${(0,h.generateKotlinTypeName)(m.returnType)}>> = sdkgenIOScope.async {\n`,m.args.length>0?(u+=" val bodyArgs = JsonObject().apply {\n",u+=m.args.map(b=>` ${(0,h.generateJsonAddRepresentation)(b.type,b.name)}`).join("\n"),u+="\n }\n"):u+=" val bodyArgs: JsonObject? = null",u+="\n",u+=` val call = makeRequest("${m.name}", bodyArgs, timeoutMillis)\n`,u+=` val response: Response<${(0,h.generateKotlinTypeName)(m.returnType)}> = handleCallResponse(call)\n`,o&&(u+=" withContext(Dispatchers.Main) { callback?.invoke(response) } \n"),u+=" return@async response\n",u+=" }\n",u}).join("\n"),c+='\n private inline fun <reified T> handleCallResponse(callResponse: InternalResponse): Response<T> {\n try {\n val data = if (callResponse.result?.get("result") != null)\n gson.fromJson<T>(callResponse.result?.get("result")!!)\n else null\n\n val error = if (callResponse.error != null) {\n val errorType = try {\n ErrorType.valueOf(callResponse.error?.get("type")?.asString ?: "")\n } catch (e: Exception) {\n ErrorType.Fatal\n }\n\n gson.fromJson(callResponse.error, errorType.type())\n } else null\n\n return Response(error, data, callResponse.stats)\n } catch(e: Exception) {\n return Response(Fatal(applicationContext.getString(io.sdkgen.runtime.R.string.sdkgen_error_serialization)), null, callResponse.stats)\n }\n }\n',c+="}\n",c}},7250:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.generateErrorClass=r.generateClass=r.getAnnotation=r.generateEnum=r.generateJsonAddRepresentation=r.mangle=r.generateKotlinTypeName=void 0;const n=a(6676);function h(m){switch(m.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"JsonElement";case n.OptionalType:return`${h(m.base)}?`;case n.ArrayType:return`ArrayList<${h(m.base)}>`;case n.StructType:case n.EnumType:return m.name;case n.TypeReference:return h(m.type);default:throw new Error(`BUG: generateKotlinTypeName with ${m.constructor.name}`)}}function y(m){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(m)?`_${m}`:m}function c(m,u){let _="";switch(u&&u!==y(u)&&(_+=` @SerializedName("${u}")\n`),m.constructor){case n.DatePrimitiveType:_+=" @JsonAdapter(DateAdapter::class)\n";break;case n.DateTimePrimitiveType:_+=" @JsonAdapter(DateTimeAdapter::class)\n";break;case n.ArrayType:case n.OptionalType:_+=c(m.base)}return _}r.generateKotlinTypeName=h,r.mangle=y,r.generateJsonAddRepresentation=function d(m,u){switch(m.constructor){case n.StringPrimitiveType:case n.CpfPrimitiveType:case n.CnpjPrimitiveType:case n.EmailPrimitiveType:case n.HtmlPrimitiveType:case n.UrlPrimitiveType:case n.UuidPrimitiveType:case n.HexPrimitiveType:case n.Base64PrimitiveType:case n.XmlPrimitiveType:case n.IntPrimitiveType:case n.UIntPrimitiveType:case n.MoneyPrimitiveType:case n.FloatPrimitiveType:case n.BoolPrimitiveType:return`addProperty("${u}", ${y(u)})`;case n.OptionalType:return d(m.base,u);case n.DatePrimitiveType:return`addProperty("${u}", ${y(u)}?.let { DateAdapter.sdf.format(it.time)}) `;case n.DateTimePrimitiveType:return`addProperty("${u}", ${y(u)}?.let { DateTimeAdapter.sdf.format(it.time)})`;case n.ArrayType:case n.StructType:case n.EnumType:case n.TypeReference:case n.JsonPrimitiveType:return`add("${u}", gson.toJsonTree(${y(u)}))`;case n.VoidPrimitiveType:return"";case n.BytesPrimitiveType:return`addProperty("${u}", Base64.encodeToString(${y(u)}, Base64.NO_WRAP))`;default:throw new Error(`BUG: No result found for generateJsonRepresentation with ${m.constructor.name}`)}},r.generateEnum=function o(m){let u="@Parcelize \n";return u+=` enum class ${m.name} : Parcelable { ${m.values.map(_=>y(_.value)).join(", ")} }\n`,u},r.getAnnotation=c,r.generateClass=function f(m){let u="@Parcelize\n";return u+=` data class ${m.name}(\n${m.fields.map(_=>{let v=c(_.type,_.name);return v+=` var ${y(_.name)}: ${h(_.type)}${_.type.constructor===n.OptionalType?" = null":""}`,v}).join(",\n")}\n ) : Parcelable\n`,u},r.generateErrorClass=function p(m){return`class ${m.name}(message: String) : Error(message)\n`}},7402:function(G,r,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(y,d,o,c){void 0===c&&(c=o);var f=Object.getOwnPropertyDescriptor(d,o);(!f||("get"in f?!d.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return d[o]}}),Object.defineProperty(y,c,f)}:function(y,d,o,c){void 0===c&&(c=o),y[c]=d[o]}),h=this&&this.__exportStar||function(y,d){for(var o in y)"default"!==o&&!Object.prototype.hasOwnProperty.call(d,o)&&n(d,y,o)};Object.defineProperty(r,"__esModule",{value:!0}),h(a(9409),r)},1942:function(G,r,a){"use strict";var n=this&&this.__rest||function(ve,we){var B={};for(var te in ve)Object.prototype.hasOwnProperty.call(ve,te)&&we.indexOf(te)<0&&(B[te]=ve[te]);if(null!=ve&&"function"==typeof Object.getOwnPropertySymbols){var Me=0;for(te=Object.getOwnPropertySymbols(ve);Me<te.length;Me++)we.indexOf(te[Me])<0&&Object.prototype.propertyIsEnumerable.call(ve,te[Me])&&(B[te[Me]]=ve[te[Me]])}return B};Object.defineProperty(r,"__esModule",{value:!0}),r.AstRoot=r.FunctionOperation=r.TypeDefinition=r.StructType=r.TypeReference=r.Spread=r.Field=r.EnumType=r.EnumValue=r.ArrayType=r.OptionalType=r.JsonPrimitiveType=r.XmlPrimitiveType=r.Base64PrimitiveType=r.HtmlPrimitiveType=r.HexPrimitiveType=r.UuidPrimitiveType=r.UrlPrimitiveType=r.EmailPrimitiveType=r.CnpjPrimitiveType=r.CpfPrimitiveType=r.MoneyPrimitiveType=r.VoidPrimitiveType=r.BytesPrimitiveType=r.BoolPrimitiveType=r.DateTimePrimitiveType=r.DatePrimitiveType=r.BigIntPrimitiveType=r.FloatPrimitiveType=r.UIntPrimitiveType=r.IntPrimitiveType=r.StringPrimitiveType=r.PrimitiveType=r.HiddenAnnotation=r.RestAnnotation=r.ArgDescriptionAnnotation=r.ThrowsAnnotation=r.DescriptionAnnotation=r.Annotation=r.ErrorNode=r.Type=r.AstNode=void 0;const h=a(9037);class y{constructor(){this.location=new h.TokenLocation,Object.defineProperty(this,"location",{enumerable:!1})}at(we){return this.location=we.location,this}atLocation(we){return this.location=we,this}}r.AstNode=y;class d extends y{toJSON(){const we=Object.assign({},this);return n(we,["name"])}}r.Type=d,r.ErrorNode=class o extends y{constructor(we,B){super(),this.name=we,this.dataType=B}};class c extends y{}r.Annotation=c,r.DescriptionAnnotation=class f extends c{constructor(we){super(),this.text=we}},r.ThrowsAnnotation=class p extends c{constructor(we){super(),this.error=we}},r.ArgDescriptionAnnotation=class m extends c{constructor(we,B){super(),this.argName=we,this.text=B}},r.RestAnnotation=class u extends c{constructor(we,B,te,Me,Ue,Ke){super(),this.method=we,this.path=B,this.pathVariables=te,this.queryVariables=Me,this.headers=Ue,this.bodyVariable=Ke}},r.HiddenAnnotation=class _ extends c{};class v extends d{toJSON(){return this.name}}r.PrimitiveType=v,r.StringPrimitiveType=class b extends v{constructor(){super(...arguments),this.name="string"}},r.IntPrimitiveType=class T extends v{constructor(){super(...arguments),this.name="int"}},r.UIntPrimitiveType=class S extends v{constructor(){super(...arguments),this.name="uint"}},r.FloatPrimitiveType=class x extends v{constructor(){super(...arguments),this.name="float"}},r.BigIntPrimitiveType=class A extends v{constructor(){super(...arguments),this.name="bigint"}},r.DatePrimitiveType=class H extends v{constructor(){super(...arguments),this.name="date"}},r.DateTimePrimitiveType=class Z extends v{constructor(){super(...arguments),this.name="datetime"}},r.BoolPrimitiveType=class Q extends v{constructor(){super(...arguments),this.name="bool"}},r.BytesPrimitiveType=class J extends v{constructor(){super(...arguments),this.name="bytes"}},r.VoidPrimitiveType=class z extends v{constructor(){super(...arguments),this.name="void"}},r.MoneyPrimitiveType=class se extends v{constructor(){super(...arguments),this.name="money"}},r.CpfPrimitiveType=class ae extends v{constructor(){super(...arguments),this.name="cpf"}},r.CnpjPrimitiveType=class me extends v{constructor(){super(...arguments),this.name="cnpj"}},r.EmailPrimitiveType=class Te extends v{constructor(){super(...arguments),this.name="email"}},r.UrlPrimitiveType=class _e extends v{constructor(){super(...arguments),this.name="url"}},r.UuidPrimitiveType=class Y extends v{constructor(){super(...arguments),this.name="uuid"}},r.HexPrimitiveType=class de extends v{constructor(){super(...arguments),this.name="hex"}},r.HtmlPrimitiveType=class W extends v{constructor(){super(...arguments),this.name="html"}},r.Base64PrimitiveType=class he extends v{constructor(){super(...arguments),this.name="base64"}},r.XmlPrimitiveType=class ce extends v{constructor(){super(...arguments),this.name="xml"}},r.JsonPrimitiveType=class Se extends v{constructor(){super(...arguments),this.name="json"}},r.OptionalType=class rt extends d{constructor(we){super(),this.base=we}get name(){return`${this.base.name}?`}},r.ArrayType=class gt extends d{constructor(we){super(),this.base=we}get name(){return`${this.base.name}[]`}},r.EnumValue=class Ge extends y{constructor(we){super(),this.value=we,this.annotations=[],this.struct=null}},r.EnumType=class ht extends d{constructor(we){super(),this.values=we}get hasStructValues(){return this.values.some(we=>null!==we.struct)}},r.Field=class qe extends y{constructor(we,B,te=!1){super(),this.name=we,this.type=B,this.secret=te,this.annotations=[]}},r.Spread=class lt extends y{constructor(we){super(),this.typeReference=we}},r.TypeReference=class Be extends d{constructor(we){super(),this.name=we}},r.StructType=class et extends d{constructor(we){super(),this.fieldsAndSpreads=we,this.fields=[]}},r.TypeDefinition=class Ne extends y{constructor(we,B){super(),this.name=we,this.type=B,this.annotations=[]}},r.FunctionOperation=class We extends y{constructor(we,B,te){super(),this.name=we,this.fieldsAndSpreads=B,this.returnType=te,this.annotations=[],this.args=[]}},r.AstRoot=class ft{constructor(we=[],B=[],te=[]){this.typeDefinitions=we,this.operations=B,this.errors=te,this.structTypes=[],this.enumTypes=[],this.warnings=[]}}},9747:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.compatibilityIssues=void 0;const n=a(1942);function h(o,c,f,p){var m,u;if(f instanceof n.TypeReference)h(o,c,f.type,p);else if(p instanceof n.TypeReference)h(o,c,f,p.type);else if(f instanceof n.OptionalType||!(p instanceof n.OptionalType))if(f instanceof n.OptionalType&&p instanceof n.OptionalType)h(o,c,f.base,p.base);else{if(f instanceof n.OptionalType&&!(p instanceof n.OptionalType))return c.push(`${o} was optional, but now it isn't. If the client sends a null, it will be invalid. Add the optional annotation back.`),void h(o,c,f.base,p);if(f instanceof n.ArrayType&&p instanceof n.ArrayType)h(o,c,f.base,p.base);else if(f instanceof n.StructType&&p instanceof n.StructType)for(const _ of p.fields){const v=f.fields.find(b=>b.name===_.name);if(v)h(`${o}.${v.name}`,c,v.type,_.type);else{if(_.type instanceof n.OptionalType)continue;c.push(`${o}.${_.name} didn't exist before and isn't optional. Make it optional.`)}}else if(!(f instanceof n.UIntPrimitiveType&&p instanceof n.IntPrimitiveType||f instanceof n.IntPrimitiveType&&p instanceof n.FloatPrimitiveType||f instanceof n.MoneyPrimitiveType&&p instanceof n.IntPrimitiveType||f instanceof n.MoneyPrimitiveType&&p instanceof n.UIntPrimitiveType||f instanceof n.UIntPrimitiveType&&p instanceof n.BigIntPrimitiveType||f instanceof n.IntPrimitiveType&&p instanceof n.BigIntPrimitiveType||f instanceof n.MoneyPrimitiveType&&p instanceof n.BigIntPrimitiveType||f instanceof n.BigIntPrimitiveType&&p instanceof n.StringPrimitiveType||f instanceof n.UuidPrimitiveType&&p instanceof n.StringPrimitiveType||f instanceof n.XmlPrimitiveType&&p instanceof n.StringPrimitiveType||f instanceof n.DatePrimitiveType&&p instanceof n.StringPrimitiveType||f instanceof n.DateTimePrimitiveType&&p instanceof n.StringPrimitiveType||f instanceof n.CpfPrimitiveType&&p instanceof n.StringPrimitiveType||f instanceof n.CnpjPrimitiveType&&p instanceof n.StringPrimitiveType||f instanceof n.HexPrimitiveType&&p instanceof n.StringPrimitiveType||f instanceof n.HtmlPrimitiveType&&p instanceof n.StringPrimitiveType||f instanceof n.Base64PrimitiveType&&p instanceof n.StringPrimitiveType||f instanceof n.BytesPrimitiveType&&p instanceof n.StringPrimitiveType||f instanceof n.BytesPrimitiveType&&p instanceof n.Base64PrimitiveType||f instanceof n.UrlPrimitiveType&&p instanceof n.StringPrimitiveType||f instanceof n.EmailPrimitiveType&&p instanceof n.StringPrimitiveType||f instanceof n.EnumType&&p instanceof n.StringPrimitiveType)){if(f instanceof n.EnumType&&p instanceof n.EnumType){for(const _ of f.values){const v=p.values.find(b=>b.value===_.value);v?h(`${o}.${_.value}`,c,null!==(m=_.struct)&&void 0!==m?m:new n.StructType([]),null!==(u=v.struct)&&void 0!==u?u:new n.StructType([])):c.push(`The enum at ${o} used to accept the value "${_.value}" that doesn't exist now. Clients that send it will fail.`)}return}f.constructor.name!==p.constructor.name&&c.push(`${o} was ${f.name} and now it is ${p.name}. They are not compatible.`)}}else h(o,c,f,p.base)}function y(o,c,f,p){var m,u;if(f instanceof n.TypeReference)y(o,c,f.type,p);else if(p instanceof n.TypeReference)y(o,c,f,p.type);else if(!(f instanceof n.OptionalType)||p instanceof n.OptionalType)if(f instanceof n.OptionalType&&p instanceof n.OptionalType)y(o,c,f.base,p.base);else{if(!(f instanceof n.OptionalType)&&p instanceof n.OptionalType)return c.push(`${o} wasn't optional, but now it is. If the client receives a null, it will crash. Remove the optional annotation.`),void y(o,c,f,p.base);if(f instanceof n.ArrayType&&p instanceof n.ArrayType)y(o,c,f.base,p.base);else if(f instanceof n.StructType&&p instanceof n.StructType)for(const _ of f.fields){const v=p.fields.find(b=>b.name===_.name);if(v)y(`${o}.${_.name}`,c,_.type,v.type);else{if(_.type instanceof n.OptionalType)continue;c.push(`${o}.${_.name} used to exist with type ${_.type.name}, but it's now missing. Add it back.`)}}else if(!(f instanceof n.IntPrimitiveType&&p instanceof n.UIntPrimitiveType||f instanceof n.FloatPrimitiveType&&p instanceof n.IntPrimitiveType||f instanceof n.IntPrimitiveType&&p instanceof n.MoneyPrimitiveType||f instanceof n.UIntPrimitiveType&&p instanceof n.MoneyPrimitiveType||f instanceof n.BigIntPrimitiveType&&p instanceof n.UIntPrimitiveType||f instanceof n.BigIntPrimitiveType&&p instanceof n.IntPrimitiveType||f instanceof n.BigIntPrimitiveType&&p instanceof n.MoneyPrimitiveType||f instanceof n.StringPrimitiveType&&p instanceof n.BigIntPrimitiveType||f instanceof n.StringPrimitiveType&&p instanceof n.UuidPrimitiveType||f instanceof n.StringPrimitiveType&&p instanceof n.XmlPrimitiveType||f instanceof n.StringPrimitiveType&&p instanceof n.DatePrimitiveType||f instanceof n.StringPrimitiveType&&p instanceof n.DateTimePrimitiveType||f instanceof n.StringPrimitiveType&&p instanceof n.CpfPrimitiveType||f instanceof n.StringPrimitiveType&&p instanceof n.CnpjPrimitiveType||f instanceof n.StringPrimitiveType&&p instanceof n.HexPrimitiveType||f instanceof n.StringPrimitiveType&&p instanceof n.HtmlPrimitiveType||f instanceof n.StringPrimitiveType&&p instanceof n.Base64PrimitiveType||f instanceof n.StringPrimitiveType&&p instanceof n.BytesPrimitiveType||f instanceof n.Base64PrimitiveType&&p instanceof n.BytesPrimitiveType||f instanceof n.StringPrimitiveType&&p instanceof n.UrlPrimitiveType||f instanceof n.StringPrimitiveType&&p instanceof n.EmailPrimitiveType||f instanceof n.StringPrimitiveType&&p instanceof n.EnumType)){if(f instanceof n.EnumType&&p instanceof n.EnumType){for(const _ of p.values){const v=f.values.find(b=>b.value===_.value);v?y(`${o}.${_.value}`,c,null!==(m=v.struct)&&void 0!==m?m:new n.StructType([]),null!==(u=_.struct)&&void 0!==u?u:new n.StructType([])):c.push(`The enum at ${o} now has the value "${_.value}" that didn't exist before. Client will crash if it receives it`)}return}f.constructor.name!==p.constructor.name&&c.push(`${o} was ${f.name} and now it is ${p.name}. They are not compatible.`)}}else y(o,c,f.base,p)}r.compatibilityIssues=function d(o,c){const f=[];for(const p of o.operations){const m=c.operations.find(u=>u.name===p.name);if(m){y(`${p.name}.ret`,f,p.returnType,m.returnType);for(const u of m.args){const _=p.args.find(v=>v.name===u.name);if(_)h(`${p.name}.args.${_.name}`,f,_.type,u.type);else{if(u.type instanceof n.OptionalType)continue;f.push(`${p.name}.args.${u.name} didn't exist before and isn't optional. Make it optional.`)}}}else f.push(`function ${p.name} used to exist, but it's now missing. Add it back.`)}for(const p of o.errors){const m=c.errors.find(u=>u.name===p.name);!m||y(`${p.name}.data`,f,p.dataType,m.dataType)}return f}},6676:function(G,r,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(d,o,c,f){void 0===f&&(f=c);var p=Object.getOwnPropertyDescriptor(o,c);(!p||("get"in p?!o.__esModule:p.writable||p.configurable))&&(p={enumerable:!0,get:function(){return o[c]}}),Object.defineProperty(d,f,p)}:function(d,o,c,f){void 0===f&&(f=c),d[f]=o[c]}),h=this&&this.__exportStar||function(d,o){for(var c in d)"default"!==c&&!Object.prototype.hasOwnProperty.call(o,c)&&n(o,d,c)};Object.defineProperty(r,"__esModule",{value:!0}),r.jsonToAst=r.astToJson=void 0,h(a(1942),r),h(a(9747),r);var y=a(1557);Object.defineProperty(r,"astToJson",{enumerable:!0,get:function(){return y.astToJson}}),Object.defineProperty(r,"jsonToAst",{enumerable:!0,get:function(){return y.jsonToAst}}),h(a(8053),r),h(a(2701),r),h(a(9037),r)},1557:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.jsonToAst=r.astToJson=void 0;const n=a(1942),h=a(6758),y=a(6569);function d(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(([m],[u])=>m.localeCompare(u)),method:p.method,path:p.path,pathVariables:[...p.pathVariables].sort((m,u)=>m.localeCompare(u)),queryVariables:[...p.queryVariables].sort((m,u)=>m.localeCompare(u))}};if(p instanceof n.HiddenAnnotation)return{type:"hidden",value:null};throw new Error(`BUG: annotationToJson with ${p.constructor.name}`)}function o(p){switch(p.type){case"description":return new n.DescriptionAnnotation(p.value);case"throws":return new n.ThrowsAnnotation(p.value);case"rest":{const{method:m,path:u,pathVariables:_,queryVariables:v,headers:b,bodyVariable:T}=p.value;return new n.RestAnnotation(m,u,_,v,new Map(b),T)}case"hidden":return new n.HiddenAnnotation;default:throw new Error(`BUG: annotationFromJson with ${p.type}`)}}r.astToJson=function c(p){var m,u,_;const v={},b={};function T(A){return A instanceof n.ArrayType?`${T(A.base)}[]`:A instanceof n.OptionalType?`${T(A.base)}?`:A.name}for(const{name:A,fields:H}of p.structTypes){b[A]={};const Z=b[A];for(const Q of H){Z[Q.name]=T(Q.type);for(const J of Q.annotations)if(J instanceof n.DescriptionAnnotation){const z=`type.${A}.${Q.name}`;null!==(m=v[z])&&void 0!==m||(v[z]=[]),v[z].push(d(J))}}}for(const{name:A,values:H}of p.enumTypes)b[A]=H.map(Z=>Z.struct?[Z.value,Z.struct.name]:Z.value);for(const{name:A,type:H}of p.typeDefinitions)H instanceof n.StructType||H instanceof n.EnumType||(b[A]=T(H));const S={};for(const A of p.operations){const H={};for(const Z of A.args){H[Z.name]=T(Z.type);for(const Q of Z.annotations)if(Q instanceof n.DescriptionAnnotation){const J=`fn.${A.name}.${Z.name}`;null!==(u=v[J])&&void 0!==u||(v[J]=[]),v[J].push(d(Q))}}S[A.name]={args:H,ret:T(A.returnType)};for(const Z of A.annotations){const Q=`fn.${A.name}`;null!==(_=v[Q])&&void 0!==_||(v[Q]=[]),v[Q].push(d(Z))}}return{annotations:v,errors:p.errors.map(A=>A.dataType instanceof n.VoidPrimitiveType?A.name:[A.name,A.dataType.name]),functionTable:S,typeTable:b}},r.jsonToAst=function f(p){var m,u;const _=[],v=[],b=[];function T(A,H){var Z;if("string"==typeof A){const J=y.primitiveToAstClass.get(A);return J?new J:A.endsWith("?")?new n.OptionalType(T(A.slice(0,A.length-1))):A.endsWith("[]")?new n.ArrayType(T(A.slice(0,A.length-2))):new n.TypeReference(A)}if(Array.isArray(A))return new n.EnumType(A.map(J=>{if(Array.isArray(J)){const[z,se]=J,ae=new n.EnumValue(z);return b.push([ae,se]),ae}return new n.EnumValue(J)}));const Q=[];for(const J of Object.keys(A)){const z=new n.Field(J,T(A[J]));if(H){const se=`type.${H}.${J}`;for(const ae of null!==(Z=p.annotations[se])&&void 0!==Z?Z:[])z.annotations.push(o(ae))}Q.push(z)}return new n.StructType(Q)}for(const[A,H]of Object.entries(p.typeTable)){const Z=T(H,A);v.push(new n.TypeDefinition(A,Z))}for(const[A,H]of Object.entries(p.functionTable)){const Z=Object.keys(H.args).map(z=>{var se;const ae=new n.Field(z,T(H.args[z])),me=`fn.${A}.${z}`;for(const Te of null!==(se=p.annotations[me])&&void 0!==se?se:[])ae.annotations.push(o(Te));return ae}),Q=new n.FunctionOperation(A,Z,T(H.ret)),J=`fn.${A}`;for(const z of null!==(m=p.annotations[J])&&void 0!==m?m:[])Q.annotations.push(o(z));_.push(Q)}for(const[A,H]of b){const Z=null===(u=v.find(Q=>Q.name===H))||void 0===u?void 0:u.type;Z instanceof n.StructType&&(A.struct=Z)}const S=p.errors.map(A=>{if(Array.isArray(A)){const[H,Z]=A;return new n.ErrorNode(H,T(Z))}return new n.ErrorNode(A,new n.VoidPrimitiveType)}),x=new n.AstRoot(v,_,S);return(0,h.analyse)(x),x}},8053:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Lexer=r.LexerError=void 0;const n=a(9037);class h extends Error{}r.LexerError=h;class y{constructor(o,c="-"){this.source=o,this.filename=c,this.startPos=0,this.startLine=1,this.startColumn=1,this.pos=0,this.line=1,this.column=1}currentChar(){return this.source[this.pos]||"\0"}nextChar(){return this.column++,this.source[++this.pos]||"\0"}nextToken(){this.startPos=this.pos,this.startLine=this.line,this.startColumn=this.column;let o=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(),o=new n.CurlyOpenSymbolToken;break;case"}":this.nextChar(),o=new n.CurlyCloseSymbolToken;break;case"(":this.nextChar(),o=new n.ParensOpenSymbolToken;break;case")":this.nextChar(),o=new n.ParensCloseSymbolToken;break;case"?":this.nextChar(),o=new n.OptionalSymbolToken;break;case":":this.nextChar(),o=new n.ColonSymbolToken;break;case"=":this.nextChar(),o=new n.EqualSymbolToken;break;case"!":this.nextChar(),o=new n.ExclamationMarkSymbolToken;break;case",":this.nextChar(),o=new n.CommaSymbolToken;break;case"[":"]"===this.nextChar()&&(this.nextChar(),o=new n.ArraySymbolToken);break;case".":"."===this.nextChar()&&"."===this.nextChar()&&(this.nextChar(),o=new n.SpreadSymbolToken);break;case"@":{let c="\\",f=this.startPos+1;for(;"\\"===c[c.length-1];){for(c=c.slice(0,c.length-1).trim();!["\0","\n"].includes(this.nextChar()););c=`${c} ${this.source.substring(f,this.pos).trim()}`.trim(),f=this.pos+1}o=new n.AnnotationToken(c.trim());break}case'"':{const c=[];e:for(;;)switch(this.nextChar()){case"\0":break e;case"\\":switch(this.nextChar()){case"\0":break e;case"n":c.push("\n");break;case"t":c.push("\t");break;default:c.push(this.currentChar())}break;case'"':this.nextChar(),o=new n.StringLiteralToken(c.join(""));break e;default:c.push(this.currentChar())}break}default:if(/[a-zA-Z_]/u.test(this.currentChar())){for(;/[a-zA-Z0-9_]/u.test(this.nextChar()););const c=this.source.substring(this.startPos,this.pos);switch(c){case"error":o=new n.ErrorKeywordToken;break;case"enum":o=new n.EnumKeywordToken;break;case"type":o=new n.TypeKeywordToken;break;case"import":o=new n.ImportKeywordToken;break;case"fn":o=new n.FnKeywordToken;break;case"true":o=new n.TrueKeywordToken;break;case"false":o=new n.FalseKeywordToken;break;default:o=y.PRIMITIVES.has(c)?new n.PrimitiveTypeToken(c):new n.IdentifierToken(c)}}}if(null!==o)return o.location.filename=this.filename,o.location.line=this.startLine,o.location.column=this.startColumn,o;throw"\0"===this.currentChar()?new h(`Unexpected end of file at ${this.filename}`):new h(`Unexpected character ${JSON.stringify(this.currentChar())} at ${this.filename}:${this.line}:${this.column}`)}}r.Lexer=y,y.PRIMITIVES=new Set(["bool","int","uint","float","bigint","string","date","datetime","bytes","money","cpf","cnpj","email","html","url","uuid","hex","base64","xml","void","json"]),y.KEYWORDS=new Set([...y.PRIMITIVES,"error","enum","type","import","get","function","fn","true","false"])},2701:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Parser=r.ParserError=void 0;const n=a(1942),h=a(8053),y=a(7145),d=a(6758),o=a(9037),c=a(6569);class f extends Error{}r.ParserError=f,r.Parser=class p{constructor(u){this.token=null,this.annotations=[],this.warnings=[],this.readFileSync=()=>{throw"Not implemented"};try{this.readFileSync=Object(function(){var v=new Error("Cannot find module 'fs'");throw v.code="MODULE_NOT_FOUND",v}())}catch(_){}this.lexers=u instanceof h.Lexer?[u]:[new h.Lexer(this.readFileSync(u).toString(),u)],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(u){if(!this.token)throw new f(`Expected ${Object.keys(u).map(v=>v.replace("Token","")).join(" or ")}, but found end of file`);const _=this.token.constructor.name;if(_ in u)return u[_](this.token);if(u.IdentifierToken){const v=this.token.maybeAsIdentifier();if(v instanceof o.IdentifierToken)return u.IdentifierToken(v)}throw new f(`Expected ${Object.keys(u).map(v=>v.replace("Token","")).join(" or ")} at ${this.token.location}, but found ${this.token}`)}expect(u){if(null===this.token)throw new f(`Expected ${u.name.replace("Token","")}, but found end of file`);if(this.token instanceof u)return this.token;if(u===o.IdentifierToken){const _=this.token.maybeAsIdentifier();if(_ instanceof o.IdentifierToken)return _}throw new f(`Expected ${u.name.replace("Token","")} at ${this.token.location}, but found ${this.token}`)}parse(){const u=[],_=[],v=[];for(this.warnings=[];this.token;)this.acceptAnnotations(),this.multiExpect({ErrorKeywordToken:()=>{v.push(this.parseError())},FnKeywordToken:()=>{u.push(this.parseOperation())},ImportKeywordToken:()=>{this.checkCannotHaveAnnotationsHere(),this.nextToken();const T=this.expect(o.StringLiteralToken),S=T.location.filename.replace(/[^/\\]+$/u,`${T.value}.sdkgen`);this.lexers.push(new h.Lexer(this.readFileSync(S).toString(),S)),this.nextToken()},TypeKeywordToken:()=>{_.push(this.parseTypeDefinition())}});const b=new n.AstRoot(_,u,v);return b.warnings=this.warnings,(0,d.analyse)(b),b}acceptAnnotations(){for(;this.token instanceof o.AnnotationToken;){const u=this.token.value.split(" "),_=this.token.value.slice(u[0].length).trim();switch(u[0]){case"description":this.annotations.push(new n.DescriptionAnnotation(_).at(this.token));break;case"arg":this.annotations.push(new n.ArgDescriptionAnnotation(u[1],this.token.value.slice(u[0].length+1+u[1].length).trim()).at(this.token));break;case"throws":this.annotations.push(new n.ThrowsAnnotation(_).at(this.token));break;case"rest":try{this.annotations.push((0,y.parseRestAnnotation)(_).at(this.token))}catch(v){throw new f(`${v instanceof Error?v.message:v} at ${this.token.location}`)}break;case"hidden":if(""!==_)throw new f("@hidden annotation doesn't take any argument");this.annotations.push((new n.HiddenAnnotation).at(this.token));break;default:throw new f(`Unknown annotation '${u[0]}' at ${this.token.location}`)}this.nextToken()}}checkCannotHaveAnnotationsHere(){if(this.annotations.length>0)throw new f(`Cannot have annotations at ${this.annotations[0].location}`)}parseTypeDefinition(){const u=this.expect(o.TypeKeywordToken);this.nextToken();const _=this.expect(o.IdentifierToken),v=_.value;if(!/[A-Z]/u.test(v[0]))throw new f(`The custom type name must start with an uppercase letter, but found ${JSON.stringify(v)} at ${_.location}`);this.nextToken();const{annotations:b}=this;this.annotations=[];const T=this.parseType(),S=new n.TypeDefinition(v,T).at(u);return S.annotations=b,S}parseError(){this.checkCannotHaveAnnotationsHere();const u=this.expect(o.ErrorKeywordToken);this.nextToken();const _=this.expect(o.IdentifierToken),v=_.value;if(!/[A-Z]/u.test(v[0]))throw new f(`Error name must start with an uppercase letter, but found ${JSON.stringify(v)} at ${_.location}`);this.nextToken();let b=new n.VoidPrimitiveType;return(this.token instanceof o.CurlyOpenSymbolToken||this.token instanceof o.EnumKeywordToken||this.token instanceof o.IdentifierToken||this.token instanceof o.PrimitiveTypeToken)&&(b=this.parseType()),new n.ErrorNode(v,b).at(u)}parseOperation(){let{annotations:u}=this;this.annotations=[],this.expect(o.FnKeywordToken),this.nextToken();const _=this.expect(o.IdentifierToken).value;this.nextToken(),this.expect(o.ParensOpenSymbolToken),this.nextToken();const v=new Set,b=[];let S,T=!1;for(;!T;)this.acceptAnnotations(),this.multiExpect({ParensCloseSymbolToken:H=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),T=!0,S=H},IdentifierToken:()=>{const H=this.parseField();if(v.has(H.name))throw new f(`Cannot redeclare argument '${H.name}'`);v.add(H.name),b.push(H),this.multiExpect({ParensCloseSymbolToken:Z=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),T=!0,S=Z},CommaSymbolToken:()=>this.nextToken()})},SpreadSymbolToken:()=>{this.checkCannotHaveAnnotationsHere(),this.nextToken();const H=this.expect(o.IdentifierToken);if(this.nextToken(),!/[A-Z]/u.test(H.value[0]))throw new f(`Expected a type but found ${JSON.stringify(H.value)} at ${H.location}`);b.push(new n.Spread(new n.TypeReference(H.value).at(H)).at(H)),this.multiExpect({ParensCloseSymbolToken:Z=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),T=!0,S=Z},CommaSymbolToken:()=>this.nextToken()})}});for(const H of u)if(H instanceof n.ArgDescriptionAnnotation){const Z=b.find(Q=>Q instanceof n.Field&&Q.name===H.argName);if(!Z)throw new f(`Argument '${H.argName}' not found, at ${H.location}`);Z.annotations.push(new n.DescriptionAnnotation(H.text).atLocation(H.location))}u=u.filter(H=>!(H instanceof n.ArgDescriptionAnnotation));let x=(new n.VoidPrimitiveType).at(S);this.token instanceof o.ColonSymbolToken&&(this.nextToken(),x=this.parseType());const A=new n.FunctionOperation(_,b,x);return A.annotations=u,A}parseEnum(){this.checkCannotHaveAnnotationsHere();const u=this.expect(o.EnumKeywordToken);this.nextToken(),this.expect(o.CurlyOpenSymbolToken),this.nextToken();const _=new n.EnumType([]).at(u);let v=!1;for(;!v;)this.acceptAnnotations(),this.multiExpect({CurlyCloseSymbolToken:()=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),v=!0},IdentifierToken:b=>{const T=new n.EnumValue(b.value).at(b);if(T.annotations=this.annotations,this.annotations=[],_.values.push(T),this.nextToken(),!(this.token instanceof o.ParensOpenSymbolToken))return;this.nextToken();const S=new Set,x=[];for(;this.token&&this.token.maybeAsIdentifier()instanceof o.IdentifierToken;){const A=this.parseField();if("tag"===A.name&&(A.name="_tag"),S.has(A.name))throw new f(`Cannot redeclare argument '${A.name}'`);if(S.add(A.name),x.push(A),!(this.token instanceof o.CommaSymbolToken))break;this.nextToken()}T.struct=new n.StructType(x).atLocation(T.location),this.expect(o.ParensCloseSymbolToken),this.nextToken()}});return _}parseField(){const u=this.expect(o.IdentifierToken);this.nextToken(),this.expect(o.ColonSymbolToken),this.nextToken();const{annotations:_}=this;this.annotations=[];const v=this.parseType(),b=new n.Field(u.value,v).at(u);for(b.annotations=_;this.token instanceof o.ExclamationMarkSymbolToken;){if("secret"!==(this.nextToken(),this.expect(o.IdentifierToken).value))throw new f(`Unknown field mark !${this.token.value} at ${this.token.location}`);b.secret=!0,this.nextToken()}return b}parseStruct(){const u=this.expect(o.CurlyOpenSymbolToken);this.nextToken();const _=[],v=new Set;let b=!1;for(;!b;)this.acceptAnnotations(),this.multiExpect({CurlyCloseSymbolToken:()=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),b=!0},IdentifierToken:()=>{const T=this.parseField();if(v.has(T.name))throw new f(`Cannot redeclare field '${T.name}'`);v.add(T.name),_.push(T)},SpreadSymbolToken:()=>{this.checkCannotHaveAnnotationsHere(),this.nextToken();const T=this.expect(o.IdentifierToken);if(this.nextToken(),!/[A-Z]/u.test(T.value[0]))throw new f(`Expected a type but found ${JSON.stringify(T.value)} at ${T.location}`);_.push(new n.Spread(new n.TypeReference(T.value).at(T)).at(T))}});return new n.StructType(_).at(u)}parseType(){this.checkCannotHaveAnnotationsHere();let u=this.multiExpect({CurlyOpenSymbolToken:()=>this.parseStruct(),EnumKeywordToken:()=>this.parseEnum(),IdentifierToken:_=>{if(this.nextToken(),!/[A-Z]/u.test(_.value[0]))throw new f(`Expected a type but found ${JSON.stringify(_.value)} at ${_.location}`);return new n.TypeReference(_.value).at(_)},PrimitiveTypeToken:_=>{this.nextToken();const v=c.primitiveToAstClass.get(_.value);if(v)return(new v).at(_);throw new f(`BUG! Should handle primitive ${_.value}`)}});for(;this.token instanceof o.ArraySymbolToken||this.token instanceof o.OptionalSymbolToken;)this.multiExpect({ArraySymbolToken:_=>u=new n.ArrayType(u).at(_),OptionalSymbolToken:_=>u=new n.OptionalType(u).at(_)}),this.nextToken();return u}}},7145:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.parseRestAnnotation=void 0;const n=a(1942);function d(c){var f;const p=/\{(?<name>\w+)\}/gu,m=[];let u;for(;null!==(u=p.exec(c));)(null===(f=u.groups)||void 0===f?void 0:f.name)&&m.push(u.groups.name);return m}r.parseRestAnnotation=function o(c){const f=c.split(" "),p=f[0].toUpperCase();if(!["GET","POST","PUT","DELETE","PATCH"].includes(p))throw new Error(`Unsupported method '${p}'`);let m=f[1];if(!m.startsWith("/"))throw new Error("Invalid path");let u=[];if(m.includes("?")){const[S,...x]=m.split("?");m=S;const A=x.join("?");if(!/^\{\w+\}(?:&\{\w+\})*$/u.test(A))throw new Error("Invalid querystring on path");u=d(A)}const _=d(m),v=f.slice(2).join(" "),b=function h(c){var f;const p=/\[header (?<header>[^()<>@,;:\\"/[\]?={}\s\t]+): \{(?<name>\w+)\}\]/gu,m=new Map;let u;for(;null!==(u=p.exec(c));)(null===(f=u.groups)||void 0===f?void 0:f.header)&&u.groups.name&&m.set(u.groups.header.toLowerCase(),u.groups.name);return m}(v),T=function y(c){var f;const p=/\[body \{(?<name>\w+)\}\]/u.exec(c);return(null===(f=null==p?void 0:p.groups)||void 0===f?void 0:f.name)?p.groups.name:null}(v);return new n.RestAnnotation(p,m,_,u,b,T)}},7629:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.CheckMultipleDeclarationVisitor=void 0;const n=a(1942),h=a(3154);r.CheckMultipleDeclarationVisitor=class y extends h.Visitor{constructor(){super(...arguments),this.nameToType=new Map}visit(o){if(o instanceof n.TypeDefinition){const c=this.nameToType.get(o.name);if(c&&JSON.stringify(c)!==JSON.stringify(o.type))throw new h.SemanticError(`Type '${o.name}' at ${o.location} is defined multiple times (also at ${c.location})`);this.nameToType.set(o.name,o.type)}super.visit(o)}}},6153:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.GiveStructAndEnumNamesVisitor=void 0;const n=a(1942),h=a(3154);r.GiveStructAndEnumNamesVisitor=class y extends h.Visitor{constructor(){super(...arguments),this.path=[],this.names=new Map}visit(o){if(o instanceof n.TypeDefinition)this.path=[o.name],super.visit(o);else if(o instanceof n.ErrorNode)this.path=[`${o.name}Data`],super.visit(o);else if(o instanceof n.FunctionOperation)this.path=[o.name],super.visit(o);else if(o instanceof n.Field)this.path.push(o.name),super.visit(o),this.path.pop();else if(o instanceof n.EnumValue)this.path.push(o.value),super.visit(o),this.path.pop();else if(o instanceof n.StructType||o instanceof n.EnumType){o.name=this.path.map(f=>f[0].toUpperCase()+f.slice(1)).join("");const c=this.names.get(o.name);if(c&&JSON.stringify(c.type)!==JSON.stringify(o))throw new h.SemanticError(`The name of the type '${this.path.join(".")}' at ${o.location} will conflict with '${c.path.join(".")}' at ${c.type.location}`);this.names.set(o.name,{path:[...this.path],type:o}),super.visit(o)}else super.visit(o)}}},9471:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.MatchTypeDefinitionsVisitor=void 0;const n=a(1942),h=a(3154);r.MatchTypeDefinitionsVisitor=class y extends h.Visitor{visit(o){if(o instanceof n.TypeReference){const c=this.root.typeDefinitions.find(f=>f.name===o.name);if(void 0===c)throw new h.SemanticError(`Could not find type '${o.name}' at ${o.location}`);o.type=c.type}super.visit(o)}}},4612:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.CheckDontReturnSecretVisitor=void 0;const n=a(1942),h=a(3154);r.CheckDontReturnSecretVisitor=class y extends h.Visitor{constructor(){super(...arguments),this.isInReturn=!1,this.path=[],this.visited=new Set}visit(o){if(!this.visited.has(o))if(this.visited.add(o),o instanceof n.FunctionOperation)this.isInReturn=!0,this.visited.clear(),this.path.push(`${o.name}(...)`),this.visit(o.returnType),this.path.pop(),this.isInReturn=!1;else if(o instanceof n.TypeReference)this.visit(o.type);else if(o instanceof n.Field){if(this.path.push(o.name),this.isInReturn&&o.secret)throw new h.SemanticError(`Can't return a secret value at ${this.path.join(".")} at ${o.location}`);super.visit(o),this.path.pop()}else super.visit(o)}}},4978:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ExpandSpreadsVisitor=void 0;const n=a(1942),h=a(3154);r.ExpandSpreadsVisitor=class y extends h.Visitor{constructor(){super(...arguments),this.processed=new Set}expandSpread(o,c){const f=new Map;for(const p of c){let m;if(p instanceof n.Field)m=[p];else{const u=p.typeReference.type;if(!(u instanceof n.StructType))throw new h.SemanticError(`A spread operator can't refer to something that is not a struct, in '${p.typeReference.name}' at ${p.location}.`);this.visit(u),m=u.fields}for(const u of m){const _=f.get(u.name);_?o[_]=u:(f.set(u.name,o.length),o.push(u))}}}visit(o){if(o instanceof n.StructType){if(this.processed.has(o))return;this.processed.add(o)}super.visit(o),o instanceof n.StructType?(this.expandSpread(o.fields,o.fieldsAndSpreads),o.fieldsAndSpreads=[]):o instanceof n.FunctionOperation&&(this.expandSpread(o.args,o.fieldsAndSpreads),o.fieldsAndSpreads=[])}}},9866:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.CheckEmptyStructOrEnumVisitor=void 0;const n=a(1942),h=a(3154);r.CheckEmptyStructOrEnumVisitor=class y extends h.Visitor{visit(o){if(super.visit(o),o instanceof n.EnumType&&0===o.values.length)throw new h.SemanticError(`Enum '${o.name}' at ${o.location} is empty`);if(o instanceof n.StructType&&0===o.fields.length)throw new h.SemanticError(`Struct '${o.name}' at ${o.location} is empty`)}}},4647:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ValidateRecursiveTypes=void 0;const n=a(1942),h=a(3154);r.ValidateRecursiveTypes=class y extends h.Visitor{visit(o){if(super.visit(o),o instanceof n.TypeDefinition&&this.isRecursiveType(o,o.type)){if(!(o.type instanceof n.StructType||o.type instanceof n.EnumType))throw new h.SemanticError(`Type '${o.name}' at ${o.location} is recursive but is not an struct`);if(this.isInfinitelyRecursiveType(o,o.type))throw new h.SemanticError(`Type '${o.name}' at ${o.location} is infinitely recursive`)}}isRecursiveType(o,c){return c instanceof n.TypeReference?o.name===c.name:c instanceof n.ArrayType||c instanceof n.OptionalType?this.isRecursiveType(o,c.base):c instanceof n.StructType?c.fields.some(f=>this.isRecursiveType(o,f.type)):c instanceof n.EnumType&&c.values.some(f=>f.struct&&this.isRecursiveType(o,f.struct))}isInfinitelyRecursiveType(o,c){return c instanceof n.TypeReference?c.name===o.name:c instanceof n.StructType?c.fields.some(f=>this.isInfinitelyRecursiveType(o,f.type)):c instanceof n.EnumType&&c.values.every(f=>f.struct&&this.isInfinitelyRecursiveType(o,f.struct))}}},2060:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.CollectStructAndEnumTypesVisitor=void 0;const n=a(1942),h=a(3154);r.CollectStructAndEnumTypesVisitor=class y extends h.Visitor{visit(o){super.visit(o),o instanceof n.StructType?this.root.structTypes.push(o):o instanceof n.EnumType&&this.root.enumTypes.push(o)}}},4212:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ValidateAnnotationsVisitor=void 0;const n=a(1942),h=a(3154);function d(c){return c instanceof n.TypeReference?d(c.type):c}r.ValidateAnnotationsVisitor=class o extends h.Visitor{visit(f){if(f instanceof n.EnumValue){for(const p of f.annotations)if(!(p instanceof n.DescriptionAnnotation))throw new h.SemanticError(`Cannot have @${p.constructor.name.replace("Annotation","").toLowerCase()} at ${p.location}`)}else if(f instanceof n.TypeDefinition){for(const p of f.annotations)if(!(p instanceof n.DescriptionAnnotation))throw new h.SemanticError(`Cannot have @${p.constructor.name.replace("Annotation","").toLowerCase()} at ${p.location}`)}else if(f instanceof n.Field){for(const p of f.annotations)if(!(p instanceof n.DescriptionAnnotation))throw new h.SemanticError(`Cannot have @${p.constructor.name.replace("Annotation","").toLowerCase()} at ${p.location}`)}else if(f instanceof n.FunctionOperation)for(const p of f.annotations)if(!(p instanceof n.DescriptionAnnotation))if(p instanceof n.ThrowsAnnotation){if(!this.root.errors.some(m=>m.name===p.error))throw new h.SemanticError(`Unknown error type '${p.error}' at ${p.location}`)}else if(p instanceof n.RestAnnotation){const m=[...p.pathVariables,...p.queryVariables,...p.headers.values()];if(m.length!==new Set(m).size)throw new h.SemanticError(`Arguments must appear only once for rest annotation at ${p.location}`);for(const u of m){const _=f.args.find(b=>b.name===u);if(!_)throw new h.SemanticError(`Argument '${u}' not found at ${p.location}`);if(p.pathVariables.includes(u)&&_.type instanceof n.OptionalType)throw new h.SemanticError(`The path argument '${u}' can't be nullable at ${p.location}`);if(!((c=d(_.type instanceof n.OptionalType?_.type.base:_.type))instanceof n.BoolPrimitiveType||c instanceof n.IntPrimitiveType||c instanceof n.UIntPrimitiveType||c instanceof n.BigIntPrimitiveType||c instanceof n.FloatPrimitiveType||c instanceof n.StringPrimitiveType||c instanceof n.DatePrimitiveType||c instanceof n.DateTimePrimitiveType||c instanceof n.MoneyPrimitiveType||c instanceof n.CpfPrimitiveType||c instanceof n.CnpjPrimitiveType||c instanceof n.UuidPrimitiveType||c instanceof n.HexPrimitiveType||c instanceof n.Base64PrimitiveType||c instanceof n.EnumType))throw new h.SemanticError(`Argument '${u}' can't have type '${_.type.name}' for rest annotation at ${p.location}`)}for(const u of f.args){if(!m.includes(u.name)&&p.bodyVariable!==u.name)throw new h.SemanticError(`Argument '${u.name}' is missing from the rest annotation at ${p.location}`);const _=[...p.pathVariables,...p.queryVariables];if("GET"===p.method&&_.includes(u.name)&&u.secret)throw new h.SemanticError(`Argument marked as secret cannot be used in the path or query parts of a GET endpoint at ${p.location}`)}if("GET"===p.method&&f.returnType instanceof n.VoidPrimitiveType)throw new h.SemanticError(`A GET rest endpoint must return something at ${p.location}`)}else if(!(p instanceof n.HiddenAnnotation))throw new h.SemanticError(`Cannot have @${p.constructor.name.replace("Annotation","").toLowerCase()} at ${p.location}`);var c}}},6758:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.analyse=void 0;const n=a(1942),h=a(7629),y=a(6153),d=a(9471),o=a(4612),c=a(4978),f=a(9866),p=a(4647),m=a(2060),u=a(4212);r.analyse=function _(v){v.errors.some(b=>"Fatal"===b.name)||v.errors.push(new n.ErrorNode("Fatal",new n.VoidPrimitiveType)),new h.CheckMultipleDeclarationVisitor(v).process(),new y.GiveStructAndEnumNamesVisitor(v).process(),new d.MatchTypeDefinitionsVisitor(v).process(),new o.CheckDontReturnSecretVisitor(v).process(),new c.ExpandSpreadsVisitor(v).process(),new f.CheckEmptyStructOrEnumVisitor(v).process(),new p.ValidateRecursiveTypes(v).process(),new m.CollectStructAndEnumTypesVisitor(v).process(),new u.ValidateAnnotationsVisitor(v).process()}},3154:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Visitor=r.SemanticError=void 0;const n=a(1942);class h extends Error{}r.SemanticError=h,r.Visitor=class y{constructor(o){this.root=o}process(){for(const o of this.root.errors)this.visit(o);for(const o of this.root.typeDefinitions)this.visit(o);for(const o of this.root.operations)this.visit(o)}visit(o){if(o instanceof n.FunctionOperation){for(const c of o.args)this.visit(c);for(const c of o.fieldsAndSpreads)this.visit(c);this.visit(o.returnType)}else if(o instanceof n.Field||o instanceof n.TypeDefinition)this.visit(o.type);else if(o instanceof n.StructType){for(const c of o.fields)this.visit(c);for(const c of o.fieldsAndSpreads)this.visit(c)}else if(o instanceof n.EnumType)for(const c of o.values)this.visit(c);else o instanceof n.EnumValue?o.struct&&this.visit(o.struct):o instanceof n.ArrayType||o instanceof n.OptionalType?this.visit(o.base):o instanceof n.ErrorNode?this.visit(o.dataType):o instanceof n.Spread&&this.visit(o.typeReference)}}},9037:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.PrimitiveTypeToken=r.FalseKeywordToken=r.TrueKeywordToken=r.ErrorKeywordToken=r.FnKeywordToken=r.EnumKeywordToken=r.TypeKeywordToken=r.ImportKeywordToken=r.AnnotationToken=r.SpreadSymbolToken=r.CommaSymbolToken=r.ArraySymbolToken=r.OptionalSymbolToken=r.ColonSymbolToken=r.ParensCloseSymbolToken=r.ParensOpenSymbolToken=r.CurlyCloseSymbolToken=r.CurlyOpenSymbolToken=r.ExclamationMarkSymbolToken=r.EqualSymbolToken=r.StringLiteralToken=r.IdentifierToken=r.Token=r.TokenLocation=void 0;class a{constructor(){this.filename="?",this.line=0,this.column=0}toString(){return`${this.filename}:${this.line}:${this.column}`}}r.TokenLocation=a;class n{constructor(me=""){this.value=me,this.location=new a,Object.defineProperty(this,"location",{enumerable:!1})}maybeAsIdentifier(){return this}toString(){const me=this.constructor.name.replace("Token","");return""===this.value?me:`${me}(${JSON.stringify(this.value)})`}}r.Token=n;class h extends n{}r.IdentifierToken=h,r.StringLiteralToken=class y extends n{},r.EqualSymbolToken=class d extends n{},r.ExclamationMarkSymbolToken=class o extends n{},r.CurlyOpenSymbolToken=class c extends n{},r.CurlyCloseSymbolToken=class f extends n{},r.ParensOpenSymbolToken=class p extends n{},r.ParensCloseSymbolToken=class m extends n{},r.ColonSymbolToken=class u extends n{},r.OptionalSymbolToken=class _ extends n{},r.ArraySymbolToken=class v extends n{},r.CommaSymbolToken=class b extends n{},r.SpreadSymbolToken=class T extends n{},r.AnnotationToken=class S extends n{},r.ImportKeywordToken=class x extends n{maybeAsIdentifier(){return new h("import")}},r.TypeKeywordToken=class A extends n{maybeAsIdentifier(){return new h("type")}},r.EnumKeywordToken=class H extends n{maybeAsIdentifier(){return new h("enum")}},r.FnKeywordToken=class Z extends n{maybeAsIdentifier(){return new h("fn")}},r.ErrorKeywordToken=class Q extends n{maybeAsIdentifier(){return new h("error")}},r.TrueKeywordToken=class J extends n{maybeAsIdentifier(){return new h("true")}},r.FalseKeywordToken=class z extends n{maybeAsIdentifier(){return new h("false")}},r.PrimitiveTypeToken=class se extends n{maybeAsIdentifier(){return new h(this.value)}}},6569:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.primitiveToAstClass=void 0;const n=a(1942);r.primitiveToAstClass=new Map,r.primitiveToAstClass.set("string",n.StringPrimitiveType),r.primitiveToAstClass.set("int",n.IntPrimitiveType),r.primitiveToAstClass.set("uint",n.UIntPrimitiveType),r.primitiveToAstClass.set("date",n.DatePrimitiveType),r.primitiveToAstClass.set("datetime",n.DateTimePrimitiveType),r.primitiveToAstClass.set("float",n.FloatPrimitiveType),r.primitiveToAstClass.set("bigint",n.BigIntPrimitiveType),r.primitiveToAstClass.set("bool",n.BoolPrimitiveType),r.primitiveToAstClass.set("bytes",n.BytesPrimitiveType),r.primitiveToAstClass.set("money",n.MoneyPrimitiveType),r.primitiveToAstClass.set("cpf",n.CpfPrimitiveType),r.primitiveToAstClass.set("cnpj",n.CnpjPrimitiveType),r.primitiveToAstClass.set("email",n.EmailPrimitiveType),r.primitiveToAstClass.set("html",n.HtmlPrimitiveType),r.primitiveToAstClass.set("url",n.UrlPrimitiveType),r.primitiveToAstClass.set("uuid",n.UuidPrimitiveType),r.primitiveToAstClass.set("hex",n.HexPrimitiveType),r.primitiveToAstClass.set("base64",n.Base64PrimitiveType),r.primitiveToAstClass.set("xml",n.XmlPrimitiveType),r.primitiveToAstClass.set("json",n.JsonPrimitiveType),r.primitiveToAstClass.set("void",n.VoidPrimitiveType)},5041:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.AppComponent=void 0;const n=a(655),h=a(3075),y=a(7179),d=a(1823),o=a(2863),c=a(7402),f=a(7295),p=a(2911),m=a(4327),u=(0,n.__importStar)(a(5e3)),_=(0,n.__importStar)(a(6395)),v=(0,n.__importStar)(a(2313)),b=(0,n.__importStar)(a(3293)),T=(0,n.__importStar)(a(107)),S=(0,n.__importStar)(a(2253)),x=(0,n.__importStar)(a(9808)),A=(0,n.__importStar)(a(3251)),H=(0,n.__importStar)(a(5585)),Z=(0,n.__importStar)(a(7423)),Q=(0,n.__importStar)(a(7238)),J=(0,n.__importStar)(a(4264)),z=(0,n.__importStar)(a(7822)),se=(0,n.__importStar)(a(5010));function ae(rt,gt){1&rt&&(u.\u0275\u0275elementContainerStart(0),u.\u0275\u0275text(1,"Editor Avan\xe7ado"),u.\u0275\u0275elementContainerEnd())}function me(rt,gt){if(1&rt&&(u.\u0275\u0275elementContainerStart(0),u.\u0275\u0275elementStart(1,"span",20),u.\u0275\u0275text(2),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementContainerEnd()),2&rt){const Ge=u.\u0275\u0275nextContext(2).$implicit;u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate1("\u25b6\xa0",Ge.function,"")}}function Te(rt,gt){if(1&rt){const Ge=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"span",17),u.\u0275\u0275template(1,ae,2,0,"ng-container",18),u.\u0275\u0275template(2,me,3,1,"ng-container",18),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(3,"button",19),u.\u0275\u0275listener("click",function(){u.\u0275\u0275restoreView(Ge);const qe=u.\u0275\u0275nextContext().$implicit;return u.\u0275\u0275nextContext(2).closeTab(qe)}),u.\u0275\u0275elementStart(4,"mat-icon"),u.\u0275\u0275text(5,"close"),u.\u0275\u0275elementEnd()()}if(2&rt){const Ge=u.\u0275\u0275nextContext().$implicit;u.\u0275\u0275property("ngSwitch",Ge.type),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngSwitchCase","advanced"),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngSwitchCase","simple")}}function _e(rt,gt){1&rt&&(u.\u0275\u0275elementContainerStart(0),u.\u0275\u0275element(1,"app-tab-editor"),u.\u0275\u0275elementContainerEnd())}function Y(rt,gt){if(1&rt&&(u.\u0275\u0275elementContainerStart(0),u.\u0275\u0275element(1,"app-simple-call",21),u.\u0275\u0275elementContainerEnd()),2&rt){const Ge=u.\u0275\u0275nextContext().$implicit;u.\u0275\u0275advance(1),u.\u0275\u0275property("fn",Ge.function)}}function de(rt,gt){if(1&rt&&(u.\u0275\u0275elementStart(0,"mat-tab"),u.\u0275\u0275template(1,Te,6,3,"ng-template",16),u.\u0275\u0275elementContainerStart(2,17),u.\u0275\u0275template(3,_e,2,0,"ng-container",18),u.\u0275\u0275template(4,Y,2,1,"ng-container",18),u.\u0275\u0275elementContainerEnd(),u.\u0275\u0275elementEnd()),2&rt){const Ge=gt.$implicit;u.\u0275\u0275advance(2),u.\u0275\u0275property("ngSwitch",Ge.type),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngSwitchCase","advanced"),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngSwitchCase","simple")}}function W(rt,gt){if(1&rt){const Ge=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"button",22),u.\u0275\u0275listener("click",function(){return u.\u0275\u0275restoreView(Ge),u.\u0275\u0275nextContext(2).addAdvancedTab()}),u.\u0275\u0275elementStart(1,"mat-icon"),u.\u0275\u0275text(2,"add_circle"),u.\u0275\u0275elementEnd()()}}function he(rt,gt){if(1&rt&&(u.\u0275\u0275elementStart(0,"button",23)(1,"mat-icon"),u.\u0275\u0275text(2,"download"),u.\u0275\u0275elementEnd()()),2&rt){u.\u0275\u0275nextContext(2);const Ge=u.\u0275\u0275reference(5);u.\u0275\u0275property("matMenuTriggerFor",Ge)}}function ce(rt,gt){if(1&rt){const Ge=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"mat-tab-group",11),u.\u0275\u0275listener("selectedIndexChange",function(qe){return u.\u0275\u0275restoreView(Ge),u.\u0275\u0275nextContext().selected.setValue(qe)}),u.\u0275\u0275elementStart(1,"mat-tab",12)(2,"app-tab-home",13),u.\u0275\u0275listener("runFunction",function(qe){return u.\u0275\u0275restoreView(Ge),u.\u0275\u0275nextContext().addSimpleTab(qe)}),u.\u0275\u0275elementEnd()(),u.\u0275\u0275template(3,de,5,3,"mat-tab",14),u.\u0275\u0275elementStart(4,"mat-tab",15),u.\u0275\u0275template(5,W,3,0,"ng-template",16),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(6,"mat-tab",15),u.\u0275\u0275template(7,he,3,1,"ng-template",16),u.\u0275\u0275elementEnd()()}if(2&rt){const Ge=u.\u0275\u0275nextContext();u.\u0275\u0275property("selectedIndex",Ge.selected.value),u.\u0275\u0275advance(3),u.\u0275\u0275property("ngForOf",Ge.tabs)}}class Se{constructor(gt,Ge,ht){this.sdkgen=gt,this.domSanitizer=Ge,this.matIconRegistry=ht,this.selected=new h.FormControl(0),this.tabs=[{id:0,type:"advanced"}],this.tabIndex=1;for(const qe of["typescript","dot-net","kotlin","swift","dart"])this.matIconRegistry.addSvgIcon(qe,this.domSanitizer.bypassSecurityTrustResourceUrl(`assets/${qe}.svg`))}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(gt=>{this.state=null!=gt?gt:void 0})}ngOnDestroy(){var gt;null===(gt=this.state$)||void 0===gt||gt.unsubscribe()}addSimpleTab(gt){this.tabs.push({id:this.tabIndex++,function:gt,type:"simple"}),this.selected.setValue(this.tabs.length)}addAdvancedTab(){this.tabs.push({id:this.tabIndex++,type:"advanced"}),this.selected.setValue(this.tabs.length)}closeTab(gt){this.tabs.splice(this.tabs.indexOf(gt),1),this.selected.setValue(0)}downloadTarget(gt){if(!this.state)return;let Ge,ht;switch(gt){case"typescript_nodeserver":Ge=(0,p.generateNodeServerSource)(this.state.astRoot),ht="node-server.ts";break;case"typescript_nodeclient":Ge=(0,p.generateNodeClientSource)(this.state.astRoot),ht="node-client.ts";break;case"typescript_web":Ge=(0,p.generateBrowserClientSource)(this.state.astRoot),ht="web-client.ts";break;case"typescript_interfaces":Ge=(0,p.generateTypescriptInterfaces)(this.state.astRoot),ht="interfaces.ts";break;case"flutter":Ge=(0,d.generateDartClientSource)(this.state.astRoot),ht="flutter-client.dart";break;case"csharp_server":Ge=(0,y.generateCSharpServerSource)(this.state.astRoot),ht="csharp-server.cs";break;case"fsharp_server":Ge=(0,o.generateFSharpServerSource)(this.state.astRoot),ht="fsharp-server.fs";break;case"kotlin_android":Ge=(0,c.generateAndroidClientSource)(this.state.astRoot,!0),ht="android-client.kt";break;case"kotlin_android_without_callbacks":Ge=(0,c.generateAndroidClientSource)(this.state.astRoot,!1),ht="android-client-no-callbacks.kt";break;case"swift_ios":Ge=(0,f.generateSwiftClientSource)(this.state.astRoot,!1),ht="ios-client.swift";break;case"rxswift_ios":Ge=(0,f.generateSwiftClientSource)(this.state.astRoot,!0),ht="ios-client-rx.swift"}(0,m.saveAs)(new Blob([Ge],{type:"application/octet-stream"}),ht)}}r.AppComponent=Se,Se.\u0275fac=function(gt){return new(gt||Se)(u.\u0275\u0275directiveInject(_.SdkgenService),u.\u0275\u0275directiveInject(v.DomSanitizer),u.\u0275\u0275directiveInject(b.MatIconRegistry))},Se.\u0275cmp=u.\u0275\u0275defineComponent({type:Se,selectors:[["app-root"]],decls:46,vars:3,consts:[[2,"width","0","height","0","opacity","0","display","block"],["id","main-tabs","animationDuration","150ms",3,"selectedIndex","selectedIndexChange",4,"ngIf"],["downloadMenu","matMenu"],["id","download-menu-size-flow"],["mat-menu-item","","disabled",""],["mat-menu-item","",3,"click"],["svgIcon","typescript"],["svgIcon","dart"],["svgIcon","kotlin"],["svgIcon","swift"],["svgIcon","dot-net"],["id","main-tabs","animationDuration","150ms",3,"selectedIndex","selectedIndexChange"],["label","Documenta\xe7\xe3o"],[3,"runFunction"],[4,"ngFor","ngForOf"],["disabled",""],["mat-tab-label",""],[3,"ngSwitch"],[4,"ngSwitchCase"],["mat-icon-button","","matTooltip","Fechar aba",3,"click"],[1,"mono","tt-none"],[3,"fn"],["mat-icon-button","","matTooltip","Nova aba de editor avan\xe7ado",3,"click"],["mat-icon-button","",3,"matMenuTriggerFor"]],template:function(gt,Ge){1&gt&&(u.\u0275\u0275element(0,"ngx-monaco-editor",0)(1,"app-tab-nav"),u.\u0275\u0275template(2,ce,8,2,"mat-tab-group",1),u.\u0275\u0275pipe(3,"async"),u.\u0275\u0275elementStart(4,"mat-menu",null,2),u.\u0275\u0275element(6,"div",3),u.\u0275\u0275elementStart(7,"button",4),u.\u0275\u0275text(8,"Cliente"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(9,"button",5),u.\u0275\u0275listener("click",function(){return Ge.downloadTarget("typescript_nodeclient")}),u.\u0275\u0275element(10,"mat-icon",6),u.\u0275\u0275text(11,"Node.js"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(12,"button",5),u.\u0275\u0275listener("click",function(){return Ge.downloadTarget("typescript_web")}),u.\u0275\u0275element(13,"mat-icon",6),u.\u0275\u0275text(14,"Web"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(15,"button",5),u.\u0275\u0275listener("click",function(){return Ge.downloadTarget("flutter")}),u.\u0275\u0275element(16,"mat-icon",7),u.\u0275\u0275text(17,"Flutter"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(18,"button",5),u.\u0275\u0275listener("click",function(){return Ge.downloadTarget("kotlin_android")}),u.\u0275\u0275element(19,"mat-icon",8),u.\u0275\u0275text(20,"Android"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(21,"button",5),u.\u0275\u0275listener("click",function(){return Ge.downloadTarget("kotlin_android_without_callbacks")}),u.\u0275\u0275element(22,"mat-icon",8),u.\u0275\u0275text(23,"Android (sem callbacks)"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(24,"button",5),u.\u0275\u0275listener("click",function(){return Ge.downloadTarget("swift_ios")}),u.\u0275\u0275element(25,"mat-icon",9),u.\u0275\u0275text(26,"iOS"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(27,"button",5),u.\u0275\u0275listener("click",function(){return Ge.downloadTarget("rxswift_ios")}),u.\u0275\u0275element(28,"mat-icon",9),u.\u0275\u0275text(29,"iOS (Rx)"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(30,"button",4),u.\u0275\u0275text(31,"Servidor"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(32,"button",5),u.\u0275\u0275listener("click",function(){return Ge.downloadTarget("typescript_nodeserver")}),u.\u0275\u0275element(33,"mat-icon",6),u.\u0275\u0275text(34,"Node.js"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(35,"button",5),u.\u0275\u0275listener("click",function(){return Ge.downloadTarget("csharp_server")}),u.\u0275\u0275element(36,"mat-icon",10),u.\u0275\u0275text(37,"C#"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(38,"button",5),u.\u0275\u0275listener("click",function(){return Ge.downloadTarget("fsharp_server")}),u.\u0275\u0275element(39,"mat-icon",10),u.\u0275\u0275text(40,"F#"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(41,"button",4),u.\u0275\u0275text(42,"Outros"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(43,"button",5),u.\u0275\u0275listener("click",function(){return Ge.downloadTarget("typescript_interfaces")}),u.\u0275\u0275element(44,"mat-icon",6),u.\u0275\u0275text(45,"Interfaces"),u.\u0275\u0275elementEnd()()),2&gt&&(u.\u0275\u0275advance(2),u.\u0275\u0275property("ngIf",u.\u0275\u0275pipeBind1(3,1,Ge.sdkgen.state$)))},directives:[T.MonacoEditorComponent,S.TabNavComponent,x.NgIf,A.MatTabGroup,A.MatTab,H.TabHomeComponent,x.NgForOf,A.MatTabLabel,x.NgSwitch,x.NgSwitchCase,Z.MatButton,Q.MatTooltip,b.MatIcon,J.TabEditorComponent,z.SimpleCallComponent,se.MatMenuTrigger,se.MatMenu,se.MatMenuItem],pipes:[x.AsyncPipe],styles:["[_nghost-%COMP%]{display:block;width:100%;height:100%} #main-tabs>.mat-tab-header .mat-tab-label{text-transform:uppercase;-webkit-user-select:none;user-select:none} #main-tabs>.mat-tab-header .mat-tab-label.mat-ripple:not(#mat-tab-label-0-0){padding-right:0} #main-tabs>.mat-tab-header .mat-tab-label.mat-ripple:not(#mat-tab-label-0-0) button{border-radius:0;display:inline-block;margin-left:10px} #main-tabs>.mat-tab-header .mat-tab-labels .mat-tab-label:nth-last-child(-n+2){min-width:0;padding:0 12px;color:unset;opacity:unset} #main-tabs>.mat-tab-header .mat-tab-labels .mat-tab-label:nth-last-child(-n+2) button{margin-left:0!important} #main-tabs>.mat-tab-header .mat-tab-labels .mat-tab-label:last-child{margin-left:auto} #main-tabs>.mat-tab-header .mat-tab-labels .mat-tab-label:last-child button{padding:0 5px!important;display:block;box-sizing:content-box;margin-right:5px!important} #download-menu-size-flow{width:185px;display:block;max-width:90vw}"]})},6747:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.AppModule=void 0;const n=a(655),h=a(6529),y=a(3075),d=a(7423),o=a(9417),c=a(508),f=a(2339),p=a(3293),m=a(5010),u=a(4999),_=a(3251),v=a(7238),b=a(2313),T=a(6360),S=a(107),x=a(1430),A=a(5109),H=a(2290),Z=a(5041),Q=(0,n.__importStar)(a(5e3));(0,n.__importStar)(a(2290));class z{}r.AppModule=z,z.\u0275fac=function(ae){return new(ae||z)},z.\u0275mod=Q.\u0275\u0275defineNgModule({type:z,bootstrap:[Z.AppComponent]}),z.\u0275inj=Q.\u0275\u0275defineInjector({providers:[{provide:S.MONACO_PATH,useValue:"assets/vs"}],imports:[[b.BrowserModule,y.FormsModule,y.ReactiveFormsModule,S.MonacoEditorModule,T.BrowserAnimationsModule,A.NgxJsonViewerModule,H.ToastrModule.forRoot(),x.AngularSplitModule,h.HttpClientModule,d.MatButtonModule,o.MatChipsModule,f.MatDialogModule,p.MatIconModule,m.MatMenuModule,c.MatRippleModule,u.MatTableModule,_.MatTabsModule,v.MatTooltipModule]]})},8495:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ConsoleComponent=void 0;const n=a(655),h=a(9972),y=(0,n.__importStar)(a(5e3)),d=(0,n.__importStar)(a(7423)),o=(0,n.__importStar)(a(3293)),c=(0,n.__importStar)(a(9808)),f=(0,n.__importStar)(a(5109));function p(T,S){1&T&&(y.\u0275\u0275elementContainerStart(0),y.\u0275\u0275text(1,"info_outline"),y.\u0275\u0275elementContainerEnd())}function m(T,S){1&T&&(y.\u0275\u0275elementContainerStart(0),y.\u0275\u0275text(1,"error"),y.\u0275\u0275elementContainerEnd())}function u(T,S){1&T&&(y.\u0275\u0275elementContainerStart(0),y.\u0275\u0275text(1,"public"),y.\u0275\u0275elementContainerEnd())}function _(T,S){if(1&T&&y.\u0275\u0275element(0,"ngx-json-viewer",6),2&T){const x=y.\u0275\u0275nextContext().$implicit;y.\u0275\u0275property("json",x.details)("expanded",!1)}}function v(T,S){if(1&T&&(y.\u0275\u0275elementStart(0,"li",2)(1,"mat-icon",3),y.\u0275\u0275template(2,p,2,0,"ng-container",4),y.\u0275\u0275template(3,m,2,0,"ng-container",4),y.\u0275\u0275template(4,u,2,0,"ng-container",4),y.\u0275\u0275elementEnd(),y.\u0275\u0275elementStart(5,"span"),y.\u0275\u0275text(6),y.\u0275\u0275elementEnd(),y.\u0275\u0275template(7,_,1,2,"ngx-json-viewer",5),y.\u0275\u0275elementEnd()),2&T){const x=S.$implicit,A=y.\u0275\u0275nextContext();y.\u0275\u0275property("ngClass",x.type),y.\u0275\u0275advance(1),y.\u0275\u0275property("ngSwitch",x.type)("ngClass",x.type),y.\u0275\u0275advance(1),y.\u0275\u0275property("ngSwitchCase",A.itemTypes.INFO),y.\u0275\u0275advance(1),y.\u0275\u0275property("ngSwitchCase",A.itemTypes.ERROR),y.\u0275\u0275advance(1),y.\u0275\u0275property("ngSwitchCase",A.itemTypes.NETWORK),y.\u0275\u0275advance(2),y.\u0275\u0275textInterpolate(x.message),y.\u0275\u0275advance(1),y.\u0275\u0275property("ngIf",x.details)}}class b{constructor(){this.itemTypes=h.ConsoleItemType,this.items=[]}}r.ConsoleComponent=b,b.\u0275fac=function(S){return new(S||b)},b.\u0275cmp=y.\u0275\u0275defineComponent({type:b,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(S,x){1&S&&(y.\u0275\u0275elementStart(0,"header")(1,"strong"),y.\u0275\u0275text(2,"CONSOLE"),y.\u0275\u0275elementEnd(),y.\u0275\u0275element(3,"s"),y.\u0275\u0275elementStart(4,"button",0),y.\u0275\u0275listener("click",function(){return x.items.splice(0,x.items.length)}),y.\u0275\u0275elementStart(5,"mat-icon"),y.\u0275\u0275text(6,"delete"),y.\u0275\u0275elementEnd()()(),y.\u0275\u0275elementStart(7,"ul"),y.\u0275\u0275template(8,v,8,8,"li",1),y.\u0275\u0275elementEnd()),2&S&&(y.\u0275\u0275advance(8),y.\u0275\u0275property("ngForOf",x.items))},directives:[d.MatButton,o.MatIcon,c.NgForOf,c.NgClass,c.NgSwitch,c.NgSwitchCase,c.NgIf,f.NgxJsonViewerComponent],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 #e7e7e7;line-height:27px;font-size:11pt;align-self:center}header[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:0 10px}ul[_ngcontent-%COMP%]{padding:0;margin:0;box-sizing:border-box}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{list-style:none;display:block;width:100%;height:auto;padding:5px 10px;font-size:1rem;border-bottom:1px solid #444444;background-color:#111;word-break:break-all;box-sizing:border-box;word-wrap:break-word;font-family:monospace}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline;vertical-align:text-bottom}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{height:1rem;width:1rem;font-size:1rem;vertical-align:sub;margin-right:7.5px;-webkit-user-select:none;user-select:none}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] mat-icon.info[_ngcontent-%COMP%]{color:#b9b9bb}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] mat-icon.error[_ngcontent-%COMP%]{color:#ff3b6b}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] mat-icon.network_recv[_ngcontent-%COMP%], ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] mat-icon.network_send[_ngcontent-%COMP%]{color:#939395}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:hover{background-color:#0000004d}ul[_ngcontent-%COMP%] > li.error[_ngcontent-%COMP%]{color:#e69fa3;background-color:#4b2f36}"]})},9972:(G,r)=>{"use strict";var n;Object.defineProperty(r,"__esModule",{value:!0}),r.ConsoleItemType=void 0,(n=r.ConsoleItemType||(r.ConsoleItemType={})).INFO="info",n.ERROR="error",n.NETWORK="network"},4814:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.DialogAboutComponent=void 0;const n=a(655),h=a(4147),y=(0,n.__importStar)(a(5e3)),d=(0,n.__importStar)(a(2339)),o=(0,n.__importStar)(a(9417)),c=(0,n.__importStar)(a(7423)),f=(0,n.__importStar)(a(3293)),p=(0,n.__importStar)(a(9808));function m(_,v){if(1&_&&(y.\u0275\u0275elementStart(0,"a",6)(1,"mat-chip",2)(2,"span",7),y.\u0275\u0275text(3),y.\u0275\u0275elementEnd(),y.\u0275\u0275element(4,"s"),y.\u0275\u0275elementStart(5,"span",8),y.\u0275\u0275text(6),y.\u0275\u0275elementEnd()()()),2&_){const b=v.$implicit;y.\u0275\u0275property("href","https://www.npmjs.com/package/"+b[0]+"/v/"+b[1],y.\u0275\u0275sanitizeUrl),y.\u0275\u0275advance(1),y.\u0275\u0275property("disableRipple",!0),y.\u0275\u0275advance(2),y.\u0275\u0275textInterpolate(b[0]),y.\u0275\u0275advance(3),y.\u0275\u0275textInterpolate(b[1])}}class u{constructor(){this.version=h.version,this.dependencies=Object.entries(h.devDependencies).filter(([v])=>v.startsWith("@sdkgen"))}}r.DialogAboutComponent=u,u.\u0275fac=function(v){return new(v||u)},u.\u0275cmp=y.\u0275\u0275defineComponent({type:u,selectors:[["app-dialog-about"]],decls:17,vars:5,consts:[["mat-dialog-title",""],[3,"selectable"],[3,"disableRipple"],["mat-icon-button","","mat-dialog-close","","tabindex","-1"],[1,"mat-chip-list-stacked",3,"selectable"],["target","_blank","rel","external noopener noreferrer",3,"href",4,"ngFor","ngForOf"],["target","_blank","rel","external noopener noreferrer",3,"href"],[1,"dependency-name"],[1,"dependency-version"]],template:function(v,b){1&v&&(y.\u0275\u0275elementStart(0,"header")(1,"h1",0),y.\u0275\u0275text(2,"sdkgen Playground"),y.\u0275\u0275elementEnd(),y.\u0275\u0275elementStart(3,"mat-chip-list",1)(4,"mat-chip",2),y.\u0275\u0275text(5),y.\u0275\u0275elementEnd()(),y.\u0275\u0275element(6,"s"),y.\u0275\u0275elementStart(7,"button",3)(8,"mat-icon"),y.\u0275\u0275text(9,"close"),y.\u0275\u0275elementEnd()()(),y.\u0275\u0275elementStart(10,"p"),y.\u0275\u0275text(11,"Ferramenta para explorar e invocar APIs feitas com sdkgen."),y.\u0275\u0275elementEnd(),y.\u0275\u0275elementStart(12,"section")(13,"h4"),y.\u0275\u0275text(14,"Depend\xeancias"),y.\u0275\u0275elementEnd(),y.\u0275\u0275elementStart(15,"mat-chip-list",4),y.\u0275\u0275template(16,m,7,4,"a",5),y.\u0275\u0275elementEnd()()),2&v&&(y.\u0275\u0275advance(3),y.\u0275\u0275property("selectable",!1),y.\u0275\u0275advance(1),y.\u0275\u0275property("disableRipple",!0),y.\u0275\u0275advance(1),y.\u0275\u0275textInterpolate(b.version),y.\u0275\u0275advance(10),y.\u0275\u0275property("selectable",!1),y.\u0275\u0275advance(1),y.\u0275\u0275property("ngForOf",b.dependencies))},directives:[d.MatDialogTitle,o.MatChipList,o.MatChip,c.MatButton,d.MatDialogClose,f.MatIcon,p.NgForOf],styles:["header[_ngcontent-%COMP%]{display:flex;border-bottom:1px solid rgba(255,255,255,.2);padding-bottom:5px}header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], header[_ngcontent-%COMP%] button[_ngcontent-%COMP%], header[_ngcontent-%COMP%] mat-chip-list[_ngcontent-%COMP%]{display:inline;align-self:center}header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{display:flex;margin:0 10px 0 0}header[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:20px}section[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-weight:500}section[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:100%}section[_ngcontent-%COMP%] .mat-chip[_ngcontent-%COMP%]{padding:0;overflow:hidden;cursor:pointer}section[_ngcontent-%COMP%] .dependency-name[_ngcontent-%COMP%]{padding:7px 12px}section[_ngcontent-%COMP%] .dependency-version[_ngcontent-%COMP%]{float:right;background:rgba(0,0,0,.15);padding:7px 12px;height:100%}"]})},4211:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.FilterPipe=void 0;const h=(0,a(655).__importStar)(a(5e3));class y{transform(o,c){if(!o)return[];if(!c)return o;const f=c.toLocaleLowerCase();return o.filter(p=>JSON.stringify(p).toLocaleLowerCase().includes(f))}}r.FilterPipe=y,y.\u0275fac=function(o){return new(o||y)},y.\u0275pipe=h.\u0275\u0275definePipe({name:"appFilter",type:y,pure:!0})},7120:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ResponsiveService=void 0;const n=a(655),h=(0,n.__importStar)(a(5e3)),y=(0,n.__importStar)(a(5113));class d{constructor(c){this.observer=c}isBelowSm(){return this.observer.observe(["(max-width: 575px)"])}isBelowMd(){return this.observer.observe(["(max-width: 767px)"])}isBelowLg(){return this.observer.observe(["(max-width: 991px)"])}isBelowXl(){return this.observer.observe(["(max-width: 1199px)"])}}r.ResponsiveService=d,d.\u0275fac=function(c){return new(c||d)(h.\u0275\u0275inject(y.BreakpointObserver))},d.\u0275prov=h.\u0275\u0275defineInjectable({token:d,factory:d.\u0275fac,providedIn:"root"})},9435:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getTypeDoc=r.getTypeLabels=r.getConstructorName=r.primitiveTypesExamples=r.primitiveTypes=void 0;const n=a(6676),h=a(6395);function y(c){switch(c.constructor){case n.StringPrimitiveType:return"StringPrimitiveType";case n.IntPrimitiveType:return"IntPrimitiveType";case n.UIntPrimitiveType:return"UIntPrimitiveType";case n.FloatPrimitiveType:return"FloatPrimitiveType";case n.BigIntPrimitiveType:return"BigIntPrimitiveType";case n.MoneyPrimitiveType:return"MoneyPrimitiveType";case n.DatePrimitiveType:return"DatePrimitiveType";case n.DateTimePrimitiveType:return"DateTimePrimitiveType";case n.BoolPrimitiveType:return"BoolPrimitiveType";case n.VoidPrimitiveType:return"VoidPrimitiveType";case n.CpfPrimitiveType:return"CpfPrimitiveType";case n.CnpjPrimitiveType:return"CnpjPrimitiveType";case n.EmailPrimitiveType:return"EmailPrimitiveType";case n.UrlPrimitiveType:return"UrlPrimitiveType";case n.UuidPrimitiveType:return"UuidPrimitiveType";case n.HexPrimitiveType:return"HexPrimitiveType";case n.HtmlPrimitiveType:return"HtmlPrimitiveType";case n.BytesPrimitiveType:return"BytesPrimitiveType";case n.Base64PrimitiveType:return"Base64PrimitiveType";case n.XmlPrimitiveType:return"XmlPrimitiveType";case n.JsonPrimitiveType:return"JsonPrimitiveType";case n.OptionalType:return"OptionalType";case n.EnumType:return"EnumType";case n.ArrayType:return"ArrayType";case n.StructType:return"StructType";default:return c.constructor.name}}r.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",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?."},r.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"],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}']},r.getConstructorName=y,r.getTypeLabels=function d(c){const f=[];switch(c.constructor){case n.StringPrimitiveType:case n.IntPrimitiveType:case n.UIntPrimitiveType:case n.FloatPrimitiveType:case n.BigIntPrimitiveType:case n.MoneyPrimitiveType: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:f.push("Primitivo");break;case n.OptionalType:f.push("Opcional"),f.push(...d(c.base));break;case n.TypeReference:f.push(...d(c.type));break;case n.ArrayType:f.push("Array"),f.push(...d(c.base));break;case n.EnumType:f.push("Enum");break;default:console.error("No labels for",y(c))}return f},r.getTypeDoc=function o(c){var f,p,m;switch(c.constructor){case n.StringPrimitiveType:case n.IntPrimitiveType:case n.UIntPrimitiveType:case n.FloatPrimitiveType:case n.BigIntPrimitiveType:case n.MoneyPrimitiveType: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:r.primitiveTypes[y(c)],shortDescription:r.primitiveTypes[y(c)],examples:r.primitiveTypesExamples[y(c)]};case n.OptionalType:{const b=o(c.base);return Object.assign(Object.assign({},b),{longDescription:b.longDescription,shortDescription:`(opcional) ${b.shortDescription}`,examples:["null",...null!==(f=b.examples)&&void 0!==f?f:[]]})}case n.TypeReference:return o(c.type);case n.ArrayType:{const b=o(c.base);return Object.assign(Object.assign({},b),{longDescription:b.longDescription,shortDescription:`(array) ${b.shortDescription}`,examples:["[]",...null!==(m=null===(p=b.examples)||void 0===p?void 0:p.map(T=>`[${T}]`))&&void 0!==m?m:[]]})}case n.EnumType:const u=c,_=u.values.slice(0,3),v=_.map(b=>b.struct?`${b.value}: ${JSON.stringify((new h.SdkgenService).buildJsonObject(b.struct.fields),null,2)}`:b.value);return{longDescription:"enum representa um conjunto limitado de possibilidades de valores, similar as enumera\xe7\xf5es em outras linguagens.",shortDescription:`(enum) ${_.map(b=>`${b.value}${b.struct?"(\u2026)":""}`).join(", ")}${_.length>3?"\u2026":""}`,examples:v,isEnum:!0,isStruct:!0,structFields:u.values.map(b=>{var T;return{name:b.value,type:b.struct,description:null===(T=b.annotations.find(S=>S instanceof n.DescriptionAnnotation))||void 0===T?void 0:T.text,secret:!1}})};case n.StructType:return{longDescription:"",shortDescription:`(objeto complexo) ${c.fields.slice(0,3).map(b=>b.name).join(", ")}\u2026`,isStruct:!0,structFields:c.fields.map(b=>{var T;return{name:b.name,description:null===(T=b.annotations.find(S=>S instanceof n.DescriptionAnnotation))||void 0===T?void 0:T.text,type:b.type,secret:b.secret}}),examples:[JSON.stringify((new h.SdkgenService).buildJsonObject(c.fields),null,2)]};default:return{longDescription:"BUG: Unknown Type",shortDescription:"BUG: Unknown Type",examples:[]}}}},6395:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var _asyncToGenerator=__webpack_require__(8926).default;Object.defineProperty(exports,"__esModule",{value:!0}),exports.SdkgenService=void 0;const tslib_1=__webpack_require__(655),browser_runtime_1=__webpack_require__(4539),parser_1=__webpack_require__(6676),rxjs_1=__webpack_require__(6477),i0=(0,tslib_1.__importStar)(__webpack_require__(5e3));class SdkgenService{constructor(){this.state$=new rxjs_1.BehaviorSubject(null)}buildJsonObject(G,r=new Set){const a=n=>{switch(n.constructor){case parser_1.StringPrimitiveType:return"";case parser_1.IntPrimitiveType:case parser_1.UIntPrimitiveType:case parser_1.FloatPrimitiveType:case parser_1.BigIntPrimitiveType:case parser_1.MoneyPrimitiveType:return 0;case parser_1.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 r.has(n.name)?{}:this.buildJsonObject(n.fields,new Set([...r,n.name]));case parser_1.OptionalType:return null;case parser_1.TypeReference:return a(n.type);case parser_1.ArrayType:return[a(n.base),a(n.base),a(n.base)];case parser_1.EnumType:return n.values[0].value;default:return null}};return G.reduce((n,h)=>(n[h.name]=a(h.type),n),{})}getTypeScriptCode(G,r){return`await client.${G}(${JSON.stringify(r,null,2)});\n`}buildKotlinString(G,r=0){const a=n=>{switch(n.constructor){case parser_1.StringPrimitiveType:return'""';case parser_1.IntPrimitiveType:case parser_1.UIntPrimitiveType:case parser_1.FloatPrimitiveType:case parser_1.BigIntPrimitiveType:case parser_1.MoneyPrimitiveType:return 0;case parser_1.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,r+1)}\n${" ".repeat(r+1)})`;case parser_1.OptionalType:return"null";case parser_1.TypeReference:return a(n.type);case parser_1.ArrayType:r++;const h=a(n.base);return r--,`arrayOf(\n${" ".repeat(r+2)}${h},\n${" ".repeat(r+2)}${h}\n${" ".repeat(r+1)})`;case parser_1.EnumType:return`"${n.values[0].value}"`;default:return"<>()"}};return G.map(n=>`${" ".repeat(r+1)}${a(n.type)}`).join(",\n")}getKotlinCode(G,r){return 0===r.length?`client.${G}().await();`:`client.${G}(\n${this.buildKotlinString(r)}\n).await();`}getDartCode(G,r){return'print("todo");'}getSwiftCode(G,r){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:(G,r)=>["baseUrl","extra","successHook","errorHook","makeRequest"].includes(r.toString())?clientInstance[r.toString()]:function(){var a=_asyncToGenerator(function*(n){return clientInstance.makeRequest(r.toString(),n)});return function(n){return a.apply(this,arguments)}}()})}}exports.SdkgenService=SdkgenService,SdkgenService.\u0275fac=function G(r){return new(r||SdkgenService)},SdkgenService.\u0275prov=i0.\u0275\u0275defineInjectable({token:SdkgenService,factory:SdkgenService.\u0275fac,providedIn:"root"})},7822:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var _asyncToGenerator=__webpack_require__(8926).default;Object.defineProperty(exports,"__esModule",{value:!0}),exports.SimpleCallComponent=void 0;const tslib_1=__webpack_require__(655),forms_1=__webpack_require__(3075),console_types_1=__webpack_require__(9972),code_execution_1=__webpack_require__(8227),i0=(0,tslib_1.__importStar)(__webpack_require__(5e3)),i1=(0,tslib_1.__importStar)(__webpack_require__(6395)),i2=(0,tslib_1.__importStar)(__webpack_require__(1430)),i3=(0,tslib_1.__importStar)(__webpack_require__(3251)),i4=(0,tslib_1.__importStar)(__webpack_require__(7423)),i5=(0,tslib_1.__importStar)(__webpack_require__(3293)),i6=(0,tslib_1.__importStar)(__webpack_require__(107)),i7=(0,tslib_1.__importStar)(__webpack_require__(3075)),i8=(0,tslib_1.__importStar)(__webpack_require__(5109)),i9=(0,tslib_1.__importStar)(__webpack_require__(8495));class SimpleCallComponent{constructor(G){this.sdkgen=G,this.editorOptions={theme:"vs-dark",language:"json"},this.code="",this.selected=new forms_1.FormControl(0),this.consoleItems=[]}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(G=>{!G||(this.generateFunctionCode(G.astRoot,this.fn),this.client=this.sdkgen.getSdkgenClient(G.url,G.astJson))})}ngOnDestroy(){var G;null===(G=this.state$)||void 0===G||G.unsubscribe()}run(){var _this=this;return _asyncToGenerator(function*(){{const events=_this.consoleItems;eval(code_execution_1.wrapper)}const exec=_this.client[_this.fn](JSON.parse(_this.code));try{_this.response={result:yield exec}}catch(G){_this.consoleItems.push({type:console_types_1.ConsoleItemType.ERROR,message:G.toString()}),delete G.toString,_this.response={error:{type:G.type,message:G.message,data:G.data}}}finally{eval(code_execution_1.unwrap),_this.selected.setValue(1)}})()}generateFunctionCode(G,r){var a;const n=null===(a=G.operations.find(h=>h.name===r))||void 0===a?void 0:a.args;n&&(this.code=JSON.stringify(this.sdkgen.buildJsonObject(n),null,2))}}exports.SimpleCallComponent=SimpleCallComponent,SimpleCallComponent.\u0275fac=function G(r){return new(r||SimpleCallComponent)(i0.\u0275\u0275directiveInject(i1.SdkgenService))},SimpleCallComponent.\u0275cmp=i0.\u0275\u0275defineComponent({type:SimpleCallComponent,selectors:[["app-simple-call"]],inputs:{fn:"fn"},decls:12,vars:7,consts:[["direction","vertical"],["animationDuration","0ms",3,"selectedIndex","selectedIndexChange"],["label","Requisi\xe7\xe3o"],["mat-fab","",1,"run-fab",3,"click"],[3,"options","ngModel","ngModelChange"],["label","Resposta",3,"disabled"],[3,"json"],[3,"size"],[3,"items"]],template:function G(r,a){1&r&&(i0.\u0275\u0275elementStart(0,"as-split",0)(1,"as-split-area")(2,"mat-tab-group",1),i0.\u0275\u0275listener("selectedIndexChange",function(h){return a.selected.setValue(h)}),i0.\u0275\u0275elementStart(3,"mat-tab",2)(4,"button",3),i0.\u0275\u0275listener("click",function(){return a.run()}),i0.\u0275\u0275elementStart(5,"mat-icon"),i0.\u0275\u0275text(6,"play_arrow"),i0.\u0275\u0275elementEnd()(),i0.\u0275\u0275elementStart(7,"ngx-monaco-editor",4),i0.\u0275\u0275listener("ngModelChange",function(h){return a.code=h}),i0.\u0275\u0275elementEnd()(),i0.\u0275\u0275elementStart(8,"mat-tab",5),i0.\u0275\u0275element(9,"ngx-json-viewer",6),i0.\u0275\u0275elementEnd()()(),i0.\u0275\u0275elementStart(10,"as-split-area",7),i0.\u0275\u0275element(11,"app-console",8),i0.\u0275\u0275elementEnd()()),2&r&&(i0.\u0275\u0275advance(2),i0.\u0275\u0275property("selectedIndex",a.selected.value),i0.\u0275\u0275advance(5),i0.\u0275\u0275property("options",a.editorOptions)("ngModel",a.code),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("disabled",!a.response),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("json",a.response),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("size",30),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("items",a.consoleItems))},directives:[i2.SplitComponent,i2.SplitAreaDirective,i3.MatTabGroup,i3.MatTab,i4.MatButton,i5.MatIcon,i6.MonacoEditorComponent,i7.NgControlStatus,i7.NgModel,i8.NgxJsonViewerComponent,i9.ConsoleComponent],styles:["[_nghost-%COMP%]{display:block;height:100%}mat-tab-group[_ngcontent-%COMP%]{height:100%}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%}"]})},4264:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var _asyncToGenerator=__webpack_require__(8926).default;Object.defineProperty(exports,"__esModule",{value:!0}),exports.TabEditorComponent=void 0;const tslib_1=__webpack_require__(655),typescript_generator_1=__webpack_require__(2911),console_types_1=__webpack_require__(9972),code_execution_1=__webpack_require__(8227),i0=(0,tslib_1.__importStar)(__webpack_require__(5e3)),i1=(0,tslib_1.__importStar)(__webpack_require__(6395)),i2=(0,tslib_1.__importStar)(__webpack_require__(7423)),i3=(0,tslib_1.__importStar)(__webpack_require__(3293)),i4=(0,tslib_1.__importStar)(__webpack_require__(1430)),i5=(0,tslib_1.__importStar)(__webpack_require__(107)),i6=(0,tslib_1.__importStar)(__webpack_require__(3075)),i7=(0,tslib_1.__importStar)(__webpack_require__(8495));class TabEditorComponent{constructor(G){this.sdkgen=G,this.code="",this.editorOptions={theme:"vs-dark",language:"typescript"},this.consoleItems=[{type:console_types_1.ConsoleItemType.INFO,message:"Bem-vindo! A sa\xedda dos seus testes aparecer\xe1 aqui :)"}]}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(G=>{if(!G)return;const r=`${this.patchBrowserClientSource((0,typescript_generator_1.generateBrowserClientSource)(G.astRoot))}\n\ndeclare const client: sdkgen.ApiClient;\n\n`;this.client=this.sdkgen.getSdkgenClient(G.url,G.astJson),monaco.languages.typescript.typescriptDefaults.getCompilerOptions().target=monaco.languages.typescript.ScriptTarget.ESNext,monaco.languages.typescript.typescriptDefaults.getCompilerOptions().module=monaco.languages.typescript.ModuleKind.ESNext,monaco.languages.typescript.typescriptDefaults.getDiagnosticsOptions().diagnosticCodesToIgnore=[1375];const a=monaco.editor.getModels().find(h=>h.uri.toString().endsWith("client.d.ts"));a?a.setValue(r):monaco.editor.createModel(r,"typescript",monaco.Uri.parse("ts:filename/client.d.ts"));const[n]=G.astRoot.operations;this.code=this.sdkgen.getTypeScriptCode(n.name,this.sdkgen.buildJsonObject(n.args))})}ngOnDestroy(){var G;null===(G=this.state$)||void 0===G||G.unsubscribe()}patchBrowserClientSource(G){return`declare namespace sdkgen {\n${G.substring(95,G.indexOf("const errClasses")).replace(/ extends SdkgenError/g," extends Error").replace(/ extends SdkgenHttpClient/g,"").replace(/{ return this.makeRequest\(.*$/gm,"").replace(/ {\n {8}super\(baseUrl, astJson, errClasses\);\n {4}}/g,"").replace("constructor(","\n baseUrl: string;\n extra = new Map<string, any>();\n successHook: (result: any, name: string, args: any) => void = () => undefined;\n errorHook: (result: any, name: string, args: any) => void = () => undefined;\n async makeRequest(functionName: string, args: unknown): Promise<any>;\n \nconstructor(")}\n}\n`}run(){var _this=this;return _asyncToGenerator(function*(){try{yield eval(`\n (async (client, events) => {\n ${code_execution_1.wrapper}\n ${_this.code}\n })\n `)(_this.client,_this.consoleItems).finally(()=>eval(code_execution_1.unwrap))}catch(G){_this.consoleItems.push({type:console_types_1.ConsoleItemType.ERROR,message:G.toString()})}})()}}exports.TabEditorComponent=TabEditorComponent,TabEditorComponent.\u0275fac=function G(r){return new(r||TabEditorComponent)(i0.\u0275\u0275directiveInject(i1.SdkgenService))},TabEditorComponent.\u0275cmp=i0.\u0275\u0275defineComponent({type:TabEditorComponent,selectors:[["app-tab-editor"]],decls:8,vars:4,consts:[["mat-fab","",1,"run-fab",3,"click"],["direction","vertical"],[1,"o-hidden"],[3,"options","ngModel","ngModelChange"],[3,"size"],[3,"items"]],template:function G(r,a){1&r&&(i0.\u0275\u0275elementStart(0,"button",0),i0.\u0275\u0275listener("click",function(){return a.run()}),i0.\u0275\u0275elementStart(1,"mat-icon"),i0.\u0275\u0275text(2,"play_arrow"),i0.\u0275\u0275elementEnd()(),i0.\u0275\u0275elementStart(3,"as-split",1)(4,"as-split-area",2)(5,"ngx-monaco-editor",3),i0.\u0275\u0275listener("ngModelChange",function(h){return a.code=h}),i0.\u0275\u0275elementEnd()(),i0.\u0275\u0275elementStart(6,"as-split-area",4),i0.\u0275\u0275element(7,"app-console",5),i0.\u0275\u0275elementEnd()()),2&r&&(i0.\u0275\u0275advance(5),i0.\u0275\u0275property("options",a.editorOptions)("ngModel",a.code),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("size",30),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("items",a.consoleItems))},directives:[i2.MatButton,i3.MatIcon,i4.SplitComponent,i4.SplitAreaDirective,i5.MonacoEditorComponent,i6.NgControlStatus,i6.NgModel,i7.ConsoleComponent],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;height:calc(100% - 4px);margin-top:4px} .scroll-decoration{display:none}.o-hidden[_ngcontent-%COMP%]{overflow:hidden!important}"]})},5585:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.TabHomeComponent=void 0;const n=a(655),h=a(5e3),y=a(9435),d=a(5281),o=(0,n.__importStar)(a(5e3)),c=(0,n.__importStar)(a(6395)),f=(0,n.__importStar)(a(2339)),p=(0,n.__importStar)(a(7120)),m=(0,n.__importStar)(a(1430)),u=(0,n.__importStar)(a(3075)),_=(0,n.__importStar)(a(9808)),v=(0,n.__importStar)(a(7238)),b=(0,n.__importStar)(a(7423)),T=(0,n.__importStar)(a(3293)),S=(0,n.__importStar)(a(9417)),x=(0,n.__importStar)(a(4999)),A=(0,n.__importStar)(a(3251)),H=(0,n.__importStar)(a(107)),Z=(0,n.__importStar)(a(4211));function Q(Ke,Re){if(1&Ke&&(o.\u0275\u0275elementStart(0,"span",8),o.\u0275\u0275text(1),o.\u0275\u0275elementEnd()),2&Ke){const V=o.\u0275\u0275nextContext().$implicit;o.\u0275\u0275advance(1),o.\u0275\u0275textInterpolate(V.description)}}const J=function(Ke){return{active:Ke}};function z(Ke,Re){if(1&Ke){const V=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"li",5),o.\u0275\u0275listener("click",function(){const Je=o.\u0275\u0275restoreView(V).$implicit;return o.\u0275\u0275nextContext().selectedFunction=Je}),o.\u0275\u0275elementStart(1,"span",6),o.\u0275\u0275text(2),o.\u0275\u0275elementEnd(),o.\u0275\u0275template(3,Q,2,1,"span",7),o.\u0275\u0275elementEnd()}if(2&Ke){const V=Re.$implicit,ge=o.\u0275\u0275nextContext();o.\u0275\u0275property("ngClass",o.\u0275\u0275pureFunction1(3,J,(null==ge.selectedFunction?null:ge.selectedFunction.name)===V.name)),o.\u0275\u0275advance(2),o.\u0275\u0275textInterpolate(V.name),o.\u0275\u0275advance(1),o.\u0275\u0275property("ngIf",V.description)}}function se(Ke,Re){1&Ke&&o.\u0275\u0275element(0,"span")}function ae(Ke,Re){if(1&Ke){const V=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"span"),o.\u0275\u0275element(1,"br"),o.\u0275\u0275text(2,"\xa0\xa0"),o.\u0275\u0275elementStart(3,"span",37),o.\u0275\u0275text(4),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(5,"span",14),o.\u0275\u0275text(6,":"),o.\u0275\u0275elementEnd(),o.\u0275\u0275text(7,"\xa0"),o.\u0275\u0275elementStart(8,"u",15),o.\u0275\u0275listener("click",function(){const Je=o.\u0275\u0275restoreView(V).$implicit;return o.\u0275\u0275nextContext(2).showDocumentation(Je.rawType)}),o.\u0275\u0275text(9),o.\u0275\u0275elementEnd(),o.\u0275\u0275template(10,se,1,0,"span",38),o.\u0275\u0275elementEnd()}if(2&Ke){const V=Re.$implicit,ge=Re.index;o.\u0275\u0275nextContext();const xe=o.\u0275\u0275reference(18),Je=o.\u0275\u0275reference(20),st=o.\u0275\u0275nextContext();o.\u0275\u0275advance(4),o.\u0275\u0275textInterpolate(V.name),o.\u0275\u0275advance(4),o.\u0275\u0275property("matTooltip",st.getTooltip(V.rawType)),o.\u0275\u0275advance(1),o.\u0275\u0275textInterpolate(V.type),o.\u0275\u0275advance(1),o.\u0275\u0275property("ngIf",ge!=st.selectedFunction.args.length-1)("ngIfThen",xe)("ngIfElse",Je)}}function me(Ke,Re){1&Ke&&o.\u0275\u0275text(0,",")}function Te(Ke,Re){1&Ke&&o.\u0275\u0275element(0,"br")}function _e(Ke,Re){if(1&Ke){const V=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"u",29),o.\u0275\u0275listener("click",function(){o.\u0275\u0275restoreView(V);const xe=o.\u0275\u0275nextContext().$implicit;return o.\u0275\u0275nextContext(3).showDocumentation(xe.dataType)}),o.\u0275\u0275text(1),o.\u0275\u0275elementEnd()}if(2&Ke){const V=o.\u0275\u0275nextContext().$implicit,ge=o.\u0275\u0275nextContext(3);o.\u0275\u0275property("matTooltip",ge.getTooltip(V.dataType)),o.\u0275\u0275advance(1),o.\u0275\u0275textInterpolate1("(",V.dataType.name,")")}}function Y(Ke,Re){if(1&Ke&&(o.\u0275\u0275elementStart(0,"mat-chip",42)(1,"span",28),o.\u0275\u0275text(2),o.\u0275\u0275elementEnd(),o.\u0275\u0275element(3,"i"),o.\u0275\u0275elementStart(4,"span",28),o.\u0275\u0275text(5),o.\u0275\u0275template(6,_e,2,2,"u",43),o.\u0275\u0275elementEnd()()),2&Ke){const V=Re.$implicit;o.\u0275\u0275property("disableRipple",!0),o.\u0275\u0275advance(2),o.\u0275\u0275textInterpolate(V.name),o.\u0275\u0275advance(3),o.\u0275\u0275textInterpolate1("",V.type," "),o.\u0275\u0275advance(1),o.\u0275\u0275property("ngIf",V.dataType&&"void"!==V.dataType.name)}}function de(Ke,Re){if(1&Ke&&(o.\u0275\u0275elementStart(0,"section",39)(1,"mat-chip-list",40),o.\u0275\u0275template(2,Y,7,4,"mat-chip",41),o.\u0275\u0275elementEnd()()),2&Ke){const V=o.\u0275\u0275nextContext(2);o.\u0275\u0275advance(1),o.\u0275\u0275property("selectable",!1),o.\u0275\u0275advance(1),o.\u0275\u0275property("ngForOf",V.selectedFunction.labels)}}function W(Ke,Re){if(1&Ke&&(o.\u0275\u0275elementStart(0,"p"),o.\u0275\u0275text(1),o.\u0275\u0275elementEnd()),2&Ke){const V=o.\u0275\u0275nextContext(2);o.\u0275\u0275advance(1),o.\u0275\u0275textInterpolate(V.selectedFunction.description)}}function he(Ke,Re){1&Ke&&(o.\u0275\u0275elementStart(0,"p",44),o.\u0275\u0275text(1,"N\xe3o h\xe1 descri\xe7\xe3o para esta fun\xe7\xe3o."),o.\u0275\u0275elementEnd())}function ce(Ke,Re){1&Ke&&(o.\u0275\u0275elementStart(0,"p",44),o.\u0275\u0275text(1,"Esta fun\xe7\xe3o n\xe3o possui argumentos."),o.\u0275\u0275elementEnd())}function Se(Ke,Re){1&Ke&&(o.\u0275\u0275elementStart(0,"th",54),o.\u0275\u0275text(1,"Nome"),o.\u0275\u0275elementEnd())}function rt(Ke,Re){if(1&Ke&&(o.\u0275\u0275elementStart(0,"td",55),o.\u0275\u0275text(1),o.\u0275\u0275elementEnd()),2&Ke){const V=Re.$implicit;o.\u0275\u0275advance(1),o.\u0275\u0275textInterpolate(V.name)}}function gt(Ke,Re){1&Ke&&(o.\u0275\u0275elementStart(0,"th",54),o.\u0275\u0275text(1,"Tipo"),o.\u0275\u0275elementEnd())}function Ge(Ke,Re){if(1&Ke){const V=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"td",55)(1,"u",29),o.\u0275\u0275listener("click",function(){const Je=o.\u0275\u0275restoreView(V).$implicit;return o.\u0275\u0275nextContext(3).showDocumentation(Je.rawType)}),o.\u0275\u0275text(2),o.\u0275\u0275elementEnd()()}if(2&Ke){const V=Re.$implicit,ge=o.\u0275\u0275nextContext(3);o.\u0275\u0275advance(1),o.\u0275\u0275property("matTooltip",ge.getTooltip(V.rawType)),o.\u0275\u0275advance(1),o.\u0275\u0275textInterpolate(V.type)}}function ht(Ke,Re){1&Ke&&(o.\u0275\u0275elementStart(0,"th",54),o.\u0275\u0275text(1,"Descri\xe7\xe3o"),o.\u0275\u0275elementEnd())}function qe(Ke,Re){if(1&Ke&&(o.\u0275\u0275elementStart(0,"td",56),o.\u0275\u0275text(1),o.\u0275\u0275elementEnd()),2&Ke){const V=Re.$implicit;o.\u0275\u0275advance(1),o.\u0275\u0275textInterpolate(V.description||"-")}}function lt(Ke,Re){1&Ke&&o.\u0275\u0275element(0,"tr",57)}function Be(Ke,Re){1&Ke&&o.\u0275\u0275element(0,"tr",58)}function et(Ke,Re){if(1&Ke&&(o.\u0275\u0275elementStart(0,"table",45),o.\u0275\u0275elementContainerStart(1,46),o.\u0275\u0275template(2,Se,2,0,"th",47),o.\u0275\u0275template(3,rt,2,1,"td",48),o.\u0275\u0275elementContainerEnd(),o.\u0275\u0275elementContainerStart(4,49),o.\u0275\u0275template(5,gt,2,0,"th",47),o.\u0275\u0275template(6,Ge,3,2,"td",48),o.\u0275\u0275elementContainerEnd(),o.\u0275\u0275elementContainerStart(7,50),o.\u0275\u0275template(8,ht,2,0,"th",47),o.\u0275\u0275template(9,qe,2,1,"td",51),o.\u0275\u0275elementContainerEnd(),o.\u0275\u0275template(10,lt,1,0,"tr",52),o.\u0275\u0275template(11,Be,1,0,"tr",53),o.\u0275\u0275elementEnd()),2&Ke){const V=o.\u0275\u0275nextContext(2);o.\u0275\u0275property("dataSource",V.selectedFunction.args),o.\u0275\u0275advance(10),o.\u0275\u0275property("matHeaderRowDef",V.argumentsTableColumns),o.\u0275\u0275advance(1),o.\u0275\u0275property("matRowDefColumns",V.argumentsTableColumns)}}function Ne(Ke,Re){1&Ke&&(o.\u0275\u0275elementStart(0,"span",59),o.\u0275\u0275text(1,"Dart"),o.\u0275\u0275elementEnd())}function We(Ke,Re){1&Ke&&(o.\u0275\u0275elementStart(0,"span",59),o.\u0275\u0275text(1,"Swift"),o.\u0275\u0275elementEnd())}const ft=function(){return{theme:"vs-dark",language:"javascript"}},ve=function(){return{theme:"vs-dark",language:"kotlin"}},we=function(){return{theme:"vs-dark",language:"dart"}},B=function(){return{theme:"vs-dark",language:"swift"}};function te(Ke,Re){if(1&Ke){const V=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"article")(1,"header")(2,"h1",9)(3,"span",10)(4,"span",11),o.\u0275\u0275text(5,"fn"),o.\u0275\u0275elementEnd(),o.\u0275\u0275text(6,"\xa0"),o.\u0275\u0275elementStart(7,"span",12),o.\u0275\u0275text(8),o.\u0275\u0275elementEnd(),o.\u0275\u0275text(9,"("),o.\u0275\u0275template(10,ae,11,6,"span",13),o.\u0275\u0275text(11,")"),o.\u0275\u0275elementStart(12,"span",14),o.\u0275\u0275text(13,":"),o.\u0275\u0275elementEnd(),o.\u0275\u0275text(14,"\xa0"),o.\u0275\u0275elementStart(15,"u",15),o.\u0275\u0275listener("click",function(){o.\u0275\u0275restoreView(V);const xe=o.\u0275\u0275nextContext();return xe.showDocumentation(xe.selectedFunction.returns.rawType)}),o.\u0275\u0275text(16),o.\u0275\u0275elementEnd()(),o.\u0275\u0275template(17,me,1,0,"ng-template",null,16,o.\u0275\u0275templateRefExtractor),o.\u0275\u0275template(19,Te,1,0,"ng-template",null,17,o.\u0275\u0275templateRefExtractor),o.\u0275\u0275element(21,"s"),o.\u0275\u0275elementStart(22,"button",18),o.\u0275\u0275listener("click",function(){return o.\u0275\u0275restoreView(V),o.\u0275\u0275nextContext().addSimpleCallTab()}),o.\u0275\u0275elementStart(23,"mat-icon"),o.\u0275\u0275text(24,"play_arrow"),o.\u0275\u0275elementEnd(),o.\u0275\u0275text(25,"\xa0EXECUTAR "),o.\u0275\u0275elementEnd()()(),o.\u0275\u0275template(26,de,3,2,"section",19),o.\u0275\u0275elementStart(27,"section",9)(28,"h2",20),o.\u0275\u0275text(29,"Descri\xe7\xe3o"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(30,"div",21),o.\u0275\u0275template(31,W,2,1,"p",22),o.\u0275\u0275template(32,he,2,0,"p",23),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(33,"h2",24),o.\u0275\u0275text(34,"Par\xe2metros"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(35,"div",21),o.\u0275\u0275template(36,ce,2,0,"p",23),o.\u0275\u0275elementStart(37,"div",25),o.\u0275\u0275template(38,et,12,3,"table",26),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(39,"h2",27),o.\u0275\u0275text(40,"Retorno"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(41,"div")(42,"p",28)(43,"u",29),o.\u0275\u0275listener("click",function(){o.\u0275\u0275restoreView(V);const xe=o.\u0275\u0275nextContext();return xe.showDocumentation(xe.selectedFunction.returns.rawType)}),o.\u0275\u0275text(44),o.\u0275\u0275elementEnd()()(),o.\u0275\u0275elementStart(45,"h2",30),o.\u0275\u0275text(46,"Exemplo de Requisi\xe7\xe3o"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(47,"mat-tab-group",31)(48,"mat-tab",32),o.\u0275\u0275element(49,"ngx-monaco-editor",33),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(50,"mat-tab",34),o.\u0275\u0275element(51,"ngx-monaco-editor",33),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(52,"mat-tab",35),o.\u0275\u0275template(53,Ne,2,0,"ng-template",36),o.\u0275\u0275element(54,"ngx-monaco-editor",33),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(55,"mat-tab",35),o.\u0275\u0275template(56,We,2,0,"ng-template",36),o.\u0275\u0275element(57,"ngx-monaco-editor",33),o.\u0275\u0275elementEnd()()()()}if(2&Ke){const V=o.\u0275\u0275nextContext();o.\u0275\u0275advance(8),o.\u0275\u0275textInterpolate(V.selectedFunction.name),o.\u0275\u0275advance(2),o.\u0275\u0275property("ngForOf",V.selectedFunction.args),o.\u0275\u0275advance(5),o.\u0275\u0275property("matTooltip",V.getTooltip(V.selectedFunction.returns.rawType)),o.\u0275\u0275advance(1),o.\u0275\u0275textInterpolate(V.selectedFunction.returns.type),o.\u0275\u0275advance(10),o.\u0275\u0275property("ngIf",V.selectedFunction.labels.length>0),o.\u0275\u0275advance(4),o.\u0275\u0275property("ngSwitch",!!V.selectedFunction.description),o.\u0275\u0275advance(1),o.\u0275\u0275property("ngSwitchCase",!0),o.\u0275\u0275advance(1),o.\u0275\u0275property("ngSwitchCase",!1),o.\u0275\u0275advance(3),o.\u0275\u0275property("ngSwitch",V.selectedFunction.args.length),o.\u0275\u0275advance(1),o.\u0275\u0275property("ngSwitchCase",0),o.\u0275\u0275advance(7),o.\u0275\u0275property("matTooltip",V.getTooltip(V.selectedFunction.returns.rawType)),o.\u0275\u0275advance(1),o.\u0275\u0275textInterpolate(V.selectedFunction.returns.type),o.\u0275\u0275advance(5),o.\u0275\u0275property("options",o.\u0275\u0275pureFunction0(20,ft))("ngModel",V.selectedFunction.examples.typeScript),o.\u0275\u0275advance(2),o.\u0275\u0275property("options",o.\u0275\u0275pureFunction0(21,ve))("ngModel",V.selectedFunction.examples.kotlin),o.\u0275\u0275advance(3),o.\u0275\u0275property("options",o.\u0275\u0275pureFunction0(22,we))("ngModel",V.selectedFunction.examples.dart),o.\u0275\u0275advance(3),o.\u0275\u0275property("options",o.\u0275\u0275pureFunction0(23,B))("ngModel",V.selectedFunction.examples.swift)}}const Me=function(){return{standalone:!0}};class Ue{constructor(Re,V,ge){this.sdkgen=Re,this.dialog=V,this.responsive=ge,this.isBelowMd=!1,this.runFunction=new h.EventEmitter,this.searchText="",this.argumentsTableColumns=["name","type","description"],this.editorOptions={theme:"vs-dark",language:"javascript"}}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(Re=>{!Re||(this.selectedFunction=void 0,this.fnTable=Re.astRoot.operations.sort((V,ge)=>V.name.localeCompare(ge.name)).map(V=>{var ge,xe,Je;const st=Re.astJson.annotations[`fn.${V.name}`],Et=this.sdkgen.buildJsonObject(V.args);return(null==st?void 0:st.find(Tt=>"hidden"===Tt.type))?null:{name:V.name,description:null===(ge=null==st?void 0:st.find(Tt=>"description"===Tt.type))||void 0===ge?void 0:ge.value,args:V.args.map(({name:Tt,type:Pt})=>{var He,Ee,Ce;return{name:Tt,description:null===(Ce=[...null!==(He=Re.astJson.annotations[`type.${Pt}.${Tt}`])&&void 0!==He?He:[],...null!==(Ee=Re.astJson.annotations[`fn.${V.name}.${Tt}`])&&void 0!==Ee?Ee:[]].find(Xe=>"description"===Xe.type))||void 0===Ce?void 0:Ce.value,type:Pt.name,rawType:Pt}}),argsStr:V.args.map(Tt=>`${Tt.name}: ${Tt.type.name}`).join(", "),argsFields:V.args,returns:{type:V.returnType.name,rawType:V.returnType},labels:null!==(xe=null==st?void 0:st.filter(Tt=>["rest","throws"].includes(Tt.type)).map(Tt=>{var Pt;return"rest"===Tt.type?{name:"REST",type:`${Tt.value.method} ${Tt.value.path}`}:"throws"===Tt.type?{name:"THROWS",type:Tt.value,dataType:null===(Pt=Re.astRoot.errors.find(He=>He.name===Tt.value))||void 0===Pt?void 0:Pt.dataType}:{name:"?",type:"?"}}))&&void 0!==xe?xe:[],throws:null===(Je=null==st?void 0:st.find(Tt=>"throws"===Tt.type))||void 0===Je?void 0:Je.value,examples:{typeScript:this.sdkgen.getTypeScriptCode(V.name,Et),kotlin:this.sdkgen.getKotlinCode(V.name,V.args),dart:this.sdkgen.getDartCode(V.name,Et),swift:this.sdkgen.getSwiftCode(V.name,Et)}}}).filter(V=>Boolean(V)))})}ngOnDestroy(){var Re,V;null===(Re=this.state$)||void 0===Re||Re.unsubscribe(),null===(V=this.responsive$)||void 0===V||V.unsubscribe()}ngAfterViewInit(){this.responsive$=this.responsive.isBelowMd().subscribe(Re=>{this.isBelowMd=Re.matches})}addSimpleCallTab(){var Re;this.runFunction.emit(null===(Re=this.selectedFunction)||void 0===Re?void 0:Re.name)}getTooltip(Re){return(0,y.getTypeDoc)(Re).shortDescription}showDocumentation(Re){this.dialog.open(d.TypeDetailsComponent,{position:{right:"0",top:"0",bottom:"0"},data:{type:Re},height:"100vh",panelClass:["dialog-no-border-radius","dialog-responsive"]})}}r.TabHomeComponent=Ue,Ue.\u0275fac=function(Re){return new(Re||Ue)(o.\u0275\u0275directiveInject(c.SdkgenService),o.\u0275\u0275directiveInject(f.MatDialog),o.\u0275\u0275directiveInject(p.ResponsiveService))},Ue.\u0275cmp=o.\u0275\u0275defineComponent({type:Ue,selectors:[["app-tab-home"]],outputs:{runFunction:"runFunction"},decls:11,vars:10,consts:[["unit","pixel",3,"direction"],[3,"size"],["type","search","placeholder","Buscar\u2026",3,"ngModel","ngModelOptions","ngModelChange"],[3,"ngClass","click",4,"ngFor","ngForOf"],[4,"ngIf"],[3,"ngClass","click"],[1,"fn-call"],["class","fn-description",4,"ngIf"],[1,"fn-description"],[1,"container"],[1,"mono","hide-overflow"],[1,"k-fn"],[1,"k-name"],[4,"ngFor","ngForOf"],[1,"k-sym"],[1,"k-type",3,"matTooltip","click"],["comma",""],["lineBreak",""],["mat-raised-button","","color","primary",3,"click"],["class","container","id","labels",4,"ngIf"],["id","description"],[3,"ngSwitch"],[4,"ngSwitchCase"],["class","no-content",4,"ngSwitchCase"],["id","parameters"],[1,"table-responsive","mat-elevation-z8"],["mat-table","",3,"dataSource",4,"ngSwitchDefault"],["id","returns"],[1,"mono"],[3,"matTooltip","click"],["id","sample-calls"],["animationDuration","0ms"],["label","TypeScript"],[3,"options","ngModel"],["label","Kotlin"],["disabled",""],["mat-tab-label",""],[1,"k-arg-name"],[4,"ngIf","ngIfThen","ngIfElse"],["id","labels",1,"container"],[3,"selectable"],["color","primary",3,"disableRipple",4,"ngFor","ngForOf"],["color","primary",3,"disableRipple"],[3,"matTooltip","click",4,"ngIf"],[1,"no-content"],["mat-table","",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["class","mono","mat-cell","",4,"matCellDef"],["matColumnDef","type"],["matColumnDef","description"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"mono"],["mat-cell",""],["mat-header-row",""],["mat-row",""],["matTooltip","Em breve!"]],template:function(Re,V){1&Re&&(o.\u0275\u0275elementStart(0,"as-split",0)(1,"as-split-area",1)(2,"aside")(3,"nav")(4,"form")(5,"input",2),o.\u0275\u0275listener("ngModelChange",function(xe){return V.searchText=xe}),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(6,"ul"),o.\u0275\u0275template(7,z,4,5,"li",3),o.\u0275\u0275pipe(8,"appFilter"),o.\u0275\u0275elementEnd()()()(),o.\u0275\u0275elementStart(9,"as-split-area"),o.\u0275\u0275template(10,te,58,24,"article",4),o.\u0275\u0275elementEnd()()),2&Re&&(o.\u0275\u0275property("direction",V.isBelowMd?"vertical":"horizontal"),o.\u0275\u0275advance(1),o.\u0275\u0275property("size",V.isBelowMd?130:350),o.\u0275\u0275advance(4),o.\u0275\u0275property("ngModel",V.searchText)("ngModelOptions",o.\u0275\u0275pureFunction0(9,Me)),o.\u0275\u0275advance(2),o.\u0275\u0275property("ngForOf",o.\u0275\u0275pipeBind2(8,6,V.fnTable,V.searchText)),o.\u0275\u0275advance(3),o.\u0275\u0275property("ngIf",V.selectedFunction))},directives:[m.SplitComponent,m.SplitAreaDirective,u.\u0275NgNoValidate,u.NgControlStatusGroup,u.NgForm,u.DefaultValueAccessor,u.NgControlStatus,u.NgModel,_.NgForOf,_.NgClass,_.NgIf,v.MatTooltip,b.MatButton,T.MatIcon,S.MatChipList,S.MatChip,_.NgSwitch,_.NgSwitchCase,_.NgSwitchDefault,x.MatTable,x.MatColumnDef,x.MatHeaderCellDef,x.MatHeaderCell,x.MatCellDef,x.MatCell,x.MatHeaderRowDef,x.MatHeaderRow,x.MatRowDef,x.MatRow,A.MatTabGroup,A.MatTab,H.MonacoEditorComponent,A.MatTabLabel],pipes:[Z.FilterPipe],styles:["[_nghost-%COMP%]{display:block;width:100%;height:100%;overflow:hidden!important}aside[_ngcontent-%COMP%]{display:block;background:#2b2b2b;height:100%;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin}nav[_ngcontent-%COMP%]{display:block;width:100%}nav[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{display:block;width:100%;padding:10px;background:#2b2b2b;border-bottom:1px solid #444444;position:sticky;top:0;left:0;right:0;z-index:2}nav[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{display:block;background:#444444;border:0 none;color:#fff;width:100%;padding:5px}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{width:100%;padding:15px 10px;border-bottom:1px solid #444444;cursor:pointer}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.active[_ngcontent-%COMP%]{background-color:#0003}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{background-color:#0000004d}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;word-break:break-all}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span.fn-call[_ngcontent-%COMP%]{font-family:Roboto Mono,monospace}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span.fn-description[_ngcontent-%COMP%]{color:#777;font-size:.9rem;margin-top:5px}u[_ngcontent-%COMP%]{-webkit-text-decoration-style:dotted;text-decoration-style:dotted;cursor:pointer;font-family:Roboto Mono,monospace}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{background-color:#2b2b2b;padding:25px 20px;width:100%;position:sticky;top:0;left:0;right:0;z-index:3}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{display:flex;margin:0 auto;font-weight:300;line-height:36px;white-space:pre}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span.hide-overflow[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .k-fn[_ngcontent-%COMP%]{color:#c586c0}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .k-name[_ngcontent-%COMP%]{color:#dcdcaa}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .k-arg-name[_ngcontent-%COMP%]{color:#9cdcfe}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .k-sym[_ngcontent-%COMP%]{color:#d4d4d4}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .k-type[_ngcontent-%COMP%]{color:#569cd6}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{min-width:130px;align-self:center}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{display:block;padding:0 20px 15px}article[_ngcontent-%COMP%] section#labels[_ngcontent-%COMP%]{padding:20px 20px 0}article[_ngcontent-%COMP%] section#labels[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]{overflow:hidden}article[_ngcontent-%COMP%] section#labels[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]:focus{outline:none}article[_ngcontent-%COMP%] section#labels[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{display:block;width:1.3px;background:#FFF;margin:0 7.5px;border-radius:5px;height:calc(100% + 14px)}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-weight:300;margin-top:40px;text-transform:uppercase}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] .no-content[_ngcontent-%COMP%]{background-color:#383838;color:#fafafa;display:inline-block;padding:15px;border-radius:5px;margin-top:0}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] table[_ngcontent-%COMP%], article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] .table-responsive[_ngcontent-%COMP%], article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] mat-tab-group[_ngcontent-%COMP%]{width:100%;max-width:720px}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] .mat-tab-body-content{overflow-y:hidden}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] ngx-monaco-editor[_ngcontent-%COMP%]{display:block;height:100%;min-height:300px}"]})},2253:(G,r,a)=>{"use strict";var n=a(8926).default;Object.defineProperty(r,"__esModule",{value:!0}),r.TabNavComponent=void 0;const h=a(655),y=a(3075),d=a(6676),o=a(4814),c=(0,h.__importStar)(a(5e3)),f=(0,h.__importStar)(a(6395)),p=(0,h.__importStar)(a(2290)),m=(0,h.__importStar)(a(2339)),u=(0,h.__importStar)(a(3075)),_=(0,h.__importStar)(a(508)),v=(0,h.__importStar)(a(9808)),b=(0,h.__importStar)(a(3293)),T=(0,h.__importStar)(a(7423));function S(H,Z){1&H&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275elementStart(1,"mat-icon",6),c.\u0275\u0275text(2,"loop"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementContainerEnd())}function x(H,Z){1&H&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275elementStart(1,"mat-icon"),c.\u0275\u0275text(2,"arrow_forward"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementContainerEnd())}class A{constructor(Z,Q,J){this.sdkgen=Z,this.toastr=Q,this.dialog=J,this.loading=!1,this.url=new y.FormControl("")}ngOnInit(){fetch("/ast.json").then(Z=>{Z.ok&&(this.url.setValue(`${window.location.protocol}//${window.location.host}`),this.loadUrl())}).catch(()=>{})}loadUrl(Z){var Q=this;return n(function*(){null==Z||Z.preventDefault();try{Q.loading=!0,/^https?:\/\//.test(Q.url.value)||Q.url.setValue(`https://${Q.url.value}`);const J=new URL(Q.url.value);J.pathname+=(/\/$/u.test(J.pathname)?"":"/")+"ast.json";const z=J.toString();console.debug("astUrl",z);const se=yield fetch(z).then(ae=>ae.ok?ae.json():ae);if(se instanceof Response)throw se instanceof Error?se:new Error(se.statusText);if(!se.errors||!se.functionTable||!se.typeTable)throw new Error("Invalid AST");for(;"undefined"==typeof monaco;)yield new Promise(ae=>setTimeout(ae,250));console.debug("astJson",se),Q.sdkgen.state$.next({astJson:se,astRoot:(0,d.jsonToAst)(se),url:Q.url.value})}catch(J){Q.toastr.error(J instanceof Error?J.message:JSON.stringify(J),"Erro ao carregar AST",{positionClass:"toast-bottom-right"})}finally{Q.loading=!1}})()}openAbout(){this.dialog.open(o.DialogAboutComponent)}}r.TabNavComponent=A,A.\u0275fac=function(Z){return new(Z||A)(c.\u0275\u0275directiveInject(f.SdkgenService),c.\u0275\u0275directiveInject(p.ToastrService),c.\u0275\u0275directiveInject(m.MatDialog))},A.\u0275cmp=c.\u0275\u0275defineComponent({type:A,selectors:[["app-tab-nav"]],decls:9,vars:6,consts:[["src","assets/polvinho.png"],[3,"submit"],["placeholder","Digite uma URL aqui para conectar",3,"formControl","readonly"],["mat-ripple","","type","submit",3,"disabled","ngSwitch"],[4,"ngSwitchCase"],["mat-icon-button","",3,"click"],[1,"loader"]],template:function(Z,Q){1&Z&&(c.\u0275\u0275element(0,"img",0),c.\u0275\u0275elementStart(1,"form",1),c.\u0275\u0275listener("submit",function(z){return Q.loadUrl(z)}),c.\u0275\u0275element(2,"input",2),c.\u0275\u0275elementStart(3,"button",3),c.\u0275\u0275template(4,S,3,0,"ng-container",4),c.\u0275\u0275template(5,x,3,0,"ng-container",4),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(6,"button",5),c.\u0275\u0275listener("click",function(){return Q.openAbout()}),c.\u0275\u0275elementStart(7,"mat-icon"),c.\u0275\u0275text(8,"info"),c.\u0275\u0275elementEnd()()),2&Z&&(c.\u0275\u0275advance(2),c.\u0275\u0275property("formControl",Q.url)("readonly",Q.loading),c.\u0275\u0275advance(1),c.\u0275\u0275property("disabled",Q.loading)("ngSwitch",Q.loading),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngSwitchCase",!0),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngSwitchCase",!1))},directives:[u.\u0275NgNoValidate,u.NgControlStatusGroup,u.NgForm,u.DefaultValueAccessor,u.NgControlStatus,u.FormControlDirective,_.MatRipple,v.NgSwitch,v.NgSwitchCase,b.MatIcon,T.MatButton],styles:["[_nghost-%COMP%]{display:flex;height:42px;background-color:#2b2b2b;box-shadow:0 0 3px #00000080}img[_ngcontent-%COMP%]{padding:5px}form[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-grow:1;box-shadow:0 0 1px #00000080;background:#383838;border:0 none;border-radius:5px;margin:5px 10vw 5px calc(10vw - 42px);overflow:hidden}form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{flex-grow:1;padding:10px 5px;background:transparent;border:0 none;text-align:center;color:#ccc}form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{outline:none}form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background:transparent;color:#bfbfbf;border:0 none;cursor:pointer}form[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]{animation:spin 2s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"]})},5281:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.TypeDetailsComponent=void 0;const n=a(655),h=a(2339),y=a(9435),d=(0,n.__importStar)(a(5e3)),o=(0,n.__importStar)(a(2339)),c=(0,n.__importStar)(a(9808)),f=(0,n.__importStar)(a(7423)),p=(0,n.__importStar)(a(3293)),m=(0,n.__importStar)(a(9417)),u=(0,n.__importStar)(a(4999)),_=(0,n.__importStar)(a(7238));function v(W,he){1&W&&(d.\u0275\u0275elementStart(0,"button",6)(1,"mat-icon"),d.\u0275\u0275text(2,"arrow_back"),d.\u0275\u0275elementEnd()())}function b(W,he){if(1&W&&(d.\u0275\u0275elementStart(0,"mat-chip",7),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&W){const ce=he.$implicit;d.\u0275\u0275property("disableRipple",!0),d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(ce)}}function T(W,he){1&W&&(d.\u0275\u0275elementStart(0,"button",8)(1,"mat-icon"),d.\u0275\u0275text(2,"close"),d.\u0275\u0275elementEnd()())}function S(W,he){1&W&&(d.\u0275\u0275elementStart(0,"th",20),d.\u0275\u0275text(1,"Nome"),d.\u0275\u0275elementEnd())}function x(W,he){if(1&W&&(d.\u0275\u0275elementStart(0,"td",21),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&W){const ce=he.$implicit;d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(ce.name)}}function A(W,he){1&W&&(d.\u0275\u0275elementStart(0,"th",20),d.\u0275\u0275text(1,"Tipo"),d.\u0275\u0275elementEnd())}function H(W,he){1&W&&(d.\u0275\u0275elementStart(0,"span"),d.\u0275\u0275text(1,"-"),d.\u0275\u0275elementEnd())}function Z(W,he){if(1&W){const ce=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"u",25),d.\u0275\u0275listener("click",function(){d.\u0275\u0275restoreView(ce);const rt=d.\u0275\u0275nextContext().$implicit;return d.\u0275\u0275nextContext(2).showDocumentation(rt.type)}),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()}if(2&W){const ce=d.\u0275\u0275nextContext().$implicit,Se=d.\u0275\u0275nextContext(2);d.\u0275\u0275property("matTooltip",Se.getTooltip(ce.type)),d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(ce.type.name)}}function Q(W,he){1&W&&(d.\u0275\u0275elementStart(0,"td",22),d.\u0275\u0275template(1,H,2,0,"span",23),d.\u0275\u0275template(2,Z,2,2,"u",24),d.\u0275\u0275elementEnd()),2&W&&(d.\u0275\u0275property("ngSwitch",he.$implicit.type),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngSwitchCase",null))}function J(W,he){1&W&&(d.\u0275\u0275elementStart(0,"th",20),d.\u0275\u0275text(1,"Descri\xe7\xe3o"),d.\u0275\u0275elementEnd())}function z(W,he){if(1&W&&(d.\u0275\u0275elementStart(0,"td",26),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&W){const ce=he.$implicit;d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(ce.description||"-")}}function se(W,he){1&W&&d.\u0275\u0275element(0,"tr",27)}function ae(W,he){1&W&&d.\u0275\u0275element(0,"tr",28)}const me=function(){return[]};function Te(W,he){if(1&W&&(d.\u0275\u0275elementStart(0,"section")(1,"div",9)(2,"table",10),d.\u0275\u0275elementContainerStart(3,11),d.\u0275\u0275template(4,S,2,0,"th",12),d.\u0275\u0275template(5,x,2,1,"td",13),d.\u0275\u0275elementContainerEnd(),d.\u0275\u0275elementContainerStart(6,14),d.\u0275\u0275template(7,A,2,0,"th",12),d.\u0275\u0275template(8,Q,3,2,"td",15),d.\u0275\u0275elementContainerEnd(),d.\u0275\u0275elementContainerStart(9,16),d.\u0275\u0275template(10,J,2,0,"th",12),d.\u0275\u0275template(11,z,2,1,"td",17),d.\u0275\u0275elementContainerEnd(),d.\u0275\u0275template(12,se,1,0,"tr",18),d.\u0275\u0275template(13,ae,1,0,"tr",19),d.\u0275\u0275elementEnd()()()),2&W){const ce=d.\u0275\u0275nextContext();let Se;d.\u0275\u0275advance(2),d.\u0275\u0275property("dataSource",null!==(Se=null==ce.typeDoc?null:ce.typeDoc.structFields)&&void 0!==Se?Se:d.\u0275\u0275pureFunction0(3,me)),d.\u0275\u0275advance(10),d.\u0275\u0275property("matHeaderRowDef",ce.argumentsTableColumns),d.\u0275\u0275advance(1),d.\u0275\u0275property("matRowDefColumns",ce.argumentsTableColumns)}}function _e(W,he){if(1&W&&(d.\u0275\u0275elementStart(0,"li")(1,"code",1),d.\u0275\u0275text(2),d.\u0275\u0275elementEnd()()),2&W){const ce=he.$implicit;d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate(ce)}}function Y(W,he){if(1&W&&(d.\u0275\u0275elementStart(0,"section")(1,"h3"),d.\u0275\u0275text(2,"Exemplos"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(3,"ul"),d.\u0275\u0275template(4,_e,3,1,"li",29),d.\u0275\u0275elementEnd()()),2&W){const ce=d.\u0275\u0275nextContext();d.\u0275\u0275advance(4),d.\u0275\u0275property("ngForOf",null==ce.typeDoc?null:ce.typeDoc.examples)}}class de{constructor(he,ce,Se){this.dialogRef=he,this.data=ce,this.dialog=Se,this.labels=[],this.argumentsTableColumns=["name","type","description"]}ngOnInit(){this.labels=(0,y.getTypeLabels)(this.data.type),this.typeDoc=(0,y.getTypeDoc)(this.data.type)}getTooltip(he){return(0,y.getTypeDoc)(he).shortDescription}showDocumentation(he){this.dialog.open(de,{position:{right:"0"},data:{type:he,subdialog:!0},height:"100vh",panelClass:["dialog-no-border-radius","dialog-responsive"]})}}r.TypeDetailsComponent=de,de.\u0275fac=function(he){return new(he||de)(d.\u0275\u0275directiveInject(o.MatDialogRef),d.\u0275\u0275directiveInject(h.MAT_DIALOG_DATA),d.\u0275\u0275directiveInject(o.MatDialog))},de.\u0275cmp=d.\u0275\u0275defineComponent({type:de,selectors:[["app-type-details"]],decls:11,vars:8,consts:[["class","back-button","mat-icon-button","","mat-dialog-close","","tabindex","-1",4,"ngIf"],[1,"mono"],[3,"selectable"],["color","primary",3,"disableRipple",4,"ngFor","ngForOf"],["class","close-button","mat-icon-button","","mat-dialog-close","","tabindex","-1",4,"ngIf"],[4,"ngIf"],["mat-icon-button","","mat-dialog-close","","tabindex","-1",1,"back-button"],["color","primary",3,"disableRipple"],["mat-icon-button","","mat-dialog-close","","tabindex","-1",1,"close-button"],[1,"table-responsive","mat-elevation-z8"],["mat-table","",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["class","mono","mat-cell","",4,"matCellDef"],["matColumnDef","type"],["class","mono","mat-cell","",3,"ngSwitch",4,"matCellDef"],["matColumnDef","description"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"mono"],["mat-cell","",1,"mono",3,"ngSwitch"],[4,"ngSwitchCase"],[3,"matTooltip","click",4,"ngSwitchDefault"],[3,"matTooltip","click"],["mat-cell",""],["mat-header-row",""],["mat-row",""],[4,"ngFor","ngForOf"]],template:function(he,ce){1&he&&(d.\u0275\u0275elementStart(0,"h1"),d.\u0275\u0275template(1,v,3,0,"button",0),d.\u0275\u0275elementStart(2,"span",1),d.\u0275\u0275text(3),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(4,"mat-chip-list",2),d.\u0275\u0275template(5,b,2,2,"mat-chip",3),d.\u0275\u0275elementEnd(),d.\u0275\u0275template(6,T,3,0,"button",4),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(7,"p"),d.\u0275\u0275text(8),d.\u0275\u0275elementEnd(),d.\u0275\u0275template(9,Te,14,4,"section",5),d.\u0275\u0275template(10,Y,5,1,"section",5)),2&he&&(d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",ce.data.subdialog),d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate(ce.data.type.name),d.\u0275\u0275advance(1),d.\u0275\u0275property("selectable",!1),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngForOf",ce.labels),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",!ce.data.subdialog),d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate(null==ce.typeDoc?null:ce.typeDoc.longDescription),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",(null==ce.typeDoc?null:ce.typeDoc.isStruct)&&(null==ce.typeDoc?null:ce.typeDoc.structFields)),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",null==ce.typeDoc||null==ce.typeDoc.examples?null:ce.typeDoc.examples.length))},directives:[c.NgIf,f.MatButton,o.MatDialogClose,p.MatIcon,m.MatChipList,c.NgForOf,m.MatChip,u.MatTable,u.MatColumnDef,u.MatHeaderCellDef,u.MatHeaderCell,u.MatCellDef,u.MatCell,c.NgSwitch,c.NgSwitchCase,c.NgSwitchDefault,_.MatTooltip,u.MatHeaderRowDef,u.MatHeaderRow,u.MatRowDef,u.MatRow],styles:["h1[_ngcontent-%COMP%]{font-weight:200;word-break:break-all;word-wrap:break-word}h1[_ngcontent-%COMP%] mat-chip-list[_ngcontent-%COMP%]{display:inline-block;margin-left:10px;-webkit-user-select:none;user-select:none}h1[_ngcontent-%COMP%] mat-chip-list[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]{text-transform:uppercase}h1[_ngcontent-%COMP%] mat-chip-list[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]:focus{outline:none}h1[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{vertical-align:middle}h1[_ngcontent-%COMP%] button.back-button[_ngcontent-%COMP%]{margin-right:10px}h1[_ngcontent-%COMP%] button.close-button[_ngcontent-%COMP%]{float:right}p[_ngcontent-%COMP%]{line-height:1.5rem}section[_ngcontent-%COMP%]{margin-top:2rem}h3[_ngcontent-%COMP%]{font-weight:200;text-transform:uppercase}ul[_ngcontent-%COMP%]{padding-left:2rem}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{line-height:2rem;list-style:square}code[_ngcontent-%COMP%]{padding:.2rem .4rem;font-size:.875em;color:#fff;background-color:#212529;border-radius:.2rem;white-space:pre-wrap;word-break:break-all;word-wrap:break-word}table[_ngcontent-%COMP%]{width:100%}table[_ngcontent-%COMP%] u[_ngcontent-%COMP%]{-webkit-text-decoration-style:dotted;text-decoration-style:dotted;cursor:pointer}"]})},8227:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.unwrap=r.wrapper=void 0,r.wrapper='\n window.___originalXmlHttpRequestOpen = XMLHttpRequest.prototype.open;\n XMLHttpRequest.prototype.open = function() {\n const event = { type: "network", message: `XHR: ${Array.prototype.join.call(arguments, " ")}` };\n events.push(event);\n\n const send = this.send;\n this.send = function() {\n try {\n event.details = { req: JSON.parse(arguments[0]) };\n } catch (e) {\n event.details = { req: arguments[0] };\n }\n\n const onreadystatechange = this.onreadystatechange;\n this.onreadystatechange = function() {\n const result = onreadystatechange.apply(this, arguments);\n\n if (this.readyState === 4) {\n try {\n event.details = { ...event.details, res: JSON.parse(this.responseText) };\n } catch (e) {\n event.details = { ...event.details, res: this.responseText };\n }\n }\n\n return result;\n };\n\n return send.apply(this, arguments);\n };\n\n return ___originalXmlHttpRequestOpen.apply(this, arguments);\n };\n\n window.___originalConsoleLog = console.log;\n console.log = function() {\n const event = { type: "info", message: Array.prototype.map.call(arguments, x => typeof x === "object" ? JSON.stringify(x) : x.toString()).join(" ") };\n events.push(event);\n return ___originalConsoleLog.apply(this, arguments);\n }\n\n window.___originalConsoleError = console.error;\n console.error = function() {\n //if (typeof arguments[0] === "string") {\n const event = { type: "error", message: Array.prototype.map.call(arguments, x => typeof x === "object" ? JSON.stringify(x) : x.toString()).join(" ") };\n events.push(event);\n //}\n return ___originalConsoleError.apply(this, arguments);\n }\n',r.unwrap="\n XMLHttpRequest.prototype.open = window.___originalXmlHttpRequestOpen;\n console.log = window.___originalConsoleLog;\n console.error = window.___originalConsoleError;\n"},2340:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.environment=void 0,r.environment={production:!0}},4431:(G,r,a)=>{"use strict";const y=(0,a(655).__importStar)(a(2313)),d=a(5e3),o=a(6747);a(2340).environment.production&&(0,d.enableProdMode)(),y.platformBrowser().bootstrapModule(o.AppModule).catch(f=>console.error(f))},4327:function(G,r){var h;void 0!==(h=function(){"use strict";function d(u,_,v){var b=new XMLHttpRequest;b.open("GET",u),b.responseType="blob",b.onload=function(){m(b.response,_,v)},b.onerror=function(){console.error("could not download file")},b.send()}function o(u){var _=new XMLHttpRequest;_.open("HEAD",u,!1);try{_.send()}catch(v){}return 200<=_.status&&299>=_.status}function c(u){try{u.dispatchEvent(new MouseEvent("click"))}catch(v){var _=document.createEvent("MouseEvents");_.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),u.dispatchEvent(_)}}var f="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,p=f.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),m=f.saveAs||("object"!=typeof window||window!==f?function(){}:"download"in HTMLAnchorElement.prototype&&!p?function(u,_,v){var b=f.URL||f.webkitURL,T=document.createElement("a");T.download=_=_||u.name||"download",T.rel="noopener","string"==typeof u?(T.href=u,T.origin===location.origin?c(T):o(T.href)?d(u,_,v):c(T,T.target="_blank")):(T.href=b.createObjectURL(u),setTimeout(function(){b.revokeObjectURL(T.href)},4e4),setTimeout(function(){c(T)},0))}:"msSaveOrOpenBlob"in navigator?function(u,_,v){if(_=_||u.name||"download","string"!=typeof u)navigator.msSaveOrOpenBlob(function y(u,_){return void 0===_?_={autoBom:!1}:"object"!=typeof _&&(console.warn("Deprecated: Expected third argument to be a object"),_={autoBom:!_}),_.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(u.type)?new Blob(["\ufeff",u],{type:u.type}):u}(u,v),_);else if(o(u))d(u,_,v);else{var b=document.createElement("a");b.href=u,b.target="_blank",setTimeout(function(){c(b)})}}:function(u,_,v,b){if((b=b||open("","_blank"))&&(b.document.title=b.document.body.innerText="downloading..."),"string"==typeof u)return d(u,_,v);var T="application/octet-stream"===u.type,S=/constructor/i.test(f.HTMLElement)||f.safari,x=/CriOS\/[\d]+/.test(navigator.userAgent);if((x||T&&S||p)&&"undefined"!=typeof FileReader){var A=new FileReader;A.onloadend=function(){var Q=A.result;Q=x?Q:Q.replace(/^data:[^;]*;/,"data:attachment/file;"),b?b.location.href=Q:location=Q,b=null},A.readAsDataURL(u)}else{var H=f.URL||f.webkitURL,Z=H.createObjectURL(u);b?b.location=Z:location.href=Z,b=null,setTimeout(function(){H.revokeObjectURL(Z)},4e4)}});f.saveAs=m.saveAs=m,G.exports=m}.apply(r,[]))&&(G.exports=h)},5109:(G,r,a)=>{"use strict";a.r(r),a.d(r,{NgxJsonViewerComponent:()=>m,NgxJsonViewerModule:()=>u});var n=a(9808),h=a(5e3);function y(_,v){1&_&&h.\u0275\u0275element(0,"div",9)}function d(_,v){if(1&_&&(h.\u0275\u0275elementStart(0,"span",10),h.\u0275\u0275text(1),h.\u0275\u0275elementEnd()),2&_){const b=h.\u0275\u0275nextContext().$implicit;h.\u0275\u0275advance(1),h.\u0275\u0275textInterpolate(b.description)}}function o(_,v){if(1&_&&(h.\u0275\u0275elementStart(0,"section",11),h.\u0275\u0275element(1,"ngx-json-viewer",12),h.\u0275\u0275elementEnd()),2&_){const b=h.\u0275\u0275nextContext().$implicit,T=h.\u0275\u0275nextContext();h.\u0275\u0275advance(1),h.\u0275\u0275property("json",b.value)("expanded",T.expanded)("depth",T.depth)("_currentDepth",T._currentDepth)}}const c=function(_){return["segment",_]},f=function(_,v){return{"segment-main":!0,expandable:_,expanded:v}};function p(_,v){if(1&_){const b=h.\u0275\u0275getCurrentView();h.\u0275\u0275elementStart(0,"section",2)(1,"section",3),h.\u0275\u0275listener("click",function(){const x=h.\u0275\u0275restoreView(b).$implicit;return h.\u0275\u0275nextContext().toggle(x)}),h.\u0275\u0275template(2,y,1,0,"div",4),h.\u0275\u0275elementStart(3,"span",5),h.\u0275\u0275text(4),h.\u0275\u0275elementEnd(),h.\u0275\u0275elementStart(5,"span",6),h.\u0275\u0275text(6,": "),h.\u0275\u0275elementEnd(),h.\u0275\u0275template(7,d,2,1,"span",7),h.\u0275\u0275elementEnd(),h.\u0275\u0275template(8,o,2,4,"section",8),h.\u0275\u0275elementEnd()}if(2&_){const b=v.$implicit,T=h.\u0275\u0275nextContext();h.\u0275\u0275property("ngClass",h.\u0275\u0275pureFunction1(6,c,"segment-type-"+b.type)),h.\u0275\u0275advance(1),h.\u0275\u0275property("ngClass",h.\u0275\u0275pureFunction2(8,f,T.isExpandable(b),b.expanded)),h.\u0275\u0275advance(1),h.\u0275\u0275property("ngIf",T.isExpandable(b)),h.\u0275\u0275advance(2),h.\u0275\u0275textInterpolate(b.key),h.\u0275\u0275advance(3),h.\u0275\u0275property("ngIf",!b.expanded||!T.isExpandable(b)),h.\u0275\u0275advance(1),h.\u0275\u0275property("ngIf",b.expanded&&T.isExpandable(b))}}let m=(()=>{class _{constructor(){this.expanded=!0,this.depth=-1,this._currentDepth=-1,this.segments=[]}ngOnChanges(){this.segments=[],this.json=this.decycle(this.json),this._currentDepth++,"object"==typeof this.json?Object.keys(this.json).forEach(b=>{this.segments.push(this.parseKeyValue(b,this.json[b]))}):this.segments.push(this.parseKeyValue(`(${typeof this.json})`,this.json))}isExpandable(b){return"object"===b.type||"array"===b.type}toggle(b){this.isExpandable(b)&&(b.expanded=!b.expanded)}parseKeyValue(b,T){const S={key:b,value:T,type:void 0,description:""+T,expanded:this.isExpanded()};switch(typeof S.value){case"number":S.type="number";break;case"boolean":S.type="boolean";break;case"function":S.type="function";break;case"string":S.type="string",S.description='"'+S.value+'"';break;case"undefined":S.type="undefined",S.description="undefined";break;case"object":null===S.value?(S.type="null",S.description="null"):Array.isArray(S.value)?(S.type="array",S.description="Array["+S.value.length+"] "+JSON.stringify(S.value)):S.value instanceof Date?S.type="date":(S.type="object",S.description="Object "+JSON.stringify(S.value))}return S}isExpanded(){return this.expanded&&!(this.depth>-1&&this._currentDepth>=this.depth)}decycle(b){const T=new WeakMap;return function S(x,A){let H,Z;return"object"!=typeof x||null===x||x instanceof Boolean||x instanceof Date||x instanceof Number||x instanceof RegExp||x instanceof String?x:(H=T.get(x),void 0!==H?{$ref:H}:(T.set(x,A),Array.isArray(x)?(Z=[],x.forEach(function(Q,J){Z[J]=S(Q,A+"["+J+"]")})):(Z={},Object.keys(x).forEach(function(Q){Z[Q]=S(x[Q],A+"["+JSON.stringify(Q)+"]")})),Z))}(b,"$")}}return _.\u0275fac=function(b){return new(b||_)},_.\u0275cmp=h.\u0275\u0275defineComponent({type:_,selectors:[["ngx-json-viewer"]],inputs:{expanded:"expanded",depth:"depth",_currentDepth:"_currentDepth",json:"json"},features:[h.\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(b,T){1&b&&(h.\u0275\u0275elementStart(0,"section",0),h.\u0275\u0275template(1,p,9,11,"section",1),h.\u0275\u0275elementEnd()),2&b&&(h.\u0275\u0275advance(1),h.\u0275\u0275property("ngForOf",T.segments))},directives:[n.NgForOf,n.NgClass,n.NgIf,_],styles:['@charset "UTF-8";.ngx-json-viewer[_ngcontent-%COMP%]{font-family:monospace;font-size:1em;height:100%;overflow:hidden;position:relative;width:100%}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%]{margin:1px 1px 1px 12px;padding:2px}.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%]{color:#787878;font-size:.8em;line-height:1.2em;margin-left:-14px;margin-top:3px;position:absolute;vertical-align:middle}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .toggler[_ngcontent-%COMP%]:after{content:"\u25ba";display:inline-block;transition:transform .1s ease-in}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-key[_ngcontent-%COMP%]{color:#4e187c}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-separator[_ngcontent-%COMP%]{color:#999}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-value[_ngcontent-%COMP%]{color:#000}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .children[_ngcontent-%COMP%]{margin-left:12px}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-string[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:#ff6b6b}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-number[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:#009688}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-boolean[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:#b938a4}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-date[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:#05668d}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-array[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%], .ngx-json-viewer[_ngcontent-%COMP%] .segment-type-function[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%], .ngx-json-viewer[_ngcontent-%COMP%] .segment-type-object[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:#999}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-null[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%], .ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:#fff}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-null[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{background-color:red}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-key[_ngcontent-%COMP%]{color:#999}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{background-color:#999}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-array[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%], .ngx-json-viewer[_ngcontent-%COMP%] .segment-type-object[_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}']}),_})(),u=(()=>{class _{}return _.\u0275fac=function(b){return new(b||_)},_.\u0275mod=h.\u0275\u0275defineNgModule({type:_}),_.\u0275inj=h.\u0275\u0275defineInjector({imports:[[n.CommonModule]]}),_})()},6477:function(G,r,a){"use strict";var n=this&&this.__createBinding||(Object.create?function($n,Wn,ni,Qn){void 0===Qn&&(Qn=ni),Object.defineProperty($n,Qn,{enumerable:!0,get:function(){return Wn[ni]}})}:function($n,Wn,ni,Qn){void 0===Qn&&(Qn=ni),$n[Qn]=Wn[ni]}),h=this&&this.__exportStar||function($n,Wn){for(var ni in $n)"default"!==ni&&!Object.prototype.hasOwnProperty.call(Wn,ni)&&n(Wn,$n,ni)};Object.defineProperty(r,"__esModule",{value:!0}),r.interval=r.iif=r.generate=r.fromEventPattern=r.fromEvent=r.from=r.forkJoin=r.empty=r.defer=r.connectable=r.concat=r.combineLatest=r.bindNodeCallback=r.bindCallback=r.UnsubscriptionError=r.TimeoutError=r.SequenceError=r.ObjectUnsubscribedError=r.NotFoundError=r.EmptyError=r.ArgumentOutOfRangeError=r.firstValueFrom=r.lastValueFrom=r.isObservable=r.identity=r.noop=r.pipe=r.NotificationKind=r.Notification=r.Subscriber=r.Subscription=r.Scheduler=r.VirtualAction=r.VirtualTimeScheduler=r.animationFrameScheduler=r.animationFrame=r.queueScheduler=r.queue=r.asyncScheduler=r.async=r.asapScheduler=r.asap=r.AsyncSubject=r.ReplaySubject=r.BehaviorSubject=r.Subject=r.animationFrames=r.observable=r.ConnectableObservable=r.Observable=void 0,r.filter=r.expand=r.exhaustMap=r.exhaustAll=r.exhaust=r.every=r.endWith=r.elementAt=r.distinctUntilKeyChanged=r.distinctUntilChanged=r.distinct=r.dematerialize=r.delayWhen=r.delay=r.defaultIfEmpty=r.debounceTime=r.debounce=r.count=r.connect=r.concatWith=r.concatMapTo=r.concatMap=r.concatAll=r.combineLatestWith=r.combineLatestAll=r.combineAll=r.catchError=r.bufferWhen=r.bufferToggle=r.bufferTime=r.bufferCount=r.buffer=r.auditTime=r.audit=r.config=r.NEVER=r.EMPTY=r.scheduled=r.zip=r.using=r.timer=r.throwError=r.range=r.race=r.partition=r.pairs=r.onErrorResumeNext=r.of=r.never=r.merge=void 0,r.switchMapTo=r.switchMap=r.switchAll=r.subscribeOn=r.startWith=r.skipWhile=r.skipUntil=r.skipLast=r.skip=r.single=r.shareReplay=r.share=r.sequenceEqual=r.scan=r.sampleTime=r.sample=r.refCount=r.retryWhen=r.retry=r.repeatWhen=r.repeat=r.reduce=r.raceWith=r.publishReplay=r.publishLast=r.publishBehavior=r.publish=r.pluck=r.pairwise=r.observeOn=r.multicast=r.min=r.mergeWith=r.mergeScan=r.mergeMapTo=r.mergeMap=r.flatMap=r.mergeAll=r.max=r.materialize=r.mapTo=r.map=r.last=r.isEmpty=r.ignoreElements=r.groupBy=r.first=r.findIndex=r.find=r.finalize=void 0,r.zipWith=r.zipAll=r.withLatestFrom=r.windowWhen=r.windowToggle=r.windowTime=r.windowCount=r.window=r.toArray=r.timestamp=r.timeoutWith=r.timeout=r.timeInterval=r.throwIfEmpty=r.throttleTime=r.throttle=r.tap=r.takeWhile=r.takeUntil=r.takeLast=r.take=r.switchScan=void 0;var y=a(5821);Object.defineProperty(r,"Observable",{enumerable:!0,get:function(){return y.Observable}});var d=a(6686);Object.defineProperty(r,"ConnectableObservable",{enumerable:!0,get:function(){return d.ConnectableObservable}});var o=a(1689);Object.defineProperty(r,"observable",{enumerable:!0,get:function(){return o.observable}});var c=a(2946);Object.defineProperty(r,"animationFrames",{enumerable:!0,get:function(){return c.animationFrames}});var f=a(3768);Object.defineProperty(r,"Subject",{enumerable:!0,get:function(){return f.Subject}});var p=a(5482);Object.defineProperty(r,"BehaviorSubject",{enumerable:!0,get:function(){return p.BehaviorSubject}});var m=a(3406);Object.defineProperty(r,"ReplaySubject",{enumerable:!0,get:function(){return m.ReplaySubject}});var u=a(7606);Object.defineProperty(r,"AsyncSubject",{enumerable:!0,get:function(){return u.AsyncSubject}});var _=a(1212);Object.defineProperty(r,"asap",{enumerable:!0,get:function(){return _.asap}}),Object.defineProperty(r,"asapScheduler",{enumerable:!0,get:function(){return _.asapScheduler}});var v=a(4006);Object.defineProperty(r,"async",{enumerable:!0,get:function(){return v.async}}),Object.defineProperty(r,"asyncScheduler",{enumerable:!0,get:function(){return v.asyncScheduler}});var b=a(5668);Object.defineProperty(r,"queue",{enumerable:!0,get:function(){return b.queue}}),Object.defineProperty(r,"queueScheduler",{enumerable:!0,get:function(){return b.queueScheduler}});var T=a(1906);Object.defineProperty(r,"animationFrame",{enumerable:!0,get:function(){return T.animationFrame}}),Object.defineProperty(r,"animationFrameScheduler",{enumerable:!0,get:function(){return T.animationFrameScheduler}});var S=a(2018);Object.defineProperty(r,"VirtualTimeScheduler",{enumerable:!0,get:function(){return S.VirtualTimeScheduler}}),Object.defineProperty(r,"VirtualAction",{enumerable:!0,get:function(){return S.VirtualAction}});var x=a(2716);Object.defineProperty(r,"Scheduler",{enumerable:!0,get:function(){return x.Scheduler}});var A=a(6448);Object.defineProperty(r,"Subscription",{enumerable:!0,get:function(){return A.Subscription}});var H=a(7052);Object.defineProperty(r,"Subscriber",{enumerable:!0,get:function(){return H.Subscriber}});var Z=a(7262);Object.defineProperty(r,"Notification",{enumerable:!0,get:function(){return Z.Notification}}),Object.defineProperty(r,"NotificationKind",{enumerable:!0,get:function(){return Z.NotificationKind}});var Q=a(1471);Object.defineProperty(r,"pipe",{enumerable:!0,get:function(){return Q.pipe}});var J=a(31);Object.defineProperty(r,"noop",{enumerable:!0,get:function(){return J.noop}});var z=a(7884);Object.defineProperty(r,"identity",{enumerable:!0,get:function(){return z.identity}});var se=a(4341);Object.defineProperty(r,"isObservable",{enumerable:!0,get:function(){return se.isObservable}});var ae=a(5257);Object.defineProperty(r,"lastValueFrom",{enumerable:!0,get:function(){return ae.lastValueFrom}});var me=a(5754);Object.defineProperty(r,"firstValueFrom",{enumerable:!0,get:function(){return me.firstValueFrom}});var Te=a(4769);Object.defineProperty(r,"ArgumentOutOfRangeError",{enumerable:!0,get:function(){return Te.ArgumentOutOfRangeError}});var _e=a(8915);Object.defineProperty(r,"EmptyError",{enumerable:!0,get:function(){return _e.EmptyError}});var Y=a(5477);Object.defineProperty(r,"NotFoundError",{enumerable:!0,get:function(){return Y.NotFoundError}});var de=a(3965);Object.defineProperty(r,"ObjectUnsubscribedError",{enumerable:!0,get:function(){return de.ObjectUnsubscribedError}});var W=a(1551);Object.defineProperty(r,"SequenceError",{enumerable:!0,get:function(){return W.SequenceError}});var he=a(5001);Object.defineProperty(r,"TimeoutError",{enumerable:!0,get:function(){return he.TimeoutError}});var ce=a(4970);Object.defineProperty(r,"UnsubscriptionError",{enumerable:!0,get:function(){return ce.UnsubscriptionError}});var Se=a(7532);Object.defineProperty(r,"bindCallback",{enumerable:!0,get:function(){return Se.bindCallback}});var rt=a(3488);Object.defineProperty(r,"bindNodeCallback",{enumerable:!0,get:function(){return rt.bindNodeCallback}});var gt=a(6892);Object.defineProperty(r,"combineLatest",{enumerable:!0,get:function(){return gt.combineLatest}});var Ge=a(509);Object.defineProperty(r,"concat",{enumerable:!0,get:function(){return Ge.concat}});var ht=a(9190);Object.defineProperty(r,"connectable",{enumerable:!0,get:function(){return ht.connectable}});var qe=a(9954);Object.defineProperty(r,"defer",{enumerable:!0,get:function(){return qe.defer}});var lt=a(7406);Object.defineProperty(r,"empty",{enumerable:!0,get:function(){return lt.empty}});var Be=a(7928);Object.defineProperty(r,"forkJoin",{enumerable:!0,get:function(){return Be.forkJoin}});var et=a(4996);Object.defineProperty(r,"from",{enumerable:!0,get:function(){return et.from}});var Ne=a(2579);Object.defineProperty(r,"fromEvent",{enumerable:!0,get:function(){return Ne.fromEvent}});var We=a(3975);Object.defineProperty(r,"fromEventPattern",{enumerable:!0,get:function(){return We.fromEventPattern}});var ft=a(4318);Object.defineProperty(r,"generate",{enumerable:!0,get:function(){return ft.generate}});var ve=a(3140);Object.defineProperty(r,"iif",{enumerable:!0,get:function(){return ve.iif}});var we=a(1836);Object.defineProperty(r,"interval",{enumerable:!0,get:function(){return we.interval}});var B=a(9248);Object.defineProperty(r,"merge",{enumerable:!0,get:function(){return B.merge}});var te=a(2818);Object.defineProperty(r,"never",{enumerable:!0,get:function(){return te.never}});var Me=a(9677);Object.defineProperty(r,"of",{enumerable:!0,get:function(){return Me.of}});var Ue=a(9978);Object.defineProperty(r,"onErrorResumeNext",{enumerable:!0,get:function(){return Ue.onErrorResumeNext}});var Ke=a(5519);Object.defineProperty(r,"pairs",{enumerable:!0,get:function(){return Ke.pairs}});var Re=a(8221);Object.defineProperty(r,"partition",{enumerable:!0,get:function(){return Re.partition}});var V=a(8181);Object.defineProperty(r,"race",{enumerable:!0,get:function(){return V.race}});var ge=a(4622);Object.defineProperty(r,"range",{enumerable:!0,get:function(){return ge.range}});var xe=a(338);Object.defineProperty(r,"throwError",{enumerable:!0,get:function(){return xe.throwError}});var Je=a(3271);Object.defineProperty(r,"timer",{enumerable:!0,get:function(){return Je.timer}});var st=a(924);Object.defineProperty(r,"using",{enumerable:!0,get:function(){return st.using}});var Et=a(4842);Object.defineProperty(r,"zip",{enumerable:!0,get:function(){return Et.zip}});var Tt=a(9341);Object.defineProperty(r,"scheduled",{enumerable:!0,get:function(){return Tt.scheduled}});var Pt=a(7406);Object.defineProperty(r,"EMPTY",{enumerable:!0,get:function(){return Pt.EMPTY}});var He=a(2818);Object.defineProperty(r,"NEVER",{enumerable:!0,get:function(){return He.NEVER}}),h(a(5256),r);var Ee=a(3570);Object.defineProperty(r,"config",{enumerable:!0,get:function(){return Ee.config}});var Ce=a(4815);Object.defineProperty(r,"audit",{enumerable:!0,get:function(){return Ce.audit}});var Ye=a(9034);Object.defineProperty(r,"auditTime",{enumerable:!0,get:function(){return Ye.auditTime}});var Xe=a(8544);Object.defineProperty(r,"buffer",{enumerable:!0,get:function(){return Xe.buffer}});var ot=a(3999);Object.defineProperty(r,"bufferCount",{enumerable:!0,get:function(){return ot.bufferCount}});var Dt=a(1392);Object.defineProperty(r,"bufferTime",{enumerable:!0,get:function(){return Dt.bufferTime}});var Oe=a(555);Object.defineProperty(r,"bufferToggle",{enumerable:!0,get:function(){return Oe.bufferToggle}});var ze=a(7274);Object.defineProperty(r,"bufferWhen",{enumerable:!0,get:function(){return ze.bufferWhen}});var ct=a(6e3);Object.defineProperty(r,"catchError",{enumerable:!0,get:function(){return ct.catchError}});var Ct=a(8996);Object.defineProperty(r,"combineAll",{enumerable:!0,get:function(){return Ct.combineAll}});var _t=a(8931);Object.defineProperty(r,"combineLatestAll",{enumerable:!0,get:function(){return _t.combineLatestAll}});var Ht=a(8947);Object.defineProperty(r,"combineLatestWith",{enumerable:!0,get:function(){return Ht.combineLatestWith}});var wt=a(739);Object.defineProperty(r,"concatAll",{enumerable:!0,get:function(){return wt.concatAll}});var $t=a(4659);Object.defineProperty(r,"concatMap",{enumerable:!0,get:function(){return $t.concatMap}});var ue=a(2993);Object.defineProperty(r,"concatMapTo",{enumerable:!0,get:function(){return ue.concatMapTo}});var X=a(5898);Object.defineProperty(r,"concatWith",{enumerable:!0,get:function(){return X.concatWith}});var L=a(9725);Object.defineProperty(r,"connect",{enumerable:!0,get:function(){return L.connect}});var P=a(1814);Object.defineProperty(r,"count",{enumerable:!0,get:function(){return P.count}});var le=a(9784);Object.defineProperty(r,"debounce",{enumerable:!0,get:function(){return le.debounce}});var M=a(7061);Object.defineProperty(r,"debounceTime",{enumerable:!0,get:function(){return M.debounceTime}});var U=a(926);Object.defineProperty(r,"defaultIfEmpty",{enumerable:!0,get:function(){return U.defaultIfEmpty}});var Ie=a(2096);Object.defineProperty(r,"delay",{enumerable:!0,get:function(){return Ie.delay}});var it=a(3264);Object.defineProperty(r,"delayWhen",{enumerable:!0,get:function(){return it.delayWhen}});var Lt=a(533);Object.defineProperty(r,"dematerialize",{enumerable:!0,get:function(){return Lt.dematerialize}});var jt=a(5045);Object.defineProperty(r,"distinct",{enumerable:!0,get:function(){return jt.distinct}});var Pe=a(5794);Object.defineProperty(r,"distinctUntilChanged",{enumerable:!0,get:function(){return Pe.distinctUntilChanged}});var je=a(8589);Object.defineProperty(r,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return je.distinctUntilKeyChanged}});var pe=a(1069);Object.defineProperty(r,"elementAt",{enumerable:!0,get:function(){return pe.elementAt}});var Fe=a(4312);Object.defineProperty(r,"endWith",{enumerable:!0,get:function(){return Fe.endWith}});var ut=a(9098);Object.defineProperty(r,"every",{enumerable:!0,get:function(){return ut.every}});var Rt=a(5429);Object.defineProperty(r,"exhaust",{enumerable:!0,get:function(){return Rt.exhaust}});var Ft=a(1399);Object.defineProperty(r,"exhaustAll",{enumerable:!0,get:function(){return Ft.exhaustAll}});var Xt=a(5183);Object.defineProperty(r,"exhaustMap",{enumerable:!0,get:function(){return Xt.exhaustMap}});var pn=a(8678);Object.defineProperty(r,"expand",{enumerable:!0,get:function(){return pn.expand}});var Pn=a(4270);Object.defineProperty(r,"filter",{enumerable:!0,get:function(){return Pn.filter}});var Cn=a(1587);Object.defineProperty(r,"finalize",{enumerable:!0,get:function(){return Cn.finalize}});var Fn=a(2265);Object.defineProperty(r,"find",{enumerable:!0,get:function(){return Fn.find}});var En=a(8195);Object.defineProperty(r,"findIndex",{enumerable:!0,get:function(){return En.findIndex}});var Kn=a(8012);Object.defineProperty(r,"first",{enumerable:!0,get:function(){return Kn.first}});var On=a(4075);Object.defineProperty(r,"groupBy",{enumerable:!0,get:function(){return On.groupBy}});var It=a(4041);Object.defineProperty(r,"ignoreElements",{enumerable:!0,get:function(){return It.ignoreElements}});var Qt=a(6478);Object.defineProperty(r,"isEmpty",{enumerable:!0,get:function(){return Qt.isEmpty}});var oe=a(5126);Object.defineProperty(r,"last",{enumerable:!0,get:function(){return oe.last}});var Ae=a(752);Object.defineProperty(r,"map",{enumerable:!0,get:function(){return Ae.map}});var ne=a(2182);Object.defineProperty(r,"mapTo",{enumerable:!0,get:function(){return ne.mapTo}});var De=a(119);Object.defineProperty(r,"materialize",{enumerable:!0,get:function(){return De.materialize}});var Ze=a(9329);Object.defineProperty(r,"max",{enumerable:!0,get:function(){return Ze.max}});var at=a(3917);Object.defineProperty(r,"mergeAll",{enumerable:!0,get:function(){return at.mergeAll}});var Mt=a(1463);Object.defineProperty(r,"flatMap",{enumerable:!0,get:function(){return Mt.flatMap}});var Ut=a(3010);Object.defineProperty(r,"mergeMap",{enumerable:!0,get:function(){return Ut.mergeMap}});var St=a(929);Object.defineProperty(r,"mergeMapTo",{enumerable:!0,get:function(){return St.mergeMapTo}});var _n=a(2816);Object.defineProperty(r,"mergeScan",{enumerable:!0,get:function(){return _n.mergeScan}});var sn=a(9684);Object.defineProperty(r,"mergeWith",{enumerable:!0,get:function(){return sn.mergeWith}});var fn=a(6250);Object.defineProperty(r,"min",{enumerable:!0,get:function(){return fn.min}});var qt=a(9872);Object.defineProperty(r,"multicast",{enumerable:!0,get:function(){return qt.multicast}});var vn=a(4928);Object.defineProperty(r,"observeOn",{enumerable:!0,get:function(){return vn.observeOn}});var qn=a(9526);Object.defineProperty(r,"pairwise",{enumerable:!0,get:function(){return qn.pairwise}});var Nn=a(5199);Object.defineProperty(r,"pluck",{enumerable:!0,get:function(){return Nn.pluck}});var hn=a(955);Object.defineProperty(r,"publish",{enumerable:!0,get:function(){return hn.publish}});var tn=a(6750);Object.defineProperty(r,"publishBehavior",{enumerable:!0,get:function(){return tn.publishBehavior}});var ei=a(1003);Object.defineProperty(r,"publishLast",{enumerable:!0,get:function(){return ei.publishLast}});var Ci=a(5530);Object.defineProperty(r,"publishReplay",{enumerable:!0,get:function(){return Ci.publishReplay}});var wn=a(2992);Object.defineProperty(r,"raceWith",{enumerable:!0,get:function(){return wn.raceWith}});var An=a(8587);Object.defineProperty(r,"reduce",{enumerable:!0,get:function(){return An.reduce}});var hi=a(8408);Object.defineProperty(r,"repeat",{enumerable:!0,get:function(){return hi.repeat}});var vi=a(7032);Object.defineProperty(r,"repeatWhen",{enumerable:!0,get:function(){return vi.repeatWhen}});var ai=a(6069);Object.defineProperty(r,"retry",{enumerable:!0,get:function(){return ai.retry}});var zn=a(5131);Object.defineProperty(r,"retryWhen",{enumerable:!0,get:function(){return zn.retryWhen}});var wr=a(904);Object.defineProperty(r,"refCount",{enumerable:!0,get:function(){return wr.refCount}});var ur=a(2531);Object.defineProperty(r,"sample",{enumerable:!0,get:function(){return ur.sample}});var Fr=a(2098);Object.defineProperty(r,"sampleTime",{enumerable:!0,get:function(){return Fr.sampleTime}});var kn=a(251);Object.defineProperty(r,"scan",{enumerable:!0,get:function(){return kn.scan}});var kr=a(9788);Object.defineProperty(r,"sequenceEqual",{enumerable:!0,get:function(){return kr.sequenceEqual}});var Ei=a(3222);Object.defineProperty(r,"share",{enumerable:!0,get:function(){return Ei.share}});var Ai=a(2186);Object.defineProperty(r,"shareReplay",{enumerable:!0,get:function(){return Ai.shareReplay}});var Ki=a(695);Object.defineProperty(r,"single",{enumerable:!0,get:function(){return Ki.single}});var Qi=a(4975);Object.defineProperty(r,"skip",{enumerable:!0,get:function(){return Qi.skip}});var dr=a(728);Object.defineProperty(r,"skipLast",{enumerable:!0,get:function(){return dr.skipLast}});var Yi=a(7409);Object.defineProperty(r,"skipUntil",{enumerable:!0,get:function(){return Yi.skipUntil}});var Nr=a(385);Object.defineProperty(r,"skipWhile",{enumerable:!0,get:function(){return Nr.skipWhile}});var yi=a(4930);Object.defineProperty(r,"startWith",{enumerable:!0,get:function(){return yi.startWith}});var Lr=a(1698);Object.defineProperty(r,"subscribeOn",{enumerable:!0,get:function(){return Lr.subscribeOn}});var Ri=a(8044);Object.defineProperty(r,"switchAll",{enumerable:!0,get:function(){return Ri.switchAll}});var Mr=a(986);Object.defineProperty(r,"switchMap",{enumerable:!0,get:function(){return Mr.switchMap}});var Sr=a(9309);Object.defineProperty(r,"switchMapTo",{enumerable:!0,get:function(){return Sr.switchMapTo}});var xi=a(9499);Object.defineProperty(r,"switchScan",{enumerable:!0,get:function(){return xi.switchScan}});var Ti=a(1333);Object.defineProperty(r,"take",{enumerable:!0,get:function(){return Ti.take}});var Di=a(3534);Object.defineProperty(r,"takeLast",{enumerable:!0,get:function(){return Di.takeLast}});var Or=a(5716);Object.defineProperty(r,"takeUntil",{enumerable:!0,get:function(){return Or.takeUntil}});var Fi=a(9928);Object.defineProperty(r,"takeWhile",{enumerable:!0,get:function(){return Fi.takeWhile}});var fr=a(6821);Object.defineProperty(r,"tap",{enumerable:!0,get:function(){return fr.tap}});var li=a(4330);Object.defineProperty(r,"throttle",{enumerable:!0,get:function(){return li.throttle}});var ki=a(4029);Object.defineProperty(r,"throttleTime",{enumerable:!0,get:function(){return ki.throttleTime}});var _i=a(9194);Object.defineProperty(r,"throwIfEmpty",{enumerable:!0,get:function(){return _i.throwIfEmpty}});var Zi=a(5904);Object.defineProperty(r,"timeInterval",{enumerable:!0,get:function(){return Zi.timeInterval}});var wi=a(5001);Object.defineProperty(r,"timeout",{enumerable:!0,get:function(){return wi.timeout}});var hr=a(8308);Object.defineProperty(r,"timeoutWith",{enumerable:!0,get:function(){return hr.timeoutWith}});var Ji=a(250);Object.defineProperty(r,"timestamp",{enumerable:!0,get:function(){return Ji.timestamp}});var Mi=a(2976);Object.defineProperty(r,"toArray",{enumerable:!0,get:function(){return Mi.toArray}});var Xi=a(9374);Object.defineProperty(r,"window",{enumerable:!0,get:function(){return Xi.window}});var ti=a(8427);Object.defineProperty(r,"windowCount",{enumerable:!0,get:function(){return ti.windowCount}});var pr=a(2358);Object.defineProperty(r,"windowTime",{enumerable:!0,get:function(){return pr.windowTime}});var Ln=a(6464);Object.defineProperty(r,"windowToggle",{enumerable:!0,get:function(){return Ln.windowToggle}});var Ni=a(5424);Object.defineProperty(r,"windowWhen",{enumerable:!0,get:function(){return Ni.windowWhen}});var qi=a(135);Object.defineProperty(r,"withLatestFrom",{enumerable:!0,get:function(){return qi.withLatestFrom}});var jn=a(8101);Object.defineProperty(r,"zipAll",{enumerable:!0,get:function(){return jn.zipAll}});var er=a(9411);Object.defineProperty(r,"zipWith",{enumerable:!0,get:function(){return er.zipWith}})},7606:function(G,r,a){"use strict";var d,n=this&&this.__extends||(d=function(o,c){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,p){f.__proto__=p}||function(f,p){for(var m in p)Object.prototype.hasOwnProperty.call(p,m)&&(f[m]=p[m])})(o,c)},function(o,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function f(){this.constructor=o}d(o,c),o.prototype=null===c?Object.create(c):(f.prototype=c.prototype,new f)});Object.defineProperty(r,"__esModule",{value:!0}),r.AsyncSubject=void 0;var y=function(d){function o(){var c=null!==d&&d.apply(this,arguments)||this;return c._value=null,c._hasValue=!1,c._isComplete=!1,c}return n(o,d),o.prototype._checkFinalizedStatuses=function(c){var f=this,m=f._hasValue,u=f._value,v=f.isStopped,b=f._isComplete;f.hasError?c.error(f.thrownError):(v||b)&&(m&&c.next(u),c.complete())},o.prototype.next=function(c){this.isStopped||(this._value=c,this._hasValue=!0)},o.prototype.complete=function(){var c=this,f=c._hasValue,p=c._value;c._isComplete||(this._isComplete=!0,f&&d.prototype.next.call(this,p),d.prototype.complete.call(this))},o}(a(3768).Subject);r.AsyncSubject=y},5482:function(G,r,a){"use strict";var d,n=this&&this.__extends||(d=function(o,c){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,p){f.__proto__=p}||function(f,p){for(var m in p)Object.prototype.hasOwnProperty.call(p,m)&&(f[m]=p[m])})(o,c)},function(o,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function f(){this.constructor=o}d(o,c),o.prototype=null===c?Object.create(c):(f.prototype=c.prototype,new f)});Object.defineProperty(r,"__esModule",{value:!0}),r.BehaviorSubject=void 0;var y=function(d){function o(c){var f=d.call(this)||this;return f._value=c,f}return n(o,d),Object.defineProperty(o.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),o.prototype._subscribe=function(c){var f=d.prototype._subscribe.call(this,c);return!f.closed&&c.next(this._value),f},o.prototype.getValue=function(){var c=this,m=c._value;if(c.hasError)throw c.thrownError;return this._throwIfClosed(),m},o.prototype.next=function(c){d.prototype.next.call(this,this._value=c)},o}(a(3768).Subject);r.BehaviorSubject=y},7262:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.observeNotification=r.Notification=r.NotificationKind=void 0;var p,n=a(7406),h=a(9677),y=a(338),d=a(7104);(p=r.NotificationKind||(r.NotificationKind={})).NEXT="N",p.ERROR="E",p.COMPLETE="C";var c=function(){function p(m,u,_){this.kind=m,this.value=u,this.error=_,this.hasValue="N"===m}return p.prototype.observe=function(m){return f(this,m)},p.prototype.do=function(m,u,_){var v=this,b=v.kind,S=v.error;return"N"===b?null==m?void 0:m(v.value):"E"===b?null==u?void 0:u(S):null==_?void 0:_()},p.prototype.accept=function(m,u,_){var v;return d.isFunction(null===(v=m)||void 0===v?void 0:v.next)?this.observe(m):this.do(m,u,_)},p.prototype.toObservable=function(){var m=this,u=m.kind,v=m.error,b="N"===u?h.of(m.value):"E"===u?y.throwError(function(){return v}):"C"===u?n.EMPTY:0;if(!b)throw new TypeError("Unexpected notification kind "+u);return b},p.createNext=function(m){return new p("N",m)},p.createError=function(m){return new p("E",void 0,m)},p.createComplete=function(){return p.completeNotification},p.completeNotification=new p("C"),p}();function f(p,m){var u,_,v,T=p.kind,S=p.value,x=p.error;if("string"!=typeof T)throw new TypeError('Invalid notification, missing "kind"');"N"===T?null===(u=m.next)||void 0===u||u.call(m,S):"E"===T?null===(_=m.error)||void 0===_||_.call(m,x):null===(v=m.complete)||void 0===v||v.call(m)}r.Notification=c,r.observeNotification=f},6941:(G,r)=>{"use strict";function h(y,d,o){return{kind:y,value:d,error:o}}Object.defineProperty(r,"__esModule",{value:!0}),r.createNotification=r.nextNotification=r.errorNotification=r.COMPLETE_NOTIFICATION=void 0,r.COMPLETE_NOTIFICATION=h("C",void 0,void 0),r.errorNotification=function a(y){return h("E",void 0,y)},r.nextNotification=function n(y){return h("N",y,void 0)},r.createNotification=h},5821:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Observable=void 0;var n=a(7052),h=a(6448),y=a(1689),d=a(1471),o=a(3570),c=a(7104),f=a(5808),p=function(){function v(b){b&&(this._subscribe=b)}return v.prototype.lift=function(b){var T=new v;return T.source=this,T.operator=b,T},v.prototype.subscribe=function(b,T,S){var x=this,A=function _(v){return v&&v instanceof n.Subscriber||function u(v){return v&&c.isFunction(v.next)&&c.isFunction(v.error)&&c.isFunction(v.complete)}(v)&&h.isSubscription(v)}(b)?b:new n.SafeSubscriber(b,T,S);return f.errorContext(function(){var Z=x.operator,Q=x.source;A.add(Z?Z.call(A,Q):Q?x._subscribe(A):x._trySubscribe(A))}),A},v.prototype._trySubscribe=function(b){try{return this._subscribe(b)}catch(T){b.error(T)}},v.prototype.forEach=function(b,T){var S=this;return new(T=m(T))(function(x,A){var H=new n.SafeSubscriber({next:function(Z){try{b(Z)}catch(Q){A(Q),H.unsubscribe()}},error:A,complete:x});S.subscribe(H)})},v.prototype._subscribe=function(b){var T;return null===(T=this.source)||void 0===T?void 0:T.subscribe(b)},v.prototype[y.observable]=function(){return this},v.prototype.pipe=function(){for(var b=[],T=0;T<arguments.length;T++)b[T]=arguments[T];return d.pipeFromArray(b)(this)},v.prototype.toPromise=function(b){var T=this;return new(b=m(b))(function(S,x){var A;T.subscribe(function(H){return A=H},function(H){return x(H)},function(){return S(A)})})},v.create=function(b){return new v(b)},v}();function m(v){var b;return null!==(b=null!=v?v:o.config.Promise)&&void 0!==b?b:Promise}r.Observable=p},3406:function(G,r,a){"use strict";var o,n=this&&this.__extends||(o=function(c,f){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,m){p.__proto__=m}||function(p,m){for(var u in m)Object.prototype.hasOwnProperty.call(m,u)&&(p[u]=m[u])})(c,f)},function(c,f){if("function"!=typeof f&&null!==f)throw new TypeError("Class extends value "+String(f)+" is not a constructor or null");function p(){this.constructor=c}o(c,f),c.prototype=null===f?Object.create(f):(p.prototype=f.prototype,new p)});Object.defineProperty(r,"__esModule",{value:!0}),r.ReplaySubject=void 0;var h=a(3768),y=a(8354),d=function(o){function c(f,p,m){void 0===f&&(f=1/0),void 0===p&&(p=1/0),void 0===m&&(m=y.dateTimestampProvider);var u=o.call(this)||this;return u._bufferSize=f,u._windowTime=p,u._timestampProvider=m,u._buffer=[],u._infiniteTimeWindow=!0,u._infiniteTimeWindow=p===1/0,u._bufferSize=Math.max(1,f),u._windowTime=Math.max(1,p),u}return n(c,o),c.prototype.next=function(f){var p=this,u=p._buffer,_=p._infiniteTimeWindow,v=p._timestampProvider,b=p._windowTime;p.isStopped||(u.push(f),!_&&u.push(v.now()+b)),this._trimBuffer(),o.prototype.next.call(this,f)},c.prototype._subscribe=function(f){this._throwIfClosed(),this._trimBuffer();for(var p=this._innerSubscribe(f),u=this._infiniteTimeWindow,v=this._buffer.slice(),b=0;b<v.length&&!f.closed;b+=u?1:2)f.next(v[b]);return this._checkFinalizedStatuses(f),p},c.prototype._trimBuffer=function(){var f=this,p=f._bufferSize,m=f._timestampProvider,u=f._buffer,_=f._infiniteTimeWindow,v=(_?1:2)*p;if(p<1/0&&v<u.length&&u.splice(0,u.length-v),!_){for(var b=m.now(),T=0,S=1;S<u.length&&u[S]<=b;S+=2)T=S;T&&u.splice(0,T+1)}},c}(h.Subject);r.ReplaySubject=d},2716:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Scheduler=void 0;var n=a(8354),h=function(){function y(d,o){void 0===o&&(o=y.now),this.schedulerActionCtor=d,this.now=o}return y.prototype.schedule=function(d,o,c){return void 0===o&&(o=0),new this.schedulerActionCtor(this,d).schedule(c,o)},y.now=n.dateTimestampProvider.now,y}();r.Scheduler=h},3768:function(G,r,a){"use strict";var u,n=this&&this.__extends||(u=function(_,v){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,T){b.__proto__=T}||function(b,T){for(var S in T)Object.prototype.hasOwnProperty.call(T,S)&&(b[S]=T[S])})(_,v)},function(_,v){if("function"!=typeof v&&null!==v)throw new TypeError("Class extends value "+String(v)+" is not a constructor or null");function b(){this.constructor=_}u(_,v),_.prototype=null===v?Object.create(v):(b.prototype=v.prototype,new b)}),h=this&&this.__values||function(u){var _="function"==typeof Symbol&&Symbol.iterator,v=_&&u[_],b=0;if(v)return v.call(u);if(u&&"number"==typeof u.length)return{next:function(){return u&&b>=u.length&&(u=void 0),{value:u&&u[b++],done:!u}}};throw new TypeError(_?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0}),r.AnonymousSubject=r.Subject=void 0;var y=a(5821),d=a(6448),o=a(3965),c=a(5137),f=a(5808),p=function(u){function _(){var v=u.call(this)||this;return v.closed=!1,v.currentObservers=null,v.observers=[],v.isStopped=!1,v.hasError=!1,v.thrownError=null,v}return n(_,u),_.prototype.lift=function(v){var b=new m(this,this);return b.operator=v,b},_.prototype._throwIfClosed=function(){if(this.closed)throw new o.ObjectUnsubscribedError},_.prototype.next=function(v){var b=this;f.errorContext(function(){var T,S;if(b._throwIfClosed(),!b.isStopped){b.currentObservers||(b.currentObservers=Array.from(b.observers));try{for(var x=h(b.currentObservers),A=x.next();!A.done;A=x.next())A.value.next(v)}catch(Z){T={error:Z}}finally{try{A&&!A.done&&(S=x.return)&&S.call(x)}finally{if(T)throw T.error}}}})},_.prototype.error=function(v){var b=this;f.errorContext(function(){if(b._throwIfClosed(),!b.isStopped){b.hasError=b.isStopped=!0,b.thrownError=v;for(var T=b.observers;T.length;)T.shift().error(v)}})},_.prototype.complete=function(){var v=this;f.errorContext(function(){if(v._throwIfClosed(),!v.isStopped){v.isStopped=!0;for(var b=v.observers;b.length;)b.shift().complete()}})},_.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(_.prototype,"observed",{get:function(){var v;return(null===(v=this.observers)||void 0===v?void 0:v.length)>0},enumerable:!1,configurable:!0}),_.prototype._trySubscribe=function(v){return this._throwIfClosed(),u.prototype._trySubscribe.call(this,v)},_.prototype._subscribe=function(v){return this._throwIfClosed(),this._checkFinalizedStatuses(v),this._innerSubscribe(v)},_.prototype._innerSubscribe=function(v){var b=this,T=this,A=T.observers;return T.hasError||T.isStopped?d.EMPTY_SUBSCRIPTION:(this.currentObservers=null,A.push(v),new d.Subscription(function(){b.currentObservers=null,c.arrRemove(A,v)}))},_.prototype._checkFinalizedStatuses=function(v){var b=this,x=b.isStopped;b.hasError?v.error(b.thrownError):x&&v.complete()},_.prototype.asObservable=function(){var v=new y.Observable;return v.source=this,v},_.create=function(v,b){return new m(v,b)},_}(y.Observable);r.Subject=p;var m=function(u){function _(v,b){var T=u.call(this)||this;return T.destination=v,T.source=b,T}return n(_,u),_.prototype.next=function(v){var b,T;null===(T=null===(b=this.destination)||void 0===b?void 0:b.next)||void 0===T||T.call(b,v)},_.prototype.error=function(v){var b,T;null===(T=null===(b=this.destination)||void 0===b?void 0:b.error)||void 0===T||T.call(b,v)},_.prototype.complete=function(){var v,b;null===(b=null===(v=this.destination)||void 0===v?void 0:v.complete)||void 0===b||b.call(v)},_.prototype._subscribe=function(v){var b,T;return null!==(T=null===(b=this.source)||void 0===b?void 0:b.subscribe(v))&&void 0!==T?T:d.EMPTY_SUBSCRIPTION},_}(p);r.AnonymousSubject=m},7052:function(G,r,a){"use strict";var H,n=this&&this.__extends||(H=function(Z,Q){return(H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(J,z){J.__proto__=z}||function(J,z){for(var se in z)Object.prototype.hasOwnProperty.call(z,se)&&(J[se]=z[se])})(Z,Q)},function(Z,Q){if("function"!=typeof Q&&null!==Q)throw new TypeError("Class extends value "+String(Q)+" is not a constructor or null");function J(){this.constructor=Z}H(Z,Q),Z.prototype=null===Q?Object.create(Q):(J.prototype=Q.prototype,new J)});Object.defineProperty(r,"__esModule",{value:!0}),r.EMPTY_OBSERVER=r.SafeSubscriber=r.Subscriber=void 0;var h=a(7104),y=a(6448),d=a(3570),o=a(4709),c=a(31),f=a(6941),p=a(3914),m=a(5808),u=function(H){function Z(Q){var J=H.call(this)||this;return J.isStopped=!1,Q?(J.destination=Q,y.isSubscription(Q)&&Q.add(J)):J.destination=r.EMPTY_OBSERVER,J}return n(Z,H),Z.create=function(Q,J,z){return new T(Q,J,z)},Z.prototype.next=function(Q){this.isStopped?A(f.nextNotification(Q),this):this._next(Q)},Z.prototype.error=function(Q){this.isStopped?A(f.errorNotification(Q),this):(this.isStopped=!0,this._error(Q))},Z.prototype.complete=function(){this.isStopped?A(f.COMPLETE_NOTIFICATION,this):(this.isStopped=!0,this._complete())},Z.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,H.prototype.unsubscribe.call(this),this.destination=null)},Z.prototype._next=function(Q){this.destination.next(Q)},Z.prototype._error=function(Q){try{this.destination.error(Q)}finally{this.unsubscribe()}},Z.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},Z}(y.Subscription);r.Subscriber=u;var _=Function.prototype.bind;function v(H,Z){return _.call(H,Z)}var b=function(){function H(Z){this.partialObserver=Z}return H.prototype.next=function(Z){var Q=this.partialObserver;if(Q.next)try{Q.next(Z)}catch(J){S(J)}},H.prototype.error=function(Z){var Q=this.partialObserver;if(Q.error)try{Q.error(Z)}catch(J){S(J)}else S(Z)},H.prototype.complete=function(){var Z=this.partialObserver;if(Z.complete)try{Z.complete()}catch(Q){S(Q)}},H}(),T=function(H){function Z(Q,J,z){var ae,me,se=H.call(this)||this;return h.isFunction(Q)||!Q?ae={next:null!=Q?Q:void 0,error:null!=J?J:void 0,complete:null!=z?z:void 0}:se&&d.config.useDeprecatedNextContext?((me=Object.create(Q)).unsubscribe=function(){return se.unsubscribe()},ae={next:Q.next&&v(Q.next,me),error:Q.error&&v(Q.error,me),complete:Q.complete&&v(Q.complete,me)}):ae=Q,se.destination=new b(ae),se}return n(Z,H),Z}(u);function S(H){d.config.useDeprecatedSynchronousErrorHandling?m.captureError(H):o.reportUnhandledError(H)}function A(H,Z){var Q=d.config.onStoppedNotification;Q&&p.timeoutProvider.setTimeout(function(){return Q(H,Z)})}r.SafeSubscriber=T,r.EMPTY_OBSERVER={closed:!0,next:c.noop,error:function x(H){throw H},complete:c.noop}},6448:function(G,r,a){"use strict";var n=this&&this.__values||function(u){var _="function"==typeof Symbol&&Symbol.iterator,v=_&&u[_],b=0;if(v)return v.call(u);if(u&&"number"==typeof u.length)return{next:function(){return u&&b>=u.length&&(u=void 0),{value:u&&u[b++],done:!u}}};throw new TypeError(_?"Object is not iterable.":"Symbol.iterator is not defined.")},h=this&&this.__read||function(u,_){var v="function"==typeof Symbol&&u[Symbol.iterator];if(!v)return u;var T,x,b=v.call(u),S=[];try{for(;(void 0===_||_-- >0)&&!(T=b.next()).done;)S.push(T.value)}catch(A){x={error:A}}finally{try{T&&!T.done&&(v=b.return)&&v.call(b)}finally{if(x)throw x.error}}return S},y=this&&this.__spreadArray||function(u,_){for(var v=0,b=_.length,T=u.length;v<b;v++,T++)u[T]=_[v];return u};Object.defineProperty(r,"__esModule",{value:!0}),r.isSubscription=r.EMPTY_SUBSCRIPTION=r.Subscription=void 0;var d=a(7104),o=a(4970),c=a(5137),f=function(){function u(_){this.initialTeardown=_,this.closed=!1,this._parentage=null,this._finalizers=null}return u.prototype.unsubscribe=function(){var _,v,b,T,S;if(!this.closed){this.closed=!0;var x=this._parentage;if(x)if(this._parentage=null,Array.isArray(x))try{for(var A=n(x),H=A.next();!H.done;H=A.next())H.value.remove(this)}catch(me){_={error:me}}finally{try{H&&!H.done&&(v=A.return)&&v.call(A)}finally{if(_)throw _.error}}else x.remove(this);var Q=this.initialTeardown;if(d.isFunction(Q))try{Q()}catch(me){S=me instanceof o.UnsubscriptionError?me.errors:[me]}var J=this._finalizers;if(J){this._finalizers=null;try{for(var z=n(J),se=z.next();!se.done;se=z.next()){var ae=se.value;try{m(ae)}catch(me){S=null!=S?S:[],me instanceof o.UnsubscriptionError?S=y(y([],h(S)),h(me.errors)):S.push(me)}}}catch(me){b={error:me}}finally{try{se&&!se.done&&(T=z.return)&&T.call(z)}finally{if(b)throw b.error}}}if(S)throw new o.UnsubscriptionError(S)}},u.prototype.add=function(_){var v;if(_&&_!==this)if(this.closed)m(_);else{if(_ instanceof u){if(_.closed||_._hasParent(this))return;_._addParent(this)}(this._finalizers=null!==(v=this._finalizers)&&void 0!==v?v:[]).push(_)}},u.prototype._hasParent=function(_){var v=this._parentage;return v===_||Array.isArray(v)&&v.includes(_)},u.prototype._addParent=function(_){var v=this._parentage;this._parentage=Array.isArray(v)?(v.push(_),v):v?[v,_]:_},u.prototype._removeParent=function(_){var v=this._parentage;v===_?this._parentage=null:Array.isArray(v)&&c.arrRemove(v,_)},u.prototype.remove=function(_){var v=this._finalizers;v&&c.arrRemove(v,_),_ instanceof u&&_._removeParent(this)},u.EMPTY=((_=new u).closed=!0,_),u;var _}();function m(u){d.isFunction(u)?u():u.unsubscribe()}r.Subscription=f,r.EMPTY_SUBSCRIPTION=f.EMPTY,r.isSubscription=function p(u){return u instanceof f||u&&"closed"in u&&d.isFunction(u.remove)&&d.isFunction(u.add)&&d.isFunction(u.unsubscribe)}},3570:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.config=void 0,r.config={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},5754:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.firstValueFrom=void 0;var n=a(8915),h=a(7052);r.firstValueFrom=function y(d,o){var c="object"==typeof o;return new Promise(function(f,p){var m=new h.SafeSubscriber({next:function(u){f(u),m.unsubscribe()},error:p,complete:function(){c?f(o.defaultValue):p(new n.EmptyError)}});d.subscribe(m)})}},5257:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.lastValueFrom=void 0;var n=a(8915);r.lastValueFrom=function h(y,d){var o="object"==typeof d;return new Promise(function(c,f){var m,p=!1;y.subscribe({next:function(u){m=u,p=!0},error:f,complete:function(){p?c(m):o?c(d.defaultValue):f(new n.EmptyError)}})})}},6686:function(G,r,a){"use strict";var p,n=this&&this.__extends||(p=function(m,u){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,v){_.__proto__=v}||function(_,v){for(var b in v)Object.prototype.hasOwnProperty.call(v,b)&&(_[b]=v[b])})(m,u)},function(m,u){if("function"!=typeof u&&null!==u)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");function _(){this.constructor=m}p(m,u),m.prototype=null===u?Object.create(u):(_.prototype=u.prototype,new _)});Object.defineProperty(r,"__esModule",{value:!0}),r.ConnectableObservable=void 0;var h=a(5821),y=a(6448),d=a(904),o=a(3173),c=a(9216),f=function(p){function m(u,_){var v=p.call(this)||this;return v.source=u,v.subjectFactory=_,v._subject=null,v._refCount=0,v._connection=null,c.hasLift(u)&&(v.lift=u.lift),v}return n(m,p),m.prototype._subscribe=function(u){return this.getSubject().subscribe(u)},m.prototype.getSubject=function(){var u=this._subject;return(!u||u.isStopped)&&(this._subject=this.subjectFactory()),this._subject},m.prototype._teardown=function(){this._refCount=0;var u=this._connection;this._subject=this._connection=null,null==u||u.unsubscribe()},m.prototype.connect=function(){var u=this,_=this._connection;if(!_){_=this._connection=new y.Subscription;var v=this.getSubject();_.add(this.source.subscribe(o.createOperatorSubscriber(v,void 0,function(){u._teardown(),v.complete()},function(b){u._teardown(),v.error(b)},function(){return u._teardown()}))),_.closed&&(this._connection=null,_=y.Subscription.EMPTY)}return _},m.prototype.refCount=function(){return d.refCount()(this)},m}(h.Observable);r.ConnectableObservable=f},7532:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.bindCallback=void 0;var n=a(4832);r.bindCallback=function h(y,d,o){return n.bindCallbackInternals(!1,y,d,o)}},4832:function(G,r,a){"use strict";var n=this&&this.__read||function(u,_){var v="function"==typeof Symbol&&u[Symbol.iterator];if(!v)return u;var T,x,b=v.call(u),S=[];try{for(;(void 0===_||_-- >0)&&!(T=b.next()).done;)S.push(T.value)}catch(A){x={error:A}}finally{try{T&&!T.done&&(v=b.return)&&v.call(b)}finally{if(x)throw x.error}}return S},h=this&&this.__spreadArray||function(u,_){for(var v=0,b=_.length,T=u.length;v<b;v++,T++)u[T]=_[v];return u};Object.defineProperty(r,"__esModule",{value:!0}),r.bindCallbackInternals=void 0;var y=a(1875),d=a(5821),o=a(1698),c=a(5280),f=a(4928),p=a(7606);r.bindCallbackInternals=function m(u,_,v,b){if(v){if(!y.isScheduler(v))return function(){for(var T=[],S=0;S<arguments.length;S++)T[S]=arguments[S];return m(u,_,b).apply(this,T).pipe(c.mapOneOrManyArgs(v))};b=v}return b?function(){for(var T=[],S=0;S<arguments.length;S++)T[S]=arguments[S];return m(u,_).apply(this,T).pipe(o.subscribeOn(b),f.observeOn(b))}:function(){for(var T=this,S=[],x=0;x<arguments.length;x++)S[x]=arguments[x];var A=new p.AsyncSubject,H=!0;return new d.Observable(function(Z){var Q=A.subscribe(Z);if(H){H=!1;var J=!1,z=!1;_.apply(T,h(h([],n(S)),[function(){for(var se=[],ae=0;ae<arguments.length;ae++)se[ae]=arguments[ae];if(u){var me=se.shift();if(null!=me)return void A.error(me)}A.next(1<se.length?se:se[0]),z=!0,J&&A.complete()}])),z&&A.complete(),J=!0}return Q})}}},3488:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.bindNodeCallback=void 0;var n=a(4832);r.bindNodeCallback=function h(y,d,o){return n.bindCallbackInternals(!0,y,d,o)}},6892:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.combineLatestInit=r.combineLatest=void 0;var n=a(5821),h=a(9923),y=a(4996),d=a(7884),o=a(5280),c=a(1642),f=a(7598),p=a(3173),m=a(2590);function _(b,T,S){return void 0===S&&(S=d.identity),function(x){v(T,function(){for(var A=b.length,H=new Array(A),Z=A,Q=A,J=function(se){v(T,function(){var ae=y.from(b[se],T),me=!1;ae.subscribe(p.createOperatorSubscriber(x,function(Te){H[se]=Te,me||(me=!0,Q--),Q||x.next(S(H.slice()))},function(){--Z||x.complete()}))},x)},z=0;z<A;z++)J(z)},x)}}function v(b,T,S){b?m.executeSchedule(S,b,T):T()}r.combineLatest=function u(){for(var b=[],T=0;T<arguments.length;T++)b[T]=arguments[T];var S=c.popScheduler(b),x=c.popResultSelector(b),A=h.argsArgArrayOrObject(b),H=A.args,Z=A.keys;if(0===H.length)return y.from([],S);var Q=new n.Observable(_(H,S,Z?function(J){return f.createObject(Z,J)}:d.identity));return x?Q.pipe(o.mapOneOrManyArgs(x)):Q},r.combineLatestInit=_},509:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.concat=void 0;var n=a(739),h=a(1642),y=a(4996);r.concat=function d(){for(var o=[],c=0;c<arguments.length;c++)o[c]=arguments[c];return n.concatAll()(y.from(o,h.popScheduler(o)))}},9190:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.connectable=void 0;var n=a(3768),h=a(5821),y=a(9954),d={connector:function(){return new n.Subject},resetOnDisconnect:!0};r.connectable=function o(c,f){void 0===f&&(f=d);var p=null,m=f.connector,u=f.resetOnDisconnect,_=void 0===u||u,v=m(),b=new h.Observable(function(T){return v.subscribe(T)});return b.connect=function(){return(!p||p.closed)&&(p=y.defer(function(){return c}).subscribe(v),_&&p.add(function(){return v=m()})),p},b}},9954:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.defer=void 0;var n=a(5821),h=a(8767);r.defer=function y(d){return new n.Observable(function(o){h.innerFrom(d()).subscribe(o)})}},2946:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.animationFrames=void 0;var n=a(5821),h=a(6448),y=a(1038),d=a(6343);function c(p){var m=d.animationFrameProvider.schedule;return new n.Observable(function(u){var _=new h.Subscription,v=p||y.performanceTimestampProvider,b=v.now(),T=function(S){var x=v.now();u.next({timestamp:p?x:S,elapsed:x-b}),u.closed||_.add(m(T))};return _.add(m(T)),_})}r.animationFrames=function o(p){return p?c(p):f};var f=c()},7406:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.empty=r.EMPTY=void 0;var n=a(5821);r.EMPTY=new n.Observable(function(d){return d.complete()}),r.empty=function h(d){return d?function y(d){return new n.Observable(function(o){return d.schedule(function(){return o.complete()})})}(d):r.EMPTY}},7928:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.forkJoin=void 0;var n=a(5821),h=a(9923),y=a(8767),d=a(1642),o=a(3173),c=a(5280),f=a(7598);r.forkJoin=function p(){for(var m=[],u=0;u<arguments.length;u++)m[u]=arguments[u];var _=d.popResultSelector(m),v=h.argsArgArrayOrObject(m),b=v.args,T=v.keys,S=new n.Observable(function(x){var A=b.length;if(A)for(var H=new Array(A),Z=A,Q=A,J=function(se){var ae=!1;y.innerFrom(b[se]).subscribe(o.createOperatorSubscriber(x,function(me){ae||(ae=!0,Q--),H[se]=me},function(){return Z--},void 0,function(){(!Z||!ae)&&(Q||x.next(T?f.createObject(T,H):H),x.complete())}))},z=0;z<A;z++)J(z);else x.complete()});return _?S.pipe(c.mapOneOrManyArgs(_)):S}},4996:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.from=void 0;var n=a(9341),h=a(8767);r.from=function y(d,o){return o?n.scheduled(d,o):h.innerFrom(d)}},2579:function(G,r,a){"use strict";var n=this&&this.__read||function(x,A){var H="function"==typeof Symbol&&x[Symbol.iterator];if(!H)return x;var Q,z,Z=H.call(x),J=[];try{for(;(void 0===A||A-- >0)&&!(Q=Z.next()).done;)J.push(Q.value)}catch(se){z={error:se}}finally{try{Q&&!Q.done&&(H=Z.return)&&H.call(Z)}finally{if(z)throw z.error}}return J};Object.defineProperty(r,"__esModule",{value:!0}),r.fromEvent=void 0;var h=a(8767),y=a(5821),d=a(3010),o=a(697),c=a(7104),f=a(5280),p=["addListener","removeListener"],m=["addEventListener","removeEventListener"],u=["on","off"];function v(x,A){return function(H){return function(Z){return x[H](A,Z)}}}r.fromEvent=function _(x,A,H,Z){if(c.isFunction(H)&&(Z=H,H=void 0),Z)return _(x,A,H).pipe(f.mapOneOrManyArgs(Z));var Q=n(function S(x){return c.isFunction(x.addEventListener)&&c.isFunction(x.removeEventListener)}(x)?m.map(function(se){return function(ae){return x[se](A,ae,H)}}):function b(x){return c.isFunction(x.addListener)&&c.isFunction(x.removeListener)}(x)?p.map(v(x,A)):function T(x){return c.isFunction(x.on)&&c.isFunction(x.off)}(x)?u.map(v(x,A)):[],2),J=Q[0],z=Q[1];if(!J&&o.isArrayLike(x))return d.mergeMap(function(se){return _(se,A,H)})(h.innerFrom(x));if(!J)throw new TypeError("Invalid event target");return new y.Observable(function(se){var ae=function(){for(var me=[],Te=0;Te<arguments.length;Te++)me[Te]=arguments[Te];return se.next(1<me.length?me:me[0])};return J(ae),function(){return z(ae)}})}},3975:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.fromEventPattern=void 0;var n=a(5821),h=a(7104),y=a(5280);r.fromEventPattern=function d(o,c,f){return f?d(o,c).pipe(y.mapOneOrManyArgs(f)):new n.Observable(function(p){var m=function(){for(var _=[],v=0;v<arguments.length;v++)_[v]=arguments[v];return p.next(1===_.length?_[0]:_)},u=o(m);return h.isFunction(c)?function(){return c(m,u)}:void 0})}},5107:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.fromSubscribable=void 0;var n=a(5821);r.fromSubscribable=function h(y){return new n.Observable(function(d){return y.subscribe(d)})}},4318:function(G,r,a){"use strict";var n=this&&this.__generator||function(f,p){var u,_,v,b,m={label:0,sent:function(){if(1&v[0])throw v[1];return v[1]},trys:[],ops:[]};return b={next:T(0),throw:T(1),return:T(2)},"function"==typeof Symbol&&(b[Symbol.iterator]=function(){return this}),b;function T(x){return function(A){return function S(x){if(u)throw new TypeError("Generator is already executing.");for(;m;)try{if(u=1,_&&(v=2&x[0]?_.return:x[0]?_.throw||((v=_.return)&&v.call(_),0):_.next)&&!(v=v.call(_,x[1])).done)return v;switch(_=0,v&&(x=[2&x[0],v.value]),x[0]){case 0:case 1:v=x;break;case 4:return m.label++,{value:x[1],done:!1};case 5:m.label++,_=x[1],x=[0];continue;case 7:x=m.ops.pop(),m.trys.pop();continue;default:if(!(v=(v=m.trys).length>0&&v[v.length-1])&&(6===x[0]||2===x[0])){m=0;continue}if(3===x[0]&&(!v||x[1]>v[0]&&x[1]<v[3])){m.label=x[1];break}if(6===x[0]&&m.label<v[1]){m.label=v[1],v=x;break}if(v&&m.label<v[2]){m.label=v[2],m.ops.push(x);break}v[2]&&m.ops.pop(),m.trys.pop();continue}x=p.call(f,m)}catch(A){x=[6,A],_=0}finally{u=v=0}if(5&x[0])throw x[1];return{value:x[0]?x[1]:void 0,done:!0}}([x,A])}}};Object.defineProperty(r,"__esModule",{value:!0}),r.generate=void 0;var h=a(7884),y=a(1875),d=a(9954),o=a(9049);r.generate=function c(f,p,m,u,_){var v,b,T,S;function x(){var A;return n(this,function(H){switch(H.label){case 0:A=S,H.label=1;case 1:return!p||p(A)?[4,T(A)]:[3,4];case 2:H.sent(),H.label=3;case 3:return A=m(A),[3,1];case 4:return[2]}})}return 1===arguments.length?(S=(v=f).initialState,p=v.condition,m=v.iterate,T=void 0===(b=v.resultSelector)?h.identity:b,_=v.scheduler):(S=f,!u||y.isScheduler(u)?(T=h.identity,_=u):T=u),d.defer(_?function(){return o.scheduleIterable(x(),_)}:x)}},3140:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.iif=void 0;var n=a(9954);r.iif=function h(y,d,o){return n.defer(function(){return y()?d:o})}},8767:function(G,r,a){"use strict";var n=this&&this.__awaiter||function(ae,me,Te,_e){return new(Te||(Te=Promise))(function(de,W){function he(rt){try{Se(_e.next(rt))}catch(gt){W(gt)}}function ce(rt){try{Se(_e.throw(rt))}catch(gt){W(gt)}}function Se(rt){rt.done?de(rt.value):function Y(de){return de instanceof Te?de:new Te(function(W){W(de)})}(rt.value).then(he,ce)}Se((_e=_e.apply(ae,me||[])).next())})},h=this&&this.__generator||function(ae,me){var _e,Y,de,W,Te={label:0,sent:function(){if(1&de[0])throw de[1];return de[1]},trys:[],ops:[]};return W={next:he(0),throw:he(1),return:he(2)},"function"==typeof Symbol&&(W[Symbol.iterator]=function(){return this}),W;function he(Se){return function(rt){return function ce(Se){if(_e)throw new TypeError("Generator is already executing.");for(;Te;)try{if(_e=1,Y&&(de=2&Se[0]?Y.return:Se[0]?Y.throw||((de=Y.return)&&de.call(Y),0):Y.next)&&!(de=de.call(Y,Se[1])).done)return de;switch(Y=0,de&&(Se=[2&Se[0],de.value]),Se[0]){case 0:case 1:de=Se;break;case 4:return Te.label++,{value:Se[1],done:!1};case 5:Te.label++,Y=Se[1],Se=[0];continue;case 7:Se=Te.ops.pop(),Te.trys.pop();continue;default:if(!(de=(de=Te.trys).length>0&&de[de.length-1])&&(6===Se[0]||2===Se[0])){Te=0;continue}if(3===Se[0]&&(!de||Se[1]>de[0]&&Se[1]<de[3])){Te.label=Se[1];break}if(6===Se[0]&&Te.label<de[1]){Te.label=de[1],de=Se;break}if(de&&Te.label<de[2]){Te.label=de[2],Te.ops.push(Se);break}de[2]&&Te.ops.pop(),Te.trys.pop();continue}Se=me.call(ae,Te)}catch(rt){Se=[6,rt],Y=0}finally{_e=de=0}if(5&Se[0])throw Se[1];return{value:Se[0]?Se[1]:void 0,done:!0}}([Se,rt])}}},y=this&&this.__asyncValues||function(ae){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Te,me=ae[Symbol.asyncIterator];return me?me.call(ae):(ae="function"==typeof d?d(ae):ae[Symbol.iterator](),Te={},_e("next"),_e("throw"),_e("return"),Te[Symbol.asyncIterator]=function(){return this},Te);function _e(de){Te[de]=ae[de]&&function(W){return new Promise(function(he,ce){!function Y(de,W,he,ce){Promise.resolve(ce).then(function(Se){de({value:Se,done:he})},W)}(he,ce,(W=ae[de](W)).done,W.value)})}}},d=this&&this.__values||function(ae){var me="function"==typeof Symbol&&Symbol.iterator,Te=me&&ae[me],_e=0;if(Te)return Te.call(ae);if(ae&&"number"==typeof ae.length)return{next:function(){return ae&&_e>=ae.length&&(ae=void 0),{value:ae&&ae[_e++],done:!ae}}};throw new TypeError(me?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0}),r.fromReadableStreamLike=r.fromAsyncIterable=r.fromIterable=r.fromPromise=r.fromArrayLike=r.fromInteropObservable=r.innerFrom=void 0;var o=a(697),c=a(5050),f=a(5821),p=a(7454),m=a(6175),u=a(6870),_=a(5431),v=a(7128),b=a(7104),T=a(4709),S=a(1689);function A(ae){return new f.Observable(function(me){var Te=ae[S.observable]();if(b.isFunction(Te.subscribe))return Te.subscribe(me);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function H(ae){return new f.Observable(function(me){for(var Te=0;Te<ae.length&&!me.closed;Te++)me.next(ae[Te]);me.complete()})}function Z(ae){return new f.Observable(function(me){ae.then(function(Te){me.closed||(me.next(Te),me.complete())},function(Te){return me.error(Te)}).then(null,T.reportUnhandledError)})}function Q(ae){return new f.Observable(function(me){var Te,_e;try{for(var Y=d(ae),de=Y.next();!de.done;de=Y.next())if(me.next(de.value),me.closed)return}catch(he){Te={error:he}}finally{try{de&&!de.done&&(_e=Y.return)&&_e.call(Y)}finally{if(Te)throw Te.error}}me.complete()})}function J(ae){return new f.Observable(function(me){(function se(ae,me){var Te,_e,Y,de;return n(this,void 0,void 0,function(){var he;return h(this,function(ce){switch(ce.label){case 0:ce.trys.push([0,5,6,11]),Te=y(ae),ce.label=1;case 1:return[4,Te.next()];case 2:if((_e=ce.sent()).done)return[3,4];if(me.next(_e.value),me.closed)return[2];ce.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return he=ce.sent(),Y={error:he},[3,11];case 6:return ce.trys.push([6,,9,10]),_e&&!_e.done&&(de=Te.return)?[4,de.call(Te)]:[3,8];case 7:ce.sent(),ce.label=8;case 8:return[3,10];case 9:if(Y)throw Y.error;return[7];case 10:return[7];case 11:return me.complete(),[2]}})})})(ae,me).catch(function(Te){return me.error(Te)})})}function z(ae){return J(v.readableStreamLikeToAsyncGenerator(ae))}r.innerFrom=function x(ae){if(ae instanceof f.Observable)return ae;if(null!=ae){if(p.isInteropObservable(ae))return A(ae);if(o.isArrayLike(ae))return H(ae);if(c.isPromise(ae))return Z(ae);if(m.isAsyncIterable(ae))return J(ae);if(_.isIterable(ae))return Q(ae);if(v.isReadableStreamLike(ae))return z(ae)}throw u.createInvalidObservableTypeError(ae)},r.fromInteropObservable=A,r.fromArrayLike=H,r.fromPromise=Z,r.fromIterable=Q,r.fromAsyncIterable=J,r.fromReadableStreamLike=z},1836:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.interval=void 0;var n=a(4006),h=a(3271);r.interval=function y(d,o){return void 0===d&&(d=0),void 0===o&&(o=n.asyncScheduler),d<0&&(d=0),h.timer(d,d,o)}},9248:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.merge=void 0;var n=a(3917),h=a(8767),y=a(7406),d=a(1642),o=a(4996);r.merge=function c(){for(var f=[],p=0;p<arguments.length;p++)f[p]=arguments[p];var m=d.popScheduler(f),u=d.popNumber(f,1/0),_=f;return _.length?1===_.length?h.innerFrom(_[0]):n.mergeAll(u)(o.from(_,m)):y.EMPTY}},2818:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.never=r.NEVER=void 0;var n=a(5821),h=a(31);r.NEVER=new n.Observable(h.noop),r.never=function y(){return r.NEVER}},9677:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.of=void 0;var n=a(1642),h=a(4996);r.of=function y(){for(var d=[],o=0;o<arguments.length;o++)d[o]=arguments[o];var c=n.popScheduler(d);return h.from(d,c)}},9978:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.onErrorResumeNext=void 0;var n=a(7406),h=a(2158),y=a(3531);r.onErrorResumeNext=function d(){for(var o=[],c=0;c<arguments.length;c++)o[c]=arguments[c];return h.onErrorResumeNext(y.argsOrArgArray(o))(n.EMPTY)}},5519:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.pairs=void 0;var n=a(4996);r.pairs=function h(y,d){return n.from(Object.entries(y),d)}},8221:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.partition=void 0;var n=a(963),h=a(4270),y=a(8767);r.partition=function d(o,c,f){return[h.filter(c,f)(y.innerFrom(o)),h.filter(n.not(c,f))(y.innerFrom(o))]}},8181:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.raceInit=r.race=void 0;var n=a(5821),h=a(8767),y=a(3531),d=a(3173);function c(f){return function(p){for(var m=[],u=function(v){m.push(h.innerFrom(f[v]).subscribe(d.createOperatorSubscriber(p,function(b){if(m){for(var T=0;T<m.length;T++)T!==v&&m[T].unsubscribe();m=null}p.next(b)})))},_=0;m&&!p.closed&&_<f.length;_++)u(_)}}r.race=function o(){for(var f=[],p=0;p<arguments.length;p++)f[p]=arguments[p];return 1===(f=y.argsOrArgArray(f)).length?h.innerFrom(f[0]):new n.Observable(c(f))},r.raceInit=c},4622:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.range=void 0;var n=a(5821),h=a(7406);r.range=function y(d,o,c){if(null==o&&(o=d,d=0),o<=0)return h.EMPTY;var f=o+d;return new n.Observable(c?function(p){var m=d;return c.schedule(function(){m<f?(p.next(m++),this.schedule()):p.complete()})}:function(p){for(var m=d;m<f&&!p.closed;)p.next(m++);p.complete()})}},338:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.throwError=void 0;var n=a(5821),h=a(7104);r.throwError=function y(d,o){var c=h.isFunction(d)?d:function(){return d},f=function(p){return p.error(c())};return new n.Observable(o?function(p){return o.schedule(f,0,p)}:f)}},3271:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.timer=void 0;var n=a(5821),h=a(4006),y=a(1875),d=a(7323);r.timer=function o(c,f,p){void 0===c&&(c=0),void 0===p&&(p=h.async);var m=-1;return null!=f&&(y.isScheduler(f)?p=f:m=f),new n.Observable(function(u){var _=d.isValidDate(c)?+c-p.now():c;_<0&&(_=0);var v=0;return p.schedule(function(){u.closed||(u.next(v++),0<=m?this.schedule(void 0,m):u.complete())},_)})}},924:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.using=void 0;var n=a(5821),h=a(8767),y=a(7406);r.using=function d(o,c){return new n.Observable(function(f){var p=o(),m=c(p);return(m?h.innerFrom(m):y.EMPTY).subscribe(f),function(){p&&p.unsubscribe()}})}},4842:function(G,r,a){"use strict";var n=this&&this.__read||function(u,_){var v="function"==typeof Symbol&&u[Symbol.iterator];if(!v)return u;var T,x,b=v.call(u),S=[];try{for(;(void 0===_||_-- >0)&&!(T=b.next()).done;)S.push(T.value)}catch(A){x={error:A}}finally{try{T&&!T.done&&(v=b.return)&&v.call(b)}finally{if(x)throw x.error}}return S},h=this&&this.__spreadArray||function(u,_){for(var v=0,b=_.length,T=u.length;v<b;v++,T++)u[T]=_[v];return u};Object.defineProperty(r,"__esModule",{value:!0}),r.zip=void 0;var y=a(5821),d=a(8767),o=a(3531),c=a(7406),f=a(3173),p=a(1642);r.zip=function m(){for(var u=[],_=0;_<arguments.length;_++)u[_]=arguments[_];var v=p.popResultSelector(u),b=o.argsOrArgArray(u);return b.length?new y.Observable(function(T){var S=b.map(function(){return[]}),x=b.map(function(){return!1});T.add(function(){S=x=null});for(var A=function(Z){d.innerFrom(b[Z]).subscribe(f.createOperatorSubscriber(T,function(Q){if(S[Z].push(Q),S.every(function(z){return z.length})){var J=S.map(function(z){return z.shift()});T.next(v?v.apply(void 0,h([],n(J))):J),S.some(function(z,se){return!z.length&&x[se]})&&T.complete()}},function(){x[Z]=!0,!S[Z].length&&T.complete()}))},H=0;!T.closed&&H<b.length;H++)A(H);return function(){S=x=null}}):c.EMPTY}},3173:function(G,r,a){"use strict";var o,n=this&&this.__extends||(o=function(c,f){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,m){p.__proto__=m}||function(p,m){for(var u in m)Object.prototype.hasOwnProperty.call(m,u)&&(p[u]=m[u])})(c,f)},function(c,f){if("function"!=typeof f&&null!==f)throw new TypeError("Class extends value "+String(f)+" is not a constructor or null");function p(){this.constructor=c}o(c,f),c.prototype=null===f?Object.create(f):(p.prototype=f.prototype,new p)});Object.defineProperty(r,"__esModule",{value:!0}),r.OperatorSubscriber=r.createOperatorSubscriber=void 0;var h=a(7052);r.createOperatorSubscriber=function y(o,c,f,p,m){return new d(o,c,f,p,m)};var d=function(o){function c(f,p,m,u,_,v){var b=o.call(this,f)||this;return b.onFinalize=_,b.shouldUnsubscribe=v,b._next=p?function(T){try{p(T)}catch(S){f.error(S)}}:o.prototype._next,b._error=u?function(T){try{u(T)}catch(S){f.error(S)}finally{this.unsubscribe()}}:o.prototype._error,b._complete=m?function(){try{m()}catch(T){f.error(T)}finally{this.unsubscribe()}}:o.prototype._complete,b}return n(c,o),c.prototype.unsubscribe=function(){var f;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var p=this.closed;o.prototype.unsubscribe.call(this),!p&&(null===(f=this.onFinalize)||void 0===f||f.call(this))}},c}(h.Subscriber);r.OperatorSubscriber=d},4815:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.audit=void 0;var n=a(9216),h=a(8767),y=a(3173);r.audit=function d(o){return n.operate(function(c,f){var p=!1,m=null,u=null,_=!1,v=function(){if(null==u||u.unsubscribe(),u=null,p){p=!1;var T=m;m=null,f.next(T)}_&&f.complete()},b=function(){u=null,_&&f.complete()};c.subscribe(y.createOperatorSubscriber(f,function(T){p=!0,m=T,u||h.innerFrom(o(T)).subscribe(u=y.createOperatorSubscriber(f,v,b))},function(){_=!0,(!p||!u||u.closed)&&f.complete()}))})}},9034:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.auditTime=void 0;var n=a(4006),h=a(4815),y=a(3271);r.auditTime=function d(o,c){return void 0===c&&(c=n.asyncScheduler),h.audit(function(){return y.timer(o,c)})}},8544:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.buffer=void 0;var n=a(9216),h=a(31),y=a(3173);r.buffer=function d(o){return n.operate(function(c,f){var p=[];return c.subscribe(y.createOperatorSubscriber(f,function(m){return p.push(m)},function(){f.next(p),f.complete()})),o.subscribe(y.createOperatorSubscriber(f,function(){var m=p;p=[],f.next(m)},h.noop)),function(){p=null}})}},3999:function(G,r,a){"use strict";var n=this&&this.__values||function(c){var f="function"==typeof Symbol&&Symbol.iterator,p=f&&c[f],m=0;if(p)return p.call(c);if(c&&"number"==typeof c.length)return{next:function(){return c&&m>=c.length&&(c=void 0),{value:c&&c[m++],done:!c}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0}),r.bufferCount=void 0;var h=a(9216),y=a(3173),d=a(5137);r.bufferCount=function o(c,f){return void 0===f&&(f=null),f=null!=f?f:c,h.operate(function(p,m){var u=[],_=0;p.subscribe(y.createOperatorSubscriber(m,function(v){var b,T,S,x,A=null;_++%f==0&&u.push([]);try{for(var H=n(u),Z=H.next();!Z.done;Z=H.next())(Q=Z.value).push(v),c<=Q.length&&(A=null!=A?A:[]).push(Q)}catch(se){b={error:se}}finally{try{Z&&!Z.done&&(T=H.return)&&T.call(H)}finally{if(b)throw b.error}}if(A)try{for(var J=n(A),z=J.next();!z.done;z=J.next()){var Q;d.arrRemove(u,Q=z.value),m.next(Q)}}catch(se){S={error:se}}finally{try{z&&!z.done&&(x=J.return)&&x.call(J)}finally{if(S)throw S.error}}},function(){var v,b;try{for(var T=n(u),S=T.next();!S.done;S=T.next())m.next(S.value)}catch(A){v={error:A}}finally{try{S&&!S.done&&(b=T.return)&&b.call(T)}finally{if(v)throw v.error}}m.complete()},void 0,function(){u=null}))})}},1392:function(G,r,a){"use strict";var n=this&&this.__values||function(u){var _="function"==typeof Symbol&&Symbol.iterator,v=_&&u[_],b=0;if(v)return v.call(u);if(u&&"number"==typeof u.length)return{next:function(){return u&&b>=u.length&&(u=void 0),{value:u&&u[b++],done:!u}}};throw new TypeError(_?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0}),r.bufferTime=void 0;var h=a(6448),y=a(9216),d=a(3173),o=a(5137),c=a(4006),f=a(1642),p=a(2590);r.bufferTime=function m(u){for(var _,v,b=[],T=1;T<arguments.length;T++)b[T-1]=arguments[T];var S=null!==(_=f.popScheduler(b))&&void 0!==_?_:c.asyncScheduler,x=null!==(v=b[0])&&void 0!==v?v:null,A=b[1]||1/0;return y.operate(function(H,Z){var Q=[],J=!1,z=function(me){var Te=me.buffer;me.subs.unsubscribe(),o.arrRemove(Q,me),Z.next(Te),J&&se()},se=function(){if(Q){var me=new h.Subscription;Z.add(me);var _e={buffer:[],subs:me};Q.push(_e),p.executeSchedule(me,S,function(){return z(_e)},u)}};null!==x&&x>=0?p.executeSchedule(Z,S,se,x,!0):J=!0,se();var ae=d.createOperatorSubscriber(Z,function(me){var Te,_e,Y=Q.slice();try{for(var de=n(Y),W=de.next();!W.done;W=de.next()){var he=W.value,ce=he.buffer;ce.push(me),A<=ce.length&&z(he)}}catch(Se){Te={error:Se}}finally{try{W&&!W.done&&(_e=de.return)&&_e.call(de)}finally{if(Te)throw Te.error}}},function(){for(;null==Q?void 0:Q.length;)Z.next(Q.shift().buffer);null==ae||ae.unsubscribe(),Z.complete(),Z.unsubscribe()},void 0,function(){return Q=null});H.subscribe(ae)})}},555:function(G,r,a){"use strict";var n=this&&this.__values||function(m){var u="function"==typeof Symbol&&Symbol.iterator,_=u&&m[u],v=0;if(_)return _.call(m);if(m&&"number"==typeof m.length)return{next:function(){return m&&v>=m.length&&(m=void 0),{value:m&&m[v++],done:!m}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0}),r.bufferToggle=void 0;var h=a(6448),y=a(9216),d=a(8767),o=a(3173),c=a(31),f=a(5137);r.bufferToggle=function p(m,u){return y.operate(function(_,v){var b=[];d.innerFrom(m).subscribe(o.createOperatorSubscriber(v,function(T){var S=[];b.push(S);var x=new h.Subscription;x.add(d.innerFrom(u(T)).subscribe(o.createOperatorSubscriber(v,function(){f.arrRemove(b,S),v.next(S),x.unsubscribe()},c.noop)))},c.noop)),_.subscribe(o.createOperatorSubscriber(v,function(T){var S,x;try{for(var A=n(b),H=A.next();!H.done;H=A.next())H.value.push(T)}catch(Q){S={error:Q}}finally{try{H&&!H.done&&(x=A.return)&&x.call(A)}finally{if(S)throw S.error}}},function(){for(;b.length>0;)v.next(b.shift());v.complete()}))})}},7274:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.bufferWhen=void 0;var n=a(9216),h=a(31),y=a(3173),d=a(8767);r.bufferWhen=function o(c){return n.operate(function(f,p){var m=null,u=null,_=function(){null==u||u.unsubscribe();var v=m;m=[],v&&p.next(v),d.innerFrom(c()).subscribe(u=y.createOperatorSubscriber(p,_,h.noop))};_(),f.subscribe(y.createOperatorSubscriber(p,function(v){return null==m?void 0:m.push(v)},function(){m&&p.next(m),p.complete()},void 0,function(){return m=u=null}))})}},6e3:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.catchError=void 0;var n=a(8767),h=a(3173),y=a(9216);r.catchError=function d(o){return y.operate(function(c,f){var u,p=null,m=!1;p=c.subscribe(h.createOperatorSubscriber(f,void 0,void 0,function(_){u=n.innerFrom(o(_,d(o)(c))),p?(p.unsubscribe(),p=null,u.subscribe(f)):m=!0})),m&&(p.unsubscribe(),p=null,u.subscribe(f))})}},8996:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.combineAll=void 0;var n=a(8931);r.combineAll=n.combineLatestAll},5538:function(G,r,a){"use strict";var n=this&&this.__read||function(u,_){var v="function"==typeof Symbol&&u[Symbol.iterator];if(!v)return u;var T,x,b=v.call(u),S=[];try{for(;(void 0===_||_-- >0)&&!(T=b.next()).done;)S.push(T.value)}catch(A){x={error:A}}finally{try{T&&!T.done&&(v=b.return)&&v.call(b)}finally{if(x)throw x.error}}return S},h=this&&this.__spreadArray||function(u,_){for(var v=0,b=_.length,T=u.length;v<b;v++,T++)u[T]=_[v];return u};Object.defineProperty(r,"__esModule",{value:!0}),r.combineLatest=void 0;var y=a(6892),d=a(9216),o=a(3531),c=a(5280),f=a(1471),p=a(1642);r.combineLatest=function m(){for(var u=[],_=0;_<arguments.length;_++)u[_]=arguments[_];var v=p.popResultSelector(u);return v?f.pipe(m.apply(void 0,h([],n(u))),c.mapOneOrManyArgs(v)):d.operate(function(b,T){y.combineLatestInit(h([b],n(o.argsOrArgArray(u))))(T)})}},8931:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.combineLatestAll=void 0;var n=a(6892),h=a(1277);r.combineLatestAll=function y(d){return h.joinAllInternals(n.combineLatest,d)}},8947:function(G,r,a){"use strict";var n=this&&this.__read||function(o,c){var f="function"==typeof Symbol&&o[Symbol.iterator];if(!f)return o;var m,_,p=f.call(o),u=[];try{for(;(void 0===c||c-- >0)&&!(m=p.next()).done;)u.push(m.value)}catch(v){_={error:v}}finally{try{m&&!m.done&&(f=p.return)&&f.call(p)}finally{if(_)throw _.error}}return u},h=this&&this.__spreadArray||function(o,c){for(var f=0,p=c.length,m=o.length;f<p;f++,m++)o[m]=c[f];return o};Object.defineProperty(r,"__esModule",{value:!0}),r.combineLatestWith=void 0;var y=a(5538);r.combineLatestWith=function d(){for(var o=[],c=0;c<arguments.length;c++)o[c]=arguments[c];return y.combineLatest.apply(void 0,h([],n(o)))}},4656:function(G,r,a){"use strict";var n=this&&this.__read||function(p,m){var u="function"==typeof Symbol&&p[Symbol.iterator];if(!u)return p;var v,T,_=u.call(p),b=[];try{for(;(void 0===m||m-- >0)&&!(v=_.next()).done;)b.push(v.value)}catch(S){T={error:S}}finally{try{v&&!v.done&&(u=_.return)&&u.call(_)}finally{if(T)throw T.error}}return b},h=this&&this.__spreadArray||function(p,m){for(var u=0,_=m.length,v=p.length;u<_;u++,v++)p[v]=m[u];return p};Object.defineProperty(r,"__esModule",{value:!0}),r.concat=void 0;var y=a(9216),d=a(739),o=a(1642),c=a(4996);r.concat=function f(){for(var p=[],m=0;m<arguments.length;m++)p[m]=arguments[m];var u=o.popScheduler(p);return y.operate(function(_,v){d.concatAll()(c.from(h([_],n(p)),u)).subscribe(v)})}},739:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.concatAll=void 0;var n=a(3917);r.concatAll=function h(){return n.mergeAll(1)}},4659:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.concatMap=void 0;var n=a(3010),h=a(7104);r.concatMap=function y(d,o){return h.isFunction(o)?n.mergeMap(d,o,1):n.mergeMap(d,1)}},2993:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.concatMapTo=void 0;var n=a(4659),h=a(7104);r.concatMapTo=function y(d,o){return h.isFunction(o)?n.concatMap(function(){return d},o):n.concatMap(function(){return d})}},5898:function(G,r,a){"use strict";var n=this&&this.__read||function(o,c){var f="function"==typeof Symbol&&o[Symbol.iterator];if(!f)return o;var m,_,p=f.call(o),u=[];try{for(;(void 0===c||c-- >0)&&!(m=p.next()).done;)u.push(m.value)}catch(v){_={error:v}}finally{try{m&&!m.done&&(f=p.return)&&f.call(p)}finally{if(_)throw _.error}}return u},h=this&&this.__spreadArray||function(o,c){for(var f=0,p=c.length,m=o.length;f<p;f++,m++)o[m]=c[f];return o};Object.defineProperty(r,"__esModule",{value:!0}),r.concatWith=void 0;var y=a(4656);r.concatWith=function d(){for(var o=[],c=0;c<arguments.length;c++)o[c]=arguments[c];return y.concat.apply(void 0,h([],n(o)))}},9725:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.connect=void 0;var n=a(3768),h=a(4996),y=a(9216),d=a(5107),o={connector:function(){return new n.Subject}};r.connect=function c(f,p){void 0===p&&(p=o);var m=p.connector;return y.operate(function(u,_){var v=m();h.from(f(d.fromSubscribable(v))).subscribe(_),_.add(u.subscribe(v))})}},1814:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.count=void 0;var n=a(8587);r.count=function h(y){return n.reduce(function(d,o,c){return!y||y(o,c)?d+1:d},0)}},9784:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.debounce=void 0;var n=a(9216),h=a(31),y=a(3173),d=a(8767);r.debounce=function o(c){return n.operate(function(f,p){var m=!1,u=null,_=null,v=function(){if(null==_||_.unsubscribe(),_=null,m){m=!1;var b=u;u=null,p.next(b)}};f.subscribe(y.createOperatorSubscriber(p,function(b){null==_||_.unsubscribe(),m=!0,u=b,_=y.createOperatorSubscriber(p,v,h.noop),d.innerFrom(c(b)).subscribe(_)},function(){v(),p.complete()},void 0,function(){u=_=null}))})}},7061:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.debounceTime=void 0;var n=a(4006),h=a(9216),y=a(3173);r.debounceTime=function d(o,c){return void 0===c&&(c=n.asyncScheduler),h.operate(function(f,p){var m=null,u=null,_=null,v=function(){if(m){m.unsubscribe(),m=null;var T=u;u=null,p.next(T)}};function b(){var T=_+o,S=c.now();if(S<T)return m=this.schedule(void 0,T-S),void p.add(m);v()}f.subscribe(y.createOperatorSubscriber(p,function(T){u=T,_=c.now(),m||(m=c.schedule(b,o),p.add(m))},function(){v(),p.complete()},void 0,function(){u=m=null}))})}},926:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.defaultIfEmpty=void 0;var n=a(9216),h=a(3173);r.defaultIfEmpty=function y(d){return n.operate(function(o,c){var f=!1;o.subscribe(h.createOperatorSubscriber(c,function(p){f=!0,c.next(p)},function(){f||c.next(d),c.complete()}))})}},2096:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.delay=void 0;var n=a(4006),h=a(3264),y=a(3271);r.delay=function d(o,c){void 0===c&&(c=n.asyncScheduler);var f=y.timer(o,c);return h.delayWhen(function(){return f})}},3264:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.delayWhen=void 0;var n=a(509),h=a(1333),y=a(4041),d=a(2182),o=a(3010);r.delayWhen=function c(f,p){return p?function(m){return n.concat(p.pipe(h.take(1),y.ignoreElements()),m.pipe(c(f)))}:o.mergeMap(function(m,u){return f(m,u).pipe(h.take(1),d.mapTo(m))})}},533:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.dematerialize=void 0;var n=a(7262),h=a(9216),y=a(3173);r.dematerialize=function d(){return h.operate(function(o,c){o.subscribe(y.createOperatorSubscriber(c,function(f){return n.observeNotification(f,c)}))})}},5045:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.distinct=void 0;var n=a(9216),h=a(3173),y=a(31);r.distinct=function d(o,c){return n.operate(function(f,p){var m=new Set;f.subscribe(h.createOperatorSubscriber(p,function(u){var _=o?o(u):u;m.has(_)||(m.add(_),p.next(u))})),null==c||c.subscribe(h.createOperatorSubscriber(p,function(){return m.clear()},y.noop))})}},5794:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.distinctUntilChanged=void 0;var n=a(7884),h=a(9216),y=a(3173);function o(c,f){return c===f}r.distinctUntilChanged=function d(c,f){return void 0===f&&(f=n.identity),c=null!=c?c:o,h.operate(function(p,m){var u,_=!0;p.subscribe(y.createOperatorSubscriber(m,function(v){var b=f(v);(_||!c(u,b))&&(_=!1,u=b,m.next(v))}))})}},8589:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.distinctUntilKeyChanged=void 0;var n=a(5794);r.distinctUntilKeyChanged=function h(y,d){return n.distinctUntilChanged(function(o,c){return d?d(o[y],c[y]):o[y]===c[y]})}},1069:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.elementAt=void 0;var n=a(4769),h=a(4270),y=a(9194),d=a(926),o=a(1333);r.elementAt=function c(f,p){if(f<0)throw new n.ArgumentOutOfRangeError;var m=arguments.length>=2;return function(u){return u.pipe(h.filter(function(_,v){return v===f}),o.take(1),m?d.defaultIfEmpty(p):y.throwIfEmpty(function(){return new n.ArgumentOutOfRangeError}))}}},4312:function(G,r,a){"use strict";var n=this&&this.__read||function(c,f){var p="function"==typeof Symbol&&c[Symbol.iterator];if(!p)return c;var u,v,m=p.call(c),_=[];try{for(;(void 0===f||f-- >0)&&!(u=m.next()).done;)_.push(u.value)}catch(b){v={error:b}}finally{try{u&&!u.done&&(p=m.return)&&p.call(m)}finally{if(v)throw v.error}}return _},h=this&&this.__spreadArray||function(c,f){for(var p=0,m=f.length,u=c.length;p<m;p++,u++)c[u]=f[p];return c};Object.defineProperty(r,"__esModule",{value:!0}),r.endWith=void 0;var y=a(509),d=a(9677);r.endWith=function o(){for(var c=[],f=0;f<arguments.length;f++)c[f]=arguments[f];return function(p){return y.concat(p,d.of.apply(void 0,h([],n(c))))}}},9098:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.every=void 0;var n=a(9216),h=a(3173);r.every=function y(d,o){return n.operate(function(c,f){var p=0;c.subscribe(h.createOperatorSubscriber(f,function(m){d.call(o,m,p++,c)||(f.next(!1),f.complete())},function(){f.next(!0),f.complete()}))})}},5429:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.exhaust=void 0;var n=a(1399);r.exhaust=n.exhaustAll},1399:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.exhaustAll=void 0;var n=a(9216),h=a(8767),y=a(3173);r.exhaustAll=function d(){return n.operate(function(o,c){var f=!1,p=null;o.subscribe(y.createOperatorSubscriber(c,function(m){p||(p=h.innerFrom(m).subscribe(y.createOperatorSubscriber(c,void 0,function(){p=null,f&&c.complete()})))},function(){f=!0,!p&&c.complete()}))})}},5183:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.exhaustMap=void 0;var n=a(752),h=a(8767),y=a(9216),d=a(3173);r.exhaustMap=function o(c,f){return f?function(p){return p.pipe(o(function(m,u){return h.innerFrom(c(m,u)).pipe(n.map(function(_,v){return f(m,_,u,v)}))}))}:y.operate(function(p,m){var u=0,_=null,v=!1;p.subscribe(d.createOperatorSubscriber(m,function(b){_||(_=d.createOperatorSubscriber(m,void 0,function(){_=null,v&&m.complete()}),h.innerFrom(c(b,u++)).subscribe(_))},function(){v=!0,!_&&m.complete()}))})}},8678:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.expand=void 0;var n=a(9216),h=a(8457);r.expand=function y(d,o,c){return void 0===o&&(o=1/0),o=(o||0)<1?1/0:o,n.operate(function(f,p){return h.mergeInternals(f,p,d,o,void 0,!0,c)})}},4270:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.filter=void 0;var n=a(9216),h=a(3173);r.filter=function y(d,o){return n.operate(function(c,f){var p=0;c.subscribe(h.createOperatorSubscriber(f,function(m){return d.call(o,m,p++)&&f.next(m)}))})}},1587:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.finalize=void 0;var n=a(9216);r.finalize=function h(y){return n.operate(function(d,o){try{d.subscribe(o)}finally{o.add(y)}})}},2265:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.createFind=r.find=void 0;var n=a(9216),h=a(3173);function d(o,c,f){var p="index"===f;return function(m,u){var _=0;m.subscribe(h.createOperatorSubscriber(u,function(v){var b=_++;o.call(c,v,b,m)&&(u.next(p?b:v),u.complete())},function(){u.next(p?-1:void 0),u.complete()}))}}r.find=function y(o,c){return n.operate(d(o,c,"value"))},r.createFind=d},8195:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.findIndex=void 0;var n=a(9216),h=a(2265);r.findIndex=function y(d,o){return n.operate(h.createFind(d,o,"index"))}},8012:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.first=void 0;var n=a(8915),h=a(4270),y=a(1333),d=a(926),o=a(9194),c=a(7884);r.first=function f(p,m){var u=arguments.length>=2;return function(_){return _.pipe(p?h.filter(function(v,b){return p(v,b,_)}):c.identity,y.take(1),u?d.defaultIfEmpty(m):o.throwIfEmpty(function(){return new n.EmptyError}))}}},1463:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.flatMap=void 0;var n=a(3010);r.flatMap=n.mergeMap},4075:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.groupBy=void 0;var n=a(5821),h=a(8767),y=a(3768),d=a(9216),o=a(3173);r.groupBy=function c(f,p,m,u){return d.operate(function(_,v){var b;p&&"function"!=typeof p?(m=p.duration,b=p.element,u=p.connector):b=p;var T=new Map,S=function(J){T.forEach(J),J(v)},x=function(J){return S(function(z){return z.error(J)})},A=0,H=!1,Z=new o.OperatorSubscriber(v,function(J){try{var z=f(J),se=T.get(z);if(!se){T.set(z,se=u?u():new y.Subject);var ae=function Q(J,z){var se=new n.Observable(function(ae){A++;var me=z.subscribe(ae);return function(){me.unsubscribe(),0==--A&&H&&Z.unsubscribe()}});return se.key=J,se}(z,se);if(v.next(ae),m){var me=o.createOperatorSubscriber(se,function(){se.complete(),null==me||me.unsubscribe()},void 0,void 0,function(){return T.delete(z)});Z.add(h.innerFrom(m(ae)).subscribe(me))}}se.next(b?b(J):J)}catch(Te){x(Te)}},function(){return S(function(J){return J.complete()})},x,function(){return T.clear()},function(){return H=!0,0===A});_.subscribe(Z)})}},4041:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ignoreElements=void 0;var n=a(9216),h=a(3173),y=a(31);r.ignoreElements=function d(){return n.operate(function(o,c){o.subscribe(h.createOperatorSubscriber(c,y.noop))})}},6478:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isEmpty=void 0;var n=a(9216),h=a(3173);r.isEmpty=function y(){return n.operate(function(d,o){d.subscribe(h.createOperatorSubscriber(o,function(){o.next(!1),o.complete()},function(){o.next(!0),o.complete()}))})}},1277:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.joinAllInternals=void 0;var n=a(7884),h=a(5280),y=a(1471),d=a(3010),o=a(2976);r.joinAllInternals=function c(f,p){return y.pipe(o.toArray(),d.mergeMap(function(m){return f(m)}),p?h.mapOneOrManyArgs(p):n.identity)}},5126:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.last=void 0;var n=a(8915),h=a(4270),y=a(3534),d=a(9194),o=a(926),c=a(7884);r.last=function f(p,m){var u=arguments.length>=2;return function(_){return _.pipe(p?h.filter(function(v,b){return p(v,b,_)}):c.identity,y.takeLast(1),u?o.defaultIfEmpty(m):d.throwIfEmpty(function(){return new n.EmptyError}))}}},752:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.map=void 0;var n=a(9216),h=a(3173);r.map=function y(d,o){return n.operate(function(c,f){var p=0;c.subscribe(h.createOperatorSubscriber(f,function(m){f.next(d.call(o,m,p++))}))})}},2182:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.mapTo=void 0;var n=a(752);r.mapTo=function h(y){return n.map(function(){return y})}},119:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.materialize=void 0;var n=a(7262),h=a(9216),y=a(3173);r.materialize=function d(){return h.operate(function(o,c){o.subscribe(y.createOperatorSubscriber(c,function(f){c.next(n.Notification.createNext(f))},function(){c.next(n.Notification.createComplete()),c.complete()},function(f){c.next(n.Notification.createError(f)),c.complete()}))})}},9329:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.max=void 0;var n=a(8587),h=a(7104);r.max=function y(d){return n.reduce(h.isFunction(d)?function(o,c){return d(o,c)>0?o:c}:function(o,c){return o>c?o:c})}},8789:function(G,r,a){"use strict";var n=this&&this.__read||function(m,u){var _="function"==typeof Symbol&&m[Symbol.iterator];if(!_)return m;var b,S,v=_.call(m),T=[];try{for(;(void 0===u||u-- >0)&&!(b=v.next()).done;)T.push(b.value)}catch(x){S={error:x}}finally{try{b&&!b.done&&(_=v.return)&&_.call(v)}finally{if(S)throw S.error}}return T},h=this&&this.__spreadArray||function(m,u){for(var _=0,v=u.length,b=m.length;_<v;_++,b++)m[b]=u[_];return m};Object.defineProperty(r,"__esModule",{value:!0}),r.merge=void 0;var y=a(9216),d=a(3531),o=a(3917),c=a(1642),f=a(4996);r.merge=function p(){for(var m=[],u=0;u<arguments.length;u++)m[u]=arguments[u];var _=c.popScheduler(m),v=c.popNumber(m,1/0);return m=d.argsOrArgArray(m),y.operate(function(b,T){o.mergeAll(v)(f.from(h([b],n(m)),_)).subscribe(T)})}},3917:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.mergeAll=void 0;var n=a(3010),h=a(7884);r.mergeAll=function y(d){return void 0===d&&(d=1/0),n.mergeMap(h.identity,d)}},8457:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.mergeInternals=void 0;var n=a(8767),h=a(2590),y=a(3173);r.mergeInternals=function d(o,c,f,p,m,u,_,v){var b=[],T=0,S=0,x=!1,A=function(){x&&!b.length&&!T&&c.complete()},H=function(Q){return T<p?Z(Q):b.push(Q)},Z=function(Q){u&&c.next(Q),T++;var J=!1;n.innerFrom(f(Q,S++)).subscribe(y.createOperatorSubscriber(c,function(z){null==m||m(z),u?H(z):c.next(z)},function(){J=!0},void 0,function(){if(J)try{T--;for(var z=function(){var se=b.shift();_?h.executeSchedule(c,_,function(){return Z(se)}):Z(se)};b.length&&T<p;)z();A()}catch(se){c.error(se)}}))};return o.subscribe(y.createOperatorSubscriber(c,H,function(){x=!0,A()})),function(){null==v||v()}}},3010:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.mergeMap=void 0;var n=a(752),h=a(8767),y=a(9216),d=a(8457),o=a(7104);r.mergeMap=function c(f,p,m){return void 0===m&&(m=1/0),o.isFunction(p)?c(function(u,_){return n.map(function(v,b){return p(u,v,_,b)})(h.innerFrom(f(u,_)))},m):("number"==typeof p&&(m=p),y.operate(function(u,_){return d.mergeInternals(u,_,f,m)}))}},929:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.mergeMapTo=void 0;var n=a(3010),h=a(7104);r.mergeMapTo=function y(d,o,c){return void 0===c&&(c=1/0),h.isFunction(o)?n.mergeMap(function(){return d},o,c):("number"==typeof o&&(c=o),n.mergeMap(function(){return d},c))}},2816:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.mergeScan=void 0;var n=a(9216),h=a(8457);r.mergeScan=function y(d,o,c){return void 0===c&&(c=1/0),n.operate(function(f,p){var m=o;return h.mergeInternals(f,p,function(u,_){return d(m,u,_)},c,function(u){m=u},!1,void 0,function(){return m=null})})}},9684:function(G,r,a){"use strict";var n=this&&this.__read||function(o,c){var f="function"==typeof Symbol&&o[Symbol.iterator];if(!f)return o;var m,_,p=f.call(o),u=[];try{for(;(void 0===c||c-- >0)&&!(m=p.next()).done;)u.push(m.value)}catch(v){_={error:v}}finally{try{m&&!m.done&&(f=p.return)&&f.call(p)}finally{if(_)throw _.error}}return u},h=this&&this.__spreadArray||function(o,c){for(var f=0,p=c.length,m=o.length;f<p;f++,m++)o[m]=c[f];return o};Object.defineProperty(r,"__esModule",{value:!0}),r.mergeWith=void 0;var y=a(8789);r.mergeWith=function d(){for(var o=[],c=0;c<arguments.length;c++)o[c]=arguments[c];return y.merge.apply(void 0,h([],n(o)))}},6250:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.min=void 0;var n=a(8587),h=a(7104);r.min=function y(d){return n.reduce(h.isFunction(d)?function(o,c){return d(o,c)<0?o:c}:function(o,c){return o<c?o:c})}},9872:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.multicast=void 0;var n=a(6686),h=a(7104),y=a(9725);r.multicast=function d(o,c){var f=h.isFunction(o)?o:function(){return o};return h.isFunction(c)?y.connect(c,{connector:f}):function(p){return new n.ConnectableObservable(p,f)}}},4928:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.observeOn=void 0;var n=a(2590),h=a(9216),y=a(3173);r.observeOn=function d(o,c){return void 0===c&&(c=0),h.operate(function(f,p){f.subscribe(y.createOperatorSubscriber(p,function(m){return n.executeSchedule(p,o,function(){return p.next(m)},c)},function(){return n.executeSchedule(p,o,function(){return p.complete()},c)},function(m){return n.executeSchedule(p,o,function(){return p.error(m)},c)}))})}},2158:function(G,r,a){"use strict";var n=this&&this.__read||function(m,u){var _="function"==typeof Symbol&&m[Symbol.iterator];if(!_)return m;var b,S,v=_.call(m),T=[];try{for(;(void 0===u||u-- >0)&&!(b=v.next()).done;)T.push(b.value)}catch(x){S={error:x}}finally{try{b&&!b.done&&(_=v.return)&&_.call(v)}finally{if(S)throw S.error}}return T},h=this&&this.__spreadArray||function(m,u){for(var _=0,v=u.length,b=m.length;_<v;_++,b++)m[b]=u[_];return m};Object.defineProperty(r,"__esModule",{value:!0}),r.onErrorResumeNext=void 0;var y=a(9216),d=a(8767),o=a(3531),c=a(3173),f=a(31);r.onErrorResumeNext=function p(){for(var m=[],u=0;u<arguments.length;u++)m[u]=arguments[u];var _=o.argsOrArgArray(m);return y.operate(function(v,b){var T=h([v],n(_)),S=function(){if(!b.closed)if(T.length>0){var x=void 0;try{x=d.innerFrom(T.shift())}catch(H){return void S()}var A=c.createOperatorSubscriber(b,void 0,f.noop,f.noop);x.subscribe(A),A.add(S)}else b.complete()};S()})}},9526:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.pairwise=void 0;var n=a(9216),h=a(3173);r.pairwise=function y(){return n.operate(function(d,o){var c,f=!1;d.subscribe(h.createOperatorSubscriber(o,function(p){var m=c;c=p,f&&o.next([m,p]),f=!0}))})}},5199:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.pluck=void 0;var n=a(752);r.pluck=function h(){for(var y=[],d=0;d<arguments.length;d++)y[d]=arguments[d];var o=y.length;if(0===o)throw new Error("list of properties cannot be empty.");return n.map(function(c){for(var f=c,p=0;p<o;p++){var m=null==f?void 0:f[y[p]];if(void 0===m)return;f=m}return f})}},955:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.publish=void 0;var n=a(3768),h=a(9872),y=a(9725);r.publish=function d(o){return o?function(c){return y.connect(o)(c)}:function(c){return h.multicast(new n.Subject)(c)}}},6750:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.publishBehavior=void 0;var n=a(5482),h=a(6686);r.publishBehavior=function y(d){return function(o){var c=new n.BehaviorSubject(d);return new h.ConnectableObservable(o,function(){return c})}}},1003:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.publishLast=void 0;var n=a(7606),h=a(6686);r.publishLast=function y(){return function(d){var o=new n.AsyncSubject;return new h.ConnectableObservable(d,function(){return o})}}},5530:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.publishReplay=void 0;var n=a(3406),h=a(9872),y=a(7104);r.publishReplay=function d(o,c,f,p){f&&!y.isFunction(f)&&(p=f);var m=y.isFunction(f)?f:void 0;return function(u){return h.multicast(new n.ReplaySubject(o,c,p),m)(u)}}},2992:function(G,r,a){"use strict";var n=this&&this.__read||function(f,p){var m="function"==typeof Symbol&&f[Symbol.iterator];if(!m)return f;var _,b,u=m.call(f),v=[];try{for(;(void 0===p||p-- >0)&&!(_=u.next()).done;)v.push(_.value)}catch(T){b={error:T}}finally{try{_&&!_.done&&(m=u.return)&&m.call(u)}finally{if(b)throw b.error}}return v},h=this&&this.__spreadArray||function(f,p){for(var m=0,u=p.length,_=f.length;m<u;m++,_++)f[_]=p[m];return f};Object.defineProperty(r,"__esModule",{value:!0}),r.raceWith=void 0;var y=a(8181),d=a(9216),o=a(7884);r.raceWith=function c(){for(var f=[],p=0;p<arguments.length;p++)f[p]=arguments[p];return f.length?d.operate(function(m,u){y.raceInit(h([m],n(f)))(u)}):o.identity}},8587:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.reduce=void 0;var n=a(3049),h=a(9216);r.reduce=function y(d,o){return h.operate(n.scanInternals(d,o,arguments.length>=2,!1,!0))}},904:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.refCount=void 0;var n=a(9216),h=a(3173);r.refCount=function y(){return n.operate(function(d,o){var c=null;d._refCount++;var f=h.createOperatorSubscriber(o,void 0,void 0,void 0,function(){if(!d||d._refCount<=0||0<--d._refCount)c=null;else{var p=d._connection,m=c;c=null,p&&(!m||p===m)&&p.unsubscribe(),o.unsubscribe()}});d.subscribe(f),f.closed||(c=d.connect())})}},8408:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.repeat=void 0;var n=a(7406),h=a(9216),y=a(3173),d=a(8767),o=a(3271);r.repeat=function c(f){var p,u,m=1/0;return null!=f&&("object"==typeof f?(m=void 0===(p=f.count)?1/0:p,u=f.delay):m=f),m<=0?function(){return n.EMPTY}:h.operate(function(_,v){var T,b=0,S=function(){if(null==T||T.unsubscribe(),T=null,null!=u){var A="number"==typeof u?o.timer(u):d.innerFrom(u(b)),H=y.createOperatorSubscriber(v,function(){H.unsubscribe(),x()});A.subscribe(H)}else x()},x=function(){var A=!1;T=_.subscribe(y.createOperatorSubscriber(v,void 0,function(){++b<m?T?S():A=!0:v.complete()})),A&&S()};x()})}},7032:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.repeatWhen=void 0;var n=a(3768),h=a(9216),y=a(3173);r.repeatWhen=function d(o){return h.operate(function(c,f){var p,u,m=!1,_=!1,v=!1,b=function(){return v&&_&&(f.complete(),!0)},S=function(){v=!1,p=c.subscribe(y.createOperatorSubscriber(f,void 0,function(){v=!0,!b()&&(u||(u=new n.Subject,o(u).subscribe(y.createOperatorSubscriber(f,function(){p?S():m=!0},function(){_=!0,b()}))),u).next()})),m&&(p.unsubscribe(),p=null,m=!1,S())};S()})}},6069:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.retry=void 0;var n=a(9216),h=a(3173),y=a(7884),d=a(3271),o=a(8767);r.retry=function c(f){var p;void 0===f&&(f=1/0);var m=(p=f&&"object"==typeof f?f:{count:f}).count,u=void 0===m?1/0:m,_=p.delay,v=p.resetOnSuccess,b=void 0!==v&&v;return u<=0?y.identity:n.operate(function(T,S){var A,x=0,H=function(){var Z=!1;A=T.subscribe(h.createOperatorSubscriber(S,function(Q){b&&(x=0),S.next(Q)},void 0,function(Q){if(x++<u){var J=function(){A?(A.unsubscribe(),A=null,H()):Z=!0};if(null!=_){var z="number"==typeof _?d.timer(_):o.innerFrom(_(Q,x)),se=h.createOperatorSubscriber(S,function(){se.unsubscribe(),J()},function(){S.complete()});z.subscribe(se)}else J()}else S.error(Q)})),Z&&(A.unsubscribe(),A=null,H())};H()})}},5131:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.retryWhen=void 0;var n=a(3768),h=a(9216),y=a(3173);r.retryWhen=function d(o){return h.operate(function(c,f){var p,u,m=!1,_=function(){p=c.subscribe(y.createOperatorSubscriber(f,void 0,void 0,function(v){u||(u=new n.Subject,o(u).subscribe(y.createOperatorSubscriber(f,function(){return p?_():m=!0}))),u&&u.next(v)})),m&&(p.unsubscribe(),p=null,m=!1,_())};_()})}},2531:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.sample=void 0;var n=a(9216),h=a(31),y=a(3173);r.sample=function d(o){return n.operate(function(c,f){var p=!1,m=null;c.subscribe(y.createOperatorSubscriber(f,function(u){p=!0,m=u})),o.subscribe(y.createOperatorSubscriber(f,function(){if(p){p=!1;var u=m;m=null,f.next(u)}},h.noop))})}},2098:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.sampleTime=void 0;var n=a(4006),h=a(2531),y=a(1836);r.sampleTime=function d(o,c){return void 0===c&&(c=n.asyncScheduler),h.sample(y.interval(o,c))}},251:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.scan=void 0;var n=a(9216),h=a(3049);r.scan=function y(d,o){return n.operate(h.scanInternals(d,o,arguments.length>=2,!0))}},3049:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.scanInternals=void 0;var n=a(3173);r.scanInternals=function h(y,d,o,c,f){return function(p,m){var u=o,_=d,v=0;p.subscribe(n.createOperatorSubscriber(m,function(b){var T=v++;_=u?y(_,b,T):(u=!0,b),c&&m.next(_)},f&&function(){u&&m.next(_),m.complete()}))}}},9788:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.sequenceEqual=void 0;var n=a(9216),h=a(3173);r.sequenceEqual=function y(o,c){return void 0===c&&(c=function(f,p){return f===p}),n.operate(function(f,p){var m={buffer:[],complete:!1},u={buffer:[],complete:!1},_=function(b){p.next(b),p.complete()},v=function(b,T){var S=h.createOperatorSubscriber(p,function(x){var A=T.buffer;0===A.length?T.complete?_(!1):b.buffer.push(x):!c(x,A.shift())&&_(!1)},function(){b.complete=!0,T.complete&&_(0===T.buffer.length),null==S||S.unsubscribe()});return S};f.subscribe(v(m,u)),o.subscribe(v(u,m))})}},3222:function(G,r,a){"use strict";var n=this&&this.__read||function(u,_){var v="function"==typeof Symbol&&u[Symbol.iterator];if(!v)return u;var T,x,b=v.call(u),S=[];try{for(;(void 0===_||_-- >0)&&!(T=b.next()).done;)S.push(T.value)}catch(A){x={error:A}}finally{try{T&&!T.done&&(v=b.return)&&v.call(b)}finally{if(x)throw x.error}}return S},h=this&&this.__spreadArray||function(u,_){for(var v=0,b=_.length,T=u.length;v<b;v++,T++)u[T]=_[v];return u};Object.defineProperty(r,"__esModule",{value:!0}),r.share=void 0;var y=a(4996),d=a(1333),o=a(3768),c=a(7052),f=a(9216);function m(u,_){for(var v=[],b=2;b<arguments.length;b++)v[b-2]=arguments[b];return!0===_?(u(),null):!1===_?null:_.apply(void 0,h([],n(v))).pipe(d.take(1)).subscribe(function(){return u()})}r.share=function p(u){void 0===u&&(u={});var _=u.connector,v=void 0===_?function(){return new o.Subject}:_,b=u.resetOnError,T=void 0===b||b,S=u.resetOnComplete,x=void 0===S||S,A=u.resetOnRefCountZero,H=void 0===A||A;return function(Z){var Q=null,J=null,z=null,se=0,ae=!1,me=!1,Te=function(){null==J||J.unsubscribe(),J=null},_e=function(){Te(),Q=z=null,ae=me=!1},Y=function(){var de=Q;_e(),null==de||de.unsubscribe()};return f.operate(function(de,W){se++,!me&&!ae&&Te();var he=z=null!=z?z:v();W.add(function(){0==--se&&!me&&!ae&&(J=m(Y,H))}),he.subscribe(W),Q||(Q=new c.SafeSubscriber({next:function(ce){return he.next(ce)},error:function(ce){me=!0,Te(),J=m(_e,T,ce),he.error(ce)},complete:function(){ae=!0,Te(),J=m(_e,x),he.complete()}}),y.from(de).subscribe(Q))})(Z)}}},2186:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.shareReplay=void 0;var n=a(3406),h=a(3222);r.shareReplay=function y(d,o,c){var f,p,m,u,_=!1;return d&&"object"==typeof d?(u=void 0===(f=d.bufferSize)?1/0:f,o=void 0===(p=d.windowTime)?1/0:p,_=void 0!==(m=d.refCount)&&m,c=d.scheduler):u=null!=d?d:1/0,h.share({connector:function(){return new n.ReplaySubject(u,o,c)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:_})}},695:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.single=void 0;var n=a(8915),h=a(1551),y=a(5477),d=a(9216),o=a(3173);r.single=function c(f){return d.operate(function(p,m){var _,u=!1,v=!1,b=0;p.subscribe(o.createOperatorSubscriber(m,function(T){v=!0,(!f||f(T,b++,p))&&(u&&m.error(new h.SequenceError("Too many matching values")),u=!0,_=T)},function(){u?(m.next(_),m.complete()):m.error(v?new y.NotFoundError("No matching values"):new n.EmptyError)}))})}},4975:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.skip=void 0;var n=a(4270);r.skip=function h(y){return n.filter(function(d,o){return y<=o})}},728:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.skipLast=void 0;var n=a(7884),h=a(9216),y=a(3173);r.skipLast=function d(o){return o<=0?n.identity:h.operate(function(c,f){var p=new Array(o),m=0;return c.subscribe(y.createOperatorSubscriber(f,function(u){var _=m++;if(_<o)p[_]=u;else{var v=_%o,b=p[v];p[v]=u,f.next(b)}})),function(){p=null}})}},7409:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.skipUntil=void 0;var n=a(9216),h=a(3173),y=a(8767),d=a(31);r.skipUntil=function o(c){return n.operate(function(f,p){var m=!1,u=h.createOperatorSubscriber(p,function(){null==u||u.unsubscribe(),m=!0},d.noop);y.innerFrom(c).subscribe(u),f.subscribe(h.createOperatorSubscriber(p,function(_){return m&&p.next(_)}))})}},385:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.skipWhile=void 0;var n=a(9216),h=a(3173);r.skipWhile=function y(d){return n.operate(function(o,c){var f=!1,p=0;o.subscribe(h.createOperatorSubscriber(c,function(m){return(f||(f=!d(m,p++)))&&c.next(m)}))})}},4930:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.startWith=void 0;var n=a(509),h=a(1642),y=a(9216);r.startWith=function d(){for(var o=[],c=0;c<arguments.length;c++)o[c]=arguments[c];var f=h.popScheduler(o);return y.operate(function(p,m){(f?n.concat(o,p,f):n.concat(o,p)).subscribe(m)})}},1698:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.subscribeOn=void 0;var n=a(9216);r.subscribeOn=function h(y,d){return void 0===d&&(d=0),n.operate(function(o,c){c.add(y.schedule(function(){return o.subscribe(c)},d))})}},8044:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.switchAll=void 0;var n=a(986),h=a(7884);r.switchAll=function y(){return n.switchMap(h.identity)}},986:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.switchMap=void 0;var n=a(8767),h=a(9216),y=a(3173);r.switchMap=function d(o,c){return h.operate(function(f,p){var m=null,u=0,_=!1,v=function(){return _&&!m&&p.complete()};f.subscribe(y.createOperatorSubscriber(p,function(b){null==m||m.unsubscribe();var T=0,S=u++;n.innerFrom(o(b,S)).subscribe(m=y.createOperatorSubscriber(p,function(x){return p.next(c?c(b,x,S,T++):x)},function(){m=null,v()}))},function(){_=!0,v()}))})}},9309:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.switchMapTo=void 0;var n=a(986),h=a(7104);r.switchMapTo=function y(d,o){return h.isFunction(o)?n.switchMap(function(){return d},o):n.switchMap(function(){return d})}},9499:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.switchScan=void 0;var n=a(986),h=a(9216);r.switchScan=function y(d,o){return h.operate(function(c,f){var p=o;return n.switchMap(function(m,u){return d(p,m,u)},function(m,u){return p=u,u})(c).subscribe(f),function(){p=null}})}},1333:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.take=void 0;var n=a(7406),h=a(9216),y=a(3173);r.take=function d(o){return o<=0?function(){return n.EMPTY}:h.operate(function(c,f){var p=0;c.subscribe(y.createOperatorSubscriber(f,function(m){++p<=o&&(f.next(m),o<=p&&f.complete())}))})}},3534:function(G,r,a){"use strict";var n=this&&this.__values||function(c){var f="function"==typeof Symbol&&Symbol.iterator,p=f&&c[f],m=0;if(p)return p.call(c);if(c&&"number"==typeof c.length)return{next:function(){return c&&m>=c.length&&(c=void 0),{value:c&&c[m++],done:!c}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0}),r.takeLast=void 0;var h=a(7406),y=a(9216),d=a(3173);r.takeLast=function o(c){return c<=0?function(){return h.EMPTY}:y.operate(function(f,p){var m=[];f.subscribe(d.createOperatorSubscriber(p,function(u){m.push(u),c<m.length&&m.shift()},function(){var u,_;try{for(var v=n(m),b=v.next();!b.done;b=v.next())p.next(b.value)}catch(S){u={error:S}}finally{try{b&&!b.done&&(_=v.return)&&_.call(v)}finally{if(u)throw u.error}}p.complete()},void 0,function(){m=null}))})}},5716:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.takeUntil=void 0;var n=a(9216),h=a(3173),y=a(8767),d=a(31);r.takeUntil=function o(c){return n.operate(function(f,p){y.innerFrom(c).subscribe(h.createOperatorSubscriber(p,function(){return p.complete()},d.noop)),!p.closed&&f.subscribe(p)})}},9928:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.takeWhile=void 0;var n=a(9216),h=a(3173);r.takeWhile=function y(d,o){return void 0===o&&(o=!1),n.operate(function(c,f){var p=0;c.subscribe(h.createOperatorSubscriber(f,function(m){var u=d(m,p++);(u||o)&&f.next(m),!u&&f.complete()}))})}},6821:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.tap=void 0;var n=a(7104),h=a(9216),y=a(3173),d=a(7884);r.tap=function o(c,f,p){var m=n.isFunction(c)||f||p?{next:c,error:f,complete:p}:c;return m?h.operate(function(u,_){var v;null===(v=m.subscribe)||void 0===v||v.call(m);var b=!0;u.subscribe(y.createOperatorSubscriber(_,function(T){var S;null===(S=m.next)||void 0===S||S.call(m,T),_.next(T)},function(){var T;b=!1,null===(T=m.complete)||void 0===T||T.call(m),_.complete()},function(T){var S;b=!1,null===(S=m.error)||void 0===S||S.call(m,T),_.error(T)},function(){var T,S;b&&(null===(T=m.unsubscribe)||void 0===T||T.call(m)),null===(S=m.finalize)||void 0===S||S.call(m)}))}):d.identity}},4330:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.throttle=r.defaultThrottleConfig=void 0;var n=a(9216),h=a(3173),y=a(8767);r.defaultThrottleConfig={leading:!0,trailing:!1},r.throttle=function d(o,c){return void 0===c&&(c=r.defaultThrottleConfig),n.operate(function(f,p){var m=c.leading,u=c.trailing,_=!1,v=null,b=null,T=!1,S=function(){null==b||b.unsubscribe(),b=null,u&&(H(),T&&p.complete())},x=function(){b=null,T&&p.complete()},A=function(Z){return b=y.innerFrom(o(Z)).subscribe(h.createOperatorSubscriber(p,S,x))},H=function(){if(_){_=!1;var Z=v;v=null,p.next(Z),!T&&A(Z)}};f.subscribe(h.createOperatorSubscriber(p,function(Z){_=!0,v=Z,(!b||b.closed)&&(m?H():A(Z))},function(){T=!0,(!(u&&_&&b)||b.closed)&&p.complete()}))})}},4029:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.throttleTime=void 0;var n=a(4006),h=a(4330),y=a(3271);r.throttleTime=function d(o,c,f){void 0===c&&(c=n.asyncScheduler),void 0===f&&(f=h.defaultThrottleConfig);var p=y.timer(o,c);return h.throttle(function(){return p},f)}},9194:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.throwIfEmpty=void 0;var n=a(8915),h=a(9216),y=a(3173);function o(){return new n.EmptyError}r.throwIfEmpty=function d(c){return void 0===c&&(c=o),h.operate(function(f,p){var m=!1;f.subscribe(y.createOperatorSubscriber(p,function(u){m=!0,p.next(u)},function(){return m?p.complete():p.error(c())}))})}},5904:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.TimeInterval=r.timeInterval=void 0;var n=a(4006),h=a(9216),y=a(3173);r.timeInterval=function d(c){return void 0===c&&(c=n.asyncScheduler),h.operate(function(f,p){var m=c.now();f.subscribe(y.createOperatorSubscriber(p,function(u){var _=c.now(),v=_-m;m=_,p.next(new o(u,v))}))})};var o=function c(f,p){this.value=f,this.interval=p};r.TimeInterval=o},5001:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.timeout=r.TimeoutError=void 0;var n=a(4006),h=a(7323),y=a(9216),d=a(8767),o=a(9703),c=a(3173),f=a(2590);function m(u){throw new r.TimeoutError(u)}r.TimeoutError=o.createErrorClass(function(u){return function(v){void 0===v&&(v=null),u(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=v}}),r.timeout=function p(u,_){var v=h.isValidDate(u)?{first:u}:"number"==typeof u?{each:u}:u,b=v.first,T=v.each,S=v.with,x=void 0===S?m:S,A=v.scheduler,H=void 0===A?null!=_?_:n.asyncScheduler:A,Z=v.meta,Q=void 0===Z?null:Z;if(null==b&&null==T)throw new TypeError("No timeout provided.");return y.operate(function(J,z){var se,ae,me=null,Te=0,_e=function(Y){ae=f.executeSchedule(z,H,function(){try{se.unsubscribe(),d.innerFrom(x({meta:Q,lastValue:me,seen:Te})).subscribe(z)}catch(de){z.error(de)}},Y)};se=J.subscribe(c.createOperatorSubscriber(z,function(Y){null==ae||ae.unsubscribe(),Te++,z.next(me=Y),T>0&&_e(T)},void 0,void 0,function(){(null==ae?void 0:ae.closed)||null==ae||ae.unsubscribe(),me=null})),!Te&&_e(null!=b?"number"==typeof b?b:+b-H.now():T)})}},8308:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.timeoutWith=void 0;var n=a(4006),h=a(7323),y=a(5001);r.timeoutWith=function d(o,c,f){var p,m,u;if(f=null!=f?f:n.async,h.isValidDate(o)?p=o:"number"==typeof o&&(m=o),!c)throw new TypeError("No observable provided to switch to");if(u=function(){return c},null==p&&null==m)throw new TypeError("No timeout provided.");return y.timeout({first:p,each:m,scheduler:f,with:u})}},250:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.timestamp=void 0;var n=a(8354),h=a(752);r.timestamp=function y(d){return void 0===d&&(d=n.dateTimestampProvider),h.map(function(o){return{value:o,timestamp:d.now()}})}},2976:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.toArray=void 0;var n=a(8587),h=a(9216),y=function(o,c){return o.push(c),o};r.toArray=function d(){return h.operate(function(o,c){n.reduce(y,[])(o).subscribe(c)})}},9374:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.window=void 0;var n=a(3768),h=a(9216),y=a(3173),d=a(31);r.window=function o(c){return h.operate(function(f,p){var m=new n.Subject;p.next(m.asObservable());var u=function(_){m.error(_),p.error(_)};return f.subscribe(y.createOperatorSubscriber(p,function(_){return null==m?void 0:m.next(_)},function(){m.complete(),p.complete()},u)),c.subscribe(y.createOperatorSubscriber(p,function(){m.complete(),p.next(m=new n.Subject)},d.noop,u)),function(){null==m||m.unsubscribe(),m=null}})}},8427:function(G,r,a){"use strict";var n=this&&this.__values||function(c){var f="function"==typeof Symbol&&Symbol.iterator,p=f&&c[f],m=0;if(p)return p.call(c);if(c&&"number"==typeof c.length)return{next:function(){return c&&m>=c.length&&(c=void 0),{value:c&&c[m++],done:!c}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0}),r.windowCount=void 0;var h=a(3768),y=a(9216),d=a(3173);r.windowCount=function o(c,f){void 0===f&&(f=0);var p=f>0?f:c;return y.operate(function(m,u){var _=[new h.Subject],b=0;u.next(_[0].asObservable()),m.subscribe(d.createOperatorSubscriber(u,function(T){var S,x;try{for(var A=n(_),H=A.next();!H.done;H=A.next())H.value.next(T)}catch(z){S={error:z}}finally{try{H&&!H.done&&(x=A.return)&&x.call(A)}finally{if(S)throw S.error}}var Q=b-c+1;if(Q>=0&&Q%p==0&&_.shift().complete(),++b%p==0){var J=new h.Subject;_.push(J),u.next(J.asObservable())}},function(){for(;_.length>0;)_.shift().complete();u.complete()},function(T){for(;_.length>0;)_.shift().error(T);u.error(T)},function(){_=null}))})}},2358:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.windowTime=void 0;var n=a(3768),h=a(4006),y=a(6448),d=a(9216),o=a(3173),c=a(5137),f=a(1642),p=a(2590);r.windowTime=function m(u){for(var _,v,b=[],T=1;T<arguments.length;T++)b[T-1]=arguments[T];var S=null!==(_=f.popScheduler(b))&&void 0!==_?_:h.asyncScheduler,x=null!==(v=b[0])&&void 0!==v?v:null,A=b[1]||1/0;return d.operate(function(H,Z){var Q=[],J=!1,z=function(Te){var Y=Te.subs;Te.window.complete(),Y.unsubscribe(),c.arrRemove(Q,Te),J&&se()},se=function(){if(Q){var Te=new y.Subscription;Z.add(Te);var _e=new n.Subject,Y={window:_e,subs:Te,seen:0};Q.push(Y),Z.next(_e.asObservable()),p.executeSchedule(Te,S,function(){return z(Y)},u)}};null!==x&&x>=0?p.executeSchedule(Z,S,se,x,!0):J=!0,se();var ae=function(Te){return Q.slice().forEach(Te)},me=function(Te){ae(function(_e){return Te(_e.window)}),Te(Z),Z.unsubscribe()};return H.subscribe(o.createOperatorSubscriber(Z,function(Te){ae(function(_e){_e.window.next(Te),A<=++_e.seen&&z(_e)})},function(){return me(function(Te){return Te.complete()})},function(Te){return me(function(_e){return _e.error(Te)})})),function(){Q=null}})}},6464:function(G,r,a){"use strict";var n=this&&this.__values||function(u){var _="function"==typeof Symbol&&Symbol.iterator,v=_&&u[_],b=0;if(v)return v.call(u);if(u&&"number"==typeof u.length)return{next:function(){return u&&b>=u.length&&(u=void 0),{value:u&&u[b++],done:!u}}};throw new TypeError(_?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0}),r.windowToggle=void 0;var h=a(3768),y=a(6448),d=a(9216),o=a(8767),c=a(3173),f=a(31),p=a(5137);r.windowToggle=function m(u,_){return d.operate(function(v,b){var T=[],S=function(x){for(;0<T.length;)T.shift().error(x);b.error(x)};o.innerFrom(u).subscribe(c.createOperatorSubscriber(b,function(x){var A=new h.Subject;T.push(A);var Q,H=new y.Subscription;try{Q=o.innerFrom(_(x))}catch(J){return void S(J)}b.next(A.asObservable()),H.add(Q.subscribe(c.createOperatorSubscriber(b,function(){p.arrRemove(T,A),A.complete(),H.unsubscribe()},f.noop,S)))},f.noop)),v.subscribe(c.createOperatorSubscriber(b,function(x){var A,H,Z=T.slice();try{for(var Q=n(Z),J=Q.next();!J.done;J=Q.next())J.value.next(x)}catch(se){A={error:se}}finally{try{J&&!J.done&&(H=Q.return)&&H.call(Q)}finally{if(A)throw A.error}}},function(){for(;0<T.length;)T.shift().complete();b.complete()},S,function(){for(;0<T.length;)T.shift().unsubscribe()}))})}},5424:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.windowWhen=void 0;var n=a(3768),h=a(9216),y=a(3173),d=a(8767);r.windowWhen=function o(c){return h.operate(function(f,p){var m,u,_=function(b){m.error(b),p.error(b)},v=function(){var b;null==u||u.unsubscribe(),null==m||m.complete(),m=new n.Subject,p.next(m.asObservable());try{b=d.innerFrom(c())}catch(T){return void _(T)}b.subscribe(u=y.createOperatorSubscriber(p,v,v,_))};v(),f.subscribe(y.createOperatorSubscriber(p,function(b){return m.next(b)},function(){m.complete(),p.complete()},_,function(){null==u||u.unsubscribe(),m=null}))})}},135:function(G,r,a){"use strict";var n=this&&this.__read||function(u,_){var v="function"==typeof Symbol&&u[Symbol.iterator];if(!v)return u;var T,x,b=v.call(u),S=[];try{for(;(void 0===_||_-- >0)&&!(T=b.next()).done;)S.push(T.value)}catch(A){x={error:A}}finally{try{T&&!T.done&&(v=b.return)&&v.call(b)}finally{if(x)throw x.error}}return S},h=this&&this.__spreadArray||function(u,_){for(var v=0,b=_.length,T=u.length;v<b;v++,T++)u[T]=_[v];return u};Object.defineProperty(r,"__esModule",{value:!0}),r.withLatestFrom=void 0;var y=a(9216),d=a(3173),o=a(8767),c=a(7884),f=a(31),p=a(1642);r.withLatestFrom=function m(){for(var u=[],_=0;_<arguments.length;_++)u[_]=arguments[_];var v=p.popResultSelector(u);return y.operate(function(b,T){for(var S=u.length,x=new Array(S),A=u.map(function(){return!1}),H=!1,Z=function(J){o.innerFrom(u[J]).subscribe(d.createOperatorSubscriber(T,function(z){x[J]=z,!H&&!A[J]&&(A[J]=!0,(H=A.every(c.identity))&&(A=null))},f.noop))},Q=0;Q<S;Q++)Z(Q);b.subscribe(d.createOperatorSubscriber(T,function(J){if(H){var z=h([J],n(x));T.next(v?v.apply(void 0,h([],n(z))):z)}}))})}},5573:function(G,r,a){"use strict";var n=this&&this.__read||function(c,f){var p="function"==typeof Symbol&&c[Symbol.iterator];if(!p)return c;var u,v,m=p.call(c),_=[];try{for(;(void 0===f||f-- >0)&&!(u=m.next()).done;)_.push(u.value)}catch(b){v={error:b}}finally{try{u&&!u.done&&(p=m.return)&&p.call(m)}finally{if(v)throw v.error}}return _},h=this&&this.__spreadArray||function(c,f){for(var p=0,m=f.length,u=c.length;p<m;p++,u++)c[u]=f[p];return c};Object.defineProperty(r,"__esModule",{value:!0}),r.zip=void 0;var y=a(4842),d=a(9216);r.zip=function o(){for(var c=[],f=0;f<arguments.length;f++)c[f]=arguments[f];return d.operate(function(p,m){y.zip.apply(void 0,h([p],n(c))).subscribe(m)})}},8101:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.zipAll=void 0;var n=a(4842),h=a(1277);r.zipAll=function y(d){return h.joinAllInternals(n.zip,d)}},9411:function(G,r,a){"use strict";var n=this&&this.__read||function(o,c){var f="function"==typeof Symbol&&o[Symbol.iterator];if(!f)return o;var m,_,p=f.call(o),u=[];try{for(;(void 0===c||c-- >0)&&!(m=p.next()).done;)u.push(m.value)}catch(v){_={error:v}}finally{try{m&&!m.done&&(f=p.return)&&f.call(p)}finally{if(_)throw _.error}}return u},h=this&&this.__spreadArray||function(o,c){for(var f=0,p=c.length,m=o.length;f<p;f++,m++)o[m]=c[f];return o};Object.defineProperty(r,"__esModule",{value:!0}),r.zipWith=void 0;var y=a(5573);r.zipWith=function d(){for(var o=[],c=0;c<arguments.length;c++)o[c]=arguments[c];return y.zip.apply(void 0,h([],n(o)))}},9611:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.scheduleArray=void 0;var n=a(5821);r.scheduleArray=function h(y,d){return new n.Observable(function(o){var c=0;return d.schedule(function(){c===y.length?o.complete():(o.next(y[c++]),o.closed||this.schedule())})})}},3009:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.scheduleAsyncIterable=void 0;var n=a(5821),h=a(2590);r.scheduleAsyncIterable=function y(d,o){if(!d)throw new Error("Iterable cannot be null");return new n.Observable(function(c){h.executeSchedule(c,o,function(){var f=d[Symbol.asyncIterator]();h.executeSchedule(c,o,function(){f.next().then(function(p){p.done?c.complete():c.next(p.value)})},0,!0)})})}},9049:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.scheduleIterable=void 0;var n=a(5821),h=a(4260),y=a(7104),d=a(2590);r.scheduleIterable=function o(c,f){return new n.Observable(function(p){var m;return d.executeSchedule(p,f,function(){m=c[h.iterator](),d.executeSchedule(p,f,function(){var u,_,v;try{_=(u=m.next()).value,v=u.done}catch(b){return void p.error(b)}v?p.complete():p.next(_)},0,!0)}),function(){return y.isFunction(null==m?void 0:m.return)&&m.return()}})}},7767:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.scheduleObservable=void 0;var n=a(8767),h=a(4928),y=a(1698);r.scheduleObservable=function d(o,c){return n.innerFrom(o).pipe(y.subscribeOn(c),h.observeOn(c))}},2247:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.schedulePromise=void 0;var n=a(8767),h=a(4928),y=a(1698);r.schedulePromise=function d(o,c){return n.innerFrom(o).pipe(y.subscribeOn(c),h.observeOn(c))}},3958:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.scheduleReadableStreamLike=void 0;var n=a(3009),h=a(7128);r.scheduleReadableStreamLike=function y(d,o){return n.scheduleAsyncIterable(h.readableStreamLikeToAsyncGenerator(d),o)}},9341:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.scheduled=void 0;var n=a(7767),h=a(2247),y=a(9611),d=a(9049),o=a(3009),c=a(7454),f=a(5050),p=a(697),m=a(5431),u=a(6175),_=a(6870),v=a(7128),b=a(3958);r.scheduled=function T(S,x){if(null!=S){if(c.isInteropObservable(S))return n.scheduleObservable(S,x);if(p.isArrayLike(S))return y.scheduleArray(S,x);if(f.isPromise(S))return h.schedulePromise(S,x);if(u.isAsyncIterable(S))return o.scheduleAsyncIterable(S,x);if(m.isIterable(S))return d.scheduleIterable(S,x);if(v.isReadableStreamLike(S))return b.scheduleReadableStreamLike(S,x)}throw _.createInvalidObservableTypeError(S)}},1394:function(G,r,a){"use strict";var d,n=this&&this.__extends||(d=function(o,c){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,p){f.__proto__=p}||function(f,p){for(var m in p)Object.prototype.hasOwnProperty.call(p,m)&&(f[m]=p[m])})(o,c)},function(o,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function f(){this.constructor=o}d(o,c),o.prototype=null===c?Object.create(c):(f.prototype=c.prototype,new f)});Object.defineProperty(r,"__esModule",{value:!0}),r.Action=void 0;var y=function(d){function o(c,f){return d.call(this)||this}return n(o,d),o.prototype.schedule=function(c,f){return void 0===f&&(f=0),this},o}(a(6448).Subscription);r.Action=y},275:function(G,r,a){"use strict";var o,n=this&&this.__extends||(o=function(c,f){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,m){p.__proto__=m}||function(p,m){for(var u in m)Object.prototype.hasOwnProperty.call(m,u)&&(p[u]=m[u])})(c,f)},function(c,f){if("function"!=typeof f&&null!==f)throw new TypeError("Class extends value "+String(f)+" is not a constructor or null");function p(){this.constructor=c}o(c,f),c.prototype=null===f?Object.create(f):(p.prototype=f.prototype,new p)});Object.defineProperty(r,"__esModule",{value:!0}),r.AnimationFrameAction=void 0;var h=a(4723),y=a(6343),d=function(o){function c(f,p){var m=o.call(this,f,p)||this;return m.scheduler=f,m.work=p,m}return n(c,o),c.prototype.requestAsyncId=function(f,p,m){return void 0===m&&(m=0),null!==m&&m>0?o.prototype.requestAsyncId.call(this,f,p,m):(f.actions.push(this),f._scheduled||(f._scheduled=y.animationFrameProvider.requestAnimationFrame(function(){return f.flush(void 0)})))},c.prototype.recycleAsyncId=function(f,p,m){if(void 0===m&&(m=0),null!=m&&m>0||null==m&&this.delay>0)return o.prototype.recycleAsyncId.call(this,f,p,m);f.actions.some(function(u){return u.id===p})||(y.animationFrameProvider.cancelAnimationFrame(p),f._scheduled=void 0)},c}(h.AsyncAction);r.AnimationFrameAction=d},3625:function(G,r,a){"use strict";var d,n=this&&this.__extends||(d=function(o,c){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,p){f.__proto__=p}||function(f,p){for(var m in p)Object.prototype.hasOwnProperty.call(p,m)&&(f[m]=p[m])})(o,c)},function(o,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function f(){this.constructor=o}d(o,c),o.prototype=null===c?Object.create(c):(f.prototype=c.prototype,new f)});Object.defineProperty(r,"__esModule",{value:!0}),r.AnimationFrameScheduler=void 0;var y=function(d){function o(){return null!==d&&d.apply(this,arguments)||this}return n(o,d),o.prototype.flush=function(c){this._active=!0;var f=this._scheduled;this._scheduled=void 0;var m,p=this.actions;c=c||p.shift();do{if(m=c.execute(c.state,c.delay))break}while((c=p[0])&&c.id===f&&p.shift());if(this._active=!1,m){for(;(c=p[0])&&c.id===f&&p.shift();)c.unsubscribe();throw m}},o}(a(6216).AsyncScheduler);r.AnimationFrameScheduler=y},7046:function(G,r,a){"use strict";var o,n=this&&this.__extends||(o=function(c,f){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,m){p.__proto__=m}||function(p,m){for(var u in m)Object.prototype.hasOwnProperty.call(m,u)&&(p[u]=m[u])})(c,f)},function(c,f){if("function"!=typeof f&&null!==f)throw new TypeError("Class extends value "+String(f)+" is not a constructor or null");function p(){this.constructor=c}o(c,f),c.prototype=null===f?Object.create(f):(p.prototype=f.prototype,new p)});Object.defineProperty(r,"__esModule",{value:!0}),r.AsapAction=void 0;var h=a(4723),y=a(7766),d=function(o){function c(f,p){var m=o.call(this,f,p)||this;return m.scheduler=f,m.work=p,m}return n(c,o),c.prototype.requestAsyncId=function(f,p,m){return void 0===m&&(m=0),null!==m&&m>0?o.prototype.requestAsyncId.call(this,f,p,m):(f.actions.push(this),f._scheduled||(f._scheduled=y.immediateProvider.setImmediate(f.flush.bind(f,void 0))))},c.prototype.recycleAsyncId=function(f,p,m){if(void 0===m&&(m=0),null!=m&&m>0||null==m&&this.delay>0)return o.prototype.recycleAsyncId.call(this,f,p,m);f.actions.some(function(u){return u.id===p})||(y.immediateProvider.clearImmediate(p),f._scheduled=void 0)},c}(h.AsyncAction);r.AsapAction=d},3706:function(G,r,a){"use strict";var d,n=this&&this.__extends||(d=function(o,c){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,p){f.__proto__=p}||function(f,p){for(var m in p)Object.prototype.hasOwnProperty.call(p,m)&&(f[m]=p[m])})(o,c)},function(o,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function f(){this.constructor=o}d(o,c),o.prototype=null===c?Object.create(c):(f.prototype=c.prototype,new f)});Object.defineProperty(r,"__esModule",{value:!0}),r.AsapScheduler=void 0;var y=function(d){function o(){return null!==d&&d.apply(this,arguments)||this}return n(o,d),o.prototype.flush=function(c){this._active=!0;var f=this._scheduled;this._scheduled=void 0;var m,p=this.actions;c=c||p.shift();do{if(m=c.execute(c.state,c.delay))break}while((c=p[0])&&c.id===f&&p.shift());if(this._active=!1,m){for(;(c=p[0])&&c.id===f&&p.shift();)c.unsubscribe();throw m}},o}(a(6216).AsyncScheduler);r.AsapScheduler=y},4723:function(G,r,a){"use strict";var c,n=this&&this.__extends||(c=function(f,p){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,u){m.__proto__=u}||function(m,u){for(var _ in u)Object.prototype.hasOwnProperty.call(u,_)&&(m[_]=u[_])})(f,p)},function(f,p){if("function"!=typeof p&&null!==p)throw new TypeError("Class extends value "+String(p)+" is not a constructor or null");function m(){this.constructor=f}c(f,p),f.prototype=null===p?Object.create(p):(m.prototype=p.prototype,new m)});Object.defineProperty(r,"__esModule",{value:!0}),r.AsyncAction=void 0;var h=a(1394),y=a(2444),d=a(5137),o=function(c){function f(p,m){var u=c.call(this,p,m)||this;return u.scheduler=p,u.work=m,u.pending=!1,u}return n(f,c),f.prototype.schedule=function(p,m){if(void 0===m&&(m=0),this.closed)return this;this.state=p;var u=this.id,_=this.scheduler;return null!=u&&(this.id=this.recycleAsyncId(_,u,m)),this.pending=!0,this.delay=m,this.id=this.id||this.requestAsyncId(_,this.id,m),this},f.prototype.requestAsyncId=function(p,m,u){return void 0===u&&(u=0),y.intervalProvider.setInterval(p.flush.bind(p,this),u)},f.prototype.recycleAsyncId=function(p,m,u){if(void 0===u&&(u=0),null!=u&&this.delay===u&&!1===this.pending)return m;y.intervalProvider.clearInterval(m)},f.prototype.execute=function(p,m){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var u=this._execute(p,m);if(u)return u;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},f.prototype._execute=function(p,m){var _,u=!1;try{this.work(p)}catch(v){u=!0,_=v||new Error("Scheduled action threw falsy error")}if(u)return this.unsubscribe(),_},f.prototype.unsubscribe=function(){if(!this.closed){var m=this.id,u=this.scheduler,_=u.actions;this.work=this.state=this.scheduler=null,this.pending=!1,d.arrRemove(_,this),null!=m&&(this.id=this.recycleAsyncId(u,m,null)),this.delay=null,c.prototype.unsubscribe.call(this)}},f}(h.Action);r.AsyncAction=o},6216:function(G,r,a){"use strict";var d,n=this&&this.__extends||(d=function(o,c){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,p){f.__proto__=p}||function(f,p){for(var m in p)Object.prototype.hasOwnProperty.call(p,m)&&(f[m]=p[m])})(o,c)},function(o,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function f(){this.constructor=o}d(o,c),o.prototype=null===c?Object.create(c):(f.prototype=c.prototype,new f)});Object.defineProperty(r,"__esModule",{value:!0}),r.AsyncScheduler=void 0;var h=a(2716),y=function(d){function o(c,f){void 0===f&&(f=h.Scheduler.now);var p=d.call(this,c,f)||this;return p.actions=[],p._active=!1,p._scheduled=void 0,p}return n(o,d),o.prototype.flush=function(c){var f=this.actions;if(this._active)f.push(c);else{var p;this._active=!0;do{if(p=c.execute(c.state,c.delay))break}while(c=f.shift());if(this._active=!1,p){for(;c=f.shift();)c.unsubscribe();throw p}}},o}(h.Scheduler);r.AsyncScheduler=y},4954:function(G,r,a){"use strict";var d,n=this&&this.__extends||(d=function(o,c){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,p){f.__proto__=p}||function(f,p){for(var m in p)Object.prototype.hasOwnProperty.call(p,m)&&(f[m]=p[m])})(o,c)},function(o,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function f(){this.constructor=o}d(o,c),o.prototype=null===c?Object.create(c):(f.prototype=c.prototype,new f)});Object.defineProperty(r,"__esModule",{value:!0}),r.QueueAction=void 0;var y=function(d){function o(c,f){var p=d.call(this,c,f)||this;return p.scheduler=c,p.work=f,p}return n(o,d),o.prototype.schedule=function(c,f){return void 0===f&&(f=0),f>0?d.prototype.schedule.call(this,c,f):(this.delay=f,this.state=c,this.scheduler.flush(this),this)},o.prototype.execute=function(c,f){return f>0||this.closed?d.prototype.execute.call(this,c,f):this._execute(c,f)},o.prototype.requestAsyncId=function(c,f,p){return void 0===p&&(p=0),null!=p&&p>0||null==p&&this.delay>0?d.prototype.requestAsyncId.call(this,c,f,p):c.flush(this)},o}(a(4723).AsyncAction);r.QueueAction=y},345:function(G,r,a){"use strict";var d,n=this&&this.__extends||(d=function(o,c){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,p){f.__proto__=p}||function(f,p){for(var m in p)Object.prototype.hasOwnProperty.call(p,m)&&(f[m]=p[m])})(o,c)},function(o,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function f(){this.constructor=o}d(o,c),o.prototype=null===c?Object.create(c):(f.prototype=c.prototype,new f)});Object.defineProperty(r,"__esModule",{value:!0}),r.QueueScheduler=void 0;var y=function(d){function o(){return null!==d&&d.apply(this,arguments)||this}return n(o,d),o}(a(6216).AsyncScheduler);r.QueueScheduler=y},2018:function(G,r,a){"use strict";var f,n=this&&this.__extends||(f=function(p,m){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,_){u.__proto__=_}||function(u,_){for(var v in _)Object.prototype.hasOwnProperty.call(_,v)&&(u[v]=_[v])})(p,m)},function(p,m){if("function"!=typeof m&&null!==m)throw new TypeError("Class extends value "+String(m)+" is not a constructor or null");function u(){this.constructor=p}f(p,m),p.prototype=null===m?Object.create(m):(u.prototype=m.prototype,new u)});Object.defineProperty(r,"__esModule",{value:!0}),r.VirtualAction=r.VirtualTimeScheduler=void 0;var h=a(4723),y=a(6448),o=function(f){function p(m,u){void 0===m&&(m=c),void 0===u&&(u=1/0);var _=f.call(this,m,function(){return _.frame})||this;return _.maxFrames=u,_.frame=0,_.index=-1,_}return n(p,f),p.prototype.flush=function(){for(var v,b,u=this.actions,_=this.maxFrames;(b=u[0])&&b.delay<=_&&(u.shift(),this.frame=b.delay,!(v=b.execute(b.state,b.delay))););if(v){for(;b=u.shift();)b.unsubscribe();throw v}},p.frameTimeFactor=10,p}(a(6216).AsyncScheduler);r.VirtualTimeScheduler=o;var c=function(f){function p(m,u,_){void 0===_&&(_=m.index+=1);var v=f.call(this,m,u)||this;return v.scheduler=m,v.work=u,v.index=_,v.active=!0,v.index=m.index=_,v}return n(p,f),p.prototype.schedule=function(m,u){if(void 0===u&&(u=0),Number.isFinite(u)){if(!this.id)return f.prototype.schedule.call(this,m,u);this.active=!1;var _=new p(this.scheduler,this.work);return this.add(_),_.schedule(m,u)}return y.Subscription.EMPTY},p.prototype.requestAsyncId=function(m,u,_){void 0===_&&(_=0),this.delay=m.frame+_;var v=m.actions;return v.push(this),v.sort(p.sortActions),!0},p.prototype.recycleAsyncId=function(m,u,_){void 0===_&&(_=0)},p.prototype._execute=function(m,u){if(!0===this.active)return f.prototype._execute.call(this,m,u)},p.sortActions=function(m,u){return m.delay===u.delay?m.index===u.index?0:m.index>u.index?1:-1:m.delay>u.delay?1:-1},p}(h.AsyncAction);r.VirtualAction=c},1906:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.animationFrame=r.animationFrameScheduler=void 0;var n=a(275),h=a(3625);r.animationFrameScheduler=new h.AnimationFrameScheduler(n.AnimationFrameAction),r.animationFrame=r.animationFrameScheduler},6343:function(G,r,a){"use strict";var n=this&&this.__read||function(d,o){var c="function"==typeof Symbol&&d[Symbol.iterator];if(!c)return d;var p,u,f=c.call(d),m=[];try{for(;(void 0===o||o-- >0)&&!(p=f.next()).done;)m.push(p.value)}catch(_){u={error:_}}finally{try{p&&!p.done&&(c=f.return)&&c.call(f)}finally{if(u)throw u.error}}return m},h=this&&this.__spreadArray||function(d,o){for(var c=0,f=o.length,p=d.length;c<f;c++,p++)d[p]=o[c];return d};Object.defineProperty(r,"__esModule",{value:!0}),r.animationFrameProvider=void 0;var y=a(6448);r.animationFrameProvider={schedule:function(d){var o=requestAnimationFrame,c=cancelAnimationFrame,f=r.animationFrameProvider.delegate;f&&(o=f.requestAnimationFrame,c=f.cancelAnimationFrame);var p=o(function(m){c=void 0,d(m)});return new y.Subscription(function(){return null==c?void 0:c(p)})},requestAnimationFrame:function(){for(var d=[],o=0;o<arguments.length;o++)d[o]=arguments[o];var c=r.animationFrameProvider.delegate;return((null==c?void 0:c.requestAnimationFrame)||requestAnimationFrame).apply(void 0,h([],n(d)))},cancelAnimationFrame:function(){for(var d=[],o=0;o<arguments.length;o++)d[o]=arguments[o];var c=r.animationFrameProvider.delegate;return((null==c?void 0:c.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,h([],n(d)))},delegate:void 0}},1212:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.asap=r.asapScheduler=void 0;var n=a(7046),h=a(3706);r.asapScheduler=new h.AsapScheduler(n.AsapAction),r.asap=r.asapScheduler},4006:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.async=r.asyncScheduler=void 0;var n=a(4723),h=a(6216);r.asyncScheduler=new h.AsyncScheduler(n.AsyncAction),r.async=r.asyncScheduler},8354:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.dateTimestampProvider=void 0,r.dateTimestampProvider={now:function(){return(r.dateTimestampProvider.delegate||Date).now()},delegate:void 0}},7766:function(G,r,a){"use strict";var n=this&&this.__read||function(c,f){var p="function"==typeof Symbol&&c[Symbol.iterator];if(!p)return c;var u,v,m=p.call(c),_=[];try{for(;(void 0===f||f-- >0)&&!(u=m.next()).done;)_.push(u.value)}catch(b){v={error:b}}finally{try{u&&!u.done&&(p=m.return)&&p.call(m)}finally{if(v)throw v.error}}return _},h=this&&this.__spreadArray||function(c,f){for(var p=0,m=f.length,u=c.length;p<m;p++,u++)c[u]=f[p];return c};Object.defineProperty(r,"__esModule",{value:!0}),r.immediateProvider=void 0;var y=a(349),d=y.Immediate.setImmediate,o=y.Immediate.clearImmediate;r.immediateProvider={setImmediate:function(){for(var c=[],f=0;f<arguments.length;f++)c[f]=arguments[f];var p=r.immediateProvider.delegate;return((null==p?void 0:p.setImmediate)||d).apply(void 0,h([],n(c)))},clearImmediate:function(c){var f=r.immediateProvider.delegate;return((null==f?void 0:f.clearImmediate)||o)(c)},delegate:void 0}},2444:function(G,r){"use strict";var a=this&&this.__read||function(h,y){var d="function"==typeof Symbol&&h[Symbol.iterator];if(!d)return h;var c,p,o=d.call(h),f=[];try{for(;(void 0===y||y-- >0)&&!(c=o.next()).done;)f.push(c.value)}catch(m){p={error:m}}finally{try{c&&!c.done&&(d=o.return)&&d.call(o)}finally{if(p)throw p.error}}return f},n=this&&this.__spreadArray||function(h,y){for(var d=0,o=y.length,c=h.length;d<o;d++,c++)h[c]=y[d];return h};Object.defineProperty(r,"__esModule",{value:!0}),r.intervalProvider=void 0,r.intervalProvider={setInterval:function(h,y){for(var d=[],o=2;o<arguments.length;o++)d[o-2]=arguments[o];var c=r.intervalProvider.delegate;return(null==c?void 0:c.setInterval)?c.setInterval.apply(c,n([h,y],a(d))):setInterval.apply(void 0,n([h,y],a(d)))},clearInterval:function(h){var y=r.intervalProvider.delegate;return((null==y?void 0:y.clearInterval)||clearInterval)(h)},delegate:void 0}},1038:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.performanceTimestampProvider=void 0,r.performanceTimestampProvider={now:function(){return(r.performanceTimestampProvider.delegate||performance).now()},delegate:void 0}},5668:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.queue=r.queueScheduler=void 0;var n=a(4954),h=a(345);r.queueScheduler=new h.QueueScheduler(n.QueueAction),r.queue=r.queueScheduler},3914:function(G,r){"use strict";var a=this&&this.__read||function(h,y){var d="function"==typeof Symbol&&h[Symbol.iterator];if(!d)return h;var c,p,o=d.call(h),f=[];try{for(;(void 0===y||y-- >0)&&!(c=o.next()).done;)f.push(c.value)}catch(m){p={error:m}}finally{try{c&&!c.done&&(d=o.return)&&d.call(o)}finally{if(p)throw p.error}}return f},n=this&&this.__spreadArray||function(h,y){for(var d=0,o=y.length,c=h.length;d<o;d++,c++)h[c]=y[d];return h};Object.defineProperty(r,"__esModule",{value:!0}),r.timeoutProvider=void 0,r.timeoutProvider={setTimeout:function(h,y){for(var d=[],o=2;o<arguments.length;o++)d[o-2]=arguments[o];var c=r.timeoutProvider.delegate;return(null==c?void 0:c.setTimeout)?c.setTimeout.apply(c,n([h,y],a(d))):setTimeout.apply(void 0,n([h,y],a(d)))},clearTimeout:function(h){var y=r.timeoutProvider.delegate;return((null==y?void 0:y.clearTimeout)||clearTimeout)(h)},delegate:void 0}},4260:(G,r)=>{"use strict";function a(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}Object.defineProperty(r,"__esModule",{value:!0}),r.iterator=r.getSymbolIterator=void 0,r.getSymbolIterator=a,r.iterator=a()},1689:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.observable=void 0,r.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"},5256:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0})},4769:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ArgumentOutOfRangeError=void 0;var n=a(9703);r.ArgumentOutOfRangeError=n.createErrorClass(function(h){return function(){h(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"}})},8915:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.EmptyError=void 0;var n=a(9703);r.EmptyError=n.createErrorClass(function(h){return function(){h(this),this.name="EmptyError",this.message="no elements in sequence"}})},349:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.TestTools=r.Immediate=void 0;var n,a=1,h={};function y(d){return d in h&&(delete h[d],!0)}r.Immediate={setImmediate:function(d){var o=a++;return h[o]=!0,n||(n=Promise.resolve()),n.then(function(){return y(o)&&d()}),o},clearImmediate:function(d){y(d)}},r.TestTools={pending:function(){return Object.keys(h).length}}},5477:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.NotFoundError=void 0;var n=a(9703);r.NotFoundError=n.createErrorClass(function(h){return function(d){h(this),this.name="NotFoundError",this.message=d}})},3965:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ObjectUnsubscribedError=void 0;var n=a(9703);r.ObjectUnsubscribedError=n.createErrorClass(function(h){return function(){h(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})},1551:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.SequenceError=void 0;var n=a(9703);r.SequenceError=n.createErrorClass(function(h){return function(d){h(this),this.name="SequenceError",this.message=d}})},4970:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.UnsubscriptionError=void 0;var n=a(9703);r.UnsubscriptionError=n.createErrorClass(function(h){return function(d){h(this),this.message=d?d.length+" errors occurred during unsubscription:\n"+d.map(function(o,c){return c+1+") "+o.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=d}})},1642:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.popNumber=r.popScheduler=r.popResultSelector=void 0;var n=a(7104),h=a(1875);function y(f){return f[f.length-1]}r.popResultSelector=function d(f){return n.isFunction(y(f))?f.pop():void 0},r.popScheduler=function o(f){return h.isScheduler(y(f))?f.pop():void 0},r.popNumber=function c(f,p){return"number"==typeof y(f)?f.pop():p}},9923:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.argsArgArrayOrObject=void 0;var a=Array.isArray,n=Object.getPrototypeOf,h=Object.prototype,y=Object.keys;r.argsArgArrayOrObject=function d(c){if(1===c.length){var f=c[0];if(a(f))return{args:f,keys:null};if(function o(c){return c&&"object"==typeof c&&n(c)===h}(f)){var p=y(f);return{args:p.map(function(m){return f[m]}),keys:p}}}return{args:c,keys:null}}},3531:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.argsOrArgArray=void 0;var a=Array.isArray;r.argsOrArgArray=function n(h){return 1===h.length&&a(h[0])?h[0]:h}},5137:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.arrRemove=void 0,r.arrRemove=function a(n,h){if(n){var y=n.indexOf(h);0<=y&&n.splice(y,1)}}},9703:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.createErrorClass=void 0,r.createErrorClass=function a(n){var y=n(function(d){Error.call(d),d.stack=(new Error).stack});return y.prototype=Object.create(Error.prototype),y.prototype.constructor=y,y}},7598:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.createObject=void 0,r.createObject=function a(n,h){return n.reduce(function(y,d,o){return y[d]=h[o],y},{})}},5808:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.captureError=r.errorContext=void 0;var n=a(3570),h=null;r.errorContext=function y(o){if(n.config.useDeprecatedSynchronousErrorHandling){var c=!h;if(c&&(h={errorThrown:!1,error:null}),o(),c){var f=h;if(h=null,f.errorThrown)throw f.error}}else o()},r.captureError=function d(o){n.config.useDeprecatedSynchronousErrorHandling&&h&&(h.errorThrown=!0,h.error=o)}},2590:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.executeSchedule=void 0,r.executeSchedule=function a(n,h,y,d,o){void 0===d&&(d=0),void 0===o&&(o=!1);var c=h.schedule(function(){y(),o?n.add(this.schedule(null,d)):this.unsubscribe()},d);if(n.add(c),!o)return c}},7884:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.identity=void 0,r.identity=function a(n){return n}},697:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isArrayLike=void 0,r.isArrayLike=function(a){return a&&"number"==typeof a.length&&"function"!=typeof a}},6175:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isAsyncIterable=void 0;var n=a(7104);r.isAsyncIterable=function h(y){return Symbol.asyncIterator&&n.isFunction(null==y?void 0:y[Symbol.asyncIterator])}},7323:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isValidDate=void 0,r.isValidDate=function a(n){return n instanceof Date&&!isNaN(n)}},7104:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isFunction=void 0,r.isFunction=function a(n){return"function"==typeof n}},7454:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isInteropObservable=void 0;var n=a(1689),h=a(7104);r.isInteropObservable=function y(d){return h.isFunction(d[n.observable])}},5431:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isIterable=void 0;var n=a(4260),h=a(7104);r.isIterable=function y(d){return h.isFunction(null==d?void 0:d[n.iterator])}},4341:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isObservable=void 0;var n=a(5821),h=a(7104);r.isObservable=function y(d){return!!d&&(d instanceof n.Observable||h.isFunction(d.lift)&&h.isFunction(d.subscribe))}},5050:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isPromise=void 0;var n=a(7104);r.isPromise=function h(y){return n.isFunction(null==y?void 0:y.then)}},7128:function(G,r,a){"use strict";var n=this&&this.__generator||function(f,p){var u,_,v,b,m={label:0,sent:function(){if(1&v[0])throw v[1];return v[1]},trys:[],ops:[]};return b={next:T(0),throw:T(1),return:T(2)},"function"==typeof Symbol&&(b[Symbol.iterator]=function(){return this}),b;function T(x){return function(A){return function S(x){if(u)throw new TypeError("Generator is already executing.");for(;m;)try{if(u=1,_&&(v=2&x[0]?_.return:x[0]?_.throw||((v=_.return)&&v.call(_),0):_.next)&&!(v=v.call(_,x[1])).done)return v;switch(_=0,v&&(x=[2&x[0],v.value]),x[0]){case 0:case 1:v=x;break;case 4:return m.label++,{value:x[1],done:!1};case 5:m.label++,_=x[1],x=[0];continue;case 7:x=m.ops.pop(),m.trys.pop();continue;default:if(!(v=(v=m.trys).length>0&&v[v.length-1])&&(6===x[0]||2===x[0])){m=0;continue}if(3===x[0]&&(!v||x[1]>v[0]&&x[1]<v[3])){m.label=x[1];break}if(6===x[0]&&m.label<v[1]){m.label=v[1],v=x;break}if(v&&m.label<v[2]){m.label=v[2],m.ops.push(x);break}v[2]&&m.ops.pop(),m.trys.pop();continue}x=p.call(f,m)}catch(A){x=[6,A],_=0}finally{u=v=0}if(5&x[0])throw x[1];return{value:x[0]?x[1]:void 0,done:!0}}([x,A])}}},h=this&&this.__await||function(f){return this instanceof h?(this.v=f,this):new h(f)},y=this&&this.__asyncGenerator||function(f,p,m){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var _,u=m.apply(f,p||[]),v=[];return _={},b("next"),b("throw"),b("return"),_[Symbol.asyncIterator]=function(){return this},_;function b(Z){u[Z]&&(_[Z]=function(Q){return new Promise(function(J,z){v.push([Z,Q,J,z])>1||T(Z,Q)})})}function T(Z,Q){try{!function S(Z){Z.value instanceof h?Promise.resolve(Z.value.v).then(x,A):H(v[0][2],Z)}(u[Z](Q))}catch(J){H(v[0][3],J)}}function x(Z){T("next",Z)}function A(Z){T("throw",Z)}function H(Z,Q){Z(Q),v.shift(),v.length&&T(v[0][0],v[0][1])}};Object.defineProperty(r,"__esModule",{value:!0}),r.isReadableStreamLike=r.readableStreamLikeToAsyncGenerator=void 0;var d=a(7104);r.readableStreamLikeToAsyncGenerator=function o(f){return y(this,arguments,function(){var m,u,_;return n(this,function(b){switch(b.label){case 0:m=f.getReader(),b.label=1;case 1:b.trys.push([1,,9,10]),b.label=2;case 2:return[4,h(m.read())];case 3:return u=b.sent(),_=u.value,u.done?[4,h(void 0)]:[3,5];case 4:return[2,b.sent()];case 5:return[4,h(_)];case 6:return[4,b.sent()];case 7:return b.sent(),[3,2];case 8:return[3,10];case 9:return m.releaseLock(),[7];case 10:return[2]}})})},r.isReadableStreamLike=function c(f){return d.isFunction(null==f?void 0:f.getReader)}},1875:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isScheduler=void 0;var n=a(7104);r.isScheduler=function h(y){return y&&n.isFunction(y.schedule)}},9216:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.operate=r.hasLift=void 0;var n=a(7104);function h(d){return n.isFunction(null==d?void 0:d.lift)}r.hasLift=h,r.operate=function y(d){return function(o){if(h(o))return o.lift(function(c){try{return d(c,this)}catch(f){this.error(f)}});throw new TypeError("Unable to lift unknown Observable type")}}},5280:function(G,r,a){"use strict";var n=this&&this.__read||function(f,p){var m="function"==typeof Symbol&&f[Symbol.iterator];if(!m)return f;var _,b,u=m.call(f),v=[];try{for(;(void 0===p||p-- >0)&&!(_=u.next()).done;)v.push(_.value)}catch(T){b={error:T}}finally{try{_&&!_.done&&(m=u.return)&&m.call(u)}finally{if(b)throw b.error}}return v},h=this&&this.__spreadArray||function(f,p){for(var m=0,u=p.length,_=f.length;m<u;m++,_++)f[_]=p[m];return f};Object.defineProperty(r,"__esModule",{value:!0}),r.mapOneOrManyArgs=void 0;var y=a(752),d=Array.isArray;r.mapOneOrManyArgs=function c(f){return y.map(function(p){return function o(f,p){return d(p)?f.apply(void 0,h([],n(p))):f(p)}(f,p)})}},31:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.noop=void 0,r.noop=function a(){}},963:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.not=void 0,r.not=function a(n,h){return function(y,d){return!n.call(h,y,d)}}},1471:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.pipeFromArray=r.pipe=void 0;var n=a(7884);function y(d){return 0===d.length?n.identity:1===d.length?d[0]:function(c){return d.reduce(function(f,p){return p(f)},c)}}r.pipe=function h(){for(var d=[],o=0;o<arguments.length;o++)d[o]=arguments[o];return y(d)},r.pipeFromArray=y},4709:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.reportUnhandledError=void 0;var n=a(3570),h=a(3914);r.reportUnhandledError=function y(d){h.timeoutProvider.setTimeout(function(){var o=n.config.onUnhandledError;if(!o)throw d;o(d)})}},6870:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.createInvalidObservableTypeError=void 0,r.createInvalidObservableTypeError=function a(n){return new TypeError("You provided "+(null!==n&&"object"==typeof n?"an invalid object":"'"+n+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}},1135:(G,r,a)=>{"use strict";a.d(r,{X:()=>h});var n=a(7579);class h extends n.x{constructor(d){super(),this._value=d}get value(){return this.getValue()}_subscribe(d){const o=super._subscribe(d);return!o.closed&&d.next(this._value),o}getValue(){const{hasError:d,thrownError:o,_value:c}=this;if(d)throw o;return this._throwIfClosed(),c}next(d){super.next(this._value=d)}}},8306:(G,r,a)=>{"use strict";a.d(r,{y:()=>u});var n=a(930),h=a(727),y=a(8822),d=a(4671);var f=a(2416),p=a(576),m=a(2806);let u=(()=>{class T{constructor(x){x&&(this._subscribe=x)}lift(x){const A=new T;return A.source=this,A.operator=x,A}subscribe(x,A,H){const Z=function b(T){return T&&T instanceof n.Lv||function v(T){return T&&(0,p.m)(T.next)&&(0,p.m)(T.error)&&(0,p.m)(T.complete)}(T)&&(0,h.Nn)(T)}(x)?x:new n.Hp(x,A,H);return(0,m.x)(()=>{const{operator:Q,source:J}=this;Z.add(Q?Q.call(Z,J):J?this._subscribe(Z):this._trySubscribe(Z))}),Z}_trySubscribe(x){try{return this._subscribe(x)}catch(A){x.error(A)}}forEach(x,A){return new(A=_(A))((H,Z)=>{const Q=new n.Hp({next:J=>{try{x(J)}catch(z){Z(z),Q.unsubscribe()}},error:Z,complete:H});this.subscribe(Q)})}_subscribe(x){var A;return null===(A=this.source)||void 0===A?void 0:A.subscribe(x)}[y.L](){return this}pipe(...x){return function c(T){return 0===T.length?d.y:1===T.length?T[0]:function(x){return T.reduce((A,H)=>H(A),x)}}(x)(this)}toPromise(x){return new(x=_(x))((A,H)=>{let Z;this.subscribe(Q=>Z=Q,Q=>H(Q),()=>A(Z))})}}return T.create=S=>new T(S),T})();function _(T){var S;return null!==(S=null!=T?T:f.v.Promise)&&void 0!==S?S:Promise}},7579:(G,r,a)=>{"use strict";a.d(r,{x:()=>f});var n=a(8306),h=a(727);const d=(0,a(3888).d)(m=>function(){m(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var o=a(8737),c=a(2806);let f=(()=>{class m extends n.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(_){const v=new p(this,this);return v.operator=_,v}_throwIfClosed(){if(this.closed)throw new d}next(_){(0,c.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const v of this.currentObservers)v.next(_)}})}error(_){(0,c.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=_;const{observers:v}=this;for(;v.length;)v.shift().error(_)}})}complete(){(0,c.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:_}=this;for(;_.length;)_.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var _;return(null===(_=this.observers)||void 0===_?void 0:_.length)>0}_trySubscribe(_){return this._throwIfClosed(),super._trySubscribe(_)}_subscribe(_){return this._throwIfClosed(),this._checkFinalizedStatuses(_),this._innerSubscribe(_)}_innerSubscribe(_){const{hasError:v,isStopped:b,observers:T}=this;return v||b?h.Lc:(this.currentObservers=null,T.push(_),new h.w0(()=>{this.currentObservers=null,(0,o.P)(T,_)}))}_checkFinalizedStatuses(_){const{hasError:v,thrownError:b,isStopped:T}=this;v?_.error(b):T&&_.complete()}asObservable(){const _=new n.y;return _.source=this,_}}return m.create=(u,_)=>new p(u,_),m})();class p extends f{constructor(u,_){super(),this.destination=u,this.source=_}next(u){var _,v;null===(v=null===(_=this.destination)||void 0===_?void 0:_.next)||void 0===v||v.call(_,u)}error(u){var _,v;null===(v=null===(_=this.destination)||void 0===_?void 0:_.error)||void 0===v||v.call(_,u)}complete(){var u,_;null===(_=null===(u=this.destination)||void 0===u?void 0:u.complete)||void 0===_||_.call(u)}_subscribe(u){var _,v;return null!==(v=null===(_=this.source)||void 0===_?void 0:_.subscribe(u))&&void 0!==v?v:h.Lc}}},930:(G,r,a)=>{"use strict";a.d(r,{Hp:()=>x,Lv:()=>v});var n=a(576),h=a(727),y=a(2416),d=a(7849),o=a(5032);const c=m("C",void 0,void 0);function m(J,z,se){return{kind:J,value:z,error:se}}var u=a(3410),_=a(2806);class v extends h.w0{constructor(z){super(),this.isStopped=!1,z?(this.destination=z,(0,h.Nn)(z)&&z.add(this)):this.destination=Q}static create(z,se,ae){return new x(z,se,ae)}next(z){this.isStopped?Z(function p(J){return m("N",J,void 0)}(z),this):this._next(z)}error(z){this.isStopped?Z(function f(J){return m("E",void 0,J)}(z),this):(this.isStopped=!0,this._error(z))}complete(){this.isStopped?Z(c,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(z){this.destination.next(z)}_error(z){try{this.destination.error(z)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const b=Function.prototype.bind;function T(J,z){return b.call(J,z)}class S{constructor(z){this.partialObserver=z}next(z){const{partialObserver:se}=this;if(se.next)try{se.next(z)}catch(ae){A(ae)}}error(z){const{partialObserver:se}=this;if(se.error)try{se.error(z)}catch(ae){A(ae)}else A(z)}complete(){const{partialObserver:z}=this;if(z.complete)try{z.complete()}catch(se){A(se)}}}class x extends v{constructor(z,se,ae){let me;if(super(),(0,n.m)(z)||!z)me={next:null!=z?z:void 0,error:null!=se?se:void 0,complete:null!=ae?ae:void 0};else{let Te;this&&y.v.useDeprecatedNextContext?(Te=Object.create(z),Te.unsubscribe=()=>this.unsubscribe(),me={next:z.next&&T(z.next,Te),error:z.error&&T(z.error,Te),complete:z.complete&&T(z.complete,Te)}):me=z}this.destination=new S(me)}}function A(J){y.v.useDeprecatedSynchronousErrorHandling?(0,_.O)(J):(0,d.h)(J)}function Z(J,z){const{onStoppedNotification:se}=y.v;se&&u.z.setTimeout(()=>se(J,z))}const Q={closed:!0,next:o.Z,error:function H(J){throw J},complete:o.Z}},727:(G,r,a)=>{"use strict";a.d(r,{Lc:()=>c,w0:()=>o,Nn:()=>f});var n=a(576);const y=(0,a(3888).d)(m=>function(_){m(this),this.message=_?`${_.length} errors occurred during unsubscription:\n${_.map((v,b)=>`${b+1}) ${v.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=_});var d=a(8737);class o{constructor(u){this.initialTeardown=u,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let u;if(!this.closed){this.closed=!0;const{_parentage:_}=this;if(_)if(this._parentage=null,Array.isArray(_))for(const T of _)T.remove(this);else _.remove(this);const{initialTeardown:v}=this;if((0,n.m)(v))try{v()}catch(T){u=T instanceof y?T.errors:[T]}const{_finalizers:b}=this;if(b){this._finalizers=null;for(const T of b)try{p(T)}catch(S){u=null!=u?u:[],S instanceof y?u=[...u,...S.errors]:u.push(S)}}if(u)throw new y(u)}}add(u){var _;if(u&&u!==this)if(this.closed)p(u);else{if(u instanceof o){if(u.closed||u._hasParent(this))return;u._addParent(this)}(this._finalizers=null!==(_=this._finalizers)&&void 0!==_?_:[]).push(u)}}_hasParent(u){const{_parentage:_}=this;return _===u||Array.isArray(_)&&_.includes(u)}_addParent(u){const{_parentage:_}=this;this._parentage=Array.isArray(_)?(_.push(u),_):_?[_,u]:u}_removeParent(u){const{_parentage:_}=this;_===u?this._parentage=null:Array.isArray(_)&&(0,d.P)(_,u)}remove(u){const{_finalizers:_}=this;_&&(0,d.P)(_,u),u instanceof o&&u._removeParent(this)}}o.EMPTY=(()=>{const m=new o;return m.closed=!0,m})();const c=o.EMPTY;function f(m){return m instanceof o||m&&"closed"in m&&(0,n.m)(m.remove)&&(0,n.m)(m.add)&&(0,n.m)(m.unsubscribe)}function p(m){(0,n.m)(m)?m():m.unsubscribe()}},2416:(G,r,a)=>{"use strict";a.d(r,{v:()=>n});const n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9841:(G,r,a)=>{"use strict";a.d(r,{a:()=>u});var n=a(8306),h=a(4742),y=a(2076),d=a(4671),o=a(3268),c=a(3269),f=a(1810),p=a(5403),m=a(9672);function u(...b){const T=(0,c.yG)(b),S=(0,c.jO)(b),{args:x,keys:A}=(0,h.D)(b);if(0===x.length)return(0,y.D)([],T);const H=new n.y(function _(b,T,S=d.y){return x=>{v(T,()=>{const{length:A}=b,H=new Array(A);let Z=A,Q=A;for(let J=0;J<A;J++)v(T,()=>{const z=(0,y.D)(b[J],T);let se=!1;z.subscribe((0,p.x)(x,ae=>{H[J]=ae,se||(se=!0,Q--),Q||x.next(S(H.slice()))},()=>{--Z||x.complete()}))},x)},x)}}(x,T,A?Z=>(0,f.n)(A,Z):d.y));return S?H.pipe((0,o.Z)(S)):H}function v(b,T,S){b?(0,m.f)(S,b,T):T()}},7272:(G,r,a)=>{"use strict";a.d(r,{z:()=>o});var n=a(8189),y=a(3269),d=a(2076);function o(...c){return function h(){return(0,n.J)(1)}()((0,d.D)(c,(0,y.yG)(c)))}},515:(G,r,a)=>{"use strict";a.d(r,{E:()=>h});const h=new(a(8306).y)(o=>o.complete())},4128:(G,r,a)=>{"use strict";a.d(r,{D:()=>p});var n=a(8306),h=a(4742),y=a(8421),d=a(3269),o=a(5403),c=a(3268),f=a(1810);function p(...m){const u=(0,d.jO)(m),{args:_,keys:v}=(0,h.D)(m),b=new n.y(T=>{const{length:S}=_;if(!S)return void T.complete();const x=new Array(S);let A=S,H=S;for(let Z=0;Z<S;Z++){let Q=!1;(0,y.Xf)(_[Z]).subscribe((0,o.x)(T,J=>{Q||(Q=!0,H--),x[Z]=J},()=>A--,void 0,()=>{(!A||!Q)&&(H||T.next(v?(0,f.n)(v,x):x),T.complete())}))}});return u?b.pipe((0,c.Z)(u)):b}},2076:(G,r,a)=>{"use strict";a.d(r,{D:()=>ae});var n=a(8421),h=a(9672),y=a(4482),d=a(5403);function o(me,Te=0){return(0,y.e)((_e,Y)=>{_e.subscribe((0,d.x)(Y,de=>(0,h.f)(Y,me,()=>Y.next(de),Te),()=>(0,h.f)(Y,me,()=>Y.complete(),Te),de=>(0,h.f)(Y,me,()=>Y.error(de),Te)))})}function c(me,Te=0){return(0,y.e)((_e,Y)=>{Y.add(me.schedule(()=>_e.subscribe(Y),Te))})}var m=a(8306),_=a(2202),v=a(576);function T(me,Te){if(!me)throw new Error("Iterable cannot be null");return new m.y(_e=>{(0,h.f)(_e,Te,()=>{const Y=me[Symbol.asyncIterator]();(0,h.f)(_e,Te,()=>{Y.next().then(de=>{de.done?_e.complete():_e.next(de.value)})},0,!0)})})}var S=a(3670),x=a(8239),A=a(1144),H=a(6495),Z=a(2206),Q=a(4532),J=a(3260);function ae(me,Te){return Te?function se(me,Te){if(null!=me){if((0,S.c)(me))return function f(me,Te){return(0,n.Xf)(me).pipe(c(Te),o(Te))}(me,Te);if((0,A.z)(me))return function u(me,Te){return new m.y(_e=>{let Y=0;return Te.schedule(function(){Y===me.length?_e.complete():(_e.next(me[Y++]),_e.closed||this.schedule())})})}(me,Te);if((0,x.t)(me))return function p(me,Te){return(0,n.Xf)(me).pipe(c(Te),o(Te))}(me,Te);if((0,Z.D)(me))return T(me,Te);if((0,H.T)(me))return function b(me,Te){return new m.y(_e=>{let Y;return(0,h.f)(_e,Te,()=>{Y=me[_.h](),(0,h.f)(_e,Te,()=>{let de,W;try{({value:de,done:W}=Y.next())}catch(he){return void _e.error(he)}W?_e.complete():_e.next(de)},0,!0)}),()=>(0,v.m)(null==Y?void 0:Y.return)&&Y.return()})}(me,Te);if((0,J.L)(me))return function z(me,Te){return T((0,J.Q)(me),Te)}(me,Te)}throw(0,Q.z)(me)}(me,Te):(0,n.Xf)(me)}},4968:(G,r,a)=>{"use strict";a.d(r,{R:()=>u});var n=a(8421),h=a(8306),y=a(5577),d=a(1144),o=a(576),c=a(3268);const f=["addListener","removeListener"],p=["addEventListener","removeEventListener"],m=["on","off"];function u(S,x,A,H){if((0,o.m)(A)&&(H=A,A=void 0),H)return u(S,x,A).pipe((0,c.Z)(H));const[Z,Q]=function T(S){return(0,o.m)(S.addEventListener)&&(0,o.m)(S.removeEventListener)}(S)?p.map(J=>z=>S[J](x,z,A)):function v(S){return(0,o.m)(S.addListener)&&(0,o.m)(S.removeListener)}(S)?f.map(_(S,x)):function b(S){return(0,o.m)(S.on)&&(0,o.m)(S.off)}(S)?m.map(_(S,x)):[];if(!Z&&(0,d.z)(S))return(0,y.z)(J=>u(J,x,A))((0,n.Xf)(S));if(!Z)throw new TypeError("Invalid event target");return new h.y(J=>{const z=(...se)=>J.next(1<se.length?se:se[0]);return Z(z),()=>Q(z)})}function _(S,x){return A=>H=>S[A](x,H)}},8421:(G,r,a)=>{"use strict";a.d(r,{Xf:()=>b});var n=a(655),h=a(1144),y=a(8239),d=a(8306),o=a(3670),c=a(2206),f=a(4532),p=a(6495),m=a(3260),u=a(576),_=a(7849),v=a(8822);function b(J){if(J instanceof d.y)return J;if(null!=J){if((0,o.c)(J))return function T(J){return new d.y(z=>{const se=J[v.L]();if((0,u.m)(se.subscribe))return se.subscribe(z);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(J);if((0,h.z)(J))return function S(J){return new d.y(z=>{for(let se=0;se<J.length&&!z.closed;se++)z.next(J[se]);z.complete()})}(J);if((0,y.t)(J))return function x(J){return new d.y(z=>{J.then(se=>{z.closed||(z.next(se),z.complete())},se=>z.error(se)).then(null,_.h)})}(J);if((0,c.D)(J))return H(J);if((0,p.T)(J))return function A(J){return new d.y(z=>{for(const se of J)if(z.next(se),z.closed)return;z.complete()})}(J);if((0,m.L)(J))return function Z(J){return H((0,m.Q)(J))}(J)}throw(0,f.z)(J)}function H(J){return new d.y(z=>{(function Q(J,z){var se,ae,me,Te;return(0,n.__awaiter)(this,void 0,void 0,function*(){try{for(se=(0,n.__asyncValues)(J);!(ae=yield se.next()).done;)if(z.next(ae.value),z.closed)return}catch(_e){me={error:_e}}finally{try{ae&&!ae.done&&(Te=se.return)&&(yield Te.call(se))}finally{if(me)throw me.error}}z.complete()})})(J,z).catch(se=>z.error(se))})}},6451:(G,r,a)=>{"use strict";a.d(r,{T:()=>c});var n=a(8189),h=a(8421),y=a(515),d=a(3269),o=a(2076);function c(...f){const p=(0,d.yG)(f),m=(0,d._6)(f,1/0),u=f;return u.length?1===u.length?(0,h.Xf)(u[0]):(0,n.J)(m)((0,o.D)(u,p)):y.E}},9646:(G,r,a)=>{"use strict";a.d(r,{of:()=>y});var n=a(3269),h=a(2076);function y(...d){const o=(0,n.yG)(d);return(0,h.D)(d,o)}},5963:(G,r,a)=>{"use strict";a.d(r,{H:()=>o});var n=a(8306),h=a(4986),y=a(3532);function o(c=0,f,p=h.P){let m=-1;return null!=f&&((0,y.K)(f)?p=f:m=f),new n.y(u=>{let _=function d(c){return c instanceof Date&&!isNaN(c)}(c)?+c-p.now():c;_<0&&(_=0);let v=0;return p.schedule(function(){u.closed||(u.next(v++),0<=m?this.schedule(void 0,m):u.complete())},_)})}},5403:(G,r,a)=>{"use strict";a.d(r,{x:()=>h});var n=a(930);function h(d,o,c,f,p){return new y(d,o,c,f,p)}class y extends n.Lv{constructor(o,c,f,p,m,u){super(o),this.onFinalize=m,this.shouldUnsubscribe=u,this._next=c?function(_){try{c(_)}catch(v){o.error(v)}}:super._next,this._error=p?function(_){try{p(_)}catch(v){o.error(v)}finally{this.unsubscribe()}}:super._error,this._complete=f?function(){try{f()}catch(_){o.error(_)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var o;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:c}=this;super.unsubscribe(),!c&&(null===(o=this.onFinalize)||void 0===o||o.call(this))}}}},8372:(G,r,a)=>{"use strict";a.d(r,{b:()=>d});var n=a(4986),h=a(4482),y=a(5403);function d(o,c=n.z){return(0,h.e)((f,p)=>{let m=null,u=null,_=null;const v=()=>{if(m){m.unsubscribe(),m=null;const T=u;u=null,p.next(T)}};function b(){const T=_+o,S=c.now();if(S<T)return m=this.schedule(void 0,T-S),void p.add(m);v()}f.subscribe((0,y.x)(p,T=>{u=T,_=c.now(),m||(m=c.schedule(b,o),p.add(m))},()=>{v(),p.complete()},void 0,()=>{u=m=null}))})}},1884:(G,r,a)=>{"use strict";a.d(r,{x:()=>d});var n=a(4671),h=a(4482),y=a(5403);function d(c,f=n.y){return c=null!=c?c:o,(0,h.e)((p,m)=>{let u,_=!0;p.subscribe((0,y.x)(m,v=>{const b=f(v);(_||!c(u,b))&&(_=!1,u=b,m.next(v))}))})}function o(c,f){return c===f}},9300:(G,r,a)=>{"use strict";a.d(r,{h:()=>y});var n=a(4482),h=a(5403);function y(d,o){return(0,n.e)((c,f)=>{let p=0;c.subscribe((0,h.x)(f,m=>d.call(o,m,p++)&&f.next(m)))})}},4004:(G,r,a)=>{"use strict";a.d(r,{U:()=>y});var n=a(4482),h=a(5403);function y(d,o){return(0,n.e)((c,f)=>{let p=0;c.subscribe((0,h.x)(f,m=>{f.next(d.call(o,m,p++))}))})}},8189:(G,r,a)=>{"use strict";a.d(r,{J:()=>y});var n=a(5577),h=a(4671);function y(d=1/0){return(0,n.z)(h.y,d)}},5577:(G,r,a)=>{"use strict";a.d(r,{z:()=>p});var n=a(4004),h=a(8421),y=a(4482),d=a(9672),o=a(5403),f=a(576);function p(m,u,_=1/0){return(0,f.m)(u)?p((v,b)=>(0,n.U)((T,S)=>u(v,T,b,S))((0,h.Xf)(m(v,b))),_):("number"==typeof u&&(_=u),(0,y.e)((v,b)=>function c(m,u,_,v,b,T,S,x){const A=[];let H=0,Z=0,Q=!1;const J=()=>{Q&&!A.length&&!H&&u.complete()},z=ae=>H<v?se(ae):A.push(ae),se=ae=>{T&&u.next(ae),H++;let me=!1;(0,h.Xf)(_(ae,Z++)).subscribe((0,o.x)(u,Te=>{null==b||b(Te),T?z(Te):u.next(Te)},()=>{me=!0},void 0,()=>{if(me)try{for(H--;A.length&&H<v;){const Te=A.shift();S?(0,d.f)(u,S,()=>se(Te)):se(Te)}J()}catch(Te){u.error(Te)}}))};return m.subscribe((0,o.x)(u,z,()=>{Q=!0,J()})),()=>{null==x||x()}}(v,b,m,_)))}},3099:(G,r,a)=>{"use strict";a.d(r,{B:()=>c});var n=a(2076),h=a(5698),y=a(7579),d=a(930),o=a(4482);function c(p={}){const{connector:m=(()=>new y.x),resetOnError:u=!0,resetOnComplete:_=!0,resetOnRefCountZero:v=!0}=p;return b=>{let T=null,S=null,x=null,A=0,H=!1,Z=!1;const Q=()=>{null==S||S.unsubscribe(),S=null},J=()=>{Q(),T=x=null,H=Z=!1},z=()=>{const se=T;J(),null==se||se.unsubscribe()};return(0,o.e)((se,ae)=>{A++,!Z&&!H&&Q();const me=x=null!=x?x:m();ae.add(()=>{A--,0===A&&!Z&&!H&&(S=f(z,v))}),me.subscribe(ae),T||(T=new d.Hp({next:Te=>me.next(Te),error:Te=>{Z=!0,Q(),S=f(J,u,Te),me.error(Te)},complete:()=>{H=!0,Q(),S=f(J,_),me.complete()}}),(0,n.D)(se).subscribe(T))})(b)}}function f(p,m,...u){return!0===m?(p(),null):!1===m?null:m(...u).pipe((0,h.q)(1)).subscribe(()=>p())}},5684:(G,r,a)=>{"use strict";a.d(r,{T:()=>h});var n=a(9300);function h(y){return(0,n.h)((d,o)=>y<=o)}},8675:(G,r,a)=>{"use strict";a.d(r,{O:()=>d});var n=a(7272),h=a(3269),y=a(4482);function d(...o){const c=(0,h.yG)(o);return(0,y.e)((f,p)=>{(c?(0,n.z)(o,f,c):(0,n.z)(o,f)).subscribe(p)})}},5698:(G,r,a)=>{"use strict";a.d(r,{q:()=>d});var n=a(515),h=a(4482),y=a(5403);function d(o){return o<=0?()=>n.E:(0,h.e)((c,f)=>{let p=0;c.subscribe((0,y.x)(f,m=>{++p<=o&&(f.next(m),o<=p&&f.complete())}))})}},2722:(G,r,a)=>{"use strict";a.d(r,{R:()=>o});var n=a(4482),h=a(5403),y=a(8421),d=a(5032);function o(c){return(0,n.e)((f,p)=>{(0,y.Xf)(c).subscribe((0,h.x)(p,()=>p.complete(),d.Z)),!p.closed&&f.subscribe(p)})}},8505:(G,r,a)=>{"use strict";a.d(r,{b:()=>o});var n=a(576),h=a(4482),y=a(5403),d=a(4671);function o(c,f,p){const m=(0,n.m)(c)||f||p?{next:c,error:f,complete:p}:c;return m?(0,h.e)((u,_)=>{var v;null===(v=m.subscribe)||void 0===v||v.call(m);let b=!0;u.subscribe((0,y.x)(_,T=>{var S;null===(S=m.next)||void 0===S||S.call(m,T),_.next(T)},()=>{var T;b=!1,null===(T=m.complete)||void 0===T||T.call(m),_.complete()},T=>{var S;b=!1,null===(S=m.error)||void 0===S||S.call(m,T),_.error(T)},()=>{var T,S;b&&(null===(T=m.unsubscribe)||void 0===T||T.call(m)),null===(S=m.finalize)||void 0===S||S.call(m)}))}):d.y}},4408:(G,r,a)=>{"use strict";a.d(r,{o:()=>o});var n=a(727);class h extends n.w0{constructor(f,p){super()}schedule(f,p=0){return this}}const y={setInterval(c,f,...p){const{delegate:m}=y;return(null==m?void 0:m.setInterval)?m.setInterval(c,f,...p):setInterval(c,f,...p)},clearInterval(c){const{delegate:f}=y;return((null==f?void 0:f.clearInterval)||clearInterval)(c)},delegate:void 0};var d=a(8737);class o extends h{constructor(f,p){super(f,p),this.scheduler=f,this.work=p,this.pending=!1}schedule(f,p=0){if(this.closed)return this;this.state=f;const m=this.id,u=this.scheduler;return null!=m&&(this.id=this.recycleAsyncId(u,m,p)),this.pending=!0,this.delay=p,this.id=this.id||this.requestAsyncId(u,this.id,p),this}requestAsyncId(f,p,m=0){return y.setInterval(f.flush.bind(f,this),m)}recycleAsyncId(f,p,m=0){if(null!=m&&this.delay===m&&!1===this.pending)return p;y.clearInterval(p)}execute(f,p){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const m=this._execute(f,p);if(m)return m;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(f,p){let u,m=!1;try{this.work(f)}catch(_){m=!0,u=_||new Error("Scheduled action threw falsy error")}if(m)return this.unsubscribe(),u}unsubscribe(){if(!this.closed){const{id:f,scheduler:p}=this,{actions:m}=p;this.work=this.state=this.scheduler=null,this.pending=!1,(0,d.P)(m,this),null!=f&&(this.id=this.recycleAsyncId(p,f,null)),this.delay=null,super.unsubscribe()}}}},640:(G,r,a)=>{"use strict";a.d(r,{v:()=>y});const n={now:()=>(n.delegate||Date).now(),delegate:void 0};class h{constructor(o,c=h.now){this.schedulerActionCtor=o,this.now=c}schedule(o,c=0,f){return new this.schedulerActionCtor(this,o).schedule(f,c)}}h.now=n.now;class y extends h{constructor(o,c=h.now){super(o,c),this.actions=[],this._active=!1,this._scheduled=void 0}flush(o){const{actions:c}=this;if(this._active)return void c.push(o);let f;this._active=!0;do{if(f=o.execute(o.state,o.delay))break}while(o=c.shift());if(this._active=!1,f){for(;o=c.shift();)o.unsubscribe();throw f}}}},3101:(G,r,a)=>{"use strict";a.d(r,{E:()=>T});var n=a(4408);let y,h=1;const d={};function o(x){return x in d&&(delete d[x],!0)}const c={setImmediate(x){const A=h++;return d[A]=!0,y||(y=Promise.resolve()),y.then(()=>o(A)&&x()),A},clearImmediate(x){o(x)}},{setImmediate:p,clearImmediate:m}=c,u={setImmediate(...x){const{delegate:A}=u;return((null==A?void 0:A.setImmediate)||p)(...x)},clearImmediate(x){const{delegate:A}=u;return((null==A?void 0:A.clearImmediate)||m)(x)},delegate:void 0};var v=a(640);const T=new class b extends v.v{flush(A){this._active=!0;const H=this._scheduled;this._scheduled=void 0;const{actions:Z}=this;let Q;A=A||Z.shift();do{if(Q=A.execute(A.state,A.delay))break}while((A=Z[0])&&A.id===H&&Z.shift());if(this._active=!1,Q){for(;(A=Z[0])&&A.id===H&&Z.shift();)A.unsubscribe();throw Q}}}(class _ extends n.o{constructor(A,H){super(A,H),this.scheduler=A,this.work=H}requestAsyncId(A,H,Z=0){return null!==Z&&Z>0?super.requestAsyncId(A,H,Z):(A.actions.push(this),A._scheduled||(A._scheduled=u.setImmediate(A.flush.bind(A,void 0))))}recycleAsyncId(A,H,Z=0){if(null!=Z&&Z>0||null==Z&&this.delay>0)return super.recycleAsyncId(A,H,Z);A.actions.some(Q=>Q.id===H)||(u.clearImmediate(H),A._scheduled=void 0)}})},4986:(G,r,a)=>{"use strict";a.d(r,{z:()=>y,P:()=>d});var n=a(4408);const y=new(a(640).v)(n.o),d=y},3410:(G,r,a)=>{"use strict";a.d(r,{z:()=>n});const n={setTimeout(h,y,...d){const{delegate:o}=n;return(null==o?void 0:o.setTimeout)?o.setTimeout(h,y,...d):setTimeout(h,y,...d)},clearTimeout(h){const{delegate:y}=n;return((null==y?void 0:y.clearTimeout)||clearTimeout)(h)},delegate:void 0}},2202:(G,r,a)=>{"use strict";a.d(r,{h:()=>h});const h=function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(G,r,a)=>{"use strict";a.d(r,{L:()=>n});const n="function"==typeof Symbol&&Symbol.observable||"@@observable"},3269:(G,r,a)=>{"use strict";a.d(r,{jO:()=>d,yG:()=>o,_6:()=>c});var n=a(576),h=a(3532);function y(f){return f[f.length-1]}function d(f){return(0,n.m)(y(f))?f.pop():void 0}function o(f){return(0,h.K)(y(f))?f.pop():void 0}function c(f,p){return"number"==typeof y(f)?f.pop():p}},4742:(G,r,a)=>{"use strict";a.d(r,{D:()=>o});const{isArray:n}=Array,{getPrototypeOf:h,prototype:y,keys:d}=Object;function o(f){if(1===f.length){const p=f[0];if(n(p))return{args:p,keys:null};if(function c(f){return f&&"object"==typeof f&&h(f)===y}(p)){const m=d(p);return{args:m.map(u=>p[u]),keys:m}}}return{args:f,keys:null}}},8737:(G,r,a)=>{"use strict";function n(h,y){if(h){const d=h.indexOf(y);0<=d&&h.splice(d,1)}}a.d(r,{P:()=>n})},3888:(G,r,a)=>{"use strict";function n(h){const d=h(o=>{Error.call(o),o.stack=(new Error).stack});return d.prototype=Object.create(Error.prototype),d.prototype.constructor=d,d}a.d(r,{d:()=>n})},1810:(G,r,a)=>{"use strict";function n(h,y){return h.reduce((d,o,c)=>(d[o]=y[c],d),{})}a.d(r,{n:()=>n})},2806:(G,r,a)=>{"use strict";a.d(r,{x:()=>y,O:()=>d});var n=a(2416);let h=null;function y(o){if(n.v.useDeprecatedSynchronousErrorHandling){const c=!h;if(c&&(h={errorThrown:!1,error:null}),o(),c){const{errorThrown:f,error:p}=h;if(h=null,f)throw p}}else o()}function d(o){n.v.useDeprecatedSynchronousErrorHandling&&h&&(h.errorThrown=!0,h.error=o)}},9672:(G,r,a)=>{"use strict";function n(h,y,d,o=0,c=!1){const f=y.schedule(function(){d(),c?h.add(this.schedule(null,o)):this.unsubscribe()},o);if(h.add(f),!c)return f}a.d(r,{f:()=>n})},4671:(G,r,a)=>{"use strict";function n(h){return h}a.d(r,{y:()=>n})},1144:(G,r,a)=>{"use strict";a.d(r,{z:()=>n});const n=h=>h&&"number"==typeof h.length&&"function"!=typeof h},2206:(G,r,a)=>{"use strict";a.d(r,{D:()=>h});var n=a(576);function h(y){return Symbol.asyncIterator&&(0,n.m)(null==y?void 0:y[Symbol.asyncIterator])}},576:(G,r,a)=>{"use strict";function n(h){return"function"==typeof h}a.d(r,{m:()=>n})},3670:(G,r,a)=>{"use strict";a.d(r,{c:()=>y});var n=a(8822),h=a(576);function y(d){return(0,h.m)(d[n.L])}},6495:(G,r,a)=>{"use strict";a.d(r,{T:()=>y});var n=a(2202),h=a(576);function y(d){return(0,h.m)(null==d?void 0:d[n.h])}},8239:(G,r,a)=>{"use strict";a.d(r,{t:()=>h});var n=a(576);function h(y){return(0,n.m)(null==y?void 0:y.then)}},3260:(G,r,a)=>{"use strict";a.d(r,{Q:()=>y,L:()=>d});var n=a(655),h=a(576);function y(o){return(0,n.__asyncGenerator)(this,arguments,function*(){const f=o.getReader();try{for(;;){const{value:p,done:m}=yield(0,n.__await)(f.read());if(m)return yield(0,n.__await)(void 0);yield yield(0,n.__await)(p)}}finally{f.releaseLock()}})}function d(o){return(0,h.m)(null==o?void 0:o.getReader)}},3532:(G,r,a)=>{"use strict";a.d(r,{K:()=>h});var n=a(576);function h(y){return y&&(0,n.m)(y.schedule)}},4482:(G,r,a)=>{"use strict";a.d(r,{e:()=>y});var n=a(576);function y(d){return o=>{if(function h(d){return(0,n.m)(null==d?void 0:d.lift)}(o))return o.lift(function(c){try{return d(c,this)}catch(f){this.error(f)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(G,r,a)=>{"use strict";a.d(r,{Z:()=>d});var n=a(4004);const{isArray:h}=Array;function d(o){return(0,n.U)(c=>function y(o,c){return h(c)?o(...c):o(c)}(o,c))}},5032:(G,r,a)=>{"use strict";function n(){}a.d(r,{Z:()=>n})},7849:(G,r,a)=>{"use strict";a.d(r,{h:()=>y});var n=a(2416),h=a(3410);function y(d){h.z.setTimeout(()=>{const{onUnhandledError:o}=n.v;if(!o)throw d;o(d)})}},4532:(G,r,a)=>{"use strict";function n(h){return new TypeError(`You provided ${null!==h&&"object"==typeof h?"an invalid object":`'${h}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}a.d(r,{z:()=>n})},3642:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.generateRxMethod=r.generateMethodSignature=r.generateErrorClass=r.generateClass=r.generateErrorType=r.generateEnum=r.generateJsonRepresentation=r.mangle=r.generateSwiftTypeName=void 0;const n=a(6676);function h(b){switch(b.constructor){case n.IntPrimitiveType:return"Int";case n.UIntPrimitiveType:return"UInt";case n.MoneyPrimitiveType:return"Int64";case n.FloatPrimitiveType:return"Double";case n.BigIntPrimitiveType:return"Decimal";case n.DatePrimitiveType:case n.DateTimePrimitiveType:return"Date";case n.BoolPrimitiveType:return"Bool";case n.BytesPrimitiveType:return"Data";case n.StringPrimitiveType:case n.CpfPrimitiveType:case n.CnpjPrimitiveType:case n.EmailPrimitiveType:case n.HtmlPrimitiveType:case n.UuidPrimitiveType:case n.HexPrimitiveType:case n.UrlPrimitiveType:case n.Base64PrimitiveType:case n.XmlPrimitiveType:return"String";case n.VoidPrimitiveType:return"Void";case n.JsonPrimitiveType:return"AnyCodable";case n.OptionalType:return`${h(b.base)}?`;case n.ArrayType:return`[${h(b.base)}]`;case n.StructType:case n.EnumType:return`API.${b.name}`;case n.TypeReference:return h(b.type);default:throw new Error(`BUG: generateSwiftTypeName with ${b.constructor.name}`)}}function y(b){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(b)?`_${b}`:b}function d(b,T){switch(b.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`${T}`;case n.OptionalType:return`${T} == nil ? nil : ${d(b.base,`${T}!`)}`;case n.DatePrimitiveType:return`SdkgenHelper.encodeDate(date: ${T})`;case n.DateTimePrimitiveType:return`SdkgenHelper.encodeDateTime(date: ${T})`;case n.EnumType:return`${T}.rawValue`;case n.TypeReference:return`${d(b.type,`${T}`)}`;case n.StructType:return`${T}.toJSON()`;case n.ArrayType:return`${T}.map({ return ${d(b.base,"$0")} })`;case n.JsonPrimitiveType:return`try? ${T}.toJson()`;case n.VoidPrimitiveType:return"nil";case n.BytesPrimitiveType:return`${T}.base64EncodedString()`;default:throw new Error(`BUG: No result found for generateJsonRepresentation with ${b.constructor.name}`)}}r.generateSwiftTypeName=h,r.mangle=y,r.generateJsonRepresentation=d,r.generateEnum=function o(b){let T=` public enum ${b.name}: String, Codable {\n`;return T+=b.values.map(S=>` case ${y(S.value)} = "${S.value}"`).join("\n"),T+="\n }\n",T},r.generateErrorType=function c(b){let T=" public enum ErrorType: String, Codable {\n";return T+=b.map(S=>` case ${y(S)} = "${S}"`).join("\n"),T+="\n }\n",T},r.generateClass=function m(b){return` public struct ${b.name}: Codable {\n${b.fields.map(T=>` var ${y(T.name)}: ${h(T.type)}`).join("\n")}\n\n${function f(b){let T=" init(";return T+=b.fields.map(S=>`${y(S.name)}: ${h(S.type)}`).join(", "),T+=") {\n",T+=b.fields.map(S=>` self.${y(S.name)} = ${y(S.name)}`).join("\n"),T+="\n }\n",T}(b)}\n${function p(b){let T=" func toJSON() -> [String: Any] {\n";return T+=" var json = [String: Any]()\n",T+=b.fields.map(S=>` json["${y(S.name)}"] = ${d(S.type,S.name)}`).join("\n"),T+="\n return json",T+="\n }\n",T}(b)}\n }\n`},r.generateErrorClass=function u(){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"},r.generateMethodSignature=function _(b){const T=b.args.map(S=>`${y(S.name)}: ${h(S.type)}`).concat(["timeoutSeconds: Double?",`callback: ((_ result: ${b.returnType instanceof n.VoidPrimitiveType?"API.Result<API.NoReply>":`API.Result<${h(b.returnType)}>`}) -> Void)?`]);return` func ${y(b.name)}(${T.join(", ")})`},r.generateRxMethod=function v(b){const T=b.args.map(x=>`${y(x.name)}: ${h(x.type)}`).concat(["timeoutSeconds: Double? = nil"]);let S=` static func ${y(b.name)}(${T.join(", ")}) -> ${b.returnType instanceof n.VoidPrimitiveType?"Observable<API.Result<API.NoReply>>":`Observable<API.Result<${h(b.returnType)}>>`} {\n`;return S+=" return Observable.create { observer -> Disposable in\n",S+=` API.calls.${y(b.name)}(${b.args.map(x=>`${y(x.name)}: ${y(x.name)}`).concat(["timeoutSeconds: timeoutSeconds"]).join(", ")}) { result in \n`,S+=" observer.on(.next(result))\n",S+=" observer.on(.completed)\n",S+=" }\n",S+=" return Disposables.create()\n",S+=" }\n",S+=" }\n",S}},7295:function(G,r,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(y,d,o,c){void 0===c&&(c=o);var f=Object.getOwnPropertyDescriptor(d,o);(!f||("get"in f?!d.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return d[o]}}),Object.defineProperty(y,c,f)}:function(y,d,o,c){void 0===c&&(c=o),y[c]=d[o]}),h=this&&this.__exportStar||function(y,d){for(var o in y)"default"!==o&&!Object.prototype.hasOwnProperty.call(d,o)&&n(d,y,o)};Object.defineProperty(r,"__esModule",{value:!0}),h(a(7636),r)},7636:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.generateSwiftClientSource=void 0;const n=a(6676),h=a(3642);r.generateSwiftClientSource=function y(d,o){let c="import Foundation\nimport SdkgenRuntime\n";c+=o?"import RxSwift\nimport RxCocoa\n\n":"\n",c+="protocol APICallsProtocol {\n",c+=d.operations.filter(m=>m.annotations.every(u=>!(u instanceof n.HiddenAnnotation))).map(m=>`${(0,h.generateMethodSignature)(m)}`).join("\n"),c+="\n}\n\n",c+='class API: SdkgenResponse {\n\n static var calls: APICallsProtocol = Calls(baseUrl: "")\n static var baseUrl: String? {\n didSet {\n self.calls = Calls(baseUrl: baseUrl ?? "")\n }\n }\n \n override init() {\n super.init()\n }\n\n';for(const m of d.enumTypes)c+=(0,h.generateEnum)(m),c+="\n";for(const m of d.structTypes)c+=(0,h.generateClass)(m),c+="\n";const f=[],p=new n.ErrorNode("Connection",new n.VoidPrimitiveType);f.push(p.name);for(const m of d.errors)f.push(m.name);return f.length>0&&(c+=(0,h.generateErrorType)(f),c+="\n"),c+=(0,h.generateErrorClass)(),c+="\n",c+=" public enum Result<T> {\n case success(T)\n case failure(Failure)\n }\n\n",c+=" public class Calls: SdkgenHttpClient, APICallsProtocol {\n\n override init(baseUrl: String) {\n super.init(baseUrl: baseUrl)\n }\n\n",c+=d.operations.filter(m=>m.annotations.every(u=>!(u instanceof n.HiddenAnnotation))).map(m=>{let u="";return u+=` ${(0,h.generateMethodSignature)(m)} {\n`,m.args.length>0?(u+=" var jsonArgs = [String: Any]()\n",u+=m.args.map(_=>` jsonArgs["${(0,h.mangle)(_.name)}"] = ${(0,h.generateJsonRepresentation)(_.type,(0,h.mangle)(_.name))}`).join("\n")):u+=" let jsonArgs = [String: Any]()",u+="\n\n",u+=` request("${m.name}", jsonArgs, timeoutSeconds, completion: { (value: ${m.returnType instanceof n.VoidPrimitiveType?"API.NoReply":(0,h.generateSwiftTypeName)(m.returnType)}) in\n`,u+=" callback?(API.Result.success(value))\n",u+=" }, onError: { error in\n",u+=" callback?(API.Result.failure(API.Failure(message: error.message, code: error.code, type: error.type)))\n",u+=" })",u+="\n }\n",u}).join("\n"),c+=" }\n",c+="}\n",o&&(c+="\n",c+="extension API: ReactiveCompatible {}\n\n",c+="extension Reactive where Base: API {\n",c+=d.operations.filter(m=>m.annotations.every(u=>!(u instanceof n.HiddenAnnotation))).map(m=>`${(0,h.generateRxMethod)(m)}`).join("\n"),c+="}\n"),c}},8173:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.generateBrowserClientSource=void 0;const n=a(6676),h=a(5596);r.generateBrowserClientSource=function y(d){let o="";o+=`/* eslint-disable */\nimport { SdkgenError${d.errors.some(f=>!(f.dataType instanceof n.VoidPrimitiveType))?", SdkgenErrorWithData":""}, SdkgenHttpClient } from "@sdkgen/browser-runtime";\n\n`;for(const f of d.enumTypes)o+=(0,h.generateTypescriptEnum)(f),o+="\n";for(const f of d.structTypes)o+=(0,h.generateTypescriptInterface)(f,!0),o+="\n";for(const f of d.errors)o+=(0,h.generateTypescriptErrorClass)(f,!0),o+="\n";return o+=`export class ApiClient extends SdkgenHttpClient {\n constructor(baseUrl: string) {\n super(baseUrl, astJson, errClasses);\n }\n${d.operations.filter(f=>f.annotations.every(p=>!(p instanceof n.HiddenAnnotation))).map(f=>`\n ${f.name}(args${0===f.args.length?"?":""}: {${f.args.map(p=>`${p.name}${p.type.name.endsWith("?")?"?":""}: ${(0,h.generateTypescriptTypeName)(p.type,!0)}`).join(", ")}}): Promise<${(0,h.generateTypescriptTypeName)(f.returnType,!0)}> { return this.makeRequest("${f.name}", args || {}); }`).join("")}\n}\n\n`,o+=`const errClasses = {\n${d.errors.map(f=>` ${f.name}`).join(",\n")}\n};\n\n`,o+=`const astJson = ${JSON.stringify((0,n.astToJson)(d),null,4).replace(/"(?<key>\w+)":/gu,"$<key>:")} as const;\n`,o}},5596:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.clearForLogging=r.generateTypescriptErrorClass=r.generateTypescriptEnum=r.generateTypescriptInterface=r.generateTypescriptTypeName=void 0;const n=a(6676);function h(f,p){switch(f.constructor){case n.IntPrimitiveType:case n.UIntPrimitiveType:case n.MoneyPrimitiveType:case n.FloatPrimitiveType:return"number";case n.BigIntPrimitiveType:return"bigint";case n.DatePrimitiveType:case n.DateTimePrimitiveType:return"Date";case n.BoolPrimitiveType:return"boolean";case n.BytesPrimitiveType:return p?"ArrayBuffer":"Buffer";case n.StringPrimitiveType:case n.CpfPrimitiveType:case n.CnpjPrimitiveType:case n.EmailPrimitiveType:case n.HtmlPrimitiveType:case n.UrlPrimitiveType:case n.UuidPrimitiveType:case n.HexPrimitiveType:case n.Base64PrimitiveType:case n.XmlPrimitiveType:return"string";case n.VoidPrimitiveType:return"void";case n.JsonPrimitiveType:return"any";case n.OptionalType:return`${h(f.base,p)} | null`;case n.ArrayType:{const{base:m}=f,u=h(m,p);return m instanceof n.OptionalType?`(${u})[]`:`${u}[]`}case n.StructType:case n.EnumType:return f.name;case n.TypeReference:return h(f.type,p);default:throw new Error(`BUG: generateTypescriptTypeName with ${f.constructor.name}`)}}r.generateTypescriptTypeName=h,r.generateTypescriptInterface=function y(f,p){return`export interface ${f.name} {\n${f.fields.map(m=>` ${m.name}: ${h(m.type,p)}`).join("\n")}\n}\n`},r.generateTypescriptEnum=function d(f){return f.hasStructValues?`export type ${f.name} = ${f.values.map(p=>p.struct?`({tag: "${p.value}"} & ${p.struct.name})`:`{tag: "${p.value}"}`).join(" | ")};\n`:`export type ${f.name} = ${f.values.map(p=>`"${p.value}"`).join(" | ")};\n`},r.generateTypescriptErrorClass=function o(f,p){return`export class ${f.name} extends ${f.dataType instanceof n.VoidPrimitiveType?"SdkgenError":`SdkgenErrorWithData<${h(f.dataType,p)}>`} {}\n`},r.clearForLogging=function c(f,p){switch(p.constructor){case n.TypeReference:return c(f,p.type);case n.OptionalType:{const m=c(f,p.base);return m?`if (${f} !== null && ${f} !== undefined) { ${m} }`:""}case n.ArrayType:{const m=c("el",p.base);return m?`for (const el of ${f}) { ${m} }`:""}case n.StructType:{const m=[];for(const u of p.fields)if(u.secret)m.push(`${f}.${u.name} = "<secret>";`);else{const _=c(`${f}.${u.name}`,u.type);_&&m.push(_)}return m.join(" ")}default:return""}}},2911:function(G,r,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(y,d,o,c){void 0===c&&(c=o);var f=Object.getOwnPropertyDescriptor(d,o);(!f||("get"in f?!d.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return d[o]}}),Object.defineProperty(y,c,f)}:function(y,d,o,c){void 0===c&&(c=o),y[c]=d[o]}),h=this&&this.__exportStar||function(y,d){for(var o in y)"default"!==o&&!Object.prototype.hasOwnProperty.call(d,o)&&n(d,y,o)};Object.defineProperty(r,"__esModule",{value:!0}),h(a(8173),r),h(a(7538),r),h(a(1727),r),h(a(615),r)},7538:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.generateTypescriptInterfaces=void 0;const n=a(5596);r.generateTypescriptInterfaces=function h(y){let d="";for(const o of y.enumTypes)d+=(0,n.generateTypescriptEnum)(o);d+="\n";for(const o of y.structTypes)d+=(0,n.generateTypescriptInterface)(o,!1),d+="\n";return d}},1727:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.generateNodeClientSource=void 0;const n=a(6676),h=a(5596);r.generateNodeClientSource=function y(d){let o="";const c=d.errors.some(p=>!(p.dataType instanceof n.VoidPrimitiveType));o+=`/* eslint-disable */\nimport { Context, Fatal${d.errors.filter(p=>"Fatal"!==p.name).some(p=>p.dataType instanceof n.VoidPrimitiveType)?", SdkgenError":""}${c?", SdkgenErrorWithData":""}, SdkgenHttpClient } from "@sdkgen/node-runtime";\nimport { PartialDeep } from "type-fest";\nexport { Fatal } from "@sdkgen/node-runtime";\n\n`;for(const p of d.enumTypes)o+=(0,h.generateTypescriptEnum)(p),o+="\n";for(const p of d.structTypes)o+=(0,h.generateTypescriptInterface)(p,!1),o+="\n";for(const p of d.errors)"Fatal"!==p.name&&(o+=(0,h.generateTypescriptErrorClass)(p,!1),o+="\n");return o+=`export class ApiClient extends SdkgenHttpClient {\n constructor(baseUrl: string) {\n super(baseUrl, astJson, errClasses);\n }\n${d.operations.filter(p=>p.annotations.every(m=>!(m instanceof n.HiddenAnnotation))).map(p=>`\n ${p.name}(ctx: PartialDeep<Context> | null, args: {${p.args.map(m=>`${m.name}${m.type.name.endsWith("?")?"?":""}: ${(0,h.generateTypescriptTypeName)(m.type,!1)}`).join(", ")}}): Promise<${(0,h.generateTypescriptTypeName)(p.returnType,!1)}> { return this.makeRequest(ctx, "${p.name}", args); }`).join("")}\n}\n\n`,o+=`const errClasses = {\n${d.errors.map(p=>` ${p.name}`).join(",\n")}\n};\n\n`,o+=`const astJson = ${JSON.stringify((0,n.astToJson)(d),null,4).replace(/"(?<key>\w+)":/gu,"$<key>:")} as const;\n`,o}},615:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.generateNodeServerSource=void 0;const n=a(6676),h=a(5596);r.generateNodeServerSource=function y(d){let o="";const c=d.errors.some(p=>!(p.dataType instanceof n.VoidPrimitiveType));o+=`/* eslint-disable */\nimport { BaseApiConfig, Context, Fatal${d.errors.filter(p=>"Fatal"!==p.name).some(p=>p.dataType instanceof n.VoidPrimitiveType)?", SdkgenError":""}${c?", SdkgenErrorWithData":""} } from "@sdkgen/node-runtime";\nexport { Fatal } from "@sdkgen/node-runtime";\n\n`;for(const p of d.enumTypes)o+=(0,h.generateTypescriptEnum)(p),o+="\n";for(const p of d.structTypes)o+=(0,h.generateTypescriptInterface)(p,!1),o+="\n";for(const p of d.errors)"Fatal"!==p.name&&(o+=(0,h.generateTypescriptErrorClass)(p,!1),o+="\n");return o+=`export class ApiConfig<ExtraContextT> extends BaseApiConfig<ExtraContextT> {\n fn!: {${d.operations.map(p=>`\n ${p.name}: (ctx: Context & ExtraContextT, args: {${p.args.map(m=>`${m.name}: ${(0,h.generateTypescriptTypeName)(m.type,!1)}`).join(", ")}}) => Promise<${(0,h.generateTypescriptTypeName)(p.returnType,!1)}>`).join("")}\n }\n\n astJson = ${JSON.stringify((0,n.astToJson)(d),null,4).replace(/"(?<key>\w+)":/gu,"$<key>:").replace(/\n/gu,"\n ")} as const\n}\n\nexport const api = new ApiConfig<{}>();\n`,o}},8926:G=>{function r(n,h,y,d,o,c,f){try{var p=n[c](f),m=p.value}catch(u){return void y(u)}p.done?h(m):Promise.resolve(m).then(d,o)}G.exports=function a(n){return function(){var h=this,y=arguments;return new Promise(function(d,o){var c=n.apply(h,y);function f(m){r(c,d,o,f,p,"next",m)}function p(m){r(c,d,o,f,p,"throw",m)}f(void 0)})}},G.exports.__esModule=!0,G.exports.default=G.exports},655:(G,r,a)=>{"use strict";a.r(r),a.d(r,{__extends:()=>h,__assign:()=>y,__rest:()=>d,__decorate:()=>o,__param:()=>c,__metadata:()=>f,__awaiter:()=>p,__generator:()=>m,__createBinding:()=>u,__exportStar:()=>_,__values:()=>v,__read:()=>b,__spread:()=>T,__spreadArrays:()=>S,__spreadArray:()=>x,__await:()=>A,__asyncGenerator:()=>H,__asyncDelegator:()=>Z,__asyncValues:()=>Q,__makeTemplateObject:()=>J,__importStar:()=>se,__importDefault:()=>ae,__classPrivateFieldGet:()=>me,__classPrivateFieldSet:()=>Te});var n=function(_e,Y){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(de,W){de.__proto__=W}||function(de,W){for(var he in W)Object.prototype.hasOwnProperty.call(W,he)&&(de[he]=W[he])})(_e,Y)};function h(_e,Y){if("function"!=typeof Y&&null!==Y)throw new TypeError("Class extends value "+String(Y)+" is not a constructor or null");function de(){this.constructor=_e}n(_e,Y),_e.prototype=null===Y?Object.create(Y):(de.prototype=Y.prototype,new de)}var y=function(){return y=Object.assign||function(Y){for(var de,W=1,he=arguments.length;W<he;W++)for(var ce in de=arguments[W])Object.prototype.hasOwnProperty.call(de,ce)&&(Y[ce]=de[ce]);return Y},y.apply(this,arguments)};function d(_e,Y){var de={};for(var W in _e)Object.prototype.hasOwnProperty.call(_e,W)&&Y.indexOf(W)<0&&(de[W]=_e[W]);if(null!=_e&&"function"==typeof Object.getOwnPropertySymbols){var he=0;for(W=Object.getOwnPropertySymbols(_e);he<W.length;he++)Y.indexOf(W[he])<0&&Object.prototype.propertyIsEnumerable.call(_e,W[he])&&(de[W[he]]=_e[W[he]])}return de}function o(_e,Y,de,W){var Se,he=arguments.length,ce=he<3?Y:null===W?W=Object.getOwnPropertyDescriptor(Y,de):W;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ce=Reflect.decorate(_e,Y,de,W);else for(var rt=_e.length-1;rt>=0;rt--)(Se=_e[rt])&&(ce=(he<3?Se(ce):he>3?Se(Y,de,ce):Se(Y,de))||ce);return he>3&&ce&&Object.defineProperty(Y,de,ce),ce}function c(_e,Y){return function(de,W){Y(de,W,_e)}}function f(_e,Y){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(_e,Y)}function p(_e,Y,de,W){return new(de||(de=Promise))(function(ce,Se){function rt(ht){try{Ge(W.next(ht))}catch(qe){Se(qe)}}function gt(ht){try{Ge(W.throw(ht))}catch(qe){Se(qe)}}function Ge(ht){ht.done?ce(ht.value):function he(ce){return ce instanceof de?ce:new de(function(Se){Se(ce)})}(ht.value).then(rt,gt)}Ge((W=W.apply(_e,Y||[])).next())})}function m(_e,Y){var W,he,ce,Se,de={label:0,sent:function(){if(1&ce[0])throw ce[1];return ce[1]},trys:[],ops:[]};return Se={next:rt(0),throw:rt(1),return:rt(2)},"function"==typeof Symbol&&(Se[Symbol.iterator]=function(){return this}),Se;function rt(Ge){return function(ht){return function gt(Ge){if(W)throw new TypeError("Generator is already executing.");for(;de;)try{if(W=1,he&&(ce=2&Ge[0]?he.return:Ge[0]?he.throw||((ce=he.return)&&ce.call(he),0):he.next)&&!(ce=ce.call(he,Ge[1])).done)return ce;switch(he=0,ce&&(Ge=[2&Ge[0],ce.value]),Ge[0]){case 0:case 1:ce=Ge;break;case 4:return de.label++,{value:Ge[1],done:!1};case 5:de.label++,he=Ge[1],Ge=[0];continue;case 7:Ge=de.ops.pop(),de.trys.pop();continue;default:if(!(ce=(ce=de.trys).length>0&&ce[ce.length-1])&&(6===Ge[0]||2===Ge[0])){de=0;continue}if(3===Ge[0]&&(!ce||Ge[1]>ce[0]&&Ge[1]<ce[3])){de.label=Ge[1];break}if(6===Ge[0]&&de.label<ce[1]){de.label=ce[1],ce=Ge;break}if(ce&&de.label<ce[2]){de.label=ce[2],de.ops.push(Ge);break}ce[2]&&de.ops.pop(),de.trys.pop();continue}Ge=Y.call(_e,de)}catch(ht){Ge=[6,ht],he=0}finally{W=ce=0}if(5&Ge[0])throw Ge[1];return{value:Ge[0]?Ge[1]:void 0,done:!0}}([Ge,ht])}}}var u=Object.create?function(_e,Y,de,W){void 0===W&&(W=de),Object.defineProperty(_e,W,{enumerable:!0,get:function(){return Y[de]}})}:function(_e,Y,de,W){void 0===W&&(W=de),_e[W]=Y[de]};function _(_e,Y){for(var de in _e)"default"!==de&&!Object.prototype.hasOwnProperty.call(Y,de)&&u(Y,_e,de)}function v(_e){var Y="function"==typeof Symbol&&Symbol.iterator,de=Y&&_e[Y],W=0;if(de)return de.call(_e);if(_e&&"number"==typeof _e.length)return{next:function(){return _e&&W>=_e.length&&(_e=void 0),{value:_e&&_e[W++],done:!_e}}};throw new TypeError(Y?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(_e,Y){var de="function"==typeof Symbol&&_e[Symbol.iterator];if(!de)return _e;var he,Se,W=de.call(_e),ce=[];try{for(;(void 0===Y||Y-- >0)&&!(he=W.next()).done;)ce.push(he.value)}catch(rt){Se={error:rt}}finally{try{he&&!he.done&&(de=W.return)&&de.call(W)}finally{if(Se)throw Se.error}}return ce}function T(){for(var _e=[],Y=0;Y<arguments.length;Y++)_e=_e.concat(b(arguments[Y]));return _e}function S(){for(var _e=0,Y=0,de=arguments.length;Y<de;Y++)_e+=arguments[Y].length;var W=Array(_e),he=0;for(Y=0;Y<de;Y++)for(var ce=arguments[Y],Se=0,rt=ce.length;Se<rt;Se++,he++)W[he]=ce[Se];return W}function x(_e,Y,de){if(de||2===arguments.length)for(var ce,W=0,he=Y.length;W<he;W++)(ce||!(W in Y))&&(ce||(ce=Array.prototype.slice.call(Y,0,W)),ce[W]=Y[W]);return _e.concat(ce||Array.prototype.slice.call(Y))}function A(_e){return this instanceof A?(this.v=_e,this):new A(_e)}function H(_e,Y,de){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var he,W=de.apply(_e,Y||[]),ce=[];return he={},Se("next"),Se("throw"),Se("return"),he[Symbol.asyncIterator]=function(){return this},he;function Se(lt){W[lt]&&(he[lt]=function(Be){return new Promise(function(et,Ne){ce.push([lt,Be,et,Ne])>1||rt(lt,Be)})})}function rt(lt,Be){try{!function gt(lt){lt.value instanceof A?Promise.resolve(lt.value.v).then(Ge,ht):qe(ce[0][2],lt)}(W[lt](Be))}catch(et){qe(ce[0][3],et)}}function Ge(lt){rt("next",lt)}function ht(lt){rt("throw",lt)}function qe(lt,Be){lt(Be),ce.shift(),ce.length&&rt(ce[0][0],ce[0][1])}}function Z(_e){var Y,de;return Y={},W("next"),W("throw",function(he){throw he}),W("return"),Y[Symbol.iterator]=function(){return this},Y;function W(he,ce){Y[he]=_e[he]?function(Se){return(de=!de)?{value:A(_e[he](Se)),done:"return"===he}:ce?ce(Se):Se}:ce}}function Q(_e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var de,Y=_e[Symbol.asyncIterator];return Y?Y.call(_e):(_e=v(_e),de={},W("next"),W("throw"),W("return"),de[Symbol.asyncIterator]=function(){return this},de);function W(ce){de[ce]=_e[ce]&&function(Se){return new Promise(function(rt,gt){!function he(ce,Se,rt,gt){Promise.resolve(gt).then(function(Ge){ce({value:Ge,done:rt})},Se)}(rt,gt,(Se=_e[ce](Se)).done,Se.value)})}}}function J(_e,Y){return Object.defineProperty?Object.defineProperty(_e,"raw",{value:Y}):_e.raw=Y,_e}var z=Object.create?function(_e,Y){Object.defineProperty(_e,"default",{enumerable:!0,value:Y})}:function(_e,Y){_e.default=Y};function se(_e){if(_e&&_e.__esModule)return _e;var Y={};if(null!=_e)for(var de in _e)"default"!==de&&Object.prototype.hasOwnProperty.call(_e,de)&&u(Y,_e,de);return z(Y,_e),Y}function ae(_e){return _e&&_e.__esModule?_e:{default:_e}}function me(_e,Y,de,W){if("a"===de&&!W)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof Y?_e!==Y||!W:!Y.has(_e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===de?W:"a"===de?W.call(_e):W?W.value:Y.get(_e)}function Te(_e,Y,de,W,he){if("m"===W)throw new TypeError("Private method is not writable");if("a"===W&&!he)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof Y?_e!==Y||!he:!Y.has(_e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===W?he.call(_e,de):he?he.value=de:Y.set(_e,de),de}},1777:(G,r,a)=>{"use strict";a.d(r,{l3:()=>y,_j:()=>n,LC:()=>h,ZN:()=>H,jt:()=>o,pV:()=>b,ru:()=>c,F4:()=>u,IO:()=>S,vP:()=>f,SB:()=>m,oB:()=>p,eR:()=>_,X$:()=>d,ZE:()=>Z,k1:()=>Q});class n{}class h{}const y="*";function d(J,z){return{type:7,name:J,definitions:z,options:{}}}function o(J,z=null){return{type:4,styles:z,timings:J}}function c(J,z=null){return{type:3,steps:J,options:z}}function f(J,z=null){return{type:2,steps:J,options:z}}function p(J){return{type:6,styles:J,offset:null}}function m(J,z,se){return{type:0,name:J,styles:z,options:se}}function u(J){return{type:5,steps:J}}function _(J,z,se=null){return{type:1,expr:J,animation:z,options:se}}function b(J=null){return{type:9,options:J}}function S(J,z,se=null){return{type:11,selector:J,animation:z,options:se}}function A(J){Promise.resolve(null).then(J)}class H{constructor(z=0,se=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=z+se}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(z=>z()),this._onDoneFns=[])}onStart(z){this._onStartFns.push(z)}onDone(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(){A(()=>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}setPosition(z){this._position=this.totalTime?z*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(z){const se="start"==z?this._onStartFns:this._onDoneFns;se.forEach(ae=>ae()),se.length=0}}class Z{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 se=0,ae=0,me=0;const Te=this.players.length;0==Te?A(()=>this._onFinish()):this.players.forEach(_e=>{_e.onDone(()=>{++se==Te&&this._onFinish()}),_e.onDestroy(()=>{++ae==Te&&this._onDestroy()}),_e.onStart(()=>{++me==Te&&this._onStart()})}),this.totalTime=this.players.reduce((_e,Y)=>Math.max(_e,Y.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 se=z*this.totalTime;this.players.forEach(ae=>{const me=ae.totalTime?Math.min(1,se/ae.totalTime):1;ae.setPosition(me)})}getPosition(){const z=this.players.reduce((se,ae)=>null===se||ae.totalTime>se.totalTime?ae:se,null);return null!=z?z.getPosition():0}beforeDestroy(){this.players.forEach(z=>{z.beforeDestroy&&z.beforeDestroy()})}triggerCallback(z){const se="start"==z?this._onStartFns:this._onDoneFns;se.forEach(ae=>ae()),se.length=0}}const Q="!"},5664:(G,r,a)=>{"use strict";a.d(r,{rt:()=>$t,$s:()=>_e,kH:()=>ct,Em:()=>ce,tE:()=>ze,qV:()=>te,qm:()=>wt,ic:()=>rt,X6:()=>xe,yG:()=>Je});var n=a(9808),h=a(5e3),y=a(925),d=a(7579),o=a(727),c=a(1135),f=a(9646),p=a(1159),m=a(8505),u=a(8372),_=a(9300),v=a(4004),b=a(5698),T=a(5684),S=a(1884),x=a(2722),A=a(3191),H=a(7144);function z(ue,X){return(ue.getAttribute(X)||"").match(/\S+/g)||[]}const ae="cdk-describedby-message",me="cdk-describedby-host";let Te=0,_e=(()=>{class ue{constructor(L,P){this._platform=P,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Te++,this._document=L}describe(L,P,le){if(!this._canBeDescribed(L,P))return;const M=Y(P,le);"string"!=typeof P?(de(P),this._messageRegistry.set(M,{messageElement:P,referenceCount:0})):this._messageRegistry.has(M)||this._createMessageElement(P,le),this._isElementDescribedByMessage(L,M)||this._addMessageReference(L,M)}removeDescription(L,P,le){var M;if(!P||!this._isElementNode(L))return;const U=Y(P,le);if(this._isElementDescribedByMessage(L,U)&&this._removeMessageReference(L,U),"string"==typeof P){const Ie=this._messageRegistry.get(U);Ie&&0===Ie.referenceCount&&this._deleteMessageElement(U)}0===(null===(M=this._messagesContainer)||void 0===M?void 0:M.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var L;const P=this._document.querySelectorAll(`[${me}="${this._id}"]`);for(let le=0;le<P.length;le++)this._removeCdkDescribedByReferenceIds(P[le]),P[le].removeAttribute(me);null===(L=this._messagesContainer)||void 0===L||L.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(L,P){const le=this._document.createElement("div");de(le),le.textContent=L,P&&le.setAttribute("role",P),this._createMessagesContainer(),this._messagesContainer.appendChild(le),this._messageRegistry.set(Y(L,P),{messageElement:le,referenceCount:0})}_deleteMessageElement(L){var P,le;null===(le=null===(P=this._messageRegistry.get(L))||void 0===P?void 0:P.messageElement)||void 0===le||le.remove(),this._messageRegistry.delete(L)}_createMessagesContainer(){if(this._messagesContainer)return;const L="cdk-describedby-message-container",P=this._document.querySelectorAll(`.${L}[platform="server"]`);for(let M=0;M<P.length;M++)P[M].remove();const le=this._document.createElement("div");le.style.visibility="hidden",le.classList.add(L),le.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&le.setAttribute("platform","server"),this._document.body.appendChild(le),this._messagesContainer=le}_removeCdkDescribedByReferenceIds(L){const P=z(L,"aria-describedby").filter(le=>0!=le.indexOf(ae));L.setAttribute("aria-describedby",P.join(" "))}_addMessageReference(L,P){const le=this._messageRegistry.get(P);(function Q(ue,X,L){const P=z(ue,X);P.some(le=>le.trim()==L.trim())||(P.push(L.trim()),ue.setAttribute(X,P.join(" ")))})(L,"aria-describedby",le.messageElement.id),L.setAttribute(me,this._id),le.referenceCount++}_removeMessageReference(L,P){const le=this._messageRegistry.get(P);le.referenceCount--,function J(ue,X,L){const le=z(ue,X).filter(M=>M!=L.trim());le.length?ue.setAttribute(X,le.join(" ")):ue.removeAttribute(X)}(L,"aria-describedby",le.messageElement.id),L.removeAttribute(me)}_isElementDescribedByMessage(L,P){const le=z(L,"aria-describedby"),M=this._messageRegistry.get(P),U=M&&M.messageElement.id;return!!U&&-1!=le.indexOf(U)}_canBeDescribed(L,P){if(!this._isElementNode(L))return!1;if(P&&"object"==typeof P)return!0;const le=null==P?"":`${P}`.trim(),M=L.getAttribute("aria-label");return!(!le||M&&M.trim()===le)}_isElementNode(L){return L.nodeType===this._document.ELEMENT_NODE}}return ue.\u0275fac=function(L){return new(L||ue)(h.\u0275\u0275inject(n.DOCUMENT),h.\u0275\u0275inject(y.t4))},ue.\u0275prov=h.\u0275\u0275defineInjectable({token:ue,factory:ue.\u0275fac,providedIn:"root"}),ue})();function Y(ue,X){return"string"==typeof ue?`${X||""}/${ue}`:ue}function de(ue){ue.id||(ue.id=`${ae}-${Te++}`)}class ce extends class W{constructor(X){this._items=X,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new d.x,this._typeaheadSubscription=o.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=L=>L.disabled,this._pressedLetters=[],this.tabOut=new d.x,this.change=new d.x,X instanceof h.QueryList&&X.changes.subscribe(L=>{if(this._activeItem){const le=L.toArray().indexOf(this._activeItem);le>-1&&le!==this._activeItemIndex&&(this._activeItemIndex=le)}})}skipPredicate(X){return this._skipPredicateFn=X,this}withWrap(X=!0){return this._wrap=X,this}withVerticalOrientation(X=!0){return this._vertical=X,this}withHorizontalOrientation(X){return this._horizontal=X,this}withAllowedModifierKeys(X){return this._allowedModifierKeys=X,this}withTypeAhead(X=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,m.b)(L=>this._pressedLetters.push(L)),(0,u.b)(X),(0,_.h)(()=>this._pressedLetters.length>0),(0,v.U)(()=>this._pressedLetters.join(""))).subscribe(L=>{const P=this._getItemsArray();for(let le=1;le<P.length+1;le++){const M=(this._activeItemIndex+le)%P.length,U=P[M];if(!this._skipPredicateFn(U)&&0===U.getLabel().toUpperCase().trim().indexOf(L)){this.setActiveItem(M);break}}this._pressedLetters=[]}),this}withHomeAndEnd(X=!0){return this._homeAndEnd=X,this}setActiveItem(X){const L=this._activeItem;this.updateActiveItem(X),this._activeItem!==L&&this.change.next(this._activeItemIndex)}onKeydown(X){const L=X.keyCode,le=["altKey","ctrlKey","metaKey","shiftKey"].every(M=>!X[M]||this._allowedModifierKeys.indexOf(M)>-1);switch(L){case p.Mf:return void this.tabOut.next();case p.JH:if(this._vertical&&le){this.setNextItemActive();break}return;case p.LH:if(this._vertical&&le){this.setPreviousItemActive();break}return;case p.SV:if(this._horizontal&&le){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case p.oh:if(this._horizontal&&le){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case p.Sd:if(this._homeAndEnd&&le){this.setFirstItemActive();break}return;case p.uR:if(this._homeAndEnd&&le){this.setLastItemActive();break}return;default:return void((le||(0,p.Vb)(X,"shiftKey"))&&(X.key&&1===X.key.length?this._letterKeyStream.next(X.key.toLocaleUpperCase()):(L>=p.A&&L<=p.Z||L>=p.xE&&L<=p.aO)&&this._letterKeyStream.next(String.fromCharCode(L))))}this._pressedLetters=[],X.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(X){const L=this._getItemsArray(),P="number"==typeof X?X:L.indexOf(X),le=L[P];this._activeItem=null==le?null:le,this._activeItemIndex=P}_setActiveItemByDelta(X){this._wrap?this._setActiveInWrapMode(X):this._setActiveInDefaultMode(X)}_setActiveInWrapMode(X){const L=this._getItemsArray();for(let P=1;P<=L.length;P++){const le=(this._activeItemIndex+X*P+L.length)%L.length;if(!this._skipPredicateFn(L[le]))return void this.setActiveItem(le)}}_setActiveInDefaultMode(X){this._setActiveItemByIndex(this._activeItemIndex+X,X)}_setActiveItemByIndex(X,L){const P=this._getItemsArray();if(P[X]){for(;this._skipPredicateFn(P[X]);)if(!P[X+=L])return;this.setActiveItem(X)}}_getItemsArray(){return this._items instanceof h.QueryList?this._items.toArray():this._items}}{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(X){return this._origin=X,this}setActiveItem(X){super.setActiveItem(X),this.activeItem&&this.activeItem.focus(this._origin)}}let rt=(()=>{class ue{constructor(L){this._platform=L}isDisabled(L){return L.hasAttribute("disabled")}isVisible(L){return function Ge(ue){return!!(ue.offsetWidth||ue.offsetHeight||"function"==typeof ue.getClientRects&&ue.getClientRects().length)}(L)&&"visible"===getComputedStyle(L).visibility}isTabbable(L){if(!this._platform.isBrowser)return!1;const P=function gt(ue){try{return ue.frameElement}catch(X){return null}}(function we(ue){return ue.ownerDocument&&ue.ownerDocument.defaultView||window}(L));if(P&&(-1===We(P)||!this.isVisible(P)))return!1;let le=L.nodeName.toLowerCase(),M=We(L);return L.hasAttribute("contenteditable")?-1!==M:!("iframe"===le||"object"===le||this._platform.WEBKIT&&this._platform.IOS&&!function ft(ue){let X=ue.nodeName.toLowerCase(),L="input"===X&&ue.type;return"text"===L||"password"===L||"select"===X||"textarea"===X}(L))&&("audio"===le?!!L.hasAttribute("controls")&&-1!==M:"video"===le?-1!==M&&(null!==M||this._platform.FIREFOX||L.hasAttribute("controls")):L.tabIndex>=0)}isFocusable(L,P){return function ve(ue){return!function qe(ue){return function Be(ue){return"input"==ue.nodeName.toLowerCase()}(ue)&&"hidden"==ue.type}(ue)&&(function ht(ue){let X=ue.nodeName.toLowerCase();return"input"===X||"select"===X||"button"===X||"textarea"===X}(ue)||function lt(ue){return function et(ue){return"a"==ue.nodeName.toLowerCase()}(ue)&&ue.hasAttribute("href")}(ue)||ue.hasAttribute("contenteditable")||Ne(ue))}(L)&&!this.isDisabled(L)&&((null==P?void 0:P.ignoreVisibility)||this.isVisible(L))}}return ue.\u0275fac=function(L){return new(L||ue)(h.\u0275\u0275inject(y.t4))},ue.\u0275prov=h.\u0275\u0275defineInjectable({token:ue,factory:ue.\u0275fac,providedIn:"root"}),ue})();function Ne(ue){if(!ue.hasAttribute("tabindex")||void 0===ue.tabIndex)return!1;let X=ue.getAttribute("tabindex");return!(!X||isNaN(parseInt(X,10)))}function We(ue){if(!Ne(ue))return null;const X=parseInt(ue.getAttribute("tabindex")||"",10);return isNaN(X)?-1:X}class B{constructor(X,L,P,le,M=!1){this._element=X,this._checker=L,this._ngZone=P,this._document=le,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,M||this.attachAnchors()}get enabled(){return this._enabled}set enabled(X){this._enabled=X,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(X,this._startAnchor),this._toggleAnchorTabIndex(X,this._endAnchor))}destroy(){const X=this._startAnchor,L=this._endAnchor;X&&(X.removeEventListener("focus",this.startAnchorListener),X.remove()),L&&(L.removeEventListener("focus",this.endAnchorListener),L.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(X){return new Promise(L=>{this._executeOnStable(()=>L(this.focusInitialElement(X)))})}focusFirstTabbableElementWhenReady(X){return new Promise(L=>{this._executeOnStable(()=>L(this.focusFirstTabbableElement(X)))})}focusLastTabbableElementWhenReady(X){return new Promise(L=>{this._executeOnStable(()=>L(this.focusLastTabbableElement(X)))})}_getRegionBoundary(X){const L=this._element.querySelectorAll(`[cdk-focus-region-${X}], [cdkFocusRegion${X}], [cdk-focus-${X}]`);return"start"==X?L.length?L[0]:this._getFirstTabbableElement(this._element):L.length?L[L.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(X){const L=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(L){if(!this._checker.isFocusable(L)){const P=this._getFirstTabbableElement(L);return null==P||P.focus(X),!!P}return L.focus(X),!0}return this.focusFirstTabbableElement(X)}focusFirstTabbableElement(X){const L=this._getRegionBoundary("start");return L&&L.focus(X),!!L}focusLastTabbableElement(X){const L=this._getRegionBoundary("end");return L&&L.focus(X),!!L}hasAttached(){return this._hasAttached}_getFirstTabbableElement(X){if(this._checker.isFocusable(X)&&this._checker.isTabbable(X))return X;const L=X.children;for(let P=0;P<L.length;P++){const le=L[P].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(L[P]):null;if(le)return le}return null}_getLastTabbableElement(X){if(this._checker.isFocusable(X)&&this._checker.isTabbable(X))return X;const L=X.children;for(let P=L.length-1;P>=0;P--){const le=L[P].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(L[P]):null;if(le)return le}return null}_createAnchor(){const X=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,X),X.classList.add("cdk-visually-hidden"),X.classList.add("cdk-focus-trap-anchor"),X.setAttribute("aria-hidden","true"),X}_toggleAnchorTabIndex(X,L){X?L.setAttribute("tabindex","0"):L.removeAttribute("tabindex")}toggleAnchors(X){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(X,this._startAnchor),this._toggleAnchorTabIndex(X,this._endAnchor))}_executeOnStable(X){this._ngZone.isStable?X():this._ngZone.onStable.pipe((0,b.q)(1)).subscribe(X)}}let te=(()=>{class ue{constructor(L,P,le){this._checker=L,this._ngZone=P,this._document=le}create(L,P=!1){return new B(L,this._checker,this._ngZone,this._document,P)}}return ue.\u0275fac=function(L){return new(L||ue)(h.\u0275\u0275inject(rt),h.\u0275\u0275inject(h.NgZone),h.\u0275\u0275inject(n.DOCUMENT))},ue.\u0275prov=h.\u0275\u0275defineInjectable({token:ue,factory:ue.\u0275fac,providedIn:"root"}),ue})();function xe(ue){return 0===ue.buttons||0===ue.offsetX&&0===ue.offsetY}function Je(ue){const X=ue.touches&&ue.touches[0]||ue.changedTouches&&ue.changedTouches[0];return!(!X||-1!==X.identifier||null!=X.radiusX&&1!==X.radiusX||null!=X.radiusY&&1!==X.radiusY)}const st=new h.InjectionToken("cdk-input-modality-detector-options"),Et={ignoreKeys:[p.zL,p.jx,p.b2,p.MW,p.JU]},Pt=(0,y.i$)({passive:!0,capture:!0});let He=(()=>{class ue{constructor(L,P,le,M){this._platform=L,this._mostRecentTarget=null,this._modality=new c.X(null),this._lastTouchMs=0,this._onKeydown=U=>{var Ie,it;(null===(it=null===(Ie=this._options)||void 0===Ie?void 0:Ie.ignoreKeys)||void 0===it?void 0:it.some(Lt=>Lt===U.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=(0,y.sA)(U))},this._onMousedown=U=>{Date.now()-this._lastTouchMs<650||(this._modality.next(xe(U)?"keyboard":"mouse"),this._mostRecentTarget=(0,y.sA)(U))},this._onTouchstart=U=>{Je(U)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,y.sA)(U))},this._options=Object.assign(Object.assign({},Et),M),this.modalityDetected=this._modality.pipe((0,T.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,S.x)()),L.isBrowser&&P.runOutsideAngular(()=>{le.addEventListener("keydown",this._onKeydown,Pt),le.addEventListener("mousedown",this._onMousedown,Pt),le.addEventListener("touchstart",this._onTouchstart,Pt)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Pt),document.removeEventListener("mousedown",this._onMousedown,Pt),document.removeEventListener("touchstart",this._onTouchstart,Pt))}}return ue.\u0275fac=function(L){return new(L||ue)(h.\u0275\u0275inject(y.t4),h.\u0275\u0275inject(h.NgZone),h.\u0275\u0275inject(n.DOCUMENT),h.\u0275\u0275inject(st,8))},ue.\u0275prov=h.\u0275\u0275defineInjectable({token:ue,factory:ue.\u0275fac,providedIn:"root"}),ue})();const Dt=new h.InjectionToken("cdk-focus-monitor-default-options"),Oe=(0,y.i$)({passive:!0,capture:!0});let ze=(()=>{class ue{constructor(L,P,le,M,U){this._ngZone=L,this._platform=P,this._inputModalityDetector=le,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 d.x,this._rootNodeFocusAndBlurListener=Ie=>{const it=(0,y.sA)(Ie),Lt="focus"===Ie.type?this._onFocus:this._onBlur;for(let jt=it;jt;jt=jt.parentElement)Lt.call(this,Ie,jt)},this._document=M,this._detectionMode=(null==U?void 0:U.detectionMode)||0}monitor(L,P=!1){const le=(0,A.fI)(L);if(!this._platform.isBrowser||1!==le.nodeType)return(0,f.of)(null);const M=(0,y.kV)(le)||this._getDocument(),U=this._elementInfo.get(le);if(U)return P&&(U.checkChildren=!0),U.subject;const Ie={checkChildren:P,subject:new d.x,rootNode:M};return this._elementInfo.set(le,Ie),this._registerGlobalListeners(Ie),Ie.subject}stopMonitoring(L){const P=(0,A.fI)(L),le=this._elementInfo.get(P);le&&(le.subject.complete(),this._setClasses(P),this._elementInfo.delete(P),this._removeGlobalListeners(le))}focusVia(L,P,le){const M=(0,A.fI)(L);M===this._getDocument().activeElement?this._getClosestElementsInfo(M).forEach(([Ie,it])=>this._originChanged(Ie,P,it)):(this._setOrigin(P),"function"==typeof M.focus&&M.focus(le))}ngOnDestroy(){this._elementInfo.forEach((L,P)=>this.stopMonitoring(P))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(L){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(L)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(L){return 1===this._detectionMode||!!(null==L?void 0:L.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(L,P){L.classList.toggle("cdk-focused",!!P),L.classList.toggle("cdk-touch-focused","touch"===P),L.classList.toggle("cdk-keyboard-focused","keyboard"===P),L.classList.toggle("cdk-mouse-focused","mouse"===P),L.classList.toggle("cdk-program-focused","program"===P)}_setOrigin(L,P=!1){this._ngZone.runOutsideAngular(()=>{this._origin=L,this._originFromTouchInteraction="touch"===L&&P,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(L,P){const le=this._elementInfo.get(P),M=(0,y.sA)(L);!le||!le.checkChildren&&P!==M||this._originChanged(P,this._getFocusOrigin(M),le)}_onBlur(L,P){const le=this._elementInfo.get(P);!le||le.checkChildren&&L.relatedTarget instanceof Node&&P.contains(L.relatedTarget)||(this._setClasses(P),this._emitOrigin(le.subject,null))}_emitOrigin(L,P){this._ngZone.run(()=>L.next(P))}_registerGlobalListeners(L){if(!this._platform.isBrowser)return;const P=L.rootNode,le=this._rootNodeFocusListenerCount.get(P)||0;le||this._ngZone.runOutsideAngular(()=>{P.addEventListener("focus",this._rootNodeFocusAndBlurListener,Oe),P.addEventListener("blur",this._rootNodeFocusAndBlurListener,Oe)}),this._rootNodeFocusListenerCount.set(P,le+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,x.R)(this._stopInputModalityDetector)).subscribe(M=>{this._setOrigin(M,!0)}))}_removeGlobalListeners(L){const P=L.rootNode;if(this._rootNodeFocusListenerCount.has(P)){const le=this._rootNodeFocusListenerCount.get(P);le>1?this._rootNodeFocusListenerCount.set(P,le-1):(P.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Oe),P.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Oe),this._rootNodeFocusListenerCount.delete(P))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(L,P,le){this._setClasses(L,P),this._emitOrigin(le.subject,P),this._lastFocusOrigin=P}_getClosestElementsInfo(L){const P=[];return this._elementInfo.forEach((le,M)=>{(M===L||le.checkChildren&&M.contains(L))&&P.push([M,le])}),P}}return ue.\u0275fac=function(L){return new(L||ue)(h.\u0275\u0275inject(h.NgZone),h.\u0275\u0275inject(y.t4),h.\u0275\u0275inject(He),h.\u0275\u0275inject(n.DOCUMENT,8),h.\u0275\u0275inject(Dt,8))},ue.\u0275prov=h.\u0275\u0275defineInjectable({token:ue,factory:ue.\u0275fac,providedIn:"root"}),ue})(),ct=(()=>{class ue{constructor(L,P){this._elementRef=L,this._focusMonitor=P,this.cdkFocusChange=new h.EventEmitter}ngAfterViewInit(){const L=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(L,1===L.nodeType&&L.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(P=>this.cdkFocusChange.emit(P))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return ue.\u0275fac=function(L){return new(L||ue)(h.\u0275\u0275directiveInject(h.ElementRef),h.\u0275\u0275directiveInject(ze))},ue.\u0275dir=h.\u0275\u0275defineDirective({type:ue,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),ue})();const Ct="cdk-high-contrast-black-on-white",_t="cdk-high-contrast-white-on-black",Ht="cdk-high-contrast-active";let wt=(()=>{class ue{constructor(L,P){this._platform=L,this._document=P}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const L=this._document.createElement("div");L.style.backgroundColor="rgb(1,2,3)",L.style.position="absolute",this._document.body.appendChild(L);const P=this._document.defaultView||window,le=P&&P.getComputedStyle?P.getComputedStyle(L):null,M=(le&&le.backgroundColor||"").replace(/ /g,"");switch(L.remove(),M){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const L=this._document.body.classList;L.remove(Ht),L.remove(Ct),L.remove(_t),this._hasCheckedHighContrastMode=!0;const P=this.getHighContrastMode();1===P?(L.add(Ht),L.add(Ct)):2===P&&(L.add(Ht),L.add(_t))}}}return ue.\u0275fac=function(L){return new(L||ue)(h.\u0275\u0275inject(y.t4),h.\u0275\u0275inject(n.DOCUMENT))},ue.\u0275prov=h.\u0275\u0275defineInjectable({token:ue,factory:ue.\u0275fac,providedIn:"root"}),ue})(),$t=(()=>{class ue{constructor(L){L._applyBodyHighContrastModeCssClasses()}}return ue.\u0275fac=function(L){return new(L||ue)(h.\u0275\u0275inject(wt))},ue.\u0275mod=h.\u0275\u0275defineNgModule({type:ue}),ue.\u0275inj=h.\u0275\u0275defineInjector({imports:[[H.Q8]]}),ue})()},226:(G,r,a)=>{"use strict";a.d(r,{vT:()=>m,Is:()=>f});var n=a(5e3),h=a(9808);const y=new n.InjectionToken("cdk-dir-doc",{providedIn:"root",factory:function d(){return(0,n.inject)(h.DOCUMENT)}}),o=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let f=(()=>{class u{constructor(v){if(this.value="ltr",this.change=new n.EventEmitter,v){const T=v.documentElement?v.documentElement.dir:null;this.value=function c(u){const _=(null==u?void 0:u.toLowerCase())||"";return"auto"===_&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?o.test(navigator.language)?"rtl":"ltr":"rtl"===_?"rtl":"ltr"}((v.body?v.body.dir:null)||T||"ltr")}}ngOnDestroy(){this.change.complete()}}return u.\u0275fac=function(v){return new(v||u)(n.\u0275\u0275inject(y,8))},u.\u0275prov=n.\u0275\u0275defineInjectable({token:u,factory:u.\u0275fac,providedIn:"root"}),u})(),m=(()=>{class u{}return u.\u0275fac=function(v){return new(v||u)},u.\u0275mod=n.\u0275\u0275defineNgModule({type:u}),u.\u0275inj=n.\u0275\u0275defineInjector({}),u})()},3191:(G,r,a)=>{"use strict";a.d(r,{t6:()=>d,Eq:()=>o,Ig:()=>h,HM:()=>c,fI:()=>f,su:()=>y});var n=a(5e3);function h(m){return null!=m&&"false"!=`${m}`}function y(m,u=0){return d(m)?Number(m):u}function d(m){return!isNaN(parseFloat(m))&&!isNaN(Number(m))}function o(m){return Array.isArray(m)?m:[m]}function c(m){return null==m?"":"string"==typeof m?m:`${m}px`}function f(m){return m instanceof n.ElementRef?m.nativeElement:m}},449:(G,r,a)=>{"use strict";a.d(r,{o2:()=>y,Ov:()=>p,yy:()=>c,eX:()=>f,k:()=>_,Z9:()=>d});var n=a(7579),h=a(5e3);class y{}function d(v){return v&&"function"==typeof v.connect}class c{applyChanges(b,T,S,x,A){b.forEachOperation((H,Z,Q)=>{let J,z;if(null==H.previousIndex){const se=S(H,Z,Q);J=T.createEmbeddedView(se.templateRef,se.context,se.index),z=1}else null==Q?(T.remove(Z),z=3):(J=T.get(Z),T.move(J,Q),z=2);A&&A({context:null==J?void 0:J.context,operation:z,record:H})})}detach(){}}class f{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(b,T,S,x,A){b.forEachOperation((H,Z,Q)=>{let J,z;null==H.previousIndex?(J=this._insertView(()=>S(H,Z,Q),Q,T,x(H)),z=J?1:0):null==Q?(this._detachAndCacheView(Z,T),z=3):(J=this._moveView(Z,Q,T,x(H)),z=2),A&&A({context:null==J?void 0:J.context,operation:z,record:H})})}detach(){for(const b of this._viewCache)b.destroy();this._viewCache=[]}_insertView(b,T,S,x){const A=this._insertViewFromCache(T,S);if(A)return void(A.context.$implicit=x);const H=b();return S.createEmbeddedView(H.templateRef,H.context,H.index)}_detachAndCacheView(b,T){const S=T.detach(b);this._maybeCacheView(S,T)}_moveView(b,T,S,x){const A=S.get(b);return S.move(A,T),A.context.$implicit=x,A}_maybeCacheView(b,T){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(b);else{const S=T.indexOf(b);-1===S?b.destroy():T.remove(S)}}_insertViewFromCache(b,T){const S=this._viewCache.pop();return S&&T.insert(S,b),S||null}}class p{constructor(b=!1,T,S=!0){this._multiple=b,this._emitChanges=S,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new n.x,T&&T.length&&(b?T.forEach(x=>this._markSelected(x)):this._markSelected(T[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...b){this._verifyValueAssignment(b),b.forEach(T=>this._markSelected(T)),this._emitChangeEvent()}deselect(...b){this._verifyValueAssignment(b),b.forEach(T=>this._unmarkSelected(T)),this._emitChangeEvent()}toggle(b){this.isSelected(b)?this.deselect(b):this.select(b)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(b){return this._selection.has(b)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(b){this._multiple&&this.selected&&this._selected.sort(b)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(b){this.isSelected(b)||(this._multiple||this._unmarkAll(),this._selection.add(b),this._emitChanges&&this._selectedToEmit.push(b))}_unmarkSelected(b){this.isSelected(b)&&(this._selection.delete(b),this._emitChanges&&this._deselectedToEmit.push(b))}_unmarkAll(){this.isEmpty()||this._selection.forEach(b=>this._unmarkSelected(b))}_verifyValueAssignment(b){}}const _=new h.InjectionToken("_ViewRepeater")},1159:(G,r,a)=>{"use strict";a.d(r,{A:()=>lt,zL:()=>p,ZH:()=>h,jx:()=>f,yY:()=>ae,JH:()=>Q,uR:()=>S,K5:()=>o,hY:()=>_,Sd:()=>x,oh:()=>A,b2:()=>Nn,MW:()=>Xe,aO:()=>rt,SV:()=>Z,JU:()=>c,L_:()=>v,Mf:()=>y,LH:()=>H,Z:()=>Ye,xE:()=>me,Vb:()=>hn});const h=8,y=9,o=13,c=16,f=17,p=18,_=27,v=32,S=35,x=36,A=37,H=38,Z=39,Q=40,ae=46,me=48,rt=57,lt=65,Ye=90,Xe=91,Nn=224;function hn(tn,...ei){return ei.length?ei.some(Ci=>tn[Ci]):tn.altKey||tn.shiftKey||tn.ctrlKey||tn.metaKey}},5113:(G,r,a)=>{"use strict";a.r(r),a.d(r,{BreakpointObserver:()=>Q,Breakpoints:()=>z,LayoutModule:()=>T,MediaMatcher:()=>A});var n=a(5e3),h=a(3191),y=a(7579),d=a(9841),o=a(7272),c=a(8306),f=a(5698),p=a(5684),m=a(8372),u=a(4004),_=a(8675),v=a(2722),b=a(925);let T=(()=>{class se{}return se.\u0275fac=function(me){return new(me||se)},se.\u0275mod=n.\u0275\u0275defineNgModule({type:se}),se.\u0275inj=n.\u0275\u0275defineInjector({}),se})();const S=new Set;let x,A=(()=>{class se{constructor(me){this._platform=me,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Z}matchMedia(me){return(this._platform.WEBKIT||this._platform.BLINK)&&function H(se){if(!S.has(se))try{x||(x=document.createElement("style"),x.setAttribute("type","text/css"),document.head.appendChild(x)),x.sheet&&(x.sheet.insertRule(`@media ${se} {body{ }}`,0),S.add(se))}catch(ae){console.error(ae)}}(me),this._matchMedia(me)}}return se.\u0275fac=function(me){return new(me||se)(n.\u0275\u0275inject(b.t4))},se.\u0275prov=n.\u0275\u0275defineInjectable({token:se,factory:se.\u0275fac,providedIn:"root"}),se})();function Z(se){return{matches:"all"===se||""===se,media:se,addListener:()=>{},removeListener:()=>{}}}let Q=(()=>{class se{constructor(me,Te){this._mediaMatcher=me,this._zone=Te,this._queries=new Map,this._destroySubject=new y.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(me){return J((0,h.Eq)(me)).some(_e=>this._registerQuery(_e).mql.matches)}observe(me){const _e=J((0,h.Eq)(me)).map(de=>this._registerQuery(de).observable);let Y=(0,d.a)(_e);return Y=(0,o.z)(Y.pipe((0,f.q)(1)),Y.pipe((0,p.T)(1),(0,m.b)(0))),Y.pipe((0,u.U)(de=>{const W={matches:!1,breakpoints:{}};return de.forEach(({matches:he,query:ce})=>{W.matches=W.matches||he,W.breakpoints[ce]=he}),W}))}_registerQuery(me){if(this._queries.has(me))return this._queries.get(me);const Te=this._mediaMatcher.matchMedia(me),Y={observable:new c.y(de=>{const W=he=>this._zone.run(()=>de.next(he));return Te.addListener(W),()=>{Te.removeListener(W)}}).pipe((0,_.O)(Te),(0,u.U)(({matches:de})=>({query:me,matches:de})),(0,v.R)(this._destroySubject)),mql:Te};return this._queries.set(me,Y),Y}}return se.\u0275fac=function(me){return new(me||se)(n.\u0275\u0275inject(A),n.\u0275\u0275inject(n.NgZone))},se.\u0275prov=n.\u0275\u0275defineInjectable({token:se,factory:se.\u0275fac,providedIn:"root"}),se})();function J(se){return se.map(ae=>ae.split(",")).reduce((ae,me)=>ae.concat(me)).map(ae=>ae.trim())}const z={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},7144:(G,r,a)=>{"use strict";a.d(r,{wD:()=>p,Q8:()=>m});var n=a(3191),h=a(5e3),y=a(8306),d=a(7579),o=a(8372);let c=(()=>{class u{create(v){return"undefined"==typeof MutationObserver?null:new MutationObserver(v)}}return u.\u0275fac=function(v){return new(v||u)},u.\u0275prov=h.\u0275\u0275defineInjectable({token:u,factory:u.\u0275fac,providedIn:"root"}),u})(),f=(()=>{class u{constructor(v){this._mutationObserverFactory=v,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((v,b)=>this._cleanupObserver(b))}observe(v){const b=(0,n.fI)(v);return new y.y(T=>{const x=this._observeElement(b).subscribe(T);return()=>{x.unsubscribe(),this._unobserveElement(b)}})}_observeElement(v){if(this._observedElements.has(v))this._observedElements.get(v).count++;else{const b=new d.x,T=this._mutationObserverFactory.create(S=>b.next(S));T&&T.observe(v,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(v,{observer:T,stream:b,count:1})}return this._observedElements.get(v).stream}_unobserveElement(v){this._observedElements.has(v)&&(this._observedElements.get(v).count--,this._observedElements.get(v).count||this._cleanupObserver(v))}_cleanupObserver(v){if(this._observedElements.has(v)){const{observer:b,stream:T}=this._observedElements.get(v);b&&b.disconnect(),T.complete(),this._observedElements.delete(v)}}}return u.\u0275fac=function(v){return new(v||u)(h.\u0275\u0275inject(c))},u.\u0275prov=h.\u0275\u0275defineInjectable({token:u,factory:u.\u0275fac,providedIn:"root"}),u})(),p=(()=>{class u{constructor(v,b,T){this._contentObserver=v,this._elementRef=b,this._ngZone=T,this.event=new h.EventEmitter,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(v){this._disabled=(0,n.Ig)(v),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(v){this._debounce=(0,n.su)(v),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const v=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?v.pipe((0,o.b)(this.debounce)):v).subscribe(this.event)})}_unsubscribe(){var v;null===(v=this._currentSubscription)||void 0===v||v.unsubscribe()}}return u.\u0275fac=function(v){return new(v||u)(h.\u0275\u0275directiveInject(f),h.\u0275\u0275directiveInject(h.ElementRef),h.\u0275\u0275directiveInject(h.NgZone))},u.\u0275dir=h.\u0275\u0275defineDirective({type:u,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),u})(),m=(()=>{class u{}return u.\u0275fac=function(v){return new(v||u)},u.\u0275mod=h.\u0275\u0275defineNgModule({type:u}),u.\u0275inj=h.\u0275\u0275defineInjector({providers:[c]}),u})()},1314:(G,r,a)=>{"use strict";a.d(r,{aV:()=>We,X_:()=>z,Xj:()=>de,U8:()=>Ue});var n=a(495),h=a(9808),y=a(5e3),d=a(3191),o=a(925),c=a(226),f=a(7429),p=a(7579),m=a(727),u=a(6451),_=a(5698),v=a(2722);const b=(0,o.Mq)();class T{constructor(V,ge){this._viewportRuler=V,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=ge}attach(){}enable(){if(this._canBeEnabled()){const V=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=V.style.left||"",this._previousHTMLStyles.top=V.style.top||"",V.style.left=(0,d.HM)(-this._previousScrollPosition.left),V.style.top=(0,d.HM)(-this._previousScrollPosition.top),V.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const V=this._document.documentElement,xe=V.style,Je=this._document.body.style,st=xe.scrollBehavior||"",Et=Je.scrollBehavior||"";this._isEnabled=!1,xe.left=this._previousHTMLStyles.left,xe.top=this._previousHTMLStyles.top,V.classList.remove("cdk-global-scrollblock"),b&&(xe.scrollBehavior=Je.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),b&&(xe.scrollBehavior=st,Je.scrollBehavior=Et)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const ge=this._document.body,xe=this._viewportRuler.getViewportSize();return ge.scrollHeight>xe.height||ge.scrollWidth>xe.width}}class x{constructor(V,ge,xe,Je){this._scrollDispatcher=V,this._ngZone=ge,this._viewportRuler=xe,this._config=Je,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(V){this._overlayRef=V}enable(){if(this._scrollSubscription)return;const V=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=V.subscribe(()=>{const ge=this._viewportRuler.getViewportScrollPosition().top;Math.abs(ge-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=V.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class A{enable(){}disable(){}attach(){}}function H(Re,V){return V.some(ge=>Re.bottom<ge.top||Re.top>ge.bottom||Re.right<ge.left||Re.left>ge.right)}function Z(Re,V){return V.some(ge=>Re.top<ge.top||Re.bottom>ge.bottom||Re.left<ge.left||Re.right>ge.right)}class Q{constructor(V,ge,xe,Je){this._scrollDispatcher=V,this._viewportRuler=ge,this._ngZone=xe,this._config=Je,this._scrollSubscription=null}attach(V){this._overlayRef=V}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 ge=this._overlayRef.overlayElement.getBoundingClientRect(),{width:xe,height:Je}=this._viewportRuler.getViewportSize();H(ge,[{width:xe,height:Je,bottom:Je,right:xe,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 J=(()=>{class Re{constructor(ge,xe,Je,st){this._scrollDispatcher=ge,this._viewportRuler=xe,this._ngZone=Je,this.noop=()=>new A,this.close=Et=>new x(this._scrollDispatcher,this._ngZone,this._viewportRuler,Et),this.block=()=>new T(this._viewportRuler,this._document),this.reposition=Et=>new Q(this._scrollDispatcher,this._viewportRuler,this._ngZone,Et),this._document=st}}return Re.\u0275fac=function(ge){return new(ge||Re)(y.\u0275\u0275inject(n.mF),y.\u0275\u0275inject(n.rL),y.\u0275\u0275inject(y.NgZone),y.\u0275\u0275inject(h.DOCUMENT))},Re.\u0275prov=y.\u0275\u0275defineInjectable({token:Re,factory:Re.\u0275fac,providedIn:"root"}),Re})();class z{constructor(V){if(this.scrollStrategy=new A,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,V){const ge=Object.keys(V);for(const xe of ge)void 0!==V[xe]&&(this[xe]=V[xe])}}}class me{constructor(V,ge){this.connectionPair=V,this.scrollableViewProperties=ge}}class Y{constructor(V,ge,xe,Je,st,Et,Tt,Pt,He){this._portalOutlet=V,this._host=ge,this._pane=xe,this._config=Je,this._ngZone=st,this._keyboardDispatcher=Et,this._document=Tt,this._location=Pt,this._outsideClickDispatcher=He,this._backdropElement=null,this._backdropClick=new p.x,this._attachments=new p.x,this._detachments=new p.x,this._locationChanges=m.w0.EMPTY,this._backdropClickHandler=Ee=>this._backdropClick.next(Ee),this._backdropTransitionendHandler=Ee=>{this._disposeBackdrop(Ee.target)},this._keydownEvents=new p.x,this._outsidePointerEvents=new p.x,Je.scrollStrategy&&(this._scrollStrategy=Je.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Je.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(V){let ge=this._portalOutlet.attach(V);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,_.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),ge}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const V=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),V}dispose(){var V;const ge=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(V=this._host)||void 0===V||V.remove(),this._previousHostParent=this._pane=this._host=null,ge&&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(V){V!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=V,this.hasAttached()&&(V.attach(this),this.updatePosition()))}updateSize(V){this._config=Object.assign(Object.assign({},this._config),V),this._updateElementSize()}setDirection(V){this._config=Object.assign(Object.assign({},this._config),{direction:V}),this._updateElementDirection()}addPanelClass(V){this._pane&&this._toggleClasses(this._pane,V,!0)}removePanelClass(V){this._pane&&this._toggleClasses(this._pane,V,!1)}getDirection(){const V=this._config.direction;return V?"string"==typeof V?V:V.value:"ltr"}updateScrollStrategy(V){V!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=V,this.hasAttached()&&(V.attach(this),V.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const V=this._pane.style;V.width=(0,d.HM)(this._config.width),V.height=(0,d.HM)(this._config.height),V.minWidth=(0,d.HM)(this._config.minWidth),V.minHeight=(0,d.HM)(this._config.minHeight),V.maxWidth=(0,d.HM)(this._config.maxWidth),V.maxHeight=(0,d.HM)(this._config.maxHeight)}_togglePointerEvents(V){this._pane.style.pointerEvents=V?"":"none"}_attachBackdrop(){const V="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),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),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(V)})}):this._backdropElement.classList.add(V)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const V=this._backdropElement;!V||(V.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{V.addEventListener("transitionend",this._backdropTransitionendHandler)}),V.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{console.log("fallback"),this._disposeBackdrop(V)},500)))}_toggleClasses(V,ge,xe){const Je=(0,d.Eq)(ge||[]).filter(st=>!!st);Je.length&&(xe?V.classList.add(...Je):V.classList.remove(...Je))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const V=this._ngZone.onStable.pipe((0,v.R)((0,u.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()),V.unsubscribe())})})}_disposeScrollStrategy(){const V=this._scrollStrategy;V&&(V.disable(),V.detach&&V.detach())}_disposeBackdrop(V){V&&(V.removeEventListener("click",this._backdropClickHandler),V.removeEventListener("transitionend",this._backdropTransitionendHandler),V.remove(),this._backdropElement===V&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}let de=(()=>{class Re{constructor(ge,xe){this._platform=xe,this._document=ge}ngOnDestroy(){var ge;null===(ge=this._containerElement)||void 0===ge||ge.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const ge="cdk-overlay-container";if(this._platform.isBrowser||(0,o.Oy)()){const Je=this._document.querySelectorAll(`.${ge}[platform="server"], .${ge}[platform="test"]`);for(let st=0;st<Je.length;st++)Je[st].remove()}const xe=this._document.createElement("div");xe.classList.add(ge),(0,o.Oy)()?xe.setAttribute("platform","test"):this._platform.isBrowser||xe.setAttribute("platform","server"),this._document.body.appendChild(xe),this._containerElement=xe}}return Re.\u0275fac=function(ge){return new(ge||Re)(y.\u0275\u0275inject(h.DOCUMENT),y.\u0275\u0275inject(o.t4))},Re.\u0275prov=y.\u0275\u0275defineInjectable({token:Re,factory:Re.\u0275fac,providedIn:"root"}),Re})();const W="cdk-overlay-connected-position-bounding-box",he=/([A-Za-z%]+)$/;class ce{constructor(V,ge,xe,Je,st){this._viewportRuler=ge,this._document=xe,this._platform=Je,this._overlayContainer=st,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new p.x,this._resizeSubscription=m.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(V)}get positions(){return this._preferredPositions}attach(V){this._validatePositions(),V.hostElement.classList.add(W),this._overlayRef=V,this._boundingBox=V.hostElement,this._pane=V.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 V=this._originRect,ge=this._overlayRect,xe=this._viewportRect,Je=this._containerRect,st=[];let Et;for(let Tt of this._preferredPositions){let Pt=this._getOriginPoint(V,Je,Tt),He=this._getOverlayPoint(Pt,ge,Tt),Ee=this._getOverlayFit(He,ge,xe,Tt);if(Ee.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Tt,Pt);this._canFitWithFlexibleDimensions(Ee,He,xe)?st.push({position:Tt,origin:Pt,overlayRect:ge,boundingBoxRect:this._calculateBoundingBoxRect(Pt,Tt)}):(!Et||Et.overlayFit.visibleArea<Ee.visibleArea)&&(Et={overlayFit:Ee,overlayPoint:He,originPoint:Pt,position:Tt,overlayRect:ge})}if(st.length){let Tt=null,Pt=-1;for(const He of st){const Ee=He.boundingBoxRect.width*He.boundingBoxRect.height*(He.position.weight||1);Ee>Pt&&(Pt=Ee,Tt=He)}return this._isPushed=!1,void this._applyPosition(Tt.position,Tt.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(Et.position,Et.originPoint);this._applyPosition(Et.position,Et.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Se(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 V=this._lastPosition;if(V){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const ge=this._getOriginPoint(this._originRect,this._containerRect,V);this._applyPosition(V,ge)}else this.apply()}withScrollableContainers(V){return this._scrollables=V,this}withPositions(V){return this._preferredPositions=V,-1===V.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(V){return this._viewportMargin=V,this}withFlexibleDimensions(V=!0){return this._hasFlexibleDimensions=V,this}withGrowAfterOpen(V=!0){return this._growAfterOpen=V,this}withPush(V=!0){return this._canPush=V,this}withLockedPosition(V=!0){return this._positionLocked=V,this}setOrigin(V){return this._origin=V,this}withDefaultOffsetX(V){return this._offsetX=V,this}withDefaultOffsetY(V){return this._offsetY=V,this}withTransformOriginOn(V){return this._transformOriginSelector=V,this}_getOriginPoint(V,ge,xe){let Je,st;if("center"==xe.originX)Je=V.left+V.width/2;else{const Et=this._isRtl()?V.right:V.left,Tt=this._isRtl()?V.left:V.right;Je="start"==xe.originX?Et:Tt}return ge.left<0&&(Je-=ge.left),st="center"==xe.originY?V.top+V.height/2:"top"==xe.originY?V.top:V.bottom,ge.top<0&&(st-=ge.top),{x:Je,y:st}}_getOverlayPoint(V,ge,xe){let Je,st;return Je="center"==xe.overlayX?-ge.width/2:"start"===xe.overlayX?this._isRtl()?-ge.width:0:this._isRtl()?0:-ge.width,st="center"==xe.overlayY?-ge.height/2:"top"==xe.overlayY?0:-ge.height,{x:V.x+Je,y:V.y+st}}_getOverlayFit(V,ge,xe,Je){const st=gt(ge);let{x:Et,y:Tt}=V,Pt=this._getOffset(Je,"x"),He=this._getOffset(Je,"y");Pt&&(Et+=Pt),He&&(Tt+=He);let Ye=0-Tt,Xe=Tt+st.height-xe.height,ot=this._subtractOverflows(st.width,0-Et,Et+st.width-xe.width),Dt=this._subtractOverflows(st.height,Ye,Xe),Oe=ot*Dt;return{visibleArea:Oe,isCompletelyWithinViewport:st.width*st.height===Oe,fitsInViewportVertically:Dt===st.height,fitsInViewportHorizontally:ot==st.width}}_canFitWithFlexibleDimensions(V,ge,xe){if(this._hasFlexibleDimensions){const Je=xe.bottom-ge.y,st=xe.right-ge.x,Et=rt(this._overlayRef.getConfig().minHeight),Tt=rt(this._overlayRef.getConfig().minWidth),He=V.fitsInViewportHorizontally||null!=Tt&&Tt<=st;return(V.fitsInViewportVertically||null!=Et&&Et<=Je)&&He}return!1}_pushOverlayOnScreen(V,ge,xe){if(this._previousPushAmount&&this._positionLocked)return{x:V.x+this._previousPushAmount.x,y:V.y+this._previousPushAmount.y};const Je=gt(ge),st=this._viewportRect,Et=Math.max(V.x+Je.width-st.width,0),Tt=Math.max(V.y+Je.height-st.height,0),Pt=Math.max(st.top-xe.top-V.y,0),He=Math.max(st.left-xe.left-V.x,0);let Ee=0,Ce=0;return Ee=Je.width<=st.width?He||-Et:V.x<this._viewportMargin?st.left-xe.left-V.x:0,Ce=Je.height<=st.height?Pt||-Tt:V.y<this._viewportMargin?st.top-xe.top-V.y:0,this._previousPushAmount={x:Ee,y:Ce},{x:V.x+Ee,y:V.y+Ce}}_applyPosition(V,ge){if(this._setTransformOrigin(V),this._setOverlayElementStyles(ge,V),this._setBoundingBoxStyles(ge,V),V.panelClass&&this._addPanelClasses(V.panelClass),this._lastPosition=V,this._positionChanges.observers.length){const xe=this._getScrollVisibility(),Je=new me(V,xe);this._positionChanges.next(Je)}this._isInitialRender=!1}_setTransformOrigin(V){if(!this._transformOriginSelector)return;const ge=this._boundingBox.querySelectorAll(this._transformOriginSelector);let xe,Je=V.overlayY;xe="center"===V.overlayX?"center":this._isRtl()?"start"===V.overlayX?"right":"left":"start"===V.overlayX?"left":"right";for(let st=0;st<ge.length;st++)ge[st].style.transformOrigin=`${xe} ${Je}`}_calculateBoundingBoxRect(V,ge){const xe=this._viewportRect,Je=this._isRtl();let st,Et,Tt,Ee,Ce,Ye;if("top"===ge.overlayY)Et=V.y,st=xe.height-Et+this._viewportMargin;else if("bottom"===ge.overlayY)Tt=xe.height-V.y+2*this._viewportMargin,st=xe.height-Tt+this._viewportMargin;else{const Xe=Math.min(xe.bottom-V.y+xe.top,V.y),ot=this._lastBoundingBoxSize.height;st=2*Xe,Et=V.y-Xe,st>ot&&!this._isInitialRender&&!this._growAfterOpen&&(Et=V.y-ot/2)}if("end"===ge.overlayX&&!Je||"start"===ge.overlayX&&Je)Ye=xe.width-V.x+this._viewportMargin,Ee=V.x-this._viewportMargin;else if("start"===ge.overlayX&&!Je||"end"===ge.overlayX&&Je)Ce=V.x,Ee=xe.right-V.x;else{const Xe=Math.min(xe.right-V.x+xe.left,V.x),ot=this._lastBoundingBoxSize.width;Ee=2*Xe,Ce=V.x-Xe,Ee>ot&&!this._isInitialRender&&!this._growAfterOpen&&(Ce=V.x-ot/2)}return{top:Et,left:Ce,bottom:Tt,right:Ye,width:Ee,height:st}}_setBoundingBoxStyles(V,ge){const xe=this._calculateBoundingBoxRect(V,ge);!this._isInitialRender&&!this._growAfterOpen&&(xe.height=Math.min(xe.height,this._lastBoundingBoxSize.height),xe.width=Math.min(xe.width,this._lastBoundingBoxSize.width));const Je={};if(this._hasExactPosition())Je.top=Je.left="0",Je.bottom=Je.right=Je.maxHeight=Je.maxWidth="",Je.width=Je.height="100%";else{const st=this._overlayRef.getConfig().maxHeight,Et=this._overlayRef.getConfig().maxWidth;Je.height=(0,d.HM)(xe.height),Je.top=(0,d.HM)(xe.top),Je.bottom=(0,d.HM)(xe.bottom),Je.width=(0,d.HM)(xe.width),Je.left=(0,d.HM)(xe.left),Je.right=(0,d.HM)(xe.right),Je.alignItems="center"===ge.overlayX?"center":"end"===ge.overlayX?"flex-end":"flex-start",Je.justifyContent="center"===ge.overlayY?"center":"bottom"===ge.overlayY?"flex-end":"flex-start",st&&(Je.maxHeight=(0,d.HM)(st)),Et&&(Je.maxWidth=(0,d.HM)(Et))}this._lastBoundingBoxSize=xe,Se(this._boundingBox.style,Je)}_resetBoundingBoxStyles(){Se(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Se(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(V,ge){const xe={},Je=this._hasExactPosition(),st=this._hasFlexibleDimensions,Et=this._overlayRef.getConfig();if(Je){const Ee=this._viewportRuler.getViewportScrollPosition();Se(xe,this._getExactOverlayY(ge,V,Ee)),Se(xe,this._getExactOverlayX(ge,V,Ee))}else xe.position="static";let Tt="",Pt=this._getOffset(ge,"x"),He=this._getOffset(ge,"y");Pt&&(Tt+=`translateX(${Pt}px) `),He&&(Tt+=`translateY(${He}px)`),xe.transform=Tt.trim(),Et.maxHeight&&(Je?xe.maxHeight=(0,d.HM)(Et.maxHeight):st&&(xe.maxHeight="")),Et.maxWidth&&(Je?xe.maxWidth=(0,d.HM)(Et.maxWidth):st&&(xe.maxWidth="")),Se(this._pane.style,xe)}_getExactOverlayY(V,ge,xe){let Je={top:"",bottom:""},st=this._getOverlayPoint(ge,this._overlayRect,V);return this._isPushed&&(st=this._pushOverlayOnScreen(st,this._overlayRect,xe)),"bottom"===V.overlayY?Je.bottom=this._document.documentElement.clientHeight-(st.y+this._overlayRect.height)+"px":Je.top=(0,d.HM)(st.y),Je}_getExactOverlayX(V,ge,xe){let Et,Je={left:"",right:""},st=this._getOverlayPoint(ge,this._overlayRect,V);return this._isPushed&&(st=this._pushOverlayOnScreen(st,this._overlayRect,xe)),Et=this._isRtl()?"end"===V.overlayX?"left":"right":"end"===V.overlayX?"right":"left","right"===Et?Je.right=this._document.documentElement.clientWidth-(st.x+this._overlayRect.width)+"px":Je.left=(0,d.HM)(st.x),Je}_getScrollVisibility(){const V=this._getOriginRect(),ge=this._pane.getBoundingClientRect(),xe=this._scrollables.map(Je=>Je.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Z(V,xe),isOriginOutsideView:H(V,xe),isOverlayClipped:Z(ge,xe),isOverlayOutsideView:H(ge,xe)}}_subtractOverflows(V,...ge){return ge.reduce((xe,Je)=>xe-Math.max(Je,0),V)}_getNarrowedViewportRect(){const V=this._document.documentElement.clientWidth,ge=this._document.documentElement.clientHeight,xe=this._viewportRuler.getViewportScrollPosition();return{top:xe.top+this._viewportMargin,left:xe.left+this._viewportMargin,right:xe.left+V-this._viewportMargin,bottom:xe.top+ge-this._viewportMargin,width:V-2*this._viewportMargin,height:ge-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(V,ge){return"x"===ge?null==V.offsetX?this._offsetX:V.offsetX:null==V.offsetY?this._offsetY:V.offsetY}_validatePositions(){}_addPanelClasses(V){this._pane&&(0,d.Eq)(V).forEach(ge=>{""!==ge&&-1===this._appliedPanelClasses.indexOf(ge)&&(this._appliedPanelClasses.push(ge),this._pane.classList.add(ge))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(V=>{this._pane.classList.remove(V)}),this._appliedPanelClasses=[])}_getOriginRect(){const V=this._origin;if(V instanceof y.ElementRef)return V.nativeElement.getBoundingClientRect();if(V instanceof Element)return V.getBoundingClientRect();const ge=V.width||0,xe=V.height||0;return{top:V.y,bottom:V.y+xe,left:V.x,right:V.x+ge,height:xe,width:ge}}}function Se(Re,V){for(let ge in V)V.hasOwnProperty(ge)&&(Re[ge]=V[ge]);return Re}function rt(Re){if("number"!=typeof Re&&null!=Re){const[V,ge]=Re.split(he);return ge&&"px"!==ge?null:parseFloat(V)}return Re||null}function gt(Re){return{top:Math.floor(Re.top),right:Math.floor(Re.right),bottom:Math.floor(Re.bottom),left:Math.floor(Re.left),width:Math.floor(Re.width),height:Math.floor(Re.height)}}const Ge="cdk-global-overlay-wrapper";class ht{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(V){const ge=V.getConfig();this._overlayRef=V,this._width&&!ge.width&&V.updateSize({width:this._width}),this._height&&!ge.height&&V.updateSize({height:this._height}),V.hostElement.classList.add(Ge),this._isDisposed=!1}top(V=""){return this._bottomOffset="",this._topOffset=V,this._alignItems="flex-start",this}left(V=""){return this._rightOffset="",this._leftOffset=V,this._justifyContent="flex-start",this}bottom(V=""){return this._topOffset="",this._bottomOffset=V,this._alignItems="flex-end",this}right(V=""){return this._leftOffset="",this._rightOffset=V,this._justifyContent="flex-end",this}width(V=""){return this._overlayRef?this._overlayRef.updateSize({width:V}):this._width=V,this}height(V=""){return this._overlayRef?this._overlayRef.updateSize({height:V}):this._height=V,this}centerHorizontally(V=""){return this.left(V),this._justifyContent="center",this}centerVertically(V=""){return this.top(V),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const V=this._overlayRef.overlayElement.style,ge=this._overlayRef.hostElement.style,xe=this._overlayRef.getConfig(),{width:Je,height:st,maxWidth:Et,maxHeight:Tt}=xe,Pt=!("100%"!==Je&&"100vw"!==Je||Et&&"100%"!==Et&&"100vw"!==Et),He=!("100%"!==st&&"100vh"!==st||Tt&&"100%"!==Tt&&"100vh"!==Tt);V.position=this._cssPosition,V.marginLeft=Pt?"0":this._leftOffset,V.marginTop=He?"0":this._topOffset,V.marginBottom=this._bottomOffset,V.marginRight=this._rightOffset,Pt?ge.justifyContent="flex-start":"center"===this._justifyContent?ge.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?ge.justifyContent="flex-end":"flex-end"===this._justifyContent&&(ge.justifyContent="flex-start"):ge.justifyContent=this._justifyContent,ge.alignItems=He?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const V=this._overlayRef.overlayElement.style,ge=this._overlayRef.hostElement,xe=ge.style;ge.classList.remove(Ge),xe.justifyContent=xe.alignItems=V.marginTop=V.marginBottom=V.marginLeft=V.marginRight=V.position="",this._overlayRef=null,this._isDisposed=!0}}let qe=(()=>{class Re{constructor(ge,xe,Je,st){this._viewportRuler=ge,this._document=xe,this._platform=Je,this._overlayContainer=st}global(){return new ht}flexibleConnectedTo(ge){return new ce(ge,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return Re.\u0275fac=function(ge){return new(ge||Re)(y.\u0275\u0275inject(n.rL),y.\u0275\u0275inject(h.DOCUMENT),y.\u0275\u0275inject(o.t4),y.\u0275\u0275inject(de))},Re.\u0275prov=y.\u0275\u0275defineInjectable({token:Re,factory:Re.\u0275fac,providedIn:"root"}),Re})(),lt=(()=>{class Re{constructor(ge){this._attachedOverlays=[],this._document=ge}ngOnDestroy(){this.detach()}add(ge){this.remove(ge),this._attachedOverlays.push(ge)}remove(ge){const xe=this._attachedOverlays.indexOf(ge);xe>-1&&this._attachedOverlays.splice(xe,1),0===this._attachedOverlays.length&&this.detach()}}return Re.\u0275fac=function(ge){return new(ge||Re)(y.\u0275\u0275inject(h.DOCUMENT))},Re.\u0275prov=y.\u0275\u0275defineInjectable({token:Re,factory:Re.\u0275fac,providedIn:"root"}),Re})(),Be=(()=>{class Re extends lt{constructor(ge,xe){super(ge),this._ngZone=xe,this._keydownListener=Je=>{const st=this._attachedOverlays;for(let Et=st.length-1;Et>-1;Et--)if(st[Et]._keydownEvents.observers.length>0){const Tt=st[Et]._keydownEvents;this._ngZone?this._ngZone.run(()=>Tt.next(Je)):Tt.next(Je);break}}}add(ge){super.add(ge),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 Re.\u0275fac=function(ge){return new(ge||Re)(y.\u0275\u0275inject(h.DOCUMENT),y.\u0275\u0275inject(y.NgZone,8))},Re.\u0275prov=y.\u0275\u0275defineInjectable({token:Re,factory:Re.\u0275fac,providedIn:"root"}),Re})(),et=(()=>{class Re extends lt{constructor(ge,xe,Je){super(ge),this._platform=xe,this._ngZone=Je,this._cursorStyleIsSet=!1,this._pointerDownListener=st=>{this._pointerDownEventTarget=(0,o.sA)(st)},this._clickListener=st=>{const Et=(0,o.sA)(st),Tt="click"===st.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Et;this._pointerDownEventTarget=null;const Pt=this._attachedOverlays.slice();for(let He=Pt.length-1;He>-1;He--){const Ee=Pt[He];if(Ee._outsidePointerEvents.observers.length<1||!Ee.hasAttached())continue;if(Ee.overlayElement.contains(Et)||Ee.overlayElement.contains(Tt))break;const Ce=Ee._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Ce.next(st)):Ce.next(st)}}}add(ge){if(super.add(ge),!this._isAttached){const xe=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(xe)):this._addEventListeners(xe),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=xe.style.cursor,xe.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const ge=this._document.body;ge.removeEventListener("pointerdown",this._pointerDownListener,!0),ge.removeEventListener("click",this._clickListener,!0),ge.removeEventListener("auxclick",this._clickListener,!0),ge.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(ge.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(ge){ge.addEventListener("pointerdown",this._pointerDownListener,!0),ge.addEventListener("click",this._clickListener,!0),ge.addEventListener("auxclick",this._clickListener,!0),ge.addEventListener("contextmenu",this._clickListener,!0)}}return Re.\u0275fac=function(ge){return new(ge||Re)(y.\u0275\u0275inject(h.DOCUMENT),y.\u0275\u0275inject(o.t4),y.\u0275\u0275inject(y.NgZone,8))},Re.\u0275prov=y.\u0275\u0275defineInjectable({token:Re,factory:Re.\u0275fac,providedIn:"root"}),Re})(),Ne=0,We=(()=>{class Re{constructor(ge,xe,Je,st,Et,Tt,Pt,He,Ee,Ce,Ye){this.scrollStrategies=ge,this._overlayContainer=xe,this._componentFactoryResolver=Je,this._positionBuilder=st,this._keyboardDispatcher=Et,this._injector=Tt,this._ngZone=Pt,this._document=He,this._directionality=Ee,this._location=Ce,this._outsideClickDispatcher=Ye}create(ge){const xe=this._createHostElement(),Je=this._createPaneElement(xe),st=this._createPortalOutlet(Je),Et=new z(ge);return Et.direction=Et.direction||this._directionality.value,new Y(st,xe,Je,Et,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(ge){const xe=this._document.createElement("div");return xe.id="cdk-overlay-"+Ne++,xe.classList.add("cdk-overlay-pane"),ge.appendChild(xe),xe}_createHostElement(){const ge=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(ge),ge}_createPortalOutlet(ge){return this._appRef||(this._appRef=this._injector.get(y.ApplicationRef)),new f.u0(ge,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return Re.\u0275fac=function(ge){return new(ge||Re)(y.\u0275\u0275inject(J),y.\u0275\u0275inject(de),y.\u0275\u0275inject(y.ComponentFactoryResolver),y.\u0275\u0275inject(qe),y.\u0275\u0275inject(Be),y.\u0275\u0275inject(y.Injector),y.\u0275\u0275inject(y.NgZone),y.\u0275\u0275inject(h.DOCUMENT),y.\u0275\u0275inject(c.Is),y.\u0275\u0275inject(h.Location),y.\u0275\u0275inject(et))},Re.\u0275prov=y.\u0275\u0275defineInjectable({token:Re,factory:Re.\u0275fac}),Re})();const Me={provide:new y.InjectionToken("cdk-connected-overlay-scroll-strategy"),deps:[We],useFactory:function te(Re){return()=>Re.scrollStrategies.reposition()}};let Ue=(()=>{class Re{}return Re.\u0275fac=function(ge){return new(ge||Re)},Re.\u0275mod=y.\u0275\u0275defineNgModule({type:Re}),Re.\u0275inj=y.\u0275\u0275defineInjector({providers:[We,Me],imports:[[c.vT,f.eL,n.Cl],n.Cl]}),Re})()},925:(G,r,a)=>{"use strict";a.d(r,{t4:()=>d,sA:()=>Q,ht:()=>Z,kV:()=>H,Oy:()=>J,i$:()=>_,Mq:()=>T});var n=a(5e3),h=a(9808);let y;try{y="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(z){y=!1}let m,b,x,d=(()=>{class z{constructor(ae){this._platformId=ae,this.isBrowser=this._platformId?(0,h.isPlatformBrowser)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!y)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return z.\u0275fac=function(ae){return new(ae||z)(n.\u0275\u0275inject(n.PLATFORM_ID))},z.\u0275prov=n.\u0275\u0275defineInjectable({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();function _(z){return function u(){if(null==m&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>m=!0}))}finally{m=m||!1}return m}()?z:!!z.capture}function T(){if(null==b){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return b=!1,b;if("scrollBehavior"in document.documentElement.style)b=!0;else{const z=Element.prototype.scrollTo;b=!!z&&!/\{\s*\[native code\]\s*\}/.test(z.toString())}}return b}function H(z){if(function A(){if(null==x){const z="undefined"!=typeof document?document.head:null;x=!(!z||!z.createShadowRoot&&!z.attachShadow)}return x}()){const se=z.getRootNode?z.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&se instanceof ShadowRoot)return se}return null}function Z(){let z="undefined"!=typeof document&&document?document.activeElement:null;for(;z&&z.shadowRoot;){const se=z.shadowRoot.activeElement;if(se===z)break;z=se}return z}function Q(z){return z.composedPath?z.composedPath()[0]:z.target}function J(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}},7429:(G,r,a)=>{"use strict";a.d(r,{en:()=>b,ig:()=>A,Pl:()=>Z,C5:()=>u,u0:()=>S,eL:()=>J,UE:()=>_});var n=a(5e3),h=a(9808);class m{attach(ae){return this._attachedHost=ae,ae.attach(this)}detach(){let ae=this._attachedHost;null!=ae&&(this._attachedHost=null,ae.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(ae){this._attachedHost=ae}}class u extends m{constructor(ae,me,Te,_e){super(),this.component=ae,this.viewContainerRef=me,this.injector=Te,this.componentFactoryResolver=_e}}class _ extends m{constructor(ae,me,Te){super(),this.templateRef=ae,this.viewContainerRef=me,this.context=Te}get origin(){return this.templateRef.elementRef}attach(ae,me=this.context){return this.context=me,super.attach(ae)}detach(){return this.context=void 0,super.detach()}}class v extends m{constructor(ae){super(),this.element=ae instanceof n.ElementRef?ae.nativeElement:ae}}class b{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(ae){return ae instanceof u?(this._attachedPortal=ae,this.attachComponentPortal(ae)):ae instanceof _?(this._attachedPortal=ae,this.attachTemplatePortal(ae)):this.attachDomPortal&&ae instanceof v?(this._attachedPortal=ae,this.attachDomPortal(ae)):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(ae){this._disposeFn=ae}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class S extends b{constructor(ae,me,Te,_e,Y){super(),this.outletElement=ae,this._componentFactoryResolver=me,this._appRef=Te,this._defaultInjector=_e,this.attachDomPortal=de=>{const W=de.element,he=this._document.createComment("dom-portal");W.parentNode.insertBefore(he,W),this.outletElement.appendChild(W),this._attachedPortal=de,super.setDisposeFn(()=>{he.parentNode&&he.parentNode.replaceChild(W,he)})},this._document=Y}attachComponentPortal(ae){const Te=(ae.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(ae.component);let _e;return ae.viewContainerRef?(_e=ae.viewContainerRef.createComponent(Te,ae.viewContainerRef.length,ae.injector||ae.viewContainerRef.injector),this.setDisposeFn(()=>_e.destroy())):(_e=Te.create(ae.injector||this._defaultInjector),this._appRef.attachView(_e.hostView),this.setDisposeFn(()=>{this._appRef.detachView(_e.hostView),_e.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(_e)),this._attachedPortal=ae,_e}attachTemplatePortal(ae){let me=ae.viewContainerRef,Te=me.createEmbeddedView(ae.templateRef,ae.context);return Te.rootNodes.forEach(_e=>this.outletElement.appendChild(_e)),Te.detectChanges(),this.setDisposeFn(()=>{let _e=me.indexOf(Te);-1!==_e&&me.remove(_e)}),this._attachedPortal=ae,Te}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(ae){return ae.hostView.rootNodes[0]}}let A=(()=>{class se extends _{constructor(me,Te){super(me,Te)}}return se.\u0275fac=function(me){return new(me||se)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef))},se.\u0275dir=n.\u0275\u0275defineDirective({type:se,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[n.\u0275\u0275InheritDefinitionFeature]}),se})(),Z=(()=>{class se extends b{constructor(me,Te,_e){super(),this._componentFactoryResolver=me,this._viewContainerRef=Te,this._isInitialized=!1,this.attached=new n.EventEmitter,this.attachDomPortal=Y=>{const de=Y.element,W=this._document.createComment("dom-portal");Y.setAttachedHost(this),de.parentNode.insertBefore(W,de),this._getRootNode().appendChild(de),this._attachedPortal=Y,super.setDisposeFn(()=>{W.parentNode&&W.parentNode.replaceChild(de,W)})},this._document=_e}get portal(){return this._attachedPortal}set portal(me){this.hasAttached()&&!me&&!this._isInitialized||(this.hasAttached()&&super.detach(),me&&super.attach(me),this._attachedPortal=me||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(me){me.setAttachedHost(this);const Te=null!=me.viewContainerRef?me.viewContainerRef:this._viewContainerRef,Y=(me.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(me.component),de=Te.createComponent(Y,Te.length,me.injector||Te.injector);return Te!==this._viewContainerRef&&this._getRootNode().appendChild(de.hostView.rootNodes[0]),super.setDisposeFn(()=>de.destroy()),this._attachedPortal=me,this._attachedRef=de,this.attached.emit(de),de}attachTemplatePortal(me){me.setAttachedHost(this);const Te=this._viewContainerRef.createEmbeddedView(me.templateRef,me.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=me,this._attachedRef=Te,this.attached.emit(Te),Te}_getRootNode(){const me=this._viewContainerRef.element.nativeElement;return me.nodeType===me.ELEMENT_NODE?me:me.parentNode}}return se.\u0275fac=function(me){return new(me||se)(n.\u0275\u0275directiveInject(n.ComponentFactoryResolver),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(h.DOCUMENT))},se.\u0275dir=n.\u0275\u0275defineDirective({type:se,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[n.\u0275\u0275InheritDefinitionFeature]}),se})(),J=(()=>{class se{}return se.\u0275fac=function(me){return new(me||se)},se.\u0275mod=n.\u0275\u0275defineNgModule({type:se}),se.\u0275inj=n.\u0275\u0275defineInjector({}),se})()},495:(G,r,a)=>{"use strict";a.d(r,{ZD:()=>We,mF:()=>rt,Cl:()=>ft,rL:()=>ht});var n=a(3191),h=a(5e3),y=a(4408),d=a(727);const o={schedule(ve){let we=requestAnimationFrame,B=cancelAnimationFrame;const{delegate:te}=o;te&&(we=te.requestAnimationFrame,B=te.cancelAnimationFrame);const Me=we(Ue=>{B=void 0,ve(Ue)});return new d.w0(()=>null==B?void 0:B(Me))},requestAnimationFrame(...ve){const{delegate:we}=o;return((null==we?void 0:we.requestAnimationFrame)||requestAnimationFrame)(...ve)},cancelAnimationFrame(...ve){const{delegate:we}=o;return((null==we?void 0:we.cancelAnimationFrame)||cancelAnimationFrame)(...ve)},delegate:void 0};var f=a(640);new class p extends f.v{flush(we){this._active=!0;const B=this._scheduled;this._scheduled=void 0;const{actions:te}=this;let Me;we=we||te.shift();do{if(Me=we.execute(we.state,we.delay))break}while((we=te[0])&&we.id===B&&te.shift());if(this._active=!1,Me){for(;(we=te[0])&&we.id===B&&te.shift();)we.unsubscribe();throw Me}}}(class c extends y.o{constructor(we,B){super(we,B),this.scheduler=we,this.work=B}requestAsyncId(we,B,te=0){return null!==te&&te>0?super.requestAsyncId(we,B,te):(we.actions.push(this),we._scheduled||(we._scheduled=o.requestAnimationFrame(()=>we.flush(void 0))))}recycleAsyncId(we,B,te=0){if(null!=te&&te>0||null==te&&this.delay>0)return super.recycleAsyncId(we,B,te);we.actions.some(Me=>Me.id===B)||(o.cancelAnimationFrame(B),we._scheduled=void 0)}});var _=a(7579),v=a(9646),b=a(8306),T=a(4968),x=(a(3101),a(4986)),A=a(4482),H=a(8421),Z=a(5403),J=a(5963);function z(ve,we=x.z){return function Q(ve){return(0,A.e)((we,B)=>{let te=!1,Me=null,Ue=null,Ke=!1;const Re=()=>{if(null==Ue||Ue.unsubscribe(),Ue=null,te){te=!1;const ge=Me;Me=null,B.next(ge)}Ke&&B.complete()},V=()=>{Ue=null,Ke&&B.complete()};we.subscribe((0,Z.x)(B,ge=>{te=!0,Me=ge,Ue||(0,H.Xf)(ve(ge)).subscribe(Ue=(0,Z.x)(B,Re,V))},()=>{Ke=!0,(!te||!Ue||Ue.closed)&&B.complete()}))})}(()=>(0,J.H)(ve,we))}var se=a(9300),ae=a(9808),me=a(925),Te=a(226);let rt=(()=>{class ve{constructor(B,te,Me){this._ngZone=B,this._platform=te,this._scrolled=new _.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=Me}register(B){this.scrollContainers.has(B)||this.scrollContainers.set(B,B.elementScrolled().subscribe(()=>this._scrolled.next(B)))}deregister(B){const te=this.scrollContainers.get(B);te&&(te.unsubscribe(),this.scrollContainers.delete(B))}scrolled(B=20){return this._platform.isBrowser?new b.y(te=>{this._globalSubscription||this._addGlobalListener();const Me=B>0?this._scrolled.pipe(z(B)).subscribe(te):this._scrolled.subscribe(te);return this._scrolledCount++,()=>{Me.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,v.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((B,te)=>this.deregister(te)),this._scrolled.complete()}ancestorScrolled(B,te){const Me=this.getAncestorScrollContainers(B);return this.scrolled(te).pipe((0,se.h)(Ue=>!Ue||Me.indexOf(Ue)>-1))}getAncestorScrollContainers(B){const te=[];return this.scrollContainers.forEach((Me,Ue)=>{this._scrollableContainsElement(Ue,B)&&te.push(Ue)}),te}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(B,te){let Me=(0,n.fI)(te),Ue=B.getElementRef().nativeElement;do{if(Me==Ue)return!0}while(Me=Me.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const B=this._getWindow();return(0,T.R)(B.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return ve.\u0275fac=function(B){return new(B||ve)(h.\u0275\u0275inject(h.NgZone),h.\u0275\u0275inject(me.t4),h.\u0275\u0275inject(ae.DOCUMENT,8))},ve.\u0275prov=h.\u0275\u0275defineInjectable({token:ve,factory:ve.\u0275fac,providedIn:"root"}),ve})(),ht=(()=>{class ve{constructor(B,te,Me){this._platform=B,this._change=new _.x,this._changeListener=Ue=>{this._change.next(Ue)},this._document=Me,te.runOutsideAngular(()=>{if(B.isBrowser){const Ue=this._getWindow();Ue.addEventListener("resize",this._changeListener),Ue.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const B=this._getWindow();B.removeEventListener("resize",this._changeListener),B.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const B={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),B}getViewportRect(){const B=this.getViewportScrollPosition(),{width:te,height:Me}=this.getViewportSize();return{top:B.top,left:B.left,bottom:B.top+Me,right:B.left+te,height:Me,width:te}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const B=this._document,te=this._getWindow(),Me=B.documentElement,Ue=Me.getBoundingClientRect();return{top:-Ue.top||B.body.scrollTop||te.scrollY||Me.scrollTop||0,left:-Ue.left||B.body.scrollLeft||te.scrollX||Me.scrollLeft||0}}change(B=20){return B>0?this._change.pipe(z(B)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const B=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:B.innerWidth,height:B.innerHeight}:{width:0,height:0}}}return ve.\u0275fac=function(B){return new(B||ve)(h.\u0275\u0275inject(me.t4),h.\u0275\u0275inject(h.NgZone),h.\u0275\u0275inject(ae.DOCUMENT,8))},ve.\u0275prov=h.\u0275\u0275defineInjectable({token:ve,factory:ve.\u0275fac,providedIn:"root"}),ve})(),We=(()=>{class ve{}return ve.\u0275fac=function(B){return new(B||ve)},ve.\u0275mod=h.\u0275\u0275defineNgModule({type:ve}),ve.\u0275inj=h.\u0275\u0275defineInjector({}),ve})(),ft=(()=>{class ve{}return ve.\u0275fac=function(B){return new(B||ve)},ve.\u0275mod=h.\u0275\u0275defineNgModule({type:ve}),ve.\u0275inj=h.\u0275\u0275defineInjector({imports:[[Te.vT,We],Te.vT,We]}),ve})()},9808:(G,r,a)=>{"use strict";a.r(r),a.d(r,{APP_BASE_HREF:()=>Z,AsyncPipe:()=>Qi,CommonModule:()=>Ji,CurrencyPipe:()=>ki,DATE_PIPE_DEFAULT_TIMEZONE:()=>Lr,DOCUMENT:()=>f,DatePipe:()=>Ri,DecimalPipe:()=>fr,FormStyle:()=>de,FormatWidth:()=>he,HashLocationStrategy:()=>J,I18nPluralPipe:()=>Sr,I18nSelectPipe:()=>xi,JsonPipe:()=>Ti,KeyValuePipe:()=>Or,LOCATION_INITIALIZED:()=>u,Location:()=>z,LocationStrategy:()=>A,LowerCasePipe:()=>dr,NgClass:()=>sn,NgComponentOutlet:()=>fn,NgForOf:()=>vn,NgForOfContext:()=>qt,NgIf:()=>hn,NgIfContext:()=>tn,NgLocaleLocalization:()=>Ut,NgLocalization:()=>at,NgPlural:()=>ai,NgPluralCase:()=>zn,NgStyle:()=>wr,NgSwitch:()=>wn,NgSwitchCase:()=>An,NgSwitchDefault:()=>hi,NgTemplateOutlet:()=>ur,NumberFormatStyle:()=>_e,NumberSymbol:()=>ce,PathLocationStrategy:()=>Q,PercentPipe:()=>li,PlatformLocation:()=>p,Plural:()=>Y,SlicePipe:()=>wi,TitleCasePipe:()=>Nr,TranslationWidth:()=>W,UpperCasePipe:()=>yi,VERSION:()=>er,ViewportScroller:()=>$n,WeekDay:()=>Se,XhrFactory:()=>Tn,formatCurrency:()=>On,formatDate:()=>ot,formatNumber:()=>Qt,formatPercent:()=>It,getCurrencySymbol:()=>st,getLocaleCurrencyCode:()=>te,getLocaleCurrencyName:()=>B,getLocaleCurrencySymbol:()=>we,getLocaleDateFormat:()=>et,getLocaleDateTimeFormat:()=>We,getLocaleDayNames:()=>Ge,getLocaleDayPeriods:()=>gt,getLocaleDirection:()=>ge,getLocaleEraNames:()=>qe,getLocaleExtraDayPeriodRules:()=>Re,getLocaleExtraDayPeriods:()=>V,getLocaleFirstDayOfWeek:()=>lt,getLocaleId:()=>rt,getLocaleMonthNames:()=>ht,getLocaleNumberFormat:()=>ve,getLocaleNumberSymbol:()=>ft,getLocalePluralCase:()=>Ue,getLocaleTimeFormat:()=>Ne,getLocaleWeekEndRange:()=>Be,getNumberOfCurrencyDigits:()=>Tt,isPlatformBrowser:()=>Ln,isPlatformServer:()=>Ni,isPlatformWorkerApp:()=>qi,isPlatformWorkerUi:()=>jn,registerLocaleData:()=>St,\u0275BrowserPlatformLocation:()=>_,\u0275DomAdapter:()=>c,\u0275NullViewportScroller:()=>jr,\u0275PLATFORM_BROWSER_ID:()=>Mi,\u0275PLATFORM_SERVER_ID:()=>Xi,\u0275PLATFORM_WORKER_APP_ID:()=>ti,\u0275PLATFORM_WORKER_UI_ID:()=>pr,\u0275getDOM:()=>y,\u0275parseCookieValue:()=>_n,\u0275setRootDomAdapter:()=>o});var n=a(5e3);let h=null;function y(){return h}function o(N){h||(h=N)}class c{}const f=new n.InjectionToken("DocumentToken");let p=(()=>{class N{historyGo(k){throw new Error("Not implemented")}}return N.\u0275fac=function(k){return new(k||N)},N.\u0275prov=n.\u0275\u0275defineInjectable({token:N,factory:function(){return function m(){return(0,n.\u0275\u0275inject)(_)}()},providedIn:"platform"}),N})();const u=new n.InjectionToken("Location Initialized");let _=(()=>{class N extends p{constructor(k){super(),this._doc=k,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return y().getBaseHref(this._doc)}onPopState(k){const fe=y().getGlobalEventTarget(this._doc,"window");return fe.addEventListener("popstate",k,!1),()=>fe.removeEventListener("popstate",k)}onHashChange(k){const fe=y().getGlobalEventTarget(this._doc,"window");return fe.addEventListener("hashchange",k,!1),()=>fe.removeEventListener("hashchange",k)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(k){this.location.pathname=k}pushState(k,fe,$e){v()?this._history.pushState(k,fe,$e):this.location.hash=$e}replaceState(k,fe,$e){v()?this._history.replaceState(k,fe,$e):this.location.hash=$e}forward(){this._history.forward()}back(){this._history.back()}historyGo(k=0){this._history.go(k)}getState(){return this._history.state}}return N.\u0275fac=function(k){return new(k||N)(n.\u0275\u0275inject(f))},N.\u0275prov=n.\u0275\u0275defineInjectable({token:N,factory:function(){return function b(){return new _((0,n.\u0275\u0275inject)(f))}()},providedIn:"platform"}),N})();function v(){return!!window.history.pushState}function T(N,re){if(0==N.length)return re;if(0==re.length)return N;let k=0;return N.endsWith("/")&&k++,re.startsWith("/")&&k++,2==k?N+re.substring(1):1==k?N+re:N+"/"+re}function S(N){const re=N.match(/#|\?|$/),k=re&&re.index||N.length;return N.slice(0,k-("/"===N[k-1]?1:0))+N.slice(k)}function x(N){return N&&"?"!==N[0]?"?"+N:N}let A=(()=>{class N{historyGo(k){throw new Error("Not implemented")}}return N.\u0275fac=function(k){return new(k||N)},N.\u0275prov=n.\u0275\u0275defineInjectable({token:N,factory:function(){return function H(N){const re=(0,n.\u0275\u0275inject)(f).location;return new Q((0,n.\u0275\u0275inject)(p),re&&re.origin||"")}()},providedIn:"root"}),N})();const Z=new n.InjectionToken("appBaseHref");let Q=(()=>{class N extends A{constructor(k,fe){if(super(),this._platformLocation=k,this._removeListenerFns=[],null==fe&&(fe=this._platformLocation.getBaseHrefFromDOM()),null==fe)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=fe}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(k){this._removeListenerFns.push(this._platformLocation.onPopState(k),this._platformLocation.onHashChange(k))}getBaseHref(){return this._baseHref}prepareExternalUrl(k){return T(this._baseHref,k)}path(k=!1){const fe=this._platformLocation.pathname+x(this._platformLocation.search),$e=this._platformLocation.hash;return $e&&k?`${fe}${$e}`:fe}pushState(k,fe,$e,dt){const vt=this.prepareExternalUrl($e+x(dt));this._platformLocation.pushState(k,fe,vt)}replaceState(k,fe,$e,dt){const vt=this.prepareExternalUrl($e+x(dt));this._platformLocation.replaceState(k,fe,vt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(k=0){var fe,$e;null===($e=(fe=this._platformLocation).historyGo)||void 0===$e||$e.call(fe,k)}}return N.\u0275fac=function(k){return new(k||N)(n.\u0275\u0275inject(p),n.\u0275\u0275inject(Z,8))},N.\u0275prov=n.\u0275\u0275defineInjectable({token:N,factory:N.\u0275fac}),N})(),J=(()=>{class N extends A{constructor(k,fe){super(),this._platformLocation=k,this._baseHref="",this._removeListenerFns=[],null!=fe&&(this._baseHref=fe)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(k){this._removeListenerFns.push(this._platformLocation.onPopState(k),this._platformLocation.onHashChange(k))}getBaseHref(){return this._baseHref}path(k=!1){let fe=this._platformLocation.hash;return null==fe&&(fe="#"),fe.length>0?fe.substring(1):fe}prepareExternalUrl(k){const fe=T(this._baseHref,k);return fe.length>0?"#"+fe:fe}pushState(k,fe,$e,dt){let vt=this.prepareExternalUrl($e+x(dt));0==vt.length&&(vt=this._platformLocation.pathname),this._platformLocation.pushState(k,fe,vt)}replaceState(k,fe,$e,dt){let vt=this.prepareExternalUrl($e+x(dt));0==vt.length&&(vt=this._platformLocation.pathname),this._platformLocation.replaceState(k,fe,vt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(k=0){var fe,$e;null===($e=(fe=this._platformLocation).historyGo)||void 0===$e||$e.call(fe,k)}}return N.\u0275fac=function(k){return new(k||N)(n.\u0275\u0275inject(p),n.\u0275\u0275inject(Z,8))},N.\u0275prov=n.\u0275\u0275defineInjectable({token:N,factory:N.\u0275fac}),N})(),z=(()=>{class N{constructor(k,fe){this._subject=new n.EventEmitter,this._urlChangeListeners=[],this._platformStrategy=k;const $e=this._platformStrategy.getBaseHref();this._platformLocation=fe,this._baseHref=S(me($e)),this._platformStrategy.onPopState(dt=>{this._subject.emit({url:this.path(!0),pop:!0,state:dt.state,type:dt.type})})}path(k=!1){return this.normalize(this._platformStrategy.path(k))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(k,fe=""){return this.path()==this.normalize(k+x(fe))}normalize(k){return N.stripTrailingSlash(function ae(N,re){return N&&re.startsWith(N)?re.substring(N.length):re}(this._baseHref,me(k)))}prepareExternalUrl(k){return k&&"/"!==k[0]&&(k="/"+k),this._platformStrategy.prepareExternalUrl(k)}go(k,fe="",$e=null){this._platformStrategy.pushState($e,"",k,fe),this._notifyUrlChangeListeners(this.prepareExternalUrl(k+x(fe)),$e)}replaceState(k,fe="",$e=null){this._platformStrategy.replaceState($e,"",k,fe),this._notifyUrlChangeListeners(this.prepareExternalUrl(k+x(fe)),$e)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(k=0){var fe,$e;null===($e=(fe=this._platformStrategy).historyGo)||void 0===$e||$e.call(fe,k)}onUrlChange(k){this._urlChangeListeners.push(k),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(fe=>{this._notifyUrlChangeListeners(fe.url,fe.state)}))}_notifyUrlChangeListeners(k="",fe){this._urlChangeListeners.forEach($e=>$e(k,fe))}subscribe(k,fe,$e){return this._subject.subscribe({next:k,error:fe,complete:$e})}}return N.normalizeQueryParams=x,N.joinWithSlash=T,N.stripTrailingSlash=S,N.\u0275fac=function(k){return new(k||N)(n.\u0275\u0275inject(A),n.\u0275\u0275inject(p))},N.\u0275prov=n.\u0275\u0275defineInjectable({token:N,factory:function(){return function se(){return new z((0,n.\u0275\u0275inject)(A),(0,n.\u0275\u0275inject)(p))}()},providedIn:"root"}),N})();function me(N){return N.replace(/\/index.html$/,"")}const Te={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,"\u0440.",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"],RUR:[void 0,"\u0440."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],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 _e=(()=>((_e=_e||{})[_e.Decimal=0]="Decimal",_e[_e.Percent=1]="Percent",_e[_e.Currency=2]="Currency",_e[_e.Scientific=3]="Scientific",_e))(),Y=(()=>((Y=Y||{})[Y.Zero=0]="Zero",Y[Y.One=1]="One",Y[Y.Two=2]="Two",Y[Y.Few=3]="Few",Y[Y.Many=4]="Many",Y[Y.Other=5]="Other",Y))(),de=(()=>((de=de||{})[de.Format=0]="Format",de[de.Standalone=1]="Standalone",de))(),W=(()=>((W=W||{})[W.Narrow=0]="Narrow",W[W.Abbreviated=1]="Abbreviated",W[W.Wide=2]="Wide",W[W.Short=3]="Short",W))(),he=(()=>((he=he||{})[he.Short=0]="Short",he[he.Medium=1]="Medium",he[he.Long=2]="Long",he[he.Full=3]="Full",he))(),ce=(()=>((ce=ce||{})[ce.Decimal=0]="Decimal",ce[ce.Group=1]="Group",ce[ce.List=2]="List",ce[ce.PercentSign=3]="PercentSign",ce[ce.PlusSign=4]="PlusSign",ce[ce.MinusSign=5]="MinusSign",ce[ce.Exponential=6]="Exponential",ce[ce.SuperscriptingExponent=7]="SuperscriptingExponent",ce[ce.PerMille=8]="PerMille",ce[ce.Infinity=9]="Infinity",ce[ce.NaN=10]="NaN",ce[ce.TimeSeparator=11]="TimeSeparator",ce[ce.CurrencyDecimal=12]="CurrencyDecimal",ce[ce.CurrencyGroup=13]="CurrencyGroup",ce))(),Se=(()=>((Se=Se||{})[Se.Sunday=0]="Sunday",Se[Se.Monday=1]="Monday",Se[Se.Tuesday=2]="Tuesday",Se[Se.Wednesday=3]="Wednesday",Se[Se.Thursday=4]="Thursday",Se[Se.Friday=5]="Friday",Se[Se.Saturday=6]="Saturday",Se))();function rt(N){return(0,n.\u0275findLocaleData)(N)[n.\u0275LocaleDataIndex.LocaleId]}function gt(N,re,k){const fe=(0,n.\u0275findLocaleData)(N),dt=xe([fe[n.\u0275LocaleDataIndex.DayPeriodsFormat],fe[n.\u0275LocaleDataIndex.DayPeriodsStandalone]],re);return xe(dt,k)}function Ge(N,re,k){const fe=(0,n.\u0275findLocaleData)(N),dt=xe([fe[n.\u0275LocaleDataIndex.DaysFormat],fe[n.\u0275LocaleDataIndex.DaysStandalone]],re);return xe(dt,k)}function ht(N,re,k){const fe=(0,n.\u0275findLocaleData)(N),dt=xe([fe[n.\u0275LocaleDataIndex.MonthsFormat],fe[n.\u0275LocaleDataIndex.MonthsStandalone]],re);return xe(dt,k)}function qe(N,re){return xe((0,n.\u0275findLocaleData)(N)[n.\u0275LocaleDataIndex.Eras],re)}function lt(N){return(0,n.\u0275findLocaleData)(N)[n.\u0275LocaleDataIndex.FirstDayOfWeek]}function Be(N){return(0,n.\u0275findLocaleData)(N)[n.\u0275LocaleDataIndex.WeekendRange]}function et(N,re){return xe((0,n.\u0275findLocaleData)(N)[n.\u0275LocaleDataIndex.DateFormat],re)}function Ne(N,re){return xe((0,n.\u0275findLocaleData)(N)[n.\u0275LocaleDataIndex.TimeFormat],re)}function We(N,re){return xe((0,n.\u0275findLocaleData)(N)[n.\u0275LocaleDataIndex.DateTimeFormat],re)}function ft(N,re){const k=(0,n.\u0275findLocaleData)(N),fe=k[n.\u0275LocaleDataIndex.NumberSymbols][re];if(void 0===fe){if(re===ce.CurrencyDecimal)return k[n.\u0275LocaleDataIndex.NumberSymbols][ce.Decimal];if(re===ce.CurrencyGroup)return k[n.\u0275LocaleDataIndex.NumberSymbols][ce.Group]}return fe}function ve(N,re){return(0,n.\u0275findLocaleData)(N)[n.\u0275LocaleDataIndex.NumberFormats][re]}function we(N){return(0,n.\u0275findLocaleData)(N)[n.\u0275LocaleDataIndex.CurrencySymbol]||null}function B(N){return(0,n.\u0275findLocaleData)(N)[n.\u0275LocaleDataIndex.CurrencyName]||null}function te(N){return(0,n.\u0275getLocaleCurrencyCode)(N)}const Ue=n.\u0275getLocalePluralCase;function Ke(N){if(!N[n.\u0275LocaleDataIndex.ExtraData])throw new Error(`Missing extra locale data for the locale "${N[n.\u0275LocaleDataIndex.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Re(N){const re=(0,n.\u0275findLocaleData)(N);return Ke(re),(re[n.\u0275LocaleDataIndex.ExtraData][2]||[]).map(fe=>"string"==typeof fe?Je(fe):[Je(fe[0]),Je(fe[1])])}function V(N,re,k){const fe=(0,n.\u0275findLocaleData)(N);Ke(fe);const dt=xe([fe[n.\u0275LocaleDataIndex.ExtraData][0],fe[n.\u0275LocaleDataIndex.ExtraData][1]],re)||[];return xe(dt,k)||[]}function ge(N){return(0,n.\u0275findLocaleData)(N)[n.\u0275LocaleDataIndex.Directionality]}function xe(N,re){for(let k=re;k>-1;k--)if(void 0!==N[k])return N[k];throw new Error("Locale data API: locale data undefined")}function Je(N){const[re,k]=N.split(":");return{hours:+re,minutes:+k}}function st(N,re,k="en"){const fe=function Me(N){return(0,n.\u0275findLocaleData)(N)[n.\u0275LocaleDataIndex.Currencies]}(k)[N]||Te[N]||[],$e=fe[1];return"narrow"===re&&"string"==typeof $e?$e:fe[0]||N}function Tt(N){let re;const k=Te[N];return k&&(re=k[2]),"number"==typeof re?re:2}const Pt=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,He={},Ee=/((?:[^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 Ce=(()=>((Ce=Ce||{})[Ce.Short=0]="Short",Ce[Ce.ShortGMT=1]="ShortGMT",Ce[Ce.Long=2]="Long",Ce[Ce.Extended=3]="Extended",Ce))(),Ye=(()=>((Ye=Ye||{})[Ye.FullYear=0]="FullYear",Ye[Ye.Month=1]="Month",Ye[Ye.Date=2]="Date",Ye[Ye.Hours=3]="Hours",Ye[Ye.Minutes=4]="Minutes",Ye[Ye.Seconds=5]="Seconds",Ye[Ye.FractionalSeconds=6]="FractionalSeconds",Ye[Ye.Day=7]="Day",Ye))(),Xe=(()=>((Xe=Xe||{})[Xe.DayPeriods=0]="DayPeriods",Xe[Xe.Days=1]="Days",Xe[Xe.Months=2]="Months",Xe[Xe.Eras=3]="Eras",Xe))();function ot(N,re,k,fe){let $e=function je(N){if(Fe(N))return N;if("number"==typeof N&&!isNaN(N))return new Date(N);if("string"==typeof N){if(N=N.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(N)){const[$e,dt=1,vt=1]=N.split("-").map(kt=>+kt);return Dt($e,dt-1,vt)}const k=parseFloat(N);if(!isNaN(N-k))return new Date(k);let fe;if(fe=N.match(Pt))return function pe(N){const re=new Date(0);let k=0,fe=0;const $e=N[8]?re.setUTCFullYear:re.setFullYear,dt=N[8]?re.setUTCHours:re.setHours;N[9]&&(k=Number(N[9]+N[10]),fe=Number(N[9]+N[11])),$e.call(re,Number(N[1]),Number(N[2])-1,Number(N[3]));const vt=Number(N[4]||0)-k,kt=Number(N[5]||0)-fe,yn=Number(N[6]||0),dn=Math.floor(1e3*parseFloat("0."+(N[7]||0)));return dt.call(re,vt,kt,yn,dn),re}(fe)}const re=new Date(N);if(!Fe(re))throw new Error(`Unable to convert "${N}" into a date`);return re}(N);re=Oe(k,re)||re;let kt,vt=[];for(;re;){if(kt=Ee.exec(re),!kt){vt.push(re);break}{vt=vt.concat(kt.slice(1));const rn=vt.pop();if(!rn)break;re=rn}}let yn=$e.getTimezoneOffset();fe&&(yn=Lt(fe,yn),$e=function Pe(N,re,k){const fe=k?-1:1,$e=N.getTimezoneOffset();return function jt(N,re){return(N=new Date(N.getTime())).setMinutes(N.getMinutes()+re),N}(N,fe*(Lt(re,$e)-$e))}($e,fe,!0));let dn="";return vt.forEach(rn=>{const ln=function it(N){if(Ie[N])return Ie[N];let re;switch(N){case"G":case"GG":case"GGG":re=wt(Xe.Eras,W.Abbreviated);break;case"GGGG":re=wt(Xe.Eras,W.Wide);break;case"GGGGG":re=wt(Xe.Eras,W.Narrow);break;case"y":re=_t(Ye.FullYear,1,0,!1,!0);break;case"yy":re=_t(Ye.FullYear,2,0,!0,!0);break;case"yyy":re=_t(Ye.FullYear,3,0,!1,!0);break;case"yyyy":re=_t(Ye.FullYear,4,0,!1,!0);break;case"Y":re=U(1);break;case"YY":re=U(2,!0);break;case"YYY":re=U(3);break;case"YYYY":re=U(4);break;case"M":case"L":re=_t(Ye.Month,1,1);break;case"MM":case"LL":re=_t(Ye.Month,2,1);break;case"MMM":re=wt(Xe.Months,W.Abbreviated);break;case"MMMM":re=wt(Xe.Months,W.Wide);break;case"MMMMM":re=wt(Xe.Months,W.Narrow);break;case"LLL":re=wt(Xe.Months,W.Abbreviated,de.Standalone);break;case"LLLL":re=wt(Xe.Months,W.Wide,de.Standalone);break;case"LLLLL":re=wt(Xe.Months,W.Narrow,de.Standalone);break;case"w":re=M(1);break;case"ww":re=M(2);break;case"W":re=M(1,!0);break;case"d":re=_t(Ye.Date,1);break;case"dd":re=_t(Ye.Date,2);break;case"c":case"cc":re=_t(Ye.Day,1);break;case"ccc":re=wt(Xe.Days,W.Abbreviated,de.Standalone);break;case"cccc":re=wt(Xe.Days,W.Wide,de.Standalone);break;case"ccccc":re=wt(Xe.Days,W.Narrow,de.Standalone);break;case"cccccc":re=wt(Xe.Days,W.Short,de.Standalone);break;case"E":case"EE":case"EEE":re=wt(Xe.Days,W.Abbreviated);break;case"EEEE":re=wt(Xe.Days,W.Wide);break;case"EEEEE":re=wt(Xe.Days,W.Narrow);break;case"EEEEEE":re=wt(Xe.Days,W.Short);break;case"a":case"aa":case"aaa":re=wt(Xe.DayPeriods,W.Abbreviated);break;case"aaaa":re=wt(Xe.DayPeriods,W.Wide);break;case"aaaaa":re=wt(Xe.DayPeriods,W.Narrow);break;case"b":case"bb":case"bbb":re=wt(Xe.DayPeriods,W.Abbreviated,de.Standalone,!0);break;case"bbbb":re=wt(Xe.DayPeriods,W.Wide,de.Standalone,!0);break;case"bbbbb":re=wt(Xe.DayPeriods,W.Narrow,de.Standalone,!0);break;case"B":case"BB":case"BBB":re=wt(Xe.DayPeriods,W.Abbreviated,de.Format,!0);break;case"BBBB":re=wt(Xe.DayPeriods,W.Wide,de.Format,!0);break;case"BBBBB":re=wt(Xe.DayPeriods,W.Narrow,de.Format,!0);break;case"h":re=_t(Ye.Hours,1,-12);break;case"hh":re=_t(Ye.Hours,2,-12);break;case"H":re=_t(Ye.Hours,1);break;case"HH":re=_t(Ye.Hours,2);break;case"m":re=_t(Ye.Minutes,1);break;case"mm":re=_t(Ye.Minutes,2);break;case"s":re=_t(Ye.Seconds,1);break;case"ss":re=_t(Ye.Seconds,2);break;case"S":re=_t(Ye.FractionalSeconds,1);break;case"SS":re=_t(Ye.FractionalSeconds,2);break;case"SSS":re=_t(Ye.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":re=ue(Ce.Short);break;case"ZZZZZ":re=ue(Ce.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":re=ue(Ce.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":re=ue(Ce.Long);break;default:return null}return Ie[N]=re,re}(rn);dn+=ln?ln($e,k,yn):"''"===rn?"'":rn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),dn}function Dt(N,re,k){const fe=new Date(0);return fe.setFullYear(N,re,k),fe.setHours(0,0,0),fe}function Oe(N,re){const k=rt(N);if(He[k]=He[k]||{},He[k][re])return He[k][re];let fe="";switch(re){case"shortDate":fe=et(N,he.Short);break;case"mediumDate":fe=et(N,he.Medium);break;case"longDate":fe=et(N,he.Long);break;case"fullDate":fe=et(N,he.Full);break;case"shortTime":fe=Ne(N,he.Short);break;case"mediumTime":fe=Ne(N,he.Medium);break;case"longTime":fe=Ne(N,he.Long);break;case"fullTime":fe=Ne(N,he.Full);break;case"short":const $e=Oe(N,"shortTime"),dt=Oe(N,"shortDate");fe=ze(We(N,he.Short),[$e,dt]);break;case"medium":const vt=Oe(N,"mediumTime"),kt=Oe(N,"mediumDate");fe=ze(We(N,he.Medium),[vt,kt]);break;case"long":const yn=Oe(N,"longTime"),dn=Oe(N,"longDate");fe=ze(We(N,he.Long),[yn,dn]);break;case"full":const rn=Oe(N,"fullTime"),ln=Oe(N,"fullDate");fe=ze(We(N,he.Full),[rn,ln])}return fe&&(He[k][re]=fe),fe}function ze(N,re){return re&&(N=N.replace(/\{([^}]+)}/g,function(k,fe){return null!=re&&fe in re?re[fe]:k})),N}function ct(N,re,k="-",fe,$e){let dt="";(N<0||$e&&N<=0)&&($e?N=1-N:(N=-N,dt=k));let vt=String(N);for(;vt.length<re;)vt="0"+vt;return fe&&(vt=vt.substr(vt.length-re)),dt+vt}function _t(N,re,k=0,fe=!1,$e=!1){return function(dt,vt){let kt=function Ht(N,re){switch(N){case Ye.FullYear:return re.getFullYear();case Ye.Month:return re.getMonth();case Ye.Date:return re.getDate();case Ye.Hours:return re.getHours();case Ye.Minutes:return re.getMinutes();case Ye.Seconds:return re.getSeconds();case Ye.FractionalSeconds:return re.getMilliseconds();case Ye.Day:return re.getDay();default:throw new Error(`Unknown DateType value "${N}".`)}}(N,dt);if((k>0||kt>-k)&&(kt+=k),N===Ye.Hours)0===kt&&-12===k&&(kt=12);else if(N===Ye.FractionalSeconds)return function Ct(N,re){return ct(N,3).substr(0,re)}(kt,re);const yn=ft(vt,ce.MinusSign);return ct(kt,re,yn,fe,$e)}}function wt(N,re,k=de.Format,fe=!1){return function($e,dt){return function $t(N,re,k,fe,$e,dt){switch(k){case Xe.Months:return ht(re,$e,fe)[N.getMonth()];case Xe.Days:return Ge(re,$e,fe)[N.getDay()];case Xe.DayPeriods:const vt=N.getHours(),kt=N.getMinutes();if(dt){const dn=Re(re),rn=V(re,$e,fe),ln=dn.findIndex(In=>{if(Array.isArray(In)){const[j,F]=In,I=vt>=j.hours&&kt>=j.minutes,ie=vt<F.hours||vt===F.hours&&kt<F.minutes;if(j.hours<F.hours){if(I&&ie)return!0}else if(I||ie)return!0}else if(In.hours===vt&&In.minutes===kt)return!0;return!1});if(-1!==ln)return rn[ln]}return gt(re,$e,fe)[vt<12?0:1];case Xe.Eras:return qe(re,fe)[N.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${k}`)}}($e,dt,N,re,k,fe)}}function ue(N){return function(re,k,fe){const $e=-1*fe,dt=ft(k,ce.MinusSign),vt=$e>0?Math.floor($e/60):Math.ceil($e/60);switch(N){case Ce.Short:return($e>=0?"+":"")+ct(vt,2,dt)+ct(Math.abs($e%60),2,dt);case Ce.ShortGMT:return"GMT"+($e>=0?"+":"")+ct(vt,1,dt);case Ce.Long:return"GMT"+($e>=0?"+":"")+ct(vt,2,dt)+":"+ct(Math.abs($e%60),2,dt);case Ce.Extended:return 0===fe?"Z":($e>=0?"+":"")+ct(vt,2,dt)+":"+ct(Math.abs($e%60),2,dt);default:throw new Error(`Unknown zone width "${N}"`)}}}function le(N){return Dt(N.getFullYear(),N.getMonth(),N.getDate()+(4-N.getDay()))}function M(N,re=!1){return function(k,fe){let $e;if(re){const dt=new Date(k.getFullYear(),k.getMonth(),1).getDay()-1,vt=k.getDate();$e=1+Math.floor((vt+dt)/7)}else{const dt=le(k),vt=function P(N){const re=Dt(N,0,1).getDay();return Dt(N,0,1+(re<=4?4:11)-re)}(dt.getFullYear()),kt=dt.getTime()-vt.getTime();$e=1+Math.round(kt/6048e5)}return ct($e,N,ft(fe,ce.MinusSign))}}function U(N,re=!1){return function(k,fe){return ct(le(k).getFullYear(),N,ft(fe,ce.MinusSign),re)}}const Ie={};function Lt(N,re){N=N.replace(/:/g,"");const k=Date.parse("Jan 01, 1970 00:00:00 "+N)/6e4;return isNaN(k)?re:k}function Fe(N){return N instanceof Date&&!isNaN(N.valueOf())}const ut=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function Kn(N,re,k,fe,$e,dt,vt=!1){let kt="",yn=!1;if(isFinite(N)){let dn=function ne(N){let fe,$e,dt,vt,kt,re=Math.abs(N)+"",k=0;for(($e=re.indexOf("."))>-1&&(re=re.replace(".","")),(dt=re.search(/e/i))>0?($e<0&&($e=dt),$e+=+re.slice(dt+1),re=re.substring(0,dt)):$e<0&&($e=re.length),dt=0;"0"===re.charAt(dt);dt++);if(dt===(kt=re.length))fe=[0],$e=1;else{for(kt--;"0"===re.charAt(kt);)kt--;for($e-=dt,fe=[],vt=0;dt<=kt;dt++,vt++)fe[vt]=Number(re.charAt(dt))}return $e>22&&(fe=fe.splice(0,21),k=$e-1,$e=1),{digits:fe,exponent:k,integerLen:$e}}(N);vt&&(dn=function Ae(N){if(0===N.digits[0])return N;const re=N.digits.length-N.integerLen;return N.exponent?N.exponent+=2:(0===re?N.digits.push(0,0):1===re&&N.digits.push(0),N.integerLen+=2),N}(dn));let rn=re.minInt,ln=re.minFrac,In=re.maxFrac;if(dt){const Nt=dt.match(ut);if(null===Nt)throw new Error(`${dt} is not a valid digit info`);const Mn=Nt[1],Yn=Nt[3],Li=Nt[5];null!=Mn&&(rn=Ze(Mn)),null!=Yn&&(ln=Ze(Yn)),null!=Li?In=Ze(Li):null!=Yn&&ln>In&&(In=ln)}!function De(N,re,k){if(re>k)throw new Error(`The minimum number of digits after fraction (${re}) is higher than the maximum (${k}).`);let fe=N.digits,$e=fe.length-N.integerLen;const dt=Math.min(Math.max(re,$e),k);let vt=dt+N.integerLen,kt=fe[vt];if(vt>0){fe.splice(Math.max(N.integerLen,vt));for(let ln=vt;ln<fe.length;ln++)fe[ln]=0}else{$e=Math.max(0,$e),N.integerLen=1,fe.length=Math.max(1,vt=dt+1),fe[0]=0;for(let ln=1;ln<vt;ln++)fe[ln]=0}if(kt>=5)if(vt-1<0){for(let ln=0;ln>vt;ln--)fe.unshift(0),N.integerLen++;fe.unshift(1),N.integerLen++}else fe[vt-1]++;for(;$e<Math.max(0,dt);$e++)fe.push(0);let yn=0!==dt;const dn=re+N.integerLen,rn=fe.reduceRight(function(ln,In,j,F){return F[j]=(In+=ln)<10?In:In-10,yn&&(0===F[j]&&j>=dn?F.pop():yn=!1),In>=10?1:0},0);rn&&(fe.unshift(rn),N.integerLen++)}(dn,ln,In);let j=dn.digits,F=dn.integerLen;const I=dn.exponent;let ie=[];for(yn=j.every(Nt=>!Nt);F<rn;F++)j.unshift(0);for(;F<0;F++)j.unshift(0);F>0?ie=j.splice(F,j.length):(ie=j,j=[0]);const Qe=[];for(j.length>=re.lgSize&&Qe.unshift(j.splice(-re.lgSize,j.length).join(""));j.length>re.gSize;)Qe.unshift(j.splice(-re.gSize,j.length).join(""));j.length&&Qe.unshift(j.join("")),kt=Qe.join(ft(k,fe)),ie.length&&(kt+=ft(k,$e)+ie.join("")),I&&(kt+=ft(k,ce.Exponential)+"+"+I)}else kt=ft(k,ce.Infinity);return kt=N<0&&!yn?re.negPre+kt+re.negSuf:re.posPre+kt+re.posSuf,kt}function On(N,re,k,fe,$e){const vt=oe(ve(re,_e.Currency),ft(re,ce.MinusSign));return vt.minFrac=Tt(fe),vt.maxFrac=vt.minFrac,Kn(N,vt,re,ce.CurrencyGroup,ce.CurrencyDecimal,$e).replace("\xa4",k).replace("\xa4","").trim()}function It(N,re,k){return Kn(N,oe(ve(re,_e.Percent),ft(re,ce.MinusSign)),re,ce.Group,ce.Decimal,k,!0).replace(new RegExp("%","g"),ft(re,ce.PercentSign))}function Qt(N,re,k){return Kn(N,oe(ve(re,_e.Decimal),ft(re,ce.MinusSign)),re,ce.Group,ce.Decimal,k)}function oe(N,re="-"){const k={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},fe=N.split(";"),$e=fe[0],dt=fe[1],vt=-1!==$e.indexOf(".")?$e.split("."):[$e.substring(0,$e.lastIndexOf("0")+1),$e.substring($e.lastIndexOf("0")+1)],kt=vt[0],yn=vt[1]||"";k.posPre=kt.substr(0,kt.indexOf("#"));for(let rn=0;rn<yn.length;rn++){const ln=yn.charAt(rn);"0"===ln?k.minFrac=k.maxFrac=rn+1:"#"===ln?k.maxFrac=rn+1:k.posSuf+=ln}const dn=kt.split(",");if(k.gSize=dn[1]?dn[1].length:0,k.lgSize=dn[2]||dn[1]?(dn[2]||dn[1]).length:0,dt){const rn=$e.length-k.posPre.length-k.posSuf.length,ln=dt.indexOf("#");k.negPre=dt.substr(0,ln).replace(/'/g,""),k.negSuf=dt.substr(ln+rn).replace(/'/g,"")}else k.negPre=re+k.posPre,k.negSuf=k.posSuf;return k}function Ze(N){const re=parseInt(N);if(isNaN(re))throw new Error("Invalid integer literal when parsing "+N);return re}let at=(()=>{class N{}return N.\u0275fac=function(k){return new(k||N)},N.\u0275prov=n.\u0275\u0275defineInjectable({token:N,factory:function(k){let fe=null;return k?fe=new k:($e=n.\u0275\u0275inject(n.LOCALE_ID),fe=new Ut($e)),fe;var $e},providedIn:"root"}),N})();function Mt(N,re,k,fe){let $e=`=${N}`;if(re.indexOf($e)>-1||($e=k.getPluralCategory(N,fe),re.indexOf($e)>-1))return $e;if(re.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${N}"`)}let Ut=(()=>{class N extends at{constructor(k){super(),this.locale=k}getPluralCategory(k,fe){switch(Ue(fe||this.locale)(k)){case Y.Zero:return"zero";case Y.One:return"one";case Y.Two:return"two";case Y.Few:return"few";case Y.Many:return"many";default:return"other"}}}return N.\u0275fac=function(k){return new(k||N)(n.\u0275\u0275inject(n.LOCALE_ID))},N.\u0275prov=n.\u0275\u0275defineInjectable({token:N,factory:N.\u0275fac}),N})();function St(N,re,k){return(0,n.\u0275registerLocaleData)(N,re,k)}function _n(N,re){re=encodeURIComponent(re);for(const k of N.split(";")){const fe=k.indexOf("="),[$e,dt]=-1==fe?[k,""]:[k.slice(0,fe),k.slice(fe+1)];if($e.trim()===re)return decodeURIComponent(dt)}return null}let sn=(()=>{class N{constructor(k,fe,$e,dt){this._iterableDiffers=k,this._keyValueDiffers=fe,this._ngEl=$e,this._renderer=dt,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(k){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof k?k.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(k){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof k?k.split(/\s+/):k,this._rawClass&&((0,n.\u0275isListLikeIterable)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const k=this._iterableDiffer.diff(this._rawClass);k&&this._applyIterableChanges(k)}else if(this._keyValueDiffer){const k=this._keyValueDiffer.diff(this._rawClass);k&&this._applyKeyValueChanges(k)}}_applyKeyValueChanges(k){k.forEachAddedItem(fe=>this._toggleClass(fe.key,fe.currentValue)),k.forEachChangedItem(fe=>this._toggleClass(fe.key,fe.currentValue)),k.forEachRemovedItem(fe=>{fe.previousValue&&this._toggleClass(fe.key,!1)})}_applyIterableChanges(k){k.forEachAddedItem(fe=>{if("string"!=typeof fe.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,n.\u0275stringify)(fe.item)}`);this._toggleClass(fe.item,!0)}),k.forEachRemovedItem(fe=>this._toggleClass(fe.item,!1))}_applyClasses(k){k&&(Array.isArray(k)||k instanceof Set?k.forEach(fe=>this._toggleClass(fe,!0)):Object.keys(k).forEach(fe=>this._toggleClass(fe,!!k[fe])))}_removeClasses(k){k&&(Array.isArray(k)||k instanceof Set?k.forEach(fe=>this._toggleClass(fe,!1)):Object.keys(k).forEach(fe=>this._toggleClass(fe,!1)))}_toggleClass(k,fe){(k=k.trim())&&k.split(/\s+/g).forEach($e=>{fe?this._renderer.addClass(this._ngEl.nativeElement,$e):this._renderer.removeClass(this._ngEl.nativeElement,$e)})}}return N.\u0275fac=function(k){return new(k||N)(n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(n.KeyValueDiffers),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2))},N.\u0275dir=n.\u0275\u0275defineDirective({type:N,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),N})(),fn=(()=>{class N{constructor(k){this._viewContainerRef=k,this._componentRef=null,this._moduleRef=null}ngOnChanges(k){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){const fe=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(k.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){const vt=fe.get(n.NgModuleRef);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(vt.injector)}else this._moduleRef=null;const dt=(this._moduleRef?this._moduleRef.componentFactoryResolver:fe.get(n.ComponentFactoryResolver)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(dt,this._viewContainerRef.length,fe,this.ngComponentOutletContent)}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return N.\u0275fac=function(k){return new(k||N)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},N.\u0275dir=n.\u0275\u0275defineDirective({type:N,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[n.\u0275\u0275NgOnChangesFeature]}),N})();class qt{constructor(re,k,fe,$e){this.$implicit=re,this.ngForOf=k,this.index=fe,this.count=$e}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 vn=(()=>{class N{constructor(k,fe,$e){this._viewContainer=k,this._template=fe,this._differs=$e,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(k){this._ngForOf=k,this._ngForOfDirty=!0}set ngForTrackBy(k){this._trackByFn=k}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(k){k&&(this._template=k)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const k=this._ngForOf;!this._differ&&k&&(this._differ=this._differs.find(k).create(this.ngForTrackBy))}if(this._differ){const k=this._differ.diff(this._ngForOf);k&&this._applyChanges(k)}}_applyChanges(k){const fe=this._viewContainer;k.forEachOperation(($e,dt,vt)=>{if(null==$e.previousIndex)fe.createEmbeddedView(this._template,new qt($e.item,this._ngForOf,-1,-1),null===vt?void 0:vt);else if(null==vt)fe.remove(null===dt?void 0:dt);else if(null!==dt){const kt=fe.get(dt);fe.move(kt,vt),qn(kt,$e)}});for(let $e=0,dt=fe.length;$e<dt;$e++){const kt=fe.get($e).context;kt.index=$e,kt.count=dt,kt.ngForOf=this._ngForOf}k.forEachIdentityChange($e=>{qn(fe.get($e.currentIndex),$e)})}static ngTemplateContextGuard(k,fe){return!0}}return N.\u0275fac=function(k){return new(k||N)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))},N.\u0275dir=n.\u0275\u0275defineDirective({type:N,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),N})();function qn(N,re){N.context.$implicit=re.item}let hn=(()=>{class N{constructor(k,fe){this._viewContainer=k,this._context=new tn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=fe}set ngIf(k){this._context.$implicit=this._context.ngIf=k,this._updateView()}set ngIfThen(k){ei("ngIfThen",k),this._thenTemplateRef=k,this._thenViewRef=null,this._updateView()}set ngIfElse(k){ei("ngIfElse",k),this._elseTemplateRef=k,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(k,fe){return!0}}return N.\u0275fac=function(k){return new(k||N)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef))},N.\u0275dir=n.\u0275\u0275defineDirective({type:N,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),N})();class tn{constructor(){this.$implicit=null,this.ngIf=null}}function ei(N,re){if(re&&!re.createEmbeddedView)throw new Error(`${N} must be a TemplateRef, but received '${(0,n.\u0275stringify)(re)}'.`)}class Ci{constructor(re,k){this._viewContainerRef=re,this._templateRef=k,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(re){re&&!this._created?this.create():!re&&this._created&&this.destroy()}}let wn=(()=>{class N{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(k){this._ngSwitch=k,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(k){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(k)}_matchCase(k){const fe=k==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||fe,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),fe}_updateDefaultCases(k){if(this._defaultViews&&k!==this._defaultUsed){this._defaultUsed=k;for(let fe=0;fe<this._defaultViews.length;fe++)this._defaultViews[fe].enforceState(k)}}}return N.\u0275fac=function(k){return new(k||N)},N.\u0275dir=n.\u0275\u0275defineDirective({type:N,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),N})(),An=(()=>{class N{constructor(k,fe,$e){this.ngSwitch=$e,$e._addCase(),this._view=new Ci(k,fe)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return N.\u0275fac=function(k){return new(k||N)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(wn,9))},N.\u0275dir=n.\u0275\u0275defineDirective({type:N,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),N})(),hi=(()=>{class N{constructor(k,fe,$e){$e._addDefault(new Ci(k,fe))}}return N.\u0275fac=function(k){return new(k||N)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(wn,9))},N.\u0275dir=n.\u0275\u0275defineDirective({type:N,selectors:[["","ngSwitchDefault",""]]}),N})(),ai=(()=>{class N{constructor(k){this._localization=k,this._caseViews={}}set ngPlural(k){this._switchValue=k,this._updateView()}addCase(k,fe){this._caseViews[k]=fe}_updateView(){this._clearViews();const k=Object.keys(this._caseViews),fe=Mt(this._switchValue,k,this._localization);this._activateView(this._caseViews[fe])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(k){k&&(this._activeView=k,this._activeView.create())}}return N.\u0275fac=function(k){return new(k||N)(n.\u0275\u0275directiveInject(at))},N.\u0275dir=n.\u0275\u0275defineDirective({type:N,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"}}),N})(),zn=(()=>{class N{constructor(k,fe,$e,dt){this.value=k;const vt=!isNaN(Number(k));dt.addCase(vt?`=${k}`:k,new Ci($e,fe))}}return N.\u0275fac=function(k){return new(k||N)(n.\u0275\u0275injectAttribute("ngPluralCase"),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(ai,1))},N.\u0275dir=n.\u0275\u0275defineDirective({type:N,selectors:[["","ngPluralCase",""]]}),N})(),wr=(()=>{class N{constructor(k,fe,$e){this._ngEl=k,this._differs=fe,this._renderer=$e,this._ngStyle=null,this._differ=null}set ngStyle(k){this._ngStyle=k,!this._differ&&k&&(this._differ=this._differs.find(k).create())}ngDoCheck(){if(this._differ){const k=this._differ.diff(this._ngStyle);k&&this._applyChanges(k)}}_setStyle(k,fe){const[$e,dt]=k.split(".");null!=(fe=null!=fe&&dt?`${fe}${dt}`:fe)?this._renderer.setStyle(this._ngEl.nativeElement,$e,fe):this._renderer.removeStyle(this._ngEl.nativeElement,$e)}_applyChanges(k){k.forEachRemovedItem(fe=>this._setStyle(fe.key,null)),k.forEachAddedItem(fe=>this._setStyle(fe.key,fe.currentValue)),k.forEachChangedItem(fe=>this._setStyle(fe.key,fe.currentValue))}}return N.\u0275fac=function(k){return new(k||N)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.KeyValueDiffers),n.\u0275\u0275directiveInject(n.Renderer2))},N.\u0275dir=n.\u0275\u0275defineDirective({type:N,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),N})(),ur=(()=>{class N{constructor(k){this._viewContainerRef=k,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(k){if(k.ngTemplateOutlet){const fe=this._viewContainerRef;this._viewRef&&fe.remove(fe.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?fe.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&k.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return N.\u0275fac=function(k){return new(k||N)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},N.\u0275dir=n.\u0275\u0275defineDirective({type:N,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[n.\u0275\u0275NgOnChangesFeature]}),N})();function kn(N,re){return new n.\u0275RuntimeError(2100,"")}class kr{createSubscription(re,k){return re.subscribe({next:k,error:fe=>{throw fe}})}dispose(re){re.unsubscribe()}onDestroy(re){re.unsubscribe()}}class Ei{createSubscription(re,k){return re.then(k,fe=>{throw fe})}dispose(re){}onDestroy(re){}}const Ai=new Ei,Ki=new kr;let Qi=(()=>{class N{constructor(k){this._ref=k,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(k){return this._obj?k!==this._obj?(this._dispose(),this.transform(k)):this._latestValue:(k&&this._subscribe(k),this._latestValue)}_subscribe(k){this._obj=k,this._strategy=this._selectStrategy(k),this._subscription=this._strategy.createSubscription(k,fe=>this._updateLatestValue(k,fe))}_selectStrategy(k){if((0,n.\u0275isPromise)(k))return Ai;if((0,n.\u0275isSubscribable)(k))return Ki;throw kn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(k,fe){k===this._obj&&(this._latestValue=fe,this._ref.markForCheck())}}return N.\u0275fac=function(k){return new(k||N)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef,16))},N.\u0275pipe=n.\u0275\u0275definePipe({name:"async",type:N,pure:!1}),N})(),dr=(()=>{class N{transform(k){if(null==k)return null;if("string"!=typeof k)throw kn();return k.toLowerCase()}}return N.\u0275fac=function(k){return new(k||N)},N.\u0275pipe=n.\u0275\u0275definePipe({name:"lowercase",type:N,pure:!0}),N})();const Yi=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let Nr=(()=>{class N{transform(k){if(null==k)return null;if("string"!=typeof k)throw kn();return k.replace(Yi,fe=>fe[0].toUpperCase()+fe.substr(1).toLowerCase())}}return N.\u0275fac=function(k){return new(k||N)},N.\u0275pipe=n.\u0275\u0275definePipe({name:"titlecase",type:N,pure:!0}),N})(),yi=(()=>{class N{transform(k){if(null==k)return null;if("string"!=typeof k)throw kn();return k.toUpperCase()}}return N.\u0275fac=function(k){return new(k||N)},N.\u0275pipe=n.\u0275\u0275definePipe({name:"uppercase",type:N,pure:!0}),N})();const Lr=new n.InjectionToken("DATE_PIPE_DEFAULT_TIMEZONE");let Ri=(()=>{class N{constructor(k,fe){this.locale=k,this.defaultTimezone=fe}transform(k,fe="mediumDate",$e,dt){var vt;if(null==k||""===k||k!=k)return null;try{return ot(k,fe,dt||this.locale,null!==(vt=null!=$e?$e:this.defaultTimezone)&&void 0!==vt?vt:void 0)}catch(kt){throw kn()}}}return N.\u0275fac=function(k){return new(k||N)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(Lr,24))},N.\u0275pipe=n.\u0275\u0275definePipe({name:"date",type:N,pure:!0}),N})();const Mr=/#/g;let Sr=(()=>{class N{constructor(k){this._localization=k}transform(k,fe,$e){if(null==k)return"";if("object"!=typeof fe||null===fe)throw kn();return fe[Mt(k,Object.keys(fe),this._localization,$e)].replace(Mr,k.toString())}}return N.\u0275fac=function(k){return new(k||N)(n.\u0275\u0275directiveInject(at,16))},N.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nPlural",type:N,pure:!0}),N})(),xi=(()=>{class N{transform(k,fe){if(null==k)return"";if("object"!=typeof fe||"string"!=typeof k)throw kn();return fe.hasOwnProperty(k)?fe[k]:fe.hasOwnProperty("other")?fe.other:""}}return N.\u0275fac=function(k){return new(k||N)},N.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nSelect",type:N,pure:!0}),N})(),Ti=(()=>{class N{transform(k){return JSON.stringify(k,null,2)}}return N.\u0275fac=function(k){return new(k||N)},N.\u0275pipe=n.\u0275\u0275definePipe({name:"json",type:N,pure:!1}),N})(),Or=(()=>{class N{constructor(k){this.differs=k,this.keyValues=[],this.compareFn=Fi}transform(k,fe=Fi){if(!k||!(k instanceof Map)&&"object"!=typeof k)return null;this.differ||(this.differ=this.differs.find(k).create());const $e=this.differ.diff(k),dt=fe!==this.compareFn;return $e&&(this.keyValues=[],$e.forEachItem(vt=>{this.keyValues.push(function Di(N,re){return{key:N,value:re}}(vt.key,vt.currentValue))})),($e||dt)&&(this.keyValues.sort(fe),this.compareFn=fe),this.keyValues}}return N.\u0275fac=function(k){return new(k||N)(n.\u0275\u0275directiveInject(n.KeyValueDiffers,16))},N.\u0275pipe=n.\u0275\u0275definePipe({name:"keyvalue",type:N,pure:!1}),N})();function Fi(N,re){const k=N.key,fe=re.key;if(k===fe)return 0;if(void 0===k)return 1;if(void 0===fe)return-1;if(null===k)return 1;if(null===fe)return-1;if("string"==typeof k&&"string"==typeof fe)return k<fe?-1:1;if("number"==typeof k&&"number"==typeof fe)return k-fe;if("boolean"==typeof k&&"boolean"==typeof fe)return k<fe?-1:1;const $e=String(k),dt=String(fe);return $e==dt?0:$e<dt?-1:1}let fr=(()=>{class N{constructor(k){this._locale=k}transform(k,fe,$e){if(!_i(k))return null;$e=$e||this._locale;try{return Qt(Zi(k),$e,fe)}catch(dt){throw kn()}}}return N.\u0275fac=function(k){return new(k||N)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))},N.\u0275pipe=n.\u0275\u0275definePipe({name:"number",type:N,pure:!0}),N})(),li=(()=>{class N{constructor(k){this._locale=k}transform(k,fe,$e){if(!_i(k))return null;$e=$e||this._locale;try{return It(Zi(k),$e,fe)}catch(dt){throw kn()}}}return N.\u0275fac=function(k){return new(k||N)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))},N.\u0275pipe=n.\u0275\u0275definePipe({name:"percent",type:N,pure:!0}),N})(),ki=(()=>{class N{constructor(k,fe="USD"){this._locale=k,this._defaultCurrencyCode=fe}transform(k,fe=this._defaultCurrencyCode,$e="symbol",dt,vt){if(!_i(k))return null;vt=vt||this._locale,"boolean"==typeof $e&&($e=$e?"symbol":"code");let kt=fe||this._defaultCurrencyCode;"code"!==$e&&(kt="symbol"===$e||"symbol-narrow"===$e?st(kt,"symbol"===$e?"wide":"narrow",vt):$e);try{return On(Zi(k),vt,kt,fe,dt)}catch(yn){throw kn()}}}return N.\u0275fac=function(k){return new(k||N)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(n.DEFAULT_CURRENCY_CODE,16))},N.\u0275pipe=n.\u0275\u0275definePipe({name:"currency",type:N,pure:!0}),N})();function _i(N){return!(null==N||""===N||N!=N)}function Zi(N){if("string"==typeof N&&!isNaN(Number(N)-parseFloat(N)))return Number(N);if("number"!=typeof N)throw new Error(`${N} is not a number`);return N}let wi=(()=>{class N{transform(k,fe,$e){if(null==k)return null;if(!this.supports(k))throw kn();return k.slice(fe,$e)}supports(k){return"string"==typeof k||Array.isArray(k)}}return N.\u0275fac=function(k){return new(k||N)},N.\u0275pipe=n.\u0275\u0275definePipe({name:"slice",type:N,pure:!1}),N})(),Ji=(()=>{class N{}return N.\u0275fac=function(k){return new(k||N)},N.\u0275mod=n.\u0275\u0275defineNgModule({type:N}),N.\u0275inj=n.\u0275\u0275defineInjector({}),N})();const Mi="browser",Xi="server",ti="browserWorkerApp",pr="browserWorkerUi";function Ln(N){return N===Mi}function Ni(N){return N===Xi}function qi(N){return N===ti}function jn(N){return N===pr}const er=new n.Version("13.2.6");let $n=(()=>{class N{}return N.\u0275prov=(0,n.\u0275\u0275defineInjectable)({token:N,providedIn:"root",factory:()=>new Wn((0,n.\u0275\u0275inject)(f),window)}),N})();class Wn{constructor(re,k){this.document=re,this.window=k,this.offset=()=>[0,0]}setOffset(re){this.offset=Array.isArray(re)?()=>re:re}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(re){this.supportsScrolling()&&this.window.scrollTo(re[0],re[1])}scrollToAnchor(re){if(!this.supportsScrolling())return;const k=function Qn(N,re){const k=N.getElementById(re)||N.getElementsByName(re)[0];if(k)return k;if("function"==typeof N.createTreeWalker&&N.body&&(N.body.createShadowRoot||N.body.attachShadow)){const fe=N.createTreeWalker(N.body,NodeFilter.SHOW_ELEMENT);let $e=fe.currentNode;for(;$e;){const dt=$e.shadowRoot;if(dt){const vt=dt.getElementById(re)||dt.querySelector(`[name="${re}"]`);if(vt)return vt}$e=fe.nextNode()}}return null}(this.document,re);k&&(this.scrollToElement(k),k.focus())}setHistoryScrollRestoration(re){if(this.supportScrollRestoration()){const k=this.window.history;k&&k.scrollRestoration&&(k.scrollRestoration=re)}}scrollToElement(re){const k=re.getBoundingClientRect(),fe=k.left+this.window.pageXOffset,$e=k.top+this.window.pageYOffset,dt=this.offset();this.window.scrollTo(fe-dt[0],$e-dt[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const re=ni(this.window.history)||ni(Object.getPrototypeOf(this.window.history));return!(!re||!re.writable&&!re.set)}catch(re){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(re){return!1}}}function ni(N){return Object.getOwnPropertyDescriptor(N,"scrollRestoration")}class jr{setOffset(re){}getScrollPosition(){return[0,0]}scrollToPosition(re){}scrollToAnchor(re){}setHistoryScrollRestoration(re){}}class Tn{}},6529:(G,r,a)=>{"use strict";a.r(r),a.d(r,{HTTP_INTERCEPTORS:()=>Ge,HttpBackend:()=>_,HttpClient:()=>rt,HttpClientJsonpModule:()=>Tt,HttpClientModule:()=>Et,HttpClientXsrfModule:()=>st,HttpContext:()=>J,HttpContextToken:()=>Q,HttpErrorResponse:()=>ce,HttpEventType:()=>Y,HttpHandler:()=>u,HttpHeaderResponse:()=>W,HttpHeaders:()=>v,HttpParams:()=>Z,HttpRequest:()=>_e,HttpResponse:()=>he,HttpResponseBase:()=>de,HttpUrlEncodingCodec:()=>b,HttpXhrBackend:()=>te,HttpXsrfTokenExtractor:()=>Ke,JsonpClientBackend:()=>ft,JsonpInterceptor:()=>ve,XhrFactory:()=>Pt,\u0275HttpInterceptingHandler:()=>ge});var n=a(9808),h=a(5e3),y=a(9646),d=a(8306),o=a(5577),c=a(576),p=a(9300),m=a(4004);class u{}class _{}class v{constructor(Ee){this.normalizedNames=new Map,this.lazyUpdate=null,Ee?this.lazyInit="string"==typeof Ee?()=>{this.headers=new Map,Ee.split("\n").forEach(Ce=>{const Ye=Ce.indexOf(":");if(Ye>0){const Xe=Ce.slice(0,Ye),ot=Xe.toLowerCase(),Dt=Ce.slice(Ye+1).trim();this.maybeSetNormalizedName(Xe,ot),this.headers.has(ot)?this.headers.get(ot).push(Dt):this.headers.set(ot,[Dt])}})}:()=>{this.headers=new Map,Object.keys(Ee).forEach(Ce=>{let Ye=Ee[Ce];const Xe=Ce.toLowerCase();"string"==typeof Ye&&(Ye=[Ye]),Ye.length>0&&(this.headers.set(Xe,Ye),this.maybeSetNormalizedName(Ce,Xe))})}:this.headers=new Map}has(Ee){return this.init(),this.headers.has(Ee.toLowerCase())}get(Ee){this.init();const Ce=this.headers.get(Ee.toLowerCase());return Ce&&Ce.length>0?Ce[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Ee){return this.init(),this.headers.get(Ee.toLowerCase())||null}append(Ee,Ce){return this.clone({name:Ee,value:Ce,op:"a"})}set(Ee,Ce){return this.clone({name:Ee,value:Ce,op:"s"})}delete(Ee,Ce){return this.clone({name:Ee,value:Ce,op:"d"})}maybeSetNormalizedName(Ee,Ce){this.normalizedNames.has(Ce)||this.normalizedNames.set(Ce,Ee)}init(){this.lazyInit&&(this.lazyInit instanceof v?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Ee=>this.applyUpdate(Ee)),this.lazyUpdate=null))}copyFrom(Ee){Ee.init(),Array.from(Ee.headers.keys()).forEach(Ce=>{this.headers.set(Ce,Ee.headers.get(Ce)),this.normalizedNames.set(Ce,Ee.normalizedNames.get(Ce))})}clone(Ee){const Ce=new v;return Ce.lazyInit=this.lazyInit&&this.lazyInit instanceof v?this.lazyInit:this,Ce.lazyUpdate=(this.lazyUpdate||[]).concat([Ee]),Ce}applyUpdate(Ee){const Ce=Ee.name.toLowerCase();switch(Ee.op){case"a":case"s":let Ye=Ee.value;if("string"==typeof Ye&&(Ye=[Ye]),0===Ye.length)return;this.maybeSetNormalizedName(Ee.name,Ce);const Xe=("a"===Ee.op?this.headers.get(Ce):void 0)||[];Xe.push(...Ye),this.headers.set(Ce,Xe);break;case"d":const ot=Ee.value;if(ot){let Dt=this.headers.get(Ce);if(!Dt)return;Dt=Dt.filter(Oe=>-1===ot.indexOf(Oe)),0===Dt.length?(this.headers.delete(Ce),this.normalizedNames.delete(Ce)):this.headers.set(Ce,Dt)}else this.headers.delete(Ce),this.normalizedNames.delete(Ce)}}forEach(Ee){this.init(),Array.from(this.normalizedNames.keys()).forEach(Ce=>Ee(this.normalizedNames.get(Ce),this.headers.get(Ce)))}}class b{encodeKey(Ee){return A(Ee)}encodeValue(Ee){return A(Ee)}decodeKey(Ee){return decodeURIComponent(Ee)}decodeValue(Ee){return decodeURIComponent(Ee)}}const S=/%(\d[a-f0-9])/gi,x={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function A(He){return encodeURIComponent(He).replace(S,(Ee,Ce)=>{var Ye;return null!==(Ye=x[Ce])&&void 0!==Ye?Ye:Ee})}function H(He){return`${He}`}class Z{constructor(Ee={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Ee.encoder||new b,Ee.fromString){if(Ee.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function T(He,Ee){const Ce=new Map;return He.length>0&&He.replace(/^\?/,"").split("&").forEach(Xe=>{const ot=Xe.indexOf("="),[Dt,Oe]=-1==ot?[Ee.decodeKey(Xe),""]:[Ee.decodeKey(Xe.slice(0,ot)),Ee.decodeValue(Xe.slice(ot+1))],ze=Ce.get(Dt)||[];ze.push(Oe),Ce.set(Dt,ze)}),Ce}(Ee.fromString,this.encoder)}else Ee.fromObject?(this.map=new Map,Object.keys(Ee.fromObject).forEach(Ce=>{const Ye=Ee.fromObject[Ce];this.map.set(Ce,Array.isArray(Ye)?Ye:[Ye])})):this.map=null}has(Ee){return this.init(),this.map.has(Ee)}get(Ee){this.init();const Ce=this.map.get(Ee);return Ce?Ce[0]:null}getAll(Ee){return this.init(),this.map.get(Ee)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Ee,Ce){return this.clone({param:Ee,value:Ce,op:"a"})}appendAll(Ee){const Ce=[];return Object.keys(Ee).forEach(Ye=>{const Xe=Ee[Ye];Array.isArray(Xe)?Xe.forEach(ot=>{Ce.push({param:Ye,value:ot,op:"a"})}):Ce.push({param:Ye,value:Xe,op:"a"})}),this.clone(Ce)}set(Ee,Ce){return this.clone({param:Ee,value:Ce,op:"s"})}delete(Ee,Ce){return this.clone({param:Ee,value:Ce,op:"d"})}toString(){return this.init(),this.keys().map(Ee=>{const Ce=this.encoder.encodeKey(Ee);return this.map.get(Ee).map(Ye=>Ce+"="+this.encoder.encodeValue(Ye)).join("&")}).filter(Ee=>""!==Ee).join("&")}clone(Ee){const Ce=new Z({encoder:this.encoder});return Ce.cloneFrom=this.cloneFrom||this,Ce.updates=(this.updates||[]).concat(Ee),Ce}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Ee=>this.map.set(Ee,this.cloneFrom.map.get(Ee))),this.updates.forEach(Ee=>{switch(Ee.op){case"a":case"s":const Ce=("a"===Ee.op?this.map.get(Ee.param):void 0)||[];Ce.push(H(Ee.value)),this.map.set(Ee.param,Ce);break;case"d":if(void 0===Ee.value){this.map.delete(Ee.param);break}{let Ye=this.map.get(Ee.param)||[];const Xe=Ye.indexOf(H(Ee.value));-1!==Xe&&Ye.splice(Xe,1),Ye.length>0?this.map.set(Ee.param,Ye):this.map.delete(Ee.param)}}}),this.cloneFrom=this.updates=null)}}class Q{constructor(Ee){this.defaultValue=Ee}}class J{constructor(){this.map=new Map}set(Ee,Ce){return this.map.set(Ee,Ce),this}get(Ee){return this.map.has(Ee)||this.map.set(Ee,Ee.defaultValue()),this.map.get(Ee)}delete(Ee){return this.map.delete(Ee),this}has(Ee){return this.map.has(Ee)}keys(){return this.map.keys()}}function se(He){return"undefined"!=typeof ArrayBuffer&&He instanceof ArrayBuffer}function ae(He){return"undefined"!=typeof Blob&&He instanceof Blob}function me(He){return"undefined"!=typeof FormData&&He instanceof FormData}class _e{constructor(Ee,Ce,Ye,Xe){let ot;if(this.url=Ce,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Ee.toUpperCase(),function z(He){switch(He){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Xe?(this.body=void 0!==Ye?Ye:null,ot=Xe):ot=Ye,ot&&(this.reportProgress=!!ot.reportProgress,this.withCredentials=!!ot.withCredentials,ot.responseType&&(this.responseType=ot.responseType),ot.headers&&(this.headers=ot.headers),ot.context&&(this.context=ot.context),ot.params&&(this.params=ot.params)),this.headers||(this.headers=new v),this.context||(this.context=new J),this.params){const Dt=this.params.toString();if(0===Dt.length)this.urlWithParams=Ce;else{const Oe=Ce.indexOf("?");this.urlWithParams=Ce+(-1===Oe?"?":Oe<Ce.length-1?"&":"")+Dt}}else this.params=new Z,this.urlWithParams=Ce}serializeBody(){return null===this.body?null:se(this.body)||ae(this.body)||me(this.body)||function Te(He){return"undefined"!=typeof URLSearchParams&&He instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Z?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||me(this.body)?null:ae(this.body)?this.body.type||null:se(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Z?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(Ee={}){var Ce;const Ye=Ee.method||this.method,Xe=Ee.url||this.url,ot=Ee.responseType||this.responseType,Dt=void 0!==Ee.body?Ee.body:this.body,Oe=void 0!==Ee.withCredentials?Ee.withCredentials:this.withCredentials,ze=void 0!==Ee.reportProgress?Ee.reportProgress:this.reportProgress;let ct=Ee.headers||this.headers,Ct=Ee.params||this.params;const _t=null!==(Ce=Ee.context)&&void 0!==Ce?Ce:this.context;return void 0!==Ee.setHeaders&&(ct=Object.keys(Ee.setHeaders).reduce((Ht,wt)=>Ht.set(wt,Ee.setHeaders[wt]),ct)),Ee.setParams&&(Ct=Object.keys(Ee.setParams).reduce((Ht,wt)=>Ht.set(wt,Ee.setParams[wt]),Ct)),new _e(Ye,Xe,Dt,{params:Ct,headers:ct,context:_t,reportProgress:ze,responseType:ot,withCredentials:Oe})}}var Y=(()=>((Y=Y||{})[Y.Sent=0]="Sent",Y[Y.UploadProgress=1]="UploadProgress",Y[Y.ResponseHeader=2]="ResponseHeader",Y[Y.DownloadProgress=3]="DownloadProgress",Y[Y.Response=4]="Response",Y[Y.User=5]="User",Y))();class de{constructor(Ee,Ce=200,Ye="OK"){this.headers=Ee.headers||new v,this.status=void 0!==Ee.status?Ee.status:Ce,this.statusText=Ee.statusText||Ye,this.url=Ee.url||null,this.ok=this.status>=200&&this.status<300}}class W extends de{constructor(Ee={}){super(Ee),this.type=Y.ResponseHeader}clone(Ee={}){return new W({headers:Ee.headers||this.headers,status:void 0!==Ee.status?Ee.status:this.status,statusText:Ee.statusText||this.statusText,url:Ee.url||this.url||void 0})}}class he extends de{constructor(Ee={}){super(Ee),this.type=Y.Response,this.body=void 0!==Ee.body?Ee.body:null}clone(Ee={}){return new he({body:void 0!==Ee.body?Ee.body:this.body,headers:Ee.headers||this.headers,status:void 0!==Ee.status?Ee.status:this.status,statusText:Ee.statusText||this.statusText,url:Ee.url||this.url||void 0})}}class ce extends de{constructor(Ee){super(Ee,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Ee.url||"(unknown url)"}`:`Http failure response for ${Ee.url||"(unknown url)"}: ${Ee.status} ${Ee.statusText}`,this.error=Ee.error||null}}function Se(He,Ee){return{body:Ee,headers:He.headers,context:He.context,observe:He.observe,params:He.params,reportProgress:He.reportProgress,responseType:He.responseType,withCredentials:He.withCredentials}}let rt=(()=>{class He{constructor(Ce){this.handler=Ce}request(Ce,Ye,Xe={}){let ot;if(Ce instanceof _e)ot=Ce;else{let ze,ct;ze=Xe.headers instanceof v?Xe.headers:new v(Xe.headers),Xe.params&&(ct=Xe.params instanceof Z?Xe.params:new Z({fromObject:Xe.params})),ot=new _e(Ce,Ye,void 0!==Xe.body?Xe.body:null,{headers:ze,context:Xe.context,params:ct,reportProgress:Xe.reportProgress,responseType:Xe.responseType||"json",withCredentials:Xe.withCredentials})}const Dt=(0,y.of)(ot).pipe(function f(He,Ee){return(0,c.m)(Ee)?(0,o.z)(He,Ee,1):(0,o.z)(He,1)}(ze=>this.handler.handle(ze)));if(Ce instanceof _e||"events"===Xe.observe)return Dt;const Oe=Dt.pipe((0,p.h)(ze=>ze instanceof he));switch(Xe.observe||"body"){case"body":switch(ot.responseType){case"arraybuffer":return Oe.pipe((0,m.U)(ze=>{if(null!==ze.body&&!(ze.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return ze.body}));case"blob":return Oe.pipe((0,m.U)(ze=>{if(null!==ze.body&&!(ze.body instanceof Blob))throw new Error("Response is not a Blob.");return ze.body}));case"text":return Oe.pipe((0,m.U)(ze=>{if(null!==ze.body&&"string"!=typeof ze.body)throw new Error("Response is not a string.");return ze.body}));default:return Oe.pipe((0,m.U)(ze=>ze.body))}case"response":return Oe;default:throw new Error(`Unreachable: unhandled observe type ${Xe.observe}}`)}}delete(Ce,Ye={}){return this.request("DELETE",Ce,Ye)}get(Ce,Ye={}){return this.request("GET",Ce,Ye)}head(Ce,Ye={}){return this.request("HEAD",Ce,Ye)}jsonp(Ce,Ye){return this.request("JSONP",Ce,{params:(new Z).append(Ye,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Ce,Ye={}){return this.request("OPTIONS",Ce,Ye)}patch(Ce,Ye,Xe={}){return this.request("PATCH",Ce,Se(Xe,Ye))}post(Ce,Ye,Xe={}){return this.request("POST",Ce,Se(Xe,Ye))}put(Ce,Ye,Xe={}){return this.request("PUT",Ce,Se(Xe,Ye))}}return He.\u0275fac=function(Ce){return new(Ce||He)(h.\u0275\u0275inject(u))},He.\u0275prov=h.\u0275\u0275defineInjectable({token:He,factory:He.\u0275fac}),He})();class gt{constructor(Ee,Ce){this.next=Ee,this.interceptor=Ce}handle(Ee){return this.interceptor.intercept(Ee,this.next)}}const Ge=new h.InjectionToken("HTTP_INTERCEPTORS");let lt,ht=(()=>{class He{intercept(Ce,Ye){return Ye.handle(Ce)}}return He.\u0275fac=function(Ce){return new(Ce||He)},He.\u0275prov=h.\u0275\u0275defineInjectable({token:He,factory:He.\u0275fac}),He})(),qe=0;class We{}let ft=(()=>{class He{constructor(Ce,Ye){this.callbackMap=Ce,this.document=Ye,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+qe++}handle(Ce){if("JSONP"!==Ce.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==Ce.responseType)throw new Error("JSONP requests must use Json response type.");return new d.y(Ye=>{const Xe=this.nextCallback(),ot=Ce.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${Xe}$1`),Dt=this.document.createElement("script");Dt.src=ot;let Oe=null,ze=!1;this.callbackMap[Xe]=Ht=>{delete this.callbackMap[Xe],Oe=Ht,ze=!0};const ct=()=>{Dt.parentNode&&Dt.parentNode.removeChild(Dt),delete this.callbackMap[Xe]};return Dt.addEventListener("load",Ht=>{this.resolvedPromise.then(()=>{ct(),ze?(Ye.next(new he({body:Oe,status:200,statusText:"OK",url:ot})),Ye.complete()):Ye.error(new ce({url:ot,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})}),Dt.addEventListener("error",Ht=>{ct(),Ye.error(new ce({error:Ht,status:0,statusText:"JSONP Error",url:ot}))}),this.document.body.appendChild(Dt),Ye.next({type:Y.Sent}),()=>{ze||this.removeListeners(Dt),ct()}})}removeListeners(Ce){lt||(lt=this.document.implementation.createHTMLDocument()),lt.adoptNode(Ce)}}return He.\u0275fac=function(Ce){return new(Ce||He)(h.\u0275\u0275inject(We),h.\u0275\u0275inject(n.DOCUMENT))},He.\u0275prov=h.\u0275\u0275defineInjectable({token:He,factory:He.\u0275fac}),He})(),ve=(()=>{class He{constructor(Ce){this.jsonp=Ce}intercept(Ce,Ye){return"JSONP"===Ce.method?this.jsonp.handle(Ce):Ye.handle(Ce)}}return He.\u0275fac=function(Ce){return new(Ce||He)(h.\u0275\u0275inject(ft))},He.\u0275prov=h.\u0275\u0275defineInjectable({token:He,factory:He.\u0275fac}),He})();const we=/^\)\]\}',?\n/;let te=(()=>{class He{constructor(Ce){this.xhrFactory=Ce}handle(Ce){if("JSONP"===Ce.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new d.y(Ye=>{const Xe=this.xhrFactory.build();if(Xe.open(Ce.method,Ce.urlWithParams),Ce.withCredentials&&(Xe.withCredentials=!0),Ce.headers.forEach((wt,$t)=>Xe.setRequestHeader(wt,$t.join(","))),Ce.headers.has("Accept")||Xe.setRequestHeader("Accept","application/json, text/plain, */*"),!Ce.headers.has("Content-Type")){const wt=Ce.detectContentTypeHeader();null!==wt&&Xe.setRequestHeader("Content-Type",wt)}if(Ce.responseType){const wt=Ce.responseType.toLowerCase();Xe.responseType="json"!==wt?wt:"text"}const ot=Ce.serializeBody();let Dt=null;const Oe=()=>{if(null!==Dt)return Dt;const wt=Xe.statusText||"OK",$t=new v(Xe.getAllResponseHeaders()),ue=function B(He){return"responseURL"in He&&He.responseURL?He.responseURL:/^X-Request-URL:/m.test(He.getAllResponseHeaders())?He.getResponseHeader("X-Request-URL"):null}(Xe)||Ce.url;return Dt=new W({headers:$t,status:Xe.status,statusText:wt,url:ue}),Dt},ze=()=>{let{headers:wt,status:$t,statusText:ue,url:X}=Oe(),L=null;204!==$t&&(L=void 0===Xe.response?Xe.responseText:Xe.response),0===$t&&($t=L?200:0);let P=$t>=200&&$t<300;if("json"===Ce.responseType&&"string"==typeof L){const le=L;L=L.replace(we,"");try{L=""!==L?JSON.parse(L):null}catch(M){L=le,P&&(P=!1,L={error:M,text:L})}}P?(Ye.next(new he({body:L,headers:wt,status:$t,statusText:ue,url:X||void 0})),Ye.complete()):Ye.error(new ce({error:L,headers:wt,status:$t,statusText:ue,url:X||void 0}))},ct=wt=>{const{url:$t}=Oe(),ue=new ce({error:wt,status:Xe.status||0,statusText:Xe.statusText||"Unknown Error",url:$t||void 0});Ye.error(ue)};let Ct=!1;const _t=wt=>{Ct||(Ye.next(Oe()),Ct=!0);let $t={type:Y.DownloadProgress,loaded:wt.loaded};wt.lengthComputable&&($t.total=wt.total),"text"===Ce.responseType&&!!Xe.responseText&&($t.partialText=Xe.responseText),Ye.next($t)},Ht=wt=>{let $t={type:Y.UploadProgress,loaded:wt.loaded};wt.lengthComputable&&($t.total=wt.total),Ye.next($t)};return Xe.addEventListener("load",ze),Xe.addEventListener("error",ct),Xe.addEventListener("timeout",ct),Xe.addEventListener("abort",ct),Ce.reportProgress&&(Xe.addEventListener("progress",_t),null!==ot&&Xe.upload&&Xe.upload.addEventListener("progress",Ht)),Xe.send(ot),Ye.next({type:Y.Sent}),()=>{Xe.removeEventListener("error",ct),Xe.removeEventListener("abort",ct),Xe.removeEventListener("load",ze),Xe.removeEventListener("timeout",ct),Ce.reportProgress&&(Xe.removeEventListener("progress",_t),null!==ot&&Xe.upload&&Xe.upload.removeEventListener("progress",Ht)),Xe.readyState!==Xe.DONE&&Xe.abort()}})}}return He.\u0275fac=function(Ce){return new(Ce||He)(h.\u0275\u0275inject(n.XhrFactory))},He.\u0275prov=h.\u0275\u0275defineInjectable({token:He,factory:He.\u0275fac}),He})();const Me=new h.InjectionToken("XSRF_COOKIE_NAME"),Ue=new h.InjectionToken("XSRF_HEADER_NAME");class Ke{}let Re=(()=>{class He{constructor(Ce,Ye,Xe){this.doc=Ce,this.platform=Ye,this.cookieName=Xe,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Ce=this.doc.cookie||"";return Ce!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,n.\u0275parseCookieValue)(Ce,this.cookieName),this.lastCookieString=Ce),this.lastToken}}return He.\u0275fac=function(Ce){return new(Ce||He)(h.\u0275\u0275inject(n.DOCUMENT),h.\u0275\u0275inject(h.PLATFORM_ID),h.\u0275\u0275inject(Me))},He.\u0275prov=h.\u0275\u0275defineInjectable({token:He,factory:He.\u0275fac}),He})(),V=(()=>{class He{constructor(Ce,Ye){this.tokenService=Ce,this.headerName=Ye}intercept(Ce,Ye){const Xe=Ce.url.toLowerCase();if("GET"===Ce.method||"HEAD"===Ce.method||Xe.startsWith("http://")||Xe.startsWith("https://"))return Ye.handle(Ce);const ot=this.tokenService.getToken();return null!==ot&&!Ce.headers.has(this.headerName)&&(Ce=Ce.clone({headers:Ce.headers.set(this.headerName,ot)})),Ye.handle(Ce)}}return He.\u0275fac=function(Ce){return new(Ce||He)(h.\u0275\u0275inject(Ke),h.\u0275\u0275inject(Ue))},He.\u0275prov=h.\u0275\u0275defineInjectable({token:He,factory:He.\u0275fac}),He})(),ge=(()=>{class He{constructor(Ce,Ye){this.backend=Ce,this.injector=Ye,this.chain=null}handle(Ce){if(null===this.chain){const Ye=this.injector.get(Ge,[]);this.chain=Ye.reduceRight((Xe,ot)=>new gt(Xe,ot),this.backend)}return this.chain.handle(Ce)}}return He.\u0275fac=function(Ce){return new(Ce||He)(h.\u0275\u0275inject(_),h.\u0275\u0275inject(h.Injector))},He.\u0275prov=h.\u0275\u0275defineInjectable({token:He,factory:He.\u0275fac}),He})();function Je(){return"object"==typeof window?window:{}}let st=(()=>{class He{static disable(){return{ngModule:He,providers:[{provide:V,useClass:ht}]}}static withOptions(Ce={}){return{ngModule:He,providers:[Ce.cookieName?{provide:Me,useValue:Ce.cookieName}:[],Ce.headerName?{provide:Ue,useValue:Ce.headerName}:[]]}}}return He.\u0275fac=function(Ce){return new(Ce||He)},He.\u0275mod=h.\u0275\u0275defineNgModule({type:He}),He.\u0275inj=h.\u0275\u0275defineInjector({providers:[V,{provide:Ge,useExisting:V,multi:!0},{provide:Ke,useClass:Re},{provide:Me,useValue:"XSRF-TOKEN"},{provide:Ue,useValue:"X-XSRF-TOKEN"}]}),He})(),Et=(()=>{class He{}return He.\u0275fac=function(Ce){return new(Ce||He)},He.\u0275mod=h.\u0275\u0275defineNgModule({type:He}),He.\u0275inj=h.\u0275\u0275defineInjector({providers:[rt,{provide:u,useClass:ge},te,{provide:_,useExisting:te}],imports:[[st.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),He})(),Tt=(()=>{class He{}return He.\u0275fac=function(Ce){return new(Ce||He)},He.\u0275mod=h.\u0275\u0275defineNgModule({type:He}),He.\u0275inj=h.\u0275\u0275defineInjector({providers:[ft,{provide:We,useFactory:Je},{provide:Ge,useClass:ve,multi:!0}]}),He})();const Pt=n.XhrFactory},5e3:(G,r,a)=>{"use strict";a.r(r),a.d(r,{ANALYZE_FOR_ENTRY_COMPONENTS:()=>iv,APP_BOOTSTRAP_LISTENER:()=>bg,APP_ID:()=>gg,APP_INITIALIZER:()=>mg,ApplicationInitStatus:()=>yu,ApplicationModule:()=>IE,ApplicationRef:()=>Iu,Attribute:()=>od,COMPILER_OPTIONS:()=>Tg,CUSTOM_ELEMENTS_SCHEMA:()=>Hd,ChangeDetectionStrategy:()=>Pt,ChangeDetectorRef:()=>jg,Compiler:()=>KC,CompilerFactory:()=>QC,Component:()=>FC,ComponentFactory:()=>Ca,ComponentFactoryResolver:()=>Ea,ComponentRef:()=>em,ContentChild:()=>ov,ContentChildren:()=>rv,DEFAULT_CURRENCY_CODE:()=>zC,DebugElement:()=>Ps,DebugEventListener:()=>hE,DebugNode:()=>Au,DefaultIterableDiffer:()=>zg,Directive:()=>pg,ElementRef:()=>Ds,EmbeddedViewRef:()=>fE,ErrorHandler:()=>Zs,EventEmitter:()=>Tr,Host:()=>hd,HostBinding:()=>jC,HostListener:()=>BC,INJECTOR:()=>sa,Inject:()=>zs,InjectFlags:()=>V,Injectable:()=>sb,InjectionToken:()=>Hn,Injector:()=>zi,Input:()=>NC,IterableDiffers:()=>Nu,KeyValueDiffers:()=>Lu,LOCALE_ID:()=>bu,MissingTranslationStrategy:()=>Dr,ModuleWithComponentFactories:()=>Eg,NO_ERRORS_SCHEMA:()=>Ud,NgModule:()=>VC,NgModuleFactory:()=>um,NgModuleRef:()=>$o,NgProbeToken:()=>nE,NgZone:()=>lr,Optional:()=>is,Output:()=>LC,PACKAGE_ROOT_URL:()=>HC,PLATFORM_ID:()=>_g,PLATFORM_INITIALIZER:()=>yg,Pipe:()=>kC,PlatformRef:()=>Ou,Query:()=>Xo,QueryList:()=>Sa,ReflectiveInjector:()=>ko,ReflectiveKey:()=>xr,Renderer2:()=>Z0,RendererFactory2:()=>nm,RendererStyleFlags2:()=>_r,ResolvedReflectiveFactory:()=>Rh,Sanitizer:()=>im,SecurityContext:()=>Un,Self:()=>Ws,SimpleChange:()=>ki,SkipSelf:()=>po,TRANSLATIONS:()=>WC,TRANSLATIONS_FORMAT:()=>GC,TemplateRef:()=>Ss,Testability:()=>Sg,TestabilityRegistry:()=>Du,Type:()=>Vs,VERSION:()=>om,Version:()=>rm,ViewChild:()=>av,ViewChildren:()=>sv,ViewContainerRef:()=>Ia,ViewEncapsulation:()=>Ce,ViewRef:()=>Vg,asNativeElements:()=>pE,assertPlatform:()=>Rg,createNgModuleRef:()=>iC,createPlatform:()=>Pg,createPlatformFactory:()=>Ag,defineInjectable:()=>Ne,destroyPlatform:()=>iE,enableProdMode:()=>lE,forwardRef:()=>_,getDebugNode:()=>zo,getModuleFactory:()=>cE,getNgModuleById:()=>uE,getPlatform:()=>Su,inject:()=>fd,isDevMode:()=>aE,platformCore:()=>OE,resolveForwardRef:()=>v,setTestabilityGetter:()=>tE,\u0275ALLOW_MULTIPLE_PLATFORMS:()=>Mu,\u0275APP_ID_RANDOM_PROVIDER:()=>$C,\u0275ChangeDetectorStatus:()=>He,\u0275ComponentFactory:()=>Ca,\u0275Console:()=>Cg,\u0275DEFAULT_LOCALE_ID:()=>_s,\u0275INJECTOR_SCOPE:()=>jl,\u0275LifecycleHooksFeature:()=>yh,\u0275LocaleDataIndex:()=>Yt,\u0275NG_COMP_DEF:()=>Ht,\u0275NG_DIR_DEF:()=>wt,\u0275NG_ELEMENT_ID:()=>L,\u0275NG_INJ_DEF:()=>Ue,\u0275NG_MOD_DEF:()=>ue,\u0275NG_PIPE_DEF:()=>$t,\u0275NG_PROV_DEF:()=>Me,\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR:()=>Ta,\u0275NO_CHANGE:()=>en,\u0275NgModuleFactory:()=>Ma,\u0275NoopNgZone:()=>Mg,\u0275ReflectionCapabilities:()=>Va,\u0275Render3ComponentFactory:()=>wa,\u0275Render3ComponentRef:()=>lm,\u0275Render3NgModuleRef:()=>iu,\u0275RuntimeError:()=>S,\u0275ViewRef:()=>Vo,\u0275_sanitizeHtml:()=>Pd,\u0275_sanitizeUrl:()=>os,\u0275allowSanitizationBypassAndThrow:()=>vo,\u0275bypassSanitizationTrustHtml:()=>Nv,\u0275bypassSanitizationTrustResourceUrl:()=>Vv,\u0275bypassSanitizationTrustScript:()=>jv,\u0275bypassSanitizationTrustStyle:()=>Lv,\u0275bypassSanitizationTrustUrl:()=>Bv,\u0275clearResolutionOfComponentResourcesQueue:()=>yd,\u0275compileComponent:()=>ng,\u0275compileDirective:()=>vu,\u0275compileNgModule:()=>Zm,\u0275compileNgModuleDefs:()=>Jm,\u0275compileNgModuleFactory:()=>Og,\u0275compilePipe:()=>fg,\u0275createInjector:()=>Vl,\u0275defaultIterableDiffers:()=>ME,\u0275defaultKeyValueDiffers:()=>SE,\u0275detectChanges:()=>eh,\u0275devModeEqual:()=>Ch,\u0275findLocaleData:()=>Kc,\u0275flushModuleScopingQueueAsMuchAsPossible:()=>Qm,\u0275getDebugNode:()=>zo,\u0275getDebugNodeR2:()=>yE,\u0275getDirectives:()=>dh,\u0275getHostElement:()=>Ul,\u0275getInjectableDef:()=>ft,\u0275getLContext:()=>ui,\u0275getLocaleCurrencyCode:()=>Yb,\u0275getLocalePluralCase:()=>Dp,\u0275getSanitizationBypassType:()=>Ed,\u0275global:()=>Oe,\u0275injectChangeDetectorRef:()=>Bg,\u0275isBoundToModule:()=>Ig,\u0275isDefaultChangeDetectionStrategy:()=>Ee,\u0275isListLikeIterable:()=>ps,\u0275isObservable:()=>Bh,\u0275isPromise:()=>dc,\u0275isSubscribable:()=>jh,\u0275ivyEnabled:()=>PE,\u0275makeDecorator:()=>uo,\u0275markDirty:()=>th,\u0275noSideEffects:()=>Tt,\u0275patchComponentDefWithScope:()=>pu,\u0275publishDefaultGlobalUtils:()=>U_,\u0275publishGlobalUtil:()=>Wi,\u0275registerLocaleData:()=>Qb,\u0275registerNgModuleType:()=>fm,\u0275renderComponent:()=>z_,\u0275resetCompiledComponents:()=>DC,\u0275resetJitOptions:()=>EC,\u0275resolveComponentResources:()=>gd,\u0275setClassMetadata:()=>cm,\u0275setCurrentInjector:()=>Ua,\u0275setDocument:()=>ni,\u0275setLocaleId:()=>Sp,\u0275store:()=>Th,\u0275stringify:()=>p,\u0275transitiveScopesFor:()=>Is,\u0275unregisterLocaleData:()=>Zb,\u0275unwrapSafeValue:()=>Pr,\u0275whenRendered:()=>W_,\u0275\u0275CopyDefinitionFeature:()=>bh,\u0275\u0275FactoryTarget:()=>Zn,\u0275\u0275InheritDefinitionFeature:()=>Wl,\u0275\u0275NgOnChangesFeature:()=>_i,\u0275\u0275ProvidersFeature:()=>qp,\u0275\u0275advance:()=>Cf,\u0275\u0275attribute:()=>Ql,\u0275\u0275attributeInterpolate1:()=>Yl,\u0275\u0275attributeInterpolate2:()=>Zl,\u0275\u0275attributeInterpolate3:()=>Jl,\u0275\u0275attributeInterpolate4:()=>Xl,\u0275\u0275attributeInterpolate5:()=>ql,\u0275\u0275attributeInterpolate6:()=>ec,\u0275\u0275attributeInterpolate7:()=>tc,\u0275\u0275attributeInterpolate8:()=>nc,\u0275\u0275attributeInterpolateV:()=>ic,\u0275\u0275classMap:()=>Xh,\u0275\u0275classMapInterpolate1:()=>sp,\u0275\u0275classMapInterpolate2:()=>ap,\u0275\u0275classMapInterpolate3:()=>lp,\u0275\u0275classMapInterpolate4:()=>cp,\u0275\u0275classMapInterpolate5:()=>up,\u0275\u0275classMapInterpolate6:()=>dp,\u0275\u0275classMapInterpolate7:()=>fp,\u0275\u0275classMapInterpolate8:()=>hp,\u0275\u0275classMapInterpolateV:()=>pp,\u0275\u0275classProp:()=>wc,\u0275\u0275contentQuery:()=>Hm,\u0275\u0275defineComponent:()=>le,\u0275\u0275defineDirective:()=>je,\u0275\u0275defineInjectable:()=>et,\u0275\u0275defineInjector:()=>We,\u0275\u0275defineNgModule:()=>Lt,\u0275\u0275definePipe:()=>pe,\u0275\u0275directiveInject:()=>vs,\u0275\u0275disableBindings:()=>Wo,\u0275\u0275element:()=>cc,\u0275\u0275elementContainer:()=>uc,\u0275\u0275elementContainerEnd:()=>ha,\u0275\u0275elementContainerStart:()=>fa,\u0275\u0275elementEnd:()=>da,\u0275\u0275elementStart:()=>ua,\u0275\u0275enableBindings:()=>As,\u0275\u0275getCurrentView:()=>Lh,\u0275\u0275getInheritedFactory:()=>rd,\u0275\u0275hostProperty:()=>Wc,\u0275\u0275i18n:()=>Qp,\u0275\u0275i18nApply:()=>Zp,\u0275\u0275i18nAttributes:()=>Yp,\u0275\u0275i18nEnd:()=>Jc,\u0275\u0275i18nExp:()=>Xc,\u0275\u0275i18nPostprocess:()=>Jp,\u0275\u0275i18nStart:()=>Zc,\u0275\u0275inject:()=>oi,\u0275\u0275injectAttribute:()=>La,\u0275\u0275invalidFactory:()=>Nh,\u0275\u0275invalidFactoryDep:()=>za,\u0275\u0275listener:()=>fc,\u0275\u0275loadQuery:()=>Um,\u0275\u0275namespaceHTML:()=>Vi,\u0275\u0275namespaceMathML:()=>Bi,\u0275\u0275namespaceSVG:()=>ri,\u0275\u0275nextContext:()=>Hh,\u0275\u0275ngDeclareClassMetadata:()=>RE,\u0275\u0275ngDeclareComponent:()=>xE,\u0275\u0275ngDeclareDirective:()=>AE,\u0275\u0275ngDeclareFactory:()=>FE,\u0275\u0275ngDeclareInjectable:()=>NE,\u0275\u0275ngDeclareInjector:()=>LE,\u0275\u0275ngDeclareNgModule:()=>jE,\u0275\u0275ngDeclarePipe:()=>BE,\u0275\u0275pipe:()=>Im,\u0275\u0275pipeBind1:()=>Pm,\u0275\u0275pipeBind2:()=>Am,\u0275\u0275pipeBind3:()=>Rm,\u0275\u0275pipeBind4:()=>xm,\u0275\u0275pipeBindV:()=>Fm,\u0275\u0275projection:()=>zh,\u0275\u0275projectionDef:()=>Uh,\u0275\u0275property:()=>ac,\u0275\u0275propertyInterpolate:()=>mc,\u0275\u0275propertyInterpolate1:()=>pa,\u0275\u0275propertyInterpolate2:()=>gc,\u0275\u0275propertyInterpolate3:()=>vc,\u0275\u0275propertyInterpolate4:()=>yc,\u0275\u0275propertyInterpolate5:()=>_c,\u0275\u0275propertyInterpolate6:()=>bc,\u0275\u0275propertyInterpolate7:()=>Cc,\u0275\u0275propertyInterpolate8:()=>Ec,\u0275\u0275propertyInterpolateV:()=>Tc,\u0275\u0275pureFunction0:()=>pm,\u0275\u0275pureFunction1:()=>mm,\u0275\u0275pureFunction2:()=>gm,\u0275\u0275pureFunction3:()=>vm,\u0275\u0275pureFunction4:()=>ym,\u0275\u0275pureFunction5:()=>_m,\u0275\u0275pureFunction6:()=>bm,\u0275\u0275pureFunction7:()=>Cm,\u0275\u0275pureFunction8:()=>Em,\u0275\u0275pureFunctionV:()=>Tm,\u0275\u0275queryRefresh:()=>Vm,\u0275\u0275reference:()=>Dh,\u0275\u0275resolveBody:()=>Kd,\u0275\u0275resolveDocument:()=>Gd,\u0275\u0275resolveWindow:()=>Wd,\u0275\u0275restoreView:()=>Go,\u0275\u0275sanitizeHtml:()=>Ad,\u0275\u0275sanitizeResourceUrl:()=>el,\u0275\u0275sanitizeScript:()=>xd,\u0275\u0275sanitizeStyle:()=>Rd,\u0275\u0275sanitizeUrl:()=>qa,\u0275\u0275sanitizeUrlOrResourceUrl:()=>Nd,\u0275\u0275setComponentScope:()=>M,\u0275\u0275setNgModuleScope:()=>jt,\u0275\u0275styleMap:()=>or,\u0275\u0275styleMapInterpolate1:()=>mp,\u0275\u0275styleMapInterpolate2:()=>gp,\u0275\u0275styleMapInterpolate3:()=>vp,\u0275\u0275styleMapInterpolate4:()=>yp,\u0275\u0275styleMapInterpolate5:()=>_p,\u0275\u0275styleMapInterpolate6:()=>bp,\u0275\u0275styleMapInterpolate7:()=>Cp,\u0275\u0275styleMapInterpolate8:()=>Ep,\u0275\u0275styleMapInterpolateV:()=>Tp,\u0275\u0275styleProp:()=>Dc,\u0275\u0275stylePropInterpolate1:()=>Nc,\u0275\u0275stylePropInterpolate2:()=>Lc,\u0275\u0275stylePropInterpolate3:()=>jc,\u0275\u0275stylePropInterpolate4:()=>Bc,\u0275\u0275stylePropInterpolate5:()=>Vc,\u0275\u0275stylePropInterpolate6:()=>$c,\u0275\u0275stylePropInterpolate7:()=>Hc,\u0275\u0275stylePropInterpolate8:()=>Uc,\u0275\u0275stylePropInterpolateV:()=>zc,\u0275\u0275syntheticHostListener:()=>hc,\u0275\u0275syntheticHostProperty:()=>Gc,\u0275\u0275template:()=>Eh,\u0275\u0275templateRefExtractor:()=>Km,\u0275\u0275text:()=>op,\u0275\u0275textInterpolate:()=>Sc,\u0275\u0275textInterpolate1:()=>ga,\u0275\u0275textInterpolate2:()=>Oc,\u0275\u0275textInterpolate3:()=>Ic,\u0275\u0275textInterpolate4:()=>Pc,\u0275\u0275textInterpolate5:()=>Ac,\u0275\u0275textInterpolate6:()=>Rc,\u0275\u0275textInterpolate7:()=>xc,\u0275\u0275textInterpolate8:()=>Fc,\u0275\u0275textInterpolateV:()=>kc,\u0275\u0275trustConstantHtml:()=>Fd,\u0275\u0275trustConstantResourceUrl:()=>kd,\u0275\u0275viewQuery:()=>$m});var n=a(7579),h=a(727),y=a(8306),d=a(6451),o=a(3099);function c(e){for(let t in e)if(e[t]===c)return t;throw Error("Could not find renamed property on target object.")}function f(e,t){for(const i in t)t.hasOwnProperty(i)&&!e.hasOwnProperty(i)&&(e[i]=t[i])}function p(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(p).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const i=t.indexOf("\n");return-1===i?t:t.substring(0,i)}function m(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const u=c({__forward_ref__:c});function _(e){return e.__forward_ref__=_,e.toString=function(){return p(this())},e}function v(e){return b(e)?e():e}function b(e){return"function"==typeof e&&e.hasOwnProperty(u)&&e.__forward_ref__===_}class S extends Error{constructor(t,i){super(function x(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,i)),this.code=t}}function A(e){return"string"==typeof e?e:null==e?"":String(e)}function H(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():A(e)}function z(e,t){const i=t?` in ${t}`:"";throw new S(-201,`No provider for ${H(e)} found${i}`)}function ht(e,t,i,s){throw new Error(`ASSERTION ERROR: ${e}`+(null==s?"":` [Expected=> ${i} ${s} ${t} <=Actual]`))}function et(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const Ne=et;function We(e){return{providers:e.providers||[],imports:e.imports||[]}}function ft(e){return ve(e,Me)||ve(e,Ke)}function ve(e,t){return e.hasOwnProperty(t)?e[t]:null}function te(e){return e&&(e.hasOwnProperty(Ue)||e.hasOwnProperty(Re))?e[Ue]:null}const Me=c({\u0275prov:c}),Ue=c({\u0275inj:c}),Ke=c({ngInjectableDef:c}),Re=c({ngInjectorDef:c});var V=(()=>((V=V||{})[V.Default=0]="Default",V[V.Host=1]="Host",V[V.Self=2]="Self",V[V.SkipSelf=4]="SkipSelf",V[V.Optional=8]="Optional",V))();let ge;function Je(e){const t=ge;return ge=e,t}function st(e,t,i){const s=ft(e);return s&&"root"==s.providedIn?void 0===s.value?s.value=s.factory():s.value:i&V.Optional?null:void 0!==t?t:void z(p(e),"Injector")}function Tt(e){return{toString:e}.toString()}var Pt=(()=>((Pt=Pt||{})[Pt.OnPush=0]="OnPush",Pt[Pt.Default=1]="Default",Pt))(),He=(()=>((He=He||{})[He.CheckOnce=0]="CheckOnce",He[He.Checked=1]="Checked",He[He.CheckAlways=2]="CheckAlways",He[He.Detached=3]="Detached",He[He.Errored=4]="Errored",He[He.Destroyed=5]="Destroyed",He))();function Ee(e){return null==e||e===Pt.Default}var Ce=(()=>{return(e=Ce||(Ce={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Ce;var e})();const Ye="undefined"!=typeof globalThis&&globalThis,Xe="undefined"!=typeof window&&window,ot="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Oe=Ye||"undefined"!=typeof global&&global||Xe||ot,Ct={},_t=[],Ht=c({\u0275cmp:c}),wt=c({\u0275dir:c}),$t=c({\u0275pipe:c}),ue=c({\u0275mod:c}),X=c({\u0275fac:c}),L=c({__NG_ELEMENT_ID__:c});let P=0;function le(e){return Tt(()=>{const i={},s={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Pt.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||_t,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Ce.Emulated,id:"c",styles:e.styles||_t,_:null,setInput:null,schemas:e.schemas||null,tView:null},l=e.directives,g=e.features,C=e.pipes;return s.id+=P++,s.inputs=Pe(e.inputs,i),s.outputs=Pe(e.outputs),g&&g.forEach(w=>w(s)),s.directiveDefs=l?()=>("function"==typeof l?l():l).map(U):null,s.pipeDefs=C?()=>("function"==typeof C?C():C).map(Ie):null,s})}function M(e,t,i){const s=e.\u0275cmp;s.directiveDefs=()=>t.map(U),s.pipeDefs=()=>i.map(Ie)}function U(e){return Fe(e)||ut(e)}function Ie(e){return Rt(e)}const it={};function Lt(e){return Tt(()=>{const t={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};return null!=e.id&&(it[e.id]=e.type),t})}function jt(e,t){return Tt(()=>{const i=Ft(e,!0);i.declarations=t.declarations||_t,i.imports=t.imports||_t,i.exports=t.exports||_t})}function Pe(e,t){if(null==e)return Ct;const i={};for(const s in e)if(e.hasOwnProperty(s)){let l=e[s],g=l;Array.isArray(l)&&(g=l[1],l=l[0]),i[l]=s,t&&(t[l]=g)}return i}const je=le;function pe(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Fe(e){return e[Ht]||null}function ut(e){return e[wt]||null}function Rt(e){return e[$t]||null}function Ft(e,t){const i=e[ue]||null;if(!i&&!0===t)throw new Error(`Type ${p(e)} does not have '\u0275mod' property.`);return i}function wn(e){return Array.isArray(e)&&"object"==typeof e[1]}function An(e){return Array.isArray(e)&&!0===e[1]}function hi(e){return 0!=(8&e.flags)}function vi(e){return 2==(2&e.flags)}function ai(e){return 1==(1&e.flags)}function zn(e){return null!==e.template}function wr(e){return 0!=(512&e[2])}function li(e,t){return e.hasOwnProperty(X)?e[X]:null}class ki{constructor(t,i,s){this.previousValue=t,this.currentValue=i,this.firstChange=s}isFirstChange(){return this.firstChange}}function _i(){return Zi}function Zi(e){return e.type.prototype.ngOnChanges&&(e.setInput=hr),wi}function wi(){const e=Mi(this),t=null==e?void 0:e.current;if(t){const i=e.previous;if(i===Ct)e.previous=t;else for(let s in t)i[s]=t[s];e.current=null,this.ngOnChanges(t)}}function hr(e,t,i,s){const l=Mi(e)||function Xi(e,t){return e[Ji]=t}(e,{previous:Ct,current:null}),g=l.current||(l.current={}),C=l.previous,w=this.declaredInputs[i],O=C[w];g[w]=new ki(O&&O.currentValue,t,C===Ct),e[s]=t}_i.ngInherit=!0;const Ji="__ngSimpleChanges__";function Mi(e){return e[Ji]||null}let ti=null;const pr=e=>{ti=e},Ln=function(e,t,i){null!=ti&&ti(e,t,i)},jn="math";let Wn;function ni(e){Wn=e}function Qn(){return void 0!==Wn?Wn:"undefined"!=typeof document?document:void 0}function Tn(e){return!!e.listen}const N={createRenderer:(e,t)=>Qn()};function k(e){for(;Array.isArray(e);)e=e[0];return e}function dt(e,t){return k(t[e])}function vt(e,t){return k(t[e.index])}function yn(e,t){return e.data[t]}function dn(e,t){return e[t]}function rn(e,t){const i=t[e];return wn(i)?i:i[0]}function ln(e){return 4==(4&e[2])}function In(e){return 128==(128&e[2])}function F(e,t){return null==t?null:e[t]}function I(e){e[18]=0}function ie(e,t){e[5]+=t;let i=e,s=e[3];for(;null!==s&&(1===t&&1===i[5]||-1===t&&0===i[5]);)s[5]+=t,i=s,s=s[3]}const Qe={lFrame:Kt(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Ir(){return Qe.bindingsEnabled}function As(){Qe.bindingsEnabled=!0}function Wo(){Qe.bindingsEnabled=!1}function bt(){return Qe.lFrame.lView}function cn(){return Qe.lFrame.tView}function Go(e){return Qe.lFrame.contextLView=e,e[8]}function Bn(){let e=Ko();for(;null!==e&&64===e.type;)e=e.parent;return e}function Ko(){return Qe.lFrame.currentTNode}function zr(){const e=Qe.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function ji(e,t){const i=Qe.lFrame;i.currentTNode=e,i.isParent=t}function io(){return Qe.lFrame.isParent}function Qo(){Qe.lFrame.isParent=!1}function Wr(){return Qe.isInCheckNoChangesMode}function Gr(e){Qe.isInCheckNoChangesMode=e}function ii(){const e=Qe.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function tr(){return Qe.lFrame.bindingIndex}function Rs(e){return Qe.lFrame.bindingIndex=e}function K(){return Qe.lFrame.bindingIndex++}function E(e){const t=Qe.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function R(e){Qe.lFrame.inI18n=e}function ee(e,t){const i=Qe.lFrame;i.bindingIndex=i.bindingRootIndex=e,ke(t)}function ke(e){Qe.lFrame.currentDirectiveIndex=e}function Le(e){const t=Qe.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function nt(){return Qe.lFrame.currentQueryIndex}function mt(e){Qe.lFrame.currentQueryIndex=e}function xt(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function zt(e,t,i){if(i&V.SkipSelf){let l=t,g=e;for(;!(l=l.parent,null!==l||i&V.Host||(l=xt(g),null===l||(g=g[15],10&l.type))););if(null===l)return!1;t=l,e=g}const s=Qe.lFrame=an();return s.currentTNode=t,s.lView=e,!0}function Jt(e){const t=an(),i=e[1];Qe.lFrame=t,t.currentTNode=i.firstChild,t.lView=e,t.tView=i,t.contextLView=e,t.bindingIndex=i.bindingStartIndex,t.inI18n=!1}function an(){const e=Qe.lFrame,t=null===e?null:e.child;return null===t?Kt(e):t}function Kt(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 nn(){const e=Qe.lFrame;return Qe.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const bn=nn;function Rn(){const e=nn();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 mn(){return Qe.lFrame.selectedIndex}function pi(e){Qe.lFrame.selectedIndex=e}function gn(){const e=Qe.lFrame;return yn(e.tView,e.selectedIndex)}function ri(){Qe.lFrame.currentNamespace="svg"}function Bi(){Qe.lFrame.currentNamespace=jn}function Vi(){!function nr(){Qe.lFrame.currentNamespace=null}()}function $i(e,t){for(let i=t.directiveStart,s=t.directiveEnd;i<s;i++){const g=e.data[i].type.prototype,{ngAfterContentInit:C,ngAfterContentChecked:w,ngAfterViewInit:O,ngAfterViewChecked:$,ngOnDestroy:q}=g;C&&(e.contentHooks||(e.contentHooks=[])).push(-i,C),w&&((e.contentHooks||(e.contentHooks=[])).push(i,w),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(i,w)),O&&(e.viewHooks||(e.viewHooks=[])).push(-i,O),$&&((e.viewHooks||(e.viewHooks=[])).push(i,$),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(i,$)),null!=q&&(e.destroyHooks||(e.destroyHooks=[])).push(i,q)}}function Qr(e,t,i){Wt(e,t,3,i)}function Yr(e,t,i,s){(3&e[2])===i&&Wt(e,t,i,s)}function Bt(e,t){let i=e[2];(3&i)===t&&(i&=2047,i+=1,e[2]=i)}function Wt(e,t,i,s){const g=null!=s?s:-1,C=t.length-1;let w=0;for(let O=void 0!==s?65535&e[18]:0;O<C;O++)if("number"==typeof t[O+1]){if(w=t[O],null!=s&&w>=s)break}else t[O]<0&&(e[18]+=65536),(w<g||-1==g)&&(Zt(e,i,t,O),e[18]=(4294901760&e[18])+O+2),O++}function Zt(e,t,i,s){const l=i[s]<0,g=i[s+1],w=e[l?-i[s]:i[s]];if(l){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048,Ln(4,w,g);try{g.call(w)}finally{Ln(5,w,g)}}}else{Ln(4,w,g);try{g.call(w)}finally{Ln(5,w,g)}}}class xn{constructor(t,i,s){this.factory=t,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=s}}function Si(e,t,i){const s=Tn(e);let l=0;for(;l<i.length;){const g=i[l];if("number"==typeof g){if(0!==g)break;l++;const C=i[l++],w=i[l++],O=i[l++];s?e.setAttribute(t,w,O,C):t.setAttributeNS(C,w,O)}else{const C=g,w=i[++l];Zr(C)?s&&e.setProperty(t,C,w):s?e.setAttribute(t,C,w):t.setAttribute(C,w),l++}}return l}function mr(e){return 3===e||4===e||6===e}function Zr(e){return 64===e.charCodeAt(0)}function ks(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let i=-1;for(let s=0;s<t.length;s++){const l=t[s];"number"==typeof l?i=l:0===i||Qu(e,i,l,null,-1===i||2===i?t[++s]:null)}}return e}function Qu(e,t,i,s,l){let g=0,C=e.length;if(-1===t)C=-1;else for(;g<e.length;){const w=e[g++];if("number"==typeof w){if(w===t){C=-1;break}if(w>t){C=g-1;break}}}for(;g<e.length;){const w=e[g];if("number"==typeof w)break;if(w===i){if(null===s)return void(null!==l&&(e[g+1]=l));if(s===e[g+1])return void(e[g+2]=l)}g++,null!==s&&g++,null!==l&&g++}-1!==C&&(e.splice(C,0,t),g=C+1),e.splice(g++,0,i),null!==s&&e.splice(g++,0,s),null!==l&&e.splice(g++,0,l)}function Yu(e){return-1!==e}function ro(e){return 32767&e}function oo(e,t){let i=function Zg(e){return e>>16}(e),s=t;for(;i>0;)s=s[15],i--;return s}let xa=!0;function Ns(e){const t=xa;return xa=e,t}let Jg=0;function Zo(e,t){const i=ka(e,t);if(-1!==i)return i;const s=t[1];s.firstCreatePass&&(e.injectorIndex=t.length,Fa(s.data,e),Fa(t,null),Fa(s.blueprint,null));const l=Ls(e,t),g=e.injectorIndex;if(Yu(l)){const C=ro(l),w=oo(l,t),O=w[1].data;for(let $=0;$<8;$++)t[g+$]=w[C+$]|O[C+$]}return t[g+8]=l,g}function Fa(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ka(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ls(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let i=0,s=null,l=t;for(;null!==l;){const g=l[1],C=g.type;if(s=2===C?g.declTNode:1===C?l[6]:null,null===s)return-1;if(i++,l=l[15],-1!==s.injectorIndex)return s.injectorIndex|i<<16}return-1}function js(e,t,i){!function Xg(e,t,i){let s;"string"==typeof i?s=i.charCodeAt(0)||0:i.hasOwnProperty(L)&&(s=i[L]),null==s&&(s=i[L]=Jg++);const l=255&s;t.data[e+(l>>5)]|=1<<l}(e,t,i)}function Xu(e,t,i){if(i&V.Optional)return e;z(t,"NodeInjector")}function qu(e,t,i,s){if(i&V.Optional&&void 0===s&&(s=null),0==(i&(V.Self|V.Host))){const l=e[9],g=Je(void 0);try{return l?l.get(t,s,i&V.Optional):st(t,s,i&V.Optional)}finally{Je(g)}}return Xu(s,t,i)}function ed(e,t,i,s=V.Default,l){if(null!==e){const g=function nv(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(L)?e[L]:void 0;return"number"==typeof t?t>=0?255&t:ev:t}(i);if("function"==typeof g){if(!zt(t,e,s))return s&V.Host?Xu(l,i,s):qu(t,i,s,l);try{const C=g(s);if(null!=C||s&V.Optional)return C;z(i)}finally{bn()}}else if("number"==typeof g){let C=null,w=ka(e,t),O=-1,$=s&V.Host?t[16][6]:null;for((-1===w||s&V.SkipSelf)&&(O=-1===w?Ls(e,t):t[w+8],-1!==O&&id(s,!1)?(C=t[1],w=ro(O),t=oo(O,t)):w=-1);-1!==w;){const q=t[1];if(nd(g,w,q.data)){const be=tv(w,t,i,C,s,$);if(be!==td)return be}O=t[w+8],-1!==O&&id(s,t[1].data[w+8]===$)&&nd(g,w,t)?(C=q,w=ro(O),t=oo(O,t)):w=-1}}}return qu(t,i,s,l)}const td={};function ev(){return new so(Bn(),bt())}function tv(e,t,i,s,l,g){const C=t[1],w=C.data[e+8],q=Bs(w,C,i,null==s?vi(w)&&xa:s!=C&&0!=(3&w.type),l&V.Host&&g===w);return null!==q?Jo(t,C,q,w):td}function Bs(e,t,i,s,l){const g=e.providerIndexes,C=t.data,w=1048575&g,O=e.directiveStart,q=g>>20,Ve=l?w+q:e.directiveEnd;for(let tt=s?w:w+q;tt<Ve;tt++){const pt=C[tt];if(tt<O&&i===pt||tt>=O&&pt.type===i)return tt}if(l){const tt=C[O];if(tt&&zn(tt)&&tt.type===i)return O}return null}function Jo(e,t,i,s){let l=e[i];const g=t.data;if(function Hi(e){return e instanceof xn}(l)){const C=l;C.resolving&&function Z(e,t){const i=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new S(-200,`Circular dependency in DI detected for ${e}${i}`)}(H(g[i]));const w=Ns(C.canSeeViewProviders);C.resolving=!0;const O=C.injectImpl?Je(C.injectImpl):null;zt(e,s,V.Default);try{l=e[i]=C.factory(void 0,g,e,s),t.firstCreatePass&&i>=s.directiveStart&&function Kr(e,t,i){const{ngOnChanges:s,ngOnInit:l,ngDoCheck:g}=t.type.prototype;if(s){const C=Zi(t);(i.preOrderHooks||(i.preOrderHooks=[])).push(e,C),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(e,C)}l&&(i.preOrderHooks||(i.preOrderHooks=[])).push(0-e,l),g&&((i.preOrderHooks||(i.preOrderHooks=[])).push(e,g),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(e,g))}(i,g[i],t)}finally{null!==O&&Je(O),Ns(w),C.resolving=!1,bn()}}return l}function nd(e,t,i){return!!(i[t+(e>>5)]&1<<e)}function id(e,t){return!(e&V.Self||e&V.Host&&t)}class so{constructor(t,i){this._tNode=t,this._lView=i}get(t,i,s){return ed(this._tNode,this._lView,t,s,i)}}function rd(e){return Tt(()=>{const t=e.prototype.constructor,i=t[X]||Na(t),s=Object.prototype;let l=Object.getPrototypeOf(e.prototype).constructor;for(;l&&l!==s;){const g=l[X]||Na(l);if(g&&g!==i)return g;l=Object.getPrototypeOf(l)}return g=>new g})}function Na(e){return b(e)?()=>{const t=Na(v(e));return t&&t()}:li(e)}function La(e){return function qg(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const i=e.attrs;if(i){const s=i.length;let l=0;for(;l<s;){const g=i[l];if(mr(g))break;if(0===g)l+=2;else if("number"==typeof g)for(l++;l<s&&"string"==typeof i[l];)l++;else{if(g===t)return i[l+1];l+=2}}}return null}(Bn(),e)}const ao="__annotations__",lo="__parameters__",co="__prop__metadata__";function uo(e,t,i,s,l){return Tt(()=>{const g=ja(t);function C(...w){if(this instanceof C)return g.call(this,...w),this;const O=new C(...w);return function(q){return l&&l(q,...w),(q.hasOwnProperty(ao)?q[ao]:Object.defineProperty(q,ao,{value:[]})[ao]).push(O),s&&s(q),q}}return i&&(C.prototype=Object.create(i.prototype)),C.prototype.ngMetadataName=e,C.annotationCls=C,C})}function ja(e){return function(...i){if(e){const s=e(...i);for(const l in s)this[l]=s[l]}}}function fo(e,t,i){return Tt(()=>{const s=ja(t);function l(...g){if(this instanceof l)return s.apply(this,g),this;const C=new l(...g);return w.annotation=C,w;function w(O,$,q){const be=O.hasOwnProperty(lo)?O[lo]:Object.defineProperty(O,lo,{value:[]})[lo];for(;be.length<=q;)be.push(null);return(be[q]=be[q]||[]).push(C),O}}return i&&(l.prototype=Object.create(i.prototype)),l.prototype.ngMetadataName=e,l.annotationCls=l,l})}function Vr(e,t,i,s){return Tt(()=>{const l=ja(t);function g(...C){if(this instanceof g)return l.apply(this,C),this;const w=new g(...C);return function O($,q){const be=$.constructor,Ve=be.hasOwnProperty(co)?be[co]:Object.defineProperty(be,co,{value:{}})[co];Ve[q]=Ve.hasOwnProperty(q)&&Ve[q]||[],Ve[q].unshift(w),s&&s($,q,...C)}}return i&&(g.prototype=Object.create(i.prototype)),g.prototype.ngMetadataName=e,g.annotationCls=g,g})}const od=fo("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>La(e)}));class Hn{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=et({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}toString(){return`InjectionToken ${this._desc}`}}const iv=new Hn("AnalyzeForEntryComponents");class Xo{}const rv=Vr("ContentChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0},t),Xo),ov=Vr("ContentChild",(e,t={})=>Object.assign({selector:e,first:!0,isViewQuery:!1,descendants:!0},t),Xo),sv=Vr("ViewChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0},t),Xo),av=Vr("ViewChild",(e,t)=>Object.assign({selector:e,first:!0,isViewQuery:!0,descendants:!0},t),Xo);var Zn=(()=>((Zn=Zn||{})[Zn.Directive=0]="Directive",Zn[Zn.Component=1]="Component",Zn[Zn.Injectable=2]="Injectable",Zn[Zn.Pipe=3]="Pipe",Zn[Zn.NgModule=4]="NgModule",Zn))();function Jn(e){const t=Oe.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const Vs=Function;function qo(e){return"function"==typeof e}function Ui(e,t){void 0===t&&(t=e);for(let i=0;i<e.length;i++){let s=e[i];Array.isArray(s)?(t===e&&(t=e.slice(0,i)),Ui(s,t)):t!==e&&t.push(s)}return t}function gr(e,t){e.forEach(i=>Array.isArray(i)?gr(i,t):t(i))}function ad(e,t,i){t>=e.length?e.push(i):e.splice(t,0,i)}function $s(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function es(e,t){const i=[];for(let s=0;s<e;s++)i.push(t);return i}function Oi(e,t,i){let s=ho(e,t);return s>=0?e[1|s]=i:(s=~s,function uv(e,t,i,s){let l=e.length;if(l==t)e.push(i,s);else if(1===l)e.push(s,e[0]),e[0]=i;else{for(l--,e.push(e[l-1],e[l]);l>t;)e[l]=e[l-2],l--;e[t]=i,e[t+1]=s}}(e,s,t,i)),s}function Ba(e,t){const i=ho(e,t);if(i>=0)return e[1|i]}function ho(e,t){return function ud(e,t,i){let s=0,l=e.length>>i;for(;l!==s;){const g=s+(l-s>>1),C=e[g<<i];if(t===C)return g<<i;C>t?l=g:s=g+1}return~(l<<i)}(e,t,1)}const dv=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,fv=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,hv=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,pv=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class Va{constructor(t){this._reflect=t||Oe.Reflect}isReflectionEnabled(){return!0}factory(t){return(...i)=>new t(...i)}_zipTypesAndAnnotations(t,i){let s;s=es(void 0===t?i.length:t.length);for(let l=0;l<s.length;l++)s[l]=void 0===t?[]:t[l]&&t[l]!=Object?[t[l]]:[],i&&null!=i[l]&&(s[l]=s[l].concat(i[l]));return s}_ownParameters(t,i){if(function mv(e){return dv.test(e)||pv.test(e)||fv.test(e)&&!hv.test(e)}(t.toString()))return null;if(t.parameters&&t.parameters!==i.parameters)return t.parameters;const l=t.ctorParameters;if(l&&l!==i.ctorParameters){const w="function"==typeof l?l():l,O=w.map(q=>q&&q.type),$=w.map(q=>q&&$a(q.decorators));return this._zipTypesAndAnnotations(O,$)}const g=t.hasOwnProperty(lo)&&t[lo],C=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return C||g?this._zipTypesAndAnnotations(C,g):es(t.length)}parameters(t){if(!qo(t))return[];const i=Hs(t);let s=this._ownParameters(t,i);return!s&&i!==Object&&(s=this.parameters(i)),s||[]}_ownAnnotations(t,i){if(t.annotations&&t.annotations!==i.annotations){let s=t.annotations;return"function"==typeof s&&s.annotations&&(s=s.annotations),s}return t.decorators&&t.decorators!==i.decorators?$a(t.decorators):t.hasOwnProperty(ao)?t[ao]:null}annotations(t){if(!qo(t))return[];const i=Hs(t),s=this._ownAnnotations(t,i)||[];return(i!==Object?this.annotations(i):[]).concat(s)}_ownPropMetadata(t,i){if(t.propMetadata&&t.propMetadata!==i.propMetadata){let s=t.propMetadata;return"function"==typeof s&&s.propMetadata&&(s=s.propMetadata),s}if(t.propDecorators&&t.propDecorators!==i.propDecorators){const s=t.propDecorators,l={};return Object.keys(s).forEach(g=>{l[g]=$a(s[g])}),l}return t.hasOwnProperty(co)?t[co]:null}propMetadata(t){if(!qo(t))return{};const i=Hs(t),s={};if(i!==Object){const g=this.propMetadata(i);Object.keys(g).forEach(C=>{s[C]=g[C]})}const l=this._ownPropMetadata(t,i);return l&&Object.keys(l).forEach(g=>{const C=[];s.hasOwnProperty(g)&&C.push(...s[g]),C.push(...l[g]),s[g]=C}),s}ownPropMetadata(t){return qo(t)&&this._ownPropMetadata(t,Hs(t))||{}}hasLifecycleHook(t,i){return t instanceof Vs&&i in t.prototype}guards(t){return{}}getter(t){return new Function("o","return o."+t+";")}setter(t){return new Function("o","v","return o."+t+" = v;")}method(t){return new Function("o","args",`if (!o.${t}) throw new Error('"${t}" is undefined');\n return o.${t}.apply(o, args);`)}importUri(t){return"object"==typeof t&&t.filePath?t.filePath:`./${p(t)}`}resourceUri(t){return`./${p(t)}`}resolveIdentifier(t,i,s,l){return l}resolveEnum(t,i){return t[i]}}function $a(e){return e?e.map(t=>new(0,t.type.annotationCls)(...t.args?t.args:[])):[]}function Hs(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}const $r={},Ha="__NG_DI_FLAG__",Us="ngTempTokenPath",vv=/\n/gm,dd="__source",_v=c({provide:String,useValue:c});let ts;function Ua(e){const t=ts;return ts=e,t}function bv(e,t=V.Default){if(void 0===ts)throw new S(203,"");return null===ts?st(e,void 0,t):ts.get(e,t&V.Optional?null:void 0,t)}function oi(e,t=V.Default){return(function xe(){return ge}()||bv)(v(e),t)}function za(e){throw new Error("invalid")}const fd=oi;function Wa(e){const t=[];for(let i=0;i<e.length;i++){const s=v(e[i]);if(Array.isArray(s)){if(0===s.length)throw new S(900,"");let l,g=V.Default;for(let C=0;C<s.length;C++){const w=s[C],O=Cv(w);"number"==typeof O?-1===O?l=w.token:g|=O:l=w}t.push(oi(l,g))}else t.push(oi(s))}return t}function ns(e,t){return e[Ha]=t,e.prototype[Ha]=t,e}function Cv(e){return e[Ha]}const zs=ns(fo("Inject",e=>({token:e})),-1),is=ns(fo("Optional"),8),Ws=ns(fo("Self"),2),po=ns(fo("SkipSelf"),4),hd=ns(fo("Host"),1);let pd=null;function Ga(){return pd=pd||new Va}function Gs(e){return md(Ga().parameters(e))}function md(e){return e.map(t=>function Dv(e){const t={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(let i=0;i<e.length;i++){const s=e[i];if(void 0===s)continue;const l=Object.getPrototypeOf(s);if(s instanceof is||"Optional"===l.ngMetadataName)t.optional=!0;else if(s instanceof po||"SkipSelf"===l.ngMetadataName)t.skipSelf=!0;else if(s instanceof Ws||"Self"===l.ngMetadataName)t.self=!0;else if(s instanceof hd||"Host"===l.ngMetadataName)t.host=!0;else if(s instanceof zs)t.token=s.token;else if(s instanceof od){if(void 0===s.attributeName)throw new Error("Attribute name must be defined.");t.attribute=s.attributeName}else t.token=s}else t.token=void 0===e||Array.isArray(e)&&0===e.length?null:e;return t}(t))}function gd(e){const t=[],i=new Map;function s(l){let g=i.get(l);if(!g){const C=e(l);i.set(l,g=C.then(Sv))}return g}return mo.forEach((l,g)=>{const C=[];l.templateUrl&&C.push(s(l.templateUrl).then(be=>{l.template=be}));const w=l.styleUrls,O=l.styles||(l.styles=[]),$=l.styles.length;w&&w.forEach((be,Ve)=>{O.push(""),C.push(s(be).then(tt=>{O[$+Ve]=tt,w.splice(w.indexOf(be),1),0==w.length&&(l.styleUrls=void 0)}))});const q=Promise.all(C).then(()=>function Ov(e){rs.delete(e)}(g));t.push(q)}),yd(),Promise.all(t).then(()=>{})}let mo=new Map;const rs=new Set;function vd(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length)}function yd(){const e=mo;return mo=new Map,e}function Sv(e){return"string"==typeof e?e:e.text()}let Ks,Qs;function Ka(){if(void 0===Ks&&(Ks=null,Oe.trustedTypes))try{Ks=Oe.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Ks}function go(e){var t;return(null===(t=Ka())||void 0===t?void 0:t.createHTML(e))||e}function Qa(){if(void 0===Qs&&(Qs=null,Oe.trustedTypes))try{Qs=Oe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Qs}function _d(e){var t;return(null===(t=Qa())||void 0===t?void 0:t.createHTML(e))||e}function bd(e){var t;return(null===(t=Qa())||void 0===t?void 0:t.createScript(e))||e}function Cd(e){var t;return(null===(t=Qa())||void 0===t?void 0:t.createScriptURL(e))||e}class Jr{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Av extends Jr{getTypeName(){return"HTML"}}class Rv extends Jr{getTypeName(){return"Style"}}class xv extends Jr{getTypeName(){return"Script"}}class Fv extends Jr{getTypeName(){return"URL"}}class kv extends Jr{getTypeName(){return"ResourceURL"}}function Pr(e){return e instanceof Jr?e.changingThisBreaksApplicationSecurity:e}function vo(e,t){const i=Ed(e);if(null!=i&&i!==t){if("ResourceURL"===i&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${i} (see https://g.co/ng/security#xss)`)}return i===t}function Ed(e){return e instanceof Jr&&e.getTypeName()||null}function Nv(e){return new Av(e)}function Lv(e){return new Rv(e)}function jv(e){return new xv(e)}function Bv(e){return new Fv(e)}function Vv(e){return new kv(e)}function Td(e){const t=new Hv(e);return function Uv(){try{return!!(new window.DOMParser).parseFromString(go(""),"text/html")}catch(e){return!1}}()?new $v(t):t}class $v{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const i=(new window.DOMParser).parseFromString(go(t),"text/html").body;return null===i?this.inertDocumentHelper.getInertBodyElement(t):(i.removeChild(i.firstChild),i)}catch(i){return null}}}class Hv{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const i=this.inertDocument.createElement("html");this.inertDocument.appendChild(i);const s=this.inertDocument.createElement("body");i.appendChild(s)}}getInertBodyElement(t){const i=this.inertDocument.createElement("template");if("content"in i)return i.innerHTML=go(t),i;const s=this.inertDocument.createElement("body");return s.innerHTML=go(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(s),s}stripCustomNsAttrs(t){const i=t.attributes;for(let l=i.length-1;0<l;l--){const C=i.item(l).name;("xmlns:ns1"===C||0===C.indexOf("ns1:"))&&t.removeAttribute(C)}let s=t.firstChild;for(;s;)s.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(s),s=s.nextSibling}}const zv=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,Wv=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function os(e){return(e=String(e)).match(zv)||e.match(Wv)?e:"unsafe:"+e}function Dd(e){return(e=String(e)).split(",").map(t=>os(t.trim())).join(", ")}function vr(e){const t={};for(const i of e.split(","))t[i]=!0;return t}function ss(...e){const t={};for(const i of e)for(const s in i)i.hasOwnProperty(s)&&(t[s]=!0);return t}const wd=vr("area,br,col,hr,img,wbr"),Md=vr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Sd=vr("rp,rt"),Ya=ss(wd,ss(Md,vr("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")),ss(Sd,vr("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")),ss(Sd,Md)),Za=vr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ja=vr("srcset"),Od=ss(Za,Ja,vr("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),vr("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")),Gv=vr("script,style,template");class Kv{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let i=t.firstChild,s=!0;for(;i;)if(i.nodeType===Node.ELEMENT_NODE?s=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,s&&i.firstChild)i=i.firstChild;else for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let l=this.checkClobberedElement(i,i.nextSibling);if(l){i=l;break}i=this.checkClobberedElement(i,i.parentNode)}return this.buf.join("")}startElement(t){const i=t.nodeName.toLowerCase();if(!Ya.hasOwnProperty(i))return this.sanitizedSomething=!0,!Gv.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);const s=t.attributes;for(let l=0;l<s.length;l++){const g=s.item(l),C=g.name,w=C.toLowerCase();if(!Od.hasOwnProperty(w)){this.sanitizedSomething=!0;continue}let O=g.value;Za[w]&&(O=os(O)),Ja[w]&&(O=Dd(O)),this.buf.push(" ",C,'="',Id(O),'"')}return this.buf.push(">"),!0}endElement(t){const i=t.nodeName.toLowerCase();Ya.hasOwnProperty(i)&&!wd.hasOwnProperty(i)&&(this.buf.push("</"),this.buf.push(i),this.buf.push(">"))}chars(t){this.buf.push(Id(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 Qv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Yv=/([^\#-~ |!])/g;function Id(e){return e.replace(/&/g,"&amp;").replace(Qv,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Yv,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Ys;function Pd(e,t){let i=null;try{Ys=Ys||Td(e);let s=t?String(t):"";i=Ys.getInertBodyElement(s);let l=5,g=s;do{if(0===l)throw new Error("Failed to sanitize html because the input is unstable");l--,s=g,g=i.innerHTML,i=Ys.getInertBodyElement(s)}while(s!==g);return go((new Kv).sanitizeChildren(Xa(i)||i))}finally{if(i){const s=Xa(i)||i;for(;s.firstChild;)s.removeChild(s.firstChild)}}}function Xa(e){return"content"in e&&function Zv(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Un=(()=>((Un=Un||{})[Un.NONE=0]="NONE",Un[Un.HTML=1]="HTML",Un[Un.STYLE=2]="STYLE",Un[Un.SCRIPT=3]="SCRIPT",Un[Un.URL=4]="URL",Un[Un.RESOURCE_URL=5]="RESOURCE_URL",Un))();function Ad(e){const t=as();return t?_d(t.sanitize(Un.HTML,e)||""):vo(e,"HTML")?_d(Pr(e)):Pd(Qn(),A(e))}function Rd(e){const t=as();return t?t.sanitize(Un.STYLE,e)||"":vo(e,"Style")?Pr(e):A(e)}function qa(e){const t=as();return t?t.sanitize(Un.URL,e)||"":vo(e,"URL")?Pr(e):os(A(e))}function el(e){const t=as();if(t)return Cd(t.sanitize(Un.RESOURCE_URL,e)||"");if(vo(e,"ResourceURL"))return Cd(Pr(e));throw new S(904,"")}function xd(e){const t=as();if(t)return bd(t.sanitize(Un.SCRIPT,e)||"");if(vo(e,"Script"))return bd(Pr(e));throw new S(905,"")}function Fd(e){return go(e[0])}function kd(e){return function Pv(e){var t;return(null===(t=Ka())||void 0===t?void 0:t.createScriptURL(e))||e}(e[0])}function Nd(e,t,i){return function Jv(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?el:qa}(t,i)(e)}function as(){const e=bt();return e&&e[12]}function ui(e){let t=ls(e);if(t){if(Array.isArray(t)){const i=t;let s,l,g;if(function Xv(e){return e&&e.constructor&&e.constructor.\u0275cmp}(e)){if(s=Vd(i,e),-1==s)throw new Error("The provided component was not found in the application");l=e}else if(function qv(e){return e&&e.constructor&&e.constructor.\u0275dir}(e)){if(s=function ty(e,t){let i=e[1].firstChild;for(;i;){const l=i.directiveEnd;for(let g=i.directiveStart;g<l;g++)if(e[g]===t)return i.index;i=ey(i)}return-1}(i,e),-1==s)throw new Error("The provided directive was not found in the application");g=$d(s,i,!1)}else if(s=Bd(i,e),-1==s)return null;const C=k(i[s]),w=ls(C),O=w&&!Array.isArray(w)?w:tl(i,s,C);if(l&&void 0===O.component&&(O.component=l,di(O.component,O)),g&&void 0===O.directives){O.directives=g;for(let $=0;$<g.length;$++)di(g[$],O)}di(O.native,O),t=O}}else{const i=e;let s=i;for(;s=s.parentNode;){const l=ls(s);if(l){let g;if(g=Array.isArray(l)?l:l.lView,!g)return null;const C=Bd(g,i);if(C>=0){const w=k(g[C]),O=tl(g,C,w);di(w,O),t=O;break}}}}return t||null}function tl(e,t,i){return{lView:e,nodeIndex:t,native:i,component:void 0,directives:void 0,localRefs:void 0}}function Ld(e){let i,t=ls(e);if(Array.isArray(t)){const s=Vd(t,e);i=rn(s,t);const l=tl(t,s,i[0]);l.component=e,di(e,l),di(l.native,l)}else i=rn(t.nodeIndex,t.lView);return i}const jd="__ngContext__";function di(e,t){e[jd]=t}function ls(e){return e[jd]||null}function nl(e){const t=ls(e);return t?Array.isArray(t)?t:t.lView:null}function Bd(e,t){const i=e[1];for(let s=20;s<i.bindingStartIndex;s++)if(k(e[s])===t)return s;return-1}function ey(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 Vd(e,t){const i=e[1].components;if(i)for(let s=0;s<i.length;s++){const l=i[s];if(rn(l,e)[8]===t)return l}else if(rn(20,e)[8]===t)return 20;return-1}function $d(e,t,i){const s=t[1].data[e];let l=s.directiveStart;return 0==l?_t:(!i&&2&s.flags&&l++,t.slice(l,s.directiveEnd))}const il="ngOriginalError";function rl(e){return e[il]}function ay(e,...t){e.error(...t)}class Zs{constructor(){this._console=console}handleError(t){const i=this._findOriginalError(t),s=function sy(e){return e&&e.ngErrorLogger||ay}(t);s(this._console,"ERROR",t),i&&s(this._console,"ORIGINAL ERROR",i)}_findOriginalError(t){let i=t&&rl(t);for(;i&&rl(i);)i=rl(i);return i||null}}const Hd={name:"custom-elements"},Ud={name:"no-errors-schema"},ly=/^>|^->|<!--|-->|--!>|<!-$/g,cy=/(<|>)/;const my=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Oe))();function Wd(e){return e.ownerDocument.defaultView}function Gd(e){return e.ownerDocument}function Kd(e){return e.ownerDocument.body}function yr(e){return e instanceof Function?e():e}var _r=(()=>((_r=_r||{})[_r.Important=1]="Important",_r[_r.DashCase=2]="DashCase",_r))();let ol;function sl(e,t){return ol(e,t)}function cs(e){const t=e[3];return An(t)?t[3]:t}function Jd(e){return function Zd(e){let t=wn(e)?e:nl(e);for(;t&&!(512&t[2]);)t=cs(t);return t}(e)[8]}function al(e){return Xd(e[13])}function ll(e){return Xd(e[4])}function Xd(e){for(;null!==e&&!An(e);)e=e[4];return e}function _o(e,t,i,s,l){if(null!=s){let g,C=!1;An(s)?g=s:wn(s)&&(C=!0,s=s[0]);const w=k(s);0===e&&null!==i?null==l?sf(t,i,w):Xr(t,i,w,l||null,!0):1===e&&null!==i?Xr(t,i,w,l||null,!0):2===e?hf(t,w,C):3===e&&t.destroyNode(w),null!=g&&function Iy(e,t,i,s,l){const g=i[7];g!==k(i)&&_o(t,e,s,g,l);for(let w=10;w<i.length;w++){const O=i[w];us(O[1],O,e,t,s,g)}}(t,e,g,i,l)}}function cl(e,t){return Tn(e)?e.createText(t):e.createTextNode(t)}function qd(e,t,i){Tn(e)?e.setValue(t,i):t.textContent=i}function vy(e,t){return e.createComment(function zd(e){return e.replace(ly,t=>t.replace(cy,"\u200b$1\u200b"))}(t))}function ul(e,t,i){if(Tn(e))return e.createElement(t,i);{const s=null!==i?function $n(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":t===jn?"http://www.w3.org/1998/MathML/":null}(i):null;return null===s?e.createElement(t):e.createElementNS(s,t)}}function ef(e,t){const i=e[9],s=i.indexOf(t),l=t[3];1024&t[2]&&(t[2]&=-1025,ie(l,-1)),i.splice(s,1)}function dl(e,t){if(e.length<=10)return;const i=10+t,s=e[i];if(s){const l=s[17];null!==l&&l!==e&&ef(l,s),t>0&&(e[i-1][4]=s[4]);const g=$s(e,10+t);!function yy(e,t){us(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(s[1],s);const C=g[19];null!==C&&C.detachView(g[1]),s[3]=null,s[4]=null,s[2]&=-129}return s}function tf(e,t){if(!(256&t[2])){const i=t[11];Tn(i)&&i.destroyNode&&us(e,t,i,3,null,null),function Cy(e){let t=e[13];if(!t)return fl(e[1],e);for(;t;){let i=null;if(wn(t))i=t[13];else{const s=t[10];s&&(i=s)}if(!i){for(;t&&!t[4]&&t!==e;)wn(t)&&fl(t[1],t),t=t[3];null===t&&(t=e),wn(t)&&fl(t[1],t),i=t&&t[4]}t=i}}(t)}}function fl(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function wy(e,t){let i;if(null!=e&&null!=(i=e.destroyHooks))for(let s=0;s<i.length;s+=2){const l=t[i[s]];if(!(l instanceof xn)){const g=i[s+1];if(Array.isArray(g))for(let C=0;C<g.length;C+=2){const w=l[g[C]],O=g[C+1];Ln(4,w,O);try{O.call(w)}finally{Ln(5,w,O)}}else{Ln(4,l,g);try{g.call(l)}finally{Ln(5,l,g)}}}}}(e,t),function Dy(e,t){const i=e.cleanup,s=t[7];let l=-1;if(null!==i)for(let g=0;g<i.length-1;g+=2)if("string"==typeof i[g]){const C=i[g+1],w="function"==typeof C?C(t):k(t[C]),O=s[l=i[g+2]],$=i[g+3];"boolean"==typeof $?w.removeEventListener(i[g],O,$):$>=0?s[l=$]():s[l=-$].unsubscribe(),g+=2}else{const C=s[l=i[g+1]];i[g].call(C)}if(null!==s){for(let g=l+1;g<s.length;g++)s[g]();t[7]=null}}(e,t),1===t[1].type&&Tn(t[11])&&t[11].destroy();const i=t[17];if(null!==i&&An(t[3])){i!==t[3]&&ef(i,t);const s=t[19];null!==s&&s.detachView(e)}}}function nf(e,t,i){return rf(e,t.parent,i)}function rf(e,t,i){let s=t;for(;null!==s&&40&s.type;)s=(t=s).parent;if(null===s)return i[0];if(2&s.flags){const l=e.data[s.directiveStart].encapsulation;if(l===Ce.None||l===Ce.Emulated)return null}return vt(s,i)}function Xr(e,t,i,s,l){Tn(e)?e.insertBefore(t,i,s,l):t.insertBefore(i,s,l)}function sf(e,t,i){Tn(e)?e.appendChild(t,i):t.appendChild(i)}function af(e,t,i,s,l){null!==s?Xr(e,t,i,s,l):sf(e,t,i)}function Js(e,t){return Tn(e)?e.parentNode(t):t.parentNode}function lf(e,t,i){return uf(e,t,i)}function cf(e,t,i){return 40&e.type?vt(e,i):null}let hl,uf=cf;function df(e,t){uf=e,hl=t}function Xs(e,t,i,s){const l=nf(e,s,t),g=t[11],w=lf(s.parent||t[6],s,t);if(null!=l)if(Array.isArray(i))for(let O=0;O<i.length;O++)af(g,l,i[O],w,!1);else af(g,l,i,w,!1);void 0!==hl&&hl(g,s,t,i,l)}function qs(e,t){if(null!==t){const i=t.type;if(3&i)return vt(t,e);if(4&i)return pl(-1,e[t.index]);if(8&i){const s=t.child;if(null!==s)return qs(e,s);{const l=e[t.index];return An(l)?pl(-1,l):k(l)}}if(32&i)return sl(t,e)()||k(e[t.index]);{const s=ff(e,t);return null!==s?Array.isArray(s)?s[0]:qs(cs(e[16]),s):qs(e,t.next)}}return null}function ff(e,t){return null!==t?e[16][6].projection[t.projection]:null}function pl(e,t){const i=10+e+1;if(i<t.length){const s=t[i],l=s[1].firstChild;if(null!==l)return qs(s,l)}return t[7]}function hf(e,t,i){const s=Js(e,t);s&&function My(e,t,i,s){Tn(e)?e.removeChild(t,i,s):t.removeChild(i)}(e,s,t,i)}function ml(e,t,i,s,l,g,C){for(;null!=i;){const w=s[i.index],O=i.type;if(C&&0===t&&(w&&di(k(w),s),i.flags|=4),64!=(64&i.flags))if(8&O)ml(e,t,i.child,s,l,g,!1),_o(t,e,l,w,g);else if(32&O){const $=sl(i,s);let q;for(;q=$();)_o(t,e,l,q,g);_o(t,e,l,w,g)}else 16&O?pf(e,t,s,i,l,g):_o(t,e,l,w,g);i=C?i.projectionNext:i.next}}function us(e,t,i,s,l,g){ml(i,s,e.firstChild,t,l,g,!1)}function pf(e,t,i,s,l,g){const C=i[16],O=C[6].projection[s.projection];if(Array.isArray(O))for(let $=0;$<O.length;$++)_o(t,e,l,O[$],g);else ml(e,t,O,C[3],l,g,!0)}function mf(e,t,i){Tn(e)?e.setAttribute(t,"style",i):t.style.cssText=i}function gl(e,t,i){Tn(e)?""===i?e.removeAttribute(t,"class"):e.setAttribute(t,"class",i):t.className=i}function gf(e,t,i){let s=e.length;for(;;){const l=e.indexOf(t,i);if(-1===l)return l;if(0===l||e.charCodeAt(l-1)<=32){const g=t.length;if(l+g===s||e.charCodeAt(l+g)<=32)return l}i=l+1}}const vf="ng-template";function Ay(e,t,i){let s=0;for(;s<e.length;){let l=e[s++];if(i&&"class"===l){if(l=e[s],-1!==gf(l.toLowerCase(),t,0))return!0}else if(1===l){for(;s<e.length&&"string"==typeof(l=e[s++]);)if(l.toLowerCase()===t)return!0;return!1}}return!1}function yf(e){return 4===e.type&&e.value!==vf}function Ry(e,t,i){return t===(4!==e.type||i?e.value:vf)}function xy(e,t,i){let s=4;const l=e.attrs||[],g=function Ny(e){for(let t=0;t<e.length;t++)if(mr(e[t]))return t;return e.length}(l);let C=!1;for(let w=0;w<t.length;w++){const O=t[w];if("number"!=typeof O){if(!C)if(4&s){if(s=2|1&s,""!==O&&!Ry(e,O,i)||""===O&&1===t.length){if(ir(s))return!1;C=!0}}else{const $=8&s?O:t[++w];if(8&s&&null!==e.attrs){if(!Ay(e.attrs,$,i)){if(ir(s))return!1;C=!0}continue}const be=Fy(8&s?"class":O,l,yf(e),i);if(-1===be){if(ir(s))return!1;C=!0;continue}if(""!==$){let Ve;Ve=be>g?"":l[be+1].toLowerCase();const tt=8&s?Ve:null;if(tt&&-1!==gf(tt,$,0)||2&s&&$!==Ve){if(ir(s))return!1;C=!0}}}}else{if(!C&&!ir(s)&&!ir(O))return!1;if(C&&ir(O))continue;C=!1,s=O|1&s}}return ir(s)||C}function ir(e){return 0==(1&e)}function Fy(e,t,i,s){if(null===t)return-1;let l=0;if(s||!i){let g=!1;for(;l<t.length;){const C=t[l];if(C===e)return l;if(3===C||6===C)g=!0;else{if(1===C||2===C){let w=t[++l];for(;"string"==typeof w;)w=t[++l];continue}if(4===C)break;if(0===C){l+=4;continue}}l+=g?1:2}return-1}return function Ly(e,t){let i=e.indexOf(4);if(i>-1)for(i++;i<e.length;){const s=e[i];if("number"==typeof s)return-1;if(s===t)return i;i++}return-1}(t,e)}function _f(e,t,i=!1){for(let s=0;s<t.length;s++)if(xy(e,t[s],i))return!0;return!1}function jy(e,t){e:for(let i=0;i<t.length;i++){const s=t[i];if(e.length===s.length){for(let l=0;l<e.length;l++)if(e[l]!==s[l])continue e;return!0}}return!1}function bf(e,t){return e?":not("+t.trim()+")":t}function By(e){let t=e[0],i=1,s=2,l="",g=!1;for(;i<e.length;){let C=e[i];if("string"==typeof C)if(2&s){const w=e[++i];l+="["+C+(w.length>0?'="'+w+'"':"")+"]"}else 8&s?l+="."+C:4&s&&(l+=" "+C);else""!==l&&!ir(C)&&(t+=bf(g,l),l=""),s=C,g=g||!ir(s);i++}return""!==l&&(t+=bf(g,l)),t}const en={};function Cf(e){Ef(cn(),bt(),mn()+e,Wr())}function Ef(e,t,i,s){if(!s)if(3==(3&t[2])){const g=e.preOrderCheckHooks;null!==g&&Qr(t,g,i)}else{const g=e.preOrderHooks;null!==g&&Yr(t,g,0,i)}pi(i)}function ea(e,t){return e<<17|t<<2}function rr(e){return e>>17&32767}function vl(e){return 2|e}function Ar(e){return(131068&e)>>2}function yl(e,t){return-131069&e|t<<2}function _l(e){return 1|e}const Sl=(()=>Promise.resolve(null))();function xf(e,t){const i=e.contentQueries;if(null!==i)for(let s=0;s<i.length;s+=2){const l=i[s],g=i[s+1];if(-1!==g){const C=e.data[g];mt(l),C.contentQueries(2,t[g],g)}}}function ds(e,t,i,s,l,g,C,w,O,$){const q=t.blueprint.slice();return q[0]=l,q[2]=140|s,I(q),q[3]=q[15]=e,q[8]=i,q[10]=C||e&&e[10],q[11]=w||e&&e[11],q[12]=O||e&&e[12]||null,q[9]=$||e&&e[9]||null,q[6]=g,q[16]=2==t.type?e[16]:q,q}function bo(e,t,i,s,l){let g=e.data[t];if(null===g)g=Ol(e,t,i,s,l),function D(){return Qe.lFrame.inI18n}()&&(g.flags|=64);else if(64&g.type){g.type=i,g.value=s,g.attrs=l;const C=zr();g.injectorIndex=null===C?-1:C.injectorIndex}return ji(g,!0),g}function Ol(e,t,i,s,l){const g=Ko(),C=io(),O=e.data[t]=function i_(e,t,i,s,l,g){return{type:i,index:s,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:l,attrs:g,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,C?g:g&&g.parent,i,t,s,l);return null===e.firstChild&&(e.firstChild=O),null!==g&&(C?null==g.child&&null!==O.parent&&(g.child=O):null===g.next&&(g.next=O)),O}function Co(e,t,i,s){if(0===i)return-1;const l=t.length;for(let g=0;g<i;g++)t.push(s),e.blueprint.push(s),e.data.push(null);return l}function fs(e,t,i){Jt(t);try{const s=e.viewQuery;null!==s&&Ll(1,s,i);const l=e.template;null!==l&&Ff(e,t,l,1,i),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&xf(e,t),e.staticViewQueries&&Ll(2,e.viewQuery,i);const g=e.components;null!==g&&function e_(e,t){for(let i=0;i<t.length;i++)C_(e,t[i])}(t,g)}catch(s){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),s}finally{t[2]&=-5,Rn()}}function Eo(e,t,i,s){const l=t[2];if(256==(256&l))return;Jt(t);const g=Wr();try{I(t),Rs(e.bindingStartIndex),null!==i&&Ff(e,t,i,2,s);const C=3==(3&l);if(!g)if(C){const $=e.preOrderCheckHooks;null!==$&&Qr(t,$,null)}else{const $=e.preOrderHooks;null!==$&&Yr(t,$,0,null),Bt(t,0)}if(function __(e){for(let t=al(e);null!==t;t=ll(t)){if(!t[2])continue;const i=t[9];for(let s=0;s<i.length;s++){const l=i[s],g=l[3];0==(1024&l[2])&&ie(g,1),l[2]|=1024}}}(t),function y_(e){for(let t=al(e);null!==t;t=ll(t))for(let i=10;i<t.length;i++){const s=t[i],l=s[1];In(s)&&Eo(l,s,l.template,s[8])}}(t),null!==e.contentQueries&&xf(e,t),!g)if(C){const $=e.contentCheckHooks;null!==$&&Qr(t,$)}else{const $=e.contentHooks;null!==$&&Yr(t,$,1),Bt(t,1)}!function Xy(e,t){const i=e.hostBindingOpCodes;if(null!==i)try{for(let s=0;s<i.length;s++){const l=i[s];if(l<0)pi(~l);else{const g=l,C=i[++s],w=i[++s];ee(C,g),w(2,t[g])}}}finally{pi(-1)}}(e,t);const w=e.components;null!==w&&function qy(e,t){for(let i=0;i<t.length;i++)b_(e,t[i])}(t,w);const O=e.viewQuery;if(null!==O&&Ll(2,O,s),!g)if(C){const $=e.viewCheckHooks;null!==$&&Qr(t,$)}else{const $=e.viewHooks;null!==$&&Yr(t,$,2),Bt(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),g||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,ie(t[3],-1))}finally{Rn()}}function t_(e,t,i,s){const l=t[10],g=!Wr(),C=ln(t);try{g&&!C&&l.begin&&l.begin(),C&&fs(e,t,s),Eo(e,t,i,s)}finally{g&&!C&&l.end&&l.end()}}function Ff(e,t,i,s,l){const g=mn(),C=2&s;try{pi(-1),C&&t.length>20&&Ef(e,t,20,Wr()),Ln(C?2:0,l),i(s,l)}finally{pi(g),Ln(C?3:1,l)}}function kf(e,t,i){if(hi(t)){const l=t.directiveEnd;for(let g=t.directiveStart;g<l;g++){const C=e.data[g];C.contentQueries&&C.contentQueries(1,i[g],g)}}}function Il(e,t,i){!Ir()||(function u_(e,t,i,s){const l=i.directiveStart,g=i.directiveEnd;e.firstCreatePass||Zo(i,t),di(s,t);const C=i.initialInputs;for(let w=l;w<g;w++){const O=e.data[w],$=zn(O);$&&m_(t,i,O);const q=Jo(t,e,w,i);di(q,t),null!==C&&g_(0,w-l,q,O,0,C),$&&(rn(i.index,t)[8]=q)}}(e,t,i,vt(i,t)),128==(128&i.flags)&&function d_(e,t,i){const s=i.directiveStart,l=i.directiveEnd,C=i.index,w=function ye(){return Qe.lFrame.currentDirectiveIndex}();try{pi(C);for(let O=s;O<l;O++){const $=e.data[O],q=t[O];ke(O),(null!==$.hostBindings||0!==$.hostVars||null!==$.hostAttrs)&&Uf($,q)}}finally{pi(-1),ke(w)}}(e,t,i))}function Pl(e,t,i=vt){const s=t.localNames;if(null!==s){let l=t.index+1;for(let g=0;g<s.length;g+=2){const C=s[g+1],w=-1===C?i(t,e):e[C];e[l++]=w}}}function Nf(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=ia(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function ia(e,t,i,s,l,g,C,w,O,$){const q=20+s,be=q+l,Ve=function n_(e,t){const i=[];for(let s=0;s<t;s++)i.push(s<e?null:en);return i}(q,be),tt="function"==typeof $?$():$;return Ve[1]={type:e,blueprint:Ve,template:i,queries:null,viewQuery:w,declTNode:t,data:Ve.slice().fill(null,q),bindingStartIndex:q,expandoStartIndex:be,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof g?g():g,pipeRegistry:"function"==typeof C?C():C,firstChild:null,schemas:O,consts:tt,incompleteFirstPass:!1}}function jf(e,t,i){if(Tn(e))return e.selectRootElement(t,i===Ce.ShadowDom);let s="string"==typeof t?e.querySelector(t):t;return s.textContent="",s}function Bf(e,t,i,s){const l=Yf(t);null===i?l.push(s):(l.push(i),e.firstCreatePass&&Zf(e).push(s,l.length-1))}function Vf(e,t,i){for(let s in e)if(e.hasOwnProperty(s)){const l=e[s];(i=null===i?{}:i).hasOwnProperty(s)?i[s].push(t,l):i[s]=[t,l]}return i}function Ii(e,t,i,s,l,g,C,w){const O=vt(t,i);let q,$=t.inputs;!w&&null!=$&&(q=$[s])?(qf(e,i,q,s,l),vi(t)&&function s_(e,t){const i=rn(t,e);16&i[2]||(i[2]|=64)}(i,t.index)):3&t.type&&(s=function o_(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(s),l=null!=C?C(l,t.value||"",s):l,Tn(g)?g.setProperty(O,s,l):Zr(s)||(O.setProperty?O.setProperty(s,l):O[s]=l))}function Al(e,t,i,s){let l=!1;if(Ir()){const g=function f_(e,t,i){const s=e.directiveRegistry;let l=null;if(s)for(let g=0;g<s.length;g++){const C=s[g];_f(i,C.selectors,!1)&&(l||(l=[]),js(Zo(i,t),e,C.type),zn(C)?(zf(e,i),l.unshift(C)):l.push(C))}return l}(e,t,i),C=null===s?null:{"":-1};if(null!==g){l=!0,Wf(i,e.data.length,g.length);for(let q=0;q<g.length;q++){const be=g[q];be.providersResolver&&be.providersResolver(be)}let w=!1,O=!1,$=Co(e,t,g.length,null);for(let q=0;q<g.length;q++){const be=g[q];i.mergedAttrs=ks(i.mergedAttrs,be.hostAttrs),Gf(e,i,t,$,be),p_($,be,C),null!==be.contentQueries&&(i.flags|=8),(null!==be.hostBindings||null!==be.hostAttrs||0!==be.hostVars)&&(i.flags|=128);const Ve=be.type.prototype;!w&&(Ve.ngOnChanges||Ve.ngOnInit||Ve.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(i.index),w=!0),!O&&(Ve.ngOnChanges||Ve.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(i.index),O=!0),$++}!function r_(e,t){const s=t.directiveEnd,l=e.data,g=t.attrs,C=[];let w=null,O=null;for(let $=t.directiveStart;$<s;$++){const q=l[$],be=q.inputs,Ve=null===g||yf(t)?null:v_(be,g);C.push(Ve),w=Vf(be,$,w),O=Vf(q.outputs,$,O)}null!==w&&(w.hasOwnProperty("class")&&(t.flags|=16),w.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=C,t.inputs=w,t.outputs=O}(e,i)}C&&function h_(e,t,i){if(t){const s=e.localNames=[];for(let l=0;l<t.length;l+=2){const g=i[t[l+1]];if(null==g)throw new S(-301,!1);s.push(t[l],g)}}}(i,s,C)}return i.mergedAttrs=ks(i.mergedAttrs,i.attrs),l}function Hf(e,t,i,s,l,g){const C=g.hostBindings;if(C){let w=e.hostBindingOpCodes;null===w&&(w=e.hostBindingOpCodes=[]);const O=~t.index;(function c_(e){let t=e.length;for(;t>0;){const i=e[--t];if("number"==typeof i&&i<0)return i}return 0})(w)!=O&&w.push(O),w.push(s,l,C)}}function Uf(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function zf(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function p_(e,t,i){if(i){if(t.exportAs)for(let s=0;s<t.exportAs.length;s++)i[t.exportAs[s]]=e;zn(t)&&(i[""]=e)}}function Wf(e,t,i){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+i,e.providerIndexes=t}function Gf(e,t,i,s,l){e.data[s]=l;const g=l.factory||(l.factory=li(l.type)),C=new xn(g,zn(l),null);e.blueprint[s]=C,i[s]=C,Hf(e,t,0,s,Co(e,i,l.hostVars,en),l)}function m_(e,t,i){const s=vt(t,e),l=Nf(i),g=e[10],C=ra(e,ds(e,l,null,i.onPush?64:16,s,t,g,g.createRenderer(s,i),null,null));e[t.index]=C}function br(e,t,i,s,l,g){const C=vt(e,t);Rl(t[11],C,g,e.value,i,s,l)}function Rl(e,t,i,s,l,g,C){if(null==g)Tn(e)?e.removeAttribute(t,l,i):t.removeAttribute(l);else{const w=null==C?A(g):C(g,s||"",l);Tn(e)?e.setAttribute(t,l,w,i):i?t.setAttributeNS(i,l,w):t.setAttribute(l,w)}}function g_(e,t,i,s,l,g){const C=g[t];if(null!==C){const w=s.setInput;for(let O=0;O<C.length;){const $=C[O++],q=C[O++],be=C[O++];null!==w?s.setInput(i,be,$,q):i[q]=be}}}function v_(e,t){let i=null,s=0;for(;s<t.length;){const l=t[s];if(0!==l)if(5!==l){if("number"==typeof l)break;e.hasOwnProperty(l)&&(null===i&&(i=[]),i.push(l,e[l],t[s+1])),s+=2}else s+=2;else s+=4}return i}function Kf(e,t,i,s){return new Array(e,!0,!1,t,null,0,s,i,null,null)}function b_(e,t){const i=rn(t,e);if(In(i)){const s=i[1];80&i[2]?Eo(s,i,s.template,i[8]):i[5]>0&&xl(i)}}function xl(e){for(let s=al(e);null!==s;s=ll(s))for(let l=10;l<s.length;l++){const g=s[l];if(1024&g[2]){const C=g[1];Eo(C,g,C.template,g[8])}else g[5]>0&&xl(g)}const i=e[1].components;if(null!==i)for(let s=0;s<i.length;s++){const l=rn(i[s],e);In(l)&&l[5]>0&&xl(l)}}function C_(e,t){const i=rn(t,e),s=i[1];(function E_(e,t){for(let i=t.length;i<e.blueprint.length;i++)t.push(e.blueprint[i])})(s,i),fs(s,i,i[8])}function ra(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Fl(e){for(;e;){e[2]|=64;const t=cs(e);if(wr(e)&&!t)return e;e=t}return null}function kl(e){for(let t=0;t<e.components.length;t++){const i=e.components[t],s=nl(i),l=s[1];t_(l,s,l.template,i)}}function Nl(e,t,i){const s=t[10];s.begin&&s.begin();try{Eo(e,t,e.template,i)}catch(l){throw Xf(t,l),l}finally{s.end&&s.end()}}function Qf(e){kl(e[8])}function Ll(e,t,i){mt(0),t(e,i)}const M_=Sl;function Yf(e){return e[7]||(e[7]=[])}function Zf(e){return e.cleanup||(e.cleanup=[])}function Jf(e,t,i){return(null===e||zn(e))&&(i=function fe(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(i[t.index])),i[11]}function Xf(e,t){const i=e[9],s=i?i.get(Zs,null):null;s&&s.handleError(t)}function qf(e,t,i,s,l){for(let g=0;g<i.length;){const C=i[g++],w=i[g++],O=t[C],$=e.data[C];null!==$.setInput?$.setInput(O,l,s,w):O[w]=l}}function Rr(e,t,i){const s=dt(t,e);qd(e[11],s,i)}function oa(e,t,i){let s=i?e.styles:null,l=i?e.classes:null,g=0;if(null!==t)for(let C=0;C<t.length;C++){const w=t[C];"number"==typeof w?g=w:1==g?l=m(l,w):2==g&&(s=m(s,w+": "+t[++C]+";"))}i?e.styles=s:e.stylesWithoutHost=s,i?e.classes=l:e.classesWithoutHost=l}function eh(e){const t=Ld(e);Nl(t[1],t,e)}function th(e){!function T_(e,t){if(0===e.flags&&e.clean==Sl){let s;e.flags|=t,e.clean=new Promise(l=>s=l),e.scheduler(()=>{if(1&e.flags&&(e.flags&=-2,kl(e)),2&e.flags){e.flags&=-3;const l=e.playerHandler;l&&l.flushPlayers()}e.clean=Sl,s(null)})}}(Fl(Ld(e))[8],1)}const sa=new Hn("INJECTOR",-1);class nh{get(t,i=$r){if(i===$r){const s=new Error(`NullInjectorError: No provider for ${p(t)}!`);throw s.name="NullInjectorError",s}return i}}const jl=new Hn("Set Injector scope."),hs={},S_={};let Bl;function ih(){return void 0===Bl&&(Bl=new nh),Bl}function Vl(e,t=null,i=null,s){const l=rh(e,t,i,s);return l._resolveInjectorDefTypes(),l}function rh(e,t=null,i=null,s){return new O_(e,i,t||ih(),s)}class O_{constructor(t,i,s,l=null){this.parent=s,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const g=[];i&&gr(i,w=>this.processProvider(w,t,i)),gr([t],w=>this.processInjectorType(w,[],g)),this.records.set(sa,To(void 0,this));const C=this.records.get(jl);this.scope=null!=C?C.value:null,this.source=l||("object"==typeof t?null:p(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,i=$r,s=V.Default){this.assertNotDestroyed();const l=Ua(this),g=Je(void 0);try{if(!(s&V.SkipSelf)){let w=this.records.get(t);if(void 0===w){const O=function N_(e){return"function"==typeof e||"object"==typeof e&&e instanceof Hn}(t)&&ft(t);w=O&&this.injectableDefInScope(O)?To($l(t),hs):null,this.records.set(t,w)}if(null!=w)return this.hydrate(t,w)}return(s&V.Self?ih():this.parent).get(t,i=s&V.Optional&&i===$r?null:i)}catch(C){if("NullInjectorError"===C.name){if((C[Us]=C[Us]||[]).unshift(p(t)),l)throw C;return function Ev(e,t,i,s){const l=e[Us];throw t[dd]&&l.unshift(t[dd]),e.message=function Tv(e,t,i,s=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let l=p(t);if(Array.isArray(t))l=t.map(p).join(" -> ");else if("object"==typeof t){let g=[];for(let C in t)if(t.hasOwnProperty(C)){let w=t[C];g.push(C+":"+("string"==typeof w?JSON.stringify(w):p(w)))}l=`{${g.join(", ")}}`}return`${i}${s?"("+s+")":""}[${l}]: ${e.replace(vv,"\n ")}`}("\n"+e.message,l,i,s),e.ngTokenPath=l,e[Us]=null,e}(C,t,"R3InjectorError",this.source)}throw C}finally{Je(g),Ua(l)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((s,l)=>t.push(p(l))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new S(205,!1)}processInjectorType(t,i,s){if(!(t=v(t)))return!1;let l=te(t);const g=null==l&&t.ngModule||void 0,C=void 0===g?t:g,w=-1!==s.indexOf(C);if(void 0!==g&&(l=te(g)),null==l)return!1;if(null!=l.imports&&!w){let q;s.push(C);try{gr(l.imports,be=>{this.processInjectorType(be,i,s)&&(void 0===q&&(q=[]),q.push(be))})}finally{}if(void 0!==q)for(let be=0;be<q.length;be++){const{ngModule:Ve,providers:tt}=q[be];gr(tt,pt=>this.processProvider(pt,Ve,tt||_t))}}this.injectorDefTypes.add(C);const O=li(C)||(()=>new C);this.records.set(C,To(O,hs));const $=l.providers;if(null!=$&&!w){const q=t;gr($,be=>this.processProvider(be,q,$))}return void 0!==g&&void 0!==t.providers}processProvider(t,i,s){let l=Do(t=v(t))?t:v(t&&t.provide);const g=function P_(e,t,i){return sh(e)?To(void 0,e.useValue):To(oh(e),hs)}(t);if(Do(t)||!0!==t.multi)this.records.get(l);else{let C=this.records.get(l);C||(C=To(void 0,hs,!0),C.factory=()=>Wa(C.multi),this.records.set(l,C)),l=t,C.multi.push(t)}this.records.set(l,g)}hydrate(t,i){return i.value===hs&&(i.value=S_,i.value=i.factory()),"object"==typeof i.value&&i.value&&function k_(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(i.value)&&this.onDestroy.add(i.value),i.value}injectableDefInScope(t){if(!t.providedIn)return!1;const i=v(t.providedIn);return"string"==typeof i?"any"===i||i===this.scope:this.injectorDefTypes.has(i)}}function $l(e){const t=ft(e),i=null!==t?t.factory:li(e);if(null!==i)return i;if(e instanceof Hn)throw new S(204,!1);if(e instanceof Function)return function I_(e){const t=e.length;if(t>0)throw es(t,"?"),new S(204,!1);const i=function we(e){const t=e&&(e[Me]||e[Ke]);if(t){const i=function B(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${i}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${i}" class.`),t}return null}(e);return null!==i?()=>i.factory(e):()=>new e}(e);throw new S(204,!1)}function oh(e,t,i){let s;if(Do(e)){const l=v(e);return li(l)||$l(l)}if(sh(e))s=()=>v(e.useValue);else if(function R_(e){return!(!e||!e.useFactory)}(e))s=()=>e.useFactory(...Wa(e.deps||[]));else if(function A_(e){return!(!e||!e.useExisting)}(e))s=()=>oi(v(e.useExisting));else{const l=v(e&&(e.useClass||e.provide));if(!function F_(e){return!!e.deps}(e))return li(l)||$l(l);s=()=>new l(...Wa(e.deps))}return s}function To(e,t,i=!1){return{factory:e,value:t,multi:i?[]:void 0}}function sh(e){return null!==e&&"object"==typeof e&&_v in e}function Do(e){return"function"==typeof e}let zi=(()=>{class e{static create(i,s){var l;if(Array.isArray(i))return Vl({name:""},s,i,"");{const g=null!==(l=i.name)&&void 0!==l?l:"";return Vl({name:g},i.parent,i.providers,g)}}}return e.THROW_IF_NOT_FOUND=$r,e.NULL=new nh,e.\u0275prov=et({token:e,providedIn:"any",factory:()=>oi(sa)}),e.__NG_ELEMENT_ID__=-1,e})();function Hl(e){zl(e);const t=ui(e);return null===t?null:(void 0===t.component&&(t.component=function ny(e,t){const i=t[1].data[e];return 2&i.flags?t[i.directiveStart]:null}(t.nodeIndex,t.lView)),t.component)}function ah(e){zl(e);const t=ui(e);return null===t?null:t.lView[8]}function lh(e){const t=ui(e);if(null===t)return null;let s,i=t.lView;for(;2===i[1].type&&(s=cs(i));)i=s;return 512&i[2]?null:i[8]}function ch(e){return[...Jd(e).components]}function uh(e){const t=ui(e);return null===t?zi.NULL:new so(t.lView[1].data[t.nodeIndex],t.lView)}function dh(e){if(e instanceof Text)return[];const t=ui(e);if(null===t)return[];const i=t.lView,s=i[1],l=t.nodeIndex;return(null==s?void 0:s.data[l])?(void 0===t.directives&&(t.directives=$d(l,i,!1)),null===t.directives?[]:[...t.directives]):[]}function j_(e){const{constructor:t}=e;if(!t)throw new Error("Unable to find the instance constructor");const i=Fe(t);if(i)return{inputs:i.inputs,outputs:i.outputs,encapsulation:i.encapsulation,changeDetection:i.onPush?Pt.OnPush:Pt.Default};const s=ut(t);return s?{inputs:s.inputs,outputs:s.outputs}:null}function Ul(e){return ui(e).native}function fh(e){zl(e);const t=ui(e);if(null===t)return[];const i=t.lView,l=i[7],g=i[1].cleanup,C=[];if(g&&l)for(let w=0;w<g.length;){const O=g[w++],$=g[w++];if("string"==typeof O){const q=O,be=k(i[$]),Ve=l[g[w++]],tt=g[w++],pt="boolean"==typeof tt||tt>=0?"dom":"output",Ot="boolean"==typeof tt&&tt;e==be&&C.push({element:e,name:q,callback:Ve,useCapture:Ot,type:pt})}}return C.sort(V_),C}function V_(e,t){return e.name==t.name?0:e.name<t.name?-1:1}function $_(e){return void 0!==e.type&&void 0!==e.template&&void 0!==e.declaredInputs}function zl(e){if("undefined"!=typeof Element&&!(e instanceof Element))throw new Error("Expecting instance of DOM Element")}function H_(e){th(e),ch(e).forEach(t=>eh(t))}let ph=!1;function U_(){ph||(ph=!0,Wi("\u0275setProfiler",pr),Wi("getDirectiveMetadata",j_),Wi("getComponent",Hl),Wi("getContext",ah),Wi("getListeners",fh),Wi("getOwningComponent",lh),Wi("getHostElement",Ul),Wi("getInjector",uh),Wi("getRootComponents",ch),Wi("getDirectives",dh),Wi("applyChanges",H_))}function Wi(e,t){if("undefined"==typeof COMPILED||!COMPILED){const i=Oe;if(i){let s=i.ng;s||(s=i.ng={}),s[e]=t}}}function z_(e,t={}){const i=t.rendererFactory||N,s=t.sanitizer||null,l=Fe(e);l.type!=e&&(l.type=e);const g=l.selectors[0][0],w=jf(i.createRenderer(null,null),t.host||g,l.encapsulation),O=l.onPush?576:528,$=vh(t.scheduler,t.playerHandler),q=i.createRenderer(w,l),be=ia(0,null,null,1,0,null,null,null,null,null),Ve=ds(null,be,$,O,null,null,i,q,null,t.injector||null);let tt;Jt(Ve);try{i.begin&&i.begin(),tt=gh(mh(w,l,Ve,i,q,s),l,Ve,$,t.hostFeatures||null),fs(be,Ve,null),Eo(be,Ve,null,null)}finally{Rn(),i.end&&i.end()}return tt}function mh(e,t,i,s,l,g){const C=i[1];i[20]=e;const O=bo(C,20,2,"#host",null),$=O.mergedAttrs=t.hostAttrs;null!==$&&(oa(O,$,!0),null!==e&&(Si(l,e,$),null!==O.classes&&gl(l,e,O.classes),null!==O.styles&&mf(l,e,O.styles)));const q=s.createRenderer(e,t),be=ds(i,Nf(t),null,t.onPush?64:16,i[20],O,s,q,g||null,null);return C.firstCreatePass&&(js(Zo(O,i),C,t.type),zf(C,O),Wf(O,i.length,1)),ra(i,be),i[20]=be}function gh(e,t,i,s,l){const g=i[1],C=function l_(e,t,i){const s=Bn();e.firstCreatePass&&(i.providersResolver&&i.providersResolver(i),Gf(e,s,t,Co(e,t,1,null),i));const l=Jo(t,e,s.directiveStart,s);di(l,t);const g=vt(s,t);return g&&di(g,t),l}(g,i,t);if(s.components.push(C),e[8]=C,l&&l.forEach(O=>O(C,t)),t.contentQueries){const O=Bn();t.contentQueries(1,C,O.directiveStart)}const w=Bn();return!g.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(pi(w.index),Hf(i[1],w,0,w.directiveStart,w.directiveEnd,t),Uf(t,C)),C}function vh(e,t){return{components:[],scheduler:e||my,clean:M_,playerHandler:t||null,flags:0}}function yh(e,t){$i(nl(e)[1],Bn())}function W_(e){return Jd(e).clean}function _h(e){return Object.getPrototypeOf(e.prototype).constructor}function Wl(e){let t=_h(e.type),i=!0;const s=[e];for(;t;){let l;if(zn(e))l=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new S(903,"");l=t.\u0275dir}if(l){if(i){s.push(l);const C=e;C.inputs=Gl(e.inputs),C.declaredInputs=Gl(e.declaredInputs),C.outputs=Gl(e.outputs);const w=l.hostBindings;w&&Y_(e,w);const O=l.viewQuery,$=l.contentQueries;if(O&&K_(e,O),$&&Q_(e,$),f(e.inputs,l.inputs),f(e.declaredInputs,l.declaredInputs),f(e.outputs,l.outputs),zn(l)&&l.data.animation){const q=e.data;q.animation=(q.animation||[]).concat(l.data.animation)}}const g=l.features;if(g)for(let C=0;C<g.length;C++){const w=g[C];w&&w.ngInherit&&w(e),w===Wl&&(i=!1)}}t=Object.getPrototypeOf(t)}!function G_(e){let t=0,i=null;for(let s=e.length-1;s>=0;s--){const l=e[s];l.hostVars=t+=l.hostVars,l.hostAttrs=ks(l.hostAttrs,i=ks(i,l.hostAttrs))}}(s)}function Gl(e){return e===Ct?{}:e===_t?[]:e}function K_(e,t){const i=e.viewQuery;e.viewQuery=i?(s,l)=>{t(s,l),i(s,l)}:t}function Q_(e,t){const i=e.contentQueries;e.contentQueries=i?(s,l,g)=>{t(s,l,g),i(s,l,g)}:t}function Y_(e,t){const i=e.hostBindings;e.hostBindings=i?(s,l)=>{t(s,l),i(s,l)}:t}const Z_=["providersResolver"],J_=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function bh(e){let i,t=_h(e.type);i=zn(e)?t.\u0275cmp:t.\u0275dir;const s=e;for(const l of Z_)s[l]=i[l];if(zn(i))for(const l of J_)s[l]=i[l]}let aa=null;function wo(){if(!aa){const e=Oe.Symbol;if(e&&e.iterator)aa=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let i=0;i<t.length;++i){const s=t[i];"entries"!==s&&"size"!==s&&Map.prototype[s]===Map.prototype.entries&&(aa=s)}}}return aa}function Ch(e,t){const i=ps(e),s=ps(t);return i&&s?function X_(e,t,i){const s=e[wo()](),l=t[wo()]();for(;;){const g=s.next(),C=l.next();if(g.done&&C.done)return!0;if(g.done||C.done||!i(g.value,C.value))return!1}}(e,t,Ch):!(i||!e||"object"!=typeof e&&"function"!=typeof e||s||!t||"object"!=typeof t&&"function"!=typeof t)||Object.is(e,t)}function ps(e){return!!Kl(e)&&(Array.isArray(e)||!(e instanceof Map)&&wo()in e)}function Kl(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Cr(e,t,i){return e[t]=i}function ms(e,t){return e[t]}function fi(e,t,i){return!Object.is(e[t],i)&&(e[t]=i,!0)}function qr(e,t,i,s){const l=fi(e,t,i);return fi(e,t+1,s)||l}function la(e,t,i,s,l){const g=qr(e,t,i,s);return fi(e,t+2,l)||g}function Gi(e,t,i,s,l,g){const C=qr(e,t,i,s);return qr(e,t+2,l,g)||C}function Ql(e,t,i,s){const l=bt();return fi(l,K(),t)&&(cn(),br(gn(),l,e,t,i,s)),Ql}function Mo(e,t){let i=!1,s=tr();for(let g=1;g<t.length;g+=2)i=fi(e,s++,t[g])||i;if(Rs(s),!i)return en;let l=t[0];for(let g=1;g<t.length;g+=2)l+=A(t[g])+t[g+1];return l}function So(e,t,i,s){return fi(e,K(),i)?t+A(i)+s:en}function Oo(e,t,i,s,l,g){const w=qr(e,tr(),i,l);return E(2),w?t+A(i)+s+A(l)+g:en}function Io(e,t,i,s,l,g,C,w){const $=la(e,tr(),i,l,C);return E(3),$?t+A(i)+s+A(l)+g+A(C)+w:en}function Po(e,t,i,s,l,g,C,w,O,$){const be=Gi(e,tr(),i,l,C,O);return E(4),be?t+A(i)+s+A(l)+g+A(C)+w+A(O)+$:en}function Ao(e,t,i,s,l,g,C,w,O,$,q,be){const Ve=tr();let tt=Gi(e,Ve,i,l,C,O);return tt=fi(e,Ve+4,q)||tt,E(5),tt?t+A(i)+s+A(l)+g+A(C)+w+A(O)+$+A(q)+be:en}function Ro(e,t,i,s,l,g,C,w,O,$,q,be,Ve,tt){const pt=tr();let Ot=Gi(e,pt,i,l,C,O);return Ot=qr(e,pt+4,q,Ve)||Ot,E(6),Ot?t+A(i)+s+A(l)+g+A(C)+w+A(O)+$+A(q)+be+A(Ve)+tt:en}function xo(e,t,i,s,l,g,C,w,O,$,q,be,Ve,tt,pt,Ot){const At=tr();let Vt=Gi(e,At,i,l,C,O);return Vt=la(e,At+4,q,Ve,pt)||Vt,E(7),Vt?t+A(i)+s+A(l)+g+A(C)+w+A(O)+$+A(q)+be+A(Ve)+tt+A(pt)+Ot:en}function Fo(e,t,i,s,l,g,C,w,O,$,q,be,Ve,tt,pt,Ot,At,Vt){const yt=tr();let Gt=Gi(e,yt,i,l,C,O);return Gt=Gi(e,yt+4,q,Ve,pt,At)||Gt,E(8),Gt?t+A(i)+s+A(l)+g+A(C)+w+A(O)+$+A(q)+be+A(Ve)+tt+A(pt)+Ot+A(At)+Vt:en}function Yl(e,t,i,s,l,g){const C=bt(),w=So(C,t,i,s);return w!==en&&br(gn(),C,e,w,l,g),Yl}function Zl(e,t,i,s,l,g,C,w){const O=bt(),$=Oo(O,t,i,s,l,g);return $!==en&&br(gn(),O,e,$,C,w),Zl}function Jl(e,t,i,s,l,g,C,w,O,$){const q=bt(),be=Io(q,t,i,s,l,g,C,w);return be!==en&&br(gn(),q,e,be,O,$),Jl}function Xl(e,t,i,s,l,g,C,w,O,$,q,be){const Ve=bt(),tt=Po(Ve,t,i,s,l,g,C,w,O,$);return tt!==en&&br(gn(),Ve,e,tt,q,be),Xl}function ql(e,t,i,s,l,g,C,w,O,$,q,be,Ve,tt){const pt=bt(),Ot=Ao(pt,t,i,s,l,g,C,w,O,$,q,be);return Ot!==en&&br(gn(),pt,e,Ot,Ve,tt),ql}function ec(e,t,i,s,l,g,C,w,O,$,q,be,Ve,tt,pt,Ot){const At=bt(),Vt=Ro(At,t,i,s,l,g,C,w,O,$,q,be,Ve,tt);return Vt!==en&&br(gn(),At,e,Vt,pt,Ot),ec}function tc(e,t,i,s,l,g,C,w,O,$,q,be,Ve,tt,pt,Ot,At,Vt){const yt=bt(),Gt=xo(yt,t,i,s,l,g,C,w,O,$,q,be,Ve,tt,pt,Ot);return Gt!==en&&br(gn(),yt,e,Gt,At,Vt),tc}function nc(e,t,i,s,l,g,C,w,O,$,q,be,Ve,tt,pt,Ot,At,Vt,yt,Gt){const un=bt(),Dn=Fo(un,t,i,s,l,g,C,w,O,$,q,be,Ve,tt,pt,Ot,At,Vt);return Dn!==en&&br(gn(),un,e,Dn,yt,Gt),nc}function ic(e,t,i,s){const l=bt(),g=Mo(l,t);return g!==en&&br(gn(),l,e,g,i,s),ic}function Eh(e,t,i,s,l,g,C,w){const O=bt(),$=cn(),q=e+20,be=$.firstCreatePass?function eb(e,t,i,s,l,g,C,w,O){const $=t.consts,q=bo(t,e,4,C||null,F($,w));Al(t,i,q,F($,O)),$i(t,q);const be=q.tViews=ia(2,q,s,l,g,t.directiveRegistry,t.pipeRegistry,null,t.schemas,$);return null!==t.queries&&(t.queries.template(t,q),be.queries=t.queries.embeddedTView(q)),q}(q,$,O,t,i,s,l,g,C):$.data[q];ji(be,!1);const Ve=O[11].createComment("");Xs($,O,Ve,be),di(Ve,O),ra(O,O[q]=Kf(Ve,O,Ve,be)),ai(be)&&Il($,O,be),null!=C&&Pl(O,be,w)}function Th(e,t,i,s){i>=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=s}function Dh(e){return dn(function Yo(){return Qe.lFrame.contextLView}(),20+e)}const wh={\u0275\u0275defineInjectable:et,\u0275\u0275defineInjector:We,\u0275\u0275inject:oi,\u0275\u0275invalidFactoryDep:za,resolveForwardRef:v};const nb=c({provide:String,useValue:c});function Mh(e){return void 0!==e.useClass}function Sh(e){return void 0!==e.useFactory}const sb=uo("Injectable",void 0,void 0,void 0,(e,t)=>function tb(e,t){let i=null,s=null;e.hasOwnProperty(Me)||Object.defineProperty(e,Me,{get:()=>(null===i&&(i=Jn().compileInjectable(wh,`ng:///${e.name}/\u0275prov.js`,function ob(e,t){const i=t||{providedIn:null},s={name:e.name,type:e,typeArgumentCount:0,providedIn:i.providedIn};return(Mh(i)||Sh(i))&&void 0!==i.deps&&(s.deps=md(i.deps)),Mh(i)?s.useClass=i.useClass:function ib(e){return nb in e}(i)?s.useValue=i.useValue:Sh(i)?s.useFactory=i.useFactory:function rb(e){return void 0!==e.useExisting}(i)&&(s.useExisting=i.useExisting),s}(e,t))),i)}),e.hasOwnProperty(X)||Object.defineProperty(e,X,{get:()=>{if(null===s){const l=Jn();s=l.compileFactory(wh,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:Gs(e),target:l.FactoryTarget.Injectable})}return s},configurable:!0})}(e,t));function rc(e){return e.length>1?" ("+function ab(e){const t=[];for(let i=0;i<e.length;++i){if(t.indexOf(e[i])>-1)return t.push(e[i]),t;t.push(e[i])}return t}(e.slice().reverse()).map(s=>p(s.token)).join(" -> ")+")":""}function oc(e,t,i,s){const l=[t],g=i(l),C=s?function oy(e,t){const i=`${e} caused by: ${t instanceof Error?t.message:t}`,s=Error(i);return s[il]=t,s}(g,s):Error(g);return C.addKey=lb,C.keys=l,C.injectors=[e],C.constructResolvingMessage=i,C[il]=s,C}function lb(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function Oh(e,t){const i=[];for(let s=0,l=t.length;s<l;s++){const g=t[s];i.push(g&&0!=g.length?g.map(p).join(" "):"?")}return Error("Cannot resolve all parameters for '"+p(e)+"'("+i.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+p(e)+"' is decorated with Injectable.")}function pb(e,t){return Error(`Cannot mix multi providers and regular providers, got: ${e} ${t}`)}class xr{constructor(t,i){if(this.token=t,this.id=i,!t)throw new Error("Token must be defined!");this.displayName=p(this.token)}static get(t){return Ih.get(v(t))}static get numberOfKeys(){return Ih.numberOfKeys}}class mb{constructor(){this._allKeys=new Map}get(t){if(t instanceof xr)return t;if(this._allKeys.has(t))return this._allKeys.get(t);const i=new xr(t,xr.numberOfKeys);return this._allKeys.set(t,i),i}get numberOfKeys(){return this._allKeys.size}}const Ih=new mb;class gb{constructor(t){this.reflectionCapabilities=t}updateCapabilities(t){this.reflectionCapabilities=t}factory(t){return this.reflectionCapabilities.factory(t)}parameters(t){return this.reflectionCapabilities.parameters(t)}annotations(t){return this.reflectionCapabilities.annotations(t)}propMetadata(t){return this.reflectionCapabilities.propMetadata(t)}hasLifecycleHook(t,i){return this.reflectionCapabilities.hasLifecycleHook(t,i)}getter(t){return this.reflectionCapabilities.getter(t)}setter(t){return this.reflectionCapabilities.setter(t)}method(t){return this.reflectionCapabilities.method(t)}importUri(t){return this.reflectionCapabilities.importUri(t)}resourceUri(t){return this.reflectionCapabilities.resourceUri(t)}resolveIdentifier(t,i,s,l){return this.reflectionCapabilities.resolveIdentifier(t,i,s,l)}resolveEnum(t,i){return this.reflectionCapabilities.resolveEnum(t,i)}}const Ph=new gb(new Va);class ca{constructor(t,i,s){this.key=t,this.optional=i,this.visibility=s}static fromKey(t){return new ca(t,!1,null)}}const vb=[];class Ah{constructor(t,i,s){this.key=t,this.resolvedFactories=i,this.multiProvider=s,this.resolvedFactory=this.resolvedFactories[0]}}class Rh{constructor(t,i){this.factory=t,this.dependencies=i}}function yb(e){let t,i;if(e.useClass){const s=v(e.useClass);t=Ph.factory(s),i=Fh(s)}else e.useExisting?(t=s=>s,i=[ca.fromKey(xr.get(e.useExisting))]):e.useFactory?(t=e.useFactory,i=function Eb(e,t){if(t){const i=t.map(s=>[s]);return t.map(s=>kh(e,s,i))}return Fh(e)}(e.useFactory,e.deps)):(t=()=>e.useValue,i=vb);return new Rh(t,i)}function _b(e){return new Ah(xr.get(e.provide),[yb(e)],e.multi||!1)}function bb(e){const s=function Cb(e,t){for(let i=0;i<e.length;i++){const s=e[i],l=t.get(s.key.id);if(l){if(s.multiProvider!==l.multiProvider)throw pb(l,s);if(s.multiProvider)for(let g=0;g<s.resolvedFactories.length;g++)l.resolvedFactories.push(s.resolvedFactories[g]);else t.set(s.key.id,s)}else{let g;g=s.multiProvider?new Ah(s.key,s.resolvedFactories.slice(),s.multiProvider):s,t.set(s.key.id,g)}}return t}(xh(e,[]).map(_b),new Map);return Array.from(s.values())}function xh(e,t){return e.forEach(i=>{if(i instanceof Vs)t.push({provide:i,useClass:i});else if(i&&"object"==typeof i&&void 0!==i.provide)t.push(i);else{if(!Array.isArray(i))throw function fb(e){return Error(`Invalid provider - only instances of Provider and Type are allowed, got: ${e}`)}(i);xh(i,t)}}),t}function Fh(e){const t=Ph.parameters(e);if(!t)return[];if(t.some(i=>null==i))throw Oh(e,t);return t.map(i=>kh(e,i,t))}function kh(e,t,i){let s=null,l=!1;if(!Array.isArray(t))return sc(t instanceof zs?t.token:t,l,null);let g=null;for(let C=0;C<t.length;++C){const w=t[C];w instanceof Vs?s=w:w instanceof zs?s=w.token:w instanceof is?l=!0:w instanceof Ws||w instanceof po?g=w:w instanceof Hn&&(s=w)}if(s=v(s),null!=s)return sc(s,l,g);throw Oh(e,i)}function sc(e,t,i){return new ca(xr.get(e),t,i)}const gs={};class ko{static resolve(t){return bb(t)}static resolveAndCreate(t,i){const s=ko.resolve(t);return ko.fromResolvedProviders(s,i)}static fromResolvedProviders(t,i){return new Tb(t,i)}}let Tb=(()=>{class e{constructor(i,s){this._constructionCounter=0,this._providers=i,this.parent=s||null;const l=i.length;this.keyIds=[],this.objs=[];for(let g=0;g<l;g++)this.keyIds[g]=i[g].key.id,this.objs[g]=gs}get(i,s=$r){return this._getByKey(xr.get(i),null,s)}resolveAndCreateChild(i){const s=ko.resolve(i);return this.createChildFromResolved(s)}createChildFromResolved(i){const s=new e(i);return s.parent=this,s}resolveAndInstantiate(i){return this.instantiateResolved(ko.resolve([i])[0])}instantiateResolved(i){return this._instantiateProvider(i)}getProviderAtIndex(i){if(i<0||i>=this._providers.length)throw function hb(e){return Error(`Index ${e} is out-of-bounds.`)}(i);return this._providers[i]}_new(i){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw function ub(e,t){return oc(e,t,function(i){return`Cannot instantiate cyclic dependency!${rc(i)}`})}(this,i.key);return this._instantiateProvider(i)}_getMaxNumberOfObjects(){return this.objs.length}_instantiateProvider(i){if(i.multiProvider){const s=[];for(let l=0;l<i.resolvedFactories.length;++l)s[l]=this._instantiate(i,i.resolvedFactories[l]);return s}return this._instantiate(i,i.resolvedFactories[0])}_instantiate(i,s){const l=s.factory;let g,C;try{g=s.dependencies.map(w=>this._getByReflectiveDependency(w))}catch(w){throw w.addKey&&w.addKey(this,i.key),w}try{C=l(...g)}catch(w){throw function db(e,t,i,s){return oc(e,s,function(l){const g=p(l[0].token);return`${t.message}: Error during instantiation of ${g}!${rc(l)}.`},t)}(this,w,0,i.key)}return C}_getByReflectiveDependency(i){return this._getByKey(i.key,i.visibility,i.optional?null:$r)}_getByKey(i,s,l){return i===e.INJECTOR_KEY?this:s instanceof Ws?this._getByKeySelf(i,l):this._getByKeyDefault(i,l,s)}_getObjByKeyId(i){for(let s=0;s<this.keyIds.length;s++)if(this.keyIds[s]===i)return this.objs[s]===gs&&(this.objs[s]=this._new(this._providers[s])),this.objs[s];return gs}_throwOrNull(i,s){if(s!==$r)return s;throw function cb(e,t){return oc(e,t,function(i){return`No provider for ${p(i[0].token)}!${rc(i)}`})}(this,i)}_getByKeySelf(i,s){const l=this._getObjByKeyId(i.id);return l!==gs?l:this._throwOrNull(i,s)}_getByKeyDefault(i,s,l){let g;for(g=l instanceof po?this.parent:this;g instanceof e;){const C=g,w=C._getObjByKeyId(i.id);if(w!==gs)return w;g=C.parent}return null!==g?g.get(i.token,s):this._throwOrNull(i,s)}get displayName(){return`ReflectiveInjector(providers: [${function Db(e,t){const i=[];for(let s=0;s<e._providers.length;++s)i[s]=t(e.getProviderAtIndex(s));return i}(this,s=>' "'+s.key.displayName+'" ').join(", ")}])`}toString(){return this.displayName}}return e.INJECTOR_KEY=xr.get(zi),e})();function vs(e,t=V.Default){const i=bt();return null===i?oi(e,t):ed(Bn(),i,v(e),t)}function Nh(){throw new Error("invalid")}function ac(e,t,i){const s=bt();return fi(s,K(),t)&&Ii(cn(),gn(),s,e,t,s[11],i,!1),ac}function lc(e,t,i,s,l){const C=l?"class":"style";qf(e,i,t.inputs[C],C,s)}function ua(e,t,i,s){const l=bt(),g=cn(),C=20+e,w=l[11],O=l[C]=ul(w,t,function xs(){return Qe.lFrame.currentNamespace}()),$=g.firstCreatePass?function wb(e,t,i,s,l,g,C){const w=t.consts,$=bo(t,e,2,l,F(w,g));return Al(t,i,$,F(w,C)),null!==$.attrs&&oa($,$.attrs,!1),null!==$.mergedAttrs&&oa($,$.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,$),$}(C,g,l,0,t,i,s):g.data[C];ji($,!0);const q=$.mergedAttrs;null!==q&&Si(w,O,q);const be=$.classes;null!==be&&gl(w,O,be);const Ve=$.styles;return null!==Ve&&mf(w,O,Ve),64!=(64&$.flags)&&Xs(g,l,O,$),0===function Mn(){return Qe.lFrame.elementDepthCount}()&&di(O,l),function Yn(){Qe.lFrame.elementDepthCount++}(),ai($)&&(Il(g,l,$),kf(g,$,l)),null!==s&&Pl(l,$),ua}function da(){let e=Bn();io()?Qo():(e=e.parent,ji(e,!1));const t=e;!function Li(){Qe.lFrame.elementDepthCount--}();const i=cn();return i.firstCreatePass&&($i(i,e),hi(e)&&i.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Fs(e){return 0!=(16&e.flags)}(t)&&lc(i,t,bt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Ra(e){return 0!=(32&e.flags)}(t)&&lc(i,t,bt(),t.stylesWithoutHost,!1),da}function cc(e,t,i,s){return ua(e,t,i,s),da(),cc}function fa(e,t,i){const s=bt(),l=cn(),g=e+20,C=l.firstCreatePass?function Mb(e,t,i,s,l){const g=t.consts,C=F(g,s),w=bo(t,e,8,"ng-container",C);return null!==C&&oa(w,C,!0),Al(t,i,w,F(g,l)),null!==t.queries&&t.queries.elementStart(t,w),w}(g,l,s,t,i):l.data[g];ji(C,!0);const w=s[g]=s[11].createComment("");return Xs(l,s,w,C),di(w,s),ai(C)&&(Il(l,s,C),kf(l,C,s)),null!=i&&Pl(s,C),fa}function ha(){let e=Bn();const t=cn();return io()?Qo():(e=e.parent,ji(e,!1)),t.firstCreatePass&&($i(t,e),hi(e)&&t.queries.elementEnd(e)),ha}function uc(e,t,i){return fa(e,t,i),ha(),uc}function Lh(){return bt()}function dc(e){return!!e&&"function"==typeof e.then}function jh(e){return!!e&&"function"==typeof e.subscribe}const Bh=jh;function fc(e,t,i,s){const l=bt(),g=cn(),C=Bn();return Vh(g,l,l[11],C,e,t,!!i,s),fc}function hc(e,t){const i=Bn(),s=bt(),l=cn();return Vh(l,s,Jf(Le(l.data),i,s),i,e,t,!1),hc}function Vh(e,t,i,s,l,g,C,w){const O=ai(s),q=e.firstCreatePass&&Zf(e),be=t[8],Ve=Yf(t);let tt=!0;if(3&s.type||w){const At=vt(s,t),Vt=w?w(At):At,yt=Ve.length,Gt=w?un=>w(k(un[s.index])):s.index;if(Tn(i)){let un=null;if(!w&&O&&(un=function Sb(e,t,i,s){const l=e.cleanup;if(null!=l)for(let g=0;g<l.length-1;g+=2){const C=l[g];if(C===i&&l[g+1]===s){const w=t[7],O=l[g+2];return w.length>O?w[O]:null}"string"==typeof C&&(g+=2)}return null}(e,t,l,s.index)),null!==un)(un.__ngLastListenerFn__||un).__ngNextListenerFn__=g,un.__ngLastListenerFn__=g,tt=!1;else{g=pc(s,t,be,g,!1);const Dn=i.listen(Vt,l,g);Ve.push(g,Dn),q&&q.push(l,Gt,yt,yt+1)}}else g=pc(s,t,be,g,!0),Vt.addEventListener(l,g,C),Ve.push(g),q&&q.push(l,Gt,yt,C)}else g=pc(s,t,be,g,!1);const pt=s.outputs;let Ot;if(tt&&null!==pt&&(Ot=pt[l])){const At=Ot.length;if(At)for(let Vt=0;Vt<At;Vt+=2){const Pi=t[Ot[Vt]][Ot[Vt+1]].subscribe(g),no=Ve.length;Ve.push(g,Pi),q&&q.push(l,s.index,no,-(no+1))}}}function $h(e,t,i,s){try{return Ln(6,t,i),!1!==i(s)}catch(l){return Xf(e,l),!1}finally{Ln(7,t,i)}}function pc(e,t,i,s,l){return function g(C){if(C===Function)return s;const w=2&e.flags?rn(e.index,t):t;0==(32&t[2])&&Fl(w);let O=$h(t,i,s,C),$=g.__ngNextListenerFn__;for(;$;)O=$h(t,i,$,C)&&O,$=$.__ngNextListenerFn__;return l&&!1===O&&(C.preventDefault(),C.returnValue=!1),O}}function Hh(e=1){return function Gn(e){return(Qe.lFrame.contextLView=function si(e,t){for(;e>0;)t=t[15],e--;return t}(e,Qe.lFrame.contextLView))[8]}(e)}function Ob(e,t){let i=null;const s=function ky(e){const t=e.attrs;if(null!=t){const i=t.indexOf(5);if(0==(1&i))return t[i+1]}return null}(e);for(let l=0;l<t.length;l++){const g=t[l];if("*"!==g){if(null===s?_f(e,g,!0):jy(s,g))return l}else i=l}return i}function Uh(e){const t=bt()[16][6];if(!t.projection){const s=t.projection=es(e?e.length:1,null),l=s.slice();let g=t.child;for(;null!==g;){const C=e?Ob(g,e):0;null!==C&&(l[C]?l[C].projectionNext=g:s[C]=g,l[C]=g),g=g.next}}}function zh(e,t=0,i){const s=bt(),l=cn(),g=bo(l,20+e,16,null,i||null);null===g.projection&&(g.projection=t),Qo(),64!=(64&g.flags)&&function Oy(e,t,i){pf(t[11],0,t,i,nf(e,i,t),lf(i.parent||t[6],i,t))}(l,s,g)}function mc(e,t,i){return pa(e,"",t,"",i),mc}function pa(e,t,i,s,l){const g=bt(),C=So(g,t,i,s);return C!==en&&Ii(cn(),gn(),g,e,C,g[11],l,!1),pa}function gc(e,t,i,s,l,g,C){const w=bt(),O=Oo(w,t,i,s,l,g);return O!==en&&Ii(cn(),gn(),w,e,O,w[11],C,!1),gc}function vc(e,t,i,s,l,g,C,w,O){const $=bt(),q=Io($,t,i,s,l,g,C,w);return q!==en&&Ii(cn(),gn(),$,e,q,$[11],O,!1),vc}function yc(e,t,i,s,l,g,C,w,O,$,q){const be=bt(),Ve=Po(be,t,i,s,l,g,C,w,O,$);return Ve!==en&&Ii(cn(),gn(),be,e,Ve,be[11],q,!1),yc}function _c(e,t,i,s,l,g,C,w,O,$,q,be,Ve){const tt=bt(),pt=Ao(tt,t,i,s,l,g,C,w,O,$,q,be);return pt!==en&&Ii(cn(),gn(),tt,e,pt,tt[11],Ve,!1),_c}function bc(e,t,i,s,l,g,C,w,O,$,q,be,Ve,tt,pt){const Ot=bt(),At=Ro(Ot,t,i,s,l,g,C,w,O,$,q,be,Ve,tt);return At!==en&&Ii(cn(),gn(),Ot,e,At,Ot[11],pt,!1),bc}function Cc(e,t,i,s,l,g,C,w,O,$,q,be,Ve,tt,pt,Ot,At){const Vt=bt(),yt=xo(Vt,t,i,s,l,g,C,w,O,$,q,be,Ve,tt,pt,Ot);return yt!==en&&Ii(cn(),gn(),Vt,e,yt,Vt[11],At,!1),Cc}function Ec(e,t,i,s,l,g,C,w,O,$,q,be,Ve,tt,pt,Ot,At,Vt,yt){const Gt=bt(),un=Fo(Gt,t,i,s,l,g,C,w,O,$,q,be,Ve,tt,pt,Ot,At,Vt);return un!==en&&Ii(cn(),gn(),Gt,e,un,Gt[11],yt,!1),Ec}function Tc(e,t,i){const s=bt(),l=Mo(s,t);return l!==en&&Ii(cn(),gn(),s,e,l,s[11],i,!1),Tc}function Wh(e,t,i,s,l){const g=e[i+1],C=null===t;let w=s?rr(g):Ar(g),O=!1;for(;0!==w&&(!1===O||C);){const q=e[w+1];Ab(e[w],t)&&(O=!0,e[w+1]=s?_l(q):vl(q)),w=s?rr(q):Ar(q)}O&&(e[i+1]=s?vl(g):_l(g))}function Ab(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ho(e,t)>=0}const Xn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Gh(e){return e.substring(Xn.key,Xn.keyEnd)}function Rb(e){return e.substring(Xn.value,Xn.valueEnd)}function Kh(e,t){const i=Xn.textEnd;return i===t?-1:(t=Xn.keyEnd=function kb(e,t,i){for(;t<i&&e.charCodeAt(t)>32;)t++;return t}(e,Xn.key=t,i),No(e,t,i))}function Qh(e,t){const i=Xn.textEnd;let s=Xn.key=No(e,t,i);return i===s?-1:(s=Xn.keyEnd=function Nb(e,t,i){let s;for(;t<i&&(45===(s=e.charCodeAt(t))||95===s||(-33&s)>=65&&(-33&s)<=90||s>=48&&s<=57);)t++;return t}(e,s,i),s=Zh(e,s,i),s=Xn.value=No(e,s,i),s=Xn.valueEnd=function Lb(e,t,i){let s=-1,l=-1,g=-1,C=t,w=C;for(;C<i;){const O=e.charCodeAt(C++);if(59===O)return w;34===O||39===O?w=C=Jh(e,O,C,i):t===C-4&&85===g&&82===l&&76===s&&40===O?w=C=Jh(e,41,C,i):O>32&&(w=C),g=l,l=s,s=-33&O}return w}(e,s,i),Zh(e,s,i))}function Yh(e){Xn.key=0,Xn.keyEnd=0,Xn.value=0,Xn.valueEnd=0,Xn.textEnd=e.length}function No(e,t,i){for(;t<i&&e.charCodeAt(t)<=32;)t++;return t}function Zh(e,t,i,s){return(t=No(e,t,i))<i&&t++,t}function Jh(e,t,i,s){let l=-1,g=i;for(;g<s;){const C=e.charCodeAt(g++);if(C==t&&92!==l)return g;l=92==C&&92===l?0:C}throw new Error}function Dc(e,t,i){return sr(e,t,i,!1),Dc}function wc(e,t){return sr(e,t,null,!0),wc}function or(e){ar(tp,jb,e,!1)}function jb(e,t){for(let i=function Fb(e){return Yh(e),Qh(e,No(e,0,Xn.textEnd))}(t);i>=0;i=Qh(t,i))tp(e,Gh(t),Rb(t))}function Xh(e){ar(Oi,Er,e,!0)}function Er(e,t){for(let i=function xb(e){return Yh(e),Kh(e,No(e,0,Xn.textEnd))}(t);i>=0;i=Kh(t,i))Oi(e,Gh(t),!0)}function sr(e,t,i,s){const l=bt(),g=cn(),C=E(2);g.firstUpdatePass&&ep(g,e,C,s),t!==en&&fi(l,C,t)&&np(g,g.data[mn()],l,l[11],e,l[C+1]=function Wb(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=p(Pr(e)))),e}(t,i),s,C)}function ar(e,t,i,s){const l=cn(),g=E(2);l.firstUpdatePass&&ep(l,null,g,s);const C=bt();if(i!==en&&fi(C,g,i)){const w=l.data[mn()];if(rp(w,s)&&!qh(l,g)){let O=s?w.classesWithoutHost:w.stylesWithoutHost;null!==O&&(i=m(O,i||"")),lc(l,w,C,i,s)}else!function zb(e,t,i,s,l,g,C,w){l===en&&(l=_t);let O=0,$=0,q=0<l.length?l[0]:null,be=0<g.length?g[0]:null;for(;null!==q||null!==be;){const Ve=O<l.length?l[O+1]:void 0,tt=$<g.length?g[$+1]:void 0;let Ot,pt=null;q===be?(O+=2,$+=2,Ve!==tt&&(pt=be,Ot=tt)):null===be||null!==q&&q<be?(O+=2,pt=q):($+=2,pt=be,Ot=tt),null!==pt&&np(e,t,i,s,pt,Ot,C,w),q=O<l.length?l[O]:null,be=$<g.length?g[$]:null}}(l,w,C,C[11],C[g+1],C[g+1]=function Ub(e,t,i){if(null==i||""===i)return _t;const s=[],l=Pr(i);if(Array.isArray(l))for(let g=0;g<l.length;g++)e(s,l[g],!0);else if("object"==typeof l)for(const g in l)l.hasOwnProperty(g)&&e(s,g,l[g]);else"string"==typeof l&&t(s,l);return s}(e,t,i),s,g)}}function qh(e,t){return t>=e.expandoStartIndex}function ep(e,t,i,s){const l=e.data;if(null===l[i+1]){const g=l[mn()],C=qh(e,i);rp(g,s)&&null===t&&!C&&(t=!1),t=function Bb(e,t,i,s){const l=Le(e);let g=s?t.residualClasses:t.residualStyles;if(null===l)0===(s?t.classBindings:t.styleBindings)&&(i=ys(i=Mc(null,e,t,i,s),t.attrs,s),g=null);else{const C=t.directiveStylingLast;if(-1===C||e[C]!==l)if(i=Mc(l,e,t,i,s),null===g){let O=function Vb(e,t,i){const s=i?t.classBindings:t.styleBindings;if(0!==Ar(s))return e[rr(s)]}(e,t,s);void 0!==O&&Array.isArray(O)&&(O=Mc(null,e,t,O[1],s),O=ys(O,t.attrs,s),function $b(e,t,i,s){e[rr(i?t.classBindings:t.styleBindings)]=s}(e,t,s,O))}else g=function Hb(e,t,i){let s;const l=t.directiveEnd;for(let g=1+t.directiveStylingLast;g<l;g++)s=ys(s,e[g].hostAttrs,i);return ys(s,t.attrs,i)}(e,t,s)}return void 0!==g&&(s?t.residualClasses=g:t.residualStyles=g),i}(l,g,t,s),function Ib(e,t,i,s,l,g){let C=g?t.classBindings:t.styleBindings,w=rr(C),O=Ar(C);e[s]=i;let q,$=!1;if(Array.isArray(i)){const be=i;q=be[1],(null===q||ho(be,q)>0)&&($=!0)}else q=i;if(l)if(0!==O){const Ve=rr(e[w+1]);e[s+1]=ea(Ve,w),0!==Ve&&(e[Ve+1]=yl(e[Ve+1],s)),e[w+1]=function Hy(e,t){return 131071&e|t<<17}(e[w+1],s)}else e[s+1]=ea(w,0),0!==w&&(e[w+1]=yl(e[w+1],s)),w=s;else e[s+1]=ea(O,0),0===w?w=s:e[O+1]=yl(e[O+1],s),O=s;$&&(e[s+1]=vl(e[s+1])),Wh(e,q,s,!0),Wh(e,q,s,!1),function Pb(e,t,i,s,l){const g=l?e.residualClasses:e.residualStyles;null!=g&&"string"==typeof t&&ho(g,t)>=0&&(i[s+1]=_l(i[s+1]))}(t,q,e,s,g),C=ea(w,O),g?t.classBindings=C:t.styleBindings=C}(l,g,t,i,C,s)}}function Mc(e,t,i,s,l){let g=null;const C=i.directiveEnd;let w=i.directiveStylingLast;for(-1===w?w=i.directiveStart:w++;w<C&&(g=t[w],s=ys(s,g.hostAttrs,l),g!==e);)w++;return null!==e&&(i.directiveStylingLast=w),s}function ys(e,t,i){const s=i?1:2;let l=-1;if(null!==t)for(let g=0;g<t.length;g++){const C=t[g];"number"==typeof C?l=C:l===s&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Oi(e,C,!!i||t[++g]))}return void 0===e?null:e}function tp(e,t,i){Oi(e,t,Pr(i))}function np(e,t,i,s,l,g,C,w){if(!(3&t.type))return;const O=e.data,$=O[w+1];ma(function wf(e){return 1==(1&e)}($)?ip(O,t,i,l,Ar($),C):void 0)||(ma(g)||function Df(e){return 2==(2&e)}($)&&(g=ip(O,null,i,l,w,C)),function Py(e,t,i,s,l){const g=Tn(e);if(t)l?g?e.addClass(i,s):i.classList.add(s):g?e.removeClass(i,s):i.classList.remove(s);else{let C=-1===s.indexOf("-")?void 0:_r.DashCase;if(null==l)g?e.removeStyle(i,s,C):i.style.removeProperty(s);else{const w="string"==typeof l&&l.endsWith("!important");w&&(l=l.slice(0,-10),C|=_r.Important),g?e.setStyle(i,s,l,C):i.style.setProperty(s,l,w?"important":"")}}}(s,C,dt(mn(),i),l,g))}function ip(e,t,i,s,l,g){const C=null===t;let w;for(;l>0;){const O=e[l],$=Array.isArray(O),q=$?O[1]:O,be=null===q;let Ve=i[l+1];Ve===en&&(Ve=be?_t:void 0);let tt=be?Ba(Ve,s):q===s?Ve:void 0;if($&&!ma(tt)&&(tt=Ba(O,s)),ma(tt)&&(w=tt,C))return w;const pt=e[l+1];l=C?rr(pt):Ar(pt)}if(null!==t){let O=g?t.residualClasses:t.residualStyles;null!=O&&(w=Ba(O,s))}return w}function ma(e){return void 0!==e}function rp(e,t){return 0!=(e.flags&(t?16:32))}function op(e,t=""){const i=bt(),s=cn(),l=e+20,g=s.firstCreatePass?bo(s,l,1,t,null):s.data[l],C=i[l]=cl(i[11],t);Xs(s,i,C,g),ji(g,!1)}function Sc(e){return ga("",e,""),Sc}function ga(e,t,i){const s=bt(),l=So(s,e,t,i);return l!==en&&Rr(s,mn(),l),ga}function Oc(e,t,i,s,l){const g=bt(),C=Oo(g,e,t,i,s,l);return C!==en&&Rr(g,mn(),C),Oc}function Ic(e,t,i,s,l,g,C){const w=bt(),O=Io(w,e,t,i,s,l,g,C);return O!==en&&Rr(w,mn(),O),Ic}function Pc(e,t,i,s,l,g,C,w,O){const $=bt(),q=Po($,e,t,i,s,l,g,C,w,O);return q!==en&&Rr($,mn(),q),Pc}function Ac(e,t,i,s,l,g,C,w,O,$,q){const be=bt(),Ve=Ao(be,e,t,i,s,l,g,C,w,O,$,q);return Ve!==en&&Rr(be,mn(),Ve),Ac}function Rc(e,t,i,s,l,g,C,w,O,$,q,be,Ve){const tt=bt(),pt=Ro(tt,e,t,i,s,l,g,C,w,O,$,q,be,Ve);return pt!==en&&Rr(tt,mn(),pt),Rc}function xc(e,t,i,s,l,g,C,w,O,$,q,be,Ve,tt,pt){const Ot=bt(),At=xo(Ot,e,t,i,s,l,g,C,w,O,$,q,be,Ve,tt,pt);return At!==en&&Rr(Ot,mn(),At),xc}function Fc(e,t,i,s,l,g,C,w,O,$,q,be,Ve,tt,pt,Ot,At){const Vt=bt(),yt=Fo(Vt,e,t,i,s,l,g,C,w,O,$,q,be,Ve,tt,pt,Ot,At);return yt!==en&&Rr(Vt,mn(),yt),Fc}function kc(e){const t=bt(),i=Mo(t,e);return i!==en&&Rr(t,mn(),i),kc}function sp(e,t,i){ar(Oi,Er,So(bt(),e,t,i),!0)}function ap(e,t,i,s,l){ar(Oi,Er,Oo(bt(),e,t,i,s,l),!0)}function lp(e,t,i,s,l,g,C){ar(Oi,Er,Io(bt(),e,t,i,s,l,g,C),!0)}function cp(e,t,i,s,l,g,C,w,O){ar(Oi,Er,Po(bt(),e,t,i,s,l,g,C,w,O),!0)}function up(e,t,i,s,l,g,C,w,O,$,q){ar(Oi,Er,Ao(bt(),e,t,i,s,l,g,C,w,O,$,q),!0)}function dp(e,t,i,s,l,g,C,w,O,$,q,be,Ve){ar(Oi,Er,Ro(bt(),e,t,i,s,l,g,C,w,O,$,q,be,Ve),!0)}function fp(e,t,i,s,l,g,C,w,O,$,q,be,Ve,tt,pt){ar(Oi,Er,xo(bt(),e,t,i,s,l,g,C,w,O,$,q,be,Ve,tt,pt),!0)}function hp(e,t,i,s,l,g,C,w,O,$,q,be,Ve,tt,pt,Ot,At){ar(Oi,Er,Fo(bt(),e,t,i,s,l,g,C,w,O,$,q,be,Ve,tt,pt,Ot,At),!0)}function pp(e){ar(Oi,Er,Mo(bt(),e),!0)}function mp(e,t,i){or(So(bt(),e,t,i))}function gp(e,t,i,s,l){or(Oo(bt(),e,t,i,s,l))}function vp(e,t,i,s,l,g,C){or(Io(bt(),e,t,i,s,l,g,C))}function yp(e,t,i,s,l,g,C,w,O){or(Po(bt(),e,t,i,s,l,g,C,w,O))}function _p(e,t,i,s,l,g,C,w,O,$,q){or(Ao(bt(),e,t,i,s,l,g,C,w,O,$,q))}function bp(e,t,i,s,l,g,C,w,O,$,q,be,Ve){or(Ro(bt(),e,t,i,s,l,g,C,w,O,$,q,be,Ve))}function Cp(e,t,i,s,l,g,C,w,O,$,q,be,Ve,tt,pt){or(xo(bt(),e,t,i,s,l,g,C,w,O,$,q,be,Ve,tt,pt))}function Ep(e,t,i,s,l,g,C,w,O,$,q,be,Ve,tt,pt,Ot,At){or(Fo(bt(),e,t,i,s,l,g,C,w,O,$,q,be,Ve,tt,pt,Ot,At))}function Tp(e){or(Mo(bt(),e))}function Nc(e,t,i,s,l){return sr(e,So(bt(),t,i,s),l,!1),Nc}function Lc(e,t,i,s,l,g,C){return sr(e,Oo(bt(),t,i,s,l,g),C,!1),Lc}function jc(e,t,i,s,l,g,C,w,O){return sr(e,Io(bt(),t,i,s,l,g,C,w),O,!1),jc}function Bc(e,t,i,s,l,g,C,w,O,$,q){return sr(e,Po(bt(),t,i,s,l,g,C,w,O,$),q,!1),Bc}function Vc(e,t,i,s,l,g,C,w,O,$,q,be,Ve){return sr(e,Ao(bt(),t,i,s,l,g,C,w,O,$,q,be),Ve,!1),Vc}function $c(e,t,i,s,l,g,C,w,O,$,q,be,Ve,tt,pt){return sr(e,Ro(bt(),t,i,s,l,g,C,w,O,$,q,be,Ve,tt),pt,!1),$c}function Hc(e,t,i,s,l,g,C,w,O,$,q,be,Ve,tt,pt,Ot,At){return sr(e,xo(bt(),t,i,s,l,g,C,w,O,$,q,be,Ve,tt,pt,Ot),At,!1),Hc}function Uc(e,t,i,s,l,g,C,w,O,$,q,be,Ve,tt,pt,Ot,At,Vt,yt){return sr(e,Fo(bt(),t,i,s,l,g,C,w,O,$,q,be,Ve,tt,pt,Ot,At,Vt),yt,!1),Uc}function zc(e,t,i){return sr(e,Mo(bt(),t),i,!1),zc}function Wc(e,t,i){const s=bt();return fi(s,K(),t)&&Ii(cn(),gn(),s,e,t,s[11],i,!0),Wc}function Gc(e,t,i){const s=bt();if(fi(s,K(),t)){const g=cn(),C=gn();Ii(g,C,s,e,t,Jf(Le(g.data),C,s),i,!0)}return Gc}const eo=void 0;var Kb=["en",[["a","p"],["AM","PM"],eo],[["AM","PM"],eo,eo],[["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"]],eo,[["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"]],eo,[["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}",eo,"{1} 'at' {0}",eo],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Gb(e){const i=Math.floor(Math.abs(e)),s=e.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===s?1:5}];let Lo={};function Qb(e,t,i){"string"!=typeof t&&(i=t,t=e[Yt.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Lo[t]=e,i&&(Lo[t][Yt.ExtraData]=i)}function Kc(e){const t=function Jb(e){return e.toLowerCase().replace(/_/g,"-")}(e);let i=wp(t);if(i)return i;const s=t.split("-")[0];if(i=wp(s),i)return i;if("en"===s)return Kb;throw new Error(`Missing locale data for the locale "${e}".`)}function Yb(e){return Kc(e)[Yt.CurrencyCode]||null}function Dp(e){return Kc(e)[Yt.PluralCase]}function wp(e){return e in Lo||(Lo[e]=Oe.ng&&Oe.ng.common&&Oe.ng.common.locales&&Oe.ng.common.locales[e]),Lo[e]}function Zb(){Lo={}}var Yt=(()=>((Yt=Yt||{})[Yt.LocaleId=0]="LocaleId",Yt[Yt.DayPeriodsFormat=1]="DayPeriodsFormat",Yt[Yt.DayPeriodsStandalone=2]="DayPeriodsStandalone",Yt[Yt.DaysFormat=3]="DaysFormat",Yt[Yt.DaysStandalone=4]="DaysStandalone",Yt[Yt.MonthsFormat=5]="MonthsFormat",Yt[Yt.MonthsStandalone=6]="MonthsStandalone",Yt[Yt.Eras=7]="Eras",Yt[Yt.FirstDayOfWeek=8]="FirstDayOfWeek",Yt[Yt.WeekendRange=9]="WeekendRange",Yt[Yt.DateFormat=10]="DateFormat",Yt[Yt.TimeFormat=11]="TimeFormat",Yt[Yt.DateTimeFormat=12]="DateTimeFormat",Yt[Yt.NumberSymbols=13]="NumberSymbols",Yt[Yt.NumberFormats=14]="NumberFormats",Yt[Yt.CurrencyCode=15]="CurrencyCode",Yt[Yt.CurrencySymbol=16]="CurrencySymbol",Yt[Yt.CurrencyName=17]="CurrencyName",Yt[Yt.Currencies=18]="Currencies",Yt[Yt.Directionality=19]="Directionality",Yt[Yt.PluralCase=20]="PluralCase",Yt[Yt.ExtraData=21]="ExtraData",Yt))();const Xb=["zero","one","two","few","many"],_s="en-US",va={marker:"element"},ya={marker:"ICU"};var Vn=(()=>((Vn=Vn||{})[Vn.SHIFT=2]="SHIFT",Vn[Vn.APPEND_EAGERLY=1]="APPEND_EAGERLY",Vn[Vn.COMMENT=2]="COMMENT",Vn))();let Mp=_s;function Sp(e){(function Ge(e,t){null==e&&ht(t,e,null,"!=")})(e,"Expected localeId to be defined"),"string"==typeof e&&(Mp=e.toLowerCase().replace(/_/g,"-"))}function Op(e,t,i){const s=t.insertBeforeIndex,l=Array.isArray(s)?s[0]:s;return null===l?cf(e,0,i):k(i[l])}function Ip(e,t,i,s,l){const g=t.insertBeforeIndex;if(Array.isArray(g)){let C=s,w=null;if(3&t.type||(w=C,C=l),null!==C&&0==(2&t.flags))for(let O=1;O<g.length;O++)Xr(e,C,i[g[O]],w,!1)}}function Pp(e,t){if(e.push(t),e.length>1)for(let i=e.length-2;i>=0;i--){const s=e[i];Ap(s)||n0(s,t)&&null===r0(s)&&o0(s,t.index)}}function Ap(e){return!(64&e.type)}function n0(e,t){return Ap(t)||e.index>t.index}function r0(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function o0(e,t){const i=e.insertBeforeIndex;Array.isArray(i)?i[0]=t:(df(Op,Ip),e.insertBeforeIndex=t)}function bs(e,t){const i=e.data[t];return null===i||"string"==typeof i?null:i.hasOwnProperty("currentCaseLViewIndex")?i:i.value}function l0(e,t,i){const s=Ol(e,i,64,null,null);return Pp(t,s),s}function _a(e,t){const i=t[e.currentCaseLViewIndex];return null===i?i:i<0?~i:i}function Rp(e){return e>>>17}function xp(e){return(131070&e)>>>1}let Cs=0,Es=0;function kp(e,t,i,s){const l=i[11];let C,g=null;for(let w=0;w<t.length;w++){const O=t[w];if("string"==typeof O){const $=t[++w];null===i[$]&&(i[$]=cl(l,O))}else if("number"==typeof O)switch(1&O){case 0:const $=Rp(O);let q,be;if(null===g&&(g=$,C=Js(l,s)),$===g?(q=s,be=C):(q=null,be=k(i[$])),null!==be){const Ot=xp(O);Xr(l,be,i[Ot],q,!1);const Vt=bs(e,Ot);if(null!==Vt&&"object"==typeof Vt){const yt=_a(Vt,i);null!==yt&&kp(e,Vt.create[yt],i,i[Vt.anchorIdx])}}break;case 1:const tt=t[++w],pt=t[++w];Rl(l,dt(O>>>1,i),null,null,tt,pt,null)}else switch(O){case ya:const $=t[++w],q=t[++w];null===i[q]&&di(i[q]=vy(l,$),i);break;case va:const be=t[++w],Ve=t[++w];null===i[Ve]&&di(i[Ve]=ul(l,be,null),i)}}}function Np(e,t,i,s,l){for(let g=0;g<i.length;g++){const C=i[g],w=i[++g];if(C&l){let O="";for(let $=g+1;$<=g+w;$++){const q=i[$];if("string"==typeof q)O+=q;else if("number"==typeof q)if(q<0)O+=A(t[s-q]);else{const be=q>>>2;switch(3&q){case 1:const Ve=i[++$],tt=i[++$],pt=e.data[be];"string"==typeof pt?Rl(t[11],t[be],null,pt,Ve,O,tt):Ii(e,pt,t,Ve,O,t[11],tt,!1);break;case 0:const Ot=t[be];null!==Ot&&qd(t[11],Ot,O);break;case 2:h0(e,bs(e,be),t,O);break;case 3:Lp(e,bs(e,be),s,t)}}}}else{const O=i[g+1];if(O>0&&3==(3&O)){const q=bs(e,O>>>2);t[q.currentCaseLViewIndex]<0&&Lp(e,q,s,t)}}g+=w}}function Lp(e,t,i,s){let l=s[t.currentCaseLViewIndex];if(null!==l){let g=Cs;l<0&&(l=s[t.currentCaseLViewIndex]=~l,g=-1),Np(e,s,t.update[l],i,g)}}function h0(e,t,i,s){const l=function p0(e,t){let i=e.cases.indexOf(t);if(-1===i)switch(e.type){case 1:{const s=function qb(e,t){const i=Dp(t)(parseInt(e,10)),s=Xb[i];return void 0!==s?s:"other"}(t,function t0(){return Mp}());i=e.cases.indexOf(s),-1===i&&"other"!==s&&(i=e.cases.indexOf("other"));break}case 0:i=e.cases.indexOf("other")}return-1===i?null:i}(t,s);if(_a(t,i)!==l&&(jp(e,t,i),i[t.currentCaseLViewIndex]=null===l?null:~l,null!==l)){const C=i[t.anchorIdx];C&&kp(e,t.create[l],i,C)}}function jp(e,t,i){let s=_a(t,i);if(null!==s){const l=t.remove[s];for(let g=0;g<l.length;g++){const C=l[g];if(C>0){const w=dt(C,i);null!==w&&hf(i[11],w)}else jp(e,bs(e,~C),i)}}}function m0(){const e=[];let i,s,t=-1;function g(w,O){t=0;const $=_a(w,O);s=null!==$?w.remove[$]:_t}function C(){if(t<s.length){const w=s[t++];return w>0?i[w]:(e.push(t,s),g(i[1].data[~w],i),C())}return 0===e.length?null:(s=e.pop(),t=e.pop(),C())}return function l(w,O){for(i=O;e.length;)e.pop();return g(w.value,O),C}}const ba=/\ufffd(\d+):?\d*\ufffd/gi,g0=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,v0=/\ufffd(\d+)\ufffd/,Vp=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,y0=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,_0=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,b0=/\uE500/g;function $p(e,t,i,s,l,g,C){const w=Co(e,s,1,null);let O=w<<Vn.SHIFT,$=zr();t===$&&($=null),null===$&&(O|=Vn.APPEND_EAGERLY),C&&(O|=Vn.COMMENT,function gy(e){void 0===ol&&(ol=e())}(m0)),l.push(O,null===g?"":g);const q=Ol(e,w,C?32:1,null===g?"":g,null);Pp(i,q);const be=q.index;return ji(q,!1),null!==$&&t!==$&&function a0(e,t){let i=e.insertBeforeIndex;null===i?(df(Op,Ip),i=e.insertBeforeIndex=[null,t]):(function _e(e,t,i){e!=t&&ht(i,e,t,"==")}(Array.isArray(i),!0,"Expecting array here"),i.push(t))}($,be),q}function T0(e,t,i,s,l,g,C){const w=C.match(ba),O=$p(e,t,i,g,s,w?null:C,!1);w&&jo(l,C,O.index,null,0,null)}function jo(e,t,i,s,l,g){const C=e.length,w=C+1;e.push(null,null);const O=C+2,$=t.split(ba);let q=0;for(let be=0;be<$.length;be++){const Ve=$[be];if(1&be){const tt=l+parseInt(Ve,10);e.push(-1-tt),q|=Hp(tt)}else""!==Ve&&e.push(Ve)}return e.push(i<<2|(s?1:0)),s&&e.push(s,g),e[C]=q,e[w]=e.length-O,q}function w0(e){let t=0;for(let i=0;i<e.length;i++){const s=e[i];"number"==typeof s&&s<0&&t++}return t}function Hp(e){return 1<<Math.min(e,31)}function Up(e){let t,g,i="",s=0,l=!1;for(;null!==(t=y0.exec(e));)l?t[0]===`\ufffd/*${g}\ufffd`&&(s=t.index,l=!1):(i+=e.substring(s,t.index+t[0].length),g=t[1],l=!0);return i+=e.substr(s),i}function zp(e,t,i,s,l,g){let C=0;const w={type:l.type,currentCaseLViewIndex:Co(e,t,1,null),anchorIdx:g,cases:[],create:[],remove:[],update:[]};(function A0(e,t,i){e.push(Hp(t.mainBinding),2,-1-t.mainBinding,i<<2|2)})(i,l,g),function s0(e,t,i){const s=e.data[t];null===s?e.data[t]=i:s.value=i}(e,g,w);const O=l.values;for(let $=0;$<O.length;$++){const q=O[$],be=[];for(let Ve=0;Ve<q.length;Ve++){const tt=q[Ve];if("string"!=typeof tt){const pt=be.push(tt)-1;q[Ve]=`\x3c!--\ufffd${pt}\ufffd--\x3e`}}C=I0(e,w,t,i,s,l.cases[$],q.join(""),be)|C}C&&function R0(e,t,i){e.push(t,1,i<<2|3)}(i,C,g)}function O0(e){const t=[],i=[];let s=1,l=0;const g=Qc(e=e.replace(Vp,function(C,w,O){return s="select"===O?0:1,l=parseInt(w.substr(1),10),""}));for(let C=0;C<g.length;){let w=g[C++].trim();1===s&&(w=w.replace(/\s*(?:=)?(\w+)\s*/,"$1")),w.length&&t.push(w);const O=Qc(g[C++]);t.length>i.length&&i.push(O)}return{type:s,mainBinding:l,cases:t,values:i}}function Qc(e){if(!e)return[];let t=0;const i=[],s=[],l=/[{}]/g;let g;for(l.lastIndex=0;g=l.exec(e);){const w=g.index;if("}"==g[0]){if(i.pop(),0==i.length){const O=e.substring(t,w);Vp.test(O)?s.push(O0(O)):s.push(O),t=w+1}}else{if(0==i.length){const O=e.substring(t,w);s.push(O),t=w+1}i.push("{")}}const C=e.substring(t);return s.push(C),s}function I0(e,t,i,s,l,g,C,w){const O=[],$=[],q=[];t.cases.push(g),t.create.push(O),t.remove.push($),t.update.push(q);const Ve=Td(Qn()).getInertBodyElement(C),tt=Xa(Ve)||Ve;return tt?Wp(e,t,i,s,O,$,q,tt,l,w,0):0}function Wp(e,t,i,s,l,g,C,w,O,$,q){let be=0,Ve=w.firstChild;for(;Ve;){const tt=Co(e,i,1,null);switch(Ve.nodeType){case Node.ELEMENT_NODE:const pt=Ve,Ot=pt.tagName.toLowerCase();if(Ya.hasOwnProperty(Ot)){Yc(l,va,Ot,O,tt),e.data[tt]=Ot;const Gt=pt.attributes;for(let un=0;un<Gt.length;un++){const Dn=Gt.item(un),Pi=Dn.name.toLowerCase();Dn.value.match(ba)?Od.hasOwnProperty(Pi)&&jo(C,Dn.value,tt,Dn.name,0,Za[Pi]?os:Ja[Pi]?Dd:null):x0(l,tt,Dn)}be=Wp(e,t,i,s,l,g,C,Ve,tt,$,q+1)|be,Gp(g,tt,q)}break;case Node.TEXT_NODE:const At=Ve.textContent||"",Vt=At.match(ba);Yc(l,null,Vt?"":At,O,tt),Gp(g,tt,q),Vt&&(be=jo(C,At,tt,null,0,null)|be);break;case Node.COMMENT_NODE:const yt=v0.exec(Ve.textContent||"");if(yt){const un=$[parseInt(yt[1],10)];Yc(l,ya,"",O,tt),zp(e,i,s,O,un,tt),P0(g,tt,q)}}Ve=Ve.nextSibling}return be}function Gp(e,t,i){0===i&&e.push(t)}function P0(e,t,i){0===i&&(e.push(~t),e.push(t))}function Yc(e,t,i,s,l){null!==t&&e.push(t),e.push(i,l,function c0(e,t,i){return e|t<<17|i<<1}(0,s,l))}function x0(e,t,i){e.push(t<<1|1,i.name,i.value)}const F0=/\[(\ufffd.+?\ufffd?)\]/,k0=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,N0=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,L0=/{([A-Z0-9_]+)}/g,j0=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,B0=/\/\*/,V0=/\d+\:(\d+)/;function Zc(e,t,i=-1){const s=cn(),l=bt(),g=20+e,C=F(s.consts,t),w=zr();s.firstCreatePass&&function E0(e,t,i,s,l,g){const C=zr(),w=[],O=[],$=[[]];l=function S0(e,t){if(function M0(e){return-1===e}(t))return Up(e);{const i=e.indexOf(`:${t}\ufffd`)+2+t.toString().length,s=e.search(new RegExp(`\ufffd\\/\\*\\d+:${t}\ufffd`));return Up(e.substring(i,s))}}(l,g);const q=function C0(e){return e.replace(b0," ")}(l).split(_0);for(let be=0;be<q.length;be++){let Ve=q[be];if(0==(1&be)){const tt=Qc(Ve);for(let pt=0;pt<tt.length;pt++){let Ot=tt[pt];if(0==(1&pt)){const At=Ot;""!==At&&T0(e,C,$[0],w,O,i,At)}else{const At=Ot;if("object"!=typeof At)throw new Error(`Unable to parse ICU expression in "${l}" message.`);zp(e,i,O,t,At,$p(e,C,$[0],i,w,"",!0).index)}}}else{const tt=47===Ve.charCodeAt(0),Ot=(Ve.charCodeAt(tt?1:0),20+Number.parseInt(Ve.substring(tt?2:1)));if(tt)$.shift(),ji(zr(),!1);else{const At=l0(e,$[0],Ot);$.unshift([]),ji(At,!0)}}}e.data[s]={create:w,update:O}}(s,null===w?0:w.index,l,g,C,i);const O=s.data[g],q=rf(s,w===l[6]?null:w,l);(function f0(e,t,i,s){const l=e[11];for(let g=0;g<t.length;g++){const C=t[g++],w=t[g],O=(C&Vn.COMMENT)===Vn.COMMENT,$=(C&Vn.APPEND_EAGERLY)===Vn.APPEND_EAGERLY,q=C>>>Vn.SHIFT;let be=e[q];null===be&&(be=e[q]=O?l.createComment(w):cl(l,w)),$&&null!==i&&Xr(l,i,be,s,!1)}})(l,O.create,q,w&&8&w.type?l[w.index]:null),R(!0)}function Jc(){R(!1)}function Qp(e,t,i){Zc(e,t,i),Jc()}function Yp(e,t){const i=cn();!function D0(e,t,i){const l=Bn().index,g=[];if(e.firstCreatePass&&null===e.data[t]){for(let C=0;C<i.length;C+=2){const w=i[C],O=i[C+1];if(""!==O){if(g0.test(O))throw new Error(`ICU expressions are not supported in attributes. Message: "${O}".`);jo(g,O,l,w,w0(g),null)}}e.data[t]=g}}(i,e+20,F(i.consts,t))}function Xc(e){return function u0(e){e&&(Cs|=1<<Math.min(Es,31)),Es++}(fi(bt(),K(),e)),Xc}function Zp(e){!function d0(e,t,i){if(Es>0){const s=e.data[i];Np(e,t,Array.isArray(s)?s:s.update,tr()-Es-1,Cs)}Cs=0,Es=0}(cn(),bt(),e+20)}function Jp(e,t={}){return function $0(e,t={}){let i=e;if(F0.test(e)){const s={},l=[0];i=i.replace(k0,(g,C,w)=>{const O=C||w,$=s[O]||[];if($.length||(O.split("|").forEach(Ot=>{const At=Ot.match(V0),Vt=At?parseInt(At[1],10):0,yt=B0.test(Ot);$.push([Vt,yt,Ot])}),s[O]=$),!$.length)throw new Error(`i18n postprocess: unmatched placeholder - ${O}`);const q=l[l.length-1];let be=0;for(let Ot=0;Ot<$.length;Ot++)if($[Ot][0]===q){be=Ot;break}const[Ve,tt,pt]=$[be];return tt?l.pop():q!==Ve&&l.push(Ve),$.splice(be,1),pt})}return Object.keys(t).length&&(i=i.replace(N0,(s,l,g,C,w,O)=>t.hasOwnProperty(g)?`${l}${t[g]}${O}`:s),i=i.replace(L0,(s,l)=>t.hasOwnProperty(l)?t[l]:s),i=i.replace(j0,(s,l)=>{if(t.hasOwnProperty(l)){const g=t[l];if(!g.length)throw new Error(`i18n postprocess: unmatched ICU - ${s} with key: ${l}`);return g.shift()}return s})),i}(e,t)}function qc(e,t,i,s,l){if(e=v(e),Array.isArray(e))for(let g=0;g<e.length;g++)qc(e[g],t,i,s,l);else{const g=cn(),C=bt();let w=Do(e)?e:v(e.provide),O=oh(e);const $=Bn(),q=1048575&$.providerIndexes,be=$.directiveStart,Ve=$.providerIndexes>>20;if(Do(e)||!e.multi){const tt=new xn(O,l,vs),pt=tu(w,t,l?q:q+Ve,be);-1===pt?(js(Zo($,C),g,w),eu(g,e,t.length),t.push(w),$.directiveStart++,$.directiveEnd++,l&&($.providerIndexes+=1048576),i.push(tt),C.push(tt)):(i[pt]=tt,C[pt]=tt)}else{const tt=tu(w,t,q+Ve,be),pt=tu(w,t,q,q+Ve),Ot=tt>=0&&i[tt],At=pt>=0&&i[pt];if(l&&!At||!l&&!Ot){js(Zo($,C),g,w);const Vt=function W0(e,t,i,s,l){const g=new xn(e,i,vs);return g.multi=[],g.index=t,g.componentProviders=0,Xp(g,l,s&&!i),g}(l?z0:U0,i.length,l,s,O);!l&&At&&(i[pt].providerFactory=Vt),eu(g,e,t.length,0),t.push(w),$.directiveStart++,$.directiveEnd++,l&&($.providerIndexes+=1048576),i.push(Vt),C.push(Vt)}else eu(g,e,tt>-1?tt:pt,Xp(i[l?pt:tt],O,!l&&s));!l&&s&&At&&i[pt].componentProviders++}}}function eu(e,t,i,s){const l=Do(t),g=function x_(e){return!!e.useClass}(t);if(l||g){const O=(g?v(t.useClass):t).prototype.ngOnDestroy;if(O){const $=e.destroyHooks||(e.destroyHooks=[]);if(!l&&t.multi){const q=$.indexOf(i);-1===q?$.push(i,[s,O]):$[q+1].push(s,O)}else $.push(i,O)}}}function Xp(e,t,i){return i&&e.componentProviders++,e.multi.push(t)-1}function tu(e,t,i,s){for(let l=i;l<s;l++)if(t[l]===e)return l;return-1}function U0(e,t,i,s){return nu(this.multi,[])}function z0(e,t,i,s){const l=this.multi;let g;if(this.providerFactory){const C=this.providerFactory.componentProviders,w=Jo(i,i[1],this.providerFactory.index,s);g=w.slice(0,C),nu(l,g);for(let O=C;O<w.length;O++)g.push(w[O])}else g=[],nu(l,g);return g}function nu(e,t){for(let i=0;i<e.length;i++)t.push((0,e[i])());return t}function qp(e,t=[]){return i=>{i.providersResolver=(s,l)=>function H0(e,t,i){const s=cn();if(s.firstCreatePass){const l=zn(e);qc(i,s.data,s.blueprint,l,!0),qc(t,s.data,s.blueprint,l,!1)}}(s,l?l(e):e,t)}}class em{}class Ca{}class K0{resolveComponentFactory(t){throw function G0(e){const t=Error(`No component factory found for ${p(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Ea=(()=>{class e{}return e.NULL=new K0,e})();function Q0(){return Bo(Bn(),bt())}function Bo(e,t){return new Ds(vt(e,t))}let Ds=(()=>{class e{constructor(i){this.nativeElement=i}}return e.__NG_ELEMENT_ID__=Q0,e})();function Y0(e){return e instanceof Ds?e.nativeElement:e}class nm{}let Z0=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function X0(){const e=bt(),i=rn(Bn().index,e);return function J0(e){return e[11]}(wn(i)?i:e)}(),e})(),im=(()=>{class e{}return e.\u0275prov=et({token:e,providedIn:"root",factory:()=>null}),e})();class rm{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const om=new rm("13.2.6"),Ta={};function Da(e,t,i,s,l=!1){for(;null!==i;){const g=t[i.index];if(null!==g&&s.push(k(g)),An(g))for(let w=10;w<g.length;w++){const O=g[w],$=O[1].firstChild;null!==$&&Da(O[1],O,$,s)}const C=i.type;if(8&C)Da(e,t,i.child,s);else if(32&C){const w=sl(i,t);let O;for(;O=w();)s.push(O)}else if(16&C){const w=ff(t,i);if(Array.isArray(w))s.push(...w);else{const O=cs(t[16]);Da(O[1],O,w,s,!0)}}i=l?i.projectionNext:i.next}return s}class Vo{constructor(t,i){this._lView=t,this._cdRefInjectingView=i,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,i=t[1];return Da(i,t,i.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(An(t)){const i=t[8],s=i?i.indexOf(this):-1;s>-1&&(dl(t,s),$s(i,s))}this._attachedToViewContainer=!1}tf(this._lView[1],this._lView)}onDestroy(t){Bf(this._lView[1],this._lView,null,t)}markForCheck(){Fl(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Nl(this._lView[1],this._lView,this.context)}checkNoChanges(){!function D_(e,t,i){Gr(!0);try{Nl(e,t,i)}finally{Gr(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new S(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function by(e,t){us(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new S(902,"");this._appRef=t}}class q0 extends Vo{constructor(t){super(t),this._view=t}detectChanges(){Qf(this._view)}checkNoChanges(){!function w_(e){Gr(!0);try{Qf(e)}finally{Gr(!1)}}(this._view)}get context(){return null}}class sm extends Ea{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const i=Fe(t);return new wa(i,this.ngModule)}}function am(e){const t=[];for(let i in e)e.hasOwnProperty(i)&&t.push({propName:e[i],templateName:i});return t}class wa extends Ca{constructor(t,i){super(),this.componentDef=t,this.ngModule=i,this.componentType=t.type,this.selector=function Vy(e){return e.map(By).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!i}get inputs(){return am(this.componentDef.inputs)}get outputs(){return am(this.componentDef.outputs)}create(t,i,s,l){const g=(l=l||this.ngModule)?function tC(e,t){return{get:(i,s,l)=>{const g=e.get(i,Ta,l);return g!==Ta||s===Ta?g:t.get(i,s,l)}}}(t,l.injector):t,C=g.get(nm,N),w=g.get(im,null),O=C.createRenderer(null,this.componentDef),$=this.componentDef.selectors[0][0]||"div",q=s?jf(O,s,this.componentDef.encapsulation):ul(C.createRenderer(null,this.componentDef),$,function eC(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?jn:null}($)),be=this.componentDef.onPush?576:528,Ve=vh(),tt=ia(0,null,null,1,0,null,null,null,null,null),pt=ds(null,tt,Ve,be,null,null,C,O,w,g);let Ot,At;Jt(pt);try{const Vt=mh(q,this.componentDef,pt,C,O);if(q)if(s)Si(O,q,["ng-version",om.full]);else{const{attrs:yt,classes:Gt}=function $y(e){const t=[],i=[];let s=1,l=2;for(;s<e.length;){let g=e[s];if("string"==typeof g)2===l?""!==g&&t.push(g,e[++s]):8===l&&i.push(g);else{if(!ir(l))break;l=g}s++}return{attrs:t,classes:i}}(this.componentDef.selectors[0]);yt&&Si(O,q,yt),Gt&&Gt.length>0&&gl(O,q,Gt.join(" "))}if(At=yn(tt,20),void 0!==i){const yt=At.projection=[];for(let Gt=0;Gt<this.ngContentSelectors.length;Gt++){const un=i[Gt];yt.push(null!=un?Array.from(un):null)}}Ot=gh(Vt,this.componentDef,pt,Ve,[yh]),fs(tt,pt,null)}finally{Rn()}return new lm(this.componentType,Ot,Bo(At,pt),pt,At)}}class lm extends em{constructor(t,i,s,l,g){super(),this.location=s,this._rootLView=l,this._tNode=g,this.instance=i,this.hostView=this.changeDetectorRef=new q0(l),this.componentType=t}get injector(){return new so(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function cm(e,t,i,s){return Tt(()=>{const l=e;null!==t&&(l.hasOwnProperty("decorators")&&void 0!==l.decorators?l.decorators.push(...t):l.decorators=t),null!==i&&(l.ctorParameters=i),null!==s&&(l.propDecorators=l.hasOwnProperty("propDecorators")&&void 0!==l.propDecorators?Object.assign(Object.assign({},l.propDecorators),s):s)})}class $o{}class um{}const Ho=new Map;function fm(e){const t=new Set;!function i(s){const l=Ft(s,!0),g=l.id;if(null!==g){(function dm(e,t,i){if(t&&t!==i)throw new Error(`Duplicate module registered for ${e} - ${p(t)} vs ${p(t.name)}`)})(g,Ho.get(g),s),Ho.set(g,s)}const C=yr(l.imports);for(const w of C)t.has(w)||(t.add(w),i(w))}(e)}function hm(e){return Ho.get(e)||it[e]}function iC(e,t){return new iu(e,null!=t?t:null)}class iu extends $o{constructor(t,i){super(),this._parent=i,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new sm(this);const s=Ft(t);this._bootstrapComponents=yr(s.bootstrap),this._r3Injector=rh(t,i,[{provide:$o,useValue:this},{provide:Ea,useValue:this.componentFactoryResolver}],p(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,i=zi.THROW_IF_NOT_FOUND,s=V.Default){return t===zi||t===$o||t===sa?this:this._r3Injector.get(t,i,s)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(i=>i()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Ma extends um{constructor(t){super(),this.moduleType=t,null!==Ft(t)&&fm(t)}create(t){return new iu(this.moduleType,t)}}function pm(e,t,i){const s=ii()+e,l=bt();return l[s]===en?Cr(l,s,i?t.call(i):t()):ms(l,s)}function mm(e,t,i,s){return Dm(bt(),ii(),e,t,i,s)}function gm(e,t,i,s,l){return wm(bt(),ii(),e,t,i,s,l)}function vm(e,t,i,s,l,g){return Mm(bt(),ii(),e,t,i,s,l,g)}function ym(e,t,i,s,l,g,C){return Sm(bt(),ii(),e,t,i,s,l,g,C)}function _m(e,t,i,s,l,g,C,w){const O=ii()+e,$=bt(),q=Gi($,O,i,s,l,g);return fi($,O+4,C)||q?Cr($,O+5,w?t.call(w,i,s,l,g,C):t(i,s,l,g,C)):ms($,O+5)}function bm(e,t,i,s,l,g,C,w,O){const $=ii()+e,q=bt(),be=Gi(q,$,i,s,l,g);return qr(q,$+4,C,w)||be?Cr(q,$+6,O?t.call(O,i,s,l,g,C,w):t(i,s,l,g,C,w)):ms(q,$+6)}function Cm(e,t,i,s,l,g,C,w,O,$){const q=ii()+e,be=bt();let Ve=Gi(be,q,i,s,l,g);return la(be,q+4,C,w,O)||Ve?Cr(be,q+7,$?t.call($,i,s,l,g,C,w,O):t(i,s,l,g,C,w,O)):ms(be,q+7)}function Em(e,t,i,s,l,g,C,w,O,$,q){const be=ii()+e,Ve=bt(),tt=Gi(Ve,be,i,s,l,g);return Gi(Ve,be+4,C,w,O,$)||tt?Cr(Ve,be+8,q?t.call(q,i,s,l,g,C,w,O,$):t(i,s,l,g,C,w,O,$)):ms(Ve,be+8)}function Tm(e,t,i,s){return Om(bt(),ii(),e,t,i,s)}function ws(e,t){const i=e[t];return i===en?void 0:i}function Dm(e,t,i,s,l,g){const C=t+i;return fi(e,C,l)?Cr(e,C+1,g?s.call(g,l):s(l)):ws(e,C+1)}function wm(e,t,i,s,l,g,C){const w=t+i;return qr(e,w,l,g)?Cr(e,w+2,C?s.call(C,l,g):s(l,g)):ws(e,w+2)}function Mm(e,t,i,s,l,g,C,w){const O=t+i;return la(e,O,l,g,C)?Cr(e,O+3,w?s.call(w,l,g,C):s(l,g,C)):ws(e,O+3)}function Sm(e,t,i,s,l,g,C,w,O){const $=t+i;return Gi(e,$,l,g,C,w)?Cr(e,$+4,O?s.call(O,l,g,C,w):s(l,g,C,w)):ws(e,$+4)}function Om(e,t,i,s,l,g){let C=t+i,w=!1;for(let O=0;O<l.length;O++)fi(e,C++,l[O])&&(w=!0);return w?Cr(e,C,s.apply(g,l)):ws(e,C)}function Im(e,t){const i=cn();let s;const l=e+20;i.firstCreatePass?(s=function rC(e,t){if(t)for(let i=t.length-1;i>=0;i--){const s=t[i];if(e===s.name)return s}}(t,i.pipeRegistry),i.data[l]=s,s.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(l,s.onDestroy)):s=i.data[l];const g=s.factory||(s.factory=li(s.type)),C=Je(vs);try{const w=Ns(!1),O=g();return Ns(w),Th(i,bt(),l,O),O}finally{Je(C)}}function Pm(e,t,i){const s=e+20,l=bt(),g=dn(l,s);return Ms(l,s)?Dm(l,ii(),t,g.transform,i,g):g.transform(i)}function Am(e,t,i,s){const l=e+20,g=bt(),C=dn(g,l);return Ms(g,l)?wm(g,ii(),t,C.transform,i,s,C):C.transform(i,s)}function Rm(e,t,i,s,l){const g=e+20,C=bt(),w=dn(C,g);return Ms(C,g)?Mm(C,ii(),t,w.transform,i,s,l,w):w.transform(i,s,l)}function xm(e,t,i,s,l,g){const C=e+20,w=bt(),O=dn(w,C);return Ms(w,C)?Sm(w,ii(),t,O.transform,i,s,l,g,O):O.transform(i,s,l,g)}function Fm(e,t,i){const s=e+20,l=bt(),g=dn(l,s);return Ms(l,s)?Om(l,ii(),t,g.transform,i,g):g.transform.apply(g,i)}function Ms(e,t){return e[1].data[t].pure}function ru(e){return t=>{setTimeout(e,void 0,t)}}const Tr=class oC extends n.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,i,s){var l,g,C;let w=t,O=i||(()=>null),$=s;if(t&&"object"==typeof t){const be=t;w=null===(l=be.next)||void 0===l?void 0:l.bind(be),O=null===(g=be.error)||void 0===g?void 0:g.bind(be),$=null===(C=be.complete)||void 0===C?void 0:C.bind(be)}this.__isAsync&&(O=ru(O),w&&(w=ru(w)),$&&($=ru($)));const q=super.subscribe({next:w,error:O,complete:$});return t instanceof h.w0&&t.add(q),q}};function sC(){return this._results[wo()]()}class Sa{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=wo(),s=Sa.prototype;s[i]||(s[i]=sC)}get changes(){return this._changes||(this._changes=new Tr)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,i){return this._results.reduce(t,i)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,i){const s=this;s.dirty=!1;const l=Ui(t);(this._changesDetected=!function lv(e,t,i){if(e.length!==t.length)return!1;for(let s=0;s<e.length;s++){let l=e[s],g=t[s];if(i&&(l=i(l),g=i(g)),g!==l)return!1}return!0}(s._results,l,i))&&(s._results=l,s.length=l.length,s.last=l[this.length-1],s.first=l[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;let Ss=(()=>{class e{}return e.__NG_ELEMENT_ID__=cC,e})();const aC=Ss,lC=class extends aC{constructor(t,i,s){super(),this._declarationLView=t,this._declarationTContainer=i,this.elementRef=s}createEmbeddedView(t){const i=this._declarationTContainer.tViews,s=ds(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null);s[17]=this._declarationLView[this._declarationTContainer.index];const g=this._declarationLView[19];return null!==g&&(s[19]=g.createEmbeddedView(i)),fs(i,s,t),new Vo(s)}};function cC(){return Oa(Bn(),bt())}function Oa(e,t){return 4&e.type?new lC(t,e,Bo(e,t)):null}let Ia=(()=>{class e{}return e.__NG_ELEMENT_ID__=uC,e})();function uC(){return Lm(Bn(),bt())}const dC=Ia,km=class extends dC{constructor(t,i,s){super(),this._lContainer=t,this._hostTNode=i,this._hostLView=s}get element(){return Bo(this._hostTNode,this._hostLView)}get injector(){return new so(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ls(this._hostTNode,this._hostLView);if(Yu(t)){const i=oo(t,this._hostLView),s=ro(t);return new so(i[1].data[s+8],i)}return new so(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const i=Nm(this._lContainer);return null!==i&&i[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,i,s){const l=t.createEmbeddedView(i||{});return this.insert(l,s),l}createComponent(t,i,s,l,g){const C=t&&!qo(t);let w;if(C)w=i;else{const be=i||{};w=be.index,s=be.injector,l=be.projectableNodes,g=be.ngModuleRef}const O=C?t:new wa(Fe(t)),$=s||this.parentInjector;if(!g&&null==O.ngModule){const Ve=(C?$:this.parentInjector).get($o,null);Ve&&(g=Ve)}const q=O.create($,l,void 0,g);return this.insert(q.hostView,w),q}insert(t,i){const s=t._lView,l=s[1];if(function j(e){return An(e[3])}(s)){const q=this.indexOf(t);if(-1!==q)this.detach(q);else{const be=s[3],Ve=new km(be,be[6],be[3]);Ve.detach(Ve.indexOf(t))}}const g=this._adjustIndex(i),C=this._lContainer;!function Ey(e,t,i,s){const l=10+s,g=i.length;s>0&&(i[l-1][4]=t),s<g-10?(t[4]=i[l],ad(i,10+s,t)):(i.push(t),t[4]=null),t[3]=i;const C=t[17];null!==C&&i!==C&&function Ty(e,t){const i=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===i?e[9]=[t]:i.push(t)}(C,t);const w=t[19];null!==w&&w.insertView(e),t[2]|=128}(l,s,C,g);const w=pl(g,C),O=s[11],$=Js(O,C[7]);return null!==$&&function _y(e,t,i,s,l,g){s[0]=l,s[6]=t,us(e,s,i,1,l,g)}(l,C[6],O,s,$,w),t.attachToViewContainerRef(),ad(ou(C),g,t),t}move(t,i){return this.insert(t,i)}indexOf(t){const i=Nm(this._lContainer);return null!==i?i.indexOf(t):-1}remove(t){const i=this._adjustIndex(t,-1),s=dl(this._lContainer,i);s&&($s(ou(this._lContainer),i),tf(s[1],s))}detach(t){const i=this._adjustIndex(t,-1),s=dl(this._lContainer,i);return s&&null!=$s(ou(this._lContainer),i)?new Vo(s):null}_adjustIndex(t,i=0){return null==t?this.length+i:t}};function Nm(e){return e[8]}function ou(e){return e[8]||(e[8]=[])}function Lm(e,t){let i;const s=t[e.index];if(An(s))i=s;else{let l;if(8&e.type)l=k(s);else{const g=t[11];l=g.createComment("");const C=vt(e,t);Xr(g,Js(g,C),l,function Sy(e,t){return Tn(e)?e.nextSibling(t):t.nextSibling}(g,C),!1)}t[e.index]=i=Kf(s,t,l,e),ra(t,i)}return new km(i,e,t)}class su{constructor(t){this.queryList=t,this.matches=null}clone(){return new su(this.queryList)}setDirty(){this.queryList.setDirty()}}class au{constructor(t=[]){this.queries=t}createEmbeddedView(t){const i=t.queries;if(null!==i){const s=null!==t.contentQueries?t.contentQueries[0]:i.length,l=[];for(let g=0;g<s;g++){const C=i.getByIndex(g);l.push(this.queries[C.indexInDeclarationView].clone())}return new au(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!==Gm(t,i).matches&&this.queries[i].setDirty()}}class jm{constructor(t,i,s=null){this.predicate=t,this.flags=i,this.read=s}}class lu{constructor(t=[]){this.queries=t}elementStart(t,i){for(let s=0;s<this.queries.length;s++)this.queries[s].elementStart(t,i)}elementEnd(t){for(let i=0;i<this.queries.length;i++)this.queries[i].elementEnd(t)}embeddedTView(t){let i=null;for(let s=0;s<this.length;s++){const l=null!==i?i.length:0,g=this.getByIndex(s).embeddedTView(t,l);g&&(g.indexInDeclarationView=s,null!==i?i.push(g):i=[g])}return null!==i?new lu(i):null}template(t,i){for(let s=0;s<this.queries.length;s++)this.queries[s].template(t,i)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class cu{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 cu(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const i=this._declarationNodeIndex;let s=t.parent;for(;null!==s&&8&s.type&&s.index!==i;)s=s.parent;return i===(null!==s?s.index:-1)}return this._appliesToNextNode}matchTNode(t,i){const s=this.metadata.predicate;if(Array.isArray(s))for(let l=0;l<s.length;l++){const g=s[l];this.matchTNodeWithReadOption(t,i,pC(i,g)),this.matchTNodeWithReadOption(t,i,Bs(i,t,g,!1,!1))}else s===Ss?4&i.type&&this.matchTNodeWithReadOption(t,i,-1):this.matchTNodeWithReadOption(t,i,Bs(i,t,s,!1,!1))}matchTNodeWithReadOption(t,i,s){if(null!==s){const l=this.metadata.read;if(null!==l)if(l===Ds||l===Ia||l===Ss&&4&i.type)this.addMatch(i.index,-2);else{const g=Bs(i,t,l,!1,!1);null!==g&&this.addMatch(i.index,g)}else this.addMatch(i.index,s)}}addMatch(t,i){null===this.matches?this.matches=[t,i]:this.matches.push(t,i)}}function pC(e,t){const i=e.localNames;if(null!==i)for(let s=0;s<i.length;s+=2)if(i[s]===t)return i[s+1];return null}function gC(e,t,i,s){return-1===i?function mC(e,t){return 11&e.type?Bo(e,t):4&e.type?Oa(e,t):null}(t,e):-2===i?function vC(e,t,i){return i===Ds?Bo(t,e):i===Ss?Oa(t,e):i===Ia?Lm(t,e):void 0}(e,t,s):Jo(e,e[1],i,t)}function Bm(e,t,i,s){const l=t[19].queries[s];if(null===l.matches){const g=e.data,C=i.matches,w=[];for(let O=0;O<C.length;O+=2){const $=C[O];w.push($<0?null:gC(t,g[$],C[O+1],i.metadata.read))}l.matches=w}return l.matches}function uu(e,t,i,s){const l=e.queries.getByIndex(i),g=l.matches;if(null!==g){const C=Bm(e,t,l,i);for(let w=0;w<g.length;w+=2){const O=g[w];if(O>0)s.push(C[w/2]);else{const $=g[w+1],q=t[-O];for(let be=10;be<q.length;be++){const Ve=q[be];Ve[17]===Ve[3]&&uu(Ve[1],Ve,$,s)}if(null!==q[9]){const be=q[9];for(let Ve=0;Ve<be.length;Ve++){const tt=be[Ve];uu(tt[1],tt,$,s)}}}}}return s}function Vm(e){const t=bt(),i=cn(),s=nt();mt(s+1);const l=Gm(i,s);if(e.dirty&&ln(t)===(2==(2&l.metadata.flags))){if(null===l.matches)e.reset([]);else{const g=l.crossesNgTemplate?uu(i,t,s,[]):Bm(i,t,l,s);e.reset(g,Y0),e.notifyOnChanges()}return!0}return!1}function $m(e,t,i){const s=cn();s.firstCreatePass&&(Wm(s,new jm(e,t,i),-1),2==(2&t)&&(s.staticViewQueries=!0)),zm(s,bt(),t)}function Hm(e,t,i,s){const l=cn();if(l.firstCreatePass){const g=Bn();Wm(l,new jm(t,i,s),g.index),function _C(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)}zm(l,bt(),i)}function Um(){return function yC(e,t){return e[19].queries[t].queryList}(bt(),nt())}function zm(e,t,i){const s=new Sa(4==(4&i));Bf(e,t,s,s.destroy),null===t[19]&&(t[19]=new au),t[19].queries.push(new su(s))}function Wm(e,t,i){null===e.queries&&(e.queries=new lu),e.queries.track(new cu(t,i))}function Gm(e,t){return e.queries.getByIndex(t)}function Km(e,t){return Oa(e,t)}const gi=(()=>({\u0275\u0275attribute:Ql,\u0275\u0275attributeInterpolate1:Yl,\u0275\u0275attributeInterpolate2:Zl,\u0275\u0275attributeInterpolate3:Jl,\u0275\u0275attributeInterpolate4:Xl,\u0275\u0275attributeInterpolate5:ql,\u0275\u0275attributeInterpolate6:ec,\u0275\u0275attributeInterpolate7:tc,\u0275\u0275attributeInterpolate8:nc,\u0275\u0275attributeInterpolateV:ic,\u0275\u0275defineComponent:le,\u0275\u0275defineDirective:je,\u0275\u0275defineInjectable:et,\u0275\u0275defineInjector:We,\u0275\u0275defineNgModule:Lt,\u0275\u0275definePipe:pe,\u0275\u0275directiveInject:vs,\u0275\u0275getInheritedFactory:rd,\u0275\u0275inject:oi,\u0275\u0275injectAttribute:La,\u0275\u0275invalidFactory:Nh,\u0275\u0275invalidFactoryDep:za,\u0275\u0275templateRefExtractor:Km,\u0275\u0275NgOnChangesFeature:_i,\u0275\u0275ProvidersFeature:qp,\u0275\u0275CopyDefinitionFeature:bh,\u0275\u0275InheritDefinitionFeature:Wl,\u0275\u0275nextContext:Hh,\u0275\u0275namespaceHTML:Vi,\u0275\u0275namespaceMathML:Bi,\u0275\u0275namespaceSVG:ri,\u0275\u0275enableBindings:As,\u0275\u0275disableBindings:Wo,\u0275\u0275elementStart:ua,\u0275\u0275elementEnd:da,\u0275\u0275element:cc,\u0275\u0275elementContainerStart:fa,\u0275\u0275elementContainerEnd:ha,\u0275\u0275elementContainer:uc,\u0275\u0275pureFunction0:pm,\u0275\u0275pureFunction1:mm,\u0275\u0275pureFunction2:gm,\u0275\u0275pureFunction3:vm,\u0275\u0275pureFunction4:ym,\u0275\u0275pureFunction5:_m,\u0275\u0275pureFunction6:bm,\u0275\u0275pureFunction7:Cm,\u0275\u0275pureFunction8:Em,\u0275\u0275pureFunctionV:Tm,\u0275\u0275getCurrentView:Lh,\u0275\u0275restoreView:Go,\u0275\u0275listener:fc,\u0275\u0275projection:zh,\u0275\u0275syntheticHostProperty:Gc,\u0275\u0275syntheticHostListener:hc,\u0275\u0275pipeBind1:Pm,\u0275\u0275pipeBind2:Am,\u0275\u0275pipeBind3:Rm,\u0275\u0275pipeBind4:xm,\u0275\u0275pipeBindV:Fm,\u0275\u0275projectionDef:Uh,\u0275\u0275hostProperty:Wc,\u0275\u0275property:ac,\u0275\u0275propertyInterpolate:mc,\u0275\u0275propertyInterpolate1:pa,\u0275\u0275propertyInterpolate2:gc,\u0275\u0275propertyInterpolate3:vc,\u0275\u0275propertyInterpolate4:yc,\u0275\u0275propertyInterpolate5:_c,\u0275\u0275propertyInterpolate6:bc,\u0275\u0275propertyInterpolate7:Cc,\u0275\u0275propertyInterpolate8:Ec,\u0275\u0275propertyInterpolateV:Tc,\u0275\u0275pipe:Im,\u0275\u0275queryRefresh:Vm,\u0275\u0275viewQuery:$m,\u0275\u0275loadQuery:Um,\u0275\u0275contentQuery:Hm,\u0275\u0275reference:Dh,\u0275\u0275classMap:Xh,\u0275\u0275classMapInterpolate1:sp,\u0275\u0275classMapInterpolate2:ap,\u0275\u0275classMapInterpolate3:lp,\u0275\u0275classMapInterpolate4:cp,\u0275\u0275classMapInterpolate5:up,\u0275\u0275classMapInterpolate6:dp,\u0275\u0275classMapInterpolate7:fp,\u0275\u0275classMapInterpolate8:hp,\u0275\u0275classMapInterpolateV:pp,\u0275\u0275styleMap:or,\u0275\u0275styleMapInterpolate1:mp,\u0275\u0275styleMapInterpolate2:gp,\u0275\u0275styleMapInterpolate3:vp,\u0275\u0275styleMapInterpolate4:yp,\u0275\u0275styleMapInterpolate5:_p,\u0275\u0275styleMapInterpolate6:bp,\u0275\u0275styleMapInterpolate7:Cp,\u0275\u0275styleMapInterpolate8:Ep,\u0275\u0275styleMapInterpolateV:Tp,\u0275\u0275styleProp:Dc,\u0275\u0275stylePropInterpolate1:Nc,\u0275\u0275stylePropInterpolate2:Lc,\u0275\u0275stylePropInterpolate3:jc,\u0275\u0275stylePropInterpolate4:Bc,\u0275\u0275stylePropInterpolate5:Vc,\u0275\u0275stylePropInterpolate6:$c,\u0275\u0275stylePropInterpolate7:Hc,\u0275\u0275stylePropInterpolate8:Uc,\u0275\u0275stylePropInterpolateV:zc,\u0275\u0275classProp:wc,\u0275\u0275advance:Cf,\u0275\u0275template:Eh,\u0275\u0275text:op,\u0275\u0275textInterpolate:Sc,\u0275\u0275textInterpolate1:ga,\u0275\u0275textInterpolate2:Oc,\u0275\u0275textInterpolate3:Ic,\u0275\u0275textInterpolate4:Pc,\u0275\u0275textInterpolate5:Ac,\u0275\u0275textInterpolate6:Rc,\u0275\u0275textInterpolate7:xc,\u0275\u0275textInterpolate8:Fc,\u0275\u0275textInterpolateV:kc,\u0275\u0275i18n:Qp,\u0275\u0275i18nAttributes:Yp,\u0275\u0275i18nExp:Xc,\u0275\u0275i18nStart:Zc,\u0275\u0275i18nEnd:Jc,\u0275\u0275i18nApply:Zp,\u0275\u0275i18nPostprocess:Jp,\u0275\u0275resolveWindow:Wd,\u0275\u0275resolveDocument:Gd,\u0275\u0275resolveBody:Kd,\u0275\u0275setComponentScope:M,\u0275\u0275setNgModuleScope:jt,\u0275\u0275sanitizeHtml:Ad,\u0275\u0275sanitizeStyle:Rd,\u0275\u0275sanitizeResourceUrl:el,\u0275\u0275sanitizeScript:xd,\u0275\u0275sanitizeUrl:qa,\u0275\u0275sanitizeUrlOrResourceUrl:Nd,\u0275\u0275trustConstantHtml:Fd,\u0275\u0275trustConstantResourceUrl:kd,forwardRef:_,resolveForwardRef:v}))();let Uo=null;function EC(){Uo=null}const Os=[];let du=!1;function Qm(){if(!du){du=!0;try{for(let e=Os.length-1;e>=0;e--){const{moduleType:t,ngModule:i}=Os[e];i.declarations&&i.declarations.every(Ym)&&(Os.splice(e,1),wC(t,i))}}finally{du=!1}}}function Ym(e){return Array.isArray(e)?e.every(Ym):!!v(e)}function Zm(e,t={}){Jm(e,t),function TC(e,t){Os.push({moduleType:e,ngModule:t})}(e,t)}function Jm(e,t,i=!1){const s=Ui(t.declarations||_t);let l=null;Object.defineProperty(e,ue,{configurable:!0,get:()=>(null===l&&(l=Jn().compileNgModule(gi,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:Ui(t.bootstrap||_t).map(v),declarations:s.map(v),imports:Ui(t.imports||_t).map(v).map(tg),exports:Ui(t.exports||_t).map(v).map(tg),schemas:t.schemas?Ui(t.schemas):null,id:t.id||null}),l.schemas||(l.schemas=[])),l)});let g=null;Object.defineProperty(e,X,{get:()=>{if(null===g){const w=Jn();g=w.compileFactory(gi,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,deps:Gs(e),target:w.FactoryTarget.NgModule,typeArgumentCount:0})}return g},configurable:!1});let C=null;Object.defineProperty(e,Ue,{get:()=>{if(null===C){const w={name:e.name,type:e,providers:t.providers||_t,imports:[(t.imports||_t).map(v),(t.exports||_t).map(v)]};C=Jn().compileInjector(gi,`ng:///${e.name}/\u0275inj.js`,w)}return C},configurable:!1})}let Pa=new WeakMap,hu=new WeakMap;function DC(){Pa=new WeakMap,hu=new WeakMap,Os.length=0}function wC(e,t){const i=Ui(t.declarations||_t),s=Is(e);i.forEach(l=>{l.hasOwnProperty(Ht)?pu(Fe(l),s):!l.hasOwnProperty(wt)&&!l.hasOwnProperty($t)&&(l.ngSelectorScope=e)})}function pu(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map(i=>i.hasOwnProperty(Ht)?Fe(i):ut(i)).filter(i=>!!i),e.pipeDefs=()=>Array.from(t.compilation.pipes).map(i=>Rt(i)),e.schemas=t.schemas,e.tView=null}function Is(e){if(!mu(e))throw new Error(`${e.name} does not have a module def (\u0275mod property)`);const t=Ft(e);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 yr(t.imports).forEach(s=>{const l=s;if(!mu(l))throw new Error(`Importing ${l.name} which does not have a \u0275mod property`);const g=Is(l);g.exported.directives.forEach(C=>i.compilation.directives.add(C)),g.exported.pipes.forEach(C=>i.compilation.pipes.add(C))}),yr(t.declarations).forEach(s=>{Rt(s)?i.compilation.pipes.add(s):i.compilation.directives.add(s)}),yr(t.exports).forEach(s=>{const l=s;if(mu(l)){const g=Is(l);g.exported.directives.forEach(C=>{i.compilation.directives.add(C),i.exported.directives.add(C)}),g.exported.pipes.forEach(C=>{i.compilation.pipes.add(C),i.exported.pipes.add(C)})}else Rt(l)?i.exported.pipes.add(l):i.exported.directives.add(l)}),t.transitiveCompileScopes=i,i}function tg(e){return function MC(e){return void 0!==e.ngModule}(e)?e.ngModule:e}function mu(e){return!!Ft(e)}let gu=0;function ng(e,t){let i=null;(function wv(e,t){vd(t)&&(mo.set(e,t),rs.add(e))})(e,t),rg(e,t),Object.defineProperty(e,Ht,{get:()=>{if(null===i){const s=Jn();if(vd(t)){const $=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&$.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&$.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),$.push("Did you run and wait for 'resolveComponentResources()'?"),new Error($.join("\n"))}const l=function CC(){return Uo}();let g=t.preserveWhitespaces;void 0===g&&(g=null!==l&&void 0!==l.preserveWhitespaces&&l.preserveWhitespaces);let C=t.encapsulation;void 0===C&&(C=null!==l&&void 0!==l.defaultEncapsulation?l.defaultEncapsulation:Ce.Emulated);const w=t.templateUrl||`ng:///${e.name}/template.html`,O=Object.assign(Object.assign({},og(e,t)),{typeSourceSpan:s.createParseSourceSpan("Component",e.name,w),template:t.template||"",preserveWhitespaces:g,styles:t.styles||_t,animations:t.animations,directives:[],changeDetection:t.changeDetection,pipes:new Map,encapsulation:C,interpolation:t.interpolation,viewProviders:t.viewProviders||null});gu++;try{O.usesInheritance&&sg(e),i=s.compileComponent(gi,w,O)}finally{gu--}if(0===gu&&Qm(),function SC(e){return void 0!==e.ngSelectorScope}(e)){const $=Is(e.ngSelectorScope);pu(i,$)}}return i},configurable:!1})}function vu(e,t){let i=null;rg(e,t||{}),Object.defineProperty(e,wt,{get:()=>{if(null===i){const s=ig(e,t||{});i=Jn().compileDirective(gi,s.sourceMapUrl,s.metadata)}return i},configurable:!1})}function ig(e,t){const i=e&&e.name,s=`ng:///${i}/\u0275dir.js`,l=Jn(),g=og(e,t);return g.typeSourceSpan=l.createParseSourceSpan("Directive",i,s),g.usesInheritance&&sg(e),{metadata:g,sourceMapUrl:s}}function rg(e,t){let i=null;Object.defineProperty(e,X,{get:()=>{if(null===i){const s=ig(e,t),l=Jn();i=l.compileFactory(gi,`ng:///${e.name}/\u0275fac.js`,{name:s.metadata.name,type:s.metadata.type,typeArgumentCount:0,deps:Gs(e),target:l.FactoryTarget.Directive})}return i},configurable:!1})}function OC(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function og(e,t){const i=Ga(),s=i.ownPropMetadata(e);return{name:e.name,type:e,selector:void 0!==t.selector?t.selector:null,host:t.host||Ct,propMetadata:s,inputs:t.inputs||_t,outputs:t.outputs||_t,queries:ag(e,s,lg),lifecycle:{usesOnChanges:i.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!OC(e),exportAs:AC(t.exportAs),providers:t.providers||null,viewQueries:ag(e,s,cg)}}function sg(e){const t=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==t;)!ut(i)&&!Fe(i)&&xC(i)&&vu(i,null),i=Object.getPrototypeOf(i)}function IC(e){return"string"==typeof e?dg(e):v(e)}function PC(e,t){return{propertyName:e,predicate:IC(t.selector),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static,emitDistinctChangesOnly:!!t.emitDistinctChangesOnly}}function ag(e,t,i){const s=[];for(const l in t)if(t.hasOwnProperty(l)){const g=t[l];g.forEach(C=>{if(i(C)){if(!C.selector)throw new Error(`Can't construct a query for the property "${l}" of "${H(e)}" since the query selector wasn't defined.`);if(g.some(ug))throw new Error("Cannot combine @Input decorators with query decorators");s.push(PC(l,C))}})}return s}function AC(e){return void 0===e?null:dg(e)}function lg(e){const t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function cg(e){const t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function ug(e){return"Input"===e.ngMetadataName}function dg(e){return e.split(",").map(t=>t.trim())}const RC=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function xC(e){const t=Ga();if(RC.some(s=>t.hasLifecycleHook(e,s)))return!0;const i=t.propMetadata(e);for(const s in i){const l=i[s];for(let g=0;g<l.length;g++){const C=l[g],w=C.ngMetadataName;if(ug(C)||lg(C)||cg(C)||"Output"===w||"HostBinding"===w||"HostListener"===w)return!0}}return!1}function fg(e,t){let i=null,s=null;Object.defineProperty(e,X,{get:()=>{if(null===s){const l=hg(e,t),g=Jn();s=g.compileFactory(gi,`ng:///${l.name}/\u0275fac.js`,{name:l.name,type:l.type,typeArgumentCount:0,deps:Gs(e),target:g.FactoryTarget.Pipe})}return s},configurable:!1}),Object.defineProperty(e,$t,{get:()=>{if(null===i){const l=hg(e,t);i=Jn().compilePipe(gi,`ng:///${l.name}/\u0275pipe.js`,l)}return i},configurable:!1})}function hg(e,t){return{type:e,name:e.name,pipeName:t.name,pure:void 0===t.pure||t.pure}}const pg=uo("Directive",(e={})=>e,void 0,void 0,(e,t)=>vu(e,t)),FC=uo("Component",(e={})=>Object.assign({changeDetection:Pt.Default},e),pg,void 0,(e,t)=>ng(e,t)),kC=uo("Pipe",e=>Object.assign({pure:!0},e),void 0,void 0,(e,t)=>fg(e,t)),NC=Vr("Input",e=>({bindingPropertyName:e})),LC=Vr("Output",e=>({bindingPropertyName:e})),jC=Vr("HostBinding",e=>({hostPropertyName:e})),BC=Vr("HostListener",(e,t)=>({eventName:e,args:t})),VC=uo("NgModule",e=>e,void 0,void 0,(e,t)=>Zm(e,t));function Aa(...e){}const mg=new Hn("Application Initializer");let yu=(()=>{class e{constructor(i){this.appInits=i,this.resolve=Aa,this.reject=Aa,this.initialized=!1,this.done=!1,this.donePromise=new Promise((s,l)=>{this.resolve=s,this.reject=l})}runInitializers(){if(this.initialized)return;const i=[],s=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let l=0;l<this.appInits.length;l++){const g=this.appInits[l]();if(dc(g))i.push(g);else if(Bh(g)){const C=new Promise((w,O)=>{g.subscribe({complete:w,error:O})});i.push(C)}}Promise.all(i).then(()=>{s()}).catch(l=>{this.reject(l)}),0===i.length&&s(),this.initialized=!0}}return e.\u0275fac=function(i){return new(i||e)(oi(mg,8))},e.\u0275prov=et({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const gg=new Hn("AppId",{providedIn:"root",factory:vg});function vg(){return`${_u()}${_u()}${_u()}`}const $C={provide:gg,useFactory:vg,deps:[]};function _u(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const yg=new Hn("Platform Initializer"),_g=new Hn("Platform ID"),bg=new Hn("appBootstrapListener"),HC=new Hn("Application Packages Root URL");let Cg=(()=>{class e{log(i){console.log(i)}warn(i){console.warn(i)}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=et({token:e,factory:e.\u0275fac}),e})();const bu=new Hn("LocaleId",{providedIn:"root",factory:()=>fd(bu,V.Optional|V.SkipSelf)||function UC(){return"undefined"!=typeof $localize&&$localize.locale||_s}()}),zC=new Hn("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"}),WC=new Hn("Translations"),GC=new Hn("TranslationsFormat");var Dr=(()=>((Dr=Dr||{})[Dr.Error=0]="Error",Dr[Dr.Warning=1]="Warning",Dr[Dr.Ignore=2]="Ignore",Dr))();class Eg{constructor(t,i){this.ngModuleFactory=t,this.componentFactories=i}}let KC=(()=>{class e{compileModuleSync(i){return new Ma(i)}compileModuleAsync(i){return Promise.resolve(this.compileModuleSync(i))}compileModuleAndAllComponentsSync(i){const s=this.compileModuleSync(i),g=yr(Ft(i).declarations).reduce((C,w)=>{const O=Fe(w);return O&&C.push(new wa(O)),C},[]);return new Eg(s,g)}compileModuleAndAllComponentsAsync(i){return Promise.resolve(this.compileModuleAndAllComponentsSync(i))}clearCache(){}clearCacheFor(i){}getModuleId(i){}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=et({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Tg=new Hn("compilerOptions");class QC{}const YC=(()=>Promise.resolve(0))();function Cu(e){"undefined"==typeof Zone?YC.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class lr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:s=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Tr(!1),this.onMicrotaskEmpty=new Tr(!1),this.onStable=new Tr(!1),this.onError=new Tr(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");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=!s&&i,l.shouldCoalesceRunChangeDetection=s,l.lastRequestAnimationFrameId=-1,l.nativeRequestAnimationFrame=function ZC(){let e=Oe.requestAnimationFrame,t=Oe.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i);const s=t[Zone.__symbol__("OriginalDelegate")];s&&(t=s)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function qC(e){const t=()=>{!function XC(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Oe,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Tu(e),e.isCheckStableRunning=!0,Eu(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Tu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,s,l,g,C,w)=>{try{return Dg(e),i.invokeTask(l,g,C,w)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===g.type||e.shouldCoalesceRunChangeDetection)&&t(),wg(e)}},onInvoke:(i,s,l,g,C,w,O)=>{try{return Dg(e),i.invoke(l,g,C,w,O)}finally{e.shouldCoalesceRunChangeDetection&&t(),wg(e)}},onHasTask:(i,s,l,g)=>{i.hasTask(l,g),s===l&&("microTask"==g.change?(e._hasPendingMicrotasks=g.microTask,Tu(e),Eu(e)):"macroTask"==g.change&&(e.hasPendingMacrotasks=g.macroTask))},onHandleError:(i,s,l,g)=>(i.handleError(l,g),e.runOutsideAngular(()=>e.onError.emit(g)),!1)})}(l)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!lr.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(lr.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,i,s){return this._inner.run(t,i,s)}runTask(t,i,s,l){const g=this._inner,C=g.scheduleEventTask("NgZoneEvent: "+l,t,JC,Aa,Aa);try{return g.runTask(C,i,s)}finally{g.cancelTask(C)}}runGuarded(t,i,s){return this._inner.runGuarded(t,i,s)}runOutsideAngular(t){return this._outer.run(t)}}const JC={};function Eu(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 Tu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Dg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function wg(e){e._nesting--,Eu(e)}class Mg{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Tr,this.onMicrotaskEmpty=new Tr,this.onStable=new Tr,this.onError=new Tr}run(t,i,s){return t.apply(i,s)}runGuarded(t,i,s){return t.apply(i,s)}runOutsideAngular(t){return t()}runTask(t,i,s,l){return t.apply(i,s)}}let Sg=(()=>{class e{constructor(i){this._ngZone=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),i.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{lr.assertNotInAngularZone(),Cu(()=>{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())Cu(()=>{for(;0!==this._callbacks.length;){let i=this._callbacks.pop();clearTimeout(i.timeoutId),i.doneCb(this._didWork)}this._didWork=!1});else{let i=this.getPendingTasks();this._callbacks=this._callbacks.filter(s=>!s.updateCb||!s.updateCb(i)||(clearTimeout(s.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(i=>({source:i.source,creationLocation:i.creationLocation,data:i.data})):[]}addCallback(i,s,l){let g=-1;s&&s>0&&(g=setTimeout(()=>{this._callbacks=this._callbacks.filter(C=>C.timeoutId!==g),i(this._didWork,this.getPendingTasks())},s)),this._callbacks.push({doneCb:i,timeoutId:g,updateCb:l})}whenStable(i,s,l){if(l&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(i,s,l),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(i,s,l){return[]}}return e.\u0275fac=function(i){return new(i||e)(oi(lr))},e.\u0275prov=et({token:e,factory:e.\u0275fac}),e})(),Du=(()=>{class e{constructor(){this._applications=new Map,wu.addToWindow(this)}registerApplication(i,s){this._applications.set(i,s)}unregisterApplication(i){this._applications.delete(i)}unregisterAllApplications(){this._applications.clear()}getTestability(i){return this._applications.get(i)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(i,s=!0){return wu.findTestabilityInTree(this,i,s)}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=et({token:e,factory:e.\u0275fac}),e})();class eE{addToWindow(t){}findTestabilityInTree(t,i,s){return null}}function tE(e){wu=e}let cr,wu=new eE;function Og(e,t,i){const s=new Ma(i);return Promise.resolve(s)}function Ig(e){return e.isBoundToModule}const Mu=new Hn("AllowMultipleToken");class nE{constructor(t,i){this.name=t,this.token=i}}function Pg(e){if(cr&&!cr.destroyed&&!cr.injector.get(Mu,!1))throw new S(400,"");cr=e.get(Ou);const t=e.get(yg,null);return t&&t.forEach(i=>i()),cr}function Ag(e,t,i=[]){const s=`Platform: ${t}`,l=new Hn(s);return(g=[])=>{let C=Su();if(!C||C.injector.get(Mu,!1))if(e)e(i.concat(g).concat({provide:l,useValue:!0}));else{const w=i.concat(g).concat({provide:l,useValue:!0},{provide:jl,useValue:"platform"});Pg(zi.create({providers:w,name:s}))}return Rg()}}function Rg(e){const t=Su();if(!t)throw new S(401,"");return t}function iE(){cr&&!cr.destroyed&&cr.destroy()}function Su(){return cr&&!cr.destroyed?cr:null}let Ou=(()=>{class e{constructor(i){this._injector=i,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(i,s){const w=function rE(e,t){let i;return i="noop"===e?new Mg:("zone.js"===e?void 0:e)||new lr({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),i}(s?s.ngZone:void 0,{ngZoneEventCoalescing:s&&s.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:s&&s.ngZoneRunCoalescing||!1}),O=[{provide:lr,useValue:w}];return w.run(()=>{const $=zi.create({providers:O,parent:this.injector,name:i.moduleType.name}),q=i.create($),be=q.injector.get(Zs,null);if(!be)throw new S(402,"");return w.runOutsideAngular(()=>{const Ve=w.onError.subscribe({next:tt=>{be.handleError(tt)}});q.onDestroy(()=>{Pu(this._modules,q),Ve.unsubscribe()})}),function oE(e,t,i){try{const s=i();return dc(s)?s.catch(l=>{throw t.runOutsideAngular(()=>e.handleError(l)),l}):s}catch(s){throw t.runOutsideAngular(()=>e.handleError(s)),s}}(be,w,()=>{const Ve=q.injector.get(yu);return Ve.runInitializers(),Ve.donePromise.then(()=>(Sp(q.injector.get(bu,_s)||_s),this._moduleDoBootstrap(q),q))})})}bootstrapModule(i,s=[]){const l=xg({},s);return Og(0,0,i).then(g=>this.bootstrapModuleFactory(g,l))}_moduleDoBootstrap(i){const s=i.injector.get(Iu);if(i._bootstrapComponents.length>0)i._bootstrapComponents.forEach(l=>s.bootstrap(l));else{if(!i.instance.ngDoBootstrap)throw new S(403,"");i.instance.ngDoBootstrap(s)}this._modules.push(i)}onDestroy(i){this._destroyListeners.push(i)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new S(404,"");this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(i){return new(i||e)(oi(zi))},e.\u0275prov=et({token:e,factory:e.\u0275fac}),e})();function xg(e,t){return Array.isArray(t)?t.reduce(xg,e):Object.assign(Object.assign({},e),t)}let Iu=(()=>{class e{constructor(i,s,l,g,C){this._zone=i,this._injector=s,this._exceptionHandler=l,this._componentFactoryResolver=g,this._initStatus=C,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const w=new y.y($=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{$.next(this._stable),$.complete()})}),O=new y.y($=>{let q;this._zone.runOutsideAngular(()=>{q=this._zone.onStable.subscribe(()=>{lr.assertNotInAngularZone(),Cu(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,$.next(!0))})})});const be=this._zone.onUnstable.subscribe(()=>{lr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{$.next(!1)}))});return()=>{q.unsubscribe(),be.unsubscribe()}});this.isStable=(0,d.T)(w,O.pipe((0,o.B)()))}bootstrap(i,s){if(!this._initStatus.done)throw new S(405,"");let l;l=i instanceof Ca?i:this._componentFactoryResolver.resolveComponentFactory(i),this.componentTypes.push(l.componentType);const g=Ig(l)?void 0:this._injector.get($o),w=l.create(zi.NULL,[],s||l.selector,g),O=w.location.nativeElement,$=w.injector.get(Sg,null),q=$&&w.injector.get(Du);return $&&q&&q.registerApplication(O,$),w.onDestroy(()=>{this.detachView(w.hostView),Pu(this.components,w),q&&q.unregisterApplication(O)}),this._loadComponent(w),w}tick(){if(this._runningTick)throw new S(101,"");try{this._runningTick=!0;for(let i of this._views)i.detectChanges()}catch(i){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(i))}finally{this._runningTick=!1}}attachView(i){const s=i;this._views.push(s),s.attachToAppRef(this)}detachView(i){const s=i;Pu(this._views,s),s.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i),this._injector.get(bg,[]).concat(this._bootstrapListeners).forEach(l=>l(i))}ngOnDestroy(){this._views.slice().forEach(i=>i.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(i){return new(i||e)(oi(lr),oi(zi),oi(Zs),oi(Ea),oi(yu))},e.\u0275prov=et({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Pu(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}let kg=!0,Ng=!1;function aE(){return Ng=!0,kg}function lE(){if(Ng)throw new Error("Cannot enable prod mode after platform setup.");kg=!1}function cE(e){const t=hm(e);if(!t)throw Lg(e);return new Ma(t)}function uE(e){const t=hm(e);if(!t)throw Lg(e);return t}function Lg(e){return new Error(`No module with ID ${e} loaded`)}let jg=(()=>{class e{}return e.__NG_ELEMENT_ID__=Bg,e})();function Bg(e){return function dE(e,t,i){if(vi(e)&&!i){const s=rn(e.index,t);return new Vo(s,s)}return 47&e.type?new Vo(t[16],t):null}(Bn(),bt(),16==(16&e))}class Vg extends jg{}class fE extends Vg{}class hE{constructor(t,i){this.name=t,this.callback=i}}function pE(e){return e.map(t=>t.nativeElement)}class Au{constructor(t){this.nativeNode=t}get parent(){const t=this.nativeNode.parentNode;return t?new Ps(t):null}get injector(){return uh(this.nativeNode)}get componentInstance(){const t=this.nativeNode;return t&&(Hl(t)||lh(t))}get context(){return Hl(this.nativeNode)||ah(this.nativeNode)}get listeners(){return fh(this.nativeNode).filter(t=>"dom"===t.type)}get references(){return function B_(e){const t=ui(e);return null===t?{}:(void 0===t.localRefs&&(t.localRefs=function iy(e,t){const i=e[1].data[t];if(i&&i.localNames){const s={};let l=i.index+1;for(let g=0;g<i.localNames.length;g+=2)s[i.localNames[g]]=e[l],l++;return s}return null}(t.lView,t.nodeIndex)),t.localRefs||{})}(this.nativeNode)}get providerTokens(){return function L_(e){const t=ui(e);if(null===t)return[];const s=t.lView[1],l=s.data[t.nodeIndex],g=[],w=l.directiveEnd;for(let O=1048575&l.providerIndexes;O<w;O++){let $=s.data[O];$_($)&&($=$.type),g.push($)}return g}(this.nativeNode)}}class Ps extends Au{constructor(t){super(t)}get nativeElement(){return this.nativeNode.nodeType==Node.ELEMENT_NODE?this.nativeNode:null}get name(){const t=ui(this.nativeNode);return null!==t?t.lView[1].data[t.nodeIndex].value:this.nativeNode.nodeName}get properties(){const t=ui(this.nativeNode);if(null===t)return{};const i=t.lView,s=i[1].data,l=s[t.nodeIndex],g={};return function mE(e,t){if(e){let i=Object.getPrototypeOf(e);const s=Node.prototype;for(;null!==i&&i!==s;){const l=Object.getOwnPropertyDescriptors(i);for(let g in l)if(!g.startsWith("__")&&!g.startsWith("on")){const C=e[g];gE(C)&&(t[g]=C)}i=Object.getPrototypeOf(i)}}}(this.nativeElement,g),function vE(e,t,i,s){let l=t.propertyBindings;if(null!==l)for(let g=0;g<l.length;g++){const C=l[g],O=s[C].split("\ufffd"),$=O[0];if(O.length>1){let q=O[1];for(let be=1;be<O.length-1;be++)q+=A(i[C+be-1])+O[be+1];e[$]=q}else e[$]=i[C]}}(g,l,i,s),g}get attributes(){const t={},i=this.nativeElement;if(!i)return t;const s=ui(i);if(null===s)return{};const g=s.lView[1].data[s.nodeIndex].attrs,C=[];if(g){let O=0;for(;O<g.length;){const $=g[O];if("string"!=typeof $)break;t[$]=g[O+1],C.push($.toLowerCase()),O+=2}}const w=i.attributes;for(let O=0;O<w.length;O++){const $=w[O],q=$.name.toLowerCase();-1===C.indexOf(q)&&(t[q]=$.value)}return t}get styles(){return this.nativeElement&&this.nativeElement.style?this.nativeElement.style:{}}get classes(){const t={},s=this.nativeElement.className;return("string"!=typeof s?s.baseVal.split(" "):s.split(" ")).forEach(g=>t[g]=!0),t}get childNodes(){const t=this.nativeNode.childNodes,i=[];for(let s=0;s<t.length;s++)i.push(zo(t[s]));return i}get children(){const t=this.nativeElement;if(!t)return[];const i=t.children,s=[];for(let l=0;l<i.length;l++)s.push(zo(i[l]));return s}query(t){return this.queryAll(t)[0]||null}queryAll(t){const i=[];return $g(this,t,i,!0),i}queryAllNodes(t){const i=[];return $g(this,t,i,!1),i}triggerEventHandler(t,i){const s=this.nativeNode,l=[];this.listeners.forEach(g=>{if(g.name===t){const C=g.callback;C.call(s,i),l.push(C)}}),"function"==typeof s.eventListeners&&s.eventListeners(t).forEach(g=>{if(-1!==g.toString().indexOf("__ngUnwrap__")){const C=g("__ngUnwrap__");return-1===l.indexOf(C)&&C.call(s,i)}})}}function gE(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function $g(e,t,i,s){const l=ui(e.nativeNode);null!==l?to(l.lView[1].data[l.nodeIndex],l.lView,t,i,s,e.nativeNode):xu(e.nativeNode,t,i,s)}function to(e,t,i,s,l,g){const C=function kt(e,t){const i=null===e?-1:e.index;return-1!==i?k(t[i]):null}(e,t);if(11&e.type){if(Ru(C,i,s,l,g),vi(e)){const O=rn(e.index,t);O&&O[1].firstChild&&to(O[1].firstChild,O,i,s,l,g)}else e.child&&to(e.child,t,i,s,l,g),C&&xu(C,i,s,l);const w=t[e.index];An(w)&&Hg(w,i,s,l,g)}else if(4&e.type){const w=t[e.index];Ru(w[7],i,s,l,g),Hg(w,i,s,l,g)}else if(16&e.type){const w=t[16],$=w[6].projection[e.projection];if(Array.isArray($))for(let q of $)Ru(q,i,s,l,g);else if($){const q=w[3];to(q[1].data[$.index],q,i,s,l,g)}}else e.child&&to(e.child,t,i,s,l,g);if(g!==C){const w=4&e.flags?e.projectionNext:e.next;w&&to(w,t,i,s,l,g)}}function Hg(e,t,i,s,l){for(let g=10;g<e.length;g++){const C=e[g],w=C[1].firstChild;w&&to(w,C,t,i,s,l)}}function Ru(e,t,i,s,l){if(l!==e){const g=zo(e);if(!g)return;(s&&g instanceof Ps&&t(g)&&-1===i.indexOf(g)||!s&&t(g)&&-1===i.indexOf(g))&&i.push(g)}}function xu(e,t,i,s){const l=e.childNodes,g=l.length;for(let C=0;C<g;C++){const w=l[C],O=zo(w);O&&((s&&O instanceof Ps&&t(O)&&-1===i.indexOf(O)||!s&&t(O)&&-1===i.indexOf(O))&&i.push(O),xu(w,t,i,s))}}const ku="__ng_debug__";function zo(e){return e instanceof Node?(e.hasOwnProperty(ku)||(e[ku]=e.nodeType==Node.ELEMENT_NODE?new Ps(e):new Au(e)),e[ku]):null}function yE(e){return null}class Ug{constructor(){}supports(t){return ps(t)}create(t){return new zg(t)}}const _E=(e,t)=>t;class zg{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||_E}forEachItem(t){let i;for(i=this._itHead;null!==i;i=i._next)t(i)}forEachOperation(t){let i=this._itHead,s=this._removalsHead,l=0,g=null;for(;i||s;){const C=!s||i&&i.currentIndex<Gg(s,l,g)?i:s,w=Gg(C,l,g),O=C.currentIndex;if(C===s)l--,s=s._nextRemoved;else if(i=i._next,null==C.previousIndex)l++;else{g||(g=[]);const $=w-l,q=O-l;if($!=q){for(let Ve=0;Ve<$;Ve++){const tt=Ve<g.length?g[Ve]:g[Ve]=0,pt=tt+Ve;q<=pt&&pt<$&&(g[Ve]=tt+1)}g[C.previousIndex]=q-$}}w!==O&&t(C,w,O)}}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=[]),!ps(t))throw new S(900,"");return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let l,g,C,i=this._itHead,s=!1;if(Array.isArray(t)){this.length=t.length;for(let w=0;w<this.length;w++)g=t[w],C=this._trackByFn(w,g),null!==i&&Object.is(i.trackById,C)?(s&&(i=this._verifyReinsertion(i,g,C,w)),Object.is(i.item,g)||this._addIdentityChange(i,g)):(i=this._mismatch(i,g,C,w),s=!0),i=i._next}else l=0,function q_(e,t){if(Array.isArray(e))for(let i=0;i<e.length;i++)t(e[i]);else{const i=e[wo()]();let s;for(;!(s=i.next()).done;)t(s.value)}}(t,w=>{C=this._trackByFn(l,w),null!==i&&Object.is(i.trackById,C)?(s&&(i=this._verifyReinsertion(i,w,C,l)),Object.is(i.item,w)||this._addIdentityChange(i,w)):(i=this._mismatch(i,w,C,l),s=!0),i=i._next,l++}),this.length=l;return this._truncate(i),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,i,s,l){let g;return null===t?g=this._itTail:(g=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(s,null))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._reinsertAfter(t,g,l)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(s,l))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._moveAfter(t,g,l)):t=this._addAfter(new bE(i,s),g,l),t}_verifyReinsertion(t,i,s,l){let g=null===this._unlinkedRecords?null:this._unlinkedRecords.get(s,null);return null!==g?t=this._reinsertAfter(g,t._prev,l):t.currentIndex!=l&&(t.currentIndex=l,this._addToMoves(t,l)),t}_truncate(t){for(;null!==t;){const i=t._next;this._addToRemovals(this._unlink(t)),t=i}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,i,s){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const l=t._prevRemoved,g=t._nextRemoved;return null===l?this._removalsHead=g:l._nextRemoved=g,null===g?this._removalsTail=l:g._prevRemoved=l,this._insertAfter(t,i,s),this._addToMoves(t,s),t}_moveAfter(t,i,s){return this._unlink(t),this._insertAfter(t,i,s),this._addToMoves(t,s),t}_addAfter(t,i,s){return this._insertAfter(t,i,s),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,i,s){const l=null===i?this._itHead:i._next;return t._next=l,t._prev=i,null===l?this._itTail=t:l._prev=t,null===i?this._itHead=t:i._next=t,null===this._linkedRecords&&(this._linkedRecords=new Wg),this._linkedRecords.put(t),t.currentIndex=s,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const i=t._prev,s=t._next;return null===i?this._itHead=s:i._next=s,null===s?this._itTail=i:s._prev=i,t}_addToMoves(t,i){return t.previousIndex===i||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Wg),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 bE{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 CE{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,i){let s;for(s=this._head;null!==s;s=s._nextDup)if((null===i||i<=s.currentIndex)&&Object.is(s.trackById,t))return s;return null}remove(t){const i=t._prevDup,s=t._nextDup;return null===i?this._head=s:i._nextDup=s,null===s?this._tail=i:s._prevDup=i,null===this._head}}class Wg{constructor(){this.map=new Map}put(t){const i=t.trackById;let s=this.map.get(i);s||(s=new CE,this.map.set(i,s)),s.add(t)}get(t,i){const l=this.map.get(t);return l?l.get(t,i):null}remove(t){const i=t.trackById;return this.map.get(i).remove(t)&&this.map.delete(i),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Gg(e,t,i){const s=e.previousIndex;if(null===s)return s;let l=0;return i&&s<i.length&&(l=i[s]),s+t+l}class Kg{constructor(){}supports(t){return t instanceof Map||Kl(t)}create(){return new EE}}class EE{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||Kl(t)))throw new S(900,"")}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i=this._mapHead;if(this._appendAfter=null,this._forEach(t,(s,l)=>{if(i&&i.key===l)this._maybeAddToChanges(i,s),this._appendAfter=i,i=i._next;else{const g=this._getOrCreateRecordForKey(l,s);i=this._insertBeforeOrAppend(i,g)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let s=i;null!==s;s=s._nextRemoved)s===this._mapHead&&(this._mapHead=null),this._records.delete(s.key),s._nextRemoved=s._next,s.previousValue=s.currentValue,s.currentValue=null,s._prev=null,s._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,i){if(t){const s=t._prev;return i._next=t,i._prev=s,t._prev=i,s&&(s._next=i),t===this._mapHead&&(this._mapHead=i),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=i,i._prev=this._appendAfter):this._mapHead=i,this._appendAfter=i,null}_getOrCreateRecordForKey(t,i){if(this._records.has(t)){const l=this._records.get(t);this._maybeAddToChanges(l,i);const g=l._prev,C=l._next;return g&&(g._next=C),C&&(C._prev=g),l._next=null,l._prev=null,l}const s=new TE(t);return this._records.set(t,s),s.currentValue=i,this._addToAdditions(s),s}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,i){Object.is(i,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=i,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,i){t instanceof Map?t.forEach(i):Object.keys(t).forEach(s=>i(t[s],s))}}class TE{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 Qg(){return new Nu([new Ug])}let Nu=(()=>{class e{constructor(i){this.factories=i}static create(i,s){if(null!=s){const l=s.factories.slice();i=i.concat(l)}return new e(i)}static extend(i){return{provide:e,useFactory:s=>e.create(i,s||Qg()),deps:[[e,new po,new is]]}}find(i){const s=this.factories.find(l=>l.supports(i));if(null!=s)return s;throw new S(901,"")}}return e.\u0275prov=et({token:e,providedIn:"root",factory:Qg}),e})();function Yg(){return new Lu([new Kg])}let Lu=(()=>{class e{constructor(i){this.factories=i}static create(i,s){if(s){const l=s.factories.slice();i=i.concat(l)}return new e(i)}static extend(i){return{provide:e,useFactory:s=>e.create(i,s||Yg()),deps:[[e,new po,new is]]}}find(i){const s=this.factories.find(g=>g.supports(i));if(s)return s;throw new S(901,"")}}return e.\u0275prov=et({token:e,providedIn:"root",factory:Yg}),e})();const DE=[new Kg],ME=new Nu([new Ug]),SE=new Lu(DE),OE=Ag(null,"core",[{provide:_g,useValue:"unknown"},{provide:Ou,deps:[zi]},{provide:Du,deps:[]},{provide:Cg,deps:[]}]);let IE=(()=>{class e{constructor(i){}}return e.\u0275fac=function(i){return new(i||e)(oi(Iu))},e.\u0275mod=Lt({type:e}),e.\u0275inj=We({}),e})();const PE=!0;function AE(e){return Jn().compileDirectiveDeclaration(gi,`ng:///${e.type.name}/\u0275fac.js`,e)}function RE(e){var t,i;cm(e.type,e.decorators,null!==(t=e.ctorParameters)&&void 0!==t?t:null,null!==(i=e.propDecorators)&&void 0!==i?i:null)}function xE(e){return Jn().compileComponentDeclaration(gi,`ng:///${e.type.name}/\u0275cmp.js`,e)}function FE(e){return Jn(function kE(e){switch(e){case Zn.Directive:return"directive";case Zn.Component:return"component";case Zn.Injectable:return"injectable";case Zn.Pipe:return"pipe";case Zn.NgModule:return"NgModule"}}(e.target)).compileFactoryDeclaration(gi,`ng:///${e.type.name}/\u0275fac.js`,e)}function NE(e){return Jn().compileInjectableDeclaration(gi,`ng:///${e.type.name}/\u0275prov.js`,e)}function LE(e){return Jn().compileInjectorDeclaration(gi,`ng:///${e.type.name}/\u0275inj.js`,e)}function jE(e){return Jn().compileNgModuleDeclaration(gi,`ng:///${e.type.name}/\u0275mod.js`,e)}function BE(e){return Jn().compilePipeDeclaration(gi,`ng:///${e.type.name}/\u0275pipe.js`,e)}},3075:(G,r,a)=>{"use strict";a.r(r),a.d(r,{AbstractControl:()=>at,AbstractControlDirective:()=>B,AbstractFormGroupDirective:()=>qt,COMPOSITION_BUFFER_MODE:()=>b,CheckboxControlValueAccessor:()=>u,CheckboxRequiredValidator:()=>Wn,ControlContainer:()=>Me,DefaultValueAccessor:()=>T,EmailValidator:()=>Qn,FormArray:()=>St,FormArrayName:()=>Ri,FormBuilder:()=>ln,FormControl:()=>Mt,FormControlDirective:()=>Qi,FormControlName:()=>xi,FormGroup:()=>Ut,FormGroupDirective:()=>Yi,FormGroupName:()=>yi,FormsModule:()=>yn,MaxLengthValidator:()=>re,MaxValidator:()=>Ln,MinLengthValidator:()=>Tn,MinValidator:()=>qi,NG_ASYNC_VALIDATORS:()=>H,NG_VALIDATORS:()=>A,NG_VALUE_ACCESSOR:()=>p,NgControl:()=>te,NgControlStatus:()=>V,NgControlStatusGroup:()=>ge,NgForm:()=>fn,NgModel:()=>An,NgModelGroup:()=>ei,NgSelectOption:()=>fr,NumberValueAccessor:()=>ai,PatternValidator:()=>fe,RadioControlValueAccessor:()=>kn,RangeValueAccessor:()=>Ei,ReactiveFormsModule:()=>dn,RequiredValidator:()=>$n,SelectControlValueAccessor:()=>Fi,SelectMultipleControlValueAccessor:()=>wi,VERSION:()=>In,Validators:()=>Q,\u0275InternalFormsSharedModule:()=>kt,\u0275NgNoValidate:()=>hi,\u0275NgSelectMultipleOption:()=>hr});var n=a(5e3),h=a(9808),y=a(2076),d=a(4128),o=a(4004);let c=(()=>{class j{constructor(I,ie){this._renderer=I,this._elementRef=ie,this.onChange=Qe=>{},this.onTouched=()=>{}}setProperty(I,ie){this._renderer.setProperty(this._elementRef.nativeElement,I,ie)}registerOnTouched(I){this.onTouched=I}registerOnChange(I){this.onChange=I}setDisabledState(I){this.setProperty("disabled",I)}}return j.\u0275fac=function(I){return new(I||j)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef))},j.\u0275dir=n.\u0275\u0275defineDirective({type:j}),j})(),f=(()=>{class j extends c{}return j.\u0275fac=function(){let F;return function(ie){return(F||(F=n.\u0275\u0275getInheritedFactory(j)))(ie||j)}}(),j.\u0275dir=n.\u0275\u0275defineDirective({type:j,features:[n.\u0275\u0275InheritDefinitionFeature]}),j})();const p=new n.InjectionToken("NgValueAccessor"),m={provide:p,useExisting:(0,n.forwardRef)(()=>u),multi:!0};let u=(()=>{class j extends f{writeValue(I){this.setProperty("checked",I)}}return j.\u0275fac=function(){let F;return function(ie){return(F||(F=n.\u0275\u0275getInheritedFactory(j)))(ie||j)}}(),j.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(I,ie){1&I&&n.\u0275\u0275listener("change",function(Nt){return ie.onChange(Nt.target.checked)})("blur",function(){return ie.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([m]),n.\u0275\u0275InheritDefinitionFeature]}),j})();const _={provide:p,useExisting:(0,n.forwardRef)(()=>T),multi:!0},b=new n.InjectionToken("CompositionEventMode");let T=(()=>{class j extends c{constructor(I,ie,Qe){super(I,ie),this._compositionMode=Qe,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function v(){const j=(0,h.\u0275getDOM)()?(0,h.\u0275getDOM)().getUserAgent():"";return/android (\d+)/.test(j.toLowerCase())}())}writeValue(I){this.setProperty("value",null==I?"":I)}_handleInput(I){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(I)}_compositionStart(){this._composing=!0}_compositionEnd(I){this._composing=!1,this._compositionMode&&this.onChange(I)}}return j.\u0275fac=function(I){return new(I||j)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(b,8))},j.\u0275dir=n.\u0275\u0275defineDirective({type:j,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(I,ie){1&I&&n.\u0275\u0275listener("input",function(Nt){return ie._handleInput(Nt.target.value)})("blur",function(){return ie.onTouched()})("compositionstart",function(){return ie._compositionStart()})("compositionend",function(Nt){return ie._compositionEnd(Nt.target.value)})},features:[n.\u0275\u0275ProvidersFeature([_]),n.\u0275\u0275InheritDefinitionFeature]}),j})();function S(j){return null==j||0===j.length}function x(j){return null!=j&&"number"==typeof j.length}const A=new n.InjectionToken("NgValidators"),H=new n.InjectionToken("NgAsyncValidators"),Z=/^(?=.{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 Q{static min(F){return J(F)}static max(F){return z(F)}static required(F){return se(F)}static requiredTrue(F){return ae(F)}static email(F){return me(F)}static minLength(F){return Te(F)}static maxLength(F){return _e(F)}static pattern(F){return Y(F)}static nullValidator(F){return null}static compose(F){return Ge(F)}static composeAsync(F){return qe(F)}}function J(j){return F=>{if(S(F.value)||S(j))return null;const I=parseFloat(F.value);return!isNaN(I)&&I<j?{min:{min:j,actual:F.value}}:null}}function z(j){return F=>{if(S(F.value)||S(j))return null;const I=parseFloat(F.value);return!isNaN(I)&&I>j?{max:{max:j,actual:F.value}}:null}}function se(j){return S(j.value)?{required:!0}:null}function ae(j){return!0===j.value?null:{required:!0}}function me(j){return S(j.value)||Z.test(j.value)?null:{email:!0}}function Te(j){return F=>S(F.value)||!x(F.value)?null:F.value.length<j?{minlength:{requiredLength:j,actualLength:F.value.length}}:null}function _e(j){return F=>x(F.value)&&F.value.length>j?{maxlength:{requiredLength:j,actualLength:F.value.length}}:null}function Y(j){if(!j)return de;let F,I;return"string"==typeof j?(I="","^"!==j.charAt(0)&&(I+="^"),I+=j,"$"!==j.charAt(j.length-1)&&(I+="$"),F=new RegExp(I)):(I=j.toString(),F=j),ie=>{if(S(ie.value))return null;const Qe=ie.value;return F.test(Qe)?null:{pattern:{requiredPattern:I,actualValue:Qe}}}}function de(j){return null}function W(j){return null!=j}function he(j){const F=(0,n.\u0275isPromise)(j)?(0,y.D)(j):j;return(0,n.\u0275isObservable)(F),F}function ce(j){let F={};return j.forEach(I=>{F=null!=I?Object.assign(Object.assign({},F),I):F}),0===Object.keys(F).length?null:F}function Se(j,F){return F.map(I=>I(j))}function gt(j){return j.map(F=>function rt(j){return!j.validate}(F)?F:I=>F.validate(I))}function Ge(j){if(!j)return null;const F=j.filter(W);return 0==F.length?null:function(I){return ce(Se(I,F))}}function ht(j){return null!=j?Ge(gt(j)):null}function qe(j){if(!j)return null;const F=j.filter(W);return 0==F.length?null:function(I){const ie=Se(I,F).map(he);return(0,d.D)(ie).pipe((0,o.U)(ce))}}function lt(j){return null!=j?qe(gt(j)):null}function Be(j,F){return null===j?[F]:Array.isArray(j)?[...j,F]:[j,F]}function et(j){return j._rawValidators}function Ne(j){return j._rawAsyncValidators}function We(j){return j?Array.isArray(j)?j:[j]:[]}function ft(j,F){return Array.isArray(j)?j.includes(F):j===F}function ve(j,F){const I=We(F);return We(j).forEach(Qe=>{ft(I,Qe)||I.push(Qe)}),I}function we(j,F){return We(F).filter(I=>!ft(j,I))}class B{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(F){this._rawValidators=F||[],this._composedValidatorFn=ht(this._rawValidators)}_setAsyncValidators(F){this._rawAsyncValidators=F||[],this._composedAsyncValidatorFn=lt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(F){this._onDestroyCallbacks.push(F)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(F=>F()),this._onDestroyCallbacks=[]}reset(F){this.control&&this.control.reset(F)}hasError(F,I){return!!this.control&&this.control.hasError(F,I)}getError(F,I){return this.control?this.control.getError(F,I):null}}class te extends B{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Me extends B{get formDirective(){return null}get path(){return null}}class Ue{constructor(F){this._cd=F}is(F){var I,ie,Qe;return"submitted"===F?!!(null===(I=this._cd)||void 0===I?void 0:I.submitted):!!(null===(Qe=null===(ie=this._cd)||void 0===ie?void 0:ie.control)||void 0===Qe?void 0:Qe[F])}}let V=(()=>{class j extends Ue{constructor(I){super(I)}}return j.\u0275fac=function(I){return new(I||j)(n.\u0275\u0275directiveInject(te,2))},j.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(I,ie){2&I&&n.\u0275\u0275classProp("ng-untouched",ie.is("untouched"))("ng-touched",ie.is("touched"))("ng-pristine",ie.is("pristine"))("ng-dirty",ie.is("dirty"))("ng-valid",ie.is("valid"))("ng-invalid",ie.is("invalid"))("ng-pending",ie.is("pending"))},features:[n.\u0275\u0275InheritDefinitionFeature]}),j})(),ge=(()=>{class j extends Ue{constructor(I){super(I)}}return j.\u0275fac=function(I){return new(I||j)(n.\u0275\u0275directiveInject(Me,10))},j.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(I,ie){2&I&&n.\u0275\u0275classProp("ng-untouched",ie.is("untouched"))("ng-touched",ie.is("touched"))("ng-pristine",ie.is("pristine"))("ng-dirty",ie.is("dirty"))("ng-valid",ie.is("valid"))("ng-invalid",ie.is("invalid"))("ng-pending",ie.is("pending"))("ng-submitted",ie.is("submitted"))},features:[n.\u0275\u0275InheritDefinitionFeature]}),j})();function Ct(j,F){return[...F.path,j]}function _t(j,F){ue(j,F),F.valueAccessor.writeValue(j.value),function L(j,F){F.valueAccessor.registerOnChange(I=>{j._pendingValue=I,j._pendingChange=!0,j._pendingDirty=!0,"change"===j.updateOn&&le(j,F)})}(j,F),function M(j,F){const I=(ie,Qe)=>{F.valueAccessor.writeValue(ie),Qe&&F.viewToModelUpdate(ie)};j.registerOnChange(I),F._registerOnDestroy(()=>{j._unregisterOnChange(I)})}(j,F),function P(j,F){F.valueAccessor.registerOnTouched(()=>{j._pendingTouched=!0,"blur"===j.updateOn&&j._pendingChange&&le(j,F),"submit"!==j.updateOn&&j.markAsTouched()})}(j,F),function $t(j,F){if(F.valueAccessor.setDisabledState){const I=ie=>{F.valueAccessor.setDisabledState(ie)};j.registerOnDisabledChange(I),F._registerOnDestroy(()=>{j._unregisterOnDisabledChange(I)})}}(j,F)}function Ht(j,F,I=!0){const ie=()=>{};F.valueAccessor&&(F.valueAccessor.registerOnChange(ie),F.valueAccessor.registerOnTouched(ie)),X(j,F),j&&(F._invokeOnDestroyCallbacks(),j._registerOnCollectionChange(()=>{}))}function wt(j,F){j.forEach(I=>{I.registerOnValidatorChange&&I.registerOnValidatorChange(F)})}function ue(j,F){const I=et(j);null!==F.validator?j.setValidators(Be(I,F.validator)):"function"==typeof I&&j.setValidators([I]);const ie=Ne(j);null!==F.asyncValidator?j.setAsyncValidators(Be(ie,F.asyncValidator)):"function"==typeof ie&&j.setAsyncValidators([ie]);const Qe=()=>j.updateValueAndValidity();wt(F._rawValidators,Qe),wt(F._rawAsyncValidators,Qe)}function X(j,F){let I=!1;if(null!==j){if(null!==F.validator){const Qe=et(j);if(Array.isArray(Qe)&&Qe.length>0){const Nt=Qe.filter(Mn=>Mn!==F.validator);Nt.length!==Qe.length&&(I=!0,j.setValidators(Nt))}}if(null!==F.asyncValidator){const Qe=Ne(j);if(Array.isArray(Qe)&&Qe.length>0){const Nt=Qe.filter(Mn=>Mn!==F.asyncValidator);Nt.length!==Qe.length&&(I=!0,j.setAsyncValidators(Nt))}}}const ie=()=>{};return wt(F._rawValidators,ie),wt(F._rawAsyncValidators,ie),I}function le(j,F){j._pendingDirty&&j.markAsDirty(),j.setValue(j._pendingValue,{emitModelToViewChange:!1}),F.viewToModelUpdate(j._pendingValue),j._pendingChange=!1}function U(j,F){ue(j,F)}function jt(j,F){if(!j.hasOwnProperty("model"))return!1;const I=j.model;return!!I.isFirstChange()||!Object.is(F,I.currentValue)}function je(j,F){j._syncPendingControls(),F.forEach(I=>{const ie=I.control;"submit"===ie.updateOn&&ie._pendingChange&&(I.viewToModelUpdate(ie._pendingValue),ie._pendingChange=!1)})}function pe(j,F){if(!F)return null;let I,ie,Qe;return Array.isArray(F),F.forEach(Nt=>{Nt.constructor===T?I=Nt:function Pe(j){return Object.getPrototypeOf(j.constructor)===f}(Nt)?ie=Nt:Qe=Nt}),Qe||ie||I||null}function Fe(j,F){const I=j.indexOf(F);I>-1&&j.splice(I,1)}const Ft="VALID",Xt="INVALID",pn="PENDING",Pn="DISABLED";function Fn(j){return(It(j)?j.validators:j)||null}function En(j){return Array.isArray(j)?ht(j):j||null}function Kn(j,F){return(It(F)?F.asyncValidators:j)||null}function On(j){return Array.isArray(j)?lt(j):j||null}function It(j){return null!=j&&!Array.isArray(j)&&"object"==typeof j}const Qt=j=>j instanceof Mt,oe=j=>j instanceof Ut,Ae=j=>j instanceof St;function ne(j){return Qt(j)?j.value:j.getRawValue()}function De(j,F){const I=oe(j),ie=j.controls;if(!(I?Object.keys(ie):ie).length)throw new n.\u0275RuntimeError(1e3,"");if(!ie[F])throw new n.\u0275RuntimeError(1001,"")}function Ze(j,F){oe(j),j._forEachChild((ie,Qe)=>{if(void 0===F[Qe])throw new n.\u0275RuntimeError(1002,"")})}class at{constructor(F,I){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=F,this._rawAsyncValidators=I,this._composedValidatorFn=En(this._rawValidators),this._composedAsyncValidatorFn=On(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(F){this._rawValidators=this._composedValidatorFn=F}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(F){this._rawAsyncValidators=this._composedAsyncValidatorFn=F}get parent(){return this._parent}get valid(){return this.status===Ft}get invalid(){return this.status===Xt}get pending(){return this.status==pn}get disabled(){return this.status===Pn}get enabled(){return this.status!==Pn}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(F){this._rawValidators=F,this._composedValidatorFn=En(F)}setAsyncValidators(F){this._rawAsyncValidators=F,this._composedAsyncValidatorFn=On(F)}addValidators(F){this.setValidators(ve(F,this._rawValidators))}addAsyncValidators(F){this.setAsyncValidators(ve(F,this._rawAsyncValidators))}removeValidators(F){this.setValidators(we(F,this._rawValidators))}removeAsyncValidators(F){this.setAsyncValidators(we(F,this._rawAsyncValidators))}hasValidator(F){return ft(this._rawValidators,F)}hasAsyncValidator(F){return ft(this._rawAsyncValidators,F)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(F={}){this.touched=!0,this._parent&&!F.onlySelf&&this._parent.markAsTouched(F)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(F=>F.markAllAsTouched())}markAsUntouched(F={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(I=>{I.markAsUntouched({onlySelf:!0})}),this._parent&&!F.onlySelf&&this._parent._updateTouched(F)}markAsDirty(F={}){this.pristine=!1,this._parent&&!F.onlySelf&&this._parent.markAsDirty(F)}markAsPristine(F={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(I=>{I.markAsPristine({onlySelf:!0})}),this._parent&&!F.onlySelf&&this._parent._updatePristine(F)}markAsPending(F={}){this.status=pn,!1!==F.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!F.onlySelf&&this._parent.markAsPending(F)}disable(F={}){const I=this._parentMarkedDirty(F.onlySelf);this.status=Pn,this.errors=null,this._forEachChild(ie=>{ie.disable(Object.assign(Object.assign({},F),{onlySelf:!0}))}),this._updateValue(),!1!==F.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},F),{skipPristineCheck:I})),this._onDisabledChange.forEach(ie=>ie(!0))}enable(F={}){const I=this._parentMarkedDirty(F.onlySelf);this.status=Ft,this._forEachChild(ie=>{ie.enable(Object.assign(Object.assign({},F),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:F.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},F),{skipPristineCheck:I})),this._onDisabledChange.forEach(ie=>ie(!1))}_updateAncestors(F){this._parent&&!F.onlySelf&&(this._parent.updateValueAndValidity(F),F.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(F){this._parent=F}updateValueAndValidity(F={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ft||this.status===pn)&&this._runAsyncValidator(F.emitEvent)),!1!==F.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!F.onlySelf&&this._parent.updateValueAndValidity(F)}_updateTreeValidity(F={emitEvent:!0}){this._forEachChild(I=>I._updateTreeValidity(F)),this.updateValueAndValidity({onlySelf:!0,emitEvent:F.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Pn:Ft}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(F){if(this.asyncValidator){this.status=pn,this._hasOwnPendingAsyncValidator=!0;const I=he(this.asyncValidator(this));this._asyncValidationSubscription=I.subscribe(ie=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(ie,{emitEvent:F})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(F,I={}){this.errors=F,this._updateControlsErrors(!1!==I.emitEvent)}get(F){return function Cn(j,F,I){if(null==F||(Array.isArray(F)||(F=F.split(I)),Array.isArray(F)&&0===F.length))return null;let ie=j;return F.forEach(Qe=>{ie=oe(ie)?ie.controls.hasOwnProperty(Qe)?ie.controls[Qe]:null:Ae(ie)&&ie.at(Qe)||null}),ie}(this,F,".")}getError(F,I){const ie=I?this.get(I):this;return ie&&ie.errors?ie.errors[F]:null}hasError(F,I){return!!this.getError(F,I)}get root(){let F=this;for(;F._parent;)F=F._parent;return F}_updateControlsErrors(F){this.status=this._calculateStatus(),F&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(F)}_initObservables(){this.valueChanges=new n.EventEmitter,this.statusChanges=new n.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?Pn:this.errors?Xt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(pn)?pn:this._anyControlsHaveStatus(Xt)?Xt:Ft}_anyControlsHaveStatus(F){return this._anyControls(I=>I.status===F)}_anyControlsDirty(){return this._anyControls(F=>F.dirty)}_anyControlsTouched(){return this._anyControls(F=>F.touched)}_updatePristine(F={}){this.pristine=!this._anyControlsDirty(),this._parent&&!F.onlySelf&&this._parent._updatePristine(F)}_updateTouched(F={}){this.touched=this._anyControlsTouched(),this._parent&&!F.onlySelf&&this._parent._updateTouched(F)}_isBoxedValue(F){return"object"==typeof F&&null!==F&&2===Object.keys(F).length&&"value"in F&&"disabled"in F}_registerOnCollectionChange(F){this._onCollectionChange=F}_setUpdateStrategy(F){It(F)&&null!=F.updateOn&&(this._updateOn=F.updateOn)}_parentMarkedDirty(F){return!F&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Mt extends at{constructor(F=null,I,ie){super(Fn(I),Kn(ie,I)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(F),this._setUpdateStrategy(I),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),It(I)&&I.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(F)?F.value:F)}setValue(F,I={}){this.value=this._pendingValue=F,this._onChange.length&&!1!==I.emitModelToViewChange&&this._onChange.forEach(ie=>ie(this.value,!1!==I.emitViewToModelChange)),this.updateValueAndValidity(I)}patchValue(F,I={}){this.setValue(F,I)}reset(F=this.defaultValue,I={}){this._applyFormState(F),this.markAsPristine(I),this.markAsUntouched(I),this.setValue(this.value,I),this._pendingChange=!1}_updateValue(){}_anyControls(F){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(F){this._onChange.push(F)}_unregisterOnChange(F){Fe(this._onChange,F)}registerOnDisabledChange(F){this._onDisabledChange.push(F)}_unregisterOnDisabledChange(F){Fe(this._onDisabledChange,F)}_forEachChild(F){}_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(F){this._isBoxedValue(F)?(this.value=this._pendingValue=F.value,F.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=F}}class Ut extends at{constructor(F,I,ie){super(Fn(I),Kn(ie,I)),this.controls=F,this._initObservables(),this._setUpdateStrategy(I),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(F,I){return this.controls[F]?this.controls[F]:(this.controls[F]=I,I.setParent(this),I._registerOnCollectionChange(this._onCollectionChange),I)}addControl(F,I,ie={}){this.registerControl(F,I),this.updateValueAndValidity({emitEvent:ie.emitEvent}),this._onCollectionChange()}removeControl(F,I={}){this.controls[F]&&this.controls[F]._registerOnCollectionChange(()=>{}),delete this.controls[F],this.updateValueAndValidity({emitEvent:I.emitEvent}),this._onCollectionChange()}setControl(F,I,ie={}){this.controls[F]&&this.controls[F]._registerOnCollectionChange(()=>{}),delete this.controls[F],I&&this.registerControl(F,I),this.updateValueAndValidity({emitEvent:ie.emitEvent}),this._onCollectionChange()}contains(F){return this.controls.hasOwnProperty(F)&&this.controls[F].enabled}setValue(F,I={}){Ze(this,F),Object.keys(F).forEach(ie=>{De(this,ie),this.controls[ie].setValue(F[ie],{onlySelf:!0,emitEvent:I.emitEvent})}),this.updateValueAndValidity(I)}patchValue(F,I={}){null!=F&&(Object.keys(F).forEach(ie=>{this.controls[ie]&&this.controls[ie].patchValue(F[ie],{onlySelf:!0,emitEvent:I.emitEvent})}),this.updateValueAndValidity(I))}reset(F={},I={}){this._forEachChild((ie,Qe)=>{ie.reset(F[Qe],{onlySelf:!0,emitEvent:I.emitEvent})}),this._updatePristine(I),this._updateTouched(I),this.updateValueAndValidity(I)}getRawValue(){return this._reduceChildren({},(F,I,ie)=>(F[ie]=ne(I),F))}_syncPendingControls(){let F=this._reduceChildren(!1,(I,ie)=>!!ie._syncPendingControls()||I);return F&&this.updateValueAndValidity({onlySelf:!0}),F}_forEachChild(F){Object.keys(this.controls).forEach(I=>{const ie=this.controls[I];ie&&F(ie,I)})}_setUpControls(){this._forEachChild(F=>{F.setParent(this),F._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(F){for(const I of Object.keys(this.controls)){const ie=this.controls[I];if(this.contains(I)&&F(ie))return!0}return!1}_reduceValue(){return this._reduceChildren({},(F,I,ie)=>((I.enabled||this.disabled)&&(F[ie]=I.value),F))}_reduceChildren(F,I){let ie=F;return this._forEachChild((Qe,Nt)=>{ie=I(ie,Qe,Nt)}),ie}_allControlsDisabled(){for(const F of Object.keys(this.controls))if(this.controls[F].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class St extends at{constructor(F,I,ie){super(Fn(I),Kn(ie,I)),this.controls=F,this._initObservables(),this._setUpdateStrategy(I),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(F){return this.controls[F]}push(F,I={}){this.controls.push(F),this._registerControl(F),this.updateValueAndValidity({emitEvent:I.emitEvent}),this._onCollectionChange()}insert(F,I,ie={}){this.controls.splice(F,0,I),this._registerControl(I),this.updateValueAndValidity({emitEvent:ie.emitEvent})}removeAt(F,I={}){this.controls[F]&&this.controls[F]._registerOnCollectionChange(()=>{}),this.controls.splice(F,1),this.updateValueAndValidity({emitEvent:I.emitEvent})}setControl(F,I,ie={}){this.controls[F]&&this.controls[F]._registerOnCollectionChange(()=>{}),this.controls.splice(F,1),I&&(this.controls.splice(F,0,I),this._registerControl(I)),this.updateValueAndValidity({emitEvent:ie.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(F,I={}){Ze(this,F),F.forEach((ie,Qe)=>{De(this,Qe),this.at(Qe).setValue(ie,{onlySelf:!0,emitEvent:I.emitEvent})}),this.updateValueAndValidity(I)}patchValue(F,I={}){null!=F&&(F.forEach((ie,Qe)=>{this.at(Qe)&&this.at(Qe).patchValue(ie,{onlySelf:!0,emitEvent:I.emitEvent})}),this.updateValueAndValidity(I))}reset(F=[],I={}){this._forEachChild((ie,Qe)=>{ie.reset(F[Qe],{onlySelf:!0,emitEvent:I.emitEvent})}),this._updatePristine(I),this._updateTouched(I),this.updateValueAndValidity(I)}getRawValue(){return this.controls.map(F=>ne(F))}clear(F={}){this.controls.length<1||(this._forEachChild(I=>I._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:F.emitEvent}))}_syncPendingControls(){let F=this.controls.reduce((I,ie)=>!!ie._syncPendingControls()||I,!1);return F&&this.updateValueAndValidity({onlySelf:!0}),F}_forEachChild(F){this.controls.forEach((I,ie)=>{F(I,ie)})}_updateValue(){this.value=this.controls.filter(F=>F.enabled||this.disabled).map(F=>F.value)}_anyControls(F){return this.controls.some(I=>I.enabled&&F(I))}_setUpControls(){this._forEachChild(F=>this._registerControl(F))}_allControlsDisabled(){for(const F of this.controls)if(F.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(F){F.setParent(this),F._registerOnCollectionChange(this._onCollectionChange)}}const _n={provide:Me,useExisting:(0,n.forwardRef)(()=>fn)},sn=(()=>Promise.resolve(null))();let fn=(()=>{class j extends Me{constructor(I,ie){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new n.EventEmitter,this.form=new Ut({},ht(I),lt(ie))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(I){sn.then(()=>{const ie=this._findContainer(I.path);I.control=ie.registerControl(I.name,I.control),_t(I.control,I),I.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(I)})}getControl(I){return this.form.get(I.path)}removeControl(I){sn.then(()=>{const ie=this._findContainer(I.path);ie&&ie.removeControl(I.name),this._directives.delete(I)})}addFormGroup(I){sn.then(()=>{const ie=this._findContainer(I.path),Qe=new Ut({});U(Qe,I),ie.registerControl(I.name,Qe),Qe.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(I){sn.then(()=>{const ie=this._findContainer(I.path);ie&&ie.removeControl(I.name)})}getFormGroup(I){return this.form.get(I.path)}updateModel(I,ie){sn.then(()=>{this.form.get(I.path).setValue(ie)})}setValue(I){this.control.setValue(I)}onSubmit(I){return this.submitted=!0,je(this.form,this._directives),this.ngSubmit.emit(I),!1}onReset(){this.resetForm()}resetForm(I){this.form.reset(I),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(I){return I.pop(),I.length?this.form.get(I):this.form}}return j.\u0275fac=function(I){return new(I||j)(n.\u0275\u0275directiveInject(A,10),n.\u0275\u0275directiveInject(H,10))},j.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(I,ie){1&I&&n.\u0275\u0275listener("submit",function(Nt){return ie.onSubmit(Nt)})("reset",function(){return ie.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([_n]),n.\u0275\u0275InheritDefinitionFeature]}),j})(),qt=(()=>{class j extends Me{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Ct(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}return j.\u0275fac=function(){let F;return function(ie){return(F||(F=n.\u0275\u0275getInheritedFactory(j)))(ie||j)}}(),j.\u0275dir=n.\u0275\u0275defineDirective({type:j,features:[n.\u0275\u0275InheritDefinitionFeature]}),j})();const tn={provide:Me,useExisting:(0,n.forwardRef)(()=>ei)};let ei=(()=>{class j extends qt{constructor(I,ie,Qe){super(),this._parent=I,this._setValidators(ie),this._setAsyncValidators(Qe)}_checkParentType(){}}return j.\u0275fac=function(I){return new(I||j)(n.\u0275\u0275directiveInject(Me,5),n.\u0275\u0275directiveInject(A,10),n.\u0275\u0275directiveInject(H,10))},j.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[n.\u0275\u0275ProvidersFeature([tn]),n.\u0275\u0275InheritDefinitionFeature]}),j})();const Ci={provide:te,useExisting:(0,n.forwardRef)(()=>An)},wn=(()=>Promise.resolve(null))();let An=(()=>{class j extends te{constructor(I,ie,Qe,Nt,Mn){super(),this._changeDetectorRef=Mn,this.control=new Mt,this._registered=!1,this.update=new n.EventEmitter,this._parent=I,this._setValidators(ie),this._setAsyncValidators(Qe),this.valueAccessor=pe(0,Nt)}ngOnChanges(I){if(this._checkForErrors(),!this._registered||"name"in I){if(this._registered&&(this._checkName(),this.formDirective)){const ie=I.name.previousValue;this.formDirective.removeControl({name:ie,path:this._getPath(ie)})}this._setUpControl()}"isDisabled"in I&&this._updateDisabled(I),jt(I,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(I){this.viewModel=I,this.update.emit(I)}_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(){_t(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(I){wn.then(()=>{var ie;this.control.setValue(I,{emitViewToModelChange:!1}),null===(ie=this._changeDetectorRef)||void 0===ie||ie.markForCheck()})}_updateDisabled(I){const ie=I.isDisabled.currentValue,Qe=""===ie||ie&&"false"!==ie;wn.then(()=>{var Nt;Qe&&!this.control.disabled?this.control.disable():!Qe&&this.control.disabled&&this.control.enable(),null===(Nt=this._changeDetectorRef)||void 0===Nt||Nt.markForCheck()})}_getPath(I){return this._parent?Ct(I,this._parent):[I]}}return j.\u0275fac=function(I){return new(I||j)(n.\u0275\u0275directiveInject(Me,9),n.\u0275\u0275directiveInject(A,10),n.\u0275\u0275directiveInject(H,10),n.\u0275\u0275directiveInject(p,10),n.\u0275\u0275directiveInject(n.ChangeDetectorRef,8))},j.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[n.\u0275\u0275ProvidersFeature([Ci]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),j})(),hi=(()=>{class j{}return j.\u0275fac=function(I){return new(I||j)},j.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),j})();const vi={provide:p,useExisting:(0,n.forwardRef)(()=>ai),multi:!0};let ai=(()=>{class j extends f{writeValue(I){this.setProperty("value",null==I?"":I)}registerOnChange(I){this.onChange=ie=>{I(""==ie?null:parseFloat(ie))}}}return j.\u0275fac=function(){let F;return function(ie){return(F||(F=n.\u0275\u0275getInheritedFactory(j)))(ie||j)}}(),j.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(I,ie){1&I&&n.\u0275\u0275listener("input",function(Nt){return ie.onChange(Nt.target.value)})("blur",function(){return ie.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([vi]),n.\u0275\u0275InheritDefinitionFeature]}),j})();const zn={provide:p,useExisting:(0,n.forwardRef)(()=>kn),multi:!0};let ur=(()=>{class j{}return j.\u0275fac=function(I){return new(I||j)},j.\u0275mod=n.\u0275\u0275defineNgModule({type:j}),j.\u0275inj=n.\u0275\u0275defineInjector({}),j})(),Fr=(()=>{class j{constructor(){this._accessors=[]}add(I,ie){this._accessors.push([I,ie])}remove(I){for(let ie=this._accessors.length-1;ie>=0;--ie)if(this._accessors[ie][1]===I)return void this._accessors.splice(ie,1)}select(I){this._accessors.forEach(ie=>{this._isSameGroup(ie,I)&&ie[1]!==I&&ie[1].fireUncheck(I.value)})}_isSameGroup(I,ie){return!!I[0].control&&I[0]._parent===ie._control._parent&&I[1].name===ie.name}}return j.\u0275fac=function(I){return new(I||j)},j.\u0275prov=n.\u0275\u0275defineInjectable({token:j,factory:j.\u0275fac,providedIn:ur}),j})(),kn=(()=>{class j extends f{constructor(I,ie,Qe,Nt){super(I,ie),this._registry=Qe,this._injector=Nt,this.onChange=()=>{}}ngOnInit(){this._control=this._injector.get(te),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(I){this._state=I===this.value,this.setProperty("checked",this._state)}registerOnChange(I){this._fn=I,this.onChange=()=>{I(this.value),this._registry.select(this)}}fireUncheck(I){this.writeValue(I)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return j.\u0275fac=function(I){return new(I||j)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(Fr),n.\u0275\u0275directiveInject(n.Injector))},j.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(I,ie){1&I&&n.\u0275\u0275listener("change",function(){return ie.onChange()})("blur",function(){return ie.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[n.\u0275\u0275ProvidersFeature([zn]),n.\u0275\u0275InheritDefinitionFeature]}),j})();const kr={provide:p,useExisting:(0,n.forwardRef)(()=>Ei),multi:!0};let Ei=(()=>{class j extends f{writeValue(I){this.setProperty("value",parseFloat(I))}registerOnChange(I){this.onChange=ie=>{I(""==ie?null:parseFloat(ie))}}}return j.\u0275fac=function(){let F;return function(ie){return(F||(F=n.\u0275\u0275getInheritedFactory(j)))(ie||j)}}(),j.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(I,ie){1&I&&n.\u0275\u0275listener("change",function(Nt){return ie.onChange(Nt.target.value)})("input",function(Nt){return ie.onChange(Nt.target.value)})("blur",function(){return ie.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([kr]),n.\u0275\u0275InheritDefinitionFeature]}),j})();const Ai=new n.InjectionToken("NgModelWithFormControlWarning"),Ki={provide:te,useExisting:(0,n.forwardRef)(()=>Qi)};let Qi=(()=>{class j extends te{constructor(I,ie,Qe,Nt){super(),this._ngModelWarningConfig=Nt,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(I),this._setAsyncValidators(ie),this.valueAccessor=pe(0,Qe)}set isDisabled(I){}ngOnChanges(I){if(this._isControlChanged(I)){const ie=I.form.previousValue;ie&&Ht(ie,this,!1),_t(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}jt(I,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Ht(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(I){this.viewModel=I,this.update.emit(I)}_isControlChanged(I){return I.hasOwnProperty("form")}}return j._ngModelWarningSentOnce=!1,j.\u0275fac=function(I){return new(I||j)(n.\u0275\u0275directiveInject(A,10),n.\u0275\u0275directiveInject(H,10),n.\u0275\u0275directiveInject(p,10),n.\u0275\u0275directiveInject(Ai,8))},j.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([Ki]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),j})();const dr={provide:Me,useExisting:(0,n.forwardRef)(()=>Yi)};let Yi=(()=>{class j extends Me{constructor(I,ie){super(),this.validators=I,this.asyncValidators=ie,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new n.EventEmitter,this._setValidators(I),this._setAsyncValidators(ie)}ngOnChanges(I){this._checkFormPresent(),I.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(X(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(I){const ie=this.form.get(I.path);return _t(ie,I),ie.updateValueAndValidity({emitEvent:!1}),this.directives.push(I),ie}getControl(I){return this.form.get(I.path)}removeControl(I){Ht(I.control||null,I,!1),Fe(this.directives,I)}addFormGroup(I){this._setUpFormContainer(I)}removeFormGroup(I){this._cleanUpFormContainer(I)}getFormGroup(I){return this.form.get(I.path)}addFormArray(I){this._setUpFormContainer(I)}removeFormArray(I){this._cleanUpFormContainer(I)}getFormArray(I){return this.form.get(I.path)}updateModel(I,ie){this.form.get(I.path).setValue(ie)}onSubmit(I){return this.submitted=!0,je(this.form,this.directives),this.ngSubmit.emit(I),!1}onReset(){this.resetForm()}resetForm(I){this.form.reset(I),this.submitted=!1}_updateDomValue(){this.directives.forEach(I=>{const ie=I.control,Qe=this.form.get(I.path);ie!==Qe&&(Ht(ie||null,I),Qt(Qe)&&(_t(Qe,I),I.control=Qe))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(I){const ie=this.form.get(I.path);U(ie,I),ie.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(I){if(this.form){const ie=this.form.get(I.path);ie&&function Ie(j,F){return X(j,F)}(ie,I)&&ie.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ue(this.form,this),this._oldForm&&X(this._oldForm,this)}_checkFormPresent(){}}return j.\u0275fac=function(I){return new(I||j)(n.\u0275\u0275directiveInject(A,10),n.\u0275\u0275directiveInject(H,10))},j.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["","formGroup",""]],hostBindings:function(I,ie){1&I&&n.\u0275\u0275listener("submit",function(Nt){return ie.onSubmit(Nt)})("reset",function(){return ie.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([dr]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),j})();const Nr={provide:Me,useExisting:(0,n.forwardRef)(()=>yi)};let yi=(()=>{class j extends qt{constructor(I,ie,Qe){super(),this._parent=I,this._setValidators(ie),this._setAsyncValidators(Qe)}_checkParentType(){Mr(this._parent)}}return j.\u0275fac=function(I){return new(I||j)(n.\u0275\u0275directiveInject(Me,13),n.\u0275\u0275directiveInject(A,10),n.\u0275\u0275directiveInject(H,10))},j.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[n.\u0275\u0275ProvidersFeature([Nr]),n.\u0275\u0275InheritDefinitionFeature]}),j})();const Lr={provide:Me,useExisting:(0,n.forwardRef)(()=>Ri)};let Ri=(()=>{class j extends Me{constructor(I,ie,Qe){super(),this._parent=I,this._setValidators(ie),this._setAsyncValidators(Qe)}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 Ct(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Mr(this._parent)}}return j.\u0275fac=function(I){return new(I||j)(n.\u0275\u0275directiveInject(Me,13),n.\u0275\u0275directiveInject(A,10),n.\u0275\u0275directiveInject(H,10))},j.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[n.\u0275\u0275ProvidersFeature([Lr]),n.\u0275\u0275InheritDefinitionFeature]}),j})();function Mr(j){return!(j instanceof yi||j instanceof Yi||j instanceof Ri)}const Sr={provide:te,useExisting:(0,n.forwardRef)(()=>xi)};let xi=(()=>{class j extends te{constructor(I,ie,Qe,Nt,Mn){super(),this._ngModelWarningConfig=Mn,this._added=!1,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._parent=I,this._setValidators(ie),this._setAsyncValidators(Qe),this.valueAccessor=pe(0,Nt)}set isDisabled(I){}ngOnChanges(I){this._added||this._setUpControl(),jt(I,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(I){this.viewModel=I,this.update.emit(I)}get path(){return Ct(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.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return j._ngModelWarningSentOnce=!1,j.\u0275fac=function(I){return new(I||j)(n.\u0275\u0275directiveInject(Me,13),n.\u0275\u0275directiveInject(A,10),n.\u0275\u0275directiveInject(H,10),n.\u0275\u0275directiveInject(p,10),n.\u0275\u0275directiveInject(Ai,8))},j.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[n.\u0275\u0275ProvidersFeature([Sr]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),j})();const Ti={provide:p,useExisting:(0,n.forwardRef)(()=>Fi),multi:!0};function Di(j,F){return null==j?`${F}`:(F&&"object"==typeof F&&(F="Object"),`${j}: ${F}`.slice(0,50))}let Fi=(()=>{class j extends f{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(I){this._compareWith=I}writeValue(I){this.value=I;const Qe=Di(this._getOptionId(I),I);this.setProperty("value",Qe)}registerOnChange(I){this.onChange=ie=>{this.value=this._getOptionValue(ie),I(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(I){for(const ie of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(ie),I))return ie;return null}_getOptionValue(I){const ie=function Or(j){return j.split(":")[0]}(I);return this._optionMap.has(ie)?this._optionMap.get(ie):I}}return j.\u0275fac=function(){let F;return function(ie){return(F||(F=n.\u0275\u0275getInheritedFactory(j)))(ie||j)}}(),j.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(I,ie){1&I&&n.\u0275\u0275listener("change",function(Nt){return ie.onChange(Nt.target.value)})("blur",function(){return ie.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([Ti]),n.\u0275\u0275InheritDefinitionFeature]}),j})(),fr=(()=>{class j{constructor(I,ie,Qe){this._element=I,this._renderer=ie,this._select=Qe,this._select&&(this.id=this._select._registerOption())}set ngValue(I){null!=this._select&&(this._select._optionMap.set(this.id,I),this._setElementValue(Di(this.id,I)),this._select.writeValue(this._select.value))}set value(I){this._setElementValue(I),this._select&&this._select.writeValue(this._select.value)}_setElementValue(I){this._renderer.setProperty(this._element.nativeElement,"value",I)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return j.\u0275fac=function(I){return new(I||j)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(Fi,9))},j.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),j})();const li={provide:p,useExisting:(0,n.forwardRef)(()=>wi),multi:!0};function ki(j,F){return null==j?`${F}`:("string"==typeof F&&(F=`'${F}'`),F&&"object"==typeof F&&(F="Object"),`${j}: ${F}`.slice(0,50))}let wi=(()=>{class j extends f{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(I){this._compareWith=I}writeValue(I){let ie;if(this.value=I,Array.isArray(I)){const Qe=I.map(Nt=>this._getOptionId(Nt));ie=(Nt,Mn)=>{Nt._setSelected(Qe.indexOf(Mn.toString())>-1)}}else ie=(Qe,Nt)=>{Qe._setSelected(!1)};this._optionMap.forEach(ie)}registerOnChange(I){this.onChange=ie=>{const Qe=[],Nt=ie.selectedOptions;if(void 0!==Nt){const Mn=Nt;for(let Yn=0;Yn<Mn.length;Yn++){const Ir=this._getOptionValue(Mn[Yn].value);Qe.push(Ir)}}else{const Mn=ie.options;for(let Yn=0;Yn<Mn.length;Yn++){const Li=Mn[Yn];if(Li.selected){const Ir=this._getOptionValue(Li.value);Qe.push(Ir)}}}this.value=Qe,I(Qe)}}_registerOption(I){const ie=(this._idCounter++).toString();return this._optionMap.set(ie,I),ie}_getOptionId(I){for(const ie of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(ie)._value,I))return ie;return null}_getOptionValue(I){const ie=function _i(j){return j.split(":")[0]}(I);return this._optionMap.has(ie)?this._optionMap.get(ie)._value:I}}return j.\u0275fac=function(){let F;return function(ie){return(F||(F=n.\u0275\u0275getInheritedFactory(j)))(ie||j)}}(),j.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(I,ie){1&I&&n.\u0275\u0275listener("change",function(Nt){return ie.onChange(Nt.target)})("blur",function(){return ie.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([li]),n.\u0275\u0275InheritDefinitionFeature]}),j})(),hr=(()=>{class j{constructor(I,ie,Qe){this._element=I,this._renderer=ie,this._select=Qe,this._select&&(this.id=this._select._registerOption(this))}set ngValue(I){null!=this._select&&(this._value=I,this._setElementValue(ki(this.id,I)),this._select.writeValue(this._select.value))}set value(I){this._select?(this._value=I,this._setElementValue(ki(this.id,I)),this._select.writeValue(this._select.value)):this._setElementValue(I)}_setElementValue(I){this._renderer.setProperty(this._element.nativeElement,"value",I)}_setSelected(I){this._renderer.setProperty(this._element.nativeElement,"selected",I)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return j.\u0275fac=function(I){return new(I||j)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(wi,9))},j.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),j})();function Ji(j){return"number"==typeof j?j:parseInt(j,10)}function Xi(j){return"number"==typeof j?j:parseFloat(j)}let ti=(()=>{class j{constructor(){this._validator=de}ngOnChanges(I){if(this.inputName in I){const ie=this.normalizeInput(I[this.inputName].currentValue);this._enabled=this.enabled(ie),this._validator=this._enabled?this.createValidator(ie):de,this._onChange&&this._onChange()}}validate(I){return this._validator(I)}registerOnValidatorChange(I){this._onChange=I}enabled(I){return null!=I}}return j.\u0275fac=function(I){return new(I||j)},j.\u0275dir=n.\u0275\u0275defineDirective({type:j,features:[n.\u0275\u0275NgOnChangesFeature]}),j})();const pr={provide:A,useExisting:(0,n.forwardRef)(()=>Ln),multi:!0};let Ln=(()=>{class j extends ti{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=I=>Xi(I),this.createValidator=I=>z(I)}}return j.\u0275fac=function(){let F;return function(ie){return(F||(F=n.\u0275\u0275getInheritedFactory(j)))(ie||j)}}(),j.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(I,ie){2&I&&n.\u0275\u0275attribute("max",ie._enabled?ie.max:null)},inputs:{max:"max"},features:[n.\u0275\u0275ProvidersFeature([pr]),n.\u0275\u0275InheritDefinitionFeature]}),j})();const Ni={provide:A,useExisting:(0,n.forwardRef)(()=>qi),multi:!0};let qi=(()=>{class j extends ti{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=I=>Xi(I),this.createValidator=I=>J(I)}}return j.\u0275fac=function(){let F;return function(ie){return(F||(F=n.\u0275\u0275getInheritedFactory(j)))(ie||j)}}(),j.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(I,ie){2&I&&n.\u0275\u0275attribute("min",ie._enabled?ie.min:null)},inputs:{min:"min"},features:[n.\u0275\u0275ProvidersFeature([Ni]),n.\u0275\u0275InheritDefinitionFeature]}),j})();const jn={provide:A,useExisting:(0,n.forwardRef)(()=>$n),multi:!0},er={provide:A,useExisting:(0,n.forwardRef)(()=>Wn),multi:!0};let $n=(()=>{class j extends ti{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=I=>function Mi(j){return null!=j&&!1!==j&&"false"!=`${j}`}(I),this.createValidator=I=>se}enabled(I){return I}}return j.\u0275fac=function(){let F;return function(ie){return(F||(F=n.\u0275\u0275getInheritedFactory(j)))(ie||j)}}(),j.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(I,ie){2&I&&n.\u0275\u0275attribute("required",ie._enabled?"":null)},inputs:{required:"required"},features:[n.\u0275\u0275ProvidersFeature([jn]),n.\u0275\u0275InheritDefinitionFeature]}),j})(),Wn=(()=>{class j extends $n{constructor(){super(...arguments),this.createValidator=I=>ae}}return j.\u0275fac=function(){let F;return function(ie){return(F||(F=n.\u0275\u0275getInheritedFactory(j)))(ie||j)}}(),j.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(I,ie){2&I&&n.\u0275\u0275attribute("required",ie._enabled?"":null)},features:[n.\u0275\u0275ProvidersFeature([er]),n.\u0275\u0275InheritDefinitionFeature]}),j})();const ni={provide:A,useExisting:(0,n.forwardRef)(()=>Qn),multi:!0};let Qn=(()=>{class j extends ti{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=I=>""===I||!0===I||"true"===I,this.createValidator=I=>me}enabled(I){return I}}return j.\u0275fac=function(){let F;return function(ie){return(F||(F=n.\u0275\u0275getInheritedFactory(j)))(ie||j)}}(),j.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[n.\u0275\u0275ProvidersFeature([ni]),n.\u0275\u0275InheritDefinitionFeature]}),j})();const jr={provide:A,useExisting:(0,n.forwardRef)(()=>Tn),multi:!0};let Tn=(()=>{class j extends ti{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=I=>Ji(I),this.createValidator=I=>Te(I)}}return j.\u0275fac=function(){let F;return function(ie){return(F||(F=n.\u0275\u0275getInheritedFactory(j)))(ie||j)}}(),j.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(I,ie){2&I&&n.\u0275\u0275attribute("minlength",ie._enabled?ie.minlength:null)},inputs:{minlength:"minlength"},features:[n.\u0275\u0275ProvidersFeature([jr]),n.\u0275\u0275InheritDefinitionFeature]}),j})();const N={provide:A,useExisting:(0,n.forwardRef)(()=>re),multi:!0};let re=(()=>{class j extends ti{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=I=>Ji(I),this.createValidator=I=>_e(I)}}return j.\u0275fac=function(){let F;return function(ie){return(F||(F=n.\u0275\u0275getInheritedFactory(j)))(ie||j)}}(),j.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(I,ie){2&I&&n.\u0275\u0275attribute("maxlength",ie._enabled?ie.maxlength:null)},inputs:{maxlength:"maxlength"},features:[n.\u0275\u0275ProvidersFeature([N]),n.\u0275\u0275InheritDefinitionFeature]}),j})();const k={provide:A,useExisting:(0,n.forwardRef)(()=>fe),multi:!0};let fe=(()=>{class j extends ti{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=I=>I,this.createValidator=I=>Y(I)}}return j.\u0275fac=function(){let F;return function(ie){return(F||(F=n.\u0275\u0275getInheritedFactory(j)))(ie||j)}}(),j.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(I,ie){2&I&&n.\u0275\u0275attribute("pattern",ie._enabled?ie.pattern:null)},inputs:{pattern:"pattern"},features:[n.\u0275\u0275ProvidersFeature([k]),n.\u0275\u0275InheritDefinitionFeature]}),j})(),kt=(()=>{class j{}return j.\u0275fac=function(I){return new(I||j)},j.\u0275mod=n.\u0275\u0275defineNgModule({type:j}),j.\u0275inj=n.\u0275\u0275defineInjector({imports:[[ur]]}),j})(),yn=(()=>{class j{}return j.\u0275fac=function(I){return new(I||j)},j.\u0275mod=n.\u0275\u0275defineNgModule({type:j}),j.\u0275inj=n.\u0275\u0275defineInjector({imports:[kt]}),j})(),dn=(()=>{class j{static withConfig(I){return{ngModule:j,providers:[{provide:Ai,useValue:I.warnOnNgModelWithFormControl}]}}}return j.\u0275fac=function(I){return new(I||j)},j.\u0275mod=n.\u0275\u0275defineNgModule({type:j}),j.\u0275inj=n.\u0275\u0275defineInjector({imports:[kt]}),j})(),ln=(()=>{class j{group(I,ie=null){const Qe=this._reduceControls(I);let Yn,Nt=null,Mn=null;return null!=ie&&(function rn(j){return void 0!==j.asyncValidators||void 0!==j.validators||void 0!==j.updateOn}(ie)?(Nt=null!=ie.validators?ie.validators:null,Mn=null!=ie.asyncValidators?ie.asyncValidators:null,Yn=null!=ie.updateOn?ie.updateOn:void 0):(Nt=null!=ie.validator?ie.validator:null,Mn=null!=ie.asyncValidator?ie.asyncValidator:null)),new Ut(Qe,{asyncValidators:Mn,updateOn:Yn,validators:Nt})}control(I,ie,Qe){return new Mt(I,ie,Qe)}array(I,ie,Qe){const Nt=I.map(Mn=>this._createControl(Mn));return new St(Nt,ie,Qe)}_reduceControls(I){const ie={};return Object.keys(I).forEach(Qe=>{ie[Qe]=this._createControl(I[Qe])}),ie}_createControl(I){return Qt(I)||oe(I)||Ae(I)?I:Array.isArray(I)?this.control(I[0],I.length>1?I[1]:null,I.length>2?I[2]:null):this.control(I)}}return j.\u0275fac=function(I){return new(I||j)},j.\u0275prov=n.\u0275\u0275defineInjectable({token:j,factory:j.\u0275fac,providedIn:dn}),j})();const In=new n.Version("13.2.6")},7423:(G,r,a)=>{"use strict";a.r(r),a.d(r,{MatAnchor:()=>v,MatButton:()=>_,MatButtonModule:()=>b});var n=a(5e3),h=a(508),y=a(6360),d=a(5664);const o=["mat-button",""],c=["*"],m=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],u=(0,h.mixinColor)((0,h.mixinDisabled)((0,h.mixinDisableRipple)(class{constructor(T){this._elementRef=T}})));let _=(()=>{class T extends u{constructor(x,A,H){super(x),this._focusMonitor=A,this._animationMode=H,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const Z of m)this._hasHostAttributes(Z)&&this._getHostElement().classList.add(Z);x.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(x,A){x?this._focusMonitor.focusVia(this._getHostElement(),x,A):this._getHostElement().focus(A)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...x){return x.some(A=>this._getHostElement().hasAttribute(A))}}return T.\u0275fac=function(x){return new(x||T)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(d.tE),n.\u0275\u0275directiveInject(y.ANIMATION_MODULE_TYPE,8))},T.\u0275cmp=n.\u0275\u0275defineComponent({type:T,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(x,A){if(1&x&&n.\u0275\u0275viewQuery(h.MatRipple,5),2&x){let H;n.\u0275\u0275queryRefresh(H=n.\u0275\u0275loadQuery())&&(A.ripple=H.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(x,A){2&x&&(n.\u0275\u0275attribute("disabled",A.disabled||null),n.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===A._animationMode)("mat-button-disabled",A.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[n.\u0275\u0275InheritDefinitionFeature],attrs:o,ngContentSelectors:c,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(x,A){1&x&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275elementStart(0,"span",0),n.\u0275\u0275projection(1),n.\u0275\u0275elementEnd(),n.\u0275\u0275element(2,"span",1)(3,"span",2)),2&x&&(n.\u0275\u0275advance(2),n.\u0275\u0275classProp("mat-button-ripple-round",A.isRoundButton||A.isIconButton),n.\u0275\u0275property("matRippleDisabled",A._isRippleDisabled())("matRippleCentered",A.isIconButton)("matRippleTrigger",A._getHostElement()))},directives:[h.MatRipple],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),T})(),v=(()=>{class T extends _{constructor(x,A,H,Z){super(A,x,H),this._ngZone=Z,this._haltDisabledEvents=Q=>{this.disabled&&(Q.preventDefault(),Q.stopImmediatePropagation())}}ngAfterViewInit(){super.ngAfterViewInit(),this._ngZone?this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return T.\u0275fac=function(x){return new(x||T)(n.\u0275\u0275directiveInject(d.tE),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(y.ANIMATION_MODULE_TYPE,8),n.\u0275\u0275directiveInject(n.NgZone,8))},T.\u0275cmp=n.\u0275\u0275defineComponent({type:T,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(x,A){2&x&&(n.\u0275\u0275attribute("tabindex",A.disabled?-1:A.tabIndex)("disabled",A.disabled||null)("aria-disabled",A.disabled.toString()),n.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===A._animationMode)("mat-button-disabled",A.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[n.\u0275\u0275InheritDefinitionFeature],attrs:o,ngContentSelectors:c,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(x,A){1&x&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275elementStart(0,"span",0),n.\u0275\u0275projection(1),n.\u0275\u0275elementEnd(),n.\u0275\u0275element(2,"span",1)(3,"span",2)),2&x&&(n.\u0275\u0275advance(2),n.\u0275\u0275classProp("mat-button-ripple-round",A.isRoundButton||A.isIconButton),n.\u0275\u0275property("matRippleDisabled",A._isRippleDisabled())("matRippleCentered",A.isIconButton)("matRippleTrigger",A._getHostElement()))},directives:[h.MatRipple],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),T})(),b=(()=>{class T{}return T.\u0275fac=function(x){return new(x||T)},T.\u0275mod=n.\u0275\u0275defineNgModule({type:T}),T.\u0275inj=n.\u0275\u0275defineInjector({imports:[[h.MatRippleModule,h.MatCommonModule],h.MatCommonModule]}),T})()},9417:(G,r,a)=>{"use strict";a.r(r),a.d(r,{MAT_CHIPS_DEFAULT_OPTIONS:()=>ct,MAT_CHIP_AVATAR:()=>Ee,MAT_CHIP_REMOVE:()=>He,MAT_CHIP_TRAILING_ICON:()=>Ce,MatChip:()=>Oe,MatChipAvatar:()=>ot,MatChipInput:()=>_t,MatChipList:()=>ue,MatChipListChange:()=>$t,MatChipRemove:()=>ze,MatChipSelectionChange:()=>Pt,MatChipTrailingIcon:()=>Dt,MatChipsModule:()=>L});var n=a(1159),h=a(5e3),y=a(508),d=a(3191),o=a(9808),c=a(6360),f=a(7579),p=a(6451),m=a(5698),u=a(2722),_=a(8675),v=a(925),b=a(5664),T=a(449),S=a(3075);a(1777);let ht=(()=>{class P{}return P.\u0275fac=function(M){return new(M||P)},P.\u0275dir=h.\u0275\u0275defineDirective({type:P}),P})();var Et=a(226);const Tt=["*"];class Pt{constructor(le,M,U=!1){this.source=le,this.selected=M,this.isUserInput=U}}const He=new h.InjectionToken("MatChipRemove"),Ee=new h.InjectionToken("MatChipAvatar"),Ce=new h.InjectionToken("MatChipTrailingIcon");class Ye{constructor(le){this._elementRef=le}}const Xe=(0,y.mixinTabIndex)((0,y.mixinColor)((0,y.mixinDisableRipple)(Ye),"primary"),-1);let ot=(()=>{class P{}return P.\u0275fac=function(M){return new(M||P)},P.\u0275dir=h.\u0275\u0275defineDirective({type:P,selectors:[["mat-chip-avatar"],["","matChipAvatar",""]],hostAttrs:[1,"mat-chip-avatar"],features:[h.\u0275\u0275ProvidersFeature([{provide:Ee,useExisting:P}])]}),P})(),Dt=(()=>{class P{}return P.\u0275fac=function(M){return new(M||P)},P.\u0275dir=h.\u0275\u0275defineDirective({type:P,selectors:[["mat-chip-trailing-icon"],["","matChipTrailingIcon",""]],hostAttrs:[1,"mat-chip-trailing-icon"],features:[h.\u0275\u0275ProvidersFeature([{provide:Ce,useExisting:P}])]}),P})(),Oe=(()=>{class P extends Xe{constructor(M,U,Ie,it,Lt,jt,Pe,je){super(M),this._ngZone=U,this._changeDetectorRef=Lt,this._hasFocus=!1,this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListDisabled=!1,this._selected=!1,this._selectable=!0,this._disabled=!1,this._removable=!0,this._onFocus=new f.x,this._onBlur=new f.x,this.selectionChange=new h.EventEmitter,this.destroyed=new h.EventEmitter,this.removed=new h.EventEmitter,this._addHostClassName(),this._chipRippleTarget=jt.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new y.RippleRenderer(this,U,this._chipRippleTarget,Ie),this._chipRipple.setupTriggerEvents(M),this.rippleConfig=it||{},this._animationsDisabled="NoopAnimations"===Pe,this.tabIndex=null!=je&&parseInt(je)||-1}get rippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(M){const U=(0,d.Ig)(M);U!==this._selected&&(this._selected=U,this._dispatchSelectionChange())}get value(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent}set value(M){this._value=M}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(M){this._selectable=(0,d.Ig)(M)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(M){this._disabled=(0,d.Ig)(M)}get removable(){return this._removable}set removable(M){this._removable=(0,d.Ig)(M)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}_addHostClassName(){const M="mat-basic-chip",U=this._elementRef.nativeElement;U.hasAttribute(M)||U.tagName.toLowerCase()===M?U.classList.add(M):U.classList.add("mat-standard-chip")}ngOnDestroy(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}select(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}deselect(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}selectViaInteraction(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}toggleSelected(M=!1){return this._selected=!this.selected,this._dispatchSelectionChange(M),this._changeDetectorRef.markForCheck(),this.selected}focus(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}remove(){this.removable&&this.removed.emit({chip:this})}_handleClick(M){this.disabled&&M.preventDefault()}_handleKeydown(M){if(!this.disabled)switch(M.keyCode){case n.yY:case n.ZH:this.remove(),M.preventDefault();break;case n.L_:this.selectable&&this.toggleSelected(!0),M.preventDefault()}}_blur(){this._ngZone.onStable.pipe((0,m.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(M=!1){this.selectionChange.emit({source:this,isUserInput:M,selected:this._selected})}}return P.\u0275fac=function(M){return new(M||P)(h.\u0275\u0275directiveInject(h.ElementRef),h.\u0275\u0275directiveInject(h.NgZone),h.\u0275\u0275directiveInject(v.t4),h.\u0275\u0275directiveInject(y.MAT_RIPPLE_GLOBAL_OPTIONS,8),h.\u0275\u0275directiveInject(h.ChangeDetectorRef),h.\u0275\u0275directiveInject(o.DOCUMENT),h.\u0275\u0275directiveInject(c.ANIMATION_MODULE_TYPE,8),h.\u0275\u0275injectAttribute("tabindex"))},P.\u0275dir=h.\u0275\u0275defineDirective({type:P,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(M,U,Ie){if(1&M&&(h.\u0275\u0275contentQuery(Ie,Ee,5),h.\u0275\u0275contentQuery(Ie,Ce,5),h.\u0275\u0275contentQuery(Ie,He,5)),2&M){let it;h.\u0275\u0275queryRefresh(it=h.\u0275\u0275loadQuery())&&(U.avatar=it.first),h.\u0275\u0275queryRefresh(it=h.\u0275\u0275loadQuery())&&(U.trailingIcon=it.first),h.\u0275\u0275queryRefresh(it=h.\u0275\u0275loadQuery())&&(U.removeIcon=it.first)}},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(M,U){1&M&&h.\u0275\u0275listener("click",function(it){return U._handleClick(it)})("keydown",function(it){return U._handleKeydown(it)})("focus",function(){return U.focus()})("blur",function(){return U._blur()}),2&M&&(h.\u0275\u0275attribute("tabindex",U.disabled?null:U.tabIndex)("disabled",U.disabled||null)("aria-disabled",U.disabled.toString())("aria-selected",U.ariaSelected),h.\u0275\u0275classProp("mat-chip-selected",U.selected)("mat-chip-with-avatar",U.avatar)("mat-chip-with-trailing-icon",U.trailingIcon||U.removeIcon)("mat-chip-disabled",U.disabled)("_mat-animation-noopable",U._animationsDisabled))},inputs:{color:"color",disableRipple:"disableRipple",tabIndex:"tabIndex",selected:"selected",value:"value",selectable:"selectable",disabled:"disabled",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[h.\u0275\u0275InheritDefinitionFeature]}),P})(),ze=(()=>{class P{constructor(M,U){this._parentChip=M,"BUTTON"===U.nativeElement.nodeName&&U.nativeElement.setAttribute("type","button")}_handleClick(M){const U=this._parentChip;U.removable&&!U.disabled&&U.remove(),M.stopPropagation()}}return P.\u0275fac=function(M){return new(M||P)(h.\u0275\u0275directiveInject(Oe),h.\u0275\u0275directiveInject(h.ElementRef))},P.\u0275dir=h.\u0275\u0275defineDirective({type:P,selectors:[["","matChipRemove",""]],hostAttrs:[1,"mat-chip-remove","mat-chip-trailing-icon"],hostBindings:function(M,U){1&M&&h.\u0275\u0275listener("click",function(it){return U._handleClick(it)})},features:[h.\u0275\u0275ProvidersFeature([{provide:He,useExisting:P}])]}),P})();const ct=new h.InjectionToken("mat-chips-default-options");let Ct=0,_t=(()=>{class P{constructor(M,U){this._elementRef=M,this._defaultOptions=U,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new h.EventEmitter,this.placeholder="",this.id="mat-chip-list-input-"+Ct++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement}set chipList(M){M&&(this._chipList=M,this._chipList.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(M){this._addOnBlur=(0,d.Ig)(M)}get disabled(){return this._disabled||this._chipList&&this._chipList.disabled}set disabled(M){this._disabled=(0,d.Ig)(M)}get empty(){return!this.inputElement.value}ngOnChanges(){this._chipList.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(M){if(M){if(M.keyCode===n.Mf&&!(0,n.Vb)(M,"shiftKey")&&this._chipList._allowFocusEscape(),M.keyCode===n.ZH&&this._focusLastChipOnBackspace)return this._chipList._keyManager.setLastItemActive(),void M.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(M)}_keyup(M){!this._focusLastChipOnBackspace&&M.keyCode===n.ZH&&this.empty&&(this._focusLastChipOnBackspace=!0,M.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipList.focused||this._chipList._blur(),this._chipList.stateChanges.next()}_focus(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipList.stateChanges.next()}_emitChipEnd(M){!this.inputElement.value&&!!M&&this._chipList._keydown(M),(!M||this._isSeparatorKey(M))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),null==M||M.preventDefault())}_onInput(){this._chipList.stateChanges.next()}focus(M){this.inputElement.focus(M)}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}_isSeparatorKey(M){return!(0,n.Vb)(M)&&new Set(this.separatorKeyCodes).has(M.keyCode)}}return P.\u0275fac=function(M){return new(M||P)(h.\u0275\u0275directiveInject(h.ElementRef),h.\u0275\u0275directiveInject(ct))},P.\u0275dir=h.\u0275\u0275defineDirective({type:P,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(M,U){1&M&&h.\u0275\u0275listener("keydown",function(it){return U._keydown(it)})("keyup",function(it){return U._keyup(it)})("blur",function(){return U._blur()})("focus",function(){return U._focus()})("input",function(){return U._onInput()}),2&M&&(h.\u0275\u0275hostProperty("id",U.id),h.\u0275\u0275attribute("disabled",U.disabled||null)("placeholder",U.placeholder||null)("aria-invalid",U._chipList&&U._chipList.ngControl?U._chipList.ngControl.invalid:null)("aria-required",U._chipList&&U._chipList.required||null))},inputs:{chipList:["matChipInputFor","chipList"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[h.\u0275\u0275NgOnChangesFeature]}),P})();const Ht=(0,y.mixinErrorState)(class{constructor(P,le,M,U){this._defaultErrorStateMatcher=P,this._parentForm=le,this._parentFormGroup=M,this.ngControl=U}});let wt=0;class $t{constructor(le,M){this.source=le,this.value=M}}let ue=(()=>{class P extends Ht{constructor(M,U,Ie,it,Lt,jt,Pe){super(jt,it,Lt,Pe),this._elementRef=M,this._changeDetectorRef=U,this._dir=Ie,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new f.x,this._uid="mat-chip-list-"+wt++,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(je,pe)=>je===pe,this._disabled=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.change=new h.EventEmitter,this.valueChange=new h.EventEmitter,this.ngControl&&(this.ngControl.valueAccessor=this)}get selected(){var M,U;return this.multiple?(null===(M=this._selectionModel)||void 0===M?void 0:M.selected)||[]:null===(U=this._selectionModel)||void 0===U?void 0:U.selected[0]}get role(){return this.empty?null:"listbox"}get multiple(){return this._multiple}set multiple(M){this._multiple=(0,d.Ig)(M),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(M){this._compareWith=M,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(M){this.writeValue(M),this._value=M}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){var M,U,Ie,it;return null!==(it=null!==(M=this._required)&&void 0!==M?M:null===(Ie=null===(U=this.ngControl)||void 0===U?void 0:U.control)||void 0===Ie?void 0:Ie.hasValidator(S.Validators.required))&&void 0!==it&&it}set required(M){this._required=(0,d.Ig)(M),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(M){this._placeholder=M,this.stateChanges.next()}get focused(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||0===this.chips.length)}get shouldLabelFloat(){return!this.empty||this.focused}get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(M){this._disabled=(0,d.Ig)(M),this._syncChipsState()}get selectable(){return this._selectable}set selectable(M){this._selectable=(0,d.Ig)(M),this.chips&&this.chips.forEach(U=>U.chipListSelectable=this._selectable)}set tabIndex(M){this._userTabIndex=M,this._tabIndex=M}get chipSelectionChanges(){return(0,p.T)(...this.chips.map(M=>M.selectionChange))}get chipFocusChanges(){return(0,p.T)(...this.chips.map(M=>M._onFocus))}get chipBlurChanges(){return(0,p.T)(...this.chips.map(M=>M._onBlur))}get chipRemoveChanges(){return(0,p.T)(...this.chips.map(M=>M.destroyed))}ngAfterContentInit(){this._keyManager=new b.Em(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe((0,u.R)(this._destroyed)).subscribe(M=>this._keyManager.withHorizontalOrientation(M)),this._keyManager.tabOut.pipe((0,u.R)(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.chips.changes.pipe((0,_.O)(null),(0,u.R)(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>{this._syncChipsState()}),this._resetChips(),this._initializeSelection(),this._updateTabIndex(),this._updateFocusForDestroyedChips(),this.stateChanges.next()})}ngOnInit(){this._selectionModel=new T.Ov(this.multiple,void 0,!1),this.stateChanges.next()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}registerInput(M){this._chipInput=M,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",M.id)}setDescribedByIds(M){this._ariaDescribedby=M.join(" ")}writeValue(M){this.chips&&this._setSelectionByValue(M,!1)}registerOnChange(M){this._onChange=M}registerOnTouched(M){this._onTouched=M}setDisabledState(M){this.disabled=M,this.stateChanges.next()}onContainerClick(M){this._originatesFromChip(M)||this.focus()}focus(M){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(M),this.stateChanges.next()))}_focusInput(M){this._chipInput&&this._chipInput.focus(M)}_keydown(M){const U=M.target;U&&U.classList.contains("mat-chip")&&(this._keyManager.onKeydown(M),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}_updateFocusForDestroyedChips(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){const M=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(M)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(M){return M>=0&&M<this.chips.length}_setSelectionByValue(M,U=!0){if(this._clearSelection(),this.chips.forEach(Ie=>Ie.deselect()),Array.isArray(M))M.forEach(Ie=>this._selectValue(Ie,U)),this._sortValues();else{const Ie=this._selectValue(M,U);Ie&&U&&this._keyManager.setActiveItem(Ie)}}_selectValue(M,U=!0){const Ie=this.chips.find(it=>null!=it.value&&this._compareWith(it.value,M));return Ie&&(U?Ie.selectViaInteraction():Ie.select(),this._selectionModel.select(Ie)),Ie}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(M){this._selectionModel.clear(),this.chips.forEach(U=>{U!==M&&U.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(M=>{M.selected&&this._selectionModel.select(M)}),this.stateChanges.next())}_propagateChanges(M){let U=null;U=Array.isArray(this.selected)?this.selected.map(Ie=>Ie.value):this.selected?this.selected.value:M,this._value=U,this.change.emit(new $t(this,U)),this.valueChange.emit(U),this._onChange(U),this._changeDetectorRef.markForCheck()}_blur(){this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(()=>{this.focused||this._markAsTouched()}):this._markAsTouched())}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}_allowFocusEscape(){-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(()=>{this._tabIndex=this._userTabIndex||0,this._changeDetectorRef.markForCheck()}))}_resetChips(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}_dropSubscriptions(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)}_listenToChipsSelection(){this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(M=>{M.source.selected?this._selectionModel.select(M.source):this._selectionModel.deselect(M.source),this.multiple||this.chips.forEach(U=>{!this._selectionModel.isSelected(U)&&U.selected&&U.deselect()}),M.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(M=>{let U=this.chips.toArray().indexOf(M.chip);this._isValidIndex(U)&&this._keyManager.updateActiveItem(U),this.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(()=>{this._blur(),this.stateChanges.next()})}_listenToChipsRemoved(){this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(M=>{const U=M.chip,Ie=this.chips.toArray().indexOf(M.chip);this._isValidIndex(Ie)&&U._hasFocus&&(this._lastDestroyedChipIndex=Ie)})}_originatesFromChip(M){let U=M.target;for(;U&&U!==this._elementRef.nativeElement;){if(U.classList.contains("mat-chip"))return!0;U=U.parentElement}return!1}_hasFocusedChip(){return this.chips&&this.chips.some(M=>M._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(M=>{M._chipListDisabled=this._disabled,M._chipListMultiple=this.multiple})}}return P.\u0275fac=function(M){return new(M||P)(h.\u0275\u0275directiveInject(h.ElementRef),h.\u0275\u0275directiveInject(h.ChangeDetectorRef),h.\u0275\u0275directiveInject(Et.Is,8),h.\u0275\u0275directiveInject(S.NgForm,8),h.\u0275\u0275directiveInject(S.FormGroupDirective,8),h.\u0275\u0275directiveInject(y.ErrorStateMatcher),h.\u0275\u0275directiveInject(S.NgControl,10))},P.\u0275cmp=h.\u0275\u0275defineComponent({type:P,selectors:[["mat-chip-list"]],contentQueries:function(M,U,Ie){if(1&M&&h.\u0275\u0275contentQuery(Ie,Oe,5),2&M){let it;h.\u0275\u0275queryRefresh(it=h.\u0275\u0275loadQuery())&&(U.chips=it)}},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(M,U){1&M&&h.\u0275\u0275listener("focus",function(){return U.focus()})("blur",function(){return U._blur()})("keydown",function(it){return U._keydown(it)}),2&M&&(h.\u0275\u0275hostProperty("id",U._uid),h.\u0275\u0275attribute("tabindex",U.disabled?null:U._tabIndex)("aria-describedby",U._ariaDescribedby||null)("aria-required",U.role?U.required:null)("aria-disabled",U.disabled.toString())("aria-invalid",U.errorState)("aria-multiselectable",U.multiple)("role",U.role)("aria-orientation",U.ariaOrientation),h.\u0275\u0275classProp("mat-chip-list-disabled",U.disabled)("mat-chip-list-invalid",U.errorState)("mat-chip-list-required",U.required))},inputs:{errorStateMatcher:"errorStateMatcher",multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",tabIndex:"tabIndex"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[h.\u0275\u0275ProvidersFeature([{provide:ht,useExisting:P}]),h.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Tt,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(M,U){1&M&&(h.\u0275\u0275projectionDef(),h.\u0275\u0275elementStart(0,"div",0),h.\u0275\u0275projection(1),h.\u0275\u0275elementEnd())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transform:translateZ(0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}._mat-animation-noopable.mat-standard-chip{transition:none;animation:none}.mat-standard-chip .mat-chip-remove{border:none;-webkit-appearance:none;-moz-appearance:none;padding:0;background:none}.mat-standard-chip .mat-chip-remove.mat-icon,.mat-standard-chip .mat-chip-remove .mat-icon{width:18px;height:18px;font-size:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:"";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip:focus{outline:dotted 2px}.cdk-high-contrast-active .mat-standard-chip.mat-chip-selected{outline-width:3px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}\n'],encapsulation:2,changeDetection:0}),P})(),L=(()=>{class P{}return P.\u0275fac=function(M){return new(M||P)},P.\u0275mod=h.\u0275\u0275defineNgModule({type:P}),P.\u0275inj=h.\u0275\u0275defineInjector({providers:[y.ErrorStateMatcher,{provide:ct,useValue:{separatorKeyCodes:[n.K5]}}],imports:[[y.MatCommonModule]]}),P})()},508:(G,r,a)=>{"use strict";a.r(r),a.d(r,{AnimationCurves:()=>Z,AnimationDurations:()=>Q,DateAdapter:()=>gt,ErrorStateMatcher:()=>ft,MATERIAL_SANITY_CHECKS:()=>z,MAT_DATE_FORMATS:()=>Ge,MAT_DATE_LOCALE:()=>Se,MAT_DATE_LOCALE_FACTORY:()=>rt,MAT_NATIVE_DATE_FORMATS:()=>Be,MAT_OPTGROUP:()=>Dt,MAT_OPTION_PARENT_COMPONENT:()=>Ce,MAT_RIPPLE_GLOBAL_OPTIONS:()=>Et,MatCommonModule:()=>se,MatLine:()=>ve,MatLineModule:()=>te,MatNativeDateModule:()=>Ne,MatOptgroup:()=>Oe,MatOption:()=>_t,MatOptionModule:()=>$t,MatOptionSelectionChange:()=>ct,MatPseudoCheckbox:()=>He,MatPseudoCheckboxModule:()=>Ee,MatRipple:()=>Tt,MatRippleModule:()=>Pt,NativeDateAdapter:()=>lt,NativeDateModule:()=>et,RippleRef:()=>Me,RippleRenderer:()=>xe,ShowOnDirtyErrorStateMatcher:()=>We,VERSION:()=>H,_MatOptgroupBase:()=>ot,_MatOptionBase:()=>Ct,_countGroupLabelsBeforeOption:()=>Ht,_getOptionScrollPosition:()=>wt,defaultRippleAnimationConfig:()=>Ue,mixinColor:()=>Y,mixinDisableRipple:()=>de,mixinDisabled:()=>_e,mixinErrorState:()=>he,mixinInitialized:()=>ce,mixinTabIndex:()=>W,setLines:()=>we});var n=a(5e3),h=a(226),d=a(9808),o=a(925),c=a(5664),f=a(3191),p=a(7579),m=a(8306),u=a(8675),_=a(6360),v=a(1159);const b=["*",[["mat-option"],["ng-container"]]],T=["*","mat-option, ng-container"];function S(ue,X){if(1&ue&&n.\u0275\u0275element(0,"mat-pseudo-checkbox",4),2&ue){const L=n.\u0275\u0275nextContext();n.\u0275\u0275property("state",L.selected?"checked":"unchecked")("disabled",L.disabled)}}function x(ue,X){if(1&ue&&(n.\u0275\u0275elementStart(0,"span",5),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&ue){const L=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("(",L.group.label,")")}}const A=["*"],H=new n.Version("13.2.6");let Z=(()=>{class ue{}return ue.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",ue.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",ue.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",ue.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",ue})(),Q=(()=>{class ue{}return ue.COMPLEX="375ms",ue.ENTERING="225ms",ue.EXITING="195ms",ue})();const z=new n.InjectionToken("mat-sanity-checks",{providedIn:"root",factory:function J(){return!0}});let se=(()=>{class ue{constructor(L,P,le){this._sanityChecks=P,this._document=le,this._hasDoneGlobalChecks=!1,L._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(L){return!(0,o.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[L])}}return ue.\u0275fac=function(L){return new(L||ue)(n.\u0275\u0275inject(c.qm),n.\u0275\u0275inject(z,8),n.\u0275\u0275inject(d.DOCUMENT))},ue.\u0275mod=n.\u0275\u0275defineNgModule({type:ue}),ue.\u0275inj=n.\u0275\u0275defineInjector({imports:[[h.vT],h.vT]}),ue})();function _e(ue){return class extends ue{constructor(...X){super(...X),this._disabled=!1}get disabled(){return this._disabled}set disabled(X){this._disabled=(0,f.Ig)(X)}}}function Y(ue,X){return class extends ue{constructor(...L){super(...L),this.defaultColor=X,this.color=X}get color(){return this._color}set color(L){const P=L||this.defaultColor;P!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),P&&this._elementRef.nativeElement.classList.add(`mat-${P}`),this._color=P)}}}function de(ue){return class extends ue{constructor(...X){super(...X),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(X){this._disableRipple=(0,f.Ig)(X)}}}function W(ue,X=0){return class extends ue{constructor(...L){super(...L),this._tabIndex=X,this.defaultTabIndex=X}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(L){this._tabIndex=null!=L?(0,f.su)(L):this.defaultTabIndex}}}function he(ue){return class extends ue{constructor(...X){super(...X),this.stateChanges=new p.x,this.errorState=!1}updateErrorState(){const X=this.errorState,M=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);M!==X&&(this.errorState=M,this.stateChanges.next())}}}function ce(ue){return class extends ue{constructor(...X){super(...X),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new m.y(L=>{this._isInitialized?this._notifySubscriber(L):this._pendingSubscribers.push(L)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(X){X.next(),X.complete()}}}const Se=new n.InjectionToken("MAT_DATE_LOCALE",{providedIn:"root",factory:rt});function rt(){return(0,n.inject)(n.LOCALE_ID)}class gt{constructor(){this._localeChanges=new p.x,this.localeChanges=this._localeChanges}getValidDateOrNull(X){return this.isDateInstance(X)&&this.isValid(X)?X:null}deserialize(X){return null==X||this.isDateInstance(X)&&this.isValid(X)?X:this.invalid()}setLocale(X){this.locale=X,this._localeChanges.next()}compareDate(X,L){return this.getYear(X)-this.getYear(L)||this.getMonth(X)-this.getMonth(L)||this.getDate(X)-this.getDate(L)}sameDate(X,L){if(X&&L){let P=this.isValid(X),le=this.isValid(L);return P&&le?!this.compareDate(X,L):P==le}return X==L}clampDate(X,L,P){return L&&this.compareDate(X,L)<0?L:P&&this.compareDate(X,P)>0?P:X}}const Ge=new n.InjectionToken("mat-date-formats"),ht=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function qe(ue,X){const L=Array(ue);for(let P=0;P<ue;P++)L[P]=X(P);return L}let lt=(()=>{class ue extends gt{constructor(L,P){super(),this.useUtcForDisplay=!1,super.setLocale(L)}getYear(L){return L.getFullYear()}getMonth(L){return L.getMonth()}getDate(L){return L.getDate()}getDayOfWeek(L){return L.getDay()}getMonthNames(L){const P=new Intl.DateTimeFormat(this.locale,{month:L,timeZone:"utc"});return qe(12,le=>this._format(P,new Date(2017,le,1)))}getDateNames(){const L=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return qe(31,P=>this._format(L,new Date(2017,0,P+1)))}getDayOfWeekNames(L){const P=new Intl.DateTimeFormat(this.locale,{weekday:L,timeZone:"utc"});return qe(7,le=>this._format(P,new Date(2017,0,le+1)))}getYearName(L){const P=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(P,L)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(L){return this.getDate(this._createDateWithOverflow(this.getYear(L),this.getMonth(L)+1,0))}clone(L){return new Date(L.getTime())}createDate(L,P,le){let M=this._createDateWithOverflow(L,P,le);return M.getMonth(),M}today(){return new Date}parse(L){return"number"==typeof L?new Date(L):L?new Date(Date.parse(L)):null}format(L,P){if(!this.isValid(L))throw Error("NativeDateAdapter: Cannot format invalid date.");const le=new Intl.DateTimeFormat(this.locale,Object.assign(Object.assign({},P),{timeZone:"utc"}));return this._format(le,L)}addCalendarYears(L,P){return this.addCalendarMonths(L,12*P)}addCalendarMonths(L,P){let le=this._createDateWithOverflow(this.getYear(L),this.getMonth(L)+P,this.getDate(L));return this.getMonth(le)!=((this.getMonth(L)+P)%12+12)%12&&(le=this._createDateWithOverflow(this.getYear(le),this.getMonth(le),0)),le}addCalendarDays(L,P){return this._createDateWithOverflow(this.getYear(L),this.getMonth(L),this.getDate(L)+P)}toIso8601(L){return[L.getUTCFullYear(),this._2digit(L.getUTCMonth()+1),this._2digit(L.getUTCDate())].join("-")}deserialize(L){if("string"==typeof L){if(!L)return null;if(ht.test(L)){let P=new Date(L);if(this.isValid(P))return P}}return super.deserialize(L)}isDateInstance(L){return L instanceof Date}isValid(L){return!isNaN(L.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(L,P,le){const M=new Date;return M.setFullYear(L,P,le),M.setHours(0,0,0,0),M}_2digit(L){return("00"+L).slice(-2)}_format(L,P){const le=new Date;return le.setUTCFullYear(P.getFullYear(),P.getMonth(),P.getDate()),le.setUTCHours(P.getHours(),P.getMinutes(),P.getSeconds(),P.getMilliseconds()),L.format(le)}}return ue.\u0275fac=function(L){return new(L||ue)(n.\u0275\u0275inject(Se,8),n.\u0275\u0275inject(o.t4))},ue.\u0275prov=n.\u0275\u0275defineInjectable({token:ue,factory:ue.\u0275fac}),ue})();const Be={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 et=(()=>{class ue{}return ue.\u0275fac=function(L){return new(L||ue)},ue.\u0275mod=n.\u0275\u0275defineNgModule({type:ue}),ue.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:gt,useClass:lt}]}),ue})(),Ne=(()=>{class ue{}return ue.\u0275fac=function(L){return new(L||ue)},ue.\u0275mod=n.\u0275\u0275defineNgModule({type:ue}),ue.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:Ge,useValue:Be}],imports:[[et]]}),ue})(),We=(()=>{class ue{isErrorState(L,P){return!!(L&&L.invalid&&(L.dirty||P&&P.submitted))}}return ue.\u0275fac=function(L){return new(L||ue)},ue.\u0275prov=n.\u0275\u0275defineInjectable({token:ue,factory:ue.\u0275fac}),ue})(),ft=(()=>{class ue{isErrorState(L,P){return!!(L&&L.invalid&&(L.touched||P&&P.submitted))}}return ue.\u0275fac=function(L){return new(L||ue)},ue.\u0275prov=n.\u0275\u0275defineInjectable({token:ue,factory:ue.\u0275fac,providedIn:"root"}),ue})(),ve=(()=>{class ue{}return ue.\u0275fac=function(L){return new(L||ue)},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),ue})();function we(ue,X,L="mat"){ue.changes.pipe((0,u.O)(ue)).subscribe(({length:P})=>{B(X,`${L}-2-line`,!1),B(X,`${L}-3-line`,!1),B(X,`${L}-multi-line`,!1),2===P||3===P?B(X,`${L}-${P}-line`,!0):P>3&&B(X,`${L}-multi-line`,!0)})}function B(ue,X,L){ue.nativeElement.classList.toggle(X,L)}let te=(()=>{class ue{}return ue.\u0275fac=function(L){return new(L||ue)},ue.\u0275mod=n.\u0275\u0275defineNgModule({type:ue}),ue.\u0275inj=n.\u0275\u0275defineInjector({imports:[[se],se]}),ue})();class Me{constructor(X,L,P){this._renderer=X,this.element=L,this.config=P,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Ue={enterDuration:225,exitDuration:150},Re=(0,o.i$)({passive:!0}),V=["mousedown","touchstart"],ge=["mouseup","mouseleave","touchend","touchcancel"];class xe{constructor(X,L,P,le){this._target=X,this._ngZone=L,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,le.isBrowser&&(this._containerElement=(0,f.fI)(P))}fadeInRipple(X,L,P={}){const le=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),M=Object.assign(Object.assign({},Ue),P.animation);P.centered&&(X=le.left+le.width/2,L=le.top+le.height/2);const U=P.radius||function st(ue,X,L){const P=Math.max(Math.abs(ue-L.left),Math.abs(ue-L.right)),le=Math.max(Math.abs(X-L.top),Math.abs(X-L.bottom));return Math.sqrt(P*P+le*le)}(X,L,le),Ie=X-le.left,it=L-le.top,Lt=M.enterDuration,jt=document.createElement("div");jt.classList.add("mat-ripple-element"),jt.style.left=Ie-U+"px",jt.style.top=it-U+"px",jt.style.height=2*U+"px",jt.style.width=2*U+"px",null!=P.color&&(jt.style.backgroundColor=P.color),jt.style.transitionDuration=`${Lt}ms`,this._containerElement.appendChild(jt),function Je(ue){window.getComputedStyle(ue).getPropertyValue("opacity")}(jt),jt.style.transform="scale(1)";const Pe=new Me(this,jt,P);return Pe.state=0,this._activeRipples.add(Pe),P.persistent||(this._mostRecentTransientRipple=Pe),this._runTimeoutOutsideZone(()=>{const je=Pe===this._mostRecentTransientRipple;Pe.state=1,!P.persistent&&(!je||!this._isPointerDown)&&Pe.fadeOut()},Lt),Pe}fadeOutRipple(X){const L=this._activeRipples.delete(X);if(X===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!L)return;const P=X.element,le=Object.assign(Object.assign({},Ue),X.config.animation);P.style.transitionDuration=`${le.exitDuration}ms`,P.style.opacity="0",X.state=2,this._runTimeoutOutsideZone(()=>{X.state=3,P.remove()},le.exitDuration)}fadeOutAll(){this._activeRipples.forEach(X=>X.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(X=>{X.config.persistent||X.fadeOut()})}setupTriggerEvents(X){const L=(0,f.fI)(X);!L||L===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=L,this._registerEvents(V))}handleEvent(X){"mousedown"===X.type?this._onMousedown(X):"touchstart"===X.type?this._onTouchStart(X):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(ge),this._pointerUpEventsRegistered=!0)}_onMousedown(X){const L=(0,c.X6)(X),P=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!L&&!P&&(this._isPointerDown=!0,this.fadeInRipple(X.clientX,X.clientY,this._target.rippleConfig))}_onTouchStart(X){if(!this._target.rippleDisabled&&!(0,c.yG)(X)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const L=X.changedTouches;for(let P=0;P<L.length;P++)this.fadeInRipple(L[P].clientX,L[P].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._activeRipples.forEach(X=>{!X.config.persistent&&(1===X.state||X.config.terminateOnPointerUp&&0===X.state)&&X.fadeOut()}))}_runTimeoutOutsideZone(X,L=0){this._ngZone.runOutsideAngular(()=>setTimeout(X,L))}_registerEvents(X){this._ngZone.runOutsideAngular(()=>{X.forEach(L=>{this._triggerElement.addEventListener(L,this,Re)})})}_removeTriggerEvents(){this._triggerElement&&(V.forEach(X=>{this._triggerElement.removeEventListener(X,this,Re)}),this._pointerUpEventsRegistered&&ge.forEach(X=>{this._triggerElement.removeEventListener(X,this,Re)}))}}const Et=new n.InjectionToken("mat-ripple-global-options");let Tt=(()=>{class ue{constructor(L,P,le,M,U){this._elementRef=L,this._animationMode=U,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=M||{},this._rippleRenderer=new xe(this,P,L,le)}get disabled(){return this._disabled}set disabled(L){L&&this.fadeOutAllNonPersistent(),this._disabled=L,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(L){this._trigger=L,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(L,P=0,le){return"number"==typeof L?this._rippleRenderer.fadeInRipple(L,P,Object.assign(Object.assign({},this.rippleConfig),le)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),L))}}return ue.\u0275fac=function(L){return new(L||ue)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(o.t4),n.\u0275\u0275directiveInject(Et,8),n.\u0275\u0275directiveInject(_.ANIMATION_MODULE_TYPE,8))},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(L,P){2&L&&n.\u0275\u0275classProp("mat-ripple-unbounded",P.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"]}),ue})(),Pt=(()=>{class ue{}return ue.\u0275fac=function(L){return new(L||ue)},ue.\u0275mod=n.\u0275\u0275defineNgModule({type:ue}),ue.\u0275inj=n.\u0275\u0275defineInjector({imports:[[se],se]}),ue})(),He=(()=>{class ue{constructor(L){this._animationMode=L,this.state="unchecked",this.disabled=!1}}return ue.\u0275fac=function(L){return new(L||ue)(n.\u0275\u0275directiveInject(_.ANIMATION_MODULE_TYPE,8))},ue.\u0275cmp=n.\u0275\u0275defineComponent({type:ue,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(L,P){2&L&&n.\u0275\u0275classProp("mat-pseudo-checkbox-indeterminate","indeterminate"===P.state)("mat-pseudo-checkbox-checked","checked"===P.state)("mat-pseudo-checkbox-disabled",P.disabled)("_mat-animation-noopable","NoopAnimations"===P._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(L,P){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),ue})(),Ee=(()=>{class ue{}return ue.\u0275fac=function(L){return new(L||ue)},ue.\u0275mod=n.\u0275\u0275defineNgModule({type:ue}),ue.\u0275inj=n.\u0275\u0275defineInjector({imports:[[se]]}),ue})();const Ce=new n.InjectionToken("MAT_OPTION_PARENT_COMPONENT"),Ye=_e(class{});let Xe=0,ot=(()=>{class ue extends Ye{constructor(L){var P;super(),this._labelId="mat-optgroup-label-"+Xe++,this._inert=null!==(P=null==L?void 0:L.inertGroups)&&void 0!==P&&P}}return ue.\u0275fac=function(L){return new(L||ue)(n.\u0275\u0275directiveInject(Ce,8))},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,inputs:{label:"label"},features:[n.\u0275\u0275InheritDefinitionFeature]}),ue})();const Dt=new n.InjectionToken("MatOptgroup");let Oe=(()=>{class ue extends ot{}return ue.\u0275fac=function(){let X;return function(P){return(X||(X=n.\u0275\u0275getInheritedFactory(ue)))(P||ue)}}(),ue.\u0275cmp=n.\u0275\u0275defineComponent({type:ue,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-optgroup"],hostVars:5,hostBindings:function(L,P){2&L&&(n.\u0275\u0275attribute("role",P._inert?null:"group")("aria-disabled",P._inert?null:P.disabled.toString())("aria-labelledby",P._inert?null:P._labelId),n.\u0275\u0275classProp("mat-optgroup-disabled",P.disabled))},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[n.\u0275\u0275ProvidersFeature([{provide:Dt,useExisting:ue}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:T,decls:4,vars:2,consts:[["aria-hidden","true",1,"mat-optgroup-label",3,"id"]],template:function(L,P){1&L&&(n.\u0275\u0275projectionDef(b),n.\u0275\u0275elementStart(0,"span",0),n.\u0275\u0275text(1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd(),n.\u0275\u0275projection(3,1)),2&L&&(n.\u0275\u0275property("id",P._labelId),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("",P.label," "))},styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),ue})(),ze=0;class ct{constructor(X,L=!1){this.source=X,this.isUserInput=L}}let Ct=(()=>{class ue{constructor(L,P,le,M){this._element=L,this._changeDetectorRef=P,this._parent=le,this.group=M,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+ze++,this.onSelectionChange=new n.EventEmitter,this._stateChanges=new p.x}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(L){this._disabled=(0,f.Ig)(L)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(L,P){const le=this._getHostElement();"function"==typeof le.focus&&le.focus(P)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(L){(L.keyCode===v.K5||L.keyCode===v.L_)&&!(0,v.Vb)(L)&&(this._selectViaInteraction(),L.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const L=this.viewValue;L!==this._mostRecentViewValue&&(this._mostRecentViewValue=L,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(L=!1){this.onSelectionChange.emit(new ct(this,L))}}return ue.\u0275fac=function(L){n.\u0275\u0275invalidFactory()},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),ue})(),_t=(()=>{class ue extends Ct{constructor(L,P,le,M){super(L,P,le,M)}}return ue.\u0275fac=function(L){return new(L||ue)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(Ce,8),n.\u0275\u0275directiveInject(Dt,8))},ue.\u0275cmp=n.\u0275\u0275defineComponent({type:ue,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(L,P){1&L&&n.\u0275\u0275listener("click",function(){return P._selectViaInteraction()})("keydown",function(M){return P._handleKeydown(M)}),2&L&&(n.\u0275\u0275hostProperty("id",P.id),n.\u0275\u0275attribute("tabindex",P._getTabIndex())("aria-selected",P._getAriaSelected())("aria-disabled",P.disabled.toString()),n.\u0275\u0275classProp("mat-selected",P.selected)("mat-option-multiple",P.multiple)("mat-active",P.active)("mat-option-disabled",P.disabled))},exportAs:["matOption"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:A,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(L,P){1&L&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275template(0,S,1,2,"mat-pseudo-checkbox",0),n.\u0275\u0275elementStart(1,"span",1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(3,x,2,1,"span",2),n.\u0275\u0275element(4,"div",3)),2&L&&(n.\u0275\u0275property("ngIf",P.multiple),n.\u0275\u0275advance(3),n.\u0275\u0275property("ngIf",P.group&&P.group._inert),n.\u0275\u0275advance(1),n.\u0275\u0275property("matRippleTrigger",P._getHostElement())("matRippleDisabled",P.disabled||P.disableRipple))},directives:[He,d.NgIf,Tt],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),ue})();function Ht(ue,X,L){if(L.length){let P=X.toArray(),le=L.toArray(),M=0;for(let U=0;U<ue+1;U++)P[U].group&&P[U].group===le[M]&&M++;return M}return 0}function wt(ue,X,L,P){return ue<L?ue:ue+X>L+P?Math.max(0,ue-P+X):L}let $t=(()=>{class ue{}return ue.\u0275fac=function(L){return new(L||ue)},ue.\u0275mod=n.\u0275\u0275defineNgModule({type:ue}),ue.\u0275inj=n.\u0275\u0275defineInjector({imports:[[Pt,d.CommonModule,se,Ee]]}),ue})()},2339:(G,r,a)=>{"use strict";a.r(r),a.d(r,{MAT_DIALOG_DATA:()=>de,MAT_DIALOG_DEFAULT_OPTIONS:()=>W,MAT_DIALOG_SCROLL_STRATEGY:()=>he,MAT_DIALOG_SCROLL_STRATEGY_FACTORY:()=>ce,MAT_DIALOG_SCROLL_STRATEGY_PROVIDER:()=>rt,MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY:()=>Se,MatDialog:()=>Ge,MatDialogActions:()=>Ne,MatDialogClose:()=>lt,MatDialogConfig:()=>J,MatDialogContainer:()=>me,MatDialogContent:()=>et,MatDialogModule:()=>ft,MatDialogRef:()=>_e,MatDialogTitle:()=>Be,_MatDialogBase:()=>gt,_MatDialogContainerBase:()=>ae,_closeDialogVia:()=>Y,matDialogAnimations:()=>z,throwMatDialogContentAlreadyAttachedError:()=>se});var n=a(1314),h=a(7429),y=a(5e3),d=a(508),o=a(226),c=a(8306),f=a(8421),m=a(7579),u=a(9646),_=a(9300),v=a(5698),b=a(8675),T=a(925),S=a(9808),x=a(1777),A=a(5664),H=a(1159),Z=a(6360);function Q(ve,we){}class J{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const z={dialogContainer:(0,x.X$)("dialogContainer",[(0,x.SB)("void, exit",(0,x.oB)({opacity:0,transform:"scale(0.7)"})),(0,x.SB)("enter",(0,x.oB)({transform:"none"})),(0,x.eR)("* => enter",(0,x.ru)([(0,x.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,x.oB)({transform:"none",opacity:1})),(0,x.IO)("@*",(0,x.pV)(),{optional:!0})])),(0,x.eR)("* => void, * => exit",(0,x.ru)([(0,x.jt)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,x.oB)({opacity:0})),(0,x.IO)("@*",(0,x.pV)(),{optional:!0})]))])};function se(){throw Error("Attempting to attach dialog content after content is already attached")}let ae=(()=>{class ve extends h.en{constructor(B,te,Me,Ue,Ke,Re,V,ge){super(),this._elementRef=B,this._focusTrapFactory=te,this._changeDetectorRef=Me,this._config=Ke,this._interactivityChecker=Re,this._ngZone=V,this._focusMonitor=ge,this._animationStateChanged=new y.EventEmitter,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=xe=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(xe)),this._ariaLabelledBy=Ke.ariaLabelledBy||null,this._document=Ue}_initializeWithAttachedContent(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,T.ht)())}attachComponentPortal(B){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(B)}attachTemplatePortal(B){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(B)}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(B,te){this._interactivityChecker.isFocusable(B)||(B.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{B.addEventListener("blur",()=>B.removeAttribute("tabindex")),B.addEventListener("mousedown",()=>B.removeAttribute("tabindex"))})),B.focus(te)}_focusByCssSelector(B,te){let Me=this._elementRef.nativeElement.querySelector(B);Me&&this._forceFocus(Me,te)}_trapFocus(){const B=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||B.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(te=>{te||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 B=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&B&&"function"==typeof B.focus){const te=(0,T.ht)(),Me=this._elementRef.nativeElement;(!te||te===this._document.body||te===Me||Me.contains(te))&&(this._focusMonitor?(this._focusMonitor.focusVia(B,this._closeInteractionType),this._closeInteractionType=null):B.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const B=this._elementRef.nativeElement,te=(0,T.ht)();return B===te||B.contains(te)}}return ve.\u0275fac=function(B){return new(B||ve)(y.\u0275\u0275directiveInject(y.ElementRef),y.\u0275\u0275directiveInject(A.qV),y.\u0275\u0275directiveInject(y.ChangeDetectorRef),y.\u0275\u0275directiveInject(S.DOCUMENT,8),y.\u0275\u0275directiveInject(J),y.\u0275\u0275directiveInject(A.ic),y.\u0275\u0275directiveInject(y.NgZone),y.\u0275\u0275directiveInject(A.tE))},ve.\u0275dir=y.\u0275\u0275defineDirective({type:ve,viewQuery:function(B,te){if(1&B&&y.\u0275\u0275viewQuery(h.Pl,7),2&B){let Me;y.\u0275\u0275queryRefresh(Me=y.\u0275\u0275loadQuery())&&(te._portalOutlet=Me.first)}},features:[y.\u0275\u0275InheritDefinitionFeature]}),ve})(),me=(()=>{class ve extends ae{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:B,totalTime:te}){"enter"===B?(this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:te})):"exit"===B&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:te}))}_onAnimationStart({toState:B,totalTime:te}){"enter"===B?this._animationStateChanged.next({state:"opening",totalTime:te}):("exit"===B||"void"===B)&&this._animationStateChanged.next({state:"closing",totalTime:te})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_initializeWithAttachedContent(){super._initializeWithAttachedContent(),this._config.delayFocusTrap||this._trapFocus()}}return ve.\u0275fac=function(){let we;return function(te){return(we||(we=y.\u0275\u0275getInheritedFactory(ve)))(te||ve)}}(),ve.\u0275cmp=y.\u0275\u0275defineComponent({type:ve,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(B,te){1&B&&y.\u0275\u0275syntheticHostListener("@dialogContainer.start",function(Ue){return te._onAnimationStart(Ue)})("@dialogContainer.done",function(Ue){return te._onAnimationDone(Ue)}),2&B&&(y.\u0275\u0275hostProperty("id",te._id),y.\u0275\u0275attribute("role",te._config.role)("aria-labelledby",te._config.ariaLabel?null:te._ariaLabelledBy)("aria-label",te._config.ariaLabel)("aria-describedby",te._config.ariaDescribedBy||null),y.\u0275\u0275syntheticHostProperty("@dialogContainer",te._state))},features:[y.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(B,te){1&B&&y.\u0275\u0275template(0,Q,0,0,"ng-template",0)},directives:[h.Pl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[z.dialogContainer]}}),ve})(),Te=0;class _e{constructor(we,B,te="mat-dialog-"+Te++){this._overlayRef=we,this._containerInstance=B,this.id=te,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new m.x,this._afterClosed=new m.x,this._beforeClosed=new m.x,this._state=0,B._id=te,B._animationStateChanged.pipe((0,_.h)(Me=>"opened"===Me.state),(0,v.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),B._animationStateChanged.pipe((0,_.h)(Me=>"closed"===Me.state),(0,v.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),we.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),we.keydownEvents().pipe((0,_.h)(Me=>Me.keyCode===H.hY&&!this.disableClose&&!(0,H.Vb)(Me))).subscribe(Me=>{Me.preventDefault(),Y(this,"keyboard")}),we.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():Y(this,"mouse")})}close(we){this._result=we,this._containerInstance._animationStateChanged.pipe((0,_.h)(B=>"closing"===B.state),(0,v.q)(1)).subscribe(B=>{this._beforeClosed.next(we),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),B.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(we){let B=this._getPositionStrategy();return we&&(we.left||we.right)?we.left?B.left(we.left):B.right(we.right):B.centerHorizontally(),we&&(we.top||we.bottom)?we.top?B.top(we.top):B.bottom(we.bottom):B.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(we="",B=""){return this._overlayRef.updateSize({width:we,height:B}),this._overlayRef.updatePosition(),this}addPanelClass(we){return this._overlayRef.addPanelClass(we),this}removePanelClass(we){return this._overlayRef.removePanelClass(we),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function Y(ve,we,B){return void 0!==ve._containerInstance&&(ve._containerInstance._closeInteractionType=we),ve.close(B)}const de=new y.InjectionToken("MatDialogData"),W=new y.InjectionToken("mat-dialog-default-options"),he=new y.InjectionToken("mat-dialog-scroll-strategy");function ce(ve){return()=>ve.scrollStrategies.block()}function Se(ve){return()=>ve.scrollStrategies.block()}const rt={provide:he,deps:[n.aV],useFactory:Se};let gt=(()=>{class ve{constructor(B,te,Me,Ue,Ke,Re,V,ge,xe,Je){this._overlay=B,this._injector=te,this._defaultOptions=Me,this._parentDialog=Ue,this._overlayContainer=Ke,this._dialogRefConstructor=V,this._dialogContainerType=ge,this._dialogDataToken=xe,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new m.x,this._afterOpenedAtThisLevel=new m.x,this._ariaHiddenElements=new Map,this.afterAllClosed=function p(ve){return new c.y(we=>{(0,f.Xf)(ve()).subscribe(we)})}(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,b.O)(void 0))),this._scrollStrategy=Re}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const B=this._parentDialog;return B?B._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(B,te){te=function ht(ve,we){return Object.assign(Object.assign({},we),ve)}(te,this._defaultOptions||new J),te.id&&this.getDialogById(te.id);const Me=this._createOverlay(te),Ue=this._attachDialogContainer(Me,te),Ke=this._attachDialogContent(B,Ue,Me,te);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(Ke),Ke.afterClosed().subscribe(()=>this._removeOpenDialog(Ke)),this.afterOpened.next(Ke),Ue._initializeWithAttachedContent(),Ke}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(B){return this.openDialogs.find(te=>te.id===B)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(B){const te=this._getOverlayConfig(B);return this._overlay.create(te)}_getOverlayConfig(B){const te=new n.X_({positionStrategy:this._overlay.position().global(),scrollStrategy:B.scrollStrategy||this._scrollStrategy(),panelClass:B.panelClass,hasBackdrop:B.hasBackdrop,direction:B.direction,minWidth:B.minWidth,minHeight:B.minHeight,maxWidth:B.maxWidth,maxHeight:B.maxHeight,disposeOnNavigation:B.closeOnNavigation});return B.backdropClass&&(te.backdropClass=B.backdropClass),te}_attachDialogContainer(B,te){const Ue=y.Injector.create({parent:te&&te.viewContainerRef&&te.viewContainerRef.injector||this._injector,providers:[{provide:J,useValue:te}]}),Ke=new h.C5(this._dialogContainerType,te.viewContainerRef,Ue,te.componentFactoryResolver);return B.attach(Ke).instance}_attachDialogContent(B,te,Me,Ue){const Ke=new this._dialogRefConstructor(Me,te,Ue.id);if(B instanceof y.TemplateRef)te.attachTemplatePortal(new h.UE(B,null,{$implicit:Ue.data,dialogRef:Ke}));else{const Re=this._createInjector(Ue,Ke,te),V=te.attachComponentPortal(new h.C5(B,Ue.viewContainerRef,Re,Ue.componentFactoryResolver));Ke.componentInstance=V.instance}return Ke.updateSize(Ue.width,Ue.height).updatePosition(Ue.position),Ke}_createInjector(B,te,Me){const Ue=B&&B.viewContainerRef&&B.viewContainerRef.injector,Ke=[{provide:this._dialogContainerType,useValue:Me},{provide:this._dialogDataToken,useValue:B.data},{provide:this._dialogRefConstructor,useValue:te}];return B.direction&&(!Ue||!Ue.get(o.Is,null,y.InjectFlags.Optional))&&Ke.push({provide:o.Is,useValue:{value:B.direction,change:(0,u.of)()}}),y.Injector.create({parent:Ue||this._injector,providers:Ke})}_removeOpenDialog(B){const te=this.openDialogs.indexOf(B);te>-1&&(this.openDialogs.splice(te,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((Me,Ue)=>{Me?Ue.setAttribute("aria-hidden",Me):Ue.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const B=this._overlayContainer.getContainerElement();if(B.parentElement){const te=B.parentElement.children;for(let Me=te.length-1;Me>-1;Me--){let Ue=te[Me];Ue!==B&&"SCRIPT"!==Ue.nodeName&&"STYLE"!==Ue.nodeName&&!Ue.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(Ue,Ue.getAttribute("aria-hidden")),Ue.setAttribute("aria-hidden","true"))}}}_closeDialogs(B){let te=B.length;for(;te--;)B[te].close()}}return ve.\u0275fac=function(B){y.\u0275\u0275invalidFactory()},ve.\u0275dir=y.\u0275\u0275defineDirective({type:ve}),ve})(),Ge=(()=>{class ve extends gt{constructor(B,te,Me,Ue,Ke,Re,V,ge){super(B,te,Ue,Re,V,Ke,_e,me,de,ge)}}return ve.\u0275fac=function(B){return new(B||ve)(y.\u0275\u0275inject(n.aV),y.\u0275\u0275inject(y.Injector),y.\u0275\u0275inject(S.Location,8),y.\u0275\u0275inject(W,8),y.\u0275\u0275inject(he),y.\u0275\u0275inject(ve,12),y.\u0275\u0275inject(n.Xj),y.\u0275\u0275inject(Z.ANIMATION_MODULE_TYPE,8))},ve.\u0275prov=y.\u0275\u0275defineInjectable({token:ve,factory:ve.\u0275fac}),ve})(),qe=0,lt=(()=>{class ve{constructor(B,te,Me){this.dialogRef=B,this._elementRef=te,this._dialog=Me,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=We(this._elementRef,this._dialog.openDialogs))}ngOnChanges(B){const te=B._matDialogClose||B._matDialogCloseResult;te&&(this.dialogResult=te.currentValue)}_onButtonClick(B){Y(this.dialogRef,0===B.screenX&&0===B.screenY?"keyboard":"mouse",this.dialogResult)}}return ve.\u0275fac=function(B){return new(B||ve)(y.\u0275\u0275directiveInject(_e,8),y.\u0275\u0275directiveInject(y.ElementRef),y.\u0275\u0275directiveInject(Ge))},ve.\u0275dir=y.\u0275\u0275defineDirective({type:ve,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(B,te){1&B&&y.\u0275\u0275listener("click",function(Ue){return te._onButtonClick(Ue)}),2&B&&y.\u0275\u0275attribute("aria-label",te.ariaLabel||null)("type",te.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[y.\u0275\u0275NgOnChangesFeature]}),ve})(),Be=(()=>{class ve{constructor(B,te,Me){this._dialogRef=B,this._elementRef=te,this._dialog=Me,this.id="mat-dialog-title-"+qe++}ngOnInit(){this._dialogRef||(this._dialogRef=We(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const B=this._dialogRef._containerInstance;B&&!B._ariaLabelledBy&&(B._ariaLabelledBy=this.id)})}}return ve.\u0275fac=function(B){return new(B||ve)(y.\u0275\u0275directiveInject(_e,8),y.\u0275\u0275directiveInject(y.ElementRef),y.\u0275\u0275directiveInject(Ge))},ve.\u0275dir=y.\u0275\u0275defineDirective({type:ve,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(B,te){2&B&&y.\u0275\u0275hostProperty("id",te.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),ve})(),et=(()=>{class ve{}return ve.\u0275fac=function(B){return new(B||ve)},ve.\u0275dir=y.\u0275\u0275defineDirective({type:ve,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),ve})(),Ne=(()=>{class ve{}return ve.\u0275fac=function(B){return new(B||ve)},ve.\u0275dir=y.\u0275\u0275defineDirective({type:ve,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),ve})();function We(ve,we){let B=ve.nativeElement.parentElement;for(;B&&!B.classList.contains("mat-dialog-container");)B=B.parentElement;return B?we.find(te=>te.id===B.id):null}let ft=(()=>{class ve{}return ve.\u0275fac=function(B){return new(B||ve)},ve.\u0275mod=y.\u0275\u0275defineNgModule({type:ve}),ve.\u0275inj=y.\u0275\u0275defineInjector({providers:[Ge,rt],imports:[[n.U8,h.eL,d.MatCommonModule],d.MatCommonModule]}),ve})()},3293:(G,r,a)=>{"use strict";a.r(r),a.d(r,{ICON_REGISTRY_PROVIDER:()=>Se,ICON_REGISTRY_PROVIDER_FACTORY:()=>ce,MAT_ICON_LOCATION:()=>qe,MAT_ICON_LOCATION_FACTORY:()=>lt,MatIcon:()=>We,MatIconModule:()=>ft,MatIconRegistry:()=>he,getMatIconFailedToSanitizeLiteralError:()=>de,getMatIconFailedToSanitizeUrlError:()=>Y,getMatIconNameNotFoundError:()=>Te,getMatIconNoHttpProviderError:()=>_e});var n=a(5e3),h=a(508),y=a(3191),d=a(9808),o=a(8306),c=a(576),p=a(9646),m=a(4128),u=a(727),_=a(8421),v=a(5403),b=a(4482);function T(ve){return(0,b.e)((we,B)=>{let Ue,te=null,Me=!1;te=we.subscribe((0,v.x)(B,void 0,void 0,Ke=>{Ue=(0,_.Xf)(ve(Ke,T(ve)(we))),te?(te.unsubscribe(),te=null,Ue.subscribe(B)):Me=!0})),Me&&(te.unsubscribe(),te=null,Ue.subscribe(B))})}var x=a(8505),A=a(4004),H=a(3099),Z=a(5698),Q=a(6529),J=a(2313);const z=["*"];let se;function me(ve){var we;return(null===(we=function ae(){if(void 0===se&&(se=null,"undefined"!=typeof window)){const ve=window;void 0!==ve.trustedTypes&&(se=ve.trustedTypes.createPolicy("angular#components",{createHTML:we=>we}))}return se}())||void 0===we?void 0:we.createHTML(ve))||ve}function Te(ve){return Error(`Unable to find icon with the name "${ve}"`)}function _e(){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 Y(ve){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${ve}".`)}function de(ve){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${ve}".`)}class W{constructor(we,B,te){this.url=we,this.svgText=B,this.options=te}}let he=(()=>{class ve{constructor(B,te,Me,Ue){this._httpClient=B,this._sanitizer=te,this._errorHandler=Ue,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=Me}addSvgIcon(B,te,Me){return this.addSvgIconInNamespace("",B,te,Me)}addSvgIconLiteral(B,te,Me){return this.addSvgIconLiteralInNamespace("",B,te,Me)}addSvgIconInNamespace(B,te,Me,Ue){return this._addSvgIconConfig(B,te,new W(Me,null,Ue))}addSvgIconResolver(B){return this._resolvers.push(B),this}addSvgIconLiteralInNamespace(B,te,Me,Ue){const Ke=this._sanitizer.sanitize(n.SecurityContext.HTML,Me);if(!Ke)throw de(Me);const Re=me(Ke);return this._addSvgIconConfig(B,te,new W("",Re,Ue))}addSvgIconSet(B,te){return this.addSvgIconSetInNamespace("",B,te)}addSvgIconSetLiteral(B,te){return this.addSvgIconSetLiteralInNamespace("",B,te)}addSvgIconSetInNamespace(B,te,Me){return this._addSvgIconSetConfig(B,new W(te,null,Me))}addSvgIconSetLiteralInNamespace(B,te,Me){const Ue=this._sanitizer.sanitize(n.SecurityContext.HTML,te);if(!Ue)throw de(te);const Ke=me(Ue);return this._addSvgIconSetConfig(B,new W("",Ke,Me))}registerFontClassAlias(B,te=B){return this._fontCssClassesByAlias.set(B,te),this}classNameForFontAlias(B){return this._fontCssClassesByAlias.get(B)||B}setDefaultFontSetClass(B){return this._defaultFontSetClass=B,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(B){const te=this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,B);if(!te)throw Y(B);const Me=this._cachedIconsByUrl.get(te);return Me?(0,p.of)(rt(Me)):this._loadSvgIconFromConfig(new W(B,null)).pipe((0,x.b)(Ue=>this._cachedIconsByUrl.set(te,Ue)),(0,A.U)(Ue=>rt(Ue)))}getNamedSvgIcon(B,te=""){const Me=gt(te,B);let Ue=this._svgIconConfigs.get(Me);if(Ue)return this._getSvgFromConfig(Ue);if(Ue=this._getIconConfigFromResolvers(te,B),Ue)return this._svgIconConfigs.set(Me,Ue),this._getSvgFromConfig(Ue);const Ke=this._iconSetConfigs.get(te);return Ke?this._getSvgFromIconSetConfigs(B,Ke):function f(ve,we){const B=(0,c.m)(ve)?ve:()=>ve,te=Me=>Me.error(B());return new o.y(we?Me=>we.schedule(te,0,Me):te)}(Te(Me))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(B){return B.svgText?(0,p.of)(rt(this._svgElementFromConfig(B))):this._loadSvgIconFromConfig(B).pipe((0,A.U)(te=>rt(te)))}_getSvgFromIconSetConfigs(B,te){const Me=this._extractIconWithNameFromAnySet(B,te);if(Me)return(0,p.of)(Me);const Ue=te.filter(Ke=>!Ke.svgText).map(Ke=>this._loadSvgIconSetFromConfig(Ke).pipe(T(Re=>{const ge=`Loading icon set URL: ${this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,Ke.url)} failed: ${Re.message}`;return this._errorHandler.handleError(new Error(ge)),(0,p.of)(null)})));return(0,m.D)(Ue).pipe((0,A.U)(()=>{const Ke=this._extractIconWithNameFromAnySet(B,te);if(!Ke)throw Te(B);return Ke}))}_extractIconWithNameFromAnySet(B,te){for(let Me=te.length-1;Me>=0;Me--){const Ue=te[Me];if(Ue.svgText&&Ue.svgText.toString().indexOf(B)>-1){const Ke=this._svgElementFromConfig(Ue),Re=this._extractSvgIconFromSet(Ke,B,Ue.options);if(Re)return Re}}return null}_loadSvgIconFromConfig(B){return this._fetchIcon(B).pipe((0,x.b)(te=>B.svgText=te),(0,A.U)(()=>this._svgElementFromConfig(B)))}_loadSvgIconSetFromConfig(B){return B.svgText?(0,p.of)(null):this._fetchIcon(B).pipe((0,x.b)(te=>B.svgText=te))}_extractSvgIconFromSet(B,te,Me){const Ue=B.querySelector(`[id="${te}"]`);if(!Ue)return null;const Ke=Ue.cloneNode(!0);if(Ke.removeAttribute("id"),"svg"===Ke.nodeName.toLowerCase())return this._setSvgAttributes(Ke,Me);if("symbol"===Ke.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(Ke),Me);const Re=this._svgElementFromString(me("<svg></svg>"));return Re.appendChild(Ke),this._setSvgAttributes(Re,Me)}_svgElementFromString(B){const te=this._document.createElement("DIV");te.innerHTML=B;const Me=te.querySelector("svg");if(!Me)throw Error("<svg> tag not found");return Me}_toSvgElement(B){const te=this._svgElementFromString(me("<svg></svg>")),Me=B.attributes;for(let Ue=0;Ue<Me.length;Ue++){const{name:Ke,value:Re}=Me[Ue];"id"!==Ke&&te.setAttribute(Ke,Re)}for(let Ue=0;Ue<B.childNodes.length;Ue++)B.childNodes[Ue].nodeType===this._document.ELEMENT_NODE&&te.appendChild(B.childNodes[Ue].cloneNode(!0));return te}_setSvgAttributes(B,te){return B.setAttribute("fit",""),B.setAttribute("height","100%"),B.setAttribute("width","100%"),B.setAttribute("preserveAspectRatio","xMidYMid meet"),B.setAttribute("focusable","false"),te&&te.viewBox&&B.setAttribute("viewBox",te.viewBox),B}_fetchIcon(B){var te;const{url:Me,options:Ue}=B,Ke=null!==(te=null==Ue?void 0:Ue.withCredentials)&&void 0!==te&&te;if(!this._httpClient)throw _e();if(null==Me)throw Error(`Cannot fetch icon from URL "${Me}".`);const Re=this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,Me);if(!Re)throw Y(Me);const V=this._inProgressUrlFetches.get(Re);if(V)return V;const ge=this._httpClient.get(Re,{responseType:"text",withCredentials:Ke}).pipe((0,A.U)(xe=>me(xe)),function S(ve){return(0,b.e)((we,B)=>{try{we.subscribe(B)}finally{B.add(ve)}})}(()=>this._inProgressUrlFetches.delete(Re)),(0,H.B)());return this._inProgressUrlFetches.set(Re,ge),ge}_addSvgIconConfig(B,te,Me){return this._svgIconConfigs.set(gt(B,te),Me),this}_addSvgIconSetConfig(B,te){const Me=this._iconSetConfigs.get(B);return Me?Me.push(te):this._iconSetConfigs.set(B,[te]),this}_svgElementFromConfig(B){if(!B.svgElement){const te=this._svgElementFromString(B.svgText);this._setSvgAttributes(te,B.options),B.svgElement=te}return B.svgElement}_getIconConfigFromResolvers(B,te){for(let Me=0;Me<this._resolvers.length;Me++){const Ue=this._resolvers[Me](te,B);if(Ue)return Ge(Ue)?new W(Ue.url,null,Ue.options):new W(Ue,null)}}}return ve.\u0275fac=function(B){return new(B||ve)(n.\u0275\u0275inject(Q.HttpClient,8),n.\u0275\u0275inject(J.DomSanitizer),n.\u0275\u0275inject(d.DOCUMENT,8),n.\u0275\u0275inject(n.ErrorHandler))},ve.\u0275prov=n.\u0275\u0275defineInjectable({token:ve,factory:ve.\u0275fac,providedIn:"root"}),ve})();function ce(ve,we,B,te,Me){return ve||new he(we,B,Me,te)}const Se={provide:he,deps:[[new n.Optional,new n.SkipSelf,he],[new n.Optional,Q.HttpClient],J.DomSanitizer,n.ErrorHandler,[new n.Optional,d.DOCUMENT]],useFactory:ce};function rt(ve){return ve.cloneNode(!0)}function gt(ve,we){return ve+":"+we}function Ge(ve){return!(!ve.url||!ve.options)}const ht=(0,h.mixinColor)(class{constructor(ve){this._elementRef=ve}}),qe=new n.InjectionToken("mat-icon-location",{providedIn:"root",factory:lt});function lt(){const ve=(0,n.inject)(d.DOCUMENT),we=ve?ve.location:null;return{getPathname:()=>we?we.pathname+we.search:""}}const Be=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],et=Be.map(ve=>`[${ve}]`).join(", "),Ne=/^url\(['"]?#(.*?)['"]?\)$/;let We=(()=>{class ve extends ht{constructor(B,te,Me,Ue,Ke){super(B),this._iconRegistry=te,this._location=Ue,this._errorHandler=Ke,this._inline=!1,this._currentIconFetch=u.w0.EMPTY,Me||B.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(B){this._inline=(0,y.Ig)(B)}get svgIcon(){return this._svgIcon}set svgIcon(B){B!==this._svgIcon&&(B?this._updateSvgIcon(B):this._svgIcon&&this._clearSvgElement(),this._svgIcon=B)}get fontSet(){return this._fontSet}set fontSet(B){const te=this._cleanupFontValue(B);te!==this._fontSet&&(this._fontSet=te,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(B){const te=this._cleanupFontValue(B);te!==this._fontIcon&&(this._fontIcon=te,this._updateFontIconClasses())}_splitIconName(B){if(!B)return["",""];const te=B.split(":");switch(te.length){case 1:return["",te[0]];case 2:return te;default:throw Error(`Invalid icon name: "${B}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const B=this._elementsWithExternalReferences;if(B&&B.size){const te=this._location.getPathname();te!==this._previousPath&&(this._previousPath=te,this._prependPathToReferences(te))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(B){this._clearSvgElement();const te=B.querySelectorAll("style");for(let Ue=0;Ue<te.length;Ue++)te[Ue].textContent+=" ";const Me=this._location.getPathname();this._previousPath=Me,this._cacheChildrenWithExternalReferences(B),this._prependPathToReferences(Me),this._elementRef.nativeElement.appendChild(B)}_clearSvgElement(){const B=this._elementRef.nativeElement;let te=B.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();te--;){const Me=B.childNodes[te];(1!==Me.nodeType||"svg"===Me.nodeName.toLowerCase())&&Me.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const B=this._elementRef.nativeElement,te=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();te!=this._previousFontSetClass&&(this._previousFontSetClass&&B.classList.remove(this._previousFontSetClass),te&&B.classList.add(te),this._previousFontSetClass=te),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&B.classList.remove(this._previousFontIconClass),this.fontIcon&&B.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(B){return"string"==typeof B?B.trim().split(" ")[0]:B}_prependPathToReferences(B){const te=this._elementsWithExternalReferences;te&&te.forEach((Me,Ue)=>{Me.forEach(Ke=>{Ue.setAttribute(Ke.name,`url('${B}#${Ke.value}')`)})})}_cacheChildrenWithExternalReferences(B){const te=B.querySelectorAll(et),Me=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let Ue=0;Ue<te.length;Ue++)Be.forEach(Ke=>{const Re=te[Ue],V=Re.getAttribute(Ke),ge=V?V.match(Ne):null;if(ge){let xe=Me.get(Re);xe||(xe=[],Me.set(Re,xe)),xe.push({name:Ke,value:ge[1]})}})}_updateSvgIcon(B){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),B){const[te,Me]=this._splitIconName(B);te&&(this._svgNamespace=te),Me&&(this._svgName=Me),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Me,te).pipe((0,Z.q)(1)).subscribe(Ue=>this._setSvgElement(Ue),Ue=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${te}:${Me}! ${Ue.message}`))})}}}return ve.\u0275fac=function(B){return new(B||ve)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(he),n.\u0275\u0275injectAttribute("aria-hidden"),n.\u0275\u0275directiveInject(qe),n.\u0275\u0275directiveInject(n.ErrorHandler))},ve.\u0275cmp=n.\u0275\u0275defineComponent({type:ve,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(B,te){2&B&&(n.\u0275\u0275attribute("data-mat-icon-type",te._usingFontIcon()?"font":"svg")("data-mat-icon-name",te._svgName||te.fontIcon)("data-mat-icon-namespace",te._svgNamespace||te.fontSet),n.\u0275\u0275classProp("mat-icon-inline",te.inline)("mat-icon-no-color","primary"!==te.color&&"accent"!==te.color&&"warn"!==te.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:z,decls:1,vars:0,template:function(B,te){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},styles:[".mat-icon{-webkit-user-select:none;-moz-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[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}\n"],encapsulation:2,changeDetection:0}),ve})(),ft=(()=>{class ve{}return ve.\u0275fac=function(B){return new(B||ve)},ve.\u0275mod=n.\u0275\u0275defineNgModule({type:ve}),ve.\u0275inj=n.\u0275\u0275defineInjector({imports:[[h.MatCommonModule],h.MatCommonModule]}),ve})()},5010:(G,r,a)=>{"use strict";a.r(r),a.d(r,{MAT_MENU_CONTENT:()=>We,MAT_MENU_DEFAULT_OPTIONS:()=>V,MAT_MENU_PANEL:()=>Ue,MAT_MENU_SCROLL_STRATEGY:()=>Et,MatMenu:()=>st,MatMenuContent:()=>ve,MatMenuItem:()=>Re,MatMenuModule:()=>Xe,MatMenuTrigger:()=>Ye,_MatMenuBase:()=>Je,_MatMenuContentBase:()=>ft,_MatMenuTriggerBase:()=>Ce,fadeInItems:()=>et,matMenuAnimations:()=>Be,transformMenu:()=>Ne});var n=a(5664),h=a(3191),y=a(1159),d=a(5e3),o=a(7579),c=a(727),f=a(6451),p=a(9646),m=a(3101),u=a(8421),_=a(4482),v=a(5403);function b(ot,Dt){return(0,_.e)((Oe,ze)=>{let ct=null,Ct=0,_t=!1;const Ht=()=>_t&&!ct&&ze.complete();Oe.subscribe((0,v.x)(ze,wt=>{null==ct||ct.unsubscribe();let $t=0;const ue=Ct++;(0,u.Xf)(ot(wt,ue)).subscribe(ct=(0,v.x)(ze,X=>ze.next(Dt?Dt(wt,X,ue,$t++):X),()=>{ct=null,Ht()}))},()=>{_t=!0,Ht()}))})}var T=a(4986),S=a(7272),x=a(5698),A=a(5032),Z=a(4004),J=a(5577);function z(ot,Dt){return Dt?Oe=>(0,S.z)(Dt.pipe((0,x.q)(1),function H(){return(0,_.e)((ot,Dt)=>{ot.subscribe((0,v.x)(Dt,A.Z))})}()),Oe.pipe(z(ot))):(0,J.z)((Oe,ze)=>ot(Oe,ze).pipe((0,x.q)(1),function Q(ot){return(0,Z.U)(()=>ot)}(Oe)))}var se=a(5963);function ae(ot,Dt=T.z){const Oe=(0,se.H)(ot,Dt);return z(()=>Oe)}var me=a(8675),Te=a(2722),_e=a(9300),Y=a(1777),de=a(7429),W=a(9808),he=a(508),ce=a(1314),Se=a(925),rt=a(226),gt=a(495);const Ge=["mat-menu-item",""];function ht(ot,Dt){1&ot&&(d.\u0275\u0275namespaceSVG(),d.\u0275\u0275elementStart(0,"svg",2),d.\u0275\u0275element(1,"polygon",3),d.\u0275\u0275elementEnd())}const qe=["*"];function lt(ot,Dt){if(1&ot){const Oe=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"div",0),d.\u0275\u0275listener("keydown",function(ct){return d.\u0275\u0275restoreView(Oe),d.\u0275\u0275nextContext()._handleKeydown(ct)})("click",function(){return d.\u0275\u0275restoreView(Oe),d.\u0275\u0275nextContext().closed.emit("click")})("@transformMenu.start",function(ct){return d.\u0275\u0275restoreView(Oe),d.\u0275\u0275nextContext()._onAnimationStart(ct)})("@transformMenu.done",function(ct){return d.\u0275\u0275restoreView(Oe),d.\u0275\u0275nextContext()._onAnimationDone(ct)}),d.\u0275\u0275elementStart(1,"div",1),d.\u0275\u0275projection(2),d.\u0275\u0275elementEnd()()}if(2&ot){const Oe=d.\u0275\u0275nextContext();d.\u0275\u0275property("id",Oe.panelId)("ngClass",Oe._classList)("@transformMenu",Oe._panelAnimationState),d.\u0275\u0275attribute("aria-label",Oe.ariaLabel||null)("aria-labelledby",Oe.ariaLabelledby||null)("aria-describedby",Oe.ariaDescribedby||null)}}const Be={transformMenu:(0,Y.X$)("transformMenu",[(0,Y.SB)("void",(0,Y.oB)({opacity:0,transform:"scale(0.8)"})),(0,Y.eR)("void => enter",(0,Y.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,Y.oB)({opacity:1,transform:"scale(1)"}))),(0,Y.eR)("* => void",(0,Y.jt)("100ms 25ms linear",(0,Y.oB)({opacity:0})))]),fadeInItems:(0,Y.X$)("fadeInItems",[(0,Y.SB)("showing",(0,Y.oB)({opacity:1})),(0,Y.eR)("void => *",[(0,Y.oB)({opacity:0}),(0,Y.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},et=Be.fadeInItems,Ne=Be.transformMenu,We=new d.InjectionToken("MatMenuContent");let ft=(()=>{class ot{constructor(Oe,ze,ct,Ct,_t,Ht,wt){this._template=Oe,this._componentFactoryResolver=ze,this._appRef=ct,this._injector=Ct,this._viewContainerRef=_t,this._document=Ht,this._changeDetectorRef=wt,this._attached=new o.x}attach(Oe={}){var ze;this._portal||(this._portal=new de.UE(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new de.u0(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));const ct=this._template.elementRef.nativeElement;ct.parentNode.insertBefore(this._outlet.outletElement,ct),null===(ze=this._changeDetectorRef)||void 0===ze||ze.markForCheck(),this._portal.attach(this._outlet,Oe),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}}return ot.\u0275fac=function(Oe){return new(Oe||ot)(d.\u0275\u0275directiveInject(d.TemplateRef),d.\u0275\u0275directiveInject(d.ComponentFactoryResolver),d.\u0275\u0275directiveInject(d.ApplicationRef),d.\u0275\u0275directiveInject(d.Injector),d.\u0275\u0275directiveInject(d.ViewContainerRef),d.\u0275\u0275directiveInject(W.DOCUMENT),d.\u0275\u0275directiveInject(d.ChangeDetectorRef))},ot.\u0275dir=d.\u0275\u0275defineDirective({type:ot}),ot})(),ve=(()=>{class ot extends ft{}return ot.\u0275fac=function(){let Dt;return function(ze){return(Dt||(Dt=d.\u0275\u0275getInheritedFactory(ot)))(ze||ot)}}(),ot.\u0275dir=d.\u0275\u0275defineDirective({type:ot,selectors:[["ng-template","matMenuContent",""]],features:[d.\u0275\u0275ProvidersFeature([{provide:We,useExisting:ot}]),d.\u0275\u0275InheritDefinitionFeature]}),ot})();const Ue=new d.InjectionToken("MAT_MENU_PANEL"),Ke=(0,he.mixinDisableRipple)((0,he.mixinDisabled)(class{}));let Re=(()=>{class ot extends Ke{constructor(Oe,ze,ct,Ct,_t){var Ht;super(),this._elementRef=Oe,this._document=ze,this._focusMonitor=ct,this._parentMenu=Ct,this._changeDetectorRef=_t,this.role="menuitem",this._hovered=new o.x,this._focused=new o.x,this._highlighted=!1,this._triggersSubmenu=!1,null===(Ht=null==Ct?void 0:Ct.addItem)||void 0===Ht||Ht.call(Ct,this)}focus(Oe,ze){this._focusMonitor&&Oe?this._focusMonitor.focusVia(this._getHostElement(),Oe,ze):this._getHostElement().focus(ze),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(Oe){this.disabled&&(Oe.preventDefault(),Oe.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var Oe;const ze=this._elementRef.nativeElement.cloneNode(!0),ct=ze.querySelectorAll("mat-icon, .material-icons");for(let Ct=0;Ct<ct.length;Ct++)ct[Ct].remove();return(null===(Oe=ze.textContent)||void 0===Oe?void 0:Oe.trim())||""}_setHighlighted(Oe){var ze;this._highlighted=Oe,null===(ze=this._changeDetectorRef)||void 0===ze||ze.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}}return ot.\u0275fac=function(Oe){return new(Oe||ot)(d.\u0275\u0275directiveInject(d.ElementRef),d.\u0275\u0275directiveInject(W.DOCUMENT),d.\u0275\u0275directiveInject(n.tE),d.\u0275\u0275directiveInject(Ue,8),d.\u0275\u0275directiveInject(d.ChangeDetectorRef))},ot.\u0275cmp=d.\u0275\u0275defineComponent({type:ot,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:10,hostBindings:function(Oe,ze){1&Oe&&d.\u0275\u0275listener("click",function(Ct){return ze._checkDisabled(Ct)})("mouseenter",function(){return ze._handleMouseEnter()}),2&Oe&&(d.\u0275\u0275attribute("role",ze.role)("tabindex",ze._getTabIndex())("aria-disabled",ze.disabled.toString())("disabled",ze.disabled||null),d.\u0275\u0275classProp("mat-menu-item",!0)("mat-menu-item-highlighted",ze._highlighted)("mat-menu-item-submenu-trigger",ze._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[d.\u0275\u0275InheritDefinitionFeature],attrs:Ge,ngContentSelectors:qe,decls:3,vars:3,consts:[["matRipple","",1,"mat-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-menu-submenu-icon","viewBox","0 0 5 10","focusable","false",4,"ngIf"],["viewBox","0 0 5 10","focusable","false",1,"mat-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(Oe,ze){1&Oe&&(d.\u0275\u0275projectionDef(),d.\u0275\u0275projection(0),d.\u0275\u0275element(1,"div",0),d.\u0275\u0275template(2,ht,2,0,"svg",1)),2&Oe&&(d.\u0275\u0275advance(1),d.\u0275\u0275property("matRippleDisabled",ze.disableRipple||ze.disabled)("matRippleTrigger",ze._getHostElement()),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",ze._triggersSubmenu))},directives:[he.MatRipple,W.NgIf],encapsulation:2,changeDetection:0}),ot})();const V=new d.InjectionToken("mat-menu-default-options",{providedIn:"root",factory:function ge(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let xe=0,Je=(()=>{class ot{constructor(Oe,ze,ct,Ct){this._elementRef=Oe,this._ngZone=ze,this._defaultOptions=ct,this._changeDetectorRef=Ct,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new d.QueryList,this._tabSubscription=c.w0.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new o.x,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new d.EventEmitter,this.close=this.closed,this.panelId="mat-menu-panel-"+xe++}get xPosition(){return this._xPosition}set xPosition(Oe){this._xPosition=Oe,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(Oe){this._yPosition=Oe,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(Oe){this._overlapTrigger=(0,h.Ig)(Oe)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(Oe){this._hasBackdrop=(0,h.Ig)(Oe)}set panelClass(Oe){const ze=this._previousPanelClass;ze&&ze.length&&ze.split(" ").forEach(ct=>{this._classList[ct]=!1}),this._previousPanelClass=Oe,Oe&&Oe.length&&(Oe.split(" ").forEach(ct=>{this._classList[ct]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(Oe){this.panelClass=Oe}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new n.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,me.O)(this._directDescendantItems),b(Oe=>(0,f.T)(...Oe.map(ze=>ze._focused)))).subscribe(Oe=>this._keyManager.updateActiveItem(Oe)),this._directDescendantItems.changes.subscribe(Oe=>{var ze;const ct=this._keyManager;if("enter"===this._panelAnimationState&&(null===(ze=ct.activeItem)||void 0===ze?void 0:ze._hasFocus())){const Ct=Oe.toArray(),_t=Math.max(0,Math.min(Ct.length-1,ct.activeItemIndex||0));Ct[_t]&&!Ct[_t].disabled?ct.setActiveItem(_t):ct.setNextItemActive()}})}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe((0,me.O)(this._directDescendantItems),b(ze=>(0,f.T)(...ze.map(ct=>ct._hovered))))}addItem(Oe){}removeItem(Oe){}_handleKeydown(Oe){const ze=Oe.keyCode,ct=this._keyManager;switch(ze){case y.hY:(0,y.Vb)(Oe)||(Oe.preventDefault(),this.closed.emit("keydown"));break;case y.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case y.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(ze===y.LH||ze===y.JH)&&ct.setFocusOrigin("keyboard"),void ct.onKeydown(Oe)}Oe.stopPropagation()}focusFirstItem(Oe="program"){this.lazyContent?this._ngZone.onStable.pipe((0,x.q)(1)).subscribe(()=>this._focusFirstItem(Oe)):this._focusFirstItem(Oe)}_focusFirstItem(Oe){const ze=this._keyManager;if(ze.setFocusOrigin(Oe).setFirstItemActive(),!ze.activeItem&&this._directDescendantItems.length){let ct=this._directDescendantItems.first._getHostElement().parentElement;for(;ct;){if("menu"===ct.getAttribute("role")){ct.focus();break}ct=ct.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(Oe){const ze=Math.min(this._baseElevation+Oe,24),ct=`${this._elevationPrefix}${ze}`,Ct=Object.keys(this._classList).find(_t=>_t.startsWith(this._elevationPrefix));(!Ct||Ct===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[ct]=!0,this._previousElevation=ct)}setPositionClasses(Oe=this.xPosition,ze=this.yPosition){var ct;const Ct=this._classList;Ct["mat-menu-before"]="before"===Oe,Ct["mat-menu-after"]="after"===Oe,Ct["mat-menu-above"]="above"===ze,Ct["mat-menu-below"]="below"===ze,null===(ct=this._changeDetectorRef)||void 0===ct||ct.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(Oe){this._animationDone.next(Oe),this._isAnimating=!1}_onAnimationStart(Oe){this._isAnimating=!0,"enter"===Oe.toState&&0===this._keyManager.activeItemIndex&&(Oe.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,me.O)(this._allItems)).subscribe(Oe=>{this._directDescendantItems.reset(Oe.filter(ze=>ze._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return ot.\u0275fac=function(Oe){return new(Oe||ot)(d.\u0275\u0275directiveInject(d.ElementRef),d.\u0275\u0275directiveInject(d.NgZone),d.\u0275\u0275directiveInject(V),d.\u0275\u0275directiveInject(d.ChangeDetectorRef))},ot.\u0275dir=d.\u0275\u0275defineDirective({type:ot,contentQueries:function(Oe,ze,ct){if(1&Oe&&(d.\u0275\u0275contentQuery(ct,We,5),d.\u0275\u0275contentQuery(ct,Re,5),d.\u0275\u0275contentQuery(ct,Re,4)),2&Oe){let Ct;d.\u0275\u0275queryRefresh(Ct=d.\u0275\u0275loadQuery())&&(ze.lazyContent=Ct.first),d.\u0275\u0275queryRefresh(Ct=d.\u0275\u0275loadQuery())&&(ze._allItems=Ct),d.\u0275\u0275queryRefresh(Ct=d.\u0275\u0275loadQuery())&&(ze.items=Ct)}},viewQuery:function(Oe,ze){if(1&Oe&&d.\u0275\u0275viewQuery(d.TemplateRef,5),2&Oe){let ct;d.\u0275\u0275queryRefresh(ct=d.\u0275\u0275loadQuery())&&(ze.templateRef=ct.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"}}),ot})(),st=(()=>{class ot extends Je{constructor(Oe,ze,ct,Ct){super(Oe,ze,ct,Ct),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return ot.\u0275fac=function(Oe){return new(Oe||ot)(d.\u0275\u0275directiveInject(d.ElementRef),d.\u0275\u0275directiveInject(d.NgZone),d.\u0275\u0275directiveInject(V),d.\u0275\u0275directiveInject(d.ChangeDetectorRef))},ot.\u0275cmp=d.\u0275\u0275defineComponent({type:ot,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(Oe,ze){2&Oe&&d.\u0275\u0275attribute("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[d.\u0275\u0275ProvidersFeature([{provide:Ue,useExisting:ot}]),d.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:qe,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(Oe,ze){1&Oe&&(d.\u0275\u0275projectionDef(),d.\u0275\u0275template(0,lt,3,6,"ng-template"))},directives:[W.NgClass],styles:["mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,data:{animation:[Be.transformMenu,Be.fadeInItems]},changeDetection:0}),ot})();const Et=new d.InjectionToken("mat-menu-scroll-strategy"),Pt={provide:Et,deps:[ce.aV],useFactory:function Tt(ot){return()=>ot.scrollStrategies.reposition()}},Ee=(0,Se.i$)({passive:!0});let Ce=(()=>{class ot{constructor(Oe,ze,ct,Ct,_t,Ht,wt,$t,ue){this._overlay=Oe,this._element=ze,this._viewContainerRef=ct,this._menuItemInstance=Ht,this._dir=wt,this._focusMonitor=$t,this._ngZone=ue,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=c.w0.EMPTY,this._hoverSubscription=c.w0.EMPTY,this._menuCloseSubscription=c.w0.EMPTY,this._handleTouchStart=X=>{(0,n.yG)(X)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new d.EventEmitter,this.onMenuOpen=this.menuOpened,this.menuClosed=new d.EventEmitter,this.onMenuClose=this.menuClosed,this._scrollStrategy=Ct,this._parentMaterialMenu=_t instanceof Je?_t:void 0,ze.nativeElement.addEventListener("touchstart",this._handleTouchStart,Ee),Ht&&(Ht._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(Oe){this.menu=Oe}get menu(){return this._menu}set menu(Oe){Oe!==this._menu&&(this._menu=Oe,this._menuCloseSubscription.unsubscribe(),Oe&&(this._menuCloseSubscription=Oe.close.subscribe(ze=>{this._destroyMenu(ze),("click"===ze||"tab"===ze)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(ze)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Ee),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const Oe=this._createOverlay(),ze=Oe.getConfig(),ct=ze.positionStrategy;this._setPosition(ct),ze.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,Oe.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof Je&&(this.menu._startAnimation(),this.menu._directDescendantItems.changes.pipe((0,Te.R)(this.menu.close)).subscribe(()=>{ct.withLockedPosition(!1).reapplyLastPosition(),ct.withLockedPosition(!0)}))}closeMenu(){this.menu.close.emit()}focus(Oe,ze){this._focusMonitor&&Oe?this._focusMonitor.focusVia(this._element,Oe,ze):this._element.nativeElement.focus(ze)}updatePosition(){var Oe;null===(Oe=this._overlayRef)||void 0===Oe||Oe.updatePosition()}_destroyMenu(Oe){if(!this._overlayRef||!this.menuOpen)return;const ze=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===Oe||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,ze instanceof Je?(ze._resetAnimation(),ze.lazyContent?ze._animationDone.pipe((0,_e.h)(ct=>"void"===ct.toState),(0,x.q)(1),(0,Te.R)(ze.lazyContent._attached)).subscribe({next:()=>ze.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),ze.lazyContent&&ze.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let Oe=0,ze=this.menu.parentMenu;for(;ze;)Oe++,ze=ze.parentMenu;this.menu.setElevation(Oe)}}_setIsMenuOpen(Oe){this._menuOpen=Oe,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(Oe)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const Oe=this._getOverlayConfig();this._subscribeToPositions(Oe.positionStrategy),this._overlayRef=this._overlay.create(Oe),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new ce.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(Oe){this.menu.setPositionClasses&&Oe.positionChanges.subscribe(ze=>{const ct="start"===ze.connectionPair.overlayX?"after":"before",Ct="top"===ze.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>this.menu.setPositionClasses(ct,Ct)):this.menu.setPositionClasses(ct,Ct)})}_setPosition(Oe){let[ze,ct]="before"===this.menu.xPosition?["end","start"]:["start","end"],[Ct,_t]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[Ht,wt]=[Ct,_t],[$t,ue]=[ze,ct],X=0;this.triggersSubmenu()?(ue=ze="before"===this.menu.xPosition?"start":"end",ct=$t="end"===ze?"start":"end",X="bottom"===Ct?8:-8):this.menu.overlapTrigger||(Ht="top"===Ct?"bottom":"top",wt="top"===_t?"bottom":"top"),Oe.withPositions([{originX:ze,originY:Ht,overlayX:$t,overlayY:Ct,offsetY:X},{originX:ct,originY:Ht,overlayX:ue,overlayY:Ct,offsetY:X},{originX:ze,originY:wt,overlayX:$t,overlayY:_t,offsetY:-X},{originX:ct,originY:wt,overlayX:ue,overlayY:_t,offsetY:-X}])}_menuClosingActions(){const Oe=this._overlayRef.backdropClick(),ze=this._overlayRef.detachments(),ct=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,p.of)(),Ct=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,_e.h)(_t=>_t!==this._menuItemInstance),(0,_e.h)(()=>this._menuOpen)):(0,p.of)();return(0,f.T)(Oe,ct,Ct,ze)}_handleMousedown(Oe){(0,n.X6)(Oe)||(this._openedBy=0===Oe.button?"mouse":void 0,this.triggersSubmenu()&&Oe.preventDefault())}_handleKeydown(Oe){const ze=Oe.keyCode;(ze===y.K5||ze===y.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(ze===y.SV&&"ltr"===this.dir||ze===y.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(Oe){this.triggersSubmenu()?(Oe.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,_e.h)(Oe=>Oe===this._menuItemInstance&&!Oe.disabled),ae(0,m.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Je&&this.menu._isAnimating?this.menu._animationDone.pipe((0,x.q)(1),ae(0,m.E),(0,Te.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new de.UE(this.menu.templateRef,this._viewContainerRef)),this._portal}}return ot.\u0275fac=function(Oe){return new(Oe||ot)(d.\u0275\u0275directiveInject(ce.aV),d.\u0275\u0275directiveInject(d.ElementRef),d.\u0275\u0275directiveInject(d.ViewContainerRef),d.\u0275\u0275directiveInject(Et),d.\u0275\u0275directiveInject(Ue,8),d.\u0275\u0275directiveInject(Re,10),d.\u0275\u0275directiveInject(rt.Is,8),d.\u0275\u0275directiveInject(n.tE),d.\u0275\u0275directiveInject(d.NgZone))},ot.\u0275dir=d.\u0275\u0275defineDirective({type:ot,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(Oe,ze){1&Oe&&d.\u0275\u0275listener("click",function(Ct){return ze._handleClick(Ct)})("mousedown",function(Ct){return ze._handleMousedown(Ct)})("keydown",function(Ct){return ze._handleKeydown(Ct)}),2&Oe&&d.\u0275\u0275attribute("aria-expanded",ze.menuOpen||null)("aria-controls",ze.menuOpen?ze.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"}}),ot})(),Ye=(()=>{class ot extends Ce{}return ot.\u0275fac=function(){let Dt;return function(ze){return(Dt||(Dt=d.\u0275\u0275getInheritedFactory(ot)))(ze||ot)}}(),ot.\u0275dir=d.\u0275\u0275defineDirective({type:ot,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[d.\u0275\u0275InheritDefinitionFeature]}),ot})(),Xe=(()=>{class ot{}return ot.\u0275fac=function(Oe){return new(Oe||ot)},ot.\u0275mod=d.\u0275\u0275defineNgModule({type:ot}),ot.\u0275inj=d.\u0275\u0275defineInjector({providers:[Pt],imports:[[W.CommonModule,he.MatCommonModule,he.MatRippleModule,ce.U8],gt.ZD,he.MatCommonModule]}),ot})()},4999:(G,r,a)=>{"use strict";a.r(r),a.d(r,{MatCell:()=>Fe,MatCellDef:()=>it,MatColumnDef:()=>Pe,MatFooterCell:()=>pe,MatFooterCellDef:()=>jt,MatFooterRow:()=>pn,MatFooterRowDef:()=>Rt,MatHeaderCell:()=>je,MatHeaderCellDef:()=>Lt,MatHeaderRow:()=>Xt,MatHeaderRowDef:()=>ut,MatNoDataRow:()=>Cn,MatRecycleRows:()=>U,MatRow:()=>Pn,MatRowDef:()=>Ft,MatTable:()=>Ie,MatTableDataSource:()=>Qt,MatTableModule:()=>Kn,MatTextColumn:()=>Fn,_MatTableDataSource:()=>It});var n=a(5e3),h=a(3191),y=a(449),d=a(9808),o=a(7579),c=a(2076),f=a(1135),p=a(8306),m=a(576),_=a(9646),v=a(2722),b=a(5698),T=a(226),S=a(925),x=a(495);const A=[[["caption"]],[["colgroup"],["col"]]],H=["caption","colgroup, col"];function Z(oe,Ae){if(1&oe&&(n.\u0275\u0275elementStart(0,"th",3),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&oe){const ne=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",ne.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",ne.headerText," ")}}function Q(oe,Ae){if(1&oe&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&oe){const ne=Ae.$implicit,De=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",De.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",De.dataAccessor(ne,De.name)," ")}}function J(oe){return class extends oe{constructor(...Ae){super(...Ae),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(Ae){const ne=this._sticky;this._sticky=(0,h.Ig)(Ae),this._hasStickyChanged=ne!==this._sticky}hasStickyChanged(){const Ae=this._hasStickyChanged;return this._hasStickyChanged=!1,Ae}resetStickyChanged(){this._hasStickyChanged=!1}}}const z=new n.InjectionToken("CDK_TABLE"),se=new n.InjectionToken("text-column-options");let ae=(()=>{class oe{constructor(ne){this.template=ne}}return oe.\u0275fac=function(ne){return new(ne||oe)(n.\u0275\u0275directiveInject(n.TemplateRef))},oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","cdkCellDef",""]]}),oe})(),me=(()=>{class oe{constructor(ne){this.template=ne}}return oe.\u0275fac=function(ne){return new(ne||oe)(n.\u0275\u0275directiveInject(n.TemplateRef))},oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","cdkHeaderCellDef",""]]}),oe})(),Te=(()=>{class oe{constructor(ne){this.template=ne}}return oe.\u0275fac=function(ne){return new(ne||oe)(n.\u0275\u0275directiveInject(n.TemplateRef))},oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","cdkFooterCellDef",""]]}),oe})();class _e{}const Y=J(_e);let de=(()=>{class oe extends Y{constructor(ne){super(),this._table=ne,this._stickyEnd=!1}get name(){return this._name}set name(ne){this._setNameInput(ne)}get stickyEnd(){return this._stickyEnd}set stickyEnd(ne){const De=this._stickyEnd;this._stickyEnd=(0,h.Ig)(ne),this._hasStickyChanged=De!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(ne){ne&&(this._name=ne,this.cssClassFriendlyName=ne.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return oe.\u0275fac=function(ne){return new(ne||oe)(n.\u0275\u0275directiveInject(z,8))},oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","cdkColumnDef",""]],contentQueries:function(ne,De,Ze){if(1&ne&&(n.\u0275\u0275contentQuery(Ze,ae,5),n.\u0275\u0275contentQuery(Ze,me,5),n.\u0275\u0275contentQuery(Ze,Te,5)),2&ne){let at;n.\u0275\u0275queryRefresh(at=n.\u0275\u0275loadQuery())&&(De.cell=at.first),n.\u0275\u0275queryRefresh(at=n.\u0275\u0275loadQuery())&&(De.headerCell=at.first),n.\u0275\u0275queryRefresh(at=n.\u0275\u0275loadQuery())&&(De.footerCell=at.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[n.\u0275\u0275ProvidersFeature([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:oe}]),n.\u0275\u0275InheritDefinitionFeature]}),oe})();class W{constructor(Ae,ne){ne.nativeElement.classList.add(...Ae._columnCssClassName)}}let he=(()=>{class oe extends W{constructor(ne,De){super(ne,De)}}return oe.\u0275fac=function(ne){return new(ne||oe)(n.\u0275\u0275directiveInject(de),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]}),oe})(),ce=(()=>{class oe extends W{constructor(ne,De){var Ze;if(super(ne,De),1===(null===(Ze=ne._table)||void 0===Ze?void 0:Ze._elementRef.nativeElement.nodeType)){const at=ne._table._elementRef.nativeElement.getAttribute("role");De.nativeElement.setAttribute("role","grid"===at||"treegrid"===at?"gridcell":"cell")}}}return oe.\u0275fac=function(ne){return new(ne||oe)(n.\u0275\u0275directiveInject(de),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]}),oe})(),Se=(()=>{class oe extends W{constructor(ne,De){var Ze;if(super(ne,De),1===(null===(Ze=ne._table)||void 0===Ze?void 0:Ze._elementRef.nativeElement.nodeType)){const at=ne._table._elementRef.nativeElement.getAttribute("role");De.nativeElement.setAttribute("role","grid"===at||"treegrid"===at?"gridcell":"cell")}}}return oe.\u0275fac=function(ne){return new(ne||oe)(n.\u0275\u0275directiveInject(de),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]}),oe})();class rt{constructor(){this.tasks=[],this.endTasks=[]}}const gt=new n.InjectionToken("_COALESCED_STYLE_SCHEDULER");let Ge=(()=>{class oe{constructor(ne){this._ngZone=ne,this._currentSchedule=null,this._destroyed=new o.x}schedule(ne){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(ne)}scheduleEnd(ne){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(ne)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new rt,this._getScheduleObservable().pipe((0,v.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const ne=this._currentSchedule;this._currentSchedule=new rt;for(const De of ne.tasks)De();for(const De of ne.endTasks)De()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,c.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,b.q)(1))}}return oe.\u0275fac=function(ne){return new(ne||oe)(n.\u0275\u0275inject(n.NgZone))},oe.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac}),oe})(),qe=(()=>{class oe{constructor(ne,De){this.template=ne,this._differs=De}ngOnChanges(ne){if(!this._columnsDiffer){const De=ne.columns&&ne.columns.currentValue||[];this._columnsDiffer=this._differs.find(De).create(),this._columnsDiffer.diff(De)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(ne){return this instanceof et?ne.headerCell.template:this instanceof ft?ne.footerCell.template:ne.cell.template}}return oe.\u0275fac=function(ne){return new(ne||oe)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))},oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,features:[n.\u0275\u0275NgOnChangesFeature]}),oe})();class lt extends qe{}const Be=J(lt);let et=(()=>{class oe extends Be{constructor(ne,De,Ze){super(ne,De),this._table=Ze}ngOnChanges(ne){super.ngOnChanges(ne)}}return oe.\u0275fac=function(ne){return new(ne||oe)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(z,8))},oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),oe})();class Ne extends qe{}const We=J(Ne);let ft=(()=>{class oe extends We{constructor(ne,De,Ze){super(ne,De),this._table=Ze}ngOnChanges(ne){super.ngOnChanges(ne)}}return oe.\u0275fac=function(ne){return new(ne||oe)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(z,8))},oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),oe})(),ve=(()=>{class oe extends qe{constructor(ne,De,Ze){super(ne,De),this._table=Ze}}return oe.\u0275fac=function(ne){return new(ne||oe)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(z,8))},oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[n.\u0275\u0275InheritDefinitionFeature]}),oe})(),we=(()=>{class oe{constructor(ne){this._viewContainer=ne,oe.mostRecentCellOutlet=this}ngOnDestroy(){oe.mostRecentCellOutlet===this&&(oe.mostRecentCellOutlet=null)}}return oe.mostRecentCellOutlet=null,oe.\u0275fac=function(ne){return new(ne||oe)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","cdkCellOutlet",""]]}),oe})(),B=(()=>{class oe{}return oe.\u0275fac=function(ne){return new(ne||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(ne,De){1&ne&&n.\u0275\u0275elementContainer(0,0)},directives:[we],encapsulation:2}),oe})(),te=(()=>{class oe{}return oe.\u0275fac=function(ne){return new(ne||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(ne,De){1&ne&&n.\u0275\u0275elementContainer(0,0)},directives:[we],encapsulation:2}),oe})(),Me=(()=>{class oe{}return oe.\u0275fac=function(ne){return new(ne||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(ne,De){1&ne&&n.\u0275\u0275elementContainer(0,0)},directives:[we],encapsulation:2}),oe})(),Ue=(()=>{class oe{constructor(ne){this.templateRef=ne,this._contentClassName="cdk-no-data-row"}}return oe.\u0275fac=function(ne){return new(ne||oe)(n.\u0275\u0275directiveInject(n.TemplateRef))},oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["ng-template","cdkNoDataRow",""]]}),oe})();const Ke=["top","bottom","left","right"];class Re{constructor(Ae,ne,De,Ze,at=!0,Mt=!0,Ut){this._isNativeHtmlTable=Ae,this._stickCellCss=ne,this.direction=De,this._coalescedStyleScheduler=Ze,this._isBrowser=at,this._needsPositionStickyOnElement=Mt,this._positionListener=Ut,this._cachedCellWidths=[],this._borderCellCss={top:`${ne}-border-elem-top`,bottom:`${ne}-border-elem-bottom`,left:`${ne}-border-elem-left`,right:`${ne}-border-elem-right`}}clearStickyPositioning(Ae,ne){const De=[];for(const Ze of Ae)if(Ze.nodeType===Ze.ELEMENT_NODE){De.push(Ze);for(let at=0;at<Ze.children.length;at++)De.push(Ze.children[at])}this._coalescedStyleScheduler.schedule(()=>{for(const Ze of De)this._removeStickyStyle(Ze,ne)})}updateStickyColumns(Ae,ne,De,Ze=!0){if(!Ae.length||!this._isBrowser||!ne.some(qt=>qt)&&!De.some(qt=>qt))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const at=Ae[0],Mt=at.children.length,Ut=this._getCellWidths(at,Ze),St=this._getStickyStartColumnPositions(Ut,ne),_n=this._getStickyEndColumnPositions(Ut,De),sn=ne.lastIndexOf(!0),fn=De.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const qt="rtl"===this.direction,vn=qt?"right":"left",qn=qt?"left":"right";for(const Nn of Ae)for(let hn=0;hn<Mt;hn++){const tn=Nn.children[hn];ne[hn]&&this._addStickyStyle(tn,vn,St[hn],hn===sn),De[hn]&&this._addStickyStyle(tn,qn,_n[hn],hn===fn)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===sn?[]:Ut.slice(0,sn+1).map((Nn,hn)=>ne[hn]?Nn:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===fn?[]:Ut.slice(fn).map((Nn,hn)=>De[hn+fn]?Nn:null).reverse()}))})}stickRows(Ae,ne,De){if(!this._isBrowser)return;const Ze="bottom"===De?Ae.slice().reverse():Ae,at="bottom"===De?ne.slice().reverse():ne,Mt=[],Ut=[],St=[];for(let sn=0,fn=0;sn<Ze.length;sn++){if(!at[sn])continue;Mt[sn]=fn;const qt=Ze[sn];St[sn]=this._isNativeHtmlTable?Array.from(qt.children):[qt];const vn=qt.getBoundingClientRect().height;fn+=vn,Ut[sn]=vn}const _n=at.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(()=>{var sn,fn;for(let qt=0;qt<Ze.length;qt++){if(!at[qt])continue;const vn=Mt[qt],qn=qt===_n;for(const Nn of St[qt])this._addStickyStyle(Nn,De,vn,qn)}"top"===De?null===(sn=this._positionListener)||void 0===sn||sn.stickyHeaderRowsUpdated({sizes:Ut,offsets:Mt,elements:St}):null===(fn=this._positionListener)||void 0===fn||fn.stickyFooterRowsUpdated({sizes:Ut,offsets:Mt,elements:St})})}updateStickyFooterContainer(Ae,ne){if(!this._isNativeHtmlTable)return;const De=Ae.querySelector("tfoot");this._coalescedStyleScheduler.schedule(()=>{ne.some(Ze=>!Ze)?this._removeStickyStyle(De,["bottom"]):this._addStickyStyle(De,"bottom",0,!1)})}_removeStickyStyle(Ae,ne){for(const Ze of ne)Ae.style[Ze]="",Ae.classList.remove(this._borderCellCss[Ze]);Ke.some(Ze=>-1===ne.indexOf(Ze)&&Ae.style[Ze])?Ae.style.zIndex=this._getCalculatedZIndex(Ae):(Ae.style.zIndex="",this._needsPositionStickyOnElement&&(Ae.style.position=""),Ae.classList.remove(this._stickCellCss))}_addStickyStyle(Ae,ne,De,Ze){Ae.classList.add(this._stickCellCss),Ze&&Ae.classList.add(this._borderCellCss[ne]),Ae.style[ne]=`${De}px`,Ae.style.zIndex=this._getCalculatedZIndex(Ae),this._needsPositionStickyOnElement&&(Ae.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(Ae){const ne={top:100,bottom:10,left:1,right:1};let De=0;for(const Ze of Ke)Ae.style[Ze]&&(De+=ne[Ze]);return De?`${De}`:""}_getCellWidths(Ae,ne=!0){if(!ne&&this._cachedCellWidths.length)return this._cachedCellWidths;const De=[],Ze=Ae.children;for(let at=0;at<Ze.length;at++)De.push(Ze[at].getBoundingClientRect().width);return this._cachedCellWidths=De,De}_getStickyStartColumnPositions(Ae,ne){const De=[];let Ze=0;for(let at=0;at<Ae.length;at++)ne[at]&&(De[at]=Ze,Ze+=Ae[at]);return De}_getStickyEndColumnPositions(Ae,ne){const De=[];let Ze=0;for(let at=Ae.length;at>0;at--)ne[at]&&(De[at]=Ze,Ze+=Ae[at]);return De}}const He=new n.InjectionToken("CDK_SPL");let Ce=(()=>{class oe{constructor(ne,De){this.viewContainer=ne,this.elementRef=De}}return oe.\u0275fac=function(ne){return new(ne||oe)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","rowOutlet",""]]}),oe})(),Ye=(()=>{class oe{constructor(ne,De){this.viewContainer=ne,this.elementRef=De}}return oe.\u0275fac=function(ne){return new(ne||oe)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","headerRowOutlet",""]]}),oe})(),Xe=(()=>{class oe{constructor(ne,De){this.viewContainer=ne,this.elementRef=De}}return oe.\u0275fac=function(ne){return new(ne||oe)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","footerRowOutlet",""]]}),oe})(),ot=(()=>{class oe{constructor(ne,De){this.viewContainer=ne,this.elementRef=De}}return oe.\u0275fac=function(ne){return new(ne||oe)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","noDataRowOutlet",""]]}),oe})(),ze=(()=>{class oe{constructor(ne,De,Ze,at,Mt,Ut,St,_n,sn,fn,qt,vn){this._differs=ne,this._changeDetectorRef=De,this._elementRef=Ze,this._dir=Mt,this._platform=St,this._viewRepeater=_n,this._coalescedStyleScheduler=sn,this._viewportRuler=fn,this._stickyPositioningListener=qt,this._ngZone=vn,this._onDestroy=new o.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 f.X({start:0,end:Number.MAX_VALUE}),at||this._elementRef.nativeElement.setAttribute("role","table"),this._document=Ut,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(ne){this._trackByFn=ne}get dataSource(){return this._dataSource}set dataSource(ne){this._dataSource!==ne&&this._switchDataSource(ne)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(ne){this._multiTemplateDataRows=(0,h.Ig)(ne),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(ne){this._fixedLayout=(0,h.Ig)(ne),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((ne,De)=>this.trackBy?this.trackBy(De.dataIndex,De.data):De),this._viewportRuler.change().pipe((0,v.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const De=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||De,this._forceRecalculateCellWidths=De,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(ne=>{ne.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,y.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const ne=this._dataDiffer.diff(this._renderRows);if(!ne)return this._updateNoDataRow(),void this.contentChanged.next();const De=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(ne,De,(Ze,at,Mt)=>this._getEmbeddedViewArgs(Ze.item,Mt),Ze=>Ze.item.data,Ze=>{1===Ze.operation&&Ze.context&&this._renderCellTemplateForItem(Ze.record.item.rowDef,Ze.context)}),this._updateRowIndexContext(),ne.forEachIdentityChange(Ze=>{De.get(Ze.currentIndex).context.$implicit=Ze.item.data}),this._updateNoDataRow(),this._ngZone&&n.NgZone.isInAngularZone()?this._ngZone.onStable.pipe((0,b.q)(1),(0,v.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(ne){this._customColumnDefs.add(ne)}removeColumnDef(ne){this._customColumnDefs.delete(ne)}addRowDef(ne){this._customRowDefs.add(ne)}removeRowDef(ne){this._customRowDefs.delete(ne)}addHeaderRowDef(ne){this._customHeaderRowDefs.add(ne),this._headerRowDefChanged=!0}removeHeaderRowDef(ne){this._customHeaderRowDefs.delete(ne),this._headerRowDefChanged=!0}addFooterRowDef(ne){this._customFooterRowDefs.add(ne),this._footerRowDefChanged=!0}removeFooterRowDef(ne){this._customFooterRowDefs.delete(ne),this._footerRowDefChanged=!0}setNoDataRow(ne){this._customNoDataRow=ne}updateStickyHeaderRowStyles(){const ne=this._getRenderedRows(this._headerRowOutlet),Ze=this._elementRef.nativeElement.querySelector("thead");Ze&&(Ze.style.display=ne.length?"":"none");const at=this._headerRowDefs.map(Mt=>Mt.sticky);this._stickyStyler.clearStickyPositioning(ne,["top"]),this._stickyStyler.stickRows(ne,at,"top"),this._headerRowDefs.forEach(Mt=>Mt.resetStickyChanged())}updateStickyFooterRowStyles(){const ne=this._getRenderedRows(this._footerRowOutlet),Ze=this._elementRef.nativeElement.querySelector("tfoot");Ze&&(Ze.style.display=ne.length?"":"none");const at=this._footerRowDefs.map(Mt=>Mt.sticky);this._stickyStyler.clearStickyPositioning(ne,["bottom"]),this._stickyStyler.stickRows(ne,at,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,at),this._footerRowDefs.forEach(Mt=>Mt.resetStickyChanged())}updateStickyColumnStyles(){const ne=this._getRenderedRows(this._headerRowOutlet),De=this._getRenderedRows(this._rowOutlet),Ze=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...ne,...De,...Ze],["left","right"]),this._stickyColumnStylesNeedReset=!1),ne.forEach((at,Mt)=>{this._addStickyColumnStyles([at],this._headerRowDefs[Mt])}),this._rowDefs.forEach(at=>{const Mt=[];for(let Ut=0;Ut<De.length;Ut++)this._renderRows[Ut].rowDef===at&&Mt.push(De[Ut]);this._addStickyColumnStyles(Mt,at)}),Ze.forEach((at,Mt)=>{this._addStickyColumnStyles([at],this._footerRowDefs[Mt])}),Array.from(this._columnDefsByName.values()).forEach(at=>at.resetStickyChanged())}_getAllRenderRows(){const ne=[],De=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let Ze=0;Ze<this._data.length;Ze++){let at=this._data[Ze];const Mt=this._getRenderRowsForData(at,Ze,De.get(at));this._cachedRenderRowsMap.has(at)||this._cachedRenderRowsMap.set(at,new WeakMap);for(let Ut=0;Ut<Mt.length;Ut++){let St=Mt[Ut];const _n=this._cachedRenderRowsMap.get(St.data);_n.has(St.rowDef)?_n.get(St.rowDef).push(St):_n.set(St.rowDef,[St]),ne.push(St)}}return ne}_getRenderRowsForData(ne,De,Ze){return this._getRowDefs(ne,De).map(Mt=>{const Ut=Ze&&Ze.has(Mt)?Ze.get(Mt):[];if(Ut.length){const St=Ut.shift();return St.dataIndex=De,St}return{data:ne,rowDef:Mt,dataIndex:De}})}_cacheColumnDefs(){this._columnDefsByName.clear(),ct(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(De=>{this._columnDefsByName.has(De.name),this._columnDefsByName.set(De.name,De)})}_cacheRowDefs(){this._headerRowDefs=ct(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=ct(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=ct(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const ne=this._rowDefs.filter(De=>!De.when);this._defaultRowDef=ne[0]}_renderUpdatedColumns(){const ne=(Mt,Ut)=>Mt||!!Ut.getColumnsDiff(),De=this._rowDefs.reduce(ne,!1);De&&this._forceRenderDataRows();const Ze=this._headerRowDefs.reduce(ne,!1);Ze&&this._forceRenderHeaderRows();const at=this._footerRowDefs.reduce(ne,!1);return at&&this._forceRenderFooterRows(),De||Ze||at}_switchDataSource(ne){this._data=[],(0,y.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),ne||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=ne}_observeRenderChanges(){if(!this.dataSource)return;let ne;(0,y.Z9)(this.dataSource)?ne=this.dataSource.connect(this):function u(oe){return!!oe&&(oe instanceof p.y||(0,m.m)(oe.lift)&&(0,m.m)(oe.subscribe))}(this.dataSource)?ne=this.dataSource:Array.isArray(this.dataSource)&&(ne=(0,_.of)(this.dataSource)),this._renderChangeSubscription=ne.pipe((0,v.R)(this._onDestroy)).subscribe(De=>{this._data=De||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((ne,De)=>this._renderRow(this._headerRowOutlet,ne,De)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((ne,De)=>this._renderRow(this._footerRowOutlet,ne,De)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(ne,De){const Ze=Array.from(De.columns||[]).map(Ut=>this._columnDefsByName.get(Ut)),at=Ze.map(Ut=>Ut.sticky),Mt=Ze.map(Ut=>Ut.stickyEnd);this._stickyStyler.updateStickyColumns(ne,at,Mt,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(ne){const De=[];for(let Ze=0;Ze<ne.viewContainer.length;Ze++){const at=ne.viewContainer.get(Ze);De.push(at.rootNodes[0])}return De}_getRowDefs(ne,De){if(1==this._rowDefs.length)return[this._rowDefs[0]];let Ze=[];if(this.multiTemplateDataRows)Ze=this._rowDefs.filter(at=>!at.when||at.when(De,ne));else{let at=this._rowDefs.find(Mt=>Mt.when&&Mt.when(De,ne))||this._defaultRowDef;at&&Ze.push(at)}return Ze}_getEmbeddedViewArgs(ne,De){return{templateRef:ne.rowDef.template,context:{$implicit:ne.data},index:De}}_renderRow(ne,De,Ze,at={}){const Mt=ne.viewContainer.createEmbeddedView(De.template,at,Ze);return this._renderCellTemplateForItem(De,at),Mt}_renderCellTemplateForItem(ne,De){for(let Ze of this._getCellTemplates(ne))we.mostRecentCellOutlet&&we.mostRecentCellOutlet._viewContainer.createEmbeddedView(Ze,De);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const ne=this._rowOutlet.viewContainer;for(let De=0,Ze=ne.length;De<Ze;De++){const Mt=ne.get(De).context;Mt.count=Ze,Mt.first=0===De,Mt.last=De===Ze-1,Mt.even=De%2==0,Mt.odd=!Mt.even,this.multiTemplateDataRows?(Mt.dataIndex=this._renderRows[De].dataIndex,Mt.renderIndex=De):Mt.index=this._renderRows[De].dataIndex}}_getCellTemplates(ne){return ne&&ne.columns?Array.from(ne.columns,De=>{const Ze=this._columnDefsByName.get(De);return ne.extractCellTemplate(Ze)}):[]}_applyNativeTableSections(){const ne=this._document.createDocumentFragment(),De=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const Ze of De){const at=this._document.createElement(Ze.tag);at.setAttribute("role","rowgroup");for(const Mt of Ze.outlets)at.appendChild(Mt.elementRef.nativeElement);ne.appendChild(at)}this._elementRef.nativeElement.appendChild(ne)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const ne=(De,Ze)=>De||Ze.hasStickyChanged();this._headerRowDefs.reduce(ne,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(ne,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(ne,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new Re(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,_.of)()).pipe((0,v.R)(this._onDestroy)).subscribe(De=>{this._stickyStyler.direction=De,this.updateStickyColumnStyles()})}_getOwnDefs(ne){return ne.filter(De=>!De._table||De._table===this)}_updateNoDataRow(){const ne=this._customNoDataRow||this._noDataRow;if(!ne)return;const De=0===this._rowOutlet.viewContainer.length;if(De===this._isShowingNoDataRow)return;const Ze=this._noDataRowOutlet.viewContainer;if(De){const at=Ze.createEmbeddedView(ne.templateRef),Mt=at.rootNodes[0];1===at.rootNodes.length&&(null==Mt?void 0:Mt.nodeType)===this._document.ELEMENT_NODE&&(Mt.setAttribute("role","row"),Mt.classList.add(ne._contentClassName))}else Ze.clear();this._isShowingNoDataRow=De}}return oe.\u0275fac=function(ne){return new(ne||oe)(n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275injectAttribute("role"),n.\u0275\u0275directiveInject(T.Is,8),n.\u0275\u0275directiveInject(d.DOCUMENT),n.\u0275\u0275directiveInject(S.t4),n.\u0275\u0275directiveInject(y.k),n.\u0275\u0275directiveInject(gt),n.\u0275\u0275directiveInject(x.rL),n.\u0275\u0275directiveInject(He,12),n.\u0275\u0275directiveInject(n.NgZone,8))},oe.\u0275cmp=n.\u0275\u0275defineComponent({type:oe,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(ne,De,Ze){if(1&ne&&(n.\u0275\u0275contentQuery(Ze,Ue,5),n.\u0275\u0275contentQuery(Ze,de,5),n.\u0275\u0275contentQuery(Ze,ve,5),n.\u0275\u0275contentQuery(Ze,et,5),n.\u0275\u0275contentQuery(Ze,ft,5)),2&ne){let at;n.\u0275\u0275queryRefresh(at=n.\u0275\u0275loadQuery())&&(De._noDataRow=at.first),n.\u0275\u0275queryRefresh(at=n.\u0275\u0275loadQuery())&&(De._contentColumnDefs=at),n.\u0275\u0275queryRefresh(at=n.\u0275\u0275loadQuery())&&(De._contentRowDefs=at),n.\u0275\u0275queryRefresh(at=n.\u0275\u0275loadQuery())&&(De._contentHeaderRowDefs=at),n.\u0275\u0275queryRefresh(at=n.\u0275\u0275loadQuery())&&(De._contentFooterRowDefs=at)}},viewQuery:function(ne,De){if(1&ne&&(n.\u0275\u0275viewQuery(Ce,7),n.\u0275\u0275viewQuery(Ye,7),n.\u0275\u0275viewQuery(Xe,7),n.\u0275\u0275viewQuery(ot,7)),2&ne){let Ze;n.\u0275\u0275queryRefresh(Ze=n.\u0275\u0275loadQuery())&&(De._rowOutlet=Ze.first),n.\u0275\u0275queryRefresh(Ze=n.\u0275\u0275loadQuery())&&(De._headerRowOutlet=Ze.first),n.\u0275\u0275queryRefresh(Ze=n.\u0275\u0275loadQuery())&&(De._footerRowOutlet=Ze.first),n.\u0275\u0275queryRefresh(Ze=n.\u0275\u0275loadQuery())&&(De._noDataRowOutlet=Ze.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(ne,De){2&ne&&n.\u0275\u0275classProp("cdk-table-fixed-layout",De.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:z,useExisting:oe},{provide:y.k,useClass:y.yy},{provide:gt,useClass:Ge},{provide:He,useValue:null}])],ngContentSelectors:H,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(ne,De){1&ne&&(n.\u0275\u0275projectionDef(A),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1),n.\u0275\u0275elementContainer(2,0)(3,1)(4,2)(5,3))},directives:[Ye,Ce,ot,Xe],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),oe})();function ct(oe,Ae){return oe.concat(Array.from(Ae))}let Ct=(()=>{class oe{constructor(ne,De){this._table=ne,this._options=De,this.justify="start",this._options=De||{}}get name(){return this._name}set name(ne){this._name=ne,this._syncColumnDefName()}ngOnInit(){this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((ne,De)=>ne[De])),this._table&&(this.columnDef.cell=this.cell,this.columnDef.headerCell=this.headerCell,this._table.addColumnDef(this.columnDef))}ngOnDestroy(){this._table&&this._table.removeColumnDef(this.columnDef)}_createDefaultHeaderText(){const ne=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(ne):ne[0].toUpperCase()+ne.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}}return oe.\u0275fac=function(ne){return new(ne||oe)(n.\u0275\u0275directiveInject(ze,8),n.\u0275\u0275directiveInject(se,8))},oe.\u0275cmp=n.\u0275\u0275defineComponent({type:oe,selectors:[["cdk-text-column"]],viewQuery:function(ne,De){if(1&ne&&(n.\u0275\u0275viewQuery(de,7),n.\u0275\u0275viewQuery(ae,7),n.\u0275\u0275viewQuery(me,7)),2&ne){let Ze;n.\u0275\u0275queryRefresh(Ze=n.\u0275\u0275loadQuery())&&(De.columnDef=Ze.first),n.\u0275\u0275queryRefresh(Ze=n.\u0275\u0275loadQuery())&&(De.cell=Ze.first),n.\u0275\u0275queryRefresh(Ze=n.\u0275\u0275loadQuery())&&(De.headerCell=Ze.first)}},inputs:{name:"name",headerText:"headerText",dataAccessor:"dataAccessor",justify:"justify"},decls:3,vars:0,consts:[["cdkColumnDef",""],["cdk-header-cell","",3,"text-align",4,"cdkHeaderCellDef"],["cdk-cell","",3,"text-align",4,"cdkCellDef"],["cdk-header-cell",""],["cdk-cell",""]],template:function(ne,De){1&ne&&(n.\u0275\u0275elementContainerStart(0,0),n.\u0275\u0275template(1,Z,2,3,"th",1),n.\u0275\u0275template(2,Q,2,3,"td",2),n.\u0275\u0275elementContainerEnd())},directives:[de,me,he,ae,Se],encapsulation:2}),oe})(),Ht=(()=>{class oe{}return oe.\u0275fac=function(ne){return new(ne||oe)},oe.\u0275mod=n.\u0275\u0275defineNgModule({type:oe}),oe.\u0275inj=n.\u0275\u0275defineInjector({imports:[[x.Cl]]}),oe})();var wt=a(508),$t=a(6451),ue=a(9841),X=a(4004);const L=[[["caption"]],[["colgroup"],["col"]]],P=["caption","colgroup, col"];function le(oe,Ae){if(1&oe&&(n.\u0275\u0275elementStart(0,"th",3),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&oe){const ne=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",ne.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",ne.headerText," ")}}function M(oe,Ae){if(1&oe&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&oe){const ne=Ae.$implicit,De=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",De.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",De.dataAccessor(ne,De.name)," ")}}let U=(()=>{class oe{}return oe.\u0275fac=function(ne){return new(ne||oe)},oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["mat-table","recycleRows",""],["table","mat-table","","recycleRows",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:y.k,useClass:y.eX}])]}),oe})(),Ie=(()=>{class oe extends ze{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return oe.\u0275fac=function(){let Ae;return function(De){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(oe)))(De||oe)}}(),oe.\u0275cmp=n.\u0275\u0275defineComponent({type:oe,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(ne,De){2&ne&&n.\u0275\u0275classProp("mat-table-fixed-layout",De.fixedLayout)},exportAs:["matTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:y.k,useClass:y.yy},{provide:ze,useExisting:oe},{provide:z,useExisting:oe},{provide:gt,useClass:Ge},{provide:He,useValue:null}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:P,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(ne,De){1&ne&&(n.\u0275\u0275projectionDef(L),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1),n.\u0275\u0275elementContainer(2,0)(3,1)(4,2)(5,3))},directives:[Ye,Ce,ot,Xe],styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:-webkit-sticky !important;position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),oe})(),it=(()=>{class oe extends ae{}return oe.\u0275fac=function(){let Ae;return function(De){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(oe)))(De||oe)}}(),oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","matCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:ae,useExisting:oe}]),n.\u0275\u0275InheritDefinitionFeature]}),oe})(),Lt=(()=>{class oe extends me{}return oe.\u0275fac=function(){let Ae;return function(De){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(oe)))(De||oe)}}(),oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","matHeaderCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:me,useExisting:oe}]),n.\u0275\u0275InheritDefinitionFeature]}),oe})(),jt=(()=>{class oe extends Te{}return oe.\u0275fac=function(){let Ae;return function(De){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(oe)))(De||oe)}}(),oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","matFooterCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:Te,useExisting:oe}]),n.\u0275\u0275InheritDefinitionFeature]}),oe})(),Pe=(()=>{class oe extends de{get name(){return this._name}set name(ne){this._setNameInput(ne)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return oe.\u0275fac=function(){let Ae;return function(De){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(oe)))(De||oe)}}(),oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[n.\u0275\u0275ProvidersFeature([{provide:de,useExisting:oe},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:oe}]),n.\u0275\u0275InheritDefinitionFeature]}),oe})(),je=(()=>{class oe extends he{}return oe.\u0275fac=function(){let Ae;return function(De){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(oe)))(De||oe)}}(),oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),oe})(),pe=(()=>{class oe extends ce{}return oe.\u0275fac=function(){let Ae;return function(De){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(oe)))(De||oe)}}(),oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:["role","gridcell",1,"mat-footer-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),oe})(),Fe=(()=>{class oe extends Se{}return oe.\u0275fac=function(){let Ae;return function(De){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(oe)))(De||oe)}}(),oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),oe})(),ut=(()=>{class oe extends et{}return oe.\u0275fac=function(){let Ae;return function(De){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(oe)))(De||oe)}}(),oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[n.\u0275\u0275ProvidersFeature([{provide:et,useExisting:oe}]),n.\u0275\u0275InheritDefinitionFeature]}),oe})(),Rt=(()=>{class oe extends ft{}return oe.\u0275fac=function(){let Ae;return function(De){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(oe)))(De||oe)}}(),oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[n.\u0275\u0275ProvidersFeature([{provide:ft,useExisting:oe}]),n.\u0275\u0275InheritDefinitionFeature]}),oe})(),Ft=(()=>{class oe extends ve{}return oe.\u0275fac=function(){let Ae;return function(De){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(oe)))(De||oe)}}(),oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[n.\u0275\u0275ProvidersFeature([{provide:ve,useExisting:oe}]),n.\u0275\u0275InheritDefinitionFeature]}),oe})(),Xt=(()=>{class oe extends B{}return oe.\u0275fac=function(){let Ae;return function(De){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(oe)))(De||oe)}}(),oe.\u0275cmp=n.\u0275\u0275defineComponent({type:oe,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:B,useExisting:oe}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ne,De){1&ne&&n.\u0275\u0275elementContainer(0,0)},directives:[we],encapsulation:2}),oe})(),pn=(()=>{class oe extends te{}return oe.\u0275fac=function(){let Ae;return function(De){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(oe)))(De||oe)}}(),oe.\u0275cmp=n.\u0275\u0275defineComponent({type:oe,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-footer-row"],exportAs:["matFooterRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:te,useExisting:oe}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ne,De){1&ne&&n.\u0275\u0275elementContainer(0,0)},directives:[we],encapsulation:2}),oe})(),Pn=(()=>{class oe extends Me{}return oe.\u0275fac=function(){let Ae;return function(De){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(oe)))(De||oe)}}(),oe.\u0275cmp=n.\u0275\u0275defineComponent({type:oe,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:Me,useExisting:oe}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ne,De){1&ne&&n.\u0275\u0275elementContainer(0,0)},directives:[we],encapsulation:2}),oe})(),Cn=(()=>{class oe extends Ue{constructor(){super(...arguments),this._contentClassName="mat-no-data-row"}}return oe.\u0275fac=function(){let Ae;return function(De){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(oe)))(De||oe)}}(),oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["ng-template","matNoDataRow",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:Ue,useExisting:oe}]),n.\u0275\u0275InheritDefinitionFeature]}),oe})(),Fn=(()=>{class oe extends Ct{}return oe.\u0275fac=function(){let Ae;return function(De){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(oe)))(De||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(ne,De){1&ne&&(n.\u0275\u0275elementContainerStart(0,0),n.\u0275\u0275template(1,le,2,3,"th",1),n.\u0275\u0275template(2,M,2,3,"td",2),n.\u0275\u0275elementContainerEnd())},directives:[Pe,Lt,je,it,Fe],encapsulation:2}),oe})(),Kn=(()=>{class oe{}return oe.\u0275fac=function(ne){return new(ne||oe)},oe.\u0275mod=n.\u0275\u0275defineNgModule({type:oe}),oe.\u0275inj=n.\u0275\u0275defineInjector({imports:[[Ht,wt.MatCommonModule],wt.MatCommonModule]}),oe})();class It extends y.o2{constructor(Ae=[]){super(),this._renderData=new f.X([]),this._filter=new f.X(""),this._internalPageChanges=new o.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(ne,De)=>{const Ze=ne[De];if((0,h.t6)(Ze)){const at=Number(Ze);return at<9007199254740991?at:Ze}return Ze},this.sortData=(ne,De)=>{const Ze=De.active,at=De.direction;return Ze&&""!=at?ne.sort((Mt,Ut)=>{let St=this.sortingDataAccessor(Mt,Ze),_n=this.sortingDataAccessor(Ut,Ze);const sn=typeof St,fn=typeof _n;sn!==fn&&("number"===sn&&(St+=""),"number"===fn&&(_n+=""));let qt=0;return null!=St&&null!=_n?St>_n?qt=1:St<_n&&(qt=-1):null!=St?qt=1:null!=_n&&(qt=-1),qt*("asc"==at?1:-1)}):ne},this.filterPredicate=(ne,De)=>{const Ze=Object.keys(ne).reduce((Mt,Ut)=>Mt+ne[Ut]+"\u25ec","").toLowerCase(),at=De.trim().toLowerCase();return-1!=Ze.indexOf(at)},this._data=new f.X(Ae),this._updateChangeSubscription()}get data(){return this._data.value}set data(Ae){Ae=Array.isArray(Ae)?Ae:[],this._data.next(Ae),this._renderChangesSubscription||this._filterData(Ae)}get filter(){return this._filter.value}set filter(Ae){this._filter.next(Ae),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(Ae){this._sort=Ae,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(Ae){this._paginator=Ae,this._updateChangeSubscription()}_updateChangeSubscription(){var Ae;const ne=this._sort?(0,$t.T)(this._sort.sortChange,this._sort.initialized):(0,_.of)(null),De=this._paginator?(0,$t.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,_.of)(null),at=(0,ue.a)([this._data,this._filter]).pipe((0,X.U)(([St])=>this._filterData(St))),Mt=(0,ue.a)([at,ne]).pipe((0,X.U)(([St])=>this._orderData(St))),Ut=(0,ue.a)([Mt,De]).pipe((0,X.U)(([St])=>this._pageData(St)));null===(Ae=this._renderChangesSubscription)||void 0===Ae||Ae.unsubscribe(),this._renderChangesSubscription=Ut.subscribe(St=>this._renderData.next(St))}_filterData(Ae){return this.filteredData=null==this.filter||""===this.filter?Ae:Ae.filter(ne=>this.filterPredicate(ne,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(Ae){return this.sort?this.sortData(Ae.slice(),this.sort):Ae}_pageData(Ae){if(!this.paginator)return Ae;const ne=this.paginator.pageIndex*this.paginator.pageSize;return Ae.slice(ne,ne+this.paginator.pageSize)}_updatePaginator(Ae){Promise.resolve().then(()=>{const ne=this.paginator;if(ne&&(ne.length=Ae,ne.pageIndex>0)){const De=Math.ceil(ne.length/ne.pageSize)-1||0,Ze=Math.min(ne.pageIndex,De);Ze!==ne.pageIndex&&(ne.pageIndex=Ze,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var Ae;null===(Ae=this._renderChangesSubscription)||void 0===Ae||Ae.unsubscribe(),this._renderChangesSubscription=null}}class Qt extends It{}},3251:(G,r,a)=>{"use strict";a.r(r),a.d(r,{MAT_TAB:()=>B,MAT_TABS_CONFIG:()=>Je,MAT_TAB_GROUP:()=>Ue,MatInkBar:()=>We,MatTab:()=>Ke,MatTabBody:()=>xe,MatTabBodyPortal:()=>V,MatTabChangeEvent:()=>Dt,MatTabContent:()=>ve,MatTabGroup:()=>ct,MatTabHeader:()=>Xe,MatTabLabel:()=>te,MatTabLabelWrapper:()=>Et,MatTabLink:()=>ue,MatTabNav:()=>Ht,MatTabNavPanel:()=>X,MatTabsModule:()=>L,_MAT_INK_BAR_POSITIONER:()=>et,_MatTabBodyBase:()=>ge,_MatTabGroupBase:()=>ze,_MatTabHeaderBase:()=>Ye,_MatTabLinkBase:()=>$t,_MatTabNavBase:()=>_t,matTabsAnimations:()=>Re});var n=a(5664),h=a(7144),y=a(7429),d=a(9808),o=a(5e3),c=a(508),f=a(6360),p=a(7579),m=a(727),u=a(4968),_=a(9646),v=a(6451),b=a(5963),T=a(1777),S=a(8675),x=a(1884),A=a(2722),H=a(226),Z=a(3191),Q=a(1159),J=a(925),z=a(495);function se(P,le){1&P&&o.\u0275\u0275projection(0)}const ae=["*"];function me(P,le){}const Te=function(P){return{animationDuration:P}},_e=function(P,le){return{value:P,params:le}},Y=["tabListContainer"],de=["tabList"],W=["tabListInner"],he=["nextPaginator"],ce=["previousPaginator"],Se=["tabBodyWrapper"],rt=["tabHeader"];function gt(P,le){}function Ge(P,le){if(1&P&&o.\u0275\u0275template(0,gt,0,0,"ng-template",10),2&P){const M=o.\u0275\u0275nextContext().$implicit;o.\u0275\u0275property("cdkPortalOutlet",M.templateLabel)}}function ht(P,le){if(1&P&&o.\u0275\u0275text(0),2&P){const M=o.\u0275\u0275nextContext().$implicit;o.\u0275\u0275textInterpolate(M.textLabel)}}function qe(P,le){if(1&P){const M=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"div",6),o.\u0275\u0275listener("click",function(){const Ie=o.\u0275\u0275restoreView(M),it=Ie.$implicit,Lt=Ie.index,jt=o.\u0275\u0275nextContext(),Pe=o.\u0275\u0275reference(1);return jt._handleClick(it,Pe,Lt)})("cdkFocusChange",function(Ie){const Lt=o.\u0275\u0275restoreView(M).index;return o.\u0275\u0275nextContext()._tabFocusChanged(Ie,Lt)}),o.\u0275\u0275elementStart(1,"div",7),o.\u0275\u0275template(2,Ge,1,1,"ng-template",8),o.\u0275\u0275template(3,ht,1,1,"ng-template",null,9,o.\u0275\u0275templateRefExtractor),o.\u0275\u0275elementEnd()()}if(2&P){const M=le.$implicit,U=le.index,Ie=o.\u0275\u0275reference(4),it=o.\u0275\u0275nextContext();o.\u0275\u0275classProp("mat-tab-label-active",it.selectedIndex===U),o.\u0275\u0275property("id",it._getTabLabelId(U))("ngClass",M.labelClass)("disabled",M.disabled)("matRippleDisabled",M.disabled||it.disableRipple),o.\u0275\u0275attribute("tabIndex",it._getTabIndex(M,U))("aria-posinset",U+1)("aria-setsize",it._tabs.length)("aria-controls",it._getTabContentId(U))("aria-selected",it.selectedIndex===U)("aria-label",M.ariaLabel||null)("aria-labelledby",!M.ariaLabel&&M.ariaLabelledby?M.ariaLabelledby:null),o.\u0275\u0275advance(2),o.\u0275\u0275property("ngIf",M.templateLabel)("ngIfElse",Ie)}}function lt(P,le){if(1&P){const M=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"mat-tab-body",11),o.\u0275\u0275listener("_onCentered",function(){return o.\u0275\u0275restoreView(M),o.\u0275\u0275nextContext()._removeTabBodyWrapperHeight()})("_onCentering",function(Ie){return o.\u0275\u0275restoreView(M),o.\u0275\u0275nextContext()._setTabBodyWrapperHeight(Ie)}),o.\u0275\u0275elementEnd()}if(2&P){const M=le.$implicit,U=le.index,Ie=o.\u0275\u0275nextContext();o.\u0275\u0275classProp("mat-tab-body-active",Ie.selectedIndex===U),o.\u0275\u0275property("id",Ie._getTabContentId(U))("ngClass",M.bodyClass)("content",M.content)("position",M.position)("origin",M.origin)("animationDuration",Ie.animationDuration),o.\u0275\u0275attribute("tabindex",null!=Ie.contentTabIndex&&Ie.selectedIndex===U?Ie.contentTabIndex:null)("aria-labelledby",Ie._getTabLabelId(U))}}const Be=["mat-tab-nav-bar",""],et=new o.InjectionToken("MatInkBarPositioner",{providedIn:"root",factory:function Ne(){return le=>({left:le?(le.offsetLeft||0)+"px":"0",width:le?(le.offsetWidth||0)+"px":"0"})}});let We=(()=>{class P{constructor(M,U,Ie,it){this._elementRef=M,this._ngZone=U,this._inkBarPositioner=Ie,this._animationMode=it}alignToElement(M){this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._setStyles(M))}):this._setStyles(M)}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}_setStyles(M){const U=this._inkBarPositioner(M),Ie=this._elementRef.nativeElement;Ie.style.left=U.left,Ie.style.width=U.width}}return P.\u0275fac=function(M){return new(M||P)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(o.NgZone),o.\u0275\u0275directiveInject(et),o.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},P.\u0275dir=o.\u0275\u0275defineDirective({type:P,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(M,U){2&M&&o.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===U._animationMode)}}),P})();const ft=new o.InjectionToken("MatTabContent");let ve=(()=>{class P{constructor(M){this.template=M}}return P.\u0275fac=function(M){return new(M||P)(o.\u0275\u0275directiveInject(o.TemplateRef))},P.\u0275dir=o.\u0275\u0275defineDirective({type:P,selectors:[["","matTabContent",""]],features:[o.\u0275\u0275ProvidersFeature([{provide:ft,useExisting:P}])]}),P})();const we=new o.InjectionToken("MatTabLabel"),B=new o.InjectionToken("MAT_TAB");let te=(()=>{class P extends y.ig{constructor(M,U,Ie){super(M,U),this._closestTab=Ie}}return P.\u0275fac=function(M){return new(M||P)(o.\u0275\u0275directiveInject(o.TemplateRef),o.\u0275\u0275directiveInject(o.ViewContainerRef),o.\u0275\u0275directiveInject(B,8))},P.\u0275dir=o.\u0275\u0275defineDirective({type:P,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[o.\u0275\u0275ProvidersFeature([{provide:we,useExisting:P}]),o.\u0275\u0275InheritDefinitionFeature]}),P})();const Me=(0,c.mixinDisabled)(class{}),Ue=new o.InjectionToken("MAT_TAB_GROUP");let Ke=(()=>{class P extends Me{constructor(M,U){super(),this._viewContainerRef=M,this._closestTabGroup=U,this.textLabel="",this._contentPortal=null,this._stateChanges=new p.x,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(M){this._setTemplateLabelInput(M)}get content(){return this._contentPortal}ngOnChanges(M){(M.hasOwnProperty("textLabel")||M.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new y.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(M){M&&M._closestTab===this&&(this._templateLabel=M)}}return P.\u0275fac=function(M){return new(M||P)(o.\u0275\u0275directiveInject(o.ViewContainerRef),o.\u0275\u0275directiveInject(Ue,8))},P.\u0275cmp=o.\u0275\u0275defineComponent({type:P,selectors:[["mat-tab"]],contentQueries:function(M,U,Ie){if(1&M&&(o.\u0275\u0275contentQuery(Ie,we,5),o.\u0275\u0275contentQuery(Ie,ft,7,o.TemplateRef)),2&M){let it;o.\u0275\u0275queryRefresh(it=o.\u0275\u0275loadQuery())&&(U.templateLabel=it.first),o.\u0275\u0275queryRefresh(it=o.\u0275\u0275loadQuery())&&(U._explicitContent=it.first)}},viewQuery:function(M,U){if(1&M&&o.\u0275\u0275viewQuery(o.TemplateRef,7),2&M){let Ie;o.\u0275\u0275queryRefresh(Ie=o.\u0275\u0275loadQuery())&&(U._implicitContent=Ie.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[o.\u0275\u0275ProvidersFeature([{provide:B,useExisting:P}]),o.\u0275\u0275InheritDefinitionFeature,o.\u0275\u0275NgOnChangesFeature],ngContentSelectors:ae,decls:1,vars:0,template:function(M,U){1&M&&(o.\u0275\u0275projectionDef(),o.\u0275\u0275template(0,se,1,0,"ng-template"))},encapsulation:2}),P})();const Re={translateTab:(0,T.X$)("translateTab",[(0,T.SB)("center, void, left-origin-center, right-origin-center",(0,T.oB)({transform:"none"})),(0,T.SB)("left",(0,T.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),(0,T.SB)("right",(0,T.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),(0,T.eR)("* => left, * => right, left => center, right => center",(0,T.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,T.eR)("void => left-origin-center",[(0,T.oB)({transform:"translate3d(-100%, 0, 0)"}),(0,T.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,T.eR)("void => right-origin-center",[(0,T.oB)({transform:"translate3d(100%, 0, 0)"}),(0,T.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let V=(()=>{class P extends y.Pl{constructor(M,U,Ie,it){super(M,U,it),this._host=Ie,this._centeringSub=m.w0.EMPTY,this._leavingSub=m.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,S.O)(this._host._isCenterPosition(this._host._position))).subscribe(M=>{M&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return P.\u0275fac=function(M){return new(M||P)(o.\u0275\u0275directiveInject(o.ComponentFactoryResolver),o.\u0275\u0275directiveInject(o.ViewContainerRef),o.\u0275\u0275directiveInject((0,o.forwardRef)(()=>xe)),o.\u0275\u0275directiveInject(d.DOCUMENT))},P.\u0275dir=o.\u0275\u0275defineDirective({type:P,selectors:[["","matTabBodyHost",""]],features:[o.\u0275\u0275InheritDefinitionFeature]}),P})(),ge=(()=>{class P{constructor(M,U,Ie){this._elementRef=M,this._dir=U,this._dirChangeSubscription=m.w0.EMPTY,this._translateTabComplete=new p.x,this._onCentering=new o.EventEmitter,this._beforeCentering=new o.EventEmitter,this._afterLeavingCenter=new o.EventEmitter,this._onCentered=new o.EventEmitter(!0),this.animationDuration="500ms",U&&(this._dirChangeSubscription=U.change.subscribe(it=>{this._computePositionAnimationState(it),Ie.markForCheck()})),this._translateTabComplete.pipe((0,x.x)((it,Lt)=>it.fromState===Lt.fromState&&it.toState===Lt.toState)).subscribe(it=>{this._isCenterPosition(it.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(it.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(M){this._positionIndex=M,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(M){const U=this._isCenterPosition(M.toState);this._beforeCentering.emit(U),U&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(M){return"center"==M||"left-origin-center"==M||"right-origin-center"==M}_computePositionAnimationState(M=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==M?"left":"right":this._positionIndex>0?"ltr"==M?"right":"left":"center"}_computePositionFromOrigin(M){const U=this._getLayoutDirection();return"ltr"==U&&M<=0||"rtl"==U&&M>0?"left-origin-center":"right-origin-center"}}return P.\u0275fac=function(M){return new(M||P)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(H.Is,8),o.\u0275\u0275directiveInject(o.ChangeDetectorRef))},P.\u0275dir=o.\u0275\u0275defineDirective({type:P,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),P})(),xe=(()=>{class P extends ge{constructor(M,U,Ie){super(M,U,Ie)}}return P.\u0275fac=function(M){return new(M||P)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(H.Is,8),o.\u0275\u0275directiveInject(o.ChangeDetectorRef))},P.\u0275cmp=o.\u0275\u0275defineComponent({type:P,selectors:[["mat-tab-body"]],viewQuery:function(M,U){if(1&M&&o.\u0275\u0275viewQuery(y.Pl,5),2&M){let Ie;o.\u0275\u0275queryRefresh(Ie=o.\u0275\u0275loadQuery())&&(U._portalHost=Ie.first)}},hostAttrs:[1,"mat-tab-body"],features:[o.\u0275\u0275InheritDefinitionFeature],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(M,U){1&M&&(o.\u0275\u0275elementStart(0,"div",0,1),o.\u0275\u0275listener("@translateTab.start",function(it){return U._onTranslateTabStarted(it)})("@translateTab.done",function(it){return U._translateTabComplete.next(it)}),o.\u0275\u0275template(2,me,0,0,"ng-template",2),o.\u0275\u0275elementEnd()),2&M&&o.\u0275\u0275property("@translateTab",o.\u0275\u0275pureFunction2(3,_e,U._position,o.\u0275\u0275pureFunction1(1,Te,U.animationDuration)))},directives:[V],styles:['.mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}.mat-tab-body-content[style*="visibility: hidden"]{display:none}\n'],encapsulation:2,data:{animation:[Re.translateTab]}}),P})();const Je=new o.InjectionToken("MAT_TABS_CONFIG"),st=(0,c.mixinDisabled)(class{});let Et=(()=>{class P extends st{constructor(M){super(),this.elementRef=M}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return P.\u0275fac=function(M){return new(M||P)(o.\u0275\u0275directiveInject(o.ElementRef))},P.\u0275dir=o.\u0275\u0275defineDirective({type:P,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(M,U){2&M&&(o.\u0275\u0275attribute("aria-disabled",!!U.disabled),o.\u0275\u0275classProp("mat-tab-disabled",U.disabled))},inputs:{disabled:"disabled"},features:[o.\u0275\u0275InheritDefinitionFeature]}),P})();const Tt=(0,J.i$)({passive:!0});let Ce=(()=>{class P{constructor(M,U,Ie,it,Lt,jt,Pe){this._elementRef=M,this._changeDetectorRef=U,this._viewportRuler=Ie,this._dir=it,this._ngZone=Lt,this._platform=jt,this._animationMode=Pe,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new p.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new p.x,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new o.EventEmitter,this.indexFocused=new o.EventEmitter,Lt.runOutsideAngular(()=>{(0,u.R)(M.nativeElement,"mouseleave").pipe((0,A.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(M){M=(0,Z.su)(M),this._selectedIndex!=M&&(this._selectedIndexChanged=!0,this._selectedIndex=M,this._keyManager&&this._keyManager.updateActiveItem(M))}ngAfterViewInit(){(0,u.R)(this._previousPaginator.nativeElement,"touchstart",Tt).pipe((0,A.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,u.R)(this._nextPaginator.nativeElement,"touchstart",Tt).pipe((0,A.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const M=this._dir?this._dir.change:(0,_.of)("ltr"),U=this._viewportRuler.change(150),Ie=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new n.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(Ie):Ie(),(0,v.T)(M,U,this._items.changes).pipe((0,A.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>Promise.resolve().then(Ie)),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe((0,A.R)(this._destroyed)).subscribe(it=>{this.indexFocused.emit(it),this._setTabFocus(it)})}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(M){if(!(0,Q.Vb)(M))switch(M.keyCode){case Q.K5:case Q.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(M));break;default:this._keyManager.onKeydown(M)}}_onContentChanges(){const M=this._elementRef.nativeElement.textContent;M!==this._currentTextContent&&(this._currentTextContent=M||"",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(M){!this._isValidIndex(M)||this.focusIndex===M||!this._keyManager||this._keyManager.setActiveItem(M)}_isValidIndex(M){if(!this._items)return!0;const U=this._items?this._items.toArray()[M]:null;return!!U&&!U.disabled}_setTabFocus(M){if(this._showPaginationControls&&this._scrollToLabel(M),this._items&&this._items.length){this._items.toArray()[M].focus();const U=this._tabListContainer.nativeElement;U.scrollLeft="ltr"==this._getLayoutDirection()?0:U.scrollWidth-U.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const M=this.scrollDistance,U="ltr"===this._getLayoutDirection()?-M:M;this._tabList.nativeElement.style.transform=`translateX(${Math.round(U)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(M){this._scrollTo(M)}_scrollHeader(M){return this._scrollTo(this._scrollDistance+("before"==M?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(M){this._stopInterval(),this._scrollHeader(M)}_scrollToLabel(M){if(this.disablePagination)return;const U=this._items?this._items.toArray()[M]:null;if(!U)return;const Ie=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:it,offsetWidth:Lt}=U.elementRef.nativeElement;let jt,Pe;"ltr"==this._getLayoutDirection()?(jt=it,Pe=jt+Lt):(Pe=this._tabListInner.nativeElement.offsetWidth-it,jt=Pe-Lt);const je=this.scrollDistance,pe=this.scrollDistance+Ie;jt<je?this.scrollDistance-=je-jt+60:Pe>pe&&(this.scrollDistance+=Pe-pe+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const M=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;M||(this.scrollDistance=0),M!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=M}}_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 M=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,U=M?M.elementRef.nativeElement:null;U?this._inkBar.alignToElement(U):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(M,U){U&&null!=U.button&&0!==U.button||(this._stopInterval(),(0,b.H)(650,100).pipe((0,A.R)((0,v.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:Ie,distance:it}=this._scrollHeader(M);(0===it||it>=Ie)&&this._stopInterval()}))}_scrollTo(M){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const U=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(U,M)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:U,distance:this._scrollDistance}}}return P.\u0275fac=function(M){return new(M||P)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(o.ChangeDetectorRef),o.\u0275\u0275directiveInject(z.rL),o.\u0275\u0275directiveInject(H.Is,8),o.\u0275\u0275directiveInject(o.NgZone),o.\u0275\u0275directiveInject(J.t4),o.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},P.\u0275dir=o.\u0275\u0275defineDirective({type:P,inputs:{disablePagination:"disablePagination"}}),P})(),Ye=(()=>{class P extends Ce{constructor(M,U,Ie,it,Lt,jt,Pe){super(M,U,Ie,it,Lt,jt,Pe),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(M){this._disableRipple=(0,Z.Ig)(M)}_itemSelected(M){M.preventDefault()}}return P.\u0275fac=function(M){return new(M||P)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(o.ChangeDetectorRef),o.\u0275\u0275directiveInject(z.rL),o.\u0275\u0275directiveInject(H.Is,8),o.\u0275\u0275directiveInject(o.NgZone),o.\u0275\u0275directiveInject(J.t4),o.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},P.\u0275dir=o.\u0275\u0275defineDirective({type:P,inputs:{disableRipple:"disableRipple"},features:[o.\u0275\u0275InheritDefinitionFeature]}),P})(),Xe=(()=>{class P extends Ye{constructor(M,U,Ie,it,Lt,jt,Pe){super(M,U,Ie,it,Lt,jt,Pe)}}return P.\u0275fac=function(M){return new(M||P)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(o.ChangeDetectorRef),o.\u0275\u0275directiveInject(z.rL),o.\u0275\u0275directiveInject(H.Is,8),o.\u0275\u0275directiveInject(o.NgZone),o.\u0275\u0275directiveInject(J.t4),o.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},P.\u0275cmp=o.\u0275\u0275defineComponent({type:P,selectors:[["mat-tab-header"]],contentQueries:function(M,U,Ie){if(1&M&&o.\u0275\u0275contentQuery(Ie,Et,4),2&M){let it;o.\u0275\u0275queryRefresh(it=o.\u0275\u0275loadQuery())&&(U._items=it)}},viewQuery:function(M,U){if(1&M&&(o.\u0275\u0275viewQuery(We,7),o.\u0275\u0275viewQuery(Y,7),o.\u0275\u0275viewQuery(de,7),o.\u0275\u0275viewQuery(W,7),o.\u0275\u0275viewQuery(he,5),o.\u0275\u0275viewQuery(ce,5)),2&M){let Ie;o.\u0275\u0275queryRefresh(Ie=o.\u0275\u0275loadQuery())&&(U._inkBar=Ie.first),o.\u0275\u0275queryRefresh(Ie=o.\u0275\u0275loadQuery())&&(U._tabListContainer=Ie.first),o.\u0275\u0275queryRefresh(Ie=o.\u0275\u0275loadQuery())&&(U._tabList=Ie.first),o.\u0275\u0275queryRefresh(Ie=o.\u0275\u0275loadQuery())&&(U._tabListInner=Ie.first),o.\u0275\u0275queryRefresh(Ie=o.\u0275\u0275loadQuery())&&(U._nextPaginator=Ie.first),o.\u0275\u0275queryRefresh(Ie=o.\u0275\u0275loadQuery())&&(U._previousPaginator=Ie.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(M,U){2&M&&o.\u0275\u0275classProp("mat-tab-header-pagination-controls-enabled",U._showPaginationControls)("mat-tab-header-rtl","rtl"==U._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[o.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:ae,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(M,U){1&M&&(o.\u0275\u0275projectionDef(),o.\u0275\u0275elementStart(0,"button",0,1),o.\u0275\u0275listener("click",function(){return U._handlePaginatorClick("before")})("mousedown",function(it){return U._handlePaginatorPress("before",it)})("touchend",function(){return U._stopInterval()}),o.\u0275\u0275element(2,"div",2),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(3,"div",3,4),o.\u0275\u0275listener("keydown",function(it){return U._handleKeydown(it)}),o.\u0275\u0275elementStart(5,"div",5,6),o.\u0275\u0275listener("cdkObserveContent",function(){return U._onContentChanges()}),o.\u0275\u0275elementStart(7,"div",7,8),o.\u0275\u0275projection(9),o.\u0275\u0275elementEnd(),o.\u0275\u0275element(10,"mat-ink-bar"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(11,"button",9,10),o.\u0275\u0275listener("mousedown",function(it){return U._handlePaginatorPress("after",it)})("click",function(){return U._handlePaginatorClick("after")})("touchend",function(){return U._stopInterval()}),o.\u0275\u0275element(13,"div",2),o.\u0275\u0275elementEnd()),2&M&&(o.\u0275\u0275classProp("mat-tab-header-pagination-disabled",U._disableScrollBefore),o.\u0275\u0275property("matRippleDisabled",U._disableScrollBefore||U.disableRipple)("disabled",U._disableScrollBefore||null),o.\u0275\u0275advance(5),o.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===U._animationMode),o.\u0275\u0275advance(6),o.\u0275\u0275classProp("mat-tab-header-pagination-disabled",U._disableScrollAfter),o.\u0275\u0275property("matRippleDisabled",U._disableScrollAfter||U.disableRipple)("disabled",U._disableScrollAfter||null))},directives:[c.MatRipple,h.wD,We],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-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:transparent;touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n"],encapsulation:2}),P})(),ot=0;class Dt{}const Oe=(0,c.mixinColor)((0,c.mixinDisableRipple)(class{constructor(P){this._elementRef=P}}),"primary");let ze=(()=>{class P extends Oe{constructor(M,U,Ie,it){var Lt;super(M),this._changeDetectorRef=U,this._animationMode=it,this._tabs=new o.QueryList,this._indexToSelect=0,this._tabBodyWrapperHeight=0,this._tabsSubscription=m.w0.EMPTY,this._tabLabelSubscription=m.w0.EMPTY,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new o.EventEmitter,this.focusChange=new o.EventEmitter,this.animationDone=new o.EventEmitter,this.selectedTabChange=new o.EventEmitter(!0),this._groupId=ot++,this.animationDuration=Ie&&Ie.animationDuration?Ie.animationDuration:"500ms",this.disablePagination=!(!Ie||null==Ie.disablePagination)&&Ie.disablePagination,this.dynamicHeight=!(!Ie||null==Ie.dynamicHeight)&&Ie.dynamicHeight,this.contentTabIndex=null!==(Lt=null==Ie?void 0:Ie.contentTabIndex)&&void 0!==Lt?Lt:null}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(M){this._dynamicHeight=(0,Z.Ig)(M)}get selectedIndex(){return this._selectedIndex}set selectedIndex(M){this._indexToSelect=(0,Z.su)(M,null)}get animationDuration(){return this._animationDuration}set animationDuration(M){this._animationDuration=/^\d+$/.test(M+"")?M+"ms":M}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(M){this._contentTabIndex=(0,Z.su)(M,null)}get backgroundColor(){return this._backgroundColor}set backgroundColor(M){const U=this._elementRef.nativeElement;U.classList.remove(`mat-background-${this.backgroundColor}`),M&&U.classList.add(`mat-background-${M}`),this._backgroundColor=M}ngAfterContentChecked(){const M=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=M){const U=null==this._selectedIndex;if(!U){this.selectedTabChange.emit(this._createChangeEvent(M));const Ie=this._tabBodyWrapper.nativeElement;Ie.style.minHeight=Ie.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((Ie,it)=>Ie.isActive=it===M),U||(this.selectedIndexChange.emit(M),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((U,Ie)=>{U.position=Ie-M,null!=this._selectedIndex&&0==U.position&&!U.origin&&(U.origin=M-this._selectedIndex)}),this._selectedIndex!==M&&(this._selectedIndex=M,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{if(this._clampTabIndex(this._indexToSelect)===this._selectedIndex){const U=this._tabs.toArray();for(let Ie=0;Ie<U.length;Ie++)if(U[Ie].isActive){this._indexToSelect=this._selectedIndex=Ie;break}}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,S.O)(this._allTabs)).subscribe(M=>{this._tabs.reset(M.filter(U=>U._closestTabGroup===this||!U._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(M){const U=this._tabHeader;U&&(U.focusIndex=M)}_focusChanged(M){this.focusChange.emit(this._createChangeEvent(M))}_createChangeEvent(M){const U=new Dt;return U.index=M,this._tabs&&this._tabs.length&&(U.tab=this._tabs.toArray()[M]),U}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,v.T)(...this._tabs.map(M=>M._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(M){return Math.min(this._tabs.length-1,Math.max(M||0,0))}_getTabLabelId(M){return`mat-tab-label-${this._groupId}-${M}`}_getTabContentId(M){return`mat-tab-content-${this._groupId}-${M}`}_setTabBodyWrapperHeight(M){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const U=this._tabBodyWrapper.nativeElement;U.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(U.style.height=M+"px")}_removeTabBodyWrapperHeight(){const M=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=M.clientHeight,M.style.height="",this.animationDone.emit()}_handleClick(M,U,Ie){M.disabled||(this.selectedIndex=U.focusIndex=Ie)}_getTabIndex(M,U){return M.disabled?null:this.selectedIndex===U?0:-1}_tabFocusChanged(M,U){M&&"mouse"!==M&&"touch"!==M&&(this._tabHeader.focusIndex=U)}}return P.\u0275fac=function(M){return new(M||P)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(o.ChangeDetectorRef),o.\u0275\u0275directiveInject(Je,8),o.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},P.\u0275dir=o.\u0275\u0275defineDirective({type:P,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[o.\u0275\u0275InheritDefinitionFeature]}),P})(),ct=(()=>{class P extends ze{constructor(M,U,Ie,it){super(M,U,Ie,it)}}return P.\u0275fac=function(M){return new(M||P)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(o.ChangeDetectorRef),o.\u0275\u0275directiveInject(Je,8),o.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},P.\u0275cmp=o.\u0275\u0275defineComponent({type:P,selectors:[["mat-tab-group"]],contentQueries:function(M,U,Ie){if(1&M&&o.\u0275\u0275contentQuery(Ie,Ke,5),2&M){let it;o.\u0275\u0275queryRefresh(it=o.\u0275\u0275loadQuery())&&(U._allTabs=it)}},viewQuery:function(M,U){if(1&M&&(o.\u0275\u0275viewQuery(Se,5),o.\u0275\u0275viewQuery(rt,5)),2&M){let Ie;o.\u0275\u0275queryRefresh(Ie=o.\u0275\u0275loadQuery())&&(U._tabBodyWrapper=Ie.first),o.\u0275\u0275queryRefresh(Ie=o.\u0275\u0275loadQuery())&&(U._tabHeader=Ie.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(M,U){2&M&&o.\u0275\u0275classProp("mat-tab-group-dynamic-height",U.dynamicHeight)("mat-tab-group-inverted-header","below"===U.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[o.\u0275\u0275ProvidersFeature([{provide:Ue,useExisting:P}]),o.\u0275\u0275InheritDefinitionFeature],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","ngClass","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","ngClass","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","ngClass","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(M,U){1&M&&(o.\u0275\u0275elementStart(0,"mat-tab-header",0,1),o.\u0275\u0275listener("indexFocused",function(it){return U._focusChanged(it)})("selectFocusedIndex",function(it){return U.selectedIndex=it}),o.\u0275\u0275template(2,qe,5,15,"div",2),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(3,"div",3,4),o.\u0275\u0275template(5,lt,1,10,"mat-tab-body",5),o.\u0275\u0275elementEnd()),2&M&&(o.\u0275\u0275property("selectedIndex",U.selectedIndex||0)("disableRipple",U.disableRipple)("disablePagination",U.disablePagination),o.\u0275\u0275advance(2),o.\u0275\u0275property("ngForOf",U._tabs),o.\u0275\u0275advance(1),o.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===U._animationMode),o.\u0275\u0275advance(2),o.\u0275\u0275property("ngForOf",U._tabs))},directives:[Xe,xe,d.NgForOf,Et,c.MatRipple,n.kH,d.NgClass,d.NgIf,y.Pl],styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),P})(),Ct=0,_t=(()=>{class P extends Ce{constructor(M,U,Ie,it,Lt,jt,Pe){super(M,it,Lt,U,Ie,jt,Pe),this._disableRipple=!1,this.color="primary"}get backgroundColor(){return this._backgroundColor}set backgroundColor(M){const U=this._elementRef.nativeElement.classList;U.remove(`mat-background-${this.backgroundColor}`),M&&U.add(`mat-background-${M}`),this._backgroundColor=M}get disableRipple(){return this._disableRipple}set disableRipple(M){this._disableRipple=(0,Z.Ig)(M)}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe((0,S.O)(null),(0,A.R)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(){if(!this._items)return;const M=this._items.toArray();for(let U=0;U<M.length;U++)if(M[U].active)return this.selectedIndex=U,this._changeDetectorRef.markForCheck(),void(this.tabPanel&&(this.tabPanel._activeTabId=M[U].id));this.selectedIndex=-1,this._inkBar.hide()}_getRole(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")}}return P.\u0275fac=function(M){return new(M||P)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(H.Is,8),o.\u0275\u0275directiveInject(o.NgZone),o.\u0275\u0275directiveInject(o.ChangeDetectorRef),o.\u0275\u0275directiveInject(z.rL),o.\u0275\u0275directiveInject(J.t4),o.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},P.\u0275dir=o.\u0275\u0275defineDirective({type:P,inputs:{backgroundColor:"backgroundColor",disableRipple:"disableRipple",color:"color",tabPanel:"tabPanel"},features:[o.\u0275\u0275InheritDefinitionFeature]}),P})(),Ht=(()=>{class P extends _t{constructor(M,U,Ie,it,Lt,jt,Pe){super(M,U,Ie,it,Lt,jt,Pe)}}return P.\u0275fac=function(M){return new(M||P)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(H.Is,8),o.\u0275\u0275directiveInject(o.NgZone),o.\u0275\u0275directiveInject(o.ChangeDetectorRef),o.\u0275\u0275directiveInject(z.rL),o.\u0275\u0275directiveInject(J.t4),o.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},P.\u0275cmp=o.\u0275\u0275defineComponent({type:P,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(M,U,Ie){if(1&M&&o.\u0275\u0275contentQuery(Ie,ue,5),2&M){let it;o.\u0275\u0275queryRefresh(it=o.\u0275\u0275loadQuery())&&(U._items=it)}},viewQuery:function(M,U){if(1&M&&(o.\u0275\u0275viewQuery(We,7),o.\u0275\u0275viewQuery(Y,7),o.\u0275\u0275viewQuery(de,7),o.\u0275\u0275viewQuery(W,7),o.\u0275\u0275viewQuery(he,5),o.\u0275\u0275viewQuery(ce,5)),2&M){let Ie;o.\u0275\u0275queryRefresh(Ie=o.\u0275\u0275loadQuery())&&(U._inkBar=Ie.first),o.\u0275\u0275queryRefresh(Ie=o.\u0275\u0275loadQuery())&&(U._tabListContainer=Ie.first),o.\u0275\u0275queryRefresh(Ie=o.\u0275\u0275loadQuery())&&(U._tabList=Ie.first),o.\u0275\u0275queryRefresh(Ie=o.\u0275\u0275loadQuery())&&(U._tabListInner=Ie.first),o.\u0275\u0275queryRefresh(Ie=o.\u0275\u0275loadQuery())&&(U._nextPaginator=Ie.first),o.\u0275\u0275queryRefresh(Ie=o.\u0275\u0275loadQuery())&&(U._previousPaginator=Ie.first)}},hostAttrs:[1,"mat-tab-nav-bar","mat-tab-header"],hostVars:11,hostBindings:function(M,U){2&M&&(o.\u0275\u0275attribute("role",U._getRole()),o.\u0275\u0275classProp("mat-tab-header-pagination-controls-enabled",U._showPaginationControls)("mat-tab-header-rtl","rtl"==U._getLayoutDirection())("mat-primary","warn"!==U.color&&"accent"!==U.color)("mat-accent","accent"===U.color)("mat-warn","warn"===U.color))},inputs:{color:"color"},exportAs:["matTabNavBar","matTabNav"],features:[o.\u0275\u0275InheritDefinitionFeature],attrs:Be,ngContentSelectors:ae,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-link-container",3,"keydown"],["tabListContainer",""],[1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-links"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(M,U){1&M&&(o.\u0275\u0275projectionDef(),o.\u0275\u0275elementStart(0,"button",0,1),o.\u0275\u0275listener("click",function(){return U._handlePaginatorClick("before")})("mousedown",function(it){return U._handlePaginatorPress("before",it)})("touchend",function(){return U._stopInterval()}),o.\u0275\u0275element(2,"div",2),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(3,"div",3,4),o.\u0275\u0275listener("keydown",function(it){return U._handleKeydown(it)}),o.\u0275\u0275elementStart(5,"div",5,6),o.\u0275\u0275listener("cdkObserveContent",function(){return U._onContentChanges()}),o.\u0275\u0275elementStart(7,"div",7,8),o.\u0275\u0275projection(9),o.\u0275\u0275elementEnd(),o.\u0275\u0275element(10,"mat-ink-bar"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(11,"button",9,10),o.\u0275\u0275listener("mousedown",function(it){return U._handlePaginatorPress("after",it)})("click",function(){return U._handlePaginatorClick("after")})("touchend",function(){return U._stopInterval()}),o.\u0275\u0275element(13,"div",2),o.\u0275\u0275elementEnd()),2&M&&(o.\u0275\u0275classProp("mat-tab-header-pagination-disabled",U._disableScrollBefore),o.\u0275\u0275property("matRippleDisabled",U._disableScrollBefore||U.disableRipple)("disabled",U._disableScrollBefore||null),o.\u0275\u0275advance(5),o.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===U._animationMode),o.\u0275\u0275advance(6),o.\u0275\u0275classProp("mat-tab-header-pagination-disabled",U._disableScrollAfter),o.\u0275\u0275property("matRippleDisabled",U._disableScrollAfter||U.disableRipple)("disabled",U._disableScrollAfter||null))},directives:[c.MatRipple,h.wD,We],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-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:transparent;touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-links{display:flex}[mat-align-tabs=center]>.mat-tab-link-container .mat-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-tab-link-container .mat-tab-links{justify-content:flex-end}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-link{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:transparent}.mat-tab-link:focus{outline:none}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-link:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-link.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-link.mat-tab-disabled{opacity:.5}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-link{opacity:1}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}@media(max-width: 599px){.mat-tab-link{min-width:72px}}\n"],encapsulation:2}),P})();const wt=(0,c.mixinTabIndex)((0,c.mixinDisableRipple)((0,c.mixinDisabled)(class{})));let $t=(()=>{class P extends wt{constructor(M,U,Ie,it,Lt,jt){super(),this._tabNavBar=M,this.elementRef=U,this._focusMonitor=Lt,this._isActive=!1,this.id="mat-tab-link-"+Ct++,this.rippleConfig=Ie||{},this.tabIndex=parseInt(it)||0,"NoopAnimations"===jt&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get active(){return this._isActive}set active(M){const U=(0,Z.Ig)(M);U!==this._isActive&&(this._isActive=U,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(M){this._tabNavBar.tabPanel&&M.keyCode===Q.L_&&this.elementRef.nativeElement.click()}_getAriaControls(){var M;return this._tabNavBar.tabPanel?null===(M=this._tabNavBar.tabPanel)||void 0===M?void 0:M.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?0:-1:this.tabIndex}}return P.\u0275fac=function(M){return new(M||P)(o.\u0275\u0275directiveInject(_t),o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(c.MAT_RIPPLE_GLOBAL_OPTIONS,8),o.\u0275\u0275injectAttribute("tabindex"),o.\u0275\u0275directiveInject(n.tE),o.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},P.\u0275dir=o.\u0275\u0275defineDirective({type:P,inputs:{active:"active",id:"id"},features:[o.\u0275\u0275InheritDefinitionFeature]}),P})(),ue=(()=>{class P extends $t{constructor(M,U,Ie,it,Lt,jt,Pe,je){super(M,U,Lt,jt,Pe,je),this._tabLinkRipple=new c.RippleRenderer(this,Ie,U,it),this._tabLinkRipple.setupTriggerEvents(U.nativeElement)}ngOnDestroy(){super.ngOnDestroy(),this._tabLinkRipple._removeTriggerEvents()}}return P.\u0275fac=function(M){return new(M||P)(o.\u0275\u0275directiveInject(Ht),o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(o.NgZone),o.\u0275\u0275directiveInject(J.t4),o.\u0275\u0275directiveInject(c.MAT_RIPPLE_GLOBAL_OPTIONS,8),o.\u0275\u0275injectAttribute("tabindex"),o.\u0275\u0275directiveInject(n.tE),o.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},P.\u0275dir=o.\u0275\u0275defineDirective({type:P,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mat-tab-link","mat-focus-indicator"],hostVars:11,hostBindings:function(M,U){1&M&&o.\u0275\u0275listener("focus",function(){return U._handleFocus()})("keydown",function(it){return U._handleKeydown(it)}),2&M&&(o.\u0275\u0275attribute("aria-controls",U._getAriaControls())("aria-current",U._getAriaCurrent())("aria-disabled",U.disabled)("aria-selected",U._getAriaSelected())("id",U.id)("tabIndex",U._getTabIndex())("role",U._getRole()),o.\u0275\u0275classProp("mat-tab-disabled",U.disabled)("mat-tab-label-active",U.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matTabLink"],features:[o.\u0275\u0275InheritDefinitionFeature]}),P})(),X=(()=>{class P{constructor(){this.id="mat-tab-nav-panel-"+Ct++}}return P.\u0275fac=function(M){return new(M||P)},P.\u0275cmp=o.\u0275\u0275defineComponent({type:P,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-tab-nav-panel"],hostVars:2,hostBindings:function(M,U){2&M&&o.\u0275\u0275attribute("aria-labelledby",U._activeTabId)("id",U.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:ae,decls:1,vars:0,template:function(M,U){1&M&&(o.\u0275\u0275projectionDef(),o.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P})(),L=(()=>{class P{}return P.\u0275fac=function(M){return new(M||P)},P.\u0275mod=o.\u0275\u0275defineNgModule({type:P}),P.\u0275inj=o.\u0275\u0275defineInjector({imports:[[d.CommonModule,c.MatCommonModule,y.eL,c.MatRippleModule,h.Q8,n.rt],c.MatCommonModule]}),P})()},7238:(G,r,a)=>{"use strict";a.r(r),a.d(r,{MAT_TOOLTIP_DEFAULT_OPTIONS:()=>Y,MAT_TOOLTIP_DEFAULT_OPTIONS_FACTORY:()=>de,MAT_TOOLTIP_SCROLL_STRATEGY:()=>me,MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY:()=>Te,MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>_e,MatTooltip:()=>he,MatTooltipModule:()=>rt,SCROLL_THROTTLE_MS:()=>Z,TOOLTIP_PANEL_CLASS:()=>Q,TooltipComponent:()=>Se,_MatTooltipBase:()=>W,_TooltipComponentBase:()=>ce,getMatTooltipInvalidPositionError:()=>ae,matTooltipAnimations:()=>gt});var n=a(1314),h=a(5664),y=a(9808),d=a(5e3),o=a(508),c=a(495),f=a(3191),p=a(1159),m=a(5113),u=a(925),_=a(7429),v=a(6360),b=a(7579),T=a(2722),S=a(5698),x=a(226),A=a(1777);const H=["tooltip"],Z=20,Q="mat-tooltip-panel",J="tooltip-panel",z=(0,u.i$)({passive:!0});function ae(Ge){return Error(`Tooltip position "${Ge}" is invalid.`)}const me=new d.InjectionToken("mat-tooltip-scroll-strategy");function Te(Ge){return()=>Ge.scrollStrategies.reposition({scrollThrottle:Z})}const _e={provide:me,deps:[n.aV],useFactory:Te},Y=new d.InjectionToken("mat-tooltip-default-options",{providedIn:"root",factory:de});function de(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}let W=(()=>{class Ge{constructor(qe,lt,Be,et,Ne,We,ft,ve,we,B,te,Me){this._overlay=qe,this._elementRef=lt,this._scrollDispatcher=Be,this._viewContainerRef=et,this._ngZone=Ne,this._platform=We,this._ariaDescriber=ft,this._focusMonitor=ve,this._dir=B,this._defaultOptions=te,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new b.x,this._scrollStrategy=we,this._document=Me,te&&(te.position&&(this.position=te.position),te.touchGestures&&(this.touchGestures=te.touchGestures)),B.change.pipe((0,T.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(qe){var lt;qe!==this._position&&(this._position=qe,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(lt=this._tooltipInstance)||void 0===lt||lt.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(qe){this._disabled=(0,f.Ig)(qe),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(qe){this._showDelay=(0,f.su)(qe)}get hideDelay(){return this._hideDelay}set hideDelay(qe){this._hideDelay=(0,f.su)(qe),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(qe){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=qe?String(qe).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(qe){this._tooltipClass=qe,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,T.R)(this._destroyed)).subscribe(qe=>{qe?"keyboard"===qe&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const qe=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([lt,Be])=>{qe.removeEventListener(lt,Be,z)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(qe,this.message,"tooltip"),this._focusMonitor.stopMonitoring(qe)}show(qe=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const lt=this._createOverlay();this._detach(),this._portal=this._portal||new _.C5(this._tooltipComponent,this._viewContainerRef);const Be=this._tooltipInstance=lt.attach(this._portal).instance;Be._triggerElement=this._elementRef.nativeElement,Be._mouseLeaveHideDelay=this._hideDelay,Be.afterHidden().pipe((0,T.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),Be.show(qe)}hide(qe=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(qe)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){var qe;if(this._overlayRef)return this._overlayRef;const lt=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),Be=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(lt);return Be.positionChanges.pipe((0,T.R)(this._destroyed)).subscribe(et=>{this._updateCurrentPositionClass(et.connectionPair),this._tooltipInstance&&et.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:Be,panelClass:`${this._cssClassPrefix}-${J}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,T.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,T.R)(this._destroyed)).subscribe(()=>{var et;return null===(et=this._tooltipInstance)||void 0===et?void 0:et._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe((0,T.R)(this._destroyed)).subscribe(et=>{this._isTooltipVisible()&&et.keyCode===p.hY&&!(0,p.Vb)(et)&&(et.preventDefault(),et.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),(null===(qe=this._defaultOptions)||void 0===qe?void 0:qe.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(qe){const lt=qe.getConfig().positionStrategy,Be=this._getOrigin(),et=this._getOverlayPosition();lt.withPositions([this._addOffset(Object.assign(Object.assign({},Be.main),et.main)),this._addOffset(Object.assign(Object.assign({},Be.fallback),et.fallback))])}_addOffset(qe){return qe}_getOrigin(){const qe=!this._dir||"ltr"==this._dir.value,lt=this.position;let Be;"above"==lt||"below"==lt?Be={originX:"center",originY:"above"==lt?"top":"bottom"}:"before"==lt||"left"==lt&&qe||"right"==lt&&!qe?Be={originX:"start",originY:"center"}:("after"==lt||"right"==lt&&qe||"left"==lt&&!qe)&&(Be={originX:"end",originY:"center"});const{x:et,y:Ne}=this._invertPosition(Be.originX,Be.originY);return{main:Be,fallback:{originX:et,originY:Ne}}}_getOverlayPosition(){const qe=!this._dir||"ltr"==this._dir.value,lt=this.position;let Be;"above"==lt?Be={overlayX:"center",overlayY:"bottom"}:"below"==lt?Be={overlayX:"center",overlayY:"top"}:"before"==lt||"left"==lt&&qe||"right"==lt&&!qe?Be={overlayX:"end",overlayY:"center"}:("after"==lt||"right"==lt&&qe||"left"==lt&&!qe)&&(Be={overlayX:"start",overlayY:"center"});const{x:et,y:Ne}=this._invertPosition(Be.overlayX,Be.overlayY);return{main:Be,fallback:{overlayX:et,overlayY:Ne}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,S.q)(1),(0,T.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(qe){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=qe,this._tooltipInstance._markForCheck())}_invertPosition(qe,lt){return"above"===this.position||"below"===this.position?"top"===lt?lt="bottom":"bottom"===lt&&(lt="top"):"end"===qe?qe="start":"start"===qe&&(qe="end"),{x:qe,y:lt}}_updateCurrentPositionClass(qe){const{overlayY:lt,originX:Be,originY:et}=qe;let Ne;if(Ne="center"===lt?this._dir&&"rtl"===this._dir.value?"end"===Be?"left":"right":"start"===Be?"left":"right":"bottom"===lt&&"top"===et?"above":"below",Ne!==this._currentPosition){const We=this._overlayRef;if(We){const ft=`${this._cssClassPrefix}-${J}-`;We.removePanelClass(ft+this._currentPosition),We.addPanelClass(ft+Ne)}this._currentPosition=Ne}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const qe=[];if(this._platformSupportsMouseEvents())qe.push(["mouseleave",lt=>{var Be;const et=lt.relatedTarget;(!et||!(null===(Be=this._overlayRef)||void 0===Be?void 0:Be.overlayElement.contains(et)))&&this.hide()}],["wheel",lt=>this._wheelListener(lt)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const lt=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};qe.push(["touchend",lt],["touchcancel",lt])}this._addListeners(qe),this._passiveListeners.push(...qe)}_addListeners(qe){qe.forEach(([lt,Be])=>{this._elementRef.nativeElement.addEventListener(lt,Be,z)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(qe){if(this._isTooltipVisible()){const lt=this._document.elementFromPoint(qe.clientX,qe.clientY),Be=this._elementRef.nativeElement;lt!==Be&&!Be.contains(lt)&&this.hide()}}_disableNativeGesturesIfNecessary(){const qe=this.touchGestures;if("off"!==qe){const lt=this._elementRef.nativeElement,Be=lt.style;("on"===qe||"INPUT"!==lt.nodeName&&"TEXTAREA"!==lt.nodeName)&&(Be.userSelect=Be.msUserSelect=Be.webkitUserSelect=Be.MozUserSelect="none"),("on"===qe||!lt.draggable)&&(Be.webkitUserDrag="none"),Be.touchAction="none",Be.webkitTapHighlightColor="transparent"}}}return Ge.\u0275fac=function(qe){d.\u0275\u0275invalidFactory()},Ge.\u0275dir=d.\u0275\u0275defineDirective({type:Ge,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),Ge})(),he=(()=>{class Ge extends W{constructor(qe,lt,Be,et,Ne,We,ft,ve,we,B,te,Me){super(qe,lt,Be,et,Ne,We,ft,ve,we,B,te,Me),this._tooltipComponent=Se}}return Ge.\u0275fac=function(qe){return new(qe||Ge)(d.\u0275\u0275directiveInject(n.aV),d.\u0275\u0275directiveInject(d.ElementRef),d.\u0275\u0275directiveInject(c.mF),d.\u0275\u0275directiveInject(d.ViewContainerRef),d.\u0275\u0275directiveInject(d.NgZone),d.\u0275\u0275directiveInject(u.t4),d.\u0275\u0275directiveInject(h.$s),d.\u0275\u0275directiveInject(h.tE),d.\u0275\u0275directiveInject(me),d.\u0275\u0275directiveInject(x.Is,8),d.\u0275\u0275directiveInject(Y,8),d.\u0275\u0275directiveInject(y.DOCUMENT))},Ge.\u0275dir=d.\u0275\u0275defineDirective({type:Ge,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[d.\u0275\u0275InheritDefinitionFeature]}),Ge})(),ce=(()=>{class Ge{constructor(qe,lt){this._changeDetectorRef=qe,this._visibility="initial",this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new b.x,this._animationsDisabled="NoopAnimations"===lt}show(qe){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},qe)}hide(qe){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},qe)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:qe}){(!qe||!this._triggerElement.contains(qe))&&this.hide(this._mouseLeaveHideDelay)}_onShow(){}_handleAnimationEnd({animationName:qe}){(qe===this._showAnimation||qe===this._hideAnimation)&&this._finalizeAnimation(qe===this._showAnimation)}_finalizeAnimation(qe){qe?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(qe){const lt=this._tooltip.nativeElement,Be=this._showAnimation,et=this._hideAnimation;if(lt.classList.remove(qe?et:Be),lt.classList.add(qe?Be:et),this._isVisible=qe,qe&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const Ne=getComputedStyle(lt);("0s"===Ne.getPropertyValue("animation-duration")||"none"===Ne.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}qe&&this._onShow(),this._animationsDisabled&&(lt.classList.add("_mat-animation-noopable"),this._finalizeAnimation(qe))}}return Ge.\u0275fac=function(qe){return new(qe||Ge)(d.\u0275\u0275directiveInject(d.ChangeDetectorRef),d.\u0275\u0275directiveInject(v.ANIMATION_MODULE_TYPE,8))},Ge.\u0275dir=d.\u0275\u0275defineDirective({type:Ge}),Ge})(),Se=(()=>{class Ge extends ce{constructor(qe,lt,Be){super(qe,Be),this._breakpointObserver=lt,this._isHandset=this._breakpointObserver.observe(m.Breakpoints.Handset),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide"}}return Ge.\u0275fac=function(qe){return new(qe||Ge)(d.\u0275\u0275directiveInject(d.ChangeDetectorRef),d.\u0275\u0275directiveInject(m.BreakpointObserver),d.\u0275\u0275directiveInject(v.ANIMATION_MODULE_TYPE,8))},Ge.\u0275cmp=d.\u0275\u0275defineComponent({type:Ge,selectors:[["mat-tooltip-component"]],viewQuery:function(qe,lt){if(1&qe&&d.\u0275\u0275viewQuery(H,7),2&qe){let Be;d.\u0275\u0275queryRefresh(Be=d.\u0275\u0275loadQuery())&&(lt._tooltip=Be.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(qe,lt){1&qe&&d.\u0275\u0275listener("mouseleave",function(et){return lt._handleMouseLeave(et)}),2&qe&&d.\u0275\u0275styleProp("zoom",lt.isVisible()?1:null)},features:[d.\u0275\u0275InheritDefinitionFeature],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(qe,lt){if(1&qe&&(d.\u0275\u0275elementStart(0,"div",0,1),d.\u0275\u0275listener("animationend",function(et){return lt._handleAnimationEnd(et)}),d.\u0275\u0275pipe(2,"async"),d.\u0275\u0275text(3),d.\u0275\u0275elementEnd()),2&qe){let Be;d.\u0275\u0275classProp("mat-tooltip-handset",null==(Be=d.\u0275\u0275pipeBind1(2,4,lt._isHandset))?null:Be.matches),d.\u0275\u0275property("ngClass",lt.tooltipClass),d.\u0275\u0275advance(3),d.\u0275\u0275textInterpolate(lt.message)}},directives:[y.NgClass],pipes:[y.AsyncPipe],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}\n"],encapsulation:2,changeDetection:0}),Ge})(),rt=(()=>{class Ge{}return Ge.\u0275fac=function(qe){return new(qe||Ge)},Ge.\u0275mod=d.\u0275\u0275defineNgModule({type:Ge}),Ge.\u0275inj=d.\u0275\u0275defineInjector({providers:[_e],imports:[[h.rt,y.CommonModule,n.U8,o.MatCommonModule],o.MatCommonModule,c.ZD]}),Ge})();const gt={tooltipState:(0,A.X$)("state",[(0,A.SB)("initial, void, hidden",(0,A.oB)({opacity:0,transform:"scale(0)"})),(0,A.SB)("visible",(0,A.oB)({transform:"scale(1)"})),(0,A.eR)("* => visible",(0,A.jt)("200ms cubic-bezier(0, 0, 0.2, 1)",(0,A.F4)([(0,A.oB)({opacity:0,transform:"scale(0)",offset:0}),(0,A.oB)({opacity:.5,transform:"scale(0.99)",offset:.5}),(0,A.oB)({opacity:1,transform:"scale(1)",offset:1})]))),(0,A.eR)("* => hidden",(0,A.jt)("100ms cubic-bezier(0, 0, 0.2, 1)",(0,A.oB)({opacity:0})))])}},6360:(G,r,a)=>{"use strict";a.r(r),a.d(r,{ANIMATION_MODULE_TYPE:()=>Yo,BrowserAnimationsModule:()=>tr,NoopAnimationsModule:()=>Rs,\u0275AnimationRenderer:()=>Ko,\u0275AnimationRendererFactory:()=>Go,\u0275BrowserAnimationBuilder:()=>Li,\u0275BrowserAnimationFactory:()=>Ir,\u0275InjectableAnimationEngine:()=>io});var n=a(5e3),h=a(2313),y=a(1777);const d=!1;function c(K){return new n.\u0275RuntimeError(3e3,d)}function Ne(){return"undefined"!=typeof window&&void 0!==window.document}function We(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function ft(K){switch(K.length){case 0:return new y.ZN;case 1:return K[0];default:return new y.ZE(K)}}function ve(K,E,D,R,ee={},ye={}){const ke=[],Le=[];let nt=-1,mt=null;if(R.forEach(xt=>{const zt=xt.offset,Jt=zt==nt,an=Jt&&mt||{};Object.keys(xt).forEach(Kt=>{let nn=Kt,bn=xt[Kt];if("offset"!==Kt)switch(nn=E.normalizePropertyName(nn,ke),bn){case y.k1:bn=ee[Kt];break;case y.l3:bn=ye[Kt];break;default:bn=E.normalizeStyleValue(Kt,nn,bn,ke)}an[nn]=bn}),Jt||Le.push(an),mt=an,nt=zt}),ke.length)throw function W(K){return new n.\u0275RuntimeError(3502,d)}();return Le}function we(K,E,D,R){switch(E){case"start":K.onStart(()=>R(D&&B(D,"start",K)));break;case"done":K.onDone(()=>R(D&&B(D,"done",K)));break;case"destroy":K.onDestroy(()=>R(D&&B(D,"destroy",K)))}}function B(K,E,D){const R=D.totalTime,ye=te(K.element,K.triggerName,K.fromState,K.toState,E||K.phaseName,null==R?K.totalTime:R,!!D.disabled),ke=K._data;return null!=ke&&(ye._data=ke),ye}function te(K,E,D,R,ee="",ye=0,ke){return{element:K,triggerName:E,fromState:D,toState:R,phaseName:ee,totalTime:ye,disabled:!!ke}}function Me(K,E,D){let R;return K instanceof Map?(R=K.get(E),R||K.set(E,R=D)):(R=K[E],R||(R=K[E]=D)),R}function Ue(K){const E=K.indexOf(":");return[K.substring(1,E),K.substr(E+1)]}let Ke=(K,E)=>!1,Re=(K,E,D)=>[],V=null;function ge(K){const E=K.parentNode||K.host;return E===V?null:E}(We()||"undefined"!=typeof Element)&&(Ne()?(V=(()=>document.documentElement)(),Ke=(K,E)=>{for(;E;){if(E===K)return!0;E=ge(E)}return!1}):Ke=(K,E)=>K.contains(E),Re=(K,E,D)=>{if(D)return Array.from(K.querySelectorAll(E));const R=K.querySelector(E);return R?[R]:[]});let st=null,Et=!1;function Tt(K){st||(st=function Pt(){return"undefined"!=typeof document?document.body:null}()||{},Et=!!st.style&&"WebkitAppearance"in st.style);let E=!0;return st.style&&!function Je(K){return"ebkit"==K.substring(1,6)}(K)&&(E=K in st.style,!E&&Et&&(E="Webkit"+K.charAt(0).toUpperCase()+K.substr(1)in st.style)),E}const He=Ke,Ee=Re;let Ye=(()=>{class K{validateStyleProperty(D){return Tt(D)}matchesElement(D,R){return!1}containsElement(D,R){return He(D,R)}getParentElement(D){return ge(D)}query(D,R,ee){return Ee(D,R,ee)}computeStyle(D,R,ee){return ee||""}animate(D,R,ee,ye,ke,Le=[],nt){return new y.ZN(ee,ye)}}return K.\u0275fac=function(D){return new(D||K)},K.\u0275prov=n.\u0275\u0275defineInjectable({token:K,factory:K.\u0275fac}),K})(),Xe=(()=>{class K{}return K.NOOP=new Ye,K})();const ze="ng-enter",ct="ng-leave",Ct="ng-trigger",_t=".ng-trigger",Ht="ng-animating",wt=".ng-animating";function $t(K){if("number"==typeof K)return K;const E=K.match(/^(-?[\.\d]+)(m?s)/);return!E||E.length<2?0:ue(parseFloat(E[1]),E[2])}function ue(K,E){return"s"===E?1e3*K:K}function X(K,E,D){return K.hasOwnProperty("duration")?K:function L(K,E,D){let ee,ye=0,ke="";if("string"==typeof K){const Le=K.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Le)return E.push(c()),{duration:0,delay:0,easing:""};ee=ue(parseFloat(Le[1]),Le[2]);const nt=Le[3];null!=nt&&(ye=ue(parseFloat(nt),Le[4]));const mt=Le[5];mt&&(ke=mt)}else ee=K;if(!D){let Le=!1,nt=E.length;ee<0&&(E.push(function f(){return new n.\u0275RuntimeError(3100,d)}()),Le=!0),ye<0&&(E.push(function p(){return new n.\u0275RuntimeError(3101,d)}()),Le=!0),Le&&E.splice(nt,0,c())}return{duration:ee,delay:ye,easing:ke}}(K,E,D)}function P(K,E={}){return Object.keys(K).forEach(D=>{E[D]=K[D]}),E}function M(K,E,D={}){if(E)for(let R in K)D[R]=K[R];else P(K,D);return D}function U(K,E,D){return D?E+":"+D+";":""}function Ie(K){let E="";for(let D=0;D<K.style.length;D++){const R=K.style.item(D);E+=U(0,R,K.style.getPropertyValue(R))}for(const D in K.style)K.style.hasOwnProperty(D)&&!D.startsWith("_")&&(E+=U(0,Xt(D),K.style[D]));K.setAttribute("style",E)}function it(K,E,D){K.style&&(Object.keys(E).forEach(R=>{const ee=Ft(R);D&&!D.hasOwnProperty(R)&&(D[R]=K.style[ee]),K.style[ee]=E[R]}),We()&&Ie(K))}function Lt(K,E){K.style&&(Object.keys(E).forEach(D=>{const R=Ft(D);K.style[R]=""}),We()&&Ie(K))}function jt(K){return Array.isArray(K)?1==K.length?K[0]:(0,y.vP)(K):K}const je=new RegExp("{{\\s*(.+?)\\s*}}","g");function pe(K){let E=[];if("string"==typeof K){let D;for(;D=je.exec(K);)E.push(D[1]);je.lastIndex=0}return E}function Fe(K,E,D){const R=K.toString(),ee=R.replace(je,(ye,ke)=>{let Le=E[ke];return E.hasOwnProperty(ke)||(D.push(function u(K){return new n.\u0275RuntimeError(3003,d)}()),Le=""),Le.toString()});return ee==R?K:ee}function ut(K){const E=[];let D=K.next();for(;!D.done;)E.push(D.value),D=K.next();return E}const Rt=/-+([a-z0-9])/g;function Ft(K){return K.replace(Rt,(...E)=>E[1].toUpperCase())}function Xt(K){return K.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Cn(K,E,D){switch(E.type){case 7:return K.visitTrigger(E,D);case 0:return K.visitState(E,D);case 1:return K.visitTransition(E,D);case 2:return K.visitSequence(E,D);case 3:return K.visitGroup(E,D);case 4:return K.visitAnimate(E,D);case 5:return K.visitKeyframes(E,D);case 6:return K.visitStyle(E,D);case 8:return K.visitReference(E,D);case 9:return K.visitAnimateChild(E,D);case 10:return K.visitAnimateRef(E,D);case 11:return K.visitQuery(E,D);case 12:return K.visitStagger(E,D);default:throw function _(K){return new n.\u0275RuntimeError(3004,d)}()}}function Fn(K,E){return window.getComputedStyle(K)[E]}function De(K,E){const D=[];return"string"==typeof K?K.split(/\s*,\s*/).forEach(R=>function Ze(K,E,D){if(":"==K[0]){const nt=function at(K,E){switch(K){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(D,R)=>parseFloat(R)>parseFloat(D);case":decrement":return(D,R)=>parseFloat(R)<parseFloat(D);default:return E.push(function Te(K){return new n.\u0275RuntimeError(3016,d)}()),"* => *"}}(K,D);if("function"==typeof nt)return void E.push(nt);K=nt}const R=K.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==R||R.length<4)return D.push(function me(K){return new n.\u0275RuntimeError(3015,d)}()),E;const ee=R[1],ye=R[2],ke=R[3];E.push(St(ee,ke));"<"==ye[0]&&!("*"==ee&&"*"==ke)&&E.push(St(ke,ee))}(R,D,E)):D.push(K),D}const Mt=new Set(["true","1"]),Ut=new Set(["false","0"]);function St(K,E){const D=Mt.has(K)||Ut.has(K),R=Mt.has(E)||Ut.has(E);return(ee,ye)=>{let ke="*"==K||K==ee,Le="*"==E||E==ye;return!ke&&D&&"boolean"==typeof ee&&(ke=ee?Mt.has(K):Ut.has(K)),!Le&&R&&"boolean"==typeof ye&&(Le=ye?Mt.has(E):Ut.has(E)),ke&&Le}}const sn=new RegExp("s*:selfs*,?","g");function fn(K,E,D,R){return new vn(K).build(E,D,R)}class vn{constructor(E){this._driver=E}build(E,D,R){const ee=new hn(D);this._resetContextStyleTimingState(ee);const ye=Cn(this,jt(E),ee);return ee.unsupportedCSSPropertiesFound.size&&ee.unsupportedCSSPropertiesFound.keys(),ye}_resetContextStyleTimingState(E){E.currentQuerySelector="",E.collectedStyles={},E.collectedStyles[""]={},E.currentTime=0}visitTrigger(E,D){let R=D.queryCount=0,ee=D.depCount=0;const ye=[],ke=[];return"@"==E.name.charAt(0)&&D.errors.push(function b(){return new n.\u0275RuntimeError(3006,d)}()),E.definitions.forEach(Le=>{if(this._resetContextStyleTimingState(D),0==Le.type){const nt=Le,mt=nt.name;mt.toString().split(/\s*,\s*/).forEach(xt=>{nt.name=xt,ye.push(this.visitState(nt,D))}),nt.name=mt}else if(1==Le.type){const nt=this.visitTransition(Le,D);R+=nt.queryCount,ee+=nt.depCount,ke.push(nt)}else D.errors.push(function T(){return new n.\u0275RuntimeError(3007,d)}())}),{type:7,name:E.name,states:ye,transitions:ke,queryCount:R,depCount:ee,options:null}}visitState(E,D){const R=this.visitStyle(E.styles,D),ee=E.options&&E.options.params||null;if(R.containsDynamicStyles){const ye=new Set,ke=ee||{};R.styles.forEach(Le=>{if(ei(Le)){const nt=Le;Object.keys(nt).forEach(mt=>{pe(nt[mt]).forEach(xt=>{ke.hasOwnProperty(xt)||ye.add(xt)})})}}),ye.size&&(ut(ye.values()),D.errors.push(function S(K,E){return new n.\u0275RuntimeError(3008,d)}()))}return{type:0,name:E.name,style:R,options:ee?{params:ee}:null}}visitTransition(E,D){D.queryCount=0,D.depCount=0;const R=Cn(this,jt(E.animation),D);return{type:1,matchers:De(E.expr,D.errors),animation:R,queryCount:D.queryCount,depCount:D.depCount,options:wn(E.options)}}visitSequence(E,D){return{type:2,steps:E.steps.map(R=>Cn(this,R,D)),options:wn(E.options)}}visitGroup(E,D){const R=D.currentTime;let ee=0;const ye=E.steps.map(ke=>{D.currentTime=R;const Le=Cn(this,ke,D);return ee=Math.max(ee,D.currentTime),Le});return D.currentTime=ee,{type:3,steps:ye,options:wn(E.options)}}visitAnimate(E,D){const R=function Ci(K,E){let D=null;if(K.hasOwnProperty("duration"))D=K;else if("number"==typeof K)return An(X(K,E).duration,0,"");const R=K;if(R.split(/\s+/).some(ye=>"{"==ye.charAt(0)&&"{"==ye.charAt(1))){const ye=An(0,0,"");return ye.dynamic=!0,ye.strValue=R,ye}return D=D||X(R,E),An(D.duration,D.delay,D.easing)}(E.timings,D.errors);D.currentAnimateTimings=R;let ee,ye=E.styles?E.styles:(0,y.oB)({});if(5==ye.type)ee=this.visitKeyframes(ye,D);else{let ke=E.styles,Le=!1;if(!ke){Le=!0;const mt={};R.easing&&(mt.easing=R.easing),ke=(0,y.oB)(mt)}D.currentTime+=R.duration+R.delay;const nt=this.visitStyle(ke,D);nt.isEmptyStep=Le,ee=nt}return D.currentAnimateTimings=null,{type:4,timings:R,style:ee,options:null}}visitStyle(E,D){const R=this._makeStyleAst(E,D);return this._validateStyleAst(R,D),R}_makeStyleAst(E,D){const R=[];Array.isArray(E.styles)?E.styles.forEach(ke=>{"string"==typeof ke?ke==y.l3?R.push(ke):D.errors.push(function x(K){return new n.\u0275RuntimeError(3002,d)}()):R.push(ke)}):R.push(E.styles);let ee=!1,ye=null;return R.forEach(ke=>{if(ei(ke)){const Le=ke,nt=Le.easing;if(nt&&(ye=nt,delete Le.easing),!ee)for(let mt in Le)if(Le[mt].toString().indexOf("{{")>=0){ee=!0;break}}}),{type:6,styles:R,easing:ye,offset:E.offset,containsDynamicStyles:ee,options:null}}_validateStyleAst(E,D){const R=D.currentAnimateTimings;let ee=D.currentTime,ye=D.currentTime;R&&ye>0&&(ye-=R.duration+R.delay),E.styles.forEach(ke=>{"string"!=typeof ke&&Object.keys(ke).forEach(Le=>{if(!this._driver.validateStyleProperty(Le))return delete ke[Le],void D.unsupportedCSSPropertiesFound.add(Le);const nt=D.collectedStyles[D.currentQuerySelector],mt=nt[Le];let xt=!0;mt&&(ye!=ee&&ye>=mt.startTime&&ee<=mt.endTime&&(D.errors.push(function H(K,E,D,R,ee){return new n.\u0275RuntimeError(3010,d)}()),xt=!1),ye=mt.startTime),xt&&(nt[Le]={startTime:ye,endTime:ee}),D.options&&function Pe(K,E,D){const R=E.params||{},ee=pe(K);ee.length&&ee.forEach(ye=>{R.hasOwnProperty(ye)||D.push(function m(K){return new n.\u0275RuntimeError(3001,d)}())})}(ke[Le],D.options,D.errors)})})}visitKeyframes(E,D){const R={type:5,styles:[],options:null};if(!D.currentAnimateTimings)return D.errors.push(function Z(){return new n.\u0275RuntimeError(3011,d)}()),R;let ye=0;const ke=[];let Le=!1,nt=!1,mt=0;const xt=E.steps.map(Rn=>{const Gn=this._makeStyleAst(Rn,D);let si=null!=Gn.offset?Gn.offset:function tn(K){if("string"==typeof K)return null;let E=null;if(Array.isArray(K))K.forEach(D=>{if(ei(D)&&D.hasOwnProperty("offset")){const R=D;E=parseFloat(R.offset),delete R.offset}});else if(ei(K)&&K.hasOwnProperty("offset")){const D=K;E=parseFloat(D.offset),delete D.offset}return E}(Gn.styles),mn=0;return null!=si&&(ye++,mn=Gn.offset=si),nt=nt||mn<0||mn>1,Le=Le||mn<mt,mt=mn,ke.push(mn),Gn});nt&&D.errors.push(function Q(){return new n.\u0275RuntimeError(3012,d)}()),Le&&D.errors.push(function J(){return new n.\u0275RuntimeError(3200,d)}());const zt=E.steps.length;let Jt=0;ye>0&&ye<zt?D.errors.push(function z(){return new n.\u0275RuntimeError(3202,d)}()):0==ye&&(Jt=1/(zt-1));const an=zt-1,Kt=D.currentTime,nn=D.currentAnimateTimings,bn=nn.duration;return xt.forEach((Rn,Gn)=>{const si=Jt>0?Gn==an?1:Jt*Gn:ke[Gn],mn=si*bn;D.currentTime=Kt+nn.delay+mn,nn.duration=mn,this._validateStyleAst(Rn,D),Rn.offset=si,R.styles.push(Rn)}),R}visitReference(E,D){return{type:8,animation:Cn(this,jt(E.animation),D),options:wn(E.options)}}visitAnimateChild(E,D){return D.depCount++,{type:9,options:wn(E.options)}}visitAnimateRef(E,D){return{type:10,animation:this.visitReference(E.animation,D),options:wn(E.options)}}visitQuery(E,D){const R=D.currentQuerySelector,ee=E.options||{};D.queryCount++,D.currentQuery=E;const[ye,ke]=function qn(K){const E=!!K.split(/\s*,\s*/).find(D=>":self"==D);return E&&(K=K.replace(sn,"")),K=K.replace(/@\*/g,_t).replace(/@\w+/g,D=>_t+"-"+D.substr(1)).replace(/:animating/g,wt),[K,E]}(E.selector);D.currentQuerySelector=R.length?R+" "+ye:ye,Me(D.collectedStyles,D.currentQuerySelector,{});const Le=Cn(this,jt(E.animation),D);return D.currentQuery=null,D.currentQuerySelector=R,{type:11,selector:ye,limit:ee.limit||0,optional:!!ee.optional,includeSelf:ke,animation:Le,originalSelector:E.selector,options:wn(E.options)}}visitStagger(E,D){D.currentQuery||D.errors.push(function se(){return new n.\u0275RuntimeError(3013,d)}());const R="full"===E.timings?{duration:0,delay:0,easing:"full"}:X(E.timings,D.errors,!0);return{type:12,animation:Cn(this,jt(E.animation),D),timings:R,options:null}}}class hn{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={},this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function ei(K){return!Array.isArray(K)&&"object"==typeof K}function wn(K){return K?(K=P(K)).params&&(K.params=function Nn(K){return K?P(K):null}(K.params)):K={},K}function An(K,E,D){return{duration:K,delay:E,easing:D}}function hi(K,E,D,R,ee,ye,ke=null,Le=!1){return{type:1,element:K,keyframes:E,preStyleProps:D,postStyleProps:R,duration:ee,delay:ye,totalTime:ee+ye,easing:ke,subTimeline:Le}}class vi{constructor(){this._map=new Map}get(E){return this._map.get(E)||[]}append(E,D){let R=this._map.get(E);R||this._map.set(E,R=[]),R.push(...D)}has(E){return this._map.has(E)}clear(){this._map.clear()}}const wr=new RegExp(":enter","g"),Fr=new RegExp(":leave","g");function kn(K,E,D,R,ee,ye={},ke={},Le,nt,mt=[]){return(new kr).buildKeyframes(K,E,D,R,ee,ye,ke,Le,nt,mt)}class kr{buildKeyframes(E,D,R,ee,ye,ke,Le,nt,mt,xt=[]){mt=mt||new vi;const zt=new Ai(E,D,mt,ee,ye,xt,[]);zt.options=nt,zt.currentTimeline.setStyles([ke],null,zt.errors,nt),Cn(this,R,zt);const Jt=zt.timelines.filter(an=>an.containsAnimation());if(Object.keys(Le).length){let an;for(let Kt=Jt.length-1;Kt>=0;Kt--){const nn=Jt[Kt];if(nn.element===D){an=nn;break}}an&&!an.allowOnlyTimelineStyles()&&an.setStyles([Le],null,zt.errors,nt)}return Jt.length?Jt.map(an=>an.buildKeyframes()):[hi(D,[],[],[],0,0,"",!1)]}visitTrigger(E,D){}visitState(E,D){}visitTransition(E,D){}visitAnimateChild(E,D){const R=D.subInstructions.get(D.element);if(R){const ee=D.createSubContext(E.options),ye=D.currentTimeline.currentTime,ke=this._visitSubInstructions(R,ee,ee.options);ye!=ke&&D.transformIntoNewTimeline(ke)}D.previousNode=E}visitAnimateRef(E,D){const R=D.createSubContext(E.options);R.transformIntoNewTimeline(),this.visitReference(E.animation,R),D.transformIntoNewTimeline(R.currentTimeline.currentTime),D.previousNode=E}_visitSubInstructions(E,D,R){let ye=D.currentTimeline.currentTime;const ke=null!=R.duration?$t(R.duration):null,Le=null!=R.delay?$t(R.delay):null;return 0!==ke&&E.forEach(nt=>{const mt=D.appendInstructionToTimeline(nt,ke,Le);ye=Math.max(ye,mt.duration+mt.delay)}),ye}visitReference(E,D){D.updateOptions(E.options,!0),Cn(this,E.animation,D),D.previousNode=E}visitSequence(E,D){const R=D.subContextCount;let ee=D;const ye=E.options;if(ye&&(ye.params||ye.delay)&&(ee=D.createSubContext(ye),ee.transformIntoNewTimeline(),null!=ye.delay)){6==ee.previousNode.type&&(ee.currentTimeline.snapshotCurrentStyles(),ee.previousNode=Ei);const ke=$t(ye.delay);ee.delayNextStep(ke)}E.steps.length&&(E.steps.forEach(ke=>Cn(this,ke,ee)),ee.currentTimeline.applyStylesToKeyframe(),ee.subContextCount>R&&ee.transformIntoNewTimeline()),D.previousNode=E}visitGroup(E,D){const R=[];let ee=D.currentTimeline.currentTime;const ye=E.options&&E.options.delay?$t(E.options.delay):0;E.steps.forEach(ke=>{const Le=D.createSubContext(E.options);ye&&Le.delayNextStep(ye),Cn(this,ke,Le),ee=Math.max(ee,Le.currentTimeline.currentTime),R.push(Le.currentTimeline)}),R.forEach(ke=>D.currentTimeline.mergeTimelineCollectedStyles(ke)),D.transformIntoNewTimeline(ee),D.previousNode=E}_visitTiming(E,D){if(E.dynamic){const R=E.strValue;return X(D.params?Fe(R,D.params,D.errors):R,D.errors)}return{duration:E.duration,delay:E.delay,easing:E.easing}}visitAnimate(E,D){const R=D.currentAnimateTimings=this._visitTiming(E.timings,D),ee=D.currentTimeline;R.delay&&(D.incrementTime(R.delay),ee.snapshotCurrentStyles());const ye=E.style;5==ye.type?this.visitKeyframes(ye,D):(D.incrementTime(R.duration),this.visitStyle(ye,D),ee.applyStylesToKeyframe()),D.currentAnimateTimings=null,D.previousNode=E}visitStyle(E,D){const R=D.currentTimeline,ee=D.currentAnimateTimings;!ee&&R.getCurrentStyleProperties().length&&R.forwardFrame();const ye=ee&&ee.easing||E.easing;E.isEmptyStep?R.applyEmptyStep(ye):R.setStyles(E.styles,ye,D.errors,D.options),D.previousNode=E}visitKeyframes(E,D){const R=D.currentAnimateTimings,ee=D.currentTimeline.duration,ye=R.duration,Le=D.createSubContext().currentTimeline;Le.easing=R.easing,E.styles.forEach(nt=>{Le.forwardTime((nt.offset||0)*ye),Le.setStyles(nt.styles,nt.easing,D.errors,D.options),Le.applyStylesToKeyframe()}),D.currentTimeline.mergeTimelineCollectedStyles(Le),D.transformIntoNewTimeline(ee+ye),D.previousNode=E}visitQuery(E,D){const R=D.currentTimeline.currentTime,ee=E.options||{},ye=ee.delay?$t(ee.delay):0;ye&&(6===D.previousNode.type||0==R&&D.currentTimeline.getCurrentStyleProperties().length)&&(D.currentTimeline.snapshotCurrentStyles(),D.previousNode=Ei);let ke=R;const Le=D.invokeQuery(E.selector,E.originalSelector,E.limit,E.includeSelf,!!ee.optional,D.errors);D.currentQueryTotal=Le.length;let nt=null;Le.forEach((mt,xt)=>{D.currentQueryIndex=xt;const zt=D.createSubContext(E.options,mt);ye&&zt.delayNextStep(ye),mt===D.element&&(nt=zt.currentTimeline),Cn(this,E.animation,zt),zt.currentTimeline.applyStylesToKeyframe(),ke=Math.max(ke,zt.currentTimeline.currentTime)}),D.currentQueryIndex=0,D.currentQueryTotal=0,D.transformIntoNewTimeline(ke),nt&&(D.currentTimeline.mergeTimelineCollectedStyles(nt),D.currentTimeline.snapshotCurrentStyles()),D.previousNode=E}visitStagger(E,D){const R=D.parentContext,ee=D.currentTimeline,ye=E.timings,ke=Math.abs(ye.duration),Le=ke*(D.currentQueryTotal-1);let nt=ke*D.currentQueryIndex;switch(ye.duration<0?"reverse":ye.easing){case"reverse":nt=Le-nt;break;case"full":nt=R.currentStaggerTime}const xt=D.currentTimeline;nt&&xt.delayNextStep(nt);const zt=xt.currentTime;Cn(this,E.animation,D),D.previousNode=E,R.currentStaggerTime=ee.currentTime-zt+(ee.startTime-R.currentTimeline.startTime)}}const Ei={};class Ai{constructor(E,D,R,ee,ye,ke,Le,nt){this._driver=E,this.element=D,this.subInstructions=R,this._enterClassName=ee,this._leaveClassName=ye,this.errors=ke,this.timelines=Le,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Ei,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=nt||new Ki(this._driver,D,0),Le.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(E,D){if(!E)return;const R=E;let ee=this.options;null!=R.duration&&(ee.duration=$t(R.duration)),null!=R.delay&&(ee.delay=$t(R.delay));const ye=R.params;if(ye){let ke=ee.params;ke||(ke=this.options.params={}),Object.keys(ye).forEach(Le=>{(!D||!ke.hasOwnProperty(Le))&&(ke[Le]=Fe(ye[Le],ke,this.errors))})}}_copyOptions(){const E={};if(this.options){const D=this.options.params;if(D){const R=E.params={};Object.keys(D).forEach(ee=>{R[ee]=D[ee]})}}return E}createSubContext(E=null,D,R){const ee=D||this.element,ye=new Ai(this._driver,ee,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(ee,R||0));return ye.previousNode=this.previousNode,ye.currentAnimateTimings=this.currentAnimateTimings,ye.options=this._copyOptions(),ye.updateOptions(E),ye.currentQueryIndex=this.currentQueryIndex,ye.currentQueryTotal=this.currentQueryTotal,ye.parentContext=this,this.subContextCount++,ye}transformIntoNewTimeline(E){return this.previousNode=Ei,this.currentTimeline=this.currentTimeline.fork(this.element,E),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(E,D,R){const ee={duration:null!=D?D:E.duration,delay:this.currentTimeline.currentTime+(null!=R?R:0)+E.delay,easing:""},ye=new Qi(this._driver,E.element,E.keyframes,E.preStyleProps,E.postStyleProps,ee,E.stretchStartingKeyframe);return this.timelines.push(ye),ee}incrementTime(E){this.currentTimeline.forwardTime(this.currentTimeline.duration+E)}delayNextStep(E){E>0&&this.currentTimeline.delayNextStep(E)}invokeQuery(E,D,R,ee,ye,ke){let Le=[];if(ee&&Le.push(this.element),E.length>0){E=(E=E.replace(wr,"."+this._enterClassName)).replace(Fr,"."+this._leaveClassName);let mt=this._driver.query(this.element,E,1!=R);0!==R&&(mt=R<0?mt.slice(mt.length+R,mt.length):mt.slice(0,R)),Le.push(...mt)}return!ye&&0==Le.length&&ke.push(function ae(K){return new n.\u0275RuntimeError(3014,d)}()),Le}}class Ki{constructor(E,D,R,ee){this._driver=E,this.element=D,this.startTime=R,this._elementTimelineStylesLookup=ee,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(D),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(D,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(E){const D=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||D?(this.forwardTime(this.currentTime+E),D&&this.snapshotCurrentStyles()):this.startTime+=E}fork(E,D){return this.applyStylesToKeyframe(),new Ki(this._driver,E,D||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(E){this.applyStylesToKeyframe(),this.duration=E,this._loadKeyframe()}_updateStyle(E,D){this._localTimelineStyles[E]=D,this._globalTimelineStyles[E]=D,this._styleSummary[E]={time:this.currentTime,value:D}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(E){E&&(this._previousKeyframe.easing=E),Object.keys(this._globalTimelineStyles).forEach(D=>{this._backFill[D]=this._globalTimelineStyles[D]||y.l3,this._currentKeyframe[D]=y.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(E,D,R,ee){D&&(this._previousKeyframe.easing=D);const ye=ee&&ee.params||{},ke=function Yi(K,E){const D={};let R;return K.forEach(ee=>{"*"===ee?(R=R||Object.keys(E),R.forEach(ye=>{D[ye]=y.l3})):M(ee,!1,D)}),D}(E,this._globalTimelineStyles);Object.keys(ke).forEach(Le=>{const nt=Fe(ke[Le],ye,R);this._pendingStyles[Le]=nt,this._localTimelineStyles.hasOwnProperty(Le)||(this._backFill[Le]=this._globalTimelineStyles.hasOwnProperty(Le)?this._globalTimelineStyles[Le]:y.l3),this._updateStyle(Le,nt)})}applyStylesToKeyframe(){const E=this._pendingStyles,D=Object.keys(E);0!=D.length&&(this._pendingStyles={},D.forEach(R=>{this._currentKeyframe[R]=E[R]}),Object.keys(this._localTimelineStyles).forEach(R=>{this._currentKeyframe.hasOwnProperty(R)||(this._currentKeyframe[R]=this._localTimelineStyles[R])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(E=>{const D=this._localTimelineStyles[E];this._pendingStyles[E]=D,this._updateStyle(E,D)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const E=[];for(let D in this._currentKeyframe)E.push(D);return E}mergeTimelineCollectedStyles(E){Object.keys(E._styleSummary).forEach(D=>{const R=this._styleSummary[D],ee=E._styleSummary[D];(!R||ee.time>R.time)&&this._updateStyle(D,ee.value)})}buildKeyframes(){this.applyStylesToKeyframe();const E=new Set,D=new Set,R=1===this._keyframes.size&&0===this.duration;let ee=[];this._keyframes.forEach((Le,nt)=>{const mt=M(Le,!0);Object.keys(mt).forEach(xt=>{const zt=mt[xt];zt==y.k1?E.add(xt):zt==y.l3&&D.add(xt)}),R||(mt.offset=nt/this.duration),ee.push(mt)});const ye=E.size?ut(E.values()):[],ke=D.size?ut(D.values()):[];if(R){const Le=ee[0],nt=P(Le);Le.offset=0,nt.offset=1,ee=[Le,nt]}return hi(this.element,ee,ye,ke,this.duration,this.startTime,this.easing,!1)}}class Qi extends Ki{constructor(E,D,R,ee,ye,ke,Le=!1){super(E,D,ke.delay),this.keyframes=R,this.preStyleProps=ee,this.postStyleProps=ye,this._stretchStartingKeyframe=Le,this.timings={duration:ke.duration,delay:ke.delay,easing:ke.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let E=this.keyframes,{delay:D,duration:R,easing:ee}=this.timings;if(this._stretchStartingKeyframe&&D){const ye=[],ke=R+D,Le=D/ke,nt=M(E[0],!1);nt.offset=0,ye.push(nt);const mt=M(E[0],!1);mt.offset=dr(Le),ye.push(mt);const xt=E.length-1;for(let zt=1;zt<=xt;zt++){let Jt=M(E[zt],!1);Jt.offset=dr((D+Jt.offset*R)/ke),ye.push(Jt)}R=ke,D=0,ee="",E=ye}return hi(this.element,E,this.preStyleProps,this.postStyleProps,R,D,ee,!0)}}function dr(K,E=3){const D=Math.pow(10,E-1);return Math.round(K*D)/D}class yi{}class Ri extends yi{normalizePropertyName(E,D){return Ft(E)}normalizeStyleValue(E,D,R,ee){let ye="";const ke=R.toString().trim();if(Mr[D]&&0!==R&&"0"!==R)if("number"==typeof R)ye="px";else{const Le=R.match(/^[+-]?[\d\.]+([a-z]*)$/);Le&&0==Le[1].length&&ee.push(function v(K,E){return new n.\u0275RuntimeError(3005,d)}())}return ke+ye}}const Mr=(()=>function Sr(K){const E={};return K.forEach(D=>E[D]=!0),E}("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".split(",")))();function xi(K,E,D,R,ee,ye,ke,Le,nt,mt,xt,zt,Jt){return{type:0,element:K,triggerName:E,isRemovalTransition:ee,fromState:D,fromStyles:ye,toState:R,toStyles:ke,timelines:Le,queriedElements:nt,preStyleProps:mt,postStyleProps:xt,totalTime:zt,errors:Jt}}const Ti={};class Di{constructor(E,D,R){this._triggerName=E,this.ast=D,this._stateStyles=R}match(E,D,R,ee){return function Or(K,E,D,R,ee){return K.some(ye=>ye(E,D,R,ee))}(this.ast.matchers,E,D,R,ee)}buildStyles(E,D,R){const ee=this._stateStyles["*"],ye=this._stateStyles[E],ke=ee?ee.buildStyles(D,R):{};return ye?ye.buildStyles(D,R):ke}build(E,D,R,ee,ye,ke,Le,nt,mt,xt){const zt=[],Jt=this.ast.options&&this.ast.options.params||Ti,Kt=this.buildStyles(R,Le&&Le.params||Ti,zt),nn=nt&&nt.params||Ti,bn=this.buildStyles(ee,nn,zt),Rn=new Set,Gn=new Map,si=new Map,mn="void"===ee,pi={params:Object.assign(Object.assign({},Jt),nn)},gn=xt?[]:kn(E,D,this.ast.animation,ye,ke,Kt,bn,pi,mt,zt);let ri=0;if(gn.forEach(Vi=>{ri=Math.max(Vi.duration+Vi.delay,ri)}),zt.length)return xi(D,this._triggerName,R,ee,mn,Kt,bn,[],[],Gn,si,ri,zt);gn.forEach(Vi=>{const nr=Vi.element,xs=Me(Gn,nr,{});Vi.preStyleProps.forEach($i=>xs[$i]=!0);const Kr=Me(si,nr,{});Vi.postStyleProps.forEach($i=>Kr[$i]=!0),nr!==D&&Rn.add(nr)});const Bi=ut(Rn.values());return xi(D,this._triggerName,R,ee,mn,Kt,bn,gn,Bi,Gn,si,ri)}}class Fi{constructor(E,D,R){this.styles=E,this.defaultParams=D,this.normalizer=R}buildStyles(E,D){const R={},ee=P(this.defaultParams);return Object.keys(E).forEach(ye=>{const ke=E[ye];null!=ke&&(ee[ye]=ke)}),this.styles.styles.forEach(ye=>{if("string"!=typeof ye){const ke=ye;Object.keys(ke).forEach(Le=>{let nt=ke[Le];nt.length>1&&(nt=Fe(nt,ee,D));const mt=this.normalizer.normalizePropertyName(Le,D);nt=this.normalizer.normalizeStyleValue(Le,mt,nt,D),R[mt]=nt})}}),R}}class li{constructor(E,D,R){this.name=E,this.ast=D,this._normalizer=R,this.transitionFactories=[],this.states={},D.states.forEach(ee=>{this.states[ee.name]=new Fi(ee.style,ee.options&&ee.options.params||{},R)}),_i(this.states,"true","1"),_i(this.states,"false","0"),D.transitions.forEach(ee=>{this.transitionFactories.push(new Di(E,ee,this.states))}),this.fallbackTransition=function ki(K,E,D){return new Di(K,{type:1,animation:{type:2,steps:[],options:null},matchers:[(ke,Le)=>!0],options:null,queryCount:0,depCount:0},E)}(E,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(E,D,R,ee){return this.transitionFactories.find(ke=>ke.match(E,D,R,ee))||null}matchStyles(E,D,R){return this.fallbackTransition.buildStyles(E,D,R)}}function _i(K,E,D){K.hasOwnProperty(E)?K.hasOwnProperty(D)||(K[D]=K[E]):K.hasOwnProperty(D)&&(K[E]=K[D])}const Zi=new vi;class wi{constructor(E,D,R){this.bodyNode=E,this._driver=D,this._normalizer=R,this._animations={},this._playersById={},this.players=[]}register(E,D){const R=[],ye=fn(this._driver,D,R,[]);if(R.length)throw function he(K){return new n.\u0275RuntimeError(3503,d)}();this._animations[E]=ye}_buildPlayer(E,D,R){const ee=E.element,ye=ve(0,this._normalizer,0,E.keyframes,D,R);return this._driver.animate(ee,ye,E.duration,E.delay,E.easing,[],!0)}create(E,D,R={}){const ee=[],ye=this._animations[E];let ke;const Le=new Map;if(ye?(ke=kn(this._driver,D,ye,ze,ct,{},{},R,Zi,ee),ke.forEach(xt=>{const zt=Me(Le,xt.element,{});xt.postStyleProps.forEach(Jt=>zt[Jt]=null)})):(ee.push(function ce(){return new n.\u0275RuntimeError(3300,d)}()),ke=[]),ee.length)throw function Se(K){return new n.\u0275RuntimeError(3504,d)}();Le.forEach((xt,zt)=>{Object.keys(xt).forEach(Jt=>{xt[Jt]=this._driver.computeStyle(zt,Jt,y.l3)})});const mt=ft(ke.map(xt=>{const zt=Le.get(xt.element);return this._buildPlayer(xt,{},zt)}));return this._playersById[E]=mt,mt.onDestroy(()=>this.destroy(E)),this.players.push(mt),mt}destroy(E){const D=this._getPlayer(E);D.destroy(),delete this._playersById[E];const R=this.players.indexOf(D);R>=0&&this.players.splice(R,1)}_getPlayer(E){const D=this._playersById[E];if(!D)throw function rt(K){return new n.\u0275RuntimeError(3301,d)}();return D}listen(E,D,R,ee){const ye=te(D,"","","");return we(this._getPlayer(E),R,ye,ee),()=>{}}command(E,D,R,ee){if("register"==R)return void this.register(E,ee[0]);if("create"==R)return void this.create(E,D,ee[0]||{});const ye=this._getPlayer(E);switch(R){case"play":ye.play();break;case"pause":ye.pause();break;case"reset":ye.reset();break;case"restart":ye.restart();break;case"finish":ye.finish();break;case"init":ye.init();break;case"setPosition":ye.setPosition(parseFloat(ee[0]));break;case"destroy":this.destroy(E)}}}const hr="ng-animate-queued",Mi="ng-animate-disabled",Ln=[],Ni={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},qi={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},jn="__ng_removed";class er{constructor(E,D=""){this.namespaceId=D;const R=E&&E.hasOwnProperty("value");if(this.value=function N(K){return null!=K?K:null}(R?E.value:E),R){const ye=P(E);delete ye.value,this.options=ye}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(E){const D=E.params;if(D){const R=this.options.params;Object.keys(D).forEach(ee=>{null==R[ee]&&(R[ee]=D[ee])})}}}const $n="void",Wn=new er($n);class ni{constructor(E,D,R){this.id=E,this.hostElement=D,this._engine=R,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+E,vt(D,this._hostClassName)}listen(E,D,R,ee){if(!this._triggers.hasOwnProperty(D))throw function gt(K,E){return new n.\u0275RuntimeError(3302,d)}();if(null==R||0==R.length)throw function Ge(K){return new n.\u0275RuntimeError(3303,d)}();if(!function k(K){return"start"==K||"done"==K}(R))throw function ht(K,E){return new n.\u0275RuntimeError(3400,d)}();const ye=Me(this._elementListeners,E,[]),ke={name:D,phase:R,callback:ee};ye.push(ke);const Le=Me(this._engine.statesByElement,E,{});return Le.hasOwnProperty(D)||(vt(E,Ct),vt(E,Ct+"-"+D),Le[D]=Wn),()=>{this._engine.afterFlush(()=>{const nt=ye.indexOf(ke);nt>=0&&ye.splice(nt,1),this._triggers[D]||delete Le[D]})}}register(E,D){return!this._triggers[E]&&(this._triggers[E]=D,!0)}_getTrigger(E){const D=this._triggers[E];if(!D)throw function qe(K){return new n.\u0275RuntimeError(3401,d)}();return D}trigger(E,D,R,ee=!0){const ye=this._getTrigger(D),ke=new jr(this.id,D,E);let Le=this._engine.statesByElement.get(E);Le||(vt(E,Ct),vt(E,Ct+"-"+D),this._engine.statesByElement.set(E,Le={}));let nt=Le[D];const mt=new er(R,this.id);if(!(R&&R.hasOwnProperty("value"))&&nt&&mt.absorbOptions(nt.options),Le[D]=mt,nt||(nt=Wn),mt.value!==$n&&nt.value===mt.value){if(!function ln(K,E){const D=Object.keys(K),R=Object.keys(E);if(D.length!=R.length)return!1;for(let ee=0;ee<D.length;ee++){const ye=D[ee];if(!E.hasOwnProperty(ye)||K[ye]!==E[ye])return!1}return!0}(nt.params,mt.params)){const nn=[],bn=ye.matchStyles(nt.value,nt.params,nn),Rn=ye.matchStyles(mt.value,mt.params,nn);nn.length?this._engine.reportError(nn):this._engine.afterFlush(()=>{Lt(E,bn),it(E,Rn)})}return}const Jt=Me(this._engine.playersByElement,E,[]);Jt.forEach(nn=>{nn.namespaceId==this.id&&nn.triggerName==D&&nn.queued&&nn.destroy()});let an=ye.matchTransition(nt.value,mt.value,E,mt.params),Kt=!1;if(!an){if(!ee)return;an=ye.fallbackTransition,Kt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:E,triggerName:D,transition:an,fromState:nt,toState:mt,player:ke,isFallbackTransition:Kt}),Kt||(vt(E,hr),ke.onStart(()=>{kt(E,hr)})),ke.onDone(()=>{let nn=this.players.indexOf(ke);nn>=0&&this.players.splice(nn,1);const bn=this._engine.playersByElement.get(E);if(bn){let Rn=bn.indexOf(ke);Rn>=0&&bn.splice(Rn,1)}}),this.players.push(ke),Jt.push(ke),ke}deregister(E){delete this._triggers[E],this._engine.statesByElement.forEach((D,R)=>{delete D[E]}),this._elementListeners.forEach((D,R)=>{this._elementListeners.set(R,D.filter(ee=>ee.name!=E))})}clearElementCache(E){this._engine.statesByElement.delete(E),this._elementListeners.delete(E);const D=this._engine.playersByElement.get(E);D&&(D.forEach(R=>R.destroy()),this._engine.playersByElement.delete(E))}_signalRemovalForInnerTriggers(E,D){const R=this._engine.driver.query(E,_t,!0);R.forEach(ee=>{if(ee[jn])return;const ye=this._engine.fetchNamespacesByElement(ee);ye.size?ye.forEach(ke=>ke.triggerLeaveAnimation(ee,D,!1,!0)):this.clearElementCache(ee)}),this._engine.afterFlushAnimationsDone(()=>R.forEach(ee=>this.clearElementCache(ee)))}triggerLeaveAnimation(E,D,R,ee){const ye=this._engine.statesByElement.get(E),ke=new Map;if(ye){const Le=[];if(Object.keys(ye).forEach(nt=>{if(ke.set(nt,ye[nt].value),this._triggers[nt]){const mt=this.trigger(E,nt,$n,ee);mt&&Le.push(mt)}}),Le.length)return this._engine.markElementAsRemoved(this.id,E,!0,D,ke),R&&ft(Le).onDone(()=>this._engine.processLeaveNode(E)),!0}return!1}prepareLeaveAnimationListeners(E){const D=this._elementListeners.get(E),R=this._engine.statesByElement.get(E);if(D&&R){const ee=new Set;D.forEach(ye=>{const ke=ye.name;if(ee.has(ke))return;ee.add(ke);const nt=this._triggers[ke].fallbackTransition,mt=R[ke]||Wn,xt=new er($n),zt=new jr(this.id,ke,E);this._engine.totalQueuedPlayers++,this._queue.push({element:E,triggerName:ke,transition:nt,fromState:mt,toState:xt,player:zt,isFallbackTransition:!0})})}}removeNode(E,D){const R=this._engine;if(E.childElementCount&&this._signalRemovalForInnerTriggers(E,D),this.triggerLeaveAnimation(E,D,!0))return;let ee=!1;if(R.totalAnimations){const ye=R.players.length?R.playersByQueriedElement.get(E):[];if(ye&&ye.length)ee=!0;else{let ke=E;for(;ke=ke.parentNode;)if(R.statesByElement.get(ke)){ee=!0;break}}}if(this.prepareLeaveAnimationListeners(E),ee)R.markElementAsRemoved(this.id,E,!1,D);else{const ye=E[jn];(!ye||ye===Ni)&&(R.afterFlush(()=>this.clearElementCache(E)),R.destroyInnerAnimations(E),R._onRemovalComplete(E,D))}}insertNode(E,D){vt(E,this._hostClassName)}drainQueuedTransitions(E){const D=[];return this._queue.forEach(R=>{const ee=R.player;if(ee.destroyed)return;const ye=R.element,ke=this._elementListeners.get(ye);ke&&ke.forEach(Le=>{if(Le.name==R.triggerName){const nt=te(ye,R.triggerName,R.fromState.value,R.toState.value);nt._data=E,we(R.player,Le.phase,nt,Le.callback)}}),ee.markedForDestroy?this._engine.afterFlush(()=>{ee.destroy()}):D.push(R)}),this._queue=[],D.sort((R,ee)=>{const ye=R.transition.ast.depCount,ke=ee.transition.ast.depCount;return 0==ye||0==ke?ye-ke:this._engine.driver.containsElement(R.element,ee.element)?1:-1})}destroy(E){this.players.forEach(D=>D.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,E)}elementContainsData(E){let D=!1;return this._elementListeners.has(E)&&(D=!0),D=!!this._queue.find(R=>R.element===E)||D,D}}class Qn{constructor(E,D,R){this.bodyNode=E,this.driver=D,this._normalizer=R,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(ee,ye)=>{}}_onRemovalComplete(E,D){this.onRemovalComplete(E,D)}get queuedPlayers(){const E=[];return this._namespaceList.forEach(D=>{D.players.forEach(R=>{R.queued&&E.push(R)})}),E}createNamespace(E,D){const R=new ni(E,D,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,D)?this._balanceNamespaceList(R,D):(this.newHostElements.set(D,R),this.collectEnterElement(D)),this._namespaceLookup[E]=R}_balanceNamespaceList(E,D){const R=this._namespaceList,ee=this.namespacesByHostElement,ye=R.length-1;if(ye>=0){let ke=!1;if(void 0!==this.driver.getParentElement){let Le=this.driver.getParentElement(D);for(;Le;){const nt=ee.get(Le);if(nt){const mt=R.indexOf(nt);R.splice(mt+1,0,E),ke=!0;break}Le=this.driver.getParentElement(Le)}}else for(let Le=ye;Le>=0;Le--)if(this.driver.containsElement(R[Le].hostElement,D)){R.splice(Le+1,0,E),ke=!0;break}ke||R.unshift(E)}else R.push(E);return ee.set(D,E),E}register(E,D){let R=this._namespaceLookup[E];return R||(R=this.createNamespace(E,D)),R}registerTrigger(E,D,R){let ee=this._namespaceLookup[E];ee&&ee.register(D,R)&&this.totalAnimations++}destroy(E,D){if(!E)return;const R=this._fetchNamespace(E);this.afterFlush(()=>{this.namespacesByHostElement.delete(R.hostElement),delete this._namespaceLookup[E];const ee=this._namespaceList.indexOf(R);ee>=0&&this._namespaceList.splice(ee,1)}),this.afterFlushAnimationsDone(()=>R.destroy(D))}_fetchNamespace(E){return this._namespaceLookup[E]}fetchNamespacesByElement(E){const D=new Set,R=this.statesByElement.get(E);if(R){const ee=Object.keys(R);for(let ye=0;ye<ee.length;ye++){const ke=R[ee[ye]].namespaceId;if(ke){const Le=this._fetchNamespace(ke);Le&&D.add(Le)}}}return D}trigger(E,D,R,ee){if(re(D)){const ye=this._fetchNamespace(E);if(ye)return ye.trigger(D,R,ee),!0}return!1}insertNode(E,D,R,ee){if(!re(D))return;const ye=D[jn];if(ye&&ye.setForRemoval){ye.setForRemoval=!1,ye.setForMove=!0;const ke=this.collectedLeaveElements.indexOf(D);ke>=0&&this.collectedLeaveElements.splice(ke,1)}if(E){const ke=this._fetchNamespace(E);ke&&ke.insertNode(D,R)}ee&&this.collectEnterElement(D)}collectEnterElement(E){this.collectedEnterElements.push(E)}markElementAsDisabled(E,D){D?this.disabledNodes.has(E)||(this.disabledNodes.add(E),vt(E,Mi)):this.disabledNodes.has(E)&&(this.disabledNodes.delete(E),kt(E,Mi))}removeNode(E,D,R,ee){if(re(D)){const ye=E?this._fetchNamespace(E):null;if(ye?ye.removeNode(D,ee):this.markElementAsRemoved(E,D,!1,ee),R){const ke=this.namespacesByHostElement.get(D);ke&&ke.id!==E&&ke.removeNode(D,ee)}}else this._onRemovalComplete(D,ee)}markElementAsRemoved(E,D,R,ee,ye){this.collectedLeaveElements.push(D),D[jn]={namespaceId:E,setForRemoval:ee,hasAnimation:R,removedBeforeQueried:!1,previousTriggersValues:ye}}listen(E,D,R,ee,ye){return re(D)?this._fetchNamespace(E).listen(D,R,ee,ye):()=>{}}_buildInstruction(E,D,R,ee,ye){return E.transition.build(this.driver,E.element,E.fromState.value,E.toState.value,R,ee,E.fromState.options,E.toState.options,D,ye)}destroyInnerAnimations(E){let D=this.driver.query(E,_t,!0);D.forEach(R=>this.destroyActiveAnimationsForElement(R)),0!=this.playersByQueriedElement.size&&(D=this.driver.query(E,wt,!0),D.forEach(R=>this.finishActiveQueriedAnimationOnElement(R)))}destroyActiveAnimationsForElement(E){const D=this.playersByElement.get(E);D&&D.forEach(R=>{R.queued?R.markedForDestroy=!0:R.destroy()})}finishActiveQueriedAnimationOnElement(E){const D=this.playersByQueriedElement.get(E);D&&D.forEach(R=>R.finish())}whenRenderingDone(){return new Promise(E=>{if(this.players.length)return ft(this.players).onDone(()=>E());E()})}processLeaveNode(E){var D;const R=E[jn];if(R&&R.setForRemoval){if(E[jn]=Ni,R.namespaceId){this.destroyInnerAnimations(E);const ee=this._fetchNamespace(R.namespaceId);ee&&ee.clearElementCache(E)}this._onRemovalComplete(E,R.setForRemoval)}(null===(D=E.classList)||void 0===D?void 0:D.contains(Mi))&&this.markElementAsDisabled(E,!1),this.driver.query(E,".ng-animate-disabled",!0).forEach(ee=>{this.markElementAsDisabled(ee,!1)})}flush(E=-1){let D=[];if(this.newHostElements.size&&(this.newHostElements.forEach((R,ee)=>this._balanceNamespaceList(R,ee)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let R=0;R<this.collectedEnterElements.length;R++)vt(this.collectedEnterElements[R],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const R=[];try{D=this._flushAnimations(R,E)}finally{for(let ee=0;ee<R.length;ee++)R[ee]()}}else for(let R=0;R<this.collectedLeaveElements.length;R++)this.processLeaveNode(this.collectedLeaveElements[R]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(R=>R()),this._flushFns=[],this._whenQuietFns.length){const R=this._whenQuietFns;this._whenQuietFns=[],D.length?ft(D).onDone(()=>{R.forEach(ee=>ee())}):R.forEach(ee=>ee())}}reportError(E){throw function lt(K){return new n.\u0275RuntimeError(3402,d)}()}_flushAnimations(E,D){const R=new vi,ee=[],ye=new Map,ke=[],Le=new Map,nt=new Map,mt=new Map,xt=new Set;this.disabledNodes.forEach(Bt=>{xt.add(Bt);const Wt=this.driver.query(Bt,".ng-animate-queued",!0);for(let Zt=0;Zt<Wt.length;Zt++)xt.add(Wt[Zt])});const zt=this.bodyNode,Jt=Array.from(this.statesByElement.keys()),an=dt(Jt,this.collectedEnterElements),Kt=new Map;let nn=0;an.forEach((Bt,Wt)=>{const Zt=ze+nn++;Kt.set(Wt,Zt),Bt.forEach(on=>vt(on,Zt))});const bn=[],Rn=new Set,Gn=new Set;for(let Bt=0;Bt<this.collectedLeaveElements.length;Bt++){const Wt=this.collectedLeaveElements[Bt],Zt=Wt[jn];Zt&&Zt.setForRemoval&&(bn.push(Wt),Rn.add(Wt),Zt.hasAnimation?this.driver.query(Wt,".ng-star-inserted",!0).forEach(on=>Rn.add(on)):Gn.add(Wt))}const si=new Map,mn=dt(Jt,Array.from(Rn));mn.forEach((Bt,Wt)=>{const Zt=ct+nn++;si.set(Wt,Zt),Bt.forEach(on=>vt(on,Zt))}),E.push(()=>{an.forEach((Bt,Wt)=>{const Zt=Kt.get(Wt);Bt.forEach(on=>kt(on,Zt))}),mn.forEach((Bt,Wt)=>{const Zt=si.get(Wt);Bt.forEach(on=>kt(on,Zt))}),bn.forEach(Bt=>{this.processLeaveNode(Bt)})});const pi=[],gn=[];for(let Bt=this._namespaceList.length-1;Bt>=0;Bt--)this._namespaceList[Bt].drainQueuedTransitions(D).forEach(Zt=>{const on=Zt.player,xn=Zt.element;if(pi.push(on),this.collectedEnterElements.length){const ci=xn[jn];if(ci&&ci.setForMove){if(ci.previousTriggersValues&&ci.previousTriggersValues.has(Zt.triggerName)){const Br=ci.previousTriggersValues.get(Zt.triggerName),Si=this.statesByElement.get(Zt.element);Si&&Si[Zt.triggerName]&&(Si[Zt.triggerName].value=Br)}return void on.destroy()}}const Hi=!zt||!this.driver.containsElement(zt,xn),mi=si.get(xn),bi=Kt.get(xn),Sn=this._buildInstruction(Zt,R,bi,mi,Hi);if(Sn.errors&&Sn.errors.length)return void gn.push(Sn);if(Hi)return on.onStart(()=>Lt(xn,Sn.fromStyles)),on.onDestroy(()=>it(xn,Sn.toStyles)),void ee.push(on);if(Zt.isFallbackTransition)return on.onStart(()=>Lt(xn,Sn.fromStyles)),on.onDestroy(()=>it(xn,Sn.toStyles)),void ee.push(on);const Fs=[];Sn.timelines.forEach(ci=>{ci.stretchStartingKeyframe=!0,this.disabledNodes.has(ci.element)||Fs.push(ci)}),Sn.timelines=Fs,R.append(xn,Sn.timelines),ke.push({instruction:Sn,player:on,element:xn}),Sn.queriedElements.forEach(ci=>Me(Le,ci,[]).push(on)),Sn.preStyleProps.forEach((ci,Br)=>{const Si=Object.keys(ci);if(Si.length){let mr=nt.get(Br);mr||nt.set(Br,mr=new Set),Si.forEach(Zr=>mr.add(Zr))}}),Sn.postStyleProps.forEach((ci,Br)=>{const Si=Object.keys(ci);let mr=mt.get(Br);mr||mt.set(Br,mr=new Set),Si.forEach(Zr=>mr.add(Zr))})});if(gn.length){const Bt=[];gn.forEach(Wt=>{Bt.push(function et(K,E){return new n.\u0275RuntimeError(3505,d)}())}),pi.forEach(Wt=>Wt.destroy()),this.reportError(Bt)}const ri=new Map,Bi=new Map;ke.forEach(Bt=>{const Wt=Bt.element;R.has(Wt)&&(Bi.set(Wt,Wt),this._beforeAnimationBuild(Bt.player.namespaceId,Bt.instruction,ri))}),ee.forEach(Bt=>{const Wt=Bt.element;this._getPreviousPlayers(Wt,!1,Bt.namespaceId,Bt.triggerName,null).forEach(on=>{Me(ri,Wt,[]).push(on),on.destroy()})});const Vi=bn.filter(Bt=>In(Bt,nt,mt)),nr=new Map;$e(nr,this.driver,Gn,mt,y.l3).forEach(Bt=>{In(Bt,nt,mt)&&Vi.push(Bt)});const Kr=new Map;an.forEach((Bt,Wt)=>{$e(Kr,this.driver,new Set(Bt),nt,y.k1)}),Vi.forEach(Bt=>{const Wt=nr.get(Bt),Zt=Kr.get(Bt);nr.set(Bt,Object.assign(Object.assign({},Wt),Zt))});const $i=[],Qr=[],Yr={};ke.forEach(Bt=>{const{element:Wt,player:Zt,instruction:on}=Bt;if(R.has(Wt)){if(xt.has(Wt))return Zt.onDestroy(()=>it(Wt,on.toStyles)),Zt.disabled=!0,Zt.overrideTotalTime(on.totalTime),void ee.push(Zt);let xn=Yr;if(Bi.size>1){let mi=Wt;const bi=[];for(;mi=mi.parentNode;){const Sn=Bi.get(mi);if(Sn){xn=Sn;break}bi.push(mi)}bi.forEach(Sn=>Bi.set(Sn,xn))}const Hi=this._buildAnimation(Zt.namespaceId,on,ri,ye,Kr,nr);if(Zt.setRealPlayer(Hi),xn===Yr)$i.push(Zt);else{const mi=this.playersByElement.get(xn);mi&&mi.length&&(Zt.parentPlayer=ft(mi)),ee.push(Zt)}}else Lt(Wt,on.fromStyles),Zt.onDestroy(()=>it(Wt,on.toStyles)),Qr.push(Zt),xt.has(Wt)&&ee.push(Zt)}),Qr.forEach(Bt=>{const Wt=ye.get(Bt.element);if(Wt&&Wt.length){const Zt=ft(Wt);Bt.setRealPlayer(Zt)}}),ee.forEach(Bt=>{Bt.parentPlayer?Bt.syncPlayerEvents(Bt.parentPlayer):Bt.destroy()});for(let Bt=0;Bt<bn.length;Bt++){const Wt=bn[Bt],Zt=Wt[jn];if(kt(Wt,ct),Zt&&Zt.hasAnimation)continue;let on=[];if(Le.size){let Hi=Le.get(Wt);Hi&&Hi.length&&on.push(...Hi);let mi=this.driver.query(Wt,wt,!0);for(let bi=0;bi<mi.length;bi++){let Sn=Le.get(mi[bi]);Sn&&Sn.length&&on.push(...Sn)}}const xn=on.filter(Hi=>!Hi.destroyed);xn.length?yn(this,Wt,xn):this.processLeaveNode(Wt)}return bn.length=0,$i.forEach(Bt=>{this.players.push(Bt),Bt.onDone(()=>{Bt.destroy();const Wt=this.players.indexOf(Bt);this.players.splice(Wt,1)}),Bt.play()}),$i}elementContainsData(E,D){let R=!1;const ee=D[jn];return ee&&ee.setForRemoval&&(R=!0),this.playersByElement.has(D)&&(R=!0),this.playersByQueriedElement.has(D)&&(R=!0),this.statesByElement.has(D)&&(R=!0),this._fetchNamespace(E).elementContainsData(D)||R}afterFlush(E){this._flushFns.push(E)}afterFlushAnimationsDone(E){this._whenQuietFns.push(E)}_getPreviousPlayers(E,D,R,ee,ye){let ke=[];if(D){const Le=this.playersByQueriedElement.get(E);Le&&(ke=Le)}else{const Le=this.playersByElement.get(E);if(Le){const nt=!ye||ye==$n;Le.forEach(mt=>{mt.queued||!nt&&mt.triggerName!=ee||ke.push(mt)})}}return(R||ee)&&(ke=ke.filter(Le=>!(R&&R!=Le.namespaceId||ee&&ee!=Le.triggerName))),ke}_beforeAnimationBuild(E,D,R){const ye=D.element,ke=D.isRemovalTransition?void 0:E,Le=D.isRemovalTransition?void 0:D.triggerName;for(const nt of D.timelines){const mt=nt.element,xt=mt!==ye,zt=Me(R,mt,[]);this._getPreviousPlayers(mt,xt,ke,Le,D.toState).forEach(an=>{const Kt=an.getRealPlayer();Kt.beforeDestroy&&Kt.beforeDestroy(),an.destroy(),zt.push(an)})}Lt(ye,D.fromStyles)}_buildAnimation(E,D,R,ee,ye,ke){const Le=D.triggerName,nt=D.element,mt=[],xt=new Set,zt=new Set,Jt=D.timelines.map(Kt=>{const nn=Kt.element;xt.add(nn);const bn=nn[jn];if(bn&&bn.removedBeforeQueried)return new y.ZN(Kt.duration,Kt.delay);const Rn=nn!==nt,Gn=function dn(K){const E=[];return rn(K,E),E}((R.get(nn)||Ln).map(ri=>ri.getRealPlayer())).filter(ri=>!!ri.element&&ri.element===nn),si=ye.get(nn),mn=ke.get(nn),pi=ve(0,this._normalizer,0,Kt.keyframes,si,mn),gn=this._buildPlayer(Kt,pi,Gn);if(Kt.subTimeline&&ee&&zt.add(nn),Rn){const ri=new jr(E,Le,nn);ri.setRealPlayer(gn),mt.push(ri)}return gn});mt.forEach(Kt=>{Me(this.playersByQueriedElement,Kt.element,[]).push(Kt),Kt.onDone(()=>function Tn(K,E,D){let R;if(K instanceof Map){if(R=K.get(E),R){if(R.length){const ee=R.indexOf(D);R.splice(ee,1)}0==R.length&&K.delete(E)}}else if(R=K[E],R){if(R.length){const ee=R.indexOf(D);R.splice(ee,1)}0==R.length&&delete K[E]}return R}(this.playersByQueriedElement,Kt.element,Kt))}),xt.forEach(Kt=>vt(Kt,Ht));const an=ft(Jt);return an.onDestroy(()=>{xt.forEach(Kt=>kt(Kt,Ht)),it(nt,D.toStyles)}),zt.forEach(Kt=>{Me(ee,Kt,[]).push(an)}),an}_buildPlayer(E,D,R){return D.length>0?this.driver.animate(E.element,D,E.duration,E.delay,E.easing,R):new y.ZN(E.duration,E.delay)}}class jr{constructor(E,D,R){this.namespaceId=E,this.triggerName=D,this.element=R,this._player=new y.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(E){this._containsRealPlayer||(this._player=E,Object.keys(this._queuedCallbacks).forEach(D=>{this._queuedCallbacks[D].forEach(R=>we(E,D,void 0,R))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(E.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(E){this.totalTime=E}syncPlayerEvents(E){const D=this._player;D.triggerCallback&&E.onStart(()=>D.triggerCallback("start")),E.onDone(()=>this.finish()),E.onDestroy(()=>this.destroy())}_queueEvent(E,D){Me(this._queuedCallbacks,E,[]).push(D)}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 D=this._player;D.triggerCallback&&D.triggerCallback(E)}}function re(K){return K&&1===K.nodeType}function fe(K,E){const D=K.style.display;return K.style.display=null!=E?E:"none",D}function $e(K,E,D,R,ee){const ye=[];D.forEach(nt=>ye.push(fe(nt)));const ke=[];R.forEach((nt,mt)=>{const xt={};nt.forEach(zt=>{const Jt=xt[zt]=E.computeStyle(mt,zt,ee);(!Jt||0==Jt.length)&&(mt[jn]=qi,ke.push(mt))}),K.set(mt,xt)});let Le=0;return D.forEach(nt=>fe(nt,ye[Le++])),ke}function dt(K,E){const D=new Map;if(K.forEach(Le=>D.set(Le,[])),0==E.length)return D;const ee=new Set(E),ye=new Map;function ke(Le){if(!Le)return 1;let nt=ye.get(Le);if(nt)return nt;const mt=Le.parentNode;return nt=D.has(mt)?mt:ee.has(mt)?1:ke(mt),ye.set(Le,nt),nt}return E.forEach(Le=>{const nt=ke(Le);1!==nt&&D.get(nt).push(Le)}),D}function vt(K,E){var D;null===(D=K.classList)||void 0===D||D.add(E)}function kt(K,E){var D;null===(D=K.classList)||void 0===D||D.remove(E)}function yn(K,E,D){ft(D).onDone(()=>K.processLeaveNode(E))}function rn(K,E){for(let D=0;D<K.length;D++){const R=K[D];R instanceof y.ZE?rn(R.players,E):E.push(R)}}function In(K,E,D){const R=D.get(K);if(!R)return!1;let ee=E.get(K);return ee?R.forEach(ye=>ee.add(ye)):E.set(K,R),D.delete(K),!0}class j{constructor(E,D,R){this.bodyNode=E,this._driver=D,this._normalizer=R,this._triggerCache={},this.onRemovalComplete=(ee,ye)=>{},this._transitionEngine=new Qn(E,D,R),this._timelineEngine=new wi(E,D,R),this._transitionEngine.onRemovalComplete=(ee,ye)=>this.onRemovalComplete(ee,ye)}registerTrigger(E,D,R,ee,ye){const ke=E+"-"+ee;let Le=this._triggerCache[ke];if(!Le){const nt=[],xt=fn(this._driver,ye,nt,[]);if(nt.length)throw function de(K,E){return new n.\u0275RuntimeError(3404,d)}();Le=function fr(K,E,D){return new li(K,E,D)}(ee,xt,this._normalizer),this._triggerCache[ke]=Le}this._transitionEngine.registerTrigger(D,ee,Le)}register(E,D){this._transitionEngine.register(E,D)}destroy(E,D){this._transitionEngine.destroy(E,D)}onInsert(E,D,R,ee){this._transitionEngine.insertNode(E,D,R,ee)}onRemove(E,D,R,ee){this._transitionEngine.removeNode(E,D,ee||!1,R)}disableAnimations(E,D){this._transitionEngine.markElementAsDisabled(E,D)}process(E,D,R,ee){if("@"==R.charAt(0)){const[ye,ke]=Ue(R);this._timelineEngine.command(ye,D,ke,ee)}else this._transitionEngine.trigger(E,D,R,ee)}listen(E,D,R,ee,ye){if("@"==R.charAt(0)){const[ke,Le]=Ue(R);return this._timelineEngine.listen(ke,D,Le,ye)}return this._transitionEngine.listen(E,D,R,ee,ye)}flush(E=-1){this._transitionEngine.flush(E)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let I=(()=>{class K{constructor(D,R,ee){this._element=D,this._startStyles=R,this._endStyles=ee,this._state=0;let ye=K.initialStylesByElement.get(D);ye||K.initialStylesByElement.set(D,ye={}),this._initialStyles=ye}start(){this._state<1&&(this._startStyles&&it(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(it(this._element,this._initialStyles),this._endStyles&&(it(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(K.initialStylesByElement.delete(this._element),this._startStyles&&(Lt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Lt(this._element,this._endStyles),this._endStyles=null),it(this._element,this._initialStyles),this._state=3)}}return K.initialStylesByElement=new WeakMap,K})();function ie(K){let E=null;const D=Object.keys(K);for(let R=0;R<D.length;R++){const ee=D[R];Qe(ee)&&(E=E||{},E[ee]=K[ee])}return E}function Qe(K){return"display"===K||"position"===K}class Nt{constructor(E,D,R,ee){this.element=E,this.keyframes=D,this.options=R,this._specialStyles=ee,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=R.duration,this._delay=R.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(E=>E()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const E=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,E,this.options),this._finalKeyframe=E.length?E[E.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(E,D,R){return E.animate(D,R)}onStart(E){this._onStartFns.push(E)}onDone(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}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(E=>E()),this._onDestroyFns=[])}setPosition(E){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=E*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const E={};if(this.hasStarted()){const D=this._finalKeyframe;Object.keys(D).forEach(R=>{"offset"!=R&&(E[R]=this._finished?D[R]:Fn(this.element,R))})}this.currentSnapshot=E}triggerCallback(E){const D="start"==E?this._onStartFns:this._onDoneFns;D.forEach(R=>R()),D.length=0}}class Mn{validateStyleProperty(E){return Tt(E)}matchesElement(E,D){return!1}containsElement(E,D){return He(E,D)}getParentElement(E){return ge(E)}query(E,D,R){return Ee(E,D,R)}computeStyle(E,D,R){return window.getComputedStyle(E)[D]}animate(E,D,R,ee,ye,ke=[]){const nt={duration:R,delay:ee,fill:0==ee?"both":"forwards"};ye&&(nt.easing=ye);const mt={},xt=ke.filter(Jt=>Jt instanceof Nt);(function pn(K,E){return 0===K||0===E})(R,ee)&&xt.forEach(Jt=>{let an=Jt.currentSnapshot;Object.keys(an).forEach(Kt=>mt[Kt]=an[Kt])}),D=function Pn(K,E,D){const R=Object.keys(D);if(R.length&&E.length){let ye=E[0],ke=[];if(R.forEach(Le=>{ye.hasOwnProperty(Le)||ke.push(Le),ye[Le]=D[Le]}),ke.length)for(var ee=1;ee<E.length;ee++){let Le=E[ee];ke.forEach(function(nt){Le[nt]=Fn(K,nt)})}}return E}(E,D=D.map(Jt=>M(Jt,!1)),mt);const zt=function F(K,E){let D=null,R=null;return Array.isArray(E)&&E.length?(D=ie(E[0]),E.length>1&&(R=ie(E[E.length-1]))):E&&(D=ie(E)),D||R?new I(K,D,R):null}(E,D);return new Nt(E,D,nt,zt)}}var Yn=a(9808);let Li=(()=>{class K extends y._j{constructor(D,R){super(),this._nextAnimationId=0,this._renderer=D.createRenderer(R.body,{id:"0",encapsulation:n.ViewEncapsulation.None,styles:[],data:{animation:[]}})}build(D){const R=this._nextAnimationId.toString();this._nextAnimationId++;const ee=Array.isArray(D)?(0,y.vP)(D):D;return Wo(this._renderer,null,R,"register",[ee]),new Ir(R,this._renderer)}}return K.\u0275fac=function(D){return new(D||K)(n.\u0275\u0275inject(n.RendererFactory2),n.\u0275\u0275inject(Yn.DOCUMENT))},K.\u0275prov=n.\u0275\u0275defineInjectable({token:K,factory:K.\u0275fac}),K})();class Ir extends y.LC{constructor(E,D){super(),this._id=E,this._renderer=D}create(E,D){return new As(this._id,E,D||{},this._renderer)}}class As{constructor(E,D,R,ee){this.id=E,this.element=D,this._renderer=ee,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",R)}_listen(E,D){return this._renderer.listen(this.element,`@@${this.id}:${E}`,D)}_command(E,...D){return Wo(this._renderer,this.element,this.id,E,D)}onDone(E){this._listen("done",E)}onStart(E){this._listen("start",E)}onDestroy(E){this._listen("destroy",E)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(E){this._command("setPosition",E)}getPosition(){var E,D;return null!==(D=null===(E=this._renderer.engine.players[+this.id])||void 0===E?void 0:E.getPosition())&&void 0!==D?D:0}}function Wo(K,E,D,R,ee){return K.setProperty(E,`@@${D}:${R}`,ee)}const cn="@.disabled";let Go=(()=>{class K{constructor(D,R,ee){this.delegate=D,this.engine=R,this._zone=ee,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),R.onRemovalComplete=(ye,ke)=>{const Le=null==ke?void 0:ke.parentNode(ye);Le&&ke.removeChild(Le,ye)}}createRenderer(D,R){const ye=this.delegate.createRenderer(D,R);if(!(D&&R&&R.data&&R.data.animation)){let xt=this._rendererCache.get(ye);return xt||(xt=new Bn("",ye,this.engine),this._rendererCache.set(ye,xt)),xt}const ke=R.id,Le=R.id+"-"+this._currentId;this._currentId++,this.engine.register(Le,D);const nt=xt=>{Array.isArray(xt)?xt.forEach(nt):this.engine.registerTrigger(ke,Le,D,xt.name,xt)};return R.data.animation.forEach(nt),new Ko(this,Le,ye,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(D,R,ee){D>=0&&D<this._microtaskId?this._zone.run(()=>R(ee)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(ye=>{const[ke,Le]=ye;ke(Le)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([R,ee]))}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 K.\u0275fac=function(D){return new(D||K)(n.\u0275\u0275inject(n.RendererFactory2),n.\u0275\u0275inject(j),n.\u0275\u0275inject(n.NgZone))},K.\u0275prov=n.\u0275\u0275defineInjectable({token:K,factory:K.\u0275fac}),K})();class Bn{constructor(E,D,R){this.namespaceId=E,this.delegate=D,this.engine=R,this.destroyNode=this.delegate.destroyNode?ee=>D.destroyNode(ee):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(E,D){return this.delegate.createElement(E,D)}createComment(E){return this.delegate.createComment(E)}createText(E){return this.delegate.createText(E)}appendChild(E,D){this.delegate.appendChild(E,D),this.engine.onInsert(this.namespaceId,D,E,!1)}insertBefore(E,D,R,ee=!0){this.delegate.insertBefore(E,D,R),this.engine.onInsert(this.namespaceId,D,E,ee)}removeChild(E,D,R){this.engine.onRemove(this.namespaceId,D,this.delegate,R)}selectRootElement(E,D){return this.delegate.selectRootElement(E,D)}parentNode(E){return this.delegate.parentNode(E)}nextSibling(E){return this.delegate.nextSibling(E)}setAttribute(E,D,R,ee){this.delegate.setAttribute(E,D,R,ee)}removeAttribute(E,D,R){this.delegate.removeAttribute(E,D,R)}addClass(E,D){this.delegate.addClass(E,D)}removeClass(E,D){this.delegate.removeClass(E,D)}setStyle(E,D,R,ee){this.delegate.setStyle(E,D,R,ee)}removeStyle(E,D,R){this.delegate.removeStyle(E,D,R)}setProperty(E,D,R){"@"==D.charAt(0)&&D==cn?this.disableAnimations(E,!!R):this.delegate.setProperty(E,D,R)}setValue(E,D){this.delegate.setValue(E,D)}listen(E,D,R){return this.delegate.listen(E,D,R)}disableAnimations(E,D){this.engine.disableAnimations(E,D)}}class Ko extends Bn{constructor(E,D,R,ee){super(D,R,ee),this.factory=E,this.namespaceId=D}setProperty(E,D,R){"@"==D.charAt(0)?"."==D.charAt(1)&&D==cn?this.disableAnimations(E,R=void 0===R||!!R):this.engine.process(this.namespaceId,E,D.substr(1),R):this.delegate.setProperty(E,D,R)}listen(E,D,R){if("@"==D.charAt(0)){const ee=function zr(K){switch(K){case"body":return document.body;case"document":return document;case"window":return window;default:return K}}(E);let ye=D.substr(1),ke="";return"@"!=ye.charAt(0)&&([ye,ke]=function ji(K){const E=K.indexOf(".");return[K.substring(0,E),K.substr(E+1)]}(ye)),this.engine.listen(this.namespaceId,ee,ye,ke,Le=>{this.factory.scheduleListenerCallback(Le._data||-1,R,Le)})}return this.delegate.listen(E,D,R)}}let io=(()=>{class K extends j{constructor(D,R,ee){super(D.body,R,ee)}ngOnDestroy(){this.flush()}}return K.\u0275fac=function(D){return new(D||K)(n.\u0275\u0275inject(Yn.DOCUMENT),n.\u0275\u0275inject(Xe),n.\u0275\u0275inject(yi))},K.\u0275prov=n.\u0275\u0275defineInjectable({token:K,factory:K.\u0275fac}),K})();const Yo=new n.InjectionToken("AnimationModuleType"),Wr=[{provide:y._j,useClass:Li},{provide:yi,useFactory:function Qo(){return new Ri}},{provide:j,useClass:io},{provide:n.RendererFactory2,useFactory:function Ku(K,E,D){return new Go(K,E,D)},deps:[h.\u0275DomRendererFactory2,j,n.NgZone]}],Gr=[{provide:Xe,useFactory:()=>new Mn},{provide:Yo,useValue:"BrowserAnimations"},...Wr],ii=[{provide:Xe,useClass:Ye},{provide:Yo,useValue:"NoopAnimations"},...Wr];let tr=(()=>{class K{static withConfig(D){return{ngModule:K,providers:D.disableAnimations?ii:Gr}}}return K.\u0275fac=function(D){return new(D||K)},K.\u0275mod=n.\u0275\u0275defineNgModule({type:K}),K.\u0275inj=n.\u0275\u0275defineInjector({providers:Gr,imports:[h.BrowserModule]}),K})(),Rs=(()=>{class K{}return K.\u0275fac=function(D){return new(D||K)},K.\u0275mod=n.\u0275\u0275defineNgModule({type:K}),K.\u0275inj=n.\u0275\u0275defineInjector({providers:ii,imports:[h.BrowserModule]}),K})()},2313:(G,r,a)=>{"use strict";a.r(r),a.d(r,{\u0275getDOM:()=>n.\u0275getDOM,BrowserModule:()=>Ke,BrowserTransferStateModule:()=>wt,By:()=>$t,DomSanitizer:()=>Ie,EVENT_MANAGER_PLUGINS:()=>T,EventManager:()=>S,HAMMER_GESTURE_CONFIG:()=>L,HAMMER_LOADER:()=>P,HammerGestureConfig:()=>le,HammerModule:()=>U,Meta:()=>V,Title:()=>Je,TransferState:()=>_t,VERSION:()=>jt,disableDebugTools:()=>Oe,enableDebugTools:()=>Dt,makeStateKey:()=>Ct,platformBrowser:()=>Me,\u0275BrowserDomAdapter:()=>d,\u0275BrowserGetTestability:()=>v,\u0275DomEventsPlugin:()=>ht,\u0275DomRendererFactory2:()=>he,\u0275DomSanitizerImpl:()=>Lt,\u0275DomSharedStylesHost:()=>H,\u0275HammerGesturesPlugin:()=>M,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>te,\u0275KeyEventsPlugin:()=>We,\u0275NAMESPACE_URIS:()=>Q,\u0275SharedStylesHost:()=>A,\u0275TRANSITION_ID:()=>m,\u0275escapeHtml:()=>ze,\u0275flattenStyles:()=>Y,\u0275initDomAdapter:()=>ve,\u0275shimContentAttribute:()=>Te,\u0275shimHostAttribute:()=>_e});var n=a(9808),h=a(5e3);class y extends n.\u0275DomAdapter{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class d extends y{static makeCurrent(){(0,n.\u0275setRootDomAdapter)(new d)}onAndCancel(je,pe,Fe){return je.addEventListener(pe,Fe,!1),()=>{je.removeEventListener(pe,Fe,!1)}}dispatchEvent(je,pe){je.dispatchEvent(pe)}remove(je){je.parentNode&&je.parentNode.removeChild(je)}createElement(je,pe){return(pe=pe||this.getDefaultDocument()).createElement(je)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(je){return je.nodeType===Node.ELEMENT_NODE}isShadowRoot(je){return je instanceof DocumentFragment}getGlobalEventTarget(je,pe){return"window"===pe?window:"document"===pe?je:"body"===pe?je.body:null}getBaseHref(je){const pe=function c(){return o=o||document.querySelector("base"),o?o.getAttribute("href"):null}();return null==pe?null:function p(Pe){f=f||document.createElement("a"),f.setAttribute("href",Pe);const je=f.pathname;return"/"===je.charAt(0)?je:`/${je}`}(pe)}resetBaseElement(){o=null}getUserAgent(){return window.navigator.userAgent}getCookie(je){return(0,n.\u0275parseCookieValue)(document.cookie,je)}}let f,o=null;const m=new h.InjectionToken("TRANSITION_ID"),_=[{provide:h.APP_INITIALIZER,useFactory:function u(Pe,je,pe){return()=>{pe.get(h.ApplicationInitStatus).donePromise.then(()=>{const Fe=(0,n.\u0275getDOM)(),ut=je.querySelectorAll(`style[ng-transition="${Pe}"]`);for(let Rt=0;Rt<ut.length;Rt++)Fe.remove(ut[Rt])})}},deps:[m,n.DOCUMENT,h.Injector],multi:!0}];class v{static init(){(0,h.setTestabilityGetter)(new v)}addToWindow(je){h.\u0275global.getAngularTestability=(Fe,ut=!0)=>{const Rt=je.findTestabilityInTree(Fe,ut);if(null==Rt)throw new Error("Could not find testability for element.");return Rt},h.\u0275global.getAllAngularTestabilities=()=>je.getAllTestabilities(),h.\u0275global.getAllAngularRootElements=()=>je.getAllRootElements(),h.\u0275global.frameworkStabilizers||(h.\u0275global.frameworkStabilizers=[]),h.\u0275global.frameworkStabilizers.push(Fe=>{const ut=h.\u0275global.getAllAngularTestabilities();let Rt=ut.length,Ft=!1;const Xt=function(pn){Ft=Ft||pn,Rt--,0==Rt&&Fe(Ft)};ut.forEach(function(pn){pn.whenStable(Xt)})})}findTestabilityInTree(je,pe,Fe){if(null==pe)return null;const ut=je.getTestability(pe);return null!=ut?ut:Fe?(0,n.\u0275getDOM)().isShadowRoot(pe)?this.findTestabilityInTree(je,pe.host,!0):this.findTestabilityInTree(je,pe.parentElement,!0):null}}let b=(()=>{class Pe{build(){return new XMLHttpRequest}}return Pe.\u0275fac=function(pe){return new(pe||Pe)},Pe.\u0275prov=h.\u0275\u0275defineInjectable({token:Pe,factory:Pe.\u0275fac}),Pe})();const T=new h.InjectionToken("EventManagerPlugins");let S=(()=>{class Pe{constructor(pe,Fe){this._zone=Fe,this._eventNameToPlugin=new Map,pe.forEach(ut=>ut.manager=this),this._plugins=pe.slice().reverse()}addEventListener(pe,Fe,ut){return this._findPluginFor(Fe).addEventListener(pe,Fe,ut)}addGlobalEventListener(pe,Fe,ut){return this._findPluginFor(Fe).addGlobalEventListener(pe,Fe,ut)}getZone(){return this._zone}_findPluginFor(pe){const Fe=this._eventNameToPlugin.get(pe);if(Fe)return Fe;const ut=this._plugins;for(let Rt=0;Rt<ut.length;Rt++){const Ft=ut[Rt];if(Ft.supports(pe))return this._eventNameToPlugin.set(pe,Ft),Ft}throw new Error(`No event manager plugin found for event ${pe}`)}}return Pe.\u0275fac=function(pe){return new(pe||Pe)(h.\u0275\u0275inject(T),h.\u0275\u0275inject(h.NgZone))},Pe.\u0275prov=h.\u0275\u0275defineInjectable({token:Pe,factory:Pe.\u0275fac}),Pe})();class x{constructor(je){this._doc=je}addGlobalEventListener(je,pe,Fe){const ut=(0,n.\u0275getDOM)().getGlobalEventTarget(this._doc,je);if(!ut)throw new Error(`Unsupported event target ${ut} for event ${pe}`);return this.addEventListener(ut,pe,Fe)}}let A=(()=>{class Pe{constructor(){this._stylesSet=new Set}addStyles(pe){const Fe=new Set;pe.forEach(ut=>{this._stylesSet.has(ut)||(this._stylesSet.add(ut),Fe.add(ut))}),this.onStylesAdded(Fe)}onStylesAdded(pe){}getAllStyles(){return Array.from(this._stylesSet)}}return Pe.\u0275fac=function(pe){return new(pe||Pe)},Pe.\u0275prov=h.\u0275\u0275defineInjectable({token:Pe,factory:Pe.\u0275fac}),Pe})(),H=(()=>{class Pe extends A{constructor(pe){super(),this._doc=pe,this._hostNodes=new Map,this._hostNodes.set(pe.head,[])}_addStylesToHost(pe,Fe,ut){pe.forEach(Rt=>{const Ft=this._doc.createElement("style");Ft.textContent=Rt,ut.push(Fe.appendChild(Ft))})}addHost(pe){const Fe=[];this._addStylesToHost(this._stylesSet,pe,Fe),this._hostNodes.set(pe,Fe)}removeHost(pe){const Fe=this._hostNodes.get(pe);Fe&&Fe.forEach(Z),this._hostNodes.delete(pe)}onStylesAdded(pe){this._hostNodes.forEach((Fe,ut)=>{this._addStylesToHost(pe,ut,Fe)})}ngOnDestroy(){this._hostNodes.forEach(pe=>pe.forEach(Z))}}return Pe.\u0275fac=function(pe){return new(pe||Pe)(h.\u0275\u0275inject(n.DOCUMENT))},Pe.\u0275prov=h.\u0275\u0275defineInjectable({token:Pe,factory:Pe.\u0275fac}),Pe})();function Z(Pe){(0,n.\u0275getDOM)().remove(Pe)}const Q={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/"},J=/%COMP%/g;function Te(Pe){return"_ngcontent-%COMP%".replace(J,Pe)}function _e(Pe){return"_nghost-%COMP%".replace(J,Pe)}function Y(Pe,je,pe){for(let Fe=0;Fe<je.length;Fe++){let ut=je[Fe];Array.isArray(ut)?Y(Pe,ut,pe):(ut=ut.replace(J,Pe),pe.push(ut))}return pe}function de(Pe){return je=>{if("__ngUnwrap__"===je)return Pe;!1===Pe(je)&&(je.preventDefault(),je.returnValue=!1)}}let he=(()=>{class Pe{constructor(pe,Fe,ut){this.eventManager=pe,this.sharedStylesHost=Fe,this.appId=ut,this.rendererByCompId=new Map,this.defaultRenderer=new ce(pe)}createRenderer(pe,Fe){if(!pe||!Fe)return this.defaultRenderer;switch(Fe.encapsulation){case h.ViewEncapsulation.Emulated:{let ut=this.rendererByCompId.get(Fe.id);return ut||(ut=new gt(this.eventManager,this.sharedStylesHost,Fe,this.appId),this.rendererByCompId.set(Fe.id,ut)),ut.applyToHost(pe),ut}case 1:case h.ViewEncapsulation.ShadowDom:return new Ge(this.eventManager,this.sharedStylesHost,pe,Fe);default:if(!this.rendererByCompId.has(Fe.id)){const ut=Y(Fe.id,Fe.styles,[]);this.sharedStylesHost.addStyles(ut),this.rendererByCompId.set(Fe.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return Pe.\u0275fac=function(pe){return new(pe||Pe)(h.\u0275\u0275inject(S),h.\u0275\u0275inject(H),h.\u0275\u0275inject(h.APP_ID))},Pe.\u0275prov=h.\u0275\u0275defineInjectable({token:Pe,factory:Pe.\u0275fac}),Pe})();class ce{constructor(je){this.eventManager=je,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(je,pe){return pe?document.createElementNS(Q[pe]||pe,je):document.createElement(je)}createComment(je){return document.createComment(je)}createText(je){return document.createTextNode(je)}appendChild(je,pe){je.appendChild(pe)}insertBefore(je,pe,Fe){je&&je.insertBefore(pe,Fe)}removeChild(je,pe){je&&je.removeChild(pe)}selectRootElement(je,pe){let Fe="string"==typeof je?document.querySelector(je):je;if(!Fe)throw new Error(`The selector "${je}" did not match any elements`);return pe||(Fe.textContent=""),Fe}parentNode(je){return je.parentNode}nextSibling(je){return je.nextSibling}setAttribute(je,pe,Fe,ut){if(ut){pe=ut+":"+pe;const Rt=Q[ut];Rt?je.setAttributeNS(Rt,pe,Fe):je.setAttribute(pe,Fe)}else je.setAttribute(pe,Fe)}removeAttribute(je,pe,Fe){if(Fe){const ut=Q[Fe];ut?je.removeAttributeNS(ut,pe):je.removeAttribute(`${Fe}:${pe}`)}else je.removeAttribute(pe)}addClass(je,pe){je.classList.add(pe)}removeClass(je,pe){je.classList.remove(pe)}setStyle(je,pe,Fe,ut){ut&(h.RendererStyleFlags2.DashCase|h.RendererStyleFlags2.Important)?je.style.setProperty(pe,Fe,ut&h.RendererStyleFlags2.Important?"important":""):je.style[pe]=Fe}removeStyle(je,pe,Fe){Fe&h.RendererStyleFlags2.DashCase?je.style.removeProperty(pe):je.style[pe]=""}setProperty(je,pe,Fe){je[pe]=Fe}setValue(je,pe){je.nodeValue=pe}listen(je,pe,Fe){return"string"==typeof je?this.eventManager.addGlobalEventListener(je,pe,de(Fe)):this.eventManager.addEventListener(je,pe,de(Fe))}}class gt extends ce{constructor(je,pe,Fe,ut){super(je),this.component=Fe;const Rt=Y(ut+"-"+Fe.id,Fe.styles,[]);pe.addStyles(Rt),this.contentAttr=Te(ut+"-"+Fe.id),this.hostAttr=_e(ut+"-"+Fe.id)}applyToHost(je){super.setAttribute(je,this.hostAttr,"")}createElement(je,pe){const Fe=super.createElement(je,pe);return super.setAttribute(Fe,this.contentAttr,""),Fe}}class Ge extends ce{constructor(je,pe,Fe,ut){super(je),this.sharedStylesHost=pe,this.hostEl=Fe,this.shadowRoot=Fe.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Rt=Y(ut.id,ut.styles,[]);for(let Ft=0;Ft<Rt.length;Ft++){const Xt=document.createElement("style");Xt.textContent=Rt[Ft],this.shadowRoot.appendChild(Xt)}}nodeOrShadowRoot(je){return je===this.hostEl?this.shadowRoot:je}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(je,pe){return super.appendChild(this.nodeOrShadowRoot(je),pe)}insertBefore(je,pe,Fe){return super.insertBefore(this.nodeOrShadowRoot(je),pe,Fe)}removeChild(je,pe){return super.removeChild(this.nodeOrShadowRoot(je),pe)}parentNode(je){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(je)))}}let ht=(()=>{class Pe extends x{constructor(pe){super(pe)}supports(pe){return!0}addEventListener(pe,Fe,ut){return pe.addEventListener(Fe,ut,!1),()=>this.removeEventListener(pe,Fe,ut)}removeEventListener(pe,Fe,ut){return pe.removeEventListener(Fe,ut)}}return Pe.\u0275fac=function(pe){return new(pe||Pe)(h.\u0275\u0275inject(n.DOCUMENT))},Pe.\u0275prov=h.\u0275\u0275defineInjectable({token:Pe,factory:Pe.\u0275fac}),Pe})();const qe=["alt","control","meta","shift"],Be={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},et={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Ne={alt:Pe=>Pe.altKey,control:Pe=>Pe.ctrlKey,meta:Pe=>Pe.metaKey,shift:Pe=>Pe.shiftKey};let We=(()=>{class Pe extends x{constructor(pe){super(pe)}supports(pe){return null!=Pe.parseEventName(pe)}addEventListener(pe,Fe,ut){const Rt=Pe.parseEventName(Fe),Ft=Pe.eventCallback(Rt.fullKey,ut,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,n.\u0275getDOM)().onAndCancel(pe,Rt.domEventName,Ft))}static parseEventName(pe){const Fe=pe.toLowerCase().split("."),ut=Fe.shift();if(0===Fe.length||"keydown"!==ut&&"keyup"!==ut)return null;const Rt=Pe._normalizeKey(Fe.pop());let Ft="";if(qe.forEach(pn=>{const Pn=Fe.indexOf(pn);Pn>-1&&(Fe.splice(Pn,1),Ft+=pn+".")}),Ft+=Rt,0!=Fe.length||0===Rt.length)return null;const Xt={};return Xt.domEventName=ut,Xt.fullKey=Ft,Xt}static getEventFullKey(pe){let Fe="",ut=function ft(Pe){let je=Pe.key;if(null==je){if(je=Pe.keyIdentifier,null==je)return"Unidentified";je.startsWith("U+")&&(je=String.fromCharCode(parseInt(je.substring(2),16)),3===Pe.location&&et.hasOwnProperty(je)&&(je=et[je]))}return Be[je]||je}(pe);return ut=ut.toLowerCase()," "===ut?ut="space":"."===ut&&(ut="dot"),qe.forEach(Rt=>{Rt!=ut&&Ne[Rt](pe)&&(Fe+=Rt+".")}),Fe+=ut,Fe}static eventCallback(pe,Fe,ut){return Rt=>{Pe.getEventFullKey(Rt)===pe&&ut.runGuarded(()=>Fe(Rt))}}static _normalizeKey(pe){return"esc"===pe?"escape":pe}}return Pe.\u0275fac=function(pe){return new(pe||Pe)(h.\u0275\u0275inject(n.DOCUMENT))},Pe.\u0275prov=h.\u0275\u0275defineInjectable({token:Pe,factory:Pe.\u0275fac}),Pe})();function ve(){d.makeCurrent(),v.init()}const te=[{provide:h.PLATFORM_ID,useValue:n.\u0275PLATFORM_BROWSER_ID},{provide:h.PLATFORM_INITIALIZER,useValue:ve,multi:!0},{provide:n.DOCUMENT,useFactory:function B(){return(0,h.\u0275setDocument)(document),document},deps:[]}],Me=(0,h.createPlatformFactory)(h.platformCore,"browser",te),Ue=[{provide:h.\u0275INJECTOR_SCOPE,useValue:"root"},{provide:h.ErrorHandler,useFactory:function we(){return new h.ErrorHandler},deps:[]},{provide:T,useClass:ht,multi:!0,deps:[n.DOCUMENT,h.NgZone,h.PLATFORM_ID]},{provide:T,useClass:We,multi:!0,deps:[n.DOCUMENT]},{provide:he,useClass:he,deps:[S,H,h.APP_ID]},{provide:h.RendererFactory2,useExisting:he},{provide:A,useExisting:H},{provide:H,useClass:H,deps:[n.DOCUMENT]},{provide:h.Testability,useClass:h.Testability,deps:[h.NgZone]},{provide:S,useClass:S,deps:[T,h.NgZone]},{provide:n.XhrFactory,useClass:b,deps:[]}];let Ke=(()=>{class Pe{constructor(pe){if(pe)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(pe){return{ngModule:Pe,providers:[{provide:h.APP_ID,useValue:pe.appId},{provide:m,useExisting:h.APP_ID},_]}}}return Pe.\u0275fac=function(pe){return new(pe||Pe)(h.\u0275\u0275inject(Pe,12))},Pe.\u0275mod=h.\u0275\u0275defineNgModule({type:Pe}),Pe.\u0275inj=h.\u0275\u0275defineInjector({providers:Ue,imports:[n.CommonModule,h.ApplicationModule]}),Pe})(),V=(()=>{class Pe{constructor(pe){this._doc=pe,this._dom=(0,n.\u0275getDOM)()}addTag(pe,Fe=!1){return pe?this._getOrCreateElement(pe,Fe):null}addTags(pe,Fe=!1){return pe?pe.reduce((ut,Rt)=>(Rt&&ut.push(this._getOrCreateElement(Rt,Fe)),ut),[]):[]}getTag(pe){return pe&&this._doc.querySelector(`meta[${pe}]`)||null}getTags(pe){if(!pe)return[];const Fe=this._doc.querySelectorAll(`meta[${pe}]`);return Fe?[].slice.call(Fe):[]}updateTag(pe,Fe){if(!pe)return null;Fe=Fe||this._parseSelector(pe);const ut=this.getTag(Fe);return ut?this._setMetaElementAttributes(pe,ut):this._getOrCreateElement(pe,!0)}removeTag(pe){this.removeTagElement(this.getTag(pe))}removeTagElement(pe){pe&&this._dom.remove(pe)}_getOrCreateElement(pe,Fe=!1){if(!Fe){const Ft=this._parseSelector(pe),Xt=this.getTags(Ft).filter(pn=>this._containsAttributes(pe,pn))[0];if(void 0!==Xt)return Xt}const ut=this._dom.createElement("meta");return this._setMetaElementAttributes(pe,ut),this._doc.getElementsByTagName("head")[0].appendChild(ut),ut}_setMetaElementAttributes(pe,Fe){return Object.keys(pe).forEach(ut=>Fe.setAttribute(this._getMetaKeyMap(ut),pe[ut])),Fe}_parseSelector(pe){const Fe=pe.name?"name":"property";return`${Fe}="${pe[Fe]}"`}_containsAttributes(pe,Fe){return Object.keys(pe).every(ut=>Fe.getAttribute(this._getMetaKeyMap(ut))===pe[ut])}_getMetaKeyMap(pe){return ge[pe]||pe}}return Pe.\u0275fac=function(pe){return new(pe||Pe)(h.\u0275\u0275inject(n.DOCUMENT))},Pe.\u0275prov=h.\u0275\u0275defineInjectable({token:Pe,factory:function(pe){let Fe=null;return Fe=pe?new pe:function Re(){return new V((0,h.\u0275\u0275inject)(n.DOCUMENT))}(),Fe},providedIn:"root"}),Pe})();const ge={httpEquiv:"http-equiv"};let Je=(()=>{class Pe{constructor(pe){this._doc=pe}getTitle(){return this._doc.title}setTitle(pe){this._doc.title=pe||""}}return Pe.\u0275fac=function(pe){return new(pe||Pe)(h.\u0275\u0275inject(n.DOCUMENT))},Pe.\u0275prov=h.\u0275\u0275defineInjectable({token:Pe,factory:function(pe){let Fe=null;return Fe=pe?new pe:function xe(){return new Je((0,h.\u0275\u0275inject)(n.DOCUMENT))}(),Fe},providedIn:"root"}),Pe})();function He(Pe,je){"undefined"!=typeof COMPILED&&COMPILED||((h.\u0275global.ng=h.\u0275global.ng||{})[Pe]=je)}const Ee="undefined"!=typeof window&&window||{};class Ce{constructor(je,pe){this.msPerTick=je,this.numTicks=pe}}class Ye{constructor(je){this.appRef=je.injector.get(h.ApplicationRef)}timeChangeDetection(je){const pe=je&&je.record,Fe="Change Detection",ut=null!=Ee.console.profile;pe&&ut&&Ee.console.profile(Fe);const Rt=Xe();let Ft=0;for(;Ft<5||Xe()-Rt<500;)this.appRef.tick(),Ft++;const Xt=Xe();pe&&ut&&Ee.console.profileEnd(Fe);const pn=(Xt-Rt)/Ft;return Ee.console.log(`ran ${Ft} change detection cycles`),Ee.console.log(`${pn.toFixed(2)} ms per check`),new Ce(pn,Ft)}}function Xe(){return Ee.performance&&Ee.performance.now?Ee.performance.now():(new Date).getTime()}const ot="profiler";function Dt(Pe){return He(ot,new Ye(Pe)),Pe}function Oe(){He(ot,null)}function ze(Pe){const je={"&":"&a;",'"':"&q;","'":"&s;","<":"&l;",">":"&g;"};return Pe.replace(/[&"'<>]/g,pe=>je[pe])}function Ct(Pe){return Pe}let _t=(()=>{class Pe{constructor(){this.store={},this.onSerializeCallbacks={}}static init(pe){const Fe=new Pe;return Fe.store=pe,Fe}get(pe,Fe){return void 0!==this.store[pe]?this.store[pe]:Fe}set(pe,Fe){this.store[pe]=Fe}remove(pe){delete this.store[pe]}hasKey(pe){return this.store.hasOwnProperty(pe)}onSerialize(pe,Fe){this.onSerializeCallbacks[pe]=Fe}toJson(){for(const pe in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(pe))try{this.store[pe]=this.onSerializeCallbacks[pe]()}catch(Fe){console.warn("Exception in onSerialize callback: ",Fe)}return JSON.stringify(this.store)}}return Pe.\u0275fac=function(pe){return new(pe||Pe)},Pe.\u0275prov=h.\u0275\u0275defineInjectable({token:Pe,factory:Pe.\u0275fac}),Pe})();function Ht(Pe,je){const pe=Pe.getElementById(je+"-state");let Fe={};if(pe&&pe.textContent)try{Fe=JSON.parse(function ct(Pe){const je={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return Pe.replace(/&[^;]+;/g,pe=>je[pe])}(pe.textContent))}catch(ut){console.warn("Exception while restoring TransferState for app "+je,ut)}return _t.init(Fe)}let wt=(()=>{class Pe{}return Pe.\u0275fac=function(pe){return new(pe||Pe)},Pe.\u0275mod=h.\u0275\u0275defineNgModule({type:Pe}),Pe.\u0275inj=h.\u0275\u0275defineInjector({providers:[{provide:_t,useFactory:Ht,deps:[n.DOCUMENT,h.APP_ID]}]}),Pe})();class $t{static all(){return()=>!0}static css(je){return pe=>null!=pe.nativeElement&&function ue(Pe,je){return!!(0,n.\u0275getDOM)().isElementNode(Pe)&&(Pe.matches&&Pe.matches(je)||Pe.msMatchesSelector&&Pe.msMatchesSelector(je)||Pe.webkitMatchesSelector&&Pe.webkitMatchesSelector(je))}(pe.nativeElement,je)}static directive(je){return pe=>-1!==pe.providerTokens.indexOf(je)}}const X={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},L=new h.InjectionToken("HammerGestureConfig"),P=new h.InjectionToken("HammerLoader");let le=(()=>{class Pe{constructor(){this.events=[],this.overrides={}}buildHammer(pe){const Fe=new Hammer(pe,this.options);Fe.get("pinch").set({enable:!0}),Fe.get("rotate").set({enable:!0});for(const ut in this.overrides)Fe.get(ut).set(this.overrides[ut]);return Fe}}return Pe.\u0275fac=function(pe){return new(pe||Pe)},Pe.\u0275prov=h.\u0275\u0275defineInjectable({token:Pe,factory:Pe.\u0275fac}),Pe})(),M=(()=>{class Pe extends x{constructor(pe,Fe,ut,Rt){super(pe),this._config=Fe,this.console=ut,this.loader=Rt,this._loaderPromise=null}supports(pe){return!(!X.hasOwnProperty(pe.toLowerCase())&&!this.isCustomEvent(pe)||!window.Hammer&&!this.loader)}addEventListener(pe,Fe,ut){const Rt=this.manager.getZone();if(Fe=Fe.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||this.loader();let Ft=!1,Xt=()=>{Ft=!0};return this._loaderPromise.then(()=>{window.Hammer?Ft||(Xt=this.addEventListener(pe,Fe,ut)):Xt=()=>{}}).catch(()=>{Xt=()=>{}}),()=>{Xt()}}return Rt.runOutsideAngular(()=>{const Ft=this._config.buildHammer(pe),Xt=function(pn){Rt.runGuarded(function(){ut(pn)})};return Ft.on(Fe,Xt),()=>{Ft.off(Fe,Xt),"function"==typeof Ft.destroy&&Ft.destroy()}})}isCustomEvent(pe){return this._config.events.indexOf(pe)>-1}}return Pe.\u0275fac=function(pe){return new(pe||Pe)(h.\u0275\u0275inject(n.DOCUMENT),h.\u0275\u0275inject(L),h.\u0275\u0275inject(h.\u0275Console),h.\u0275\u0275inject(P,8))},Pe.\u0275prov=h.\u0275\u0275defineInjectable({token:Pe,factory:Pe.\u0275fac}),Pe})(),U=(()=>{class Pe{}return Pe.\u0275fac=function(pe){return new(pe||Pe)},Pe.\u0275mod=h.\u0275\u0275defineNgModule({type:Pe}),Pe.\u0275inj=h.\u0275\u0275defineInjector({providers:[{provide:T,useClass:M,multi:!0,deps:[n.DOCUMENT,L,h.\u0275Console,[new h.Optional,P]]},{provide:L,useClass:le,deps:[]}]}),Pe})(),Ie=(()=>{class Pe{}return Pe.\u0275fac=function(pe){return new(pe||Pe)},Pe.\u0275prov=h.\u0275\u0275defineInjectable({token:Pe,factory:function(pe){let Fe=null;return Fe=pe?new(pe||Pe):h.\u0275\u0275inject(Lt),Fe},providedIn:"root"}),Pe})(),Lt=(()=>{class Pe extends Ie{constructor(pe){super(),this._doc=pe}sanitize(pe,Fe){if(null==Fe)return null;switch(pe){case h.SecurityContext.NONE:return Fe;case h.SecurityContext.HTML:return(0,h.\u0275allowSanitizationBypassAndThrow)(Fe,"HTML")?(0,h.\u0275unwrapSafeValue)(Fe):(0,h.\u0275_sanitizeHtml)(this._doc,String(Fe)).toString();case h.SecurityContext.STYLE:return(0,h.\u0275allowSanitizationBypassAndThrow)(Fe,"Style")?(0,h.\u0275unwrapSafeValue)(Fe):Fe;case h.SecurityContext.SCRIPT:if((0,h.\u0275allowSanitizationBypassAndThrow)(Fe,"Script"))return(0,h.\u0275unwrapSafeValue)(Fe);throw new Error("unsafe value used in a script context");case h.SecurityContext.URL:return(0,h.\u0275getSanitizationBypassType)(Fe),(0,h.\u0275allowSanitizationBypassAndThrow)(Fe,"URL")?(0,h.\u0275unwrapSafeValue)(Fe):(0,h.\u0275_sanitizeUrl)(String(Fe));case h.SecurityContext.RESOURCE_URL:if((0,h.\u0275allowSanitizationBypassAndThrow)(Fe,"ResourceURL"))return(0,h.\u0275unwrapSafeValue)(Fe);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${pe} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(pe){return(0,h.\u0275bypassSanitizationTrustHtml)(pe)}bypassSecurityTrustStyle(pe){return(0,h.\u0275bypassSanitizationTrustStyle)(pe)}bypassSecurityTrustScript(pe){return(0,h.\u0275bypassSanitizationTrustScript)(pe)}bypassSecurityTrustUrl(pe){return(0,h.\u0275bypassSanitizationTrustUrl)(pe)}bypassSecurityTrustResourceUrl(pe){return(0,h.\u0275bypassSanitizationTrustResourceUrl)(pe)}}return Pe.\u0275fac=function(pe){return new(pe||Pe)(h.\u0275\u0275inject(n.DOCUMENT))},Pe.\u0275prov=h.\u0275\u0275defineInjectable({token:Pe,factory:function(pe){let Fe=null;return Fe=pe?new pe:function it(Pe){return new Lt(Pe.get(n.DOCUMENT))}(h.\u0275\u0275inject(h.Injector)),Fe},providedIn:"root"}),Pe})();const jt=new h.Version("13.2.6")},107:(G,r,a)=>{"use strict";a.r(r),a.d(r,{MONACO_PATH:()=>v,MonacoDiffEditorComponent:()=>x,MonacoEditorComponent:()=>S,MonacoEditorLoaderDirective:()=>T,MonacoEditorLoaderService:()=>b,MonacoEditorModule:()=>A});var n=a(5e3),h=a(2722),y=a(9300),d=a(5698),o=a(1135),c=a(7579),f=a(655),p=a(3075);const m=["editor"],u=["diffEditor"],v="MONACO_PATH";let b=(()=>{class H{constructor(Q,J){this.ngZone=Q,this.monacoPathConfig=J,this.isMonacoLoaded$=new o.X(!1),this._monacoPath="assets/monaco-editor/min/vs",window.monacoEditorAlreadyInitialized?Q.run(()=>this.isMonacoLoaded$.next(!0)):(window.monacoEditorAlreadyInitialized=!0,this.monacoPathConfig&&(this.monacoPath=this.monacoPathConfig),this.loadMonaco())}set monacoPath(Q){Q&&(this._monacoPath=Q)}loadMonaco(){const Q=()=>{let ae=this._monacoPath;window.amdRequire=window.require;const me=!!this.nodeRequire,Te=ae.includes("http");me&&(window.require=this.nodeRequire,Te||(ae=window.require("path").resolve(window.__dirname,this._monacoPath))),window.amdRequire.config({paths:{vs:ae}}),window.amdRequire(["vs/editor/editor.main"],()=>{this.ngZone.run(()=>this.isMonacoLoaded$.next(!0))},_e=>console.error("Error loading monaco-editor: ",_e))};if(window.amdRequire)return Q();window.require&&(this.addElectronFixScripts(),this.nodeRequire=window.require);const se=document.createElement("script");se.type="text/javascript",se.src=`${this._monacoPath}/loader.js`,se.addEventListener("load",Q),document.body.appendChild(se)}addElectronFixScripts(){const Q=document.createElement("script"),J=document.createTextNode("self.module = undefined;"),z=document.createTextNode("self.process.browser = true;");Q.appendChild(J),Q.appendChild(z),document.body.appendChild(Q)}}return H.\u0275fac=function(Q){return new(Q||H)(n.\u0275\u0275inject(n.NgZone),n.\u0275\u0275inject(v,8))},H.\u0275prov=n.\u0275\u0275defineInjectable({token:H,factory:H.\u0275fac,providedIn:"root"}),H})(),T=(()=>{class H{constructor(Q,J,z){this.templateRef=Q,this.viewContainer=J,this.monacoEditorLoaderService=z,this.isMonacoLoaded$=this.monacoEditorLoaderService.isMonacoLoaded$.asObservable(),this.destroyed$=new c.x}ngOnInit(){this.isMonacoLoaded$.pipe((0,h.R)(this.destroyed$)).subscribe(Q=>{if(!Q)return this.viewContainer.clear();this.viewContainer.createEmbeddedView(this.templateRef)})}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}}return H.\u0275fac=function(Q){return new(Q||H)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(b))},H.\u0275dir=n.\u0275\u0275defineDirective({type:H,selectors:[["","ngxLoadMonacoEditor",""]]}),H})(),S=(()=>{class H{constructor(Q){this.monacoLoader=Q,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,y.h)(Q=>Q),(0,d.q)(1)).subscribe(()=>{this.initEditor()})}ngOnChanges(Q){if(this.editor&&Q.options&&!Q.options.firstChange){const J=Q.options.currentValue,{language:z,theme:se}=J,ae=(0,f.__rest)(J,["language","theme"]),{language:me,theme:Te}=Q.options.previousValue;me!==z&&monaco.editor.setModelLanguage(this.editor.getModel(),this.options&&this.options.language?this.options.language:"text"),Te!==se&&monaco.editor.setTheme(se),this.editor.updateOptions(ae)}if(this.editor&&Q.uri){const J=Q.uri.currentValue,z=Q.uri.previousValue;if(z&&!J||!z&&J||J&&z&&J.path!==z.path){const se=this.editor.getValue();let ae;this.modelUriInstance&&this.modelUriInstance.dispose(),J&&(ae=monaco.editor.getModels().find(me=>me.uri.path===J.path)),this.modelUriInstance=ae||monaco.editor.createModel(se,this.options.language||"text",this.uri),this.editor.setModel(this.modelUriInstance)}}}writeValue(Q){this.value=Q,this.editor&&Q?this.editor.setValue(Q):this.editor&&this.editor.setValue("")}registerOnChange(Q){this.propagateChange=Q}registerOnTouched(Q){this.onTouched=Q}validate(){return this.parsedError?{monaco:{value:this.parsedError.split("|")}}:null}registerOnValidatorChange(Q){this.onErrorStatusChange=Q}initEditor(){const Q={value:[this.value].join("\n"),language:"text",automaticLayout:!0,scrollBeyondLastLine:!1,theme:"vc"};this.editor=monaco.editor.create(this.editorContent.nativeElement,this.options?Object.assign(Object.assign({},Q),this.options):Q),this.registerEditorListeners(),this.init.emit(this.editor)}registerEditorListeners(){this.editor.onDidChangeModelContent(()=>{this.propagateChange(this.editor.getValue())}),this.editor.onDidChangeModelDecorations(()=>{const Q=this.modelMarkers.map(({message:z})=>z).join("|");this.parsedError!==Q&&(this.parsedError=Q,this.onErrorStatusChange())}),this.editor.onDidBlurEditorText(()=>{this.onTouched()})}ngOnDestroy(){this.editor&&this.editor.dispose()}}return H.\u0275fac=function(Q){return new(Q||H)(n.\u0275\u0275directiveInject(b))},H.\u0275cmp=n.\u0275\u0275defineComponent({type:H,selectors:[["ngx-monaco-editor"]],viewQuery:function(Q,J){if(1&Q&&n.\u0275\u0275viewQuery(m,7),2&Q){let z;n.\u0275\u0275queryRefresh(z=n.\u0275\u0275loadQuery())&&(J.editorContent=z.first)}},inputs:{options:"options",uri:"uri"},outputs:{init:"init"},features:[n.\u0275\u0275ProvidersFeature([{provide:p.NG_VALUE_ACCESSOR,useExisting:(0,n.forwardRef)(()=>H),multi:!0},{provide:p.NG_VALIDATORS,useExisting:(0,n.forwardRef)(()=>H),multi:!0}]),n.\u0275\u0275NgOnChangesFeature],decls:4,vars:0,consts:[["fxFlex","",1,"editor-container"],["container",""],[1,"monaco-editor"],["editor",""]],template:function(Q,J){1&Q&&(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}),H})(),x=(()=>{class H{constructor(Q){this.monacoLoader=Q,this.init=new n.EventEmitter}ngOnInit(){this.container=this.editorContent.nativeElement,this.monacoLoader.isMonacoLoaded$.pipe((0,y.h)(Q=>Q),(0,d.q)(1)).subscribe(()=>{this.initMonaco()})}ngOnChanges(Q){if(this.editor&&(Q.code&&!Q.code.firstChange||Q.modified&&!Q.modified.firstChange)){const J=monaco.editor.createModel(this.modified),z=monaco.editor.createModel(this.original);this.editor.setModel({original:z,modified:J})}this.editor&&Q.options&&!Q.options.firstChange&&(Q.options.previousValue.theme!==Q.options.currentValue.theme&&monaco.editor.setTheme(Q.options.currentValue.theme),this.editor.updateOptions(Q.options.currentValue))}initMonaco(){let Q={readOnly:!0,automaticLayout:!0,theme:"vc"};this.options&&(Q=Object.assign({},Q,this.options)),this.editor=monaco.editor.createDiffEditor(this.container,Q);const J=monaco.editor.createModel(this.original),z=monaco.editor.createModel(this.modified);this.editor.setModel({original:J,modified:z}),this.editor.layout(),this.init.emit(this.editor)}ngOnDestroy(){this.editor&&this.editor.dispose()}}return H.\u0275fac=function(Q){return new(Q||H)(n.\u0275\u0275directiveInject(b))},H.\u0275cmp=n.\u0275\u0275defineComponent({type:H,selectors:[["ngx-monaco-diff-editor"]],viewQuery:function(Q,J){if(1&Q&&n.\u0275\u0275viewQuery(u,7),2&Q){let z;n.\u0275\u0275queryRefresh(z=n.\u0275\u0275loadQuery())&&(J.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(Q,J){1&Q&&(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}),H})(),A=(()=>{class H{}return H.\u0275fac=function(Q){return new(Q||H)},H.\u0275mod=n.\u0275\u0275defineNgModule({type:H}),H.\u0275inj=n.\u0275\u0275defineInjector({imports:[[]]}),H})()},1430:(G,r,a)=>{"use strict";a.r(r),a.d(r,{ANGULAR_SPLIT_DEFAULT_OPTIONS:()=>ae,AngularSplitModule:()=>_e,SplitAreaDirective:()=>Te,SplitComponent:()=>me});var n=a(5e3),h=a(9808),y=a(7579),d=a(8306),o=a(8372);const c=["gutterEls"];function f(Y,de){if(1&Y){const W=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"div",2,3),n.\u0275\u0275listener("keydown",function(ce){n.\u0275\u0275restoreView(W);const Se=n.\u0275\u0275nextContext().index;return n.\u0275\u0275nextContext().startKeyboardDrag(ce,2*Se+1,Se+1)})("mousedown",function(ce){n.\u0275\u0275restoreView(W);const Se=n.\u0275\u0275nextContext().index;return n.\u0275\u0275nextContext().startMouseDrag(ce,2*Se+1,Se+1)})("touchstart",function(ce){n.\u0275\u0275restoreView(W);const Se=n.\u0275\u0275nextContext().index;return n.\u0275\u0275nextContext().startMouseDrag(ce,2*Se+1,Se+1)})("mouseup",function(ce){n.\u0275\u0275restoreView(W);const Se=n.\u0275\u0275nextContext().index;return n.\u0275\u0275nextContext().clickGutter(ce,Se+1)})("touchend",function(ce){n.\u0275\u0275restoreView(W);const Se=n.\u0275\u0275nextContext().index;return n.\u0275\u0275nextContext().clickGutter(ce,Se+1)}),n.\u0275\u0275element(2,"div",4),n.\u0275\u0275elementEnd()}if(2&Y){const W=n.\u0275\u0275nextContext(),he=W.index,ce=W.$implicit,Se=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("flex-basis",Se.gutterSize,"px")("order",2*he+1),n.\u0275\u0275attribute("aria-label",Se.gutterAriaLabel)("aria-orientation",Se.direction)("aria-valuemin",ce.minSize)("aria-valuemax",ce.maxSize)("aria-valuenow",ce.size)("aria-valuetext",Se.getAriaAreaSizeText(ce.size))}}function p(Y,de){1&Y&&n.\u0275\u0275template(0,f,3,10,"div",1),2&Y&&n.\u0275\u0275property("ngIf",!1===de.last)}const m=["*"];function u(Y){if(void 0!==Y.changedTouches&&Y.changedTouches.length>0)return{x:Y.changedTouches[0].clientX,y:Y.changedTouches[0].clientY};if(void 0!==Y.clientX&&void 0!==Y.clientY)return{x:Y.clientX,y:Y.clientY};if(void 0!==Y.currentTarget){const de=Y.currentTarget;return{x:de.offsetLeft,y:de.offsetTop}}return null}function _(Y,de,W){return Math.abs(Y.x-de.x)<=W&&Math.abs(Y.y-de.y)<=W}function b(Y,de){const W=Y.nativeElement.getBoundingClientRect();return"horizontal"===de?W.width:W.height}function T(Y){return"boolean"==typeof Y?Y:"false"!==Y}function S(Y,de){return null==Y?de:(Y=Number(Y),!isNaN(Y)&&Y>=0?Y:de)}function x(Y,de){if("percent"===Y){const W=de.reduce((he,ce)=>null!==ce?he+ce:he,0);return de.every(he=>null!==he)&&W>99.9&&W<100.1}if("pixel"===Y)return 1===de.filter(W=>null===W).length}function A(Y){return null===Y.size?null:!0===Y.component.lockSize?Y.size:null===Y.component.minSize?null:Y.component.minSize>Y.size?Y.size:Y.component.minSize}function H(Y){return null===Y.size?null:!0===Y.component.lockSize?Y.size:null===Y.component.maxSize?null:Y.component.maxSize<Y.size?Y.size:Y.component.maxSize}function Z(Y,de,W,he){return de.reduce((ce,Se)=>{const rt=function Q(Y,de,W,he){return 0===W?{areaSnapshot:de,pixelAbsorb:0,percentAfterAbsorption:de.sizePercentAtStart,pixelRemain:0}:0===de.sizePixelAtStart&&W<0?{areaSnapshot:de,pixelAbsorb:0,percentAfterAbsorption:0,pixelRemain:W}:"percent"===Y?function J(Y,de,W){const ce=(Y.sizePixelAtStart+de)/W*100;if(de>0){if(null!==Y.area.maxSize&&ce>Y.area.maxSize){const Se=Y.area.maxSize/100*W;return{areaSnapshot:Y,pixelAbsorb:Se,percentAfterAbsorption:Y.area.maxSize,pixelRemain:Y.sizePixelAtStart+de-Se}}return{areaSnapshot:Y,pixelAbsorb:de,percentAfterAbsorption:ce>100?100:ce,pixelRemain:0}}if(de<0){if(null!==Y.area.minSize&&ce<Y.area.minSize){const Se=Y.area.minSize/100*W;return{areaSnapshot:Y,pixelAbsorb:Se,percentAfterAbsorption:Y.area.minSize,pixelRemain:Y.sizePixelAtStart+de-Se}}return ce<0?{areaSnapshot:Y,pixelAbsorb:-Y.sizePixelAtStart,percentAfterAbsorption:0,pixelRemain:de+Y.sizePixelAtStart}:{areaSnapshot:Y,pixelAbsorb:de,percentAfterAbsorption:ce,pixelRemain:0}}}(de,W,he):"pixel"===Y?function z(Y,de,W){const he=Y.sizePixelAtStart+de;return de>0?null!==Y.area.maxSize&&he>Y.area.maxSize?{areaSnapshot:Y,pixelAbsorb:Y.area.maxSize-Y.sizePixelAtStart,percentAfterAbsorption:-1,pixelRemain:he-Y.area.maxSize}:{areaSnapshot:Y,pixelAbsorb:de,percentAfterAbsorption:-1,pixelRemain:0}:de<0?null!==Y.area.minSize&&he<Y.area.minSize?{areaSnapshot:Y,pixelAbsorb:Y.area.minSize+de-he,percentAfterAbsorption:-1,pixelRemain:he-Y.area.minSize}:he<0?{areaSnapshot:Y,pixelAbsorb:-Y.sizePixelAtStart,percentAfterAbsorption:-1,pixelRemain:de+Y.sizePixelAtStart}:{areaSnapshot:Y,pixelAbsorb:de,percentAfterAbsorption:-1,pixelRemain:0}:void 0}(de,W):void 0}(Y,Se,ce.remain,he);return ce.list.push(rt),ce.remain=rt.pixelRemain,ce},{remain:W,list:[]})}function se(Y,de){"percent"===Y?de.areaSnapshot.area.size=de.percentAfterAbsorption:"pixel"===Y&&null!==de.areaSnapshot.area.size&&(de.areaSnapshot.area.size=de.areaSnapshot.sizePixelAtStart+de.pixelAbsorb)}const ae=new n.InjectionToken("angular-split-global-config");let me=(()=>{class Y{constructor(W,he,ce,Se,rt){this.ngZone=W,this.elRef=he,this.cdRef=ce,this.renderer=Se,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 y.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=rt?Object.assign(this._config,rt):this._config,Object.keys(this._config).forEach(gt=>{this[gt]=this._config[gt]})}set direction(W){this._direction="vertical"===W?"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(W){this._unit="pixel"===W?"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(W){this._gutterSize=S(W,11),this.build(!1,!1)}get gutterSize(){return this._gutterSize}set gutterStep(W){this._gutterStep=S(W,1)}get gutterStep(){return this._gutterStep}set restrictMove(W){this._restrictMove=T(W)}get restrictMove(){return this._restrictMove}set useTransition(W){this._useTransition=T(W),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(W){this._disabled=T(W),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(W){this._dir="rtl"===W?"rtl":"ltr",this.renderer.setAttribute(this.elRef.nativeElement,"dir",this._dir)}get dir(){return this._dir}set gutterDblClickDuration(W){this._gutterDblClickDuration=S(W,0)}get gutterDblClickDuration(){return this._gutterDblClickDuration}get transitionEnd(){return new d.y(W=>this.transitionEndSubscriber=W).pipe((0,o.b)(20))}ngAfterViewInit(){this.ngZone.runOutsideAngular(()=>{setTimeout(()=>this.renderer.addClass(this.elRef.nativeElement,"as-init"))})}getNbGutters(){return 0===this.displayedAreas.length?0:this.displayedAreas.length-1}addArea(W){const he={component:W,order:0,size:0,minSize:null,maxSize:null,sizeBeforeCollapse:null,gutterBeforeCollapse:0};!0===W.visible?(this.displayedAreas.push(he),this.build(!0,!0)):this.hiddenAreas.push(he)}removeArea(W){if(this.displayedAreas.some(he=>he.component===W)){const he=this.displayedAreas.find(ce=>ce.component===W);this.displayedAreas.splice(this.displayedAreas.indexOf(he),1),this.build(!0,!0)}else if(this.hiddenAreas.some(he=>he.component===W)){const he=this.hiddenAreas.find(ce=>ce.component===W);this.hiddenAreas.splice(this.hiddenAreas.indexOf(he),1)}}updateArea(W,he,ce){!0===W.visible&&this.build(he,ce)}showArea(W){const he=this.hiddenAreas.find(Se=>Se.component===W);if(void 0===he)return;const ce=this.hiddenAreas.splice(this.hiddenAreas.indexOf(he),1);this.displayedAreas.push(...ce),this.build(!0,!0)}hideArea(W){const he=this.displayedAreas.find(Se=>Se.component===W);if(void 0===he)return;const ce=this.displayedAreas.splice(this.displayedAreas.indexOf(he),1);ce.forEach(Se=>{Se.order=0,Se.size=0}),this.hiddenAreas.push(...ce),this.build(!0,!0)}getVisibleAreaSizes(){return this.displayedAreas.map(W=>null===W.size?"*":W.size)}setVisibleAreaSizes(W){if(W.length!==this.displayedAreas.length)return!1;const he=W.map(Se=>S(Se,null));return!1!==x(this.unit,he)&&(this.displayedAreas.forEach((Se,rt)=>Se.component._size=he[rt]),this.build(!1,!0),!0)}build(W,he){if(this.stopDragging(),!0===W&&(this.displayedAreas.every(ce=>null!==ce.component.order)&&this.displayedAreas.sort((ce,Se)=>ce.component.order-Se.component.order),this.displayedAreas.forEach((ce,Se)=>{ce.order=2*Se,ce.component.setStyleOrder(ce.order)})),!0===he){const ce=x(this.unit,this.displayedAreas.map(Se=>Se.component.size));switch(this.unit){case"percent":{const Se=100/this.displayedAreas.length;this.displayedAreas.forEach(rt=>{rt.size=ce?rt.component.size:Se,rt.minSize=A(rt),rt.maxSize=H(rt)});break}case"pixel":if(ce)this.displayedAreas.forEach(Se=>{Se.size=Se.component.size,Se.minSize=A(Se),Se.maxSize=H(Se)});else{const Se=this.displayedAreas.filter(rt=>null===rt.component.size);if(0===Se.length&&this.displayedAreas.length>0)this.displayedAreas.forEach((rt,gt)=>{rt.size=0===gt?null:rt.component.size,rt.minSize=0===gt?null:A(rt),rt.maxSize=0===gt?null:H(rt)});else if(Se.length>1){let rt=!1;this.displayedAreas.forEach(gt=>{null===gt.component.size?!1===rt?(gt.size=null,gt.minSize=null,gt.maxSize=null,rt=!0):(gt.size=100,gt.minSize=null,gt.maxSize=null):(gt.size=gt.component.size,gt.minSize=A(gt),gt.maxSize=H(gt))})}}}}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 W=this.getNbGutters()*this.gutterSize;this.displayedAreas.forEach(he=>{he.component.setStyleFlex(0,0,`calc( ${he.size}% - ${he.size/100*W}px )`,null!==he.minSize&&he.minSize===he.size,null!==he.maxSize&&he.maxSize===he.size)})}else"pixel"===this.unit&&this.displayedAreas.forEach(W=>{null===W.size?W.component.setStyleFlex(1,1,1===this.displayedAreas.length?"100%":"auto",!1,!1):1===this.displayedAreas.length?W.component.setStyleFlex(0,0,"100%",!1,!1):W.component.setStyleFlex(0,0,`${W.size}px`,null!==W.minSize&&W.minSize===W.size,null!==W.maxSize&&W.maxSize===W.size)})}clickGutter(W,he){const ce=u(W);this.startPoint&&_(this.startPoint,ce,this.gutterClickDeltaPx)&&(!this.isDragging||this.isWaitingInitialMove)&&(null!==this._clickTimeout?(window.clearTimeout(this._clickTimeout),this._clickTimeout=null,this.notify("dblclick",he),this.stopDragging()):this._clickTimeout=window.setTimeout(()=>{this._clickTimeout=null,this.notify("click",he),this.stopDragging()},this.gutterDblClickDuration))}startKeyboardDrag(W,he,ce){if(!0===this.disabled||!0===this.isWaitingClear)return;const Se=function v(Y,de){if("horizontal"===de)switch(Y.key){case"ArrowLeft":case"ArrowRight":case"PageUp":case"PageDown":break;default:return null}if("vertical"===de)switch(Y.key){case"ArrowUp":case"ArrowDown":case"PageUp":case"PageDown":break;default:return null}const W=Y.currentTarget,he="PageUp"===Y.key||"PageDown"===Y.key?500:50;let ce=W.offsetLeft,Se=W.offsetTop;switch(Y.key){case"ArrowLeft":ce-=he;break;case"ArrowRight":ce+=he;break;case"ArrowUp":Se-=he;break;case"ArrowDown":Se+=he;break;case"PageUp":"vertical"===de?Se-=he:ce+=he;break;case"PageDown":"vertical"===de?Se+=he:ce-=he;break;default:return null}return{x:ce,y:Se}}(W,this.direction);null!==Se&&(this.endPoint=Se,this.startPoint=u(W),W.preventDefault(),W.stopPropagation(),this.setupForDragEvent(he,ce),this.startDragging(),this.drag(),this.stopDragging())}startMouseDrag(W,he,ce){W.preventDefault(),W.stopPropagation(),this.startPoint=u(W),null!==this.startPoint&&!0!==this.disabled&&!0!==this.isWaitingClear&&(this.setupForDragEvent(he,ce),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(W,he){this.snapshot={gutterNum:he,lastSteppedOffset:0,allAreasSizePixel:b(this.elRef,this.direction)-this.getNbGutters()*this.gutterSize,allInvolvedAreasSizePercent:100,areasBeforeGutter:[],areasAfterGutter:[]},this.displayedAreas.forEach(ce=>{const Se={area:ce,sizePixelAtStart:b(ce.component.elRef,this.direction),sizePercentAtStart:"percent"===this.unit?ce.size:-1};ce.order<W?!0===this.restrictMove?this.snapshot.areasBeforeGutter=[Se]:this.snapshot.areasBeforeGutter.unshift(Se):ce.order>W&&(!0===this.restrictMove?0===this.snapshot.areasAfterGutter.length&&(this.snapshot.areasAfterGutter=[Se]):this.snapshot.areasAfterGutter.push(Se))}),this.snapshot.allInvolvedAreasSizePercent=[...this.snapshot.areasBeforeGutter,...this.snapshot.areasAfterGutter].reduce((ce,Se)=>ce+Se.sizePercentAtStart,0)}startDragging(){this.displayedAreas.forEach(W=>W.component.lockEvents()),this.isDragging=!0,this.isWaitingInitialMove=!0}mouseDragEvent(W){W.preventDefault(),W.stopPropagation();const he=u(W);null!==this._clickTimeout&&!_(this.startPoint,he,this.gutterClickDeltaPx)&&(window.clearTimeout(this._clickTimeout),this._clickTimeout=null),!1!==this.isDragging&&(this.endPoint=u(W),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 W="horizontal"===this.direction?this.startPoint.x-this.endPoint.x:this.startPoint.y-this.endPoint.y;"rtl"===this.dir&&(W=-W);const he=Math.round(W/this.gutterStep)*this.gutterStep;if(he===this.snapshot.lastSteppedOffset)return;this.snapshot.lastSteppedOffset=he;let ce=Z(this.unit,this.snapshot.areasBeforeGutter,-he,this.snapshot.allAreasSizePixel),Se=Z(this.unit,this.snapshot.areasAfterGutter,he,this.snapshot.allAreasSizePixel);if(0!==ce.remain&&0!==Se.remain?Math.abs(ce.remain)===Math.abs(Se.remain)||(Math.abs(ce.remain)>Math.abs(Se.remain)?Se=Z(this.unit,this.snapshot.areasAfterGutter,he+ce.remain,this.snapshot.allAreasSizePixel):ce=Z(this.unit,this.snapshot.areasBeforeGutter,-(he-Se.remain),this.snapshot.allAreasSizePixel)):0!==ce.remain?Se=Z(this.unit,this.snapshot.areasAfterGutter,he+ce.remain,this.snapshot.allAreasSizePixel):0!==Se.remain&&(ce=Z(this.unit,this.snapshot.areasBeforeGutter,-(he-Se.remain),this.snapshot.allAreasSizePixel)),"percent"===this.unit){const rt=[...ce.list,...Se.list],gt=rt.find(Ge=>0!==Ge.percentAfterAbsorption&&Ge.percentAfterAbsorption!==Ge.areaSnapshot.area.minSize&&Ge.percentAfterAbsorption!==Ge.areaSnapshot.area.maxSize);gt&&(gt.percentAfterAbsorption=this.snapshot.allInvolvedAreasSizePercent-rt.filter(Ge=>Ge!==gt).reduce((Ge,ht)=>Ge+ht.percentAfterAbsorption,0))}ce.list.forEach(rt=>se(this.unit,rt)),Se.list.forEach(rt=>se(this.unit,rt)),this.refreshStyleSizes(),this.notify("progress",this.snapshot.gutterNum)}stopDragging(W){if(W&&(W.preventDefault(),W.stopPropagation()),!1!==this.isDragging){for(this.displayedAreas.forEach(he=>he.component.unlockEvents());this.dragListeners.length>0;){const he=this.dragListeners.pop();he&&he()}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(W,he){const ce=this.getVisibleAreaSizes();"start"===W?this.dragStart.emit({gutterNum:he,sizes:ce}):"end"===W?this.dragEnd.emit({gutterNum:he,sizes:ce}):"click"===W?this.gutterClick.emit({gutterNum:he,sizes:ce}):"dblclick"===W?this.gutterDblClick.emit({gutterNum:he,sizes:ce}):"transitionEnd"===W?this.transitionEndSubscriber&&this.ngZone.run(()=>this.transitionEndSubscriber.next(ce)):"progress"===W&&this.dragProgressSubject.next({gutterNum:he,sizes:ce})}ngOnDestroy(){this.stopDragging()}collapseArea(W,he,ce){const Se=this.displayedAreas.find(Ge=>Ge.component===W);if(void 0===Se)return;const rt="right"===ce?1:-1;Se.sizeBeforeCollapse||(Se.sizeBeforeCollapse=Se.size,Se.gutterBeforeCollapse=rt),Se.size=he;const gt=this.gutterEls.find(Ge=>Ge.nativeElement.style.order===`${Se.order+rt}`);gt&&this.renderer.addClass(gt.nativeElement,"as-split-gutter-collapsed"),this.updateArea(W,!1,!1)}expandArea(W){const he=this.displayedAreas.find(Se=>Se.component===W);if(void 0===he||!he.sizeBeforeCollapse)return;he.size=he.sizeBeforeCollapse,he.sizeBeforeCollapse=null;const ce=this.gutterEls.find(Se=>Se.nativeElement.style.order===`${he.order+he.gutterBeforeCollapse}`);ce&&this.renderer.removeClass(ce.nativeElement,"as-split-gutter-collapsed"),this.updateArea(W,!1,!1)}getAriaAreaSizeText(W){return null===W?null:W.toFixed(0)+" "+this.unit}}return Y.\u0275fac=function(W){return new(W||Y)(n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(ae,8))},Y.\u0275cmp=n.\u0275\u0275defineComponent({type:Y,selectors:[["as-split"]],viewQuery:function(W,he){if(1&W&&n.\u0275\u0275viewQuery(c,5),2&W){let ce;n.\u0275\u0275queryRefresh(ce=n.\u0275\u0275loadQuery())&&(he.gutterEls=ce)}},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:m,decls:2,vars:1,consts:[["ngFor","",3,"ngForOf"],["role","slider","tabindex","0","class","as-split-gutter",3,"flex-basis","order","keydown","mousedown","touchstart","mouseup","touchend",4,"ngIf"],["role","slider","tabindex","0",1,"as-split-gutter",3,"keydown","mousedown","touchstart","mouseup","touchend"],["gutterEls",""],[1,"as-split-gutter-icon"]],template:function(W,he){1&W&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0),n.\u0275\u0275template(1,p,1,1,"ng-template",0)),2&W&&(n.\u0275\u0275advance(1),n.\u0275\u0275property("ngForOf",he.displayedAreas))},directives:[h.NgForOf,h.NgIf],styles:["[_nghost-%COMP%]{display:flex;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;overflow:hidden;width:100%;height:100%}[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{border:none;flex-grow:0;flex-shrink:0;background-color:#eee;display:flex;align-items:center;justify-content:center}[_nghost-%COMP%] > .as-split-gutter.as-split-gutter-collapsed[_ngcontent-%COMP%]{flex-basis:1px!important;pointer-events:none}[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] > .as-split-gutter-icon[_ngcontent-%COMP%]{width:100%;height:100%;background-position:center center;background-repeat:no-repeat}[_nghost-%COMP%] >.as-split-area{flex-grow:0;flex-shrink:0;overflow-x:hidden;overflow-y:auto}[_nghost-%COMP%] >.as-split-area.as-hidden{flex:0 1 0px!important;overflow-x:hidden;overflow-y:hidden}.as-horizontal[_nghost-%COMP%]{flex-direction:row}.as-horizontal[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{flex-direction:row;cursor:col-resize;height:100%}.as-horizontal[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] > .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==)}.as-horizontal[_nghost-%COMP%] >.as-split-area{height:100%}.as-vertical[_nghost-%COMP%]{flex-direction:column}.as-vertical[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{flex-direction:column;cursor:row-resize;width:100%}.as-vertical[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFCAMAAABl/6zIAAAABlBMVEUAAADMzMzIT8AyAAAAAXRSTlMAQObYZgAAABRJREFUeAFjYGRkwIMJSeMHlBkOABP7AEGzSuPKAAAAAElFTkSuQmCC)}.as-vertical[_nghost-%COMP%] >.as-split-area{width:100%}.as-vertical[_nghost-%COMP%] >.as-split-area.as-hidden{max-width:0}.as-disabled[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{cursor:default}.as-disabled[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url()}.as-transition.as-init[_nghost-%COMP%]:not(.as-dragging) > .as-split-gutter[_ngcontent-%COMP%], .as-transition.as-init[_nghost-%COMP%]:not(.as-dragging) >.as-split-area{transition:flex-basis .3s}"],changeDetection:0}),Y})(),Te=(()=>{class Y{constructor(W,he,ce,Se){this.ngZone=W,this.elRef=he,this.renderer=ce,this.split=Se,this._order=null,this._size=null,this._minSize=null,this._maxSize=null,this._lockSize=!1,this._visible=!0,this.lockListeners=[],this.renderer.addClass(this.elRef.nativeElement,"as-split-area")}set order(W){this._order=S(W,null),this.split.updateArea(this,!0,!1)}get order(){return this._order}set size(W){this._size=S(W,null),this.split.updateArea(this,!1,!0)}get size(){return this._size}set minSize(W){this._minSize=S(W,null),this.split.updateArea(this,!1,!0)}get minSize(){return this._minSize}set maxSize(W){this._maxSize=S(W,null),this.split.updateArea(this,!1,!0)}get maxSize(){return this._maxSize}set lockSize(W){this._lockSize=T(W),this.split.updateArea(this,!1,!0)}get lockSize(){return this._lockSize}set visible(W){this._visible=T(W),this._visible?(this.split.showArea(this),this.renderer.removeClass(this.elRef.nativeElement,"as-hidden")):(this.split.hideArea(this),this.renderer.addClass(this.elRef.nativeElement,"as-hidden"))}get visible(){return this._visible}ngOnInit(){this.split.addArea(this),this.ngZone.runOutsideAngular(()=>{this.transitionListener=this.renderer.listen(this.elRef.nativeElement,"transitionend",W=>{"flex-basis"===W.propertyName&&this.split.notify("transitionEnd",-1)})})}setStyleOrder(W){this.renderer.setStyle(this.elRef.nativeElement,"order",W)}setStyleFlex(W,he,ce,Se,rt){this.renderer.setStyle(this.elRef.nativeElement,"flex-grow",W),this.renderer.setStyle(this.elRef.nativeElement,"flex-shrink",he),this.renderer.setStyle(this.elRef.nativeElement,"flex-basis",ce),!0===Se?this.renderer.addClass(this.elRef.nativeElement,"as-min"):this.renderer.removeClass(this.elRef.nativeElement,"as-min"),!0===rt?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 W=this.lockListeners.pop();W&&W()}}ngOnDestroy(){this.unlockEvents(),this.transitionListener&&this.transitionListener(),this.split.removeArea(this)}collapse(W=0,he="right"){this.split.collapseArea(this,W,he)}expand(){this.split.expandArea(this)}}return Y.\u0275fac=function(W){return new(W||Y)(n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(me))},Y.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["as-split-area"],["","as-split-area",""]],inputs:{order:"order",size:"size",minSize:"minSize",maxSize:"maxSize",lockSize:"lockSize",visible:"visible"},exportAs:["asSplitArea"]}),Y})(),_e=(()=>{class Y{static forRoot(){return console.warn("AngularSplitModule.forRoot() is deprecated and will be removed in v6"),{ngModule:Y,providers:[]}}static forChild(){return console.warn("AngularSplitModule.forChild() is deprecated and will be removed in v6"),{ngModule:Y,providers:[]}}}return Y.\u0275fac=function(W){return new(W||Y)},Y.\u0275mod=n.\u0275\u0275defineNgModule({type:Y}),Y.\u0275inj=n.\u0275\u0275defineInjector({imports:[[h.CommonModule]]}),Y})()},2290:(G,r,a)=>{"use strict";a.r(r),a.d(r,{BasePortalHost:()=>z,ComponentPortal:()=>J,DefaultGlobalConfig:()=>rt,DefaultNoAnimationsGlobalConfig:()=>qe,DefaultNoComponentGlobalConfig:()=>ae,Overlay:()=>he,OverlayContainer:()=>W,OverlayRef:()=>de,TOAST_CONFIG:()=>me,Toast:()=>Se,ToastContainerDirective:()=>Z,ToastContainerModule:()=>Q,ToastInjector:()=>_e,ToastNoAnimation:()=>ht,ToastNoAnimationModule:()=>lt,ToastPackage:()=>se,ToastRef:()=>Te,ToastrComponentlessModule:()=>Ge,ToastrModule:()=>gt,ToastrService:()=>ce});var n=a(5e3),h=a(1777),y=a(7579),d=a(9808),o=a(2313);const c=["toast-component",""];function f(Be,et){if(1&Be){const Ne=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"button",5),n.\u0275\u0275listener("click",function(){return n.\u0275\u0275restoreView(Ne),n.\u0275\u0275nextContext().remove()}),n.\u0275\u0275elementStart(1,"span",6),n.\u0275\u0275text(2,"\xd7"),n.\u0275\u0275elementEnd()()}}function p(Be,et){if(1&Be&&(n.\u0275\u0275elementContainerStart(0),n.\u0275\u0275text(1),n.\u0275\u0275elementContainerEnd()),2&Be){const Ne=n.\u0275\u0275nextContext(2);n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("[",Ne.duplicatesCount+1,"]")}}function m(Be,et){if(1&Be&&(n.\u0275\u0275elementStart(0,"div"),n.\u0275\u0275text(1),n.\u0275\u0275template(2,p,2,1,"ng-container",4),n.\u0275\u0275elementEnd()),2&Be){const Ne=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(Ne.options.titleClass),n.\u0275\u0275attribute("aria-label",Ne.title),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Ne.title," "),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Ne.duplicatesCount)}}function u(Be,et){if(1&Be&&n.\u0275\u0275element(0,"div",7),2&Be){const Ne=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(Ne.options.messageClass),n.\u0275\u0275property("innerHTML",Ne.message,n.\u0275\u0275sanitizeHtml)}}function _(Be,et){if(1&Be&&(n.\u0275\u0275elementStart(0,"div",8),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&Be){const Ne=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(Ne.options.messageClass),n.\u0275\u0275attribute("aria-label",Ne.message),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Ne.message," ")}}function v(Be,et){if(1&Be&&(n.\u0275\u0275elementStart(0,"div"),n.\u0275\u0275element(1,"div",9),n.\u0275\u0275elementEnd()),2&Be){const Ne=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275styleProp("width",Ne.width+"%")}}function b(Be,et){if(1&Be){const Ne=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"button",5),n.\u0275\u0275listener("click",function(){return n.\u0275\u0275restoreView(Ne),n.\u0275\u0275nextContext().remove()}),n.\u0275\u0275elementStart(1,"span",6),n.\u0275\u0275text(2,"\xd7"),n.\u0275\u0275elementEnd()()}}function T(Be,et){if(1&Be&&(n.\u0275\u0275elementContainerStart(0),n.\u0275\u0275text(1),n.\u0275\u0275elementContainerEnd()),2&Be){const Ne=n.\u0275\u0275nextContext(2);n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("[",Ne.duplicatesCount+1,"]")}}function S(Be,et){if(1&Be&&(n.\u0275\u0275elementStart(0,"div"),n.\u0275\u0275text(1),n.\u0275\u0275template(2,T,2,1,"ng-container",4),n.\u0275\u0275elementEnd()),2&Be){const Ne=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(Ne.options.titleClass),n.\u0275\u0275attribute("aria-label",Ne.title),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Ne.title," "),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Ne.duplicatesCount)}}function x(Be,et){if(1&Be&&n.\u0275\u0275element(0,"div",7),2&Be){const Ne=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(Ne.options.messageClass),n.\u0275\u0275property("innerHTML",Ne.message,n.\u0275\u0275sanitizeHtml)}}function A(Be,et){if(1&Be&&(n.\u0275\u0275elementStart(0,"div",8),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&Be){const Ne=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(Ne.options.messageClass),n.\u0275\u0275attribute("aria-label",Ne.message),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Ne.message," ")}}function H(Be,et){if(1&Be&&(n.\u0275\u0275elementStart(0,"div"),n.\u0275\u0275element(1,"div",9),n.\u0275\u0275elementEnd()),2&Be){const Ne=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275styleProp("width",Ne.width+"%")}}let Z=(()=>{class Be{constructor(Ne){this.el=Ne}getContainerElement(){return this.el.nativeElement}}return Be.\u0275fac=function(Ne){return new(Ne||Be)(n.\u0275\u0275directiveInject(n.ElementRef))},Be.\u0275dir=n.\u0275\u0275defineDirective({type:Be,selectors:[["","toastContainer",""]],exportAs:["toastContainer"]}),Be})(),Q=(()=>{class Be{}return Be.\u0275fac=function(Ne){return new(Ne||Be)},Be.\u0275mod=n.\u0275\u0275defineNgModule({type:Be}),Be.\u0275inj=n.\u0275\u0275defineInjector({}),Be})();class J{constructor(et,Ne){this.component=et,this.injector=Ne}attach(et,Ne){return this._attachedHost=et,et.attach(this,Ne)}detach(){const et=this._attachedHost;if(et)return this._attachedHost=void 0,et.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(et){this._attachedHost=et}}class z{attach(et,Ne){return this._attachedPortal=et,this.attachComponentPortal(et,Ne)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(et){this._disposeFn=et}}class se{constructor(et,Ne,We,ft,ve,we){this.toastId=et,this.config=Ne,this.message=We,this.title=ft,this.toastType=ve,this.toastRef=we,this._onTap=new y.x,this._onAction=new y.x,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(et){this._onAction.next(et)}onAction(){return this._onAction.asObservable()}}const ae={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing",payload:null},me=new n.InjectionToken("ToastConfig");class Te{constructor(et){this._overlayRef=et,this.duplicatesCount=0,this._afterClosed=new y.x,this._activate=new y.x,this._manualClose=new y.x,this._resetTimeout=new y.x,this._countDuplicate=new y.x}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(et,Ne){et&&this._resetTimeout.next(),Ne&&this._countDuplicate.next(++this.duplicatesCount)}}class _e{constructor(et,Ne){this._toastPackage=et,this._parentInjector=Ne}get(et,Ne,We){return et===se?this._toastPackage:this._parentInjector.get(et,Ne,We)}}class Y extends z{constructor(et,Ne,We){super(),this._hostDomElement=et,this._componentFactoryResolver=Ne,this._appRef=We}attachComponentPortal(et,Ne){const We=this._componentFactoryResolver.resolveComponentFactory(et.component);let ft;return ft=We.create(et.injector),this._appRef.attachView(ft.hostView),this.setDisposeFn(()=>{this._appRef.detachView(ft.hostView),ft.destroy()}),Ne?this._hostDomElement.insertBefore(this._getComponentRootNode(ft),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(ft)),ft}_getComponentRootNode(et){return et.hostView.rootNodes[0]}}class de{constructor(et){this._portalHost=et}attach(et,Ne=!0){return this._portalHost.attach(et,Ne)}detach(){return this._portalHost.detach()}}let W=(()=>{class Be{constructor(Ne){this._document=Ne}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Ne=this._document.createElement("div");Ne.classList.add("overlay-container"),this._document.body.appendChild(Ne),this._containerElement=Ne}}return Be.\u0275fac=function(Ne){return new(Ne||Be)(n.\u0275\u0275inject(d.DOCUMENT))},Be.\u0275prov=n.\u0275\u0275defineInjectable({token:Be,factory:Be.\u0275fac,providedIn:"root"}),Be})(),he=(()=>{class Be{constructor(Ne,We,ft,ve){this._overlayContainer=Ne,this._componentFactoryResolver=We,this._appRef=ft,this._document=ve,this._paneElements=new Map}create(Ne,We){return this._createOverlayRef(this.getPaneElement(Ne,We))}getPaneElement(Ne="",We){return this._paneElements.get(We)||this._paneElements.set(We,{}),this._paneElements.get(We)[Ne]||(this._paneElements.get(We)[Ne]=this._createPaneElement(Ne,We)),this._paneElements.get(We)[Ne]}_createPaneElement(Ne,We){const ft=this._document.createElement("div");return ft.id="toast-container",ft.classList.add(Ne),ft.classList.add("toast-container"),We?We.getContainerElement().appendChild(ft):this._overlayContainer.getContainerElement().appendChild(ft),ft}_createPortalHost(Ne){return new Y(Ne,this._componentFactoryResolver,this._appRef)}_createOverlayRef(Ne){return new de(this._createPortalHost(Ne))}}return Be.\u0275fac=function(Ne){return new(Ne||Be)(n.\u0275\u0275inject(W),n.\u0275\u0275inject(n.ComponentFactoryResolver),n.\u0275\u0275inject(n.ApplicationRef),n.\u0275\u0275inject(d.DOCUMENT))},Be.\u0275prov=n.\u0275\u0275defineInjectable({token:Be,factory:Be.\u0275fac,providedIn:"root"}),Be})(),ce=(()=>{class Be{constructor(Ne,We,ft,ve,we){this.overlay=We,this._injector=ft,this.sanitizer=ve,this.ngZone=we,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig=Object.assign(Object.assign({},Ne.default),Ne.config),Ne.config.iconClasses&&(this.toastrConfig.iconClasses=Object.assign(Object.assign({},Ne.default.iconClasses),Ne.config.iconClasses))}show(Ne,We,ft={},ve=""){return this._preBuildNotification(ve,Ne,We,this.applyConfig(ft))}success(Ne,We,ft={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",Ne,We,this.applyConfig(ft))}error(Ne,We,ft={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",Ne,We,this.applyConfig(ft))}info(Ne,We,ft={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",Ne,We,this.applyConfig(ft))}warning(Ne,We,ft={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",Ne,We,this.applyConfig(ft))}clear(Ne){for(const We of this.toasts)if(void 0!==Ne){if(We.toastId===Ne)return void We.toastRef.manualClose()}else We.toastRef.manualClose()}remove(Ne){const We=this._findToast(Ne);if(!We||(We.activeToast.toastRef.close(),this.toasts.splice(We.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 ft=this.toasts[this.currentlyActive].toastRef;ft.isInactive()||(this.currentlyActive=this.currentlyActive+1,ft.activate())}return!0}findDuplicate(Ne="",We="",ft,ve){const{includeTitleDuplicates:we}=this.toastrConfig;for(const B of this.toasts){const te=we&&B.title===Ne;if((!we||te)&&B.message===We)return B.toastRef.onDuplicate(ft,ve),B}return null}applyConfig(Ne={}){return Object.assign(Object.assign({},this.toastrConfig),Ne)}_findToast(Ne){for(let We=0;We<this.toasts.length;We++)if(this.toasts[We].toastId===Ne)return{index:We,activeToast:this.toasts[We]};return null}_preBuildNotification(Ne,We,ft,ve){return ve.onActivateTick?this.ngZone.run(()=>this._buildNotification(Ne,We,ft,ve)):this._buildNotification(Ne,We,ft,ve)}_buildNotification(Ne,We,ft,ve){if(!ve.toastComponent)throw new Error("toastComponent required");const we=this.findDuplicate(ft,We,this.toastrConfig.resetTimeoutOnDuplicate&&ve.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&ft||We)&&this.toastrConfig.preventDuplicates&&null!==we)return we;this.previousToastMessage=We;let B=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(B=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const te=this.overlay.create(ve.positionClass,this.overlayContainer);this.index=this.index+1;let Me=We;We&&ve.enableHtml&&(Me=this.sanitizer.sanitize(n.SecurityContext.HTML,We));const Ue=new Te(te),Ke=new se(this.index,ve,Me,ft,Ne,Ue),Re=new _e(Ke,this._injector),V=new J(ve.toastComponent,Re),ge=te.attach(V,this.toastrConfig.newestOnTop);Ue.componentInstance=ge.instance;const xe={toastId:this.index,title:ft||"",message:We||"",toastRef:Ue,onShown:Ue.afterActivate(),onHidden:Ue.afterClosed(),onTap:Ke.onTap(),onAction:Ke.onAction(),portal:ge};return B||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{xe.toastRef.activate()})),this.toasts.push(xe),xe}}return Be.\u0275fac=function(Ne){return new(Ne||Be)(n.\u0275\u0275inject(me),n.\u0275\u0275inject(he),n.\u0275\u0275inject(n.Injector),n.\u0275\u0275inject(o.DomSanitizer),n.\u0275\u0275inject(n.NgZone))},Be.\u0275prov=n.\u0275\u0275defineInjectable({token:Be,factory:Be.\u0275fac,providedIn:"root"}),Be})(),Se=(()=>{class Be{constructor(Ne,We,ft){this.toastrService=Ne,this.toastPackage=We,this.ngZone=ft,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=We.message,this.title=We.title,this.options=We.config,this.originalTimeout=We.config.timeOut,this.toastClasses=`${We.toastType} ${We.config.toastClass}`,this.sub=We.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=We.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=We.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=We.toastRef.countDuplicate().subscribe(ve=>{this.duplicatesCount=ve})}get displayStyle(){if("inactive"===this.state.value)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state=Object.assign(Object.assign({},this.state),{value:"active"}),!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const Ne=(new Date).getTime();this.width=(this.hideTime-Ne)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state=Object.assign(Object.assign({},this.state),{value:"active"}),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state=Object.assign(Object.assign({},this.state),{value:"removed"}),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state.value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(Ne,We){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(Ne),We)):this.timeout=setTimeout(()=>Ne(),We)}outsideInterval(Ne,We){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(Ne),We)):this.intervalId=setInterval(()=>Ne(),We)}runInsideAngular(Ne){this.ngZone?this.ngZone.run(()=>Ne()):Ne()}}return Be.\u0275fac=function(Ne){return new(Ne||Be)(n.\u0275\u0275directiveInject(ce),n.\u0275\u0275directiveInject(se),n.\u0275\u0275directiveInject(n.NgZone))},Be.\u0275cmp=n.\u0275\u0275defineComponent({type:Be,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(Ne,We){1&Ne&&n.\u0275\u0275listener("click",function(){return We.tapToast()})("mouseenter",function(){return We.stickAround()})("mouseleave",function(){return We.delayedHideToast()}),2&Ne&&(n.\u0275\u0275syntheticHostProperty("@flyInOut",We.state),n.\u0275\u0275classMap(We.toastClasses),n.\u0275\u0275styleProp("display",We.displayStyle))},attrs:c,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alertdialog","aria-live","polite",3,"class","innerHTML",4,"ngIf"],["role","alertdialog","aria-live","polite",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alertdialog","aria-live","polite",3,"innerHTML"],["role","alertdialog","aria-live","polite"],[1,"toast-progress"]],template:function(Ne,We){1&Ne&&(n.\u0275\u0275template(0,f,3,0,"button",0),n.\u0275\u0275template(1,m,3,5,"div",1),n.\u0275\u0275template(2,u,1,3,"div",2),n.\u0275\u0275template(3,_,2,4,"div",3),n.\u0275\u0275template(4,v,2,2,"div",4)),2&Ne&&(n.\u0275\u0275property("ngIf",We.options.closeButton),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",We.title),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",We.message&&We.options.enableHtml),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",We.message&&!We.options.enableHtml),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",We.options.progressBar))},directives:[d.NgIf],encapsulation:2,data:{animation:[(0,h.X$)("flyInOut",[(0,h.SB)("inactive",(0,h.oB)({opacity:0})),(0,h.SB)("active",(0,h.oB)({opacity:1})),(0,h.SB)("removed",(0,h.oB)({opacity:0})),(0,h.eR)("inactive => active",(0,h.jt)("{{ easeTime }}ms {{ easing }}")),(0,h.eR)("active => removed",(0,h.jt)("{{ easeTime }}ms {{ easing }}"))])]}}),Be})();const rt=Object.assign(Object.assign({},ae),{toastComponent:Se});let gt=(()=>{class Be{static forRoot(Ne={}){return{ngModule:Be,providers:[{provide:me,useValue:{default:rt,config:Ne}}]}}}return Be.\u0275fac=function(Ne){return new(Ne||Be)},Be.\u0275mod=n.\u0275\u0275defineNgModule({type:Be}),Be.\u0275inj=n.\u0275\u0275defineInjector({imports:[[d.CommonModule]]}),Be})(),Ge=(()=>{class Be{static forRoot(Ne={}){return{ngModule:gt,providers:[{provide:me,useValue:{default:ae,config:Ne}}]}}}return Be.\u0275fac=function(Ne){return new(Ne||Be)},Be.\u0275mod=n.\u0275\u0275defineNgModule({type:Be}),Be.\u0275inj=n.\u0275\u0275defineInjector({imports:[[d.CommonModule]]}),Be})(),ht=(()=>{class Be{constructor(Ne,We,ft){this.toastrService=Ne,this.toastPackage=We,this.appRef=ft,this.width=-1,this.toastClasses="",this.state="inactive",this.message=We.message,this.title=We.title,this.options=We.config,this.originalTimeout=We.config.timeOut,this.toastClasses=`${We.toastType} ${We.config.toastClass}`,this.sub=We.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=We.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=We.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=We.toastRef.countDuplicate().subscribe(ve=>{this.duplicatesCount=ve})}get displayStyle(){if("inactive"===this.state)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state="active",!(!0===this.options.disableTimeOut||"timeOut"===this.options.disableTimeOut)&&this.options.timeOut&&(this.timeout=setTimeout(()=>{this.remove()},this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))),this.options.onActivateTick&&this.appRef.tick()}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const Ne=(new Date).getTime();this.width=(this.hideTime-Ne)/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 Be.\u0275fac=function(Ne){return new(Ne||Be)(n.\u0275\u0275directiveInject(ce),n.\u0275\u0275directiveInject(se),n.\u0275\u0275directiveInject(n.ApplicationRef))},Be.\u0275cmp=n.\u0275\u0275defineComponent({type:Be,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(Ne,We){1&Ne&&n.\u0275\u0275listener("click",function(){return We.tapToast()})("mouseenter",function(){return We.stickAround()})("mouseleave",function(){return We.delayedHideToast()}),2&Ne&&(n.\u0275\u0275classMap(We.toastClasses),n.\u0275\u0275styleProp("display",We.displayStyle))},attrs:c,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert","aria-live","polite",3,"class","innerHTML",4,"ngIf"],["role","alert","aria-live","polite",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert","aria-live","polite",3,"innerHTML"],["role","alert","aria-live","polite"],[1,"toast-progress"]],template:function(Ne,We){1&Ne&&(n.\u0275\u0275template(0,b,3,0,"button",0),n.\u0275\u0275template(1,S,3,5,"div",1),n.\u0275\u0275template(2,x,1,3,"div",2),n.\u0275\u0275template(3,A,2,4,"div",3),n.\u0275\u0275template(4,H,2,2,"div",4)),2&Ne&&(n.\u0275\u0275property("ngIf",We.options.closeButton),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",We.title),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",We.message&&We.options.enableHtml),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",We.message&&!We.options.enableHtml),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",We.options.progressBar))},directives:[d.NgIf],encapsulation:2}),Be})();const qe=Object.assign(Object.assign({},ae),{toastComponent:ht});let lt=(()=>{class Be{static forRoot(Ne={}){return{ngModule:Be,providers:[{provide:me,useValue:{default:qe,config:Ne}}]}}}return Be.\u0275fac=function(Ne){return new(Ne||Be)},Be.\u0275mod=n.\u0275\u0275defineNgModule({type:Be}),Be.\u0275inj=n.\u0275\u0275defineInjector({imports:[[d.CommonModule]]}),Be})()},4147:G=>{"use strict";G.exports=JSON.parse('{"name":"@sdkgen/playground","version":"2.0.2","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":"~13.2.0","@angular/animations":"~13.2.0","@angular/cdk":"~13.2.0","@angular/cli":"~13.2.0","@angular/common":"~13.2.0","@angular/compiler":"~13.2.0","@angular/compiler-cli":"~13.2.0","@angular/core":"~13.2.0","@angular/forms":"~13.2.0","@angular/material":"~13.2.0","@angular/platform-browser":"~13.2.0","@angular/platform-browser-dynamic":"~13.2.0","@angular/router":"~13.2.0","@cubos/eslint-config":"^1.0.553260","@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.3","@types/node":"^16.0.0","angular-split":"^13.0.0","file-saver":"^2.0.5","json":"^11.0.0","monaco-editor":"^0.32.0","ngx-json-viewer":"^3.0.2","ngx-toastr":"^14.2.1","rxjs":"~7.5.2","tslib":"^2.2.0","typescript":"~4.5.4","webpack-bundle-analyzer":"^4.5.0","zone.js":"~0.11.4"}}')}},G=>{G(G.s=4431)}]);