@sdkgen/playground 2.1.0 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/angular.json +4 -4
- package/dist/3rdpartylicenses.txt +31 -4
- package/dist/assets/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/dist/assets/vs/base/common/worker/simpleWorker.nls.de.js +8 -0
- package/dist/assets/vs/base/common/worker/simpleWorker.nls.es.js +8 -0
- package/dist/assets/vs/base/common/worker/simpleWorker.nls.fr.js +8 -0
- package/dist/assets/vs/base/common/worker/simpleWorker.nls.it.js +8 -0
- package/dist/assets/vs/base/common/worker/simpleWorker.nls.ja.js +8 -0
- package/dist/assets/vs/base/common/worker/simpleWorker.nls.js +8 -0
- package/dist/assets/vs/base/common/worker/simpleWorker.nls.ko.js +8 -0
- package/dist/assets/vs/base/common/worker/simpleWorker.nls.ru.js +8 -0
- package/dist/assets/vs/base/common/worker/simpleWorker.nls.zh-cn.js +8 -0
- package/dist/assets/vs/base/common/worker/simpleWorker.nls.zh-tw.js +8 -0
- package/dist/assets/vs/base/worker/workerMain.js +19 -14
- package/dist/assets/vs/basic-languages/abap/abap.js +3 -3
- package/dist/assets/vs/basic-languages/apex/apex.js +3 -3
- package/dist/assets/vs/basic-languages/azcli/azcli.js +3 -3
- package/dist/assets/vs/basic-languages/bat/bat.js +3 -3
- package/dist/assets/vs/basic-languages/bicep/bicep.js +4 -4
- package/dist/assets/vs/basic-languages/cameligo/cameligo.js +3 -3
- package/dist/assets/vs/basic-languages/clojure/clojure.js +3 -3
- package/dist/assets/vs/basic-languages/coffee/coffee.js +3 -3
- package/dist/assets/vs/basic-languages/cpp/cpp.js +3 -3
- package/dist/assets/vs/basic-languages/csharp/csharp.js +3 -3
- package/dist/assets/vs/basic-languages/csp/csp.js +3 -3
- package/dist/assets/vs/basic-languages/css/css.js +4 -4
- package/dist/assets/vs/basic-languages/cypher/cypher.js +10 -0
- package/dist/assets/vs/basic-languages/dart/dart.js +3 -3
- package/dist/assets/vs/basic-languages/dockerfile/dockerfile.js +3 -3
- package/dist/assets/vs/basic-languages/ecl/ecl.js +3 -3
- package/dist/assets/vs/basic-languages/elixir/elixir.js +3 -3
- package/dist/assets/vs/basic-languages/flow9/flow9.js +3 -3
- package/dist/assets/vs/basic-languages/freemarker2/freemarker2.js +3 -3
- package/dist/assets/vs/basic-languages/fsharp/fsharp.js +3 -3
- package/dist/assets/vs/basic-languages/go/go.js +3 -3
- package/dist/assets/vs/basic-languages/graphql/graphql.js +3 -3
- package/dist/assets/vs/basic-languages/handlebars/handlebars.js +3 -3
- package/dist/assets/vs/basic-languages/hcl/hcl.js +3 -3
- package/dist/assets/vs/basic-languages/html/html.js +3 -3
- package/dist/assets/vs/basic-languages/ini/ini.js +3 -3
- package/dist/assets/vs/basic-languages/java/java.js +3 -3
- package/dist/assets/vs/basic-languages/javascript/javascript.js +3 -3
- package/dist/assets/vs/basic-languages/julia/julia.js +3 -3
- package/dist/assets/vs/basic-languages/kotlin/kotlin.js +3 -3
- package/dist/assets/vs/basic-languages/less/less.js +4 -4
- package/dist/assets/vs/basic-languages/lexon/lexon.js +3 -3
- package/dist/assets/vs/basic-languages/liquid/liquid.js +3 -3
- package/dist/assets/vs/basic-languages/lua/lua.js +3 -3
- package/dist/assets/vs/basic-languages/m3/m3.js +3 -3
- package/dist/assets/vs/basic-languages/markdown/markdown.js +3 -3
- package/dist/assets/vs/basic-languages/mdx/mdx.js +10 -0
- package/dist/assets/vs/basic-languages/mips/mips.js +3 -3
- package/dist/assets/vs/basic-languages/msdax/msdax.js +3 -3
- package/dist/assets/vs/basic-languages/mysql/mysql.js +3 -3
- package/dist/assets/vs/basic-languages/objective-c/objective-c.js +3 -3
- package/dist/assets/vs/basic-languages/pascal/pascal.js +3 -3
- package/dist/assets/vs/basic-languages/pascaligo/pascaligo.js +3 -3
- package/dist/assets/vs/basic-languages/perl/perl.js +3 -3
- package/dist/assets/vs/basic-languages/pgsql/pgsql.js +3 -3
- package/dist/assets/vs/basic-languages/php/php.js +3 -3
- package/dist/assets/vs/basic-languages/pla/pla.js +3 -3
- package/dist/assets/vs/basic-languages/postiats/postiats.js +3 -3
- package/dist/assets/vs/basic-languages/powerquery/powerquery.js +3 -3
- package/dist/assets/vs/basic-languages/powershell/powershell.js +3 -3
- package/dist/assets/vs/basic-languages/protobuf/protobuf.js +4 -4
- package/dist/assets/vs/basic-languages/pug/pug.js +3 -3
- package/dist/assets/vs/basic-languages/python/python.js +3 -3
- package/dist/assets/vs/basic-languages/qsharp/qsharp.js +3 -3
- package/dist/assets/vs/basic-languages/r/r.js +3 -3
- package/dist/assets/vs/basic-languages/razor/razor.js +3 -3
- package/dist/assets/vs/basic-languages/redis/redis.js +3 -3
- package/dist/assets/vs/basic-languages/redshift/redshift.js +3 -3
- package/dist/assets/vs/basic-languages/restructuredtext/restructuredtext.js +3 -3
- package/dist/assets/vs/basic-languages/ruby/ruby.js +3 -3
- package/dist/assets/vs/basic-languages/rust/rust.js +3 -3
- package/dist/assets/vs/basic-languages/sb/sb.js +3 -3
- package/dist/assets/vs/basic-languages/scala/scala.js +3 -3
- package/dist/assets/vs/basic-languages/scheme/scheme.js +3 -3
- package/dist/assets/vs/basic-languages/scss/scss.js +4 -4
- package/dist/assets/vs/basic-languages/shell/shell.js +3 -3
- package/dist/assets/vs/basic-languages/solidity/solidity.js +3 -3
- package/dist/assets/vs/basic-languages/sophia/sophia.js +3 -3
- package/dist/assets/vs/basic-languages/sparql/sparql.js +3 -3
- package/dist/assets/vs/basic-languages/sql/sql.js +3 -3
- package/dist/assets/vs/basic-languages/st/st.js +3 -3
- package/dist/assets/vs/basic-languages/swift/swift.js +3 -3
- package/dist/assets/vs/basic-languages/systemverilog/systemverilog.js +3 -3
- package/dist/assets/vs/basic-languages/tcl/tcl.js +3 -3
- package/dist/assets/vs/basic-languages/twig/twig.js +3 -3
- package/dist/assets/vs/basic-languages/typescript/typescript.js +3 -3
- package/dist/assets/vs/basic-languages/vb/vb.js +3 -3
- package/dist/assets/vs/basic-languages/wgsl/wgsl.js +307 -0
- package/dist/assets/vs/basic-languages/xml/xml.js +3 -3
- package/dist/assets/vs/basic-languages/yaml/yaml.js +3 -3
- package/dist/assets/vs/editor/editor.main.css +2 -2
- package/dist/assets/vs/editor/editor.main.js +311 -358
- package/dist/assets/vs/editor/editor.main.nls.de.js +7 -5
- package/dist/assets/vs/editor/editor.main.nls.es.js +7 -5
- package/dist/assets/vs/editor/editor.main.nls.fr.js +6 -4
- package/dist/assets/vs/editor/editor.main.nls.it.js +6 -4
- package/dist/assets/vs/editor/editor.main.nls.ja.js +7 -5
- package/dist/assets/vs/editor/editor.main.nls.js +6 -4
- package/dist/assets/vs/editor/editor.main.nls.ko.js +6 -4
- package/dist/assets/vs/editor/editor.main.nls.ru.js +7 -5
- package/dist/assets/vs/editor/editor.main.nls.zh-cn.js +7 -5
- package/dist/assets/vs/editor/editor.main.nls.zh-tw.js +6 -4
- package/dist/assets/vs/language/css/cssMode.js +5 -5
- package/dist/assets/vs/language/css/cssWorker.js +46 -28
- package/dist/assets/vs/language/html/htmlMode.js +5 -5
- package/dist/assets/vs/language/html/htmlWorker.js +15 -15
- package/dist/assets/vs/language/json/jsonMode.js +7 -7
- package/dist/assets/vs/language/json/jsonWorker.js +14 -14
- package/dist/assets/vs/language/typescript/tsMode.js +10 -10
- package/dist/assets/vs/language/typescript/tsWorker.js +7609 -4563
- package/dist/assets/vs/loader.js +5 -5
- package/dist/index.html +10 -9
- package/dist/main.7dac5238eda4e77b.js +1 -0
- package/dist/polyfills.2deed7bc292b0032.js +1 -0
- package/dist/{runtime.0825e755d4f8b9f2.js → runtime.f0f049cf108c7905.js} +1 -1
- package/dist/styles.9f4ce55a5b1e052d.css +1 -0
- package/package.json +25 -25
- package/tsconfig.json +3 -2
- package/dist/main.86ecb3dfe4ed0786.js +0 -1
- package/dist/polyfills.3fda8322df04f1b3.js +0 -1
- package/dist/styles.7c84774591d5f735.css +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunksdkgen_playground=self.webpackChunksdkgen_playground||[]).push([[179],{4602:function(G,o){"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(o,"__esModule",{value:!0}),o.decode=o.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 r(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,"'"))}o.encode=function l(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[_,l(p,"".concat(m,".").concat(T[0]),T[1],{})];if(Array.isArray(_)&&2===_.length&&T[0]===_[0])return[_[0],l(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={},P=0,I=Object.keys(u);P<I.length;P++){var V=I[P];S[V]=l(p,"".concat(m,".").concat(V),u[V],_[V])}return S}if(u.endsWith("?"))return null==_?null:l(p,m,u.slice(0,u.length-1),_);if(u.endsWith("[]")){if(!Array.isArray(_))throw new d(m,u,_);return _.map(function(Z,X){return l(p,"".concat(m,"[").concat(X,"]"),u.slice(0,u.length-2),Z)})}if(y.indexOf(u)>=0)return r(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 J=p[u];if(J)return l(p,m,J,_);throw new Error("Unknown type '".concat(u,"' at '").concat(m,"'"))},o.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={},P=0,I=Object.keys(u);P<I.length;P++){var V=I[P];S[V]=f(p,"".concat(m,".").concat(V),u[V],_[V])}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(le,me){return f(p,"".concat(m,"[").concat(me,"]"),u.slice(0,u.length-2),le)})}if(y.indexOf(u)>=0)return r(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 J=parseInt(_.split("-")[2],10),Z=parseInt(_.split("-")[1],10)-1,X=parseInt(_.split("-")[0],10),U=new Date(X,Z,J);if(U.getFullYear()!==X||U.getMonth()!==Z||U.getDate()!==J)throw new d(m,u,_);return U}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 oe=p[u];if(oe)return f(p,m,oe,_);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(le){return le.charCodeAt(0)})}catch(le){throw new d(m,"".concat(u," (base 64)"),_)}}},2837:function(G,o){"use strict";var y,a=this&&this.__extends||(y=function(d,r){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,f){l.__proto__=f}||function(l,f){for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&(l[p]=f[p])})(d,r)},function(d,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function l(){this.constructor=d}y(d,r),d.prototype=null===r?Object.create(r):(l.prototype=r.prototype,new l)});Object.defineProperty(o,"__esModule",{value:!0}),o.SdkgenErrorWithData=o.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);o.SdkgenError=n;var h=function(y){function d(r,l){var f=y.call(this,r)||this;return f.data=l,f}return a(d,y),d.prototype.toJSON=function(){return{data:this.data,message:this.message,type:this.type}},d}(n);o.SdkgenErrorWithData=h},2062:function(G,o,a){"use strict";var n=this&&this.__awaiter||function(m,u,_,v){return new(_||(_=Promise))(function(T,S){function P(J){try{V(v.next(J))}catch(Z){S(Z)}}function I(J){try{V(v.throw(J))}catch(Z){S(Z)}}function V(J){J.done?T(J.value):function b(T){return T instanceof _?T:new _(function(S){S(T)})}(J.value).then(P,I)}V((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:P(0),throw:P(1),return:P(2)},"function"==typeof Symbol&&(S[Symbol.iterator]=function(){return this}),S;function P(V){return function(J){return function I(V){if(v)throw new TypeError("Generator is already executing.");for(;_;)try{if(v=1,b&&(T=2&V[0]?b.return:V[0]?b.throw||((T=b.return)&&T.call(b),0):b.next)&&!(T=T.call(b,V[1])).done)return T;switch(b=0,T&&(V=[2&V[0],T.value]),V[0]){case 0:case 1:T=V;break;case 4:return _.label++,{value:V[1],done:!1};case 5:_.label++,b=V[1],V=[0];continue;case 7:V=_.ops.pop(),_.trys.pop();continue;default:if(!(T=(T=_.trys).length>0&&T[T.length-1])&&(6===V[0]||2===V[0])){_=0;continue}if(3===V[0]&&(!T||V[1]>T[0]&&V[1]<T[3])){_.label=V[1];break}if(6===V[0]&&_.label<T[1]){_.label=T[1],T=V;break}if(T&&_.label<T[2]){_.label=T[2],_.ops.push(V);break}T[2]&&_.ops.pop(),_.trys.pop();continue}V=u.call(m,_)}catch(J){V=[6,J],b=0}finally{v=T=0}if(5&V[0])throw V[1];return{value:V[0]?V[1]:void 0,done:!0}}([V,J])}}};Object.defineProperty(o,"__esModule",{value:!0}),o.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 r=d(20);function l(){try{var m=localStorage.getItem("deviceId");return m||(m=r,localStorage.setItem("deviceId",m)),m}catch(u){}return r}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,P,I,V,J=this;return h(this,function(Z){switch(Z.label){case 0:if(!(T=this.astJson.functionTable[u]))throw new Error("Unknown function ".concat(u));return S={},this.extra.forEach(function(X,U){S[U]=X}),P={args:(0,y.encode)(this.astJson.typeTable,"".concat(u,".args"),T.args,_),deviceInfo:{id:l(),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(X,U){var oe=new XMLHttpRequest;oe.open("POST","".concat(J.baseUrl,"/").concat(u)),oe.setRequestHeader("Content-Type","application/sdkgen"),oe.onreadystatechange=function(){if(4===oe.readyState)try{var le=JSON.parse(oe.responseText);try{f(le,"error")&&le.error?(U(le.error),J.errorHook(le.error,u,_)):X(f(le,"result")?le.result:null)}catch(De){var me={message:"".concat(De),type:"Fatal"};U(me),J.errorHook(me,u,_)}}catch(De){U(me={message:"Falha de conex\xe3o com o servidor",type:"Fatal"}),J.errorHook(me,u,_)}},oe.send(JSON.stringify(P))}).catch(function(X){if(J.errorHook(X,u,_),f(X,"type")&&f(X,"message")&&"string"==typeof X.type&&"string"==typeof X.message){var U=J.errClasses[X.type];if(U){var oe=J.astJson.errors.find(function(le){return Array.isArray(le)?le[0]===X.type:le===X.type});if(oe)throw Array.isArray(oe)&&f(X,"data")?new U(X.message,(0,y.decode)(J.astJson.typeTable,"".concat(U.name,".data"),oe[1],X.data)):new U(X.message,void 0)}throw new J.errClasses.Fatal("".concat(X.type,": ").concat(X.message))}throw X})];case 1:return I=Z.sent(),V=(0,y.decode)(this.astJson.typeTable,"".concat(u,".ret"),T.ret,I),this.successHook(V,u,_),[2,V]}})})},m}();o.SdkgenHttpClient=p},4539:function(G,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(y,d,r,l){void 0===l&&(l=r);var f=Object.getOwnPropertyDescriptor(d,r);(!f||("get"in f?!d.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return d[r]}}),Object.defineProperty(y,l,f)}:function(y,d,r,l){void 0===l&&(l=r),y[l]=d[r]}),h=this&&this.__exportStar||function(y,d){for(var r in y)"default"!==r&&!Object.prototype.hasOwnProperty.call(d,r)&&n(d,y,r)};Object.defineProperty(o,"__esModule",{value:!0}),h(a(2837),o),h(a(2062),o)},3905:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateCSharpServerSource=void 0;const n=a(6676),h=a(4510);o.generateCSharpServerSource=function y(d){let r="using System;\nusing System.Collections.Generic;\nusing System.Globalization;\nusing System.Numerics;\nusing System.Text.Json;\nusing System.Threading.Tasks;\nusing static Sdkgen.Runtime;\nusing static Sdkgen.Context;\nusing static Sdkgen.Helpers;\n\nnamespace SdkgenGenerated\n{\n public abstract class Api : BaseApi\n {";for(const l of d.operations){const f=l.returnType instanceof n.VoidPrimitiveType?"":`<${(0,h.generateTypeName)(l.returnType)}>`;r+=`\n public virtual Task${f} ${(0,h.capitalize)(l.name)}(${["Context ctx",...l.args.map(p=>`${(0,h.generateTypeName)(p.type)} ${(0,h.ident)(p.name)}`)].join(", ")})\n {\n return Task.FromException${f}(new FatalException("Function '${l.name}' not implemented."));\n }\n`}r+="\n public async Task ExecuteFunction(Context context_, Utf8JsonWriter resultWriter_)\n {\n switch (context_.Name)\n {";for(const l of d.operations){r+=`\n case ${JSON.stringify(l.name)}:\n {`;for(const f of l.args)r+=`\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("'${l.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_`,`"${l.name}().args.${f.name}"`,(0,h.ident)(f.name)).replace(/\n/gu,"\n ")}`;r+=l.returnType instanceof n.VoidPrimitiveType?`\n await ${(0,h.capitalize)(l.name)}(${["context_",...l.args.map(f=>(0,h.ident)(f.name))].join(", ")});\n resultWriter_.WriteNullValue();`:`\n var result_ = await ${(0,h.capitalize)(l.name)}(${["context_",...l.args.map(f=>(0,h.ident)(f.name))].join(", ")});\n ${(0,h.encodeType)(l.returnType,"result_",`"${l.name}().ret"`).replace(/\n/gu,"\n ")}`,r+="\n return;\n }"}r+="\n default:\n {\n throw new FatalException($\"Unknown function '{context_.Name}'.\");\n }\n }\n }\n";for(const l of d.structTypes)r+=(0,h.generateStruct)(l);for(const l of d.enumTypes)r+=(0,h.generateEnum)(l);r+=`\n public string GetAstJson() => @"${JSON.stringify((0,n.astToJson)(d),null,4).replace(/"/gu,'""').replace(/\n/gu,"\n ")}";\n }\n`;for(const l of d.errors)r+=`\n public class ${l.name}Exception : SdkgenException\n {\n public ${l.name}Exception(string message, Exception? inner = null) : base("${l.name}", message, inner) { }\n }\n`;return r+="\n}\n",r}},4510:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateEnum=o.generateStruct=o.encodeType=o.decodeType=o.generateTypeName=o.capitalize=o.ident=void 0;const n=a(6676),h=["abstract","as","base","bool","break","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","else","enum","event","explicit","extern","false","finally","fixed","float","for","foreach","goto","if","implicit","in","int","interface","internal","is","lock","long","namespace","new","null","object","operator","out","override","params","private","protected","public","readonly","ref","return","sbyte","sealed","short","sizeof","stackalloc","static","string","struct","switch","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","using","static","virtual","void","volatile","while"],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 r(v){return h.includes(v)?`@${v}`:v}function l(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,P=1,I=!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,P);case n.OptionalType:if(d.includes(v.base.constructor)){const V=`${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)} ${V};\n ${p(v.base,b,T,V,P,!1).replace(/\n/gu,"\n ")}\n ${S} = ${V};\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,P,!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 I?`\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${P} = 0; i${P} < ${b}.GetArrayLength(); ++i${P})\n {\n ${f(v.base)} element${P};\n ${p(v.base,`${b}[i${P}]`,`$"{${T}}[{i${P}}]"`,`element${P}`,P+1).replace(/\n/gu,"\n ")}\n ${S}.Add(element${P});\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 P=v.base;for(;P instanceof n.TypeReference;)P=P.type;return`\n if (${b} == null)\n {\n resultWriter_.WriteNullValue();\n }\n else\n {\n ${m(P,y.includes(P.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}`)}}o.ident=r,o.capitalize=l,o.generateTypeName=f,o.decodeType=p,o.encodeType=m,o.generateStruct=function u(v){return`\n public class ${v.name}\n {${v.fields.map(b=>`\n public ${f(b.type)} ${l(b.name)};`).join("")}\n public ${v.name}(${v.fields.map(b=>`${f(b.type)} ${r(b.name)}`).join(", ")})\n {${v.fields.map(b=>`\n ${l(b.name)} = ${r(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)} ${r(b.name)};\n ${p(b.type,`${b.name}Json_`,`$"{path_}.${b.name}"`,r(b.name)).replace(/\n/gu,"\n ")}`).join("\n")}\n return new ${v.name}(${v.fields.map(b=>r(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_.${l(b.name)}`,`$"{path_}.${b.name}"`).replace(/\n/gu,"\n ")}`).join("\n ")}\n resultWriter_.WriteEndObject();\n }\n`},o.generateEnum=function _(v){return`\n public enum ${v.name}\n {${v.values.map(({value:b})=>`\n ${l(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}.${l(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}.${l(b)})\n {\n resultWriter_.WriteStringValue("${b}");\n }`).join("")}\n }\n`}},7179:function(G,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(y,d,r,l){void 0===l&&(l=r);var f=Object.getOwnPropertyDescriptor(d,r);(!f||("get"in f?!d.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return d[r]}}),Object.defineProperty(y,l,f)}:function(y,d,r,l){void 0===l&&(l=r),y[l]=d[r]}),h=this&&this.__exportStar||function(y,d){for(var r in y)"default"!==r&&!Object.prototype.hasOwnProperty.call(d,r)&&n(d,y,r)};Object.defineProperty(o,"__esModule",{value:!0}),h(a(3905),o)},1911:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateDartClientSource=void 0;const n=a(6676),h=a(5235);o.generateDartClientSource=function y(d){let r="";r+="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 l of d.enumTypes)r+=(0,h.generateEnum)(l),r+="\n";for(const l of d.structTypes)r+=(0,h.generateClass)(l),r+="\n";for(const l of d.errors)r+=(0,h.generateErrorClass)(l),r+="\n";r+=`class ApiClient extends SdkgenHttpClient {\n ApiClient(String baseUrl) : super(baseUrl, _typeTable, _fnTable, _errTable);\n${d.operations.filter(l=>l.annotations.every(f=>!(f instanceof n.HiddenAnnotation))).map(l=>`\n ${l.returnType instanceof n.VoidPrimitiveType?"Future<void> ":`Future<${(0,h.generateTypeName)(l.returnType)}> `}${l.name}(${0===l.args.length?"":`{${l.args.map(f=>`${f.type instanceof n.OptionalType?"":"required "}${(0,h.generateTypeName)(f.type)} ${(0,h.mangle)(f.name)}`).join(", ")}}`}) async { ${l.returnType instanceof n.VoidPrimitiveType?"":"return "}${(0,h.cast)(`await makeRequest('${l.name}', {${l.args.map(f=>`'${f.name}': ${(0,h.mangle)(f.name)}`).join(", ")}})`,l.returnType)}; }`).join("")}\n}\n\n`,r+="var _typeTable = {\n";for(const l of d.structTypes){r+=` '${l.name}': StructTypeDescription(\n`,r+=` ${l.name},\n`,r+=" {\n";for(const f of l.fields)r+=` '${f.name}': '${f.type.name}',\n`;r+=" },\n",r+=` (Map fields) => ${l.name}(\n`;for(const f of l.fields)r+=` ${(0,h.mangle)(f.name)}: ${(0,h.cast)(`fields['${f.name}']`,f.type)},\n`;r+=" ),\n",r+=` (${l.name} obj) => ({\n`;for(const f of l.fields)r+=` '${f.name}': obj.${(0,h.mangle)(f.name)},\n`;r+=" }),\n",r+=" ),\n"}for(const l of d.enumTypes)r+=` '${l.name}': EnumTypeDescription(${l.name}, ${l.name}.values, [\n ${l.values.map(f=>`'${f.value}'`).join(",\n ")}\n ]),\n`;r+="};\n\n",r+="var _fnTable = {\n";for(const l of d.operations){r+=` '${l.name}': FunctionDescription('${l.returnType.name}', {\n`;for(const f of l.args)r+=` '${f.name}': '${f.type.name}',\n`;r+=" }),\n"}r+="};\n\n",r+="var _errTable = {\n";for(const l of d.errors)r+=` '${l.name}': SdkgenErrorDescription('${l.dataType.name}', (msg, data) => ${l.name}(msg${l.dataType instanceof n.VoidPrimitiveType?"":", data"})),\n`;return r+="};\n",r}},5235:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateClass=o.cast=o.generateErrorClass=o.generateTypeName=o.generateEnum=o.mangle=void 0;const n=a(6676);function h(v){return["abstract","as","assert","async","await","bool","break","case","catch","class","const","continue","covariant","default","deferred","do","double","dynamic","else","enum","export","extends","extension","external","factory","false","final","finally","for","Function","get","hide","if","implements","import","in","int","interface","is","library","mixin","new","null","on","operator","part","rethrow","return","set","show","static","super","switch","sync","this","throw","true","try","typedef","var","void","while","with","yield"].includes(v)?`$${v}`:v}function 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}`)}}o.mangle=h,o.generateEnum=function y(v){return`enum ${v.name} {\n ${v.values.map(b=>b.value).join(",\n ")}\n}\n`},o.generateTypeName=d,o.generateErrorClass=function r(v){if(v.dataType instanceof n.VoidPrimitiveType)return`class ${v.name} extends SdkgenError {\n ${v.name}(String msg) : super(msg);\n}\n`;const b=d(v.dataType);return`class ${v.name} extends SdkgenErrorWithData<${b}> {\n ${v.name}(String msg, ${b} data) : super(msg, data);\n}\n`},o.cast=function l(v,b){return b instanceof n.OptionalType?`${v} == null ? null : ${l(v,b.base)}`:b instanceof n.ArrayType?`(${v} as List).map((e) => ${l("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)}`},o.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,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(y,d,r,l){void 0===l&&(l=r);var f=Object.getOwnPropertyDescriptor(d,r);(!f||("get"in f?!d.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return d[r]}}),Object.defineProperty(y,l,f)}:function(y,d,r,l){void 0===l&&(l=r),y[l]=d[r]}),h=this&&this.__exportStar||function(y,d){for(var r in y)"default"!==r&&!Object.prototype.hasOwnProperty.call(d,r)&&n(d,y,r)};Object.defineProperty(o,"__esModule",{value:!0}),h(a(1911),o)},196:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateFSharpServerSource=void 0;const n=a(6676),h=a(8735);o.generateFSharpServerSource=function y(d){let r="module rec SdkgenGenerated\nopen Sdkgen.Runtime\nopen Sdkgen.Helpers\nopen Sdkgen.Context\nopen System.Threading.Tasks\nopen System.Text.Json\nopen System\nopen System.Globalization\n#if NET5_0\n// To use tasks as computation expression in .NET 5 install https://www.nuget.org/packages/TaskBuilder.fs/\nopen FSharp.Control.Tasks.V2.ContextInsensitive\n#endif\n";for(const l of d.errors)r+=`\ntype ${l.name}Exception =\n inherit SdkgenException\n\n new(message: string) = {\n inherit SdkgenException("${l.name}", message, null)\n }\n\n new(message: string, inner: Exception) = {\n inherit SdkgenException("${l.name}", message, inner)\n }\n`;for(const l of d.enumTypes)r+=`\n${(0,h.generateEnum)(l)}\n`;for(const l of d.structTypes)r+=`\n${(0,h.generateStruct)(l)}\n`;r+="\ntype Api() =";for(const l of d.operations){const f=l.returnType instanceof n.VoidPrimitiveType?"":`<${(0,h.generateTypeName)(l.returnType)}>`,p=l.args.length>0?`{| ${l.args.map(m=>`${m.name}: ${(0,h.generateTypeName)(m.type)};`).join("")} |} ->`:"";r+=`\n member val ${(0,h.capitalize)(l.name)}: Context -> ${p} Task${f} =\n fun _ -> (raise (FatalException("Function '${l.name}' not implemented.")))\n with get, set\n `}r+="\n interface BaseApi with\n member __.ExecuteFunction(context_: Context, resultWriter_: Utf8JsonWriter) : Task =\n task {\n match context_.Name with";for(const l of d.operations){r+=`\n | ${JSON.stringify(l.name)} ->`;for(const f of l.args)r+=`\n let ${f.name}Json_ =\n match context_.Args.TryGetValue(${JSON.stringify(f.name)}) with\n | true, v -> v\n | _ -> raise (FatalException("'${l.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_`,`"${l.name}().args.${f.name}"`,(0,h.ident)(f.name)).replace(/\n/gu,"\n ")}`;r+=l.returnType instanceof n.VoidPrimitiveType?`\n\n do! (__.${(0,h.capitalize)(l.name)} context_ ${l.args.length>0?"{|":""} ${l.args.map(f=>`${f.name} = ${(0,h.ident)(f.name)}`).join("; ")} ${l.args.length>0?"|}":""})\n `:`\n\n let! result_ = (__.${(0,h.capitalize)(l.name)} context_ ${l.args.length>0?"{|":""} ${l.args.map(f=>`${f.name} = ${(0,h.ident)(f.name)}`).join("; ")} ${l.args.length>0?"|}":""})\n ${(0,h.encodeType)(l.returnType,"result_",`"${l.name}().ret"`,1,!1).replace(/\n/gu,"\n ")}`}return r+="\n\n | _ -> raise (FatalException($\"Unknown function '{context_.Name}'.\"))\n } :> Task",r+=`\n member __.GetAstJson() = """${JSON.stringify((0,n.astToJson)(d),null,4).replace(/\n/gu,"\n ")}""";`,r}},8735:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateEnum=o.generateStruct=o.encodeType=o.decodeType=o.generateTypeName=o.capitalize=o.ident=void 0;const n=a(6676),h=["abstract","as","base","bool","break","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","else","enum","event","explicit","extern","false","finally","fixed","float","for","foreach","goto","if","implicit","in","int","interface","internal","is","lock","long","namespace","new","null","object","operator","out","override","params","private","protected","public","readonly","ref","return","sbyte","sealed","short","sizeof","stackalloc","static","string","struct","switch","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","using","static","virtual","void","volatile","while","type","end","id"],d=[n.BigIntPrimitiveType,n.DatePrimitiveType,n.DateTimePrimitiveType,n.FloatPrimitiveType,n.IntPrimitiveType,n.MoneyPrimitiveType,n.UIntPrimitiveType,n.ArrayType];function r(v){return h.includes(v)?`${v}'`:v}function l(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,P=1,I=!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,P);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,P,!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,P,!1)}\n `.replace(/\n {16}/gu,"\n").trim():`\n decodeOptional ${p(v.base,b,T,S,P,!1)}\n `.replace(/\n {16}/gu,"\n").trim();case n.EnumType:case n.StructType:return`Decode${v.name} ${b} ${T}`;case n.JsonPrimitiveType:return I?`\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,P,!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,P=!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 I=v.base;for(;I instanceof n.TypeReference;)I=I.type;return`\n if (${b}.IsNone) then\n resultWriter_.WriteNullValue()\n else\n ${m(I,`${b}.Value`,T,S,P)}\n `.replace(/\n {14}/gu,"\n").trim()}case n.TypeReference:return m(v.type,b,T,S,P);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}`)}}o.ident=r,o.capitalize=l,o.generateTypeName=f,o.decodeType=p,o.encodeType=m,o.generateStruct=function u(v){return`\ntype ${v.name} = {\n ${v.fields.map(b=>`${l(b.name)}: ${f(b.type)}`).join(";\n ")}\n} with\n static member Create (${v.fields.map(b=>`${r(b.name)}: ${f(b.type)}`).join(", ")}): ${v.name} =\n { ${v.fields.map(b=>`${l(b.name)} = ${r(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 ${r(b.name)} =\n ${p(b.type,`${b.name}Json_`,`$"{path_}.${b.name}"`,r(b.name)).replace(/\n/gu,"\n ")}\n `).join("")}\n { ${v.fields.map(b=>`${l(b.name)} = ${r(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_.${l(b.name)}`,`$"{path_}.${b.name}"`).replace(/\n/gu,"\n ")}`).join("\n")}\n resultWriter_.WriteEndObject()`},o.generateEnum=function _(v){return`\ntype ${v.name} =\n ${v.values.map(({value:b})=>`| ${l(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}.${l(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}.${l(b)} -> resultWriter_.WriteStringValue("${b}")`).join("\n ")}\n\n`}},2863:function(G,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(y,d,r,l){void 0===l&&(l=r);var f=Object.getOwnPropertyDescriptor(d,r);(!f||("get"in f?!d.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return d[r]}}),Object.defineProperty(y,l,f)}:function(y,d,r,l){void 0===l&&(l=r),y[l]=d[r]}),h=this&&this.__exportStar||function(y,d){for(var r in y)"default"!==r&&!Object.prototype.hasOwnProperty.call(d,r)&&n(d,y,r)};Object.defineProperty(o,"__esModule",{value:!0}),h(a(196),o)},9409:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateAndroidClientSource=void 0;const n=a(6676),h=a(7250);o.generateAndroidClientSource=function y(d,r){let l='@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)l+=` ${(0,h.generateEnum)(m)}`,l+="\n";l+=" open class Error(val message: String? = null)\n",l+=" data class Response<T>(val error: Error?, val data: T?, val stats: CallStats?)\n\n";for(const m of d.structTypes)l+=` ${(0,h.generateClass)(m)}\n`;const f=[],p=new n.ErrorNode("Connection",new n.VoidPrimitiveType);f.push(p.name),l+=` ${(0,h.generateErrorClass)(p)}`;for(const m of d.errors)l+=` ${(0,h.generateErrorClass)(m)}`,f.push(m.name);return f.length>0&&(l+=`\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`),l+=" private val sdkgenIOScope = CoroutineScope(IO + SupervisorJob())\n\n",l+=d.operations.filter(m=>m.annotations.every(u=>!(u instanceof n.HiddenAnnotation))).map(m=>{let u="";const _=[];_.push("timeoutMillis: Long? = null"),r&&_.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`,r&&(u+=" withContext(Dispatchers.Main) { callback?.invoke(response) } \n"),u+=" return@async response\n",u+=" }\n",u}).join("\n"),l+='\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',l+="}\n",l}},7250:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateErrorClass=o.generateClass=o.getAnnotation=o.generateEnum=o.generateJsonAddRepresentation=o.mangle=o.generateKotlinTypeName=void 0;const n=a(6676);function h(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 l(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:_+=l(m.base)}return _}o.generateKotlinTypeName=h,o.mangle=y,o.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}`)}},o.generateEnum=function r(m){let u="@Parcelize \n";return u+=` enum class ${m.name} : Parcelable { ${m.values.map(_=>y(_.value)).join(", ")} }\n`,u},o.getAnnotation=l,o.generateClass=function f(m){let u="@Parcelize\n";return u+=` data class ${m.name}(\n${m.fields.map(_=>{let v=l(_.type,_.name);return v+=` var ${y(_.name)}: ${h(_.type)}${_.type.constructor===n.OptionalType?" = null":""}`,v}).join(",\n")}\n ) : Parcelable\n`,u},o.generateErrorClass=function p(m){return`class ${m.name}(message: String) : Error(message)\n`}},7402:function(G,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(y,d,r,l){void 0===l&&(l=r);var f=Object.getOwnPropertyDescriptor(d,r);(!f||("get"in f?!d.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return d[r]}}),Object.defineProperty(y,l,f)}:function(y,d,r,l){void 0===l&&(l=r),y[l]=d[r]}),h=this&&this.__exportStar||function(y,d){for(var r in y)"default"!==r&&!Object.prototype.hasOwnProperty.call(d,r)&&n(d,y,r)};Object.defineProperty(o,"__esModule",{value:!0}),h(a(9409),o)},1942:function(G,o,a){"use strict";var n=this&&this.__rest||function(ye,Se){var j={};for(var ne in ye)Object.prototype.hasOwnProperty.call(ye,ne)&&Se.indexOf(ne)<0&&(j[ne]=ye[ne]);if(null!=ye&&"function"==typeof Object.getOwnPropertySymbols){var Me=0;for(ne=Object.getOwnPropertySymbols(ye);Me<ne.length;Me++)Se.indexOf(ne[Me])<0&&Object.prototype.propertyIsEnumerable.call(ye,ne[Me])&&(j[ne[Me]]=ye[ne[Me]])}return j};Object.defineProperty(o,"__esModule",{value:!0}),o.AstRoot=o.FunctionOperation=o.TypeDefinition=o.StructType=o.TypeReference=o.Spread=o.Field=o.EnumType=o.EnumValue=o.ArrayType=o.OptionalType=o.JsonPrimitiveType=o.XmlPrimitiveType=o.Base64PrimitiveType=o.HtmlPrimitiveType=o.HexPrimitiveType=o.UuidPrimitiveType=o.UrlPrimitiveType=o.EmailPrimitiveType=o.CnpjPrimitiveType=o.CpfPrimitiveType=o.MoneyPrimitiveType=o.VoidPrimitiveType=o.BytesPrimitiveType=o.BoolPrimitiveType=o.DateTimePrimitiveType=o.DatePrimitiveType=o.BigIntPrimitiveType=o.FloatPrimitiveType=o.UIntPrimitiveType=o.IntPrimitiveType=o.StringPrimitiveType=o.PrimitiveType=o.HiddenAnnotation=o.RestAnnotation=o.ArgDescriptionAnnotation=o.ThrowsAnnotation=o.DescriptionAnnotation=o.Annotation=o.ErrorNode=o.Type=o.AstNode=void 0;const h=a(9037);class y{constructor(){this.location=new h.TokenLocation,Object.defineProperty(this,"location",{enumerable:!1})}at(Se){return this.location=Se.location,this}atLocation(Se){return this.location=Se,this}}o.AstNode=y;class d extends y{toJSON(){const Se=Object.assign({},this);return n(Se,["name"])}}o.Type=d,o.ErrorNode=class r extends y{constructor(Se,j){super(),this.name=Se,this.dataType=j}};class l extends y{}o.Annotation=l,o.DescriptionAnnotation=class f extends l{constructor(Se){super(),this.text=Se}},o.ThrowsAnnotation=class p extends l{constructor(Se){super(),this.error=Se}},o.ArgDescriptionAnnotation=class m extends l{constructor(Se,j){super(),this.argName=Se,this.text=j}},o.RestAnnotation=class u extends l{constructor(Se,j,ne,Me,Ue,Ke){super(),this.method=Se,this.path=j,this.pathVariables=ne,this.queryVariables=Me,this.headers=Ue,this.bodyVariable=Ke}},o.HiddenAnnotation=class _ extends l{};class v extends d{toJSON(){return this.name}}o.PrimitiveType=v,o.StringPrimitiveType=class b extends v{constructor(){super(...arguments),this.name="string"}},o.IntPrimitiveType=class T extends v{constructor(){super(...arguments),this.name="int"}},o.UIntPrimitiveType=class S extends v{constructor(){super(...arguments),this.name="uint"}},o.FloatPrimitiveType=class P extends v{constructor(){super(...arguments),this.name="float"}},o.BigIntPrimitiveType=class I extends v{constructor(){super(...arguments),this.name="bigint"}},o.DatePrimitiveType=class V extends v{constructor(){super(...arguments),this.name="date"}},o.DateTimePrimitiveType=class J extends v{constructor(){super(...arguments),this.name="datetime"}},o.BoolPrimitiveType=class Z extends v{constructor(){super(...arguments),this.name="bool"}},o.BytesPrimitiveType=class X extends v{constructor(){super(...arguments),this.name="bytes"}},o.VoidPrimitiveType=class U extends v{constructor(){super(...arguments),this.name="void"}},o.MoneyPrimitiveType=class oe extends v{constructor(){super(...arguments),this.name="money"}},o.CpfPrimitiveType=class le extends v{constructor(){super(...arguments),this.name="cpf"}},o.CnpjPrimitiveType=class me extends v{constructor(){super(...arguments),this.name="cnpj"}},o.EmailPrimitiveType=class De extends v{constructor(){super(...arguments),this.name="email"}},o.UrlPrimitiveType=class We extends v{constructor(){super(...arguments),this.name="url"}},o.UuidPrimitiveType=class Q extends v{constructor(){super(...arguments),this.name="uuid"}},o.HexPrimitiveType=class ue extends v{constructor(){super(...arguments),this.name="hex"}},o.HtmlPrimitiveType=class $ extends v{constructor(){super(...arguments),this.name="html"}},o.Base64PrimitiveType=class ce extends v{constructor(){super(...arguments),this.name="base64"}},o.XmlPrimitiveType=class de extends v{constructor(){super(...arguments),this.name="xml"}},o.JsonPrimitiveType=class _e extends v{constructor(){super(...arguments),this.name="json"}},o.OptionalType=class et extends d{constructor(Se){super(),this.base=Se}get name(){return`${this.base.name}?`}},o.ArrayType=class dt extends d{constructor(Se){super(),this.base=Se}get name(){return`${this.base.name}[]`}},o.EnumValue=class it extends y{constructor(Se){super(),this.value=Se,this.annotations=[],this.struct=null}},o.EnumType=class st extends d{constructor(Se){super(),this.values=Se}get hasStructValues(){return this.values.some(Se=>null!==Se.struct)}},o.Field=class Qe extends y{constructor(Se,j,ne=!1){super(),this.name=Se,this.type=j,this.secret=ne,this.annotations=[]}},o.Spread=class ht extends y{constructor(Se){super(),this.typeReference=Se}},o.TypeReference=class xe extends d{constructor(Se){super(),this.name=Se}},o.StructType=class qe extends d{constructor(Se){super(),this.fieldsAndSpreads=Se,this.fields=[]}},o.TypeDefinition=class Le extends y{constructor(Se,j){super(),this.name=Se,this.type=j,this.annotations=[]}},o.FunctionOperation=class Ge extends y{constructor(Se,j,ne){super(),this.name=Se,this.fieldsAndSpreads=j,this.returnType=ne,this.annotations=[],this.args=[]}},o.AstRoot=class pt{constructor(Se=[],j=[],ne=[]){this.typeDefinitions=Se,this.operations=j,this.errors=ne,this.structTypes=[],this.enumTypes=[],this.warnings=[]}}},9747:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.compatibilityIssues=void 0;const n=a(1942);function h(r,l,f,p){var m,u;if(f instanceof n.TypeReference)h(r,l,f.type,p);else if(p instanceof n.TypeReference)h(r,l,f,p.type);else if(f instanceof n.OptionalType||!(p instanceof n.OptionalType))if(f instanceof n.OptionalType&&p instanceof n.OptionalType)h(r,l,f.base,p.base);else{if(f instanceof n.OptionalType&&!(p instanceof n.OptionalType))return l.push(`${r} was optional, but now it isn't. If the client sends a null, it will be invalid. Add the optional annotation back.`),void h(r,l,f.base,p);if(f instanceof n.ArrayType&&p instanceof n.ArrayType)h(r,l,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(`${r}.${v.name}`,l,v.type,_.type);else{if(_.type instanceof n.OptionalType)continue;l.push(`${r}.${_.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(`${r}.${_.value}`,l,null!==(m=_.struct)&&void 0!==m?m:new n.StructType([]),null!==(u=v.struct)&&void 0!==u?u:new n.StructType([])):l.push(`The enum at ${r} used to accept the value "${_.value}" that doesn't exist now. Clients that send it will fail.`)}return}f.constructor.name!==p.constructor.name&&l.push(`${r} was ${f.name} and now it is ${p.name}. They are not compatible.`)}}else h(r,l,f,p.base)}function y(r,l,f,p){var m,u;if(f instanceof n.TypeReference)y(r,l,f.type,p);else if(p instanceof n.TypeReference)y(r,l,f,p.type);else if(!(f instanceof n.OptionalType)||p instanceof n.OptionalType)if(f instanceof n.OptionalType&&p instanceof n.OptionalType)y(r,l,f.base,p.base);else{if(!(f instanceof n.OptionalType)&&p instanceof n.OptionalType)return l.push(`${r} wasn't optional, but now it is. If the client receives a null, it will crash. Remove the optional annotation.`),void y(r,l,f,p.base);if(f instanceof n.ArrayType&&p instanceof n.ArrayType)y(r,l,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(`${r}.${_.name}`,l,_.type,v.type);else{if(_.type instanceof n.OptionalType)continue;l.push(`${r}.${_.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(`${r}.${_.value}`,l,null!==(m=v.struct)&&void 0!==m?m:new n.StructType([]),null!==(u=_.struct)&&void 0!==u?u:new n.StructType([])):l.push(`The enum at ${r} now has the value "${_.value}" that didn't exist before. Client will crash if it receives it`)}return}f.constructor.name!==p.constructor.name&&l.push(`${r} was ${f.name} and now it is ${p.name}. They are not compatible.`)}}else y(r,l,f.base,p)}o.compatibilityIssues=function d(r,l){const f=[];for(const p of r.operations){const m=l.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 r.errors){const m=l.errors.find(u=>u.name===p.name);!m||y(`${p.name}.data`,f,p.dataType,m.dataType)}return f}},6676:function(G,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(d,r,l,f){void 0===f&&(f=l);var p=Object.getOwnPropertyDescriptor(r,l);(!p||("get"in p?!r.__esModule:p.writable||p.configurable))&&(p={enumerable:!0,get:function(){return r[l]}}),Object.defineProperty(d,f,p)}:function(d,r,l,f){void 0===f&&(f=l),d[f]=r[l]}),h=this&&this.__exportStar||function(d,r){for(var l in d)"default"!==l&&!Object.prototype.hasOwnProperty.call(r,l)&&n(r,d,l)};Object.defineProperty(o,"__esModule",{value:!0}),o.jsonToAst=o.astToJson=void 0,h(a(1942),o),h(a(9747),o);var y=a(1557);Object.defineProperty(o,"astToJson",{enumerable:!0,get:function(){return y.astToJson}}),Object.defineProperty(o,"jsonToAst",{enumerable:!0,get:function(){return y.jsonToAst}}),h(a(8053),o),h(a(2701),o),h(a(9037),o)},1557:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.jsonToAst=o.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 r(p){switch(p.type){case"description":return new n.DescriptionAnnotation(p.value);case"throws":return new n.ThrowsAnnotation(p.value);case"rest":{const{method: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}`)}}o.astToJson=function l(p){var m,u,_;const v={},b={};function T(I){return I instanceof n.ArrayType?`${T(I.base)}[]`:I instanceof n.OptionalType?`${T(I.base)}?`:I.name}for(const{name:I,fields:V}of p.structTypes){if(I in b)throw new Error(`Duplicate struct type ${I}`);b[I]={};const J=b[I];for(const Z of V){J[Z.name]=T(Z.type);for(const X of Z.annotations)if(X instanceof n.DescriptionAnnotation){const U=`type.${I}.${Z.name}`;null!==(m=v[U])&&void 0!==m||(v[U]=[]),v[U].push(d(X))}}}for(const{name:I,values:V}of p.enumTypes){if(I in b)throw new Error(`Duplicate enum type ${I}`);b[I]=V.map(J=>J.struct?[J.value,J.struct.name]:J.value)}for(const{name:I,type:V}of p.typeDefinitions)V instanceof n.StructType||V instanceof n.EnumType||(b[I]=T(V));const S={};for(const I of p.operations){const V={};for(const J of I.args){V[J.name]=T(J.type);for(const Z of J.annotations)if(Z instanceof n.DescriptionAnnotation){const X=`fn.${I.name}.${J.name}`;null!==(u=v[X])&&void 0!==u||(v[X]=[]),v[X].push(d(Z))}}S[I.name]={args:V,ret:T(I.returnType)};for(const J of I.annotations){const Z=`fn.${I.name}`;null!==(_=v[Z])&&void 0!==_||(v[Z]=[]),v[Z].push(d(J))}}return{annotations:v,errors:p.errors.map(I=>I.dataType instanceof n.VoidPrimitiveType?I.name:[I.name,I.dataType.name]),functionTable:S,typeTable:b}},o.jsonToAst=function f(p){var m,u;const _=[],v=[],b=[];function T(I,V){var J;if("string"==typeof I){const X=y.primitiveToAstClass.get(I);return X?new X:I.endsWith("?")?new n.OptionalType(T(I.slice(0,I.length-1))):I.endsWith("[]")?new n.ArrayType(T(I.slice(0,I.length-2))):new n.TypeReference(I)}if(Array.isArray(I))return new n.EnumType(I.map(X=>{if(Array.isArray(X)){const[U,oe]=X,le=new n.EnumValue(U);return b.push([le,oe]),le}return new n.EnumValue(X)}));const Z=[];for(const X of Object.keys(I)){const U=new n.Field(X,T(I[X]));if(V){const oe=`type.${V}.${X}`;for(const le of null!==(J=p.annotations[oe])&&void 0!==J?J:[])U.annotations.push(r(le))}Z.push(U)}return new n.StructType(Z)}for(const[I,V]of Object.entries(p.typeTable)){const J=T(V,I);v.push(new n.TypeDefinition(I,J))}for(const[I,V]of Object.entries(p.functionTable)){const J=Object.keys(V.args).map(U=>{var oe;const le=new n.Field(U,T(V.args[U])),me=`fn.${I}.${U}`;for(const De of null!==(oe=p.annotations[me])&&void 0!==oe?oe:[])le.annotations.push(r(De));return le}),Z=new n.FunctionOperation(I,J,T(V.ret)),X=`fn.${I}`;for(const U of null!==(m=p.annotations[X])&&void 0!==m?m:[])Z.annotations.push(r(U));_.push(Z)}for(const[I,V]of b){const J=null===(u=v.find(Z=>Z.name===V))||void 0===u?void 0:u.type;J instanceof n.StructType&&(I.struct=J)}const S=p.errors.map(I=>{if(Array.isArray(I)){const[V,J]=I;return new n.ErrorNode(V,T(J))}return new n.ErrorNode(I,new n.VoidPrimitiveType)}),P=new n.AstRoot(v,_,S);return(0,h.analyse)(P),P}},8053:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.Lexer=o.LexerError=void 0;const n=a(9037);class h extends Error{}o.LexerError=h;class y{constructor(r,l="-"){this.source=r,this.filename=l,this.startPos=0,this.startLine=1,this.startColumn=1,this.pos=0,this.line=1,this.column=1}currentChar(){return this.source[this.pos]||"\0"}nextChar(){return this.column++,this.source[++this.pos]||"\0"}nextToken(){this.startPos=this.pos,this.startLine=this.line,this.startColumn=this.column;let r=null;switch(this.currentChar()){case"\0":return null;case" ":case"\r":case"\t":return this.nextChar(),this.nextToken();case"\n":return this.nextChar(),this.column=1,this.line++,this.nextToken();case"/":switch(this.nextChar()){case"/":for(;;)switch(this.nextChar()){case"\0":return null;case"\n":return this.nextChar(),this.column=1,this.line++,this.nextToken()}case"*":e:for(;;)switch(this.nextChar()){case"\0":break e;case"\n":this.column=0,this.line++;break;case"*":for(;"*"===this.nextChar(););switch(this.currentChar()){case"\0":break e;case"\n":this.column=0,this.line++;break;case"/":return this.nextChar(),this.nextToken()}}}break;case"{":this.nextChar(),r=new n.CurlyOpenSymbolToken;break;case"}":this.nextChar(),r=new n.CurlyCloseSymbolToken;break;case"(":this.nextChar(),r=new n.ParensOpenSymbolToken;break;case")":this.nextChar(),r=new n.ParensCloseSymbolToken;break;case"?":this.nextChar(),r=new n.OptionalSymbolToken;break;case":":this.nextChar(),r=new n.ColonSymbolToken;break;case"=":this.nextChar(),r=new n.EqualSymbolToken;break;case"!":this.nextChar(),r=new n.ExclamationMarkSymbolToken;break;case",":this.nextChar(),r=new n.CommaSymbolToken;break;case"[":"]"===this.nextChar()&&(this.nextChar(),r=new n.ArraySymbolToken);break;case".":"."===this.nextChar()&&"."===this.nextChar()&&(this.nextChar(),r=new n.SpreadSymbolToken);break;case"@":{let l="\\",f=this.startPos+1;for(;"\\"===l[l.length-1];){for(l=l.slice(0,l.length-1).trim();!["\0","\n"].includes(this.nextChar()););l=`${l} ${this.source.substring(f,this.pos).trim()}`.trim(),f=this.pos+1}r=new n.AnnotationToken(l.trim());break}case'"':{const l=[];e:for(;;)switch(this.nextChar()){case"\0":break e;case"\\":switch(this.nextChar()){case"\0":break e;case"n":l.push("\n");break;case"t":l.push("\t");break;default:l.push(this.currentChar())}break;case'"':this.nextChar(),r=new n.StringLiteralToken(l.join(""));break e;default:l.push(this.currentChar())}break}default:if(/[a-zA-Z_]/u.test(this.currentChar())){for(;/[a-zA-Z0-9_]/u.test(this.nextChar()););const l=this.source.substring(this.startPos,this.pos);switch(l){case"error":r=new n.ErrorKeywordToken;break;case"enum":r=new n.EnumKeywordToken;break;case"type":r=new n.TypeKeywordToken;break;case"import":r=new n.ImportKeywordToken;break;case"fn":r=new n.FnKeywordToken;break;case"true":r=new n.TrueKeywordToken;break;case"false":r=new n.FalseKeywordToken;break;default:r=y.PRIMITIVES.has(l)?new n.PrimitiveTypeToken(l):new n.IdentifierToken(l)}}}if(null!==r)return r.location.filename=this.filename,r.location.line=this.startLine,r.location.column=this.startColumn,r;throw"\0"===this.currentChar()?new h(`Unexpected end of file at ${this.filename}`):new h(`Unexpected character ${JSON.stringify(this.currentChar())} at ${this.filename}:${this.line}:${this.column}`)}}o.Lexer=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,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.Parser=o.ParserError=void 0;const n=a(1942),h=a(8053),y=a(7145),d=a(6758),r=a(9037),l=a(6569);class f extends Error{}o.ParserError=f,o.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 r.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===r.IdentifierToken){const _=this.token.maybeAsIdentifier();if(_ instanceof r.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(r.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 r.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(r.TypeKeywordToken);this.nextToken();const _=this.expect(r.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(r.ErrorKeywordToken);this.nextToken();const _=this.expect(r.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 r.CurlyOpenSymbolToken||this.token instanceof r.EnumKeywordToken||this.token instanceof r.IdentifierToken||this.token instanceof r.PrimitiveTypeToken)&&(b=this.parseType()),new n.ErrorNode(v,b).at(u)}parseOperation(){let{annotations:u}=this;this.annotations=[],this.expect(r.FnKeywordToken),this.nextToken();const _=this.expect(r.IdentifierToken).value;this.nextToken(),this.expect(r.ParensOpenSymbolToken),this.nextToken();const v=new Set,b=[];let S,T=!1;for(;!T;)this.acceptAnnotations(),this.multiExpect({ParensCloseSymbolToken:V=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),T=!0,S=V},IdentifierToken:()=>{const V=this.parseField();if(v.has(V.name))throw new f(`Cannot redeclare argument '${V.name}'`);v.add(V.name),b.push(V),this.multiExpect({ParensCloseSymbolToken:J=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),T=!0,S=J},CommaSymbolToken:()=>this.nextToken()})},SpreadSymbolToken:()=>{this.checkCannotHaveAnnotationsHere(),this.nextToken();const V=this.expect(r.IdentifierToken);if(this.nextToken(),!/[A-Z]/u.test(V.value[0]))throw new f(`Expected a type but found ${JSON.stringify(V.value)} at ${V.location}`);b.push(new n.Spread(new n.TypeReference(V.value).at(V)).at(V)),this.multiExpect({ParensCloseSymbolToken:J=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),T=!0,S=J},CommaSymbolToken:()=>this.nextToken()})}});for(const V of u)if(V instanceof n.ArgDescriptionAnnotation){const J=b.find(Z=>Z instanceof n.Field&&Z.name===V.argName);if(!J)throw new f(`Argument '${V.argName}' not found, at ${V.location}`);J.annotations.push(new n.DescriptionAnnotation(V.text).atLocation(V.location))}u=u.filter(V=>!(V instanceof n.ArgDescriptionAnnotation));let P=(new n.VoidPrimitiveType).at(S);this.token instanceof r.ColonSymbolToken&&(this.nextToken(),P=this.parseType());const I=new n.FunctionOperation(_,b,P);return I.annotations=u,I}parseEnum(){this.checkCannotHaveAnnotationsHere();const u=this.expect(r.EnumKeywordToken);this.nextToken(),this.expect(r.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 r.ParensOpenSymbolToken))return;this.nextToken();const S=new Set,P=[];for(;this.token&&this.token.maybeAsIdentifier()instanceof r.IdentifierToken;){const I=this.parseField();if("tag"===I.name&&(I.name="_tag"),S.has(I.name))throw new f(`Cannot redeclare argument '${I.name}'`);if(S.add(I.name),P.push(I),!(this.token instanceof r.CommaSymbolToken))break;this.nextToken()}T.struct=new n.StructType(P).atLocation(T.location),this.expect(r.ParensCloseSymbolToken),this.nextToken()}});return _}parseField(){const u=this.expect(r.IdentifierToken);this.nextToken(),this.expect(r.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 r.ExclamationMarkSymbolToken;){if("secret"!==(this.nextToken(),this.expect(r.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(r.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(r.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=l.primitiveToAstClass.get(_.value);if(v)return(new v).at(_);throw new f(`BUG! Should handle primitive ${_.value}`)}});for(;this.token instanceof r.ArraySymbolToken||this.token instanceof r.OptionalSymbolToken;)this.multiExpect({ArraySymbolToken:_=>u=new n.ArrayType(u).at(_),OptionalSymbolToken:_=>u=new n.OptionalType(u).at(_)}),this.nextToken();return u}}},7145:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.parseRestAnnotation=void 0;const n=a(1942);function d(l){var f;const p=/\{(?<name>\w+)\}/gu,m=[];let u;for(;null!==(u=p.exec(l));)(null===(f=u.groups)||void 0===f?void 0:f.name)&&m.push(u.groups.name);return m}o.parseRestAnnotation=function r(l){const f=l.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,...P]=m.split("?");m=S;const I=P.join("?");if(!/^\{\w+\}(?:&\{\w+\})*$/u.test(I))throw new Error("Invalid querystring on path");u=d(I)}const _=d(m),v=f.slice(2).join(" "),b=function h(l){var f;const p=/\[header (?<header>[^()<>@,;:\\"/[\]?={}\s\t]+): \{(?<name>\w+)\}\]/gu,m=new Map;let u;for(;null!==(u=p.exec(l));)(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(l){var f;const p=/\[body \{(?<name>\w+)\}\]/u.exec(l);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,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.CheckMultipleDeclarationVisitor=void 0;const n=a(1942),h=a(3154);o.CheckMultipleDeclarationVisitor=class y extends h.Visitor{constructor(){super(...arguments),this.nameToType=new Map}visit(r){if(r instanceof n.TypeDefinition){const l=this.nameToType.get(r.name);if(l&&JSON.stringify(l)!==JSON.stringify(r.type))throw new h.SemanticError(`Type '${r.name}' at ${r.location} is defined multiple times (also at ${l.location})`);this.nameToType.set(r.name,r.type)}super.visit(r)}}},6153:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.GiveStructAndEnumNamesTransformer=void 0;const n=a(1942),h=a(9989),y=a(3154);o.GiveStructAndEnumNamesTransformer=class d extends h.Transformer{constructor(){super(...arguments),this.path=[],this.names=new Map}transform(l){if(l instanceof n.TypeDefinition)return this.path=[l.name],super.transform(l);if(l instanceof n.ErrorNode)return this.path=[`${l.name}Data`],super.transform(l);if(l instanceof n.FunctionOperation)return this.path=[l.name],super.transform(l);if(l instanceof n.Field)try{return this.path.push(l.name),super.transform(l)}finally{this.path.pop()}else{if(!(l instanceof n.EnumValue)){if(l instanceof n.StructType||l instanceof n.EnumType){l.name=this.path.map(p=>p[0].toUpperCase()+p.slice(1)).join("");const f=this.names.get(l.name);if(f){if(f.type.constructor!==l.constructor||JSON.stringify(f.type)!==JSON.stringify(l))throw new y.SemanticError(`The name of the type '${this.path.join(".")}' at ${l.location} will conflict with '${f.path.join(".")}' at ${f.type.location}`);return f.type}return this.names.set(l.name,{path:[...this.path],type:l}),super.transform(l)}return super.transform(l)}try{return this.path.push(l.value),super.transform(l)}finally{this.path.pop()}}}}},9471:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.MatchTypeDefinitionsVisitor=void 0;const n=a(1942),h=a(3154);o.MatchTypeDefinitionsVisitor=class y extends h.Visitor{visit(r){if(r instanceof n.TypeReference){const l=this.root.typeDefinitions.find(f=>f.name===r.name);if(void 0===l)throw new h.SemanticError(`Could not find type '${r.name}' at ${r.location}`);r.type=l.type}super.visit(r)}}},4612:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.CheckDontReturnSecretVisitor=void 0;const n=a(1942),h=a(3154);o.CheckDontReturnSecretVisitor=class y extends h.Visitor{constructor(){super(...arguments),this.isInReturn=!1,this.path=[],this.visited=new Set}visit(r){if(!this.visited.has(r))if(this.visited.add(r),r instanceof n.FunctionOperation)this.isInReturn=!0,this.visited.clear(),this.path.push(`${r.name}(...)`),this.visit(r.returnType),this.path.pop(),this.isInReturn=!1;else if(r instanceof n.TypeReference)this.visit(r.type);else if(r instanceof n.Field){if(this.path.push(r.name),this.isInReturn&&r.secret)throw new h.SemanticError(`Can't return a secret value at ${this.path.join(".")} at ${r.location}`);super.visit(r),this.path.pop()}else super.visit(r)}}},4978:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ExpandSpreadsVisitor=void 0;const n=a(1942),h=a(3154);o.ExpandSpreadsVisitor=class y extends h.Visitor{constructor(){super(...arguments),this.processed=new Set}expandSpread(r,l){const f=new Map;for(const p of l){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);_?r[_]=u:(f.set(u.name,r.length),r.push(u))}}}visit(r){if(r instanceof n.StructType){if(this.processed.has(r))return;this.processed.add(r)}super.visit(r),r instanceof n.StructType?(this.expandSpread(r.fields,r.fieldsAndSpreads),r.fieldsAndSpreads=[]):r instanceof n.FunctionOperation&&(this.expandSpread(r.args,r.fieldsAndSpreads),r.fieldsAndSpreads=[])}}},9866:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.CheckEmptyStructOrEnumVisitor=void 0;const n=a(1942),h=a(3154);o.CheckEmptyStructOrEnumVisitor=class y extends h.Visitor{visit(r){if(super.visit(r),r instanceof n.EnumType&&0===r.values.length)throw new h.SemanticError(`Enum '${r.name}' at ${r.location} is empty`);if(r instanceof n.StructType&&0===r.fields.length)throw new h.SemanticError(`Struct '${r.name}' at ${r.location} is empty`)}}},4647:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ValidateRecursiveTypes=void 0;const n=a(1942),h=a(3154);o.ValidateRecursiveTypes=class y extends h.Visitor{visit(r){if(super.visit(r),r instanceof n.TypeDefinition&&this.isRecursiveType(r,r.type)){if(!(r.type instanceof n.StructType||r.type instanceof n.EnumType))throw new h.SemanticError(`Type '${r.name}' at ${r.location} is recursive but is not an struct`);if(this.isInfinitelyRecursiveType(r,r.type))throw new h.SemanticError(`Type '${r.name}' at ${r.location} is infinitely recursive`)}}isRecursiveType(r,l){return l instanceof n.TypeReference?r.name===l.name:l instanceof n.ArrayType||l instanceof n.OptionalType?this.isRecursiveType(r,l.base):l instanceof n.StructType?l.fields.some(f=>this.isRecursiveType(r,f.type)):l instanceof n.EnumType&&l.values.some(f=>f.struct&&this.isRecursiveType(r,f.struct))}isInfinitelyRecursiveType(r,l){return l instanceof n.TypeReference?l.name===r.name:l instanceof n.StructType?l.fields.some(f=>this.isInfinitelyRecursiveType(r,f.type)):l instanceof n.EnumType&&l.values.every(f=>f.struct&&this.isInfinitelyRecursiveType(r,f.struct))}}},2060:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.CollectStructAndEnumTypesVisitor=void 0;const n=a(1942),h=a(3154);o.CollectStructAndEnumTypesVisitor=class y extends h.Visitor{constructor(){super(...arguments),this.visited=new Set}visit(r){super.visit(r),!this.visited.has(r)&&(this.visited.add(r),r instanceof n.StructType?this.root.structTypes.push(r):r instanceof n.EnumType&&this.root.enumTypes.push(r))}}},4212:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ValidateAnnotationsVisitor=void 0;const n=a(1942),h=a(3154);function d(l){return l instanceof n.TypeReference?d(l.type):l}o.ValidateAnnotationsVisitor=class r 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(!((l=d(_.type instanceof n.OptionalType?_.type.base:_.type))instanceof n.BoolPrimitiveType||l instanceof n.IntPrimitiveType||l instanceof n.UIntPrimitiveType||l instanceof n.BigIntPrimitiveType||l instanceof n.FloatPrimitiveType||l instanceof n.StringPrimitiveType||l instanceof n.DatePrimitiveType||l instanceof n.DateTimePrimitiveType||l instanceof n.MoneyPrimitiveType||l instanceof n.CpfPrimitiveType||l instanceof n.CnpjPrimitiveType||l instanceof n.UuidPrimitiveType||l instanceof n.HexPrimitiveType||l instanceof n.Base64PrimitiveType||l 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 l}}},6758:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.analyse=void 0;const n=a(1942),h=a(7629),y=a(6153),d=a(9471),r=a(4612),l=a(4978),f=a(9866),p=a(4647),m=a(2060),u=a(4212);o.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.GiveStructAndEnumNamesTransformer(v).process(),new d.MatchTypeDefinitionsVisitor(v).process(),new r.CheckDontReturnSecretVisitor(v).process(),new l.ExpandSpreadsVisitor(v).process(),new f.CheckEmptyStructOrEnumVisitor(v).process(),new p.ValidateRecursiveTypes(v).process(),new m.CollectStructAndEnumTypesVisitor(v).process(),new u.ValidateAnnotationsVisitor(v).process()}},9989:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.Transformer=o.SemanticError=void 0;const n=a(1942);class h extends Error{}o.SemanticError=h,o.Transformer=class y{constructor(r){this.root=r}process(){this.root.errors=this.root.errors.map(r=>this.transform(r)),this.root.typeDefinitions=this.root.typeDefinitions.map(r=>this.transform(r)),this.root.operations=this.root.operations.map(r=>this.transform(r))}transform(r){return r instanceof n.FunctionOperation?(r.args=r.args.map(l=>this.transform(l)),r.fieldsAndSpreads=r.fieldsAndSpreads.map(l=>this.transform(l)),r.returnType=this.transform(r.returnType)):r instanceof n.Field||r instanceof n.TypeDefinition?r.type=this.transform(r.type):r instanceof n.StructType?(r.fields=r.fields.map(l=>this.transform(l)),r.fieldsAndSpreads=r.fieldsAndSpreads.map(l=>this.transform(l))):r instanceof n.EnumType?r.values=r.values.map(l=>this.transform(l)):r instanceof n.EnumValue?r.struct&&(r.struct=this.transform(r.struct)):r instanceof n.ArrayType||r instanceof n.OptionalType?r.base=this.transform(r.base):r instanceof n.ErrorNode?r.dataType=this.transform(r.dataType):r instanceof n.Spread&&(r.typeReference=this.transform(r.typeReference)),r}}},3154:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.Visitor=o.SemanticError=void 0;const n=a(1942);class h extends Error{}o.SemanticError=h,o.Visitor=class y{constructor(r){this.root=r}process(){for(const r of this.root.errors)this.visit(r);for(const r of this.root.typeDefinitions)this.visit(r);for(const r of this.root.operations)this.visit(r)}visit(r){if(r instanceof n.FunctionOperation){for(const l of r.args)this.visit(l);for(const l of r.fieldsAndSpreads)this.visit(l);this.visit(r.returnType)}else if(r instanceof n.Field||r instanceof n.TypeDefinition)this.visit(r.type);else if(r instanceof n.StructType){for(const l of r.fields)this.visit(l);for(const l of r.fieldsAndSpreads)this.visit(l)}else if(r instanceof n.EnumType)for(const l of r.values)this.visit(l);else r instanceof n.EnumValue?r.struct&&this.visit(r.struct):r instanceof n.ArrayType||r instanceof n.OptionalType?this.visit(r.base):r instanceof n.ErrorNode?this.visit(r.dataType):r instanceof n.Spread&&this.visit(r.typeReference)}}},9037:(G,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.PrimitiveTypeToken=o.FalseKeywordToken=o.TrueKeywordToken=o.ErrorKeywordToken=o.FnKeywordToken=o.EnumKeywordToken=o.TypeKeywordToken=o.ImportKeywordToken=o.AnnotationToken=o.SpreadSymbolToken=o.CommaSymbolToken=o.ArraySymbolToken=o.OptionalSymbolToken=o.ColonSymbolToken=o.ParensCloseSymbolToken=o.ParensOpenSymbolToken=o.CurlyCloseSymbolToken=o.CurlyOpenSymbolToken=o.ExclamationMarkSymbolToken=o.EqualSymbolToken=o.StringLiteralToken=o.IdentifierToken=o.Token=o.TokenLocation=void 0;class a{constructor(){this.filename="?",this.line=0,this.column=0}toString(){return`${this.filename}:${this.line}:${this.column}`}}o.TokenLocation=a;class n{constructor(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)})`}}o.Token=n;class h extends n{}o.IdentifierToken=h,o.StringLiteralToken=class y extends n{},o.EqualSymbolToken=class d extends n{},o.ExclamationMarkSymbolToken=class r extends n{},o.CurlyOpenSymbolToken=class l extends n{},o.CurlyCloseSymbolToken=class f extends n{},o.ParensOpenSymbolToken=class p extends n{},o.ParensCloseSymbolToken=class m extends n{},o.ColonSymbolToken=class u extends n{},o.OptionalSymbolToken=class _ extends n{},o.ArraySymbolToken=class v extends n{},o.CommaSymbolToken=class b extends n{},o.SpreadSymbolToken=class T extends n{},o.AnnotationToken=class S extends n{},o.ImportKeywordToken=class P extends n{maybeAsIdentifier(){return new h("import")}},o.TypeKeywordToken=class I extends n{maybeAsIdentifier(){return new h("type")}},o.EnumKeywordToken=class V extends n{maybeAsIdentifier(){return new h("enum")}},o.FnKeywordToken=class J extends n{maybeAsIdentifier(){return new h("fn")}},o.ErrorKeywordToken=class Z extends n{maybeAsIdentifier(){return new h("error")}},o.TrueKeywordToken=class X extends n{maybeAsIdentifier(){return new h("true")}},o.FalseKeywordToken=class U extends n{maybeAsIdentifier(){return new h("false")}},o.PrimitiveTypeToken=class oe extends n{maybeAsIdentifier(){return new h(this.value)}}},6569:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.primitiveToAstClass=void 0;const n=a(1942);o.primitiveToAstClass=new Map,o.primitiveToAstClass.set("string",n.StringPrimitiveType),o.primitiveToAstClass.set("int",n.IntPrimitiveType),o.primitiveToAstClass.set("uint",n.UIntPrimitiveType),o.primitiveToAstClass.set("date",n.DatePrimitiveType),o.primitiveToAstClass.set("datetime",n.DateTimePrimitiveType),o.primitiveToAstClass.set("float",n.FloatPrimitiveType),o.primitiveToAstClass.set("bigint",n.BigIntPrimitiveType),o.primitiveToAstClass.set("bool",n.BoolPrimitiveType),o.primitiveToAstClass.set("bytes",n.BytesPrimitiveType),o.primitiveToAstClass.set("money",n.MoneyPrimitiveType),o.primitiveToAstClass.set("cpf",n.CpfPrimitiveType),o.primitiveToAstClass.set("cnpj",n.CnpjPrimitiveType),o.primitiveToAstClass.set("email",n.EmailPrimitiveType),o.primitiveToAstClass.set("html",n.HtmlPrimitiveType),o.primitiveToAstClass.set("url",n.UrlPrimitiveType),o.primitiveToAstClass.set("uuid",n.UuidPrimitiveType),o.primitiveToAstClass.set("hex",n.HexPrimitiveType),o.primitiveToAstClass.set("base64",n.Base64PrimitiveType),o.primitiveToAstClass.set("xml",n.XmlPrimitiveType),o.primitiveToAstClass.set("json",n.JsonPrimitiveType),o.primitiveToAstClass.set("void",n.VoidPrimitiveType)},5041:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.AppComponent=void 0;const n=a(655),h=a(3075),y=a(7179),d=a(1823),r=a(2863),l=a(7402),f=a(7295),p=a(2911),m=a(4327),u=n.__importStar(a(5e3)),_=n.__importStar(a(6395)),v=n.__importStar(a(2313)),b=n.__importStar(a(3293)),T=n.__importStar(a(107)),S=n.__importStar(a(2253)),P=n.__importStar(a(9808)),I=n.__importStar(a(3251)),V=n.__importStar(a(5585)),J=n.__importStar(a(7423)),Z=n.__importStar(a(7238)),X=n.__importStar(a(4264)),U=n.__importStar(a(7822)),oe=n.__importStar(a(5010));function le(et,dt){1&et&&(u.\u0275\u0275elementContainerStart(0),u.\u0275\u0275text(1,"Editor Avan\xe7ado"),u.\u0275\u0275elementContainerEnd())}function me(et,dt){if(1&et&&(u.\u0275\u0275elementContainerStart(0),u.\u0275\u0275elementStart(1,"span",20),u.\u0275\u0275text(2),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementContainerEnd()),2&et){const it=u.\u0275\u0275nextContext(2).$implicit;u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate1("\u25b6\xa0",it.function,"")}}function De(et,dt){if(1&et){const it=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"span",17),u.\u0275\u0275template(1,le,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(it);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&et){const it=u.\u0275\u0275nextContext().$implicit;u.\u0275\u0275property("ngSwitch",it.type),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngSwitchCase","advanced"),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngSwitchCase","simple")}}function We(et,dt){1&et&&(u.\u0275\u0275elementContainerStart(0),u.\u0275\u0275element(1,"app-tab-editor"),u.\u0275\u0275elementContainerEnd())}function Q(et,dt){if(1&et&&(u.\u0275\u0275elementContainerStart(0),u.\u0275\u0275element(1,"app-simple-call",21),u.\u0275\u0275elementContainerEnd()),2&et){const it=u.\u0275\u0275nextContext().$implicit;u.\u0275\u0275advance(1),u.\u0275\u0275property("fn",it.function)}}function ue(et,dt){if(1&et&&(u.\u0275\u0275elementStart(0,"mat-tab"),u.\u0275\u0275template(1,De,6,3,"ng-template",16),u.\u0275\u0275elementContainerStart(2,17),u.\u0275\u0275template(3,We,2,0,"ng-container",18),u.\u0275\u0275template(4,Q,2,1,"ng-container",18),u.\u0275\u0275elementContainerEnd(),u.\u0275\u0275elementEnd()),2&et){const it=dt.$implicit;u.\u0275\u0275advance(2),u.\u0275\u0275property("ngSwitch",it.type),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngSwitchCase","advanced"),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngSwitchCase","simple")}}function $(et,dt){if(1&et){const it=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"button",22),u.\u0275\u0275listener("click",function(){return u.\u0275\u0275restoreView(it),u.\u0275\u0275nextContext(2).addAdvancedTab()}),u.\u0275\u0275elementStart(1,"mat-icon"),u.\u0275\u0275text(2,"add_circle"),u.\u0275\u0275elementEnd()()}}function ce(et,dt){if(1&et&&(u.\u0275\u0275elementStart(0,"button",23)(1,"mat-icon"),u.\u0275\u0275text(2,"download"),u.\u0275\u0275elementEnd()()),2&et){u.\u0275\u0275nextContext(2);const it=u.\u0275\u0275reference(5);u.\u0275\u0275property("matMenuTriggerFor",it)}}function de(et,dt){if(1&et){const it=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"mat-tab-group",11),u.\u0275\u0275listener("selectedIndexChange",function(Qe){return u.\u0275\u0275restoreView(it),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(it),u.\u0275\u0275nextContext().addSimpleTab(Qe)}),u.\u0275\u0275elementEnd()(),u.\u0275\u0275template(3,ue,5,3,"mat-tab",14),u.\u0275\u0275elementStart(4,"mat-tab",15),u.\u0275\u0275template(5,$,3,0,"ng-template",16),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(6,"mat-tab",15),u.\u0275\u0275template(7,ce,3,1,"ng-template",16),u.\u0275\u0275elementEnd()()}if(2&et){const it=u.\u0275\u0275nextContext();u.\u0275\u0275property("selectedIndex",it.selected.value),u.\u0275\u0275advance(3),u.\u0275\u0275property("ngForOf",it.tabs)}}class _e{constructor(dt,it,st){this.sdkgen=dt,this.domSanitizer=it,this.matIconRegistry=st,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(dt=>{this.state=null!=dt?dt:void 0})}ngOnDestroy(){var dt;null===(dt=this.state$)||void 0===dt||dt.unsubscribe()}addSimpleTab(dt){this.tabs.push({id:this.tabIndex++,function:dt,type:"simple"}),this.selected.setValue(this.tabs.length)}addAdvancedTab(){this.tabs.push({id:this.tabIndex++,type:"advanced"}),this.selected.setValue(this.tabs.length)}closeTab(dt){this.tabs.splice(this.tabs.indexOf(dt),1),this.selected.setValue(0)}downloadTarget(dt){if(!this.state)return;let it,st;switch(dt){case"typescript_nodeserver":it=(0,p.generateNodeServerSource)(this.state.astRoot),st="node-server.ts";break;case"typescript_nodeclient":it=(0,p.generateNodeClientSource)(this.state.astRoot),st="node-client.ts";break;case"typescript_web":it=(0,p.generateBrowserClientSource)(this.state.astRoot),st="web-client.ts";break;case"typescript_interfaces":it=(0,p.generateTypescriptInterfaces)(this.state.astRoot),st="interfaces.ts";break;case"flutter":it=(0,d.generateDartClientSource)(this.state.astRoot),st="flutter-client.dart";break;case"csharp_server":it=(0,y.generateCSharpServerSource)(this.state.astRoot),st="csharp-server.cs";break;case"fsharp_server":it=(0,r.generateFSharpServerSource)(this.state.astRoot),st="fsharp-server.fs";break;case"kotlin_android":it=(0,l.generateAndroidClientSource)(this.state.astRoot,!0),st="android-client.kt";break;case"kotlin_android_without_callbacks":it=(0,l.generateAndroidClientSource)(this.state.astRoot,!1),st="android-client-no-callbacks.kt";break;case"swift_ios":it=(0,f.generateSwiftClientSource)(this.state.astRoot,!1),st="ios-client.swift";break;case"rxswift_ios":it=(0,f.generateSwiftClientSource)(this.state.astRoot,!0),st="ios-client-rx.swift"}(0,m.saveAs)(new Blob([it],{type:"application/octet-stream"}),st)}}o.AppComponent=_e,_e.\u0275fac=function(dt){return new(dt||_e)(u.\u0275\u0275directiveInject(_.SdkgenService),u.\u0275\u0275directiveInject(v.DomSanitizer),u.\u0275\u0275directiveInject(b.MatIconRegistry))},_e.\u0275cmp=u.\u0275\u0275defineComponent({type:_e,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(dt,it){1&dt&&(u.\u0275\u0275element(0,"ngx-monaco-editor",0)(1,"app-tab-nav"),u.\u0275\u0275template(2,de,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 it.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 it.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 it.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 it.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 it.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 it.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 it.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 it.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 it.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 it.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 it.downloadTarget("typescript_interfaces")}),u.\u0275\u0275element(44,"mat-icon",6),u.\u0275\u0275text(45,"Interfaces"),u.\u0275\u0275elementEnd()()),2&dt&&(u.\u0275\u0275advance(2),u.\u0275\u0275property("ngIf",u.\u0275\u0275pipeBind1(3,1,it.sdkgen.state$)))},directives:[T.MonacoEditorComponent,S.TabNavComponent,P.NgIf,I.MatTabGroup,I.MatTab,V.TabHomeComponent,P.NgForOf,I.MatTabLabel,P.NgSwitch,P.NgSwitchCase,J.MatButton,Z.MatTooltip,b.MatIcon,X.TabEditorComponent,U.SimpleCallComponent,oe.MatMenuTrigger,oe.MatMenu,oe.MatMenuItem],pipes:[P.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,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.AppModule=void 0;const n=a(655),h=a(6529),y=a(3075),d=a(7423),r=a(9417),l=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),P=a(1430),I=a(5109),V=a(2290),J=a(5041),Z=n.__importStar(a(5e3));n.__importStar(a(2290));class U{}o.AppModule=U,U.\u0275fac=function(le){return new(le||U)},U.\u0275mod=Z.\u0275\u0275defineNgModule({type:U,bootstrap:[J.AppComponent]}),U.\u0275inj=Z.\u0275\u0275defineInjector({providers:[{provide:S.MONACO_PATH,useValue:"assets/vs"}],imports:[[b.BrowserModule,y.FormsModule,y.ReactiveFormsModule,S.MonacoEditorModule,T.BrowserAnimationsModule,I.NgxJsonViewerModule,V.ToastrModule.forRoot(),P.AngularSplitModule,h.HttpClientModule,d.MatButtonModule,r.MatChipsModule,f.MatDialogModule,p.MatIconModule,m.MatMenuModule,l.MatRippleModule,u.MatTableModule,_.MatTabsModule,v.MatTooltipModule]]})},8495:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ConsoleComponent=void 0;const n=a(655),h=a(9972),y=n.__importStar(a(5e3)),d=n.__importStar(a(7423)),r=n.__importStar(a(3293)),l=n.__importStar(a(9808)),f=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 P=y.\u0275\u0275nextContext().$implicit;y.\u0275\u0275property("json",P.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 P=S.$implicit,I=y.\u0275\u0275nextContext();y.\u0275\u0275property("ngClass",P.type),y.\u0275\u0275advance(1),y.\u0275\u0275property("ngSwitch",P.type)("ngClass",P.type),y.\u0275\u0275advance(1),y.\u0275\u0275property("ngSwitchCase",I.itemTypes.INFO),y.\u0275\u0275advance(1),y.\u0275\u0275property("ngSwitchCase",I.itemTypes.ERROR),y.\u0275\u0275advance(1),y.\u0275\u0275property("ngSwitchCase",I.itemTypes.NETWORK),y.\u0275\u0275advance(2),y.\u0275\u0275textInterpolate(P.message),y.\u0275\u0275advance(1),y.\u0275\u0275property("ngIf",P.details)}}class b{constructor(){this.itemTypes=h.ConsoleItemType,this.items=[]}}o.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,P){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 P.items.splice(0,P.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",P.items))},directives:[d.MatButton,r.MatIcon,l.NgForOf,l.NgClass,l.NgSwitch,l.NgSwitchCase,l.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,o)=>{"use strict";var n;Object.defineProperty(o,"__esModule",{value:!0}),o.ConsoleItemType=void 0,(n=o.ConsoleItemType||(o.ConsoleItemType={})).INFO="info",n.ERROR="error",n.NETWORK="network"},4814:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.DialogAboutComponent=void 0;const n=a(655),h=a(4147),y=n.__importStar(a(5e3)),d=n.__importStar(a(2339)),r=n.__importStar(a(9417)),l=n.__importStar(a(7423)),f=n.__importStar(a(3293));class p{constructor(){this.version=h.version}}o.DialogAboutComponent=p,p.\u0275fac=function(u){return new(u||p)},p.\u0275cmp=y.\u0275\u0275defineComponent({type:p,selectors:[["app-dialog-about"]],decls:20,vars:3,consts:[["mat-dialog-title",""],[3,"selectable"],[3,"disableRipple"],["mat-icon-button","","mat-dialog-close","","tabindex","-1"],["href","https://sdkgen.github.io/","rel","external noreferer","target","_blank","mat-stroked-button",""],["href","https://github.com/sdkgen/sdkgen","rel","external noreferer","target","_blank","mat-stroked-button",""],["href","https://github.com/sdkgen/sdkgen/issues/new","rel","external noreferer","target","_blank","mat-stroked-button",""]],template:function(u,_){1&u&&(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,"p"),y.\u0275\u0275text(13,"Feito com \u2764\ufe0f no Brasil \u{1f1e7}\u{1f1f7}"),y.\u0275\u0275elementEnd(),y.\u0275\u0275elementStart(14,"a",4),y.\u0275\u0275text(15,"Documenta\xe7\xe3o"),y.\u0275\u0275elementEnd(),y.\u0275\u0275elementStart(16,"a",5),y.\u0275\u0275text(17,"C\xf3digo-fonte"),y.\u0275\u0275elementEnd(),y.\u0275\u0275elementStart(18,"a",6),y.\u0275\u0275text(19,"Reportar um problema"),y.\u0275\u0275elementEnd()),2&u&&(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(_.version))},directives:[d.MatDialogTitle,r.MatChipList,r.MatChip,l.MatButton,d.MatDialogClose,f.MatIcon,l.MatAnchor],styles:["header[_ngcontent-%COMP%]{display:flex;border-bottom:1px solid rgba(255,255,255,.2);padding-bottom:5px}header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], header[_ngcontent-%COMP%] button[_ngcontent-%COMP%], header[_ngcontent-%COMP%] mat-chip-list[_ngcontent-%COMP%]{display:inline;align-self:center}header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{display:flex;margin:0 10px 0 0}header[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:20px}a[_ngcontent-%COMP%]:not(:last-child){margin-right:12px}"]})},4211:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.FilterPipe=void 0;const h=a(655).__importStar(a(5e3));class y{transform(r,l){if(!r)return[];if(!l)return r;const f=l.toLocaleLowerCase();return r.filter(p=>JSON.stringify(p).toLocaleLowerCase().includes(f))}}o.FilterPipe=y,y.\u0275fac=function(r){return new(r||y)},y.\u0275pipe=h.\u0275\u0275definePipe({name:"appFilter",type:y,pure:!0})},7120:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ResponsiveService=void 0;const n=a(655),h=n.__importStar(a(5e3)),y=n.__importStar(a(5113));class d{constructor(l){this.observer=l}isBelowSm(){return this.observer.observe(["(max-width: 575px)"])}isBelowMd(){return this.observer.observe(["(max-width: 767px)"])}isBelowLg(){return this.observer.observe(["(max-width: 991px)"])}isBelowXl(){return this.observer.observe(["(max-width: 1199px)"])}}o.ResponsiveService=d,d.\u0275fac=function(l){return new(l||d)(h.\u0275\u0275inject(y.BreakpointObserver))},d.\u0275prov=h.\u0275\u0275defineInjectable({token:d,factory:d.\u0275fac,providedIn:"root"})},9435:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.getTypeDoc=o.getTypeLabels=o.getConstructorName=o.primitiveTypesExamples=o.primitiveTypes=void 0;const n=a(6676),h=a(6395);function y(l){switch(l.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 l.constructor.name}}o.primitiveTypes={StringPrimitiveType:"Um texto livre, potencialmente de m\xfaltiplas linhas, codificado como UTF-8.",IntPrimitiveType:"Um n\xfamero inteiro de 32 bits, no intervalo de -2147483648 at\xe9 2147483647.",UIntPrimitiveType:"Um n\xfamero inteiro n\xe3o negativo, no intervalo de 0 at\xe9 4294967295.",FloatPrimitiveType:"Um n\xfamero de ponto flutuante de 64 bits, similar ao double do C.",BigIntPrimitiveType:"Um n\xfamero inteiro sem limite de precis\xe3o. Na maioria das plataformas este tipo \xe9 mais custoso.",MoneyPrimitiveType:"Um n\xfamero inteiro com precis\xe3o estendida, mas perform\xe1tico. Est\xe1 no intervalo de -9007199254740991 a 9007199254740991. \xdatil para opera\xe7\xf5es financeiras",DatePrimitiveType:"Representa conceitualmente uma data do calend\xe1rio Gregoriano. Essa mesma data pode representar diferentes momento no tempo a depender da timezone. Para especificar um ponto no tempo utilize datetime.",DateTimePrimitiveType:"Representa um instante no tempo com precis\xe3o de milissegundos. Este instante ser\xe1 sempre traduzido para o fuso hor\xe1rio local do recebedor da mensagem.",BoolPrimitiveType:"Ou true ou false.",VoidPrimitiveType:"Tipo vazio, sem conte\xfado.",CpfPrimitiveType:"Similar a uma string, mas contendo um CPF v\xe1lido.",CnpjPrimitiveType:"Similar a uma string, mas contendo um CNPJ v\xe1lido.",EmailPrimitiveType:"Similar a uma string, mas contendo um e-mail v\xe1lido.",UrlPrimitiveType:"Similar a uma string, mas contendo uma URL v\xe1lida.",UuidPrimitiveType:"Similar a uma string, mas contendo um UUID v\xe1lido.",HexPrimitiveType:"Similar a uma string, mas contendo uma quantidade par de caracteres hexadecimais, \xfatil para representar bytes.",HtmlPrimitiveType:"Similar a uma string, mas contendo um HTML v\xe1lido.",BytesPrimitiveType:"Uma sequ\xeancia arbitr\xe1ria de bytes de qualquer comprimento. Pode ser utilizado para tr\xe1fego de dados bin\xe1rios.",Base64PrimitiveType:"Similar a uma string, mas necessariamente com uma codifica\xe7\xe3o Base 64 v\xe1lida.",XmlPrimitiveType:"Similar a uma string, mas contendo um XML v\xe1lido.",JsonPrimitiveType:"Um valor JSON qualquer, incluindo objetos, arrays, strings, n\xfameros e boleanos, em qualquer profundidade. Note que embora null possa aparecer dentro de um objeto ou array, o valor deste campo n\xe3o pode ser null diretamente. Para isso utilize json?."},o.primitiveTypesExamples={StringPrimitiveType:["","lorem ipsum","strings podem conter caracteres especiais \u{1f609}"],IntPrimitiveType:["0","6725082065","-3096576054"],UIntPrimitiveType:["0","1","340953460"],FloatPrimitiveType:["0.0","1.050654","-3454.6396854"],BigIntPrimitiveType:["87175082235506108544888893172310","0","1"],MoneyPrimitiveType:["100","-450954636342","121611633162977184630315"],DatePrimitiveType:["2020-01-01","1950-04-15","2194-12-31"],DateTimePrimitiveType:["2020-01-01T00:00:00.000","1950-04-15T02:11:58.892","2194-12-31T23:31:58.491"],BoolPrimitiveType:["true","false"],CpfPrimitiveType:["000.000.001-91","00000000191","000.000.002-72"],CnpjPrimitiveType:["00.000.000/0001-91","00000000000191","00.000.000/0002-72"],EmailPrimitiveType:["sample@example.com","root@localhost","test+label@10.0.0.5"],UrlPrimitiveType:["https://sdkgen.github.io/","https://goo.gl/maps/gUaKGTqR8BHXfX7b7","http://jobs.cubos.io"],UuidPrimitiveType:["c12c3329-c558-4c76-9a16-0efeb2b01605","00000000-0000-0000-0000-000000000000","1d5f2ef6-0def-11ec-82a8-0242ac130003"],HexPrimitiveType:["00","6375626f73","73646b67656e20706c617967726f756e64"],HtmlPrimitiveType:["<html><body><p>sdkgen</p></body></html>","<html><h1>Sdkgen","<script> alert('Hello world!'); <\/script>"],BytesPrimitiveType:[],Base64PrimitiveType:["Y3Vib3M=","c2RrZ2Vu","c2RrZ2VuIHBsYXlncm91bmQ="],XmlPrimitiveType:["<items><item>something</item></items>","<list />",'<?xml version="1.0" encoding="UTF-8"?><resposta><![CDATA[ol\xe1 <xml>]]></resposta>'],JsonPrimitiveType:["{}",'{"sdkgen":"playground"}','{"type":"json","items":[1,2,3],"some":null}']},o.getConstructorName=y,o.getTypeLabels=function d(l){const f=[];switch(l.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(l.base));break;case n.TypeReference:f.push(...d(l.type));break;case n.ArrayType:f.push("Array"),f.push(...d(l.base));break;case n.EnumType:f.push("Enum");break;default:console.error("No labels for",y(l))}return f},o.getTypeDoc=function r(l){var f,p,m;switch(l.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:o.primitiveTypes[y(l)],shortDescription:o.primitiveTypes[y(l)],examples:o.primitiveTypesExamples[y(l)]};case n.OptionalType:{const b=r(l.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 r(l.type);case n.ArrayType:{const b=r(l.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=l,_=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) ${l.fields.slice(0,3).map(b=>b.name).join(", ")}\u2026`,isStruct:!0,structFields:l.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(l.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=tslib_1.__importStar(__webpack_require__(5e3));class SdkgenService{constructor(){this.state$=new rxjs_1.BehaviorSubject(null)}buildJsonObject(G,o=new Set){const a=n=>{switch(n.constructor){case parser_1.StringPrimitiveType:return"";case parser_1.IntPrimitiveType:case parser_1.UIntPrimitiveType:case parser_1.FloatPrimitiveType:case parser_1.BigIntPrimitiveType:case parser_1.MoneyPrimitiveType:return 0;case parser_1.DatePrimitiveType:return(new Date).toJSON().substring(0,10);case parser_1.DateTimePrimitiveType:return(new Date).toJSON().substring(0,23);case parser_1.BoolPrimitiveType:return Math.random()>.5;case parser_1.VoidPrimitiveType:return null;case parser_1.CpfPrimitiveType:return"000.000.001-91";case parser_1.CnpjPrimitiveType:return"00.000.001/0001-91";case parser_1.EmailPrimitiveType:return"joao@acme.com";case parser_1.UrlPrimitiveType:return"https://www.google.com/";case parser_1.UuidPrimitiveType:return"00000000-0000-0000-0000-000000000000";case parser_1.HexPrimitiveType:return new Array(32).fill(0).map(()=>"0123456789abcdef"[Math.floor(16*Math.random())]).join("");case parser_1.HtmlPrimitiveType:return"<h1>Hello world!</h1>";case parser_1.BytesPrimitiveType:case parser_1.Base64PrimitiveType:return"0a=";case parser_1.XmlPrimitiveType:return"<xml></xml>";case parser_1.JsonPrimitiveType:return{};case parser_1.StructType:return o.has(n.name)?{}:this.buildJsonObject(n.fields,new Set([...o,n.name]));case parser_1.OptionalType:return null;case parser_1.TypeReference:return a(n.type);case parser_1.ArrayType:return[a(n.base),a(n.base),a(n.base)];case parser_1.EnumType:return n.values[0].value;default:return null}};return G.reduce((n,h)=>(n[h.name]=a(h.type),n),{})}getTypeScriptCode(G,o){return`await client.${G}(${JSON.stringify(o,null,2)});\n`}buildKotlinString(G,o=0){const a=n=>{switch(n.constructor){case parser_1.StringPrimitiveType:return'""';case parser_1.IntPrimitiveType:case parser_1.UIntPrimitiveType:case parser_1.FloatPrimitiveType:case parser_1.BigIntPrimitiveType:case parser_1.MoneyPrimitiveType:return 0;case parser_1.DatePrimitiveType:case parser_1.DateTimePrimitiveType:return"Calendar.getInstance()";case parser_1.BoolPrimitiveType:return Math.random()>.5?"true":"false";case parser_1.VoidPrimitiveType:return"null";case parser_1.CpfPrimitiveType:return'"000.000.001-91"';case parser_1.CnpjPrimitiveType:return'"00.000.001/0001-91"';case parser_1.EmailPrimitiveType:return'"joao@acme.com"';case parser_1.UrlPrimitiveType:return'"https://www.google.com/"';case parser_1.UuidPrimitiveType:return'"00000000-0000-0000-0000-000000000000"';case parser_1.HexPrimitiveType:return`"${new Array(32).fill(0).map(()=>"0123456789abcdef"[Math.floor(16*Math.random())]).join("")}"`;case parser_1.HtmlPrimitiveType:return'"<h1>Hello world!</h1>"';case parser_1.BytesPrimitiveType:case parser_1.Base64PrimitiveType:return'"0a="';case parser_1.XmlPrimitiveType:return'"<xml></xml>"';case parser_1.JsonPrimitiveType:return"json {}";case parser_1.StructType:return`${n.name}(\n${this.buildKotlinString(n.fields,o+1)}\n${" ".repeat(o+1)})`;case parser_1.OptionalType:return"null";case parser_1.TypeReference:return a(n.type);case parser_1.ArrayType:o++;const h=a(n.base);return o--,`arrayOf(\n${" ".repeat(o+2)}${h},\n${" ".repeat(o+2)}${h}\n${" ".repeat(o+1)})`;case parser_1.EnumType:return`"${n.values[0].value}"`;default:return"<>()"}};return G.map(n=>`${" ".repeat(o+1)}${a(n.type)}`).join(",\n")}getKotlinCode(G,o){return 0===o.length?`client.${G}().await();`:`client.${G}(\n${this.buildKotlinString(o)}\n).await();`}getDartCode(G,o){return'print("todo");'}getSwiftCode(G,o){return'print("todo");'}getSdkgenClient(url,ast){const errorFns=ast.errors.reduce((acc,cur)=>{function errorClass(type,base){return eval(`(\n (sup) => class ${type} extends sup {\n type = "${type}";\n message = "";\n ${base===browser_runtime_1.SdkgenErrorWithData?"data = null;":""}\n\n constructor(message${base===browser_runtime_1.SdkgenErrorWithData?", data":""}) {\n super(message${base===browser_runtime_1.SdkgenErrorWithData?", data":""});\n this.message = message;\n ${base===browser_runtime_1.SdkgenErrorWithData?"this.data = data;":""}\n this.toString = () => this.type + ": " + this.message;\n }\n }\n )`)(base)}return"string"==typeof cur?acc[cur]=errorClass(cur,browser_runtime_1.SdkgenError):acc[cur[0]]=errorClass(cur[0],browser_runtime_1.SdkgenErrorWithData),acc},{}),clientInstance=new browser_runtime_1.SdkgenHttpClient(url,ast,errorFns);return new Proxy(clientInstance,{get:(G,o)=>["baseUrl","extra","successHook","errorHook","makeRequest"].includes(o.toString())?clientInstance[o.toString()]:function(){var a=_asyncToGenerator(function*(n){return clientInstance.makeRequest(o.toString(),n)});return function(n){return a.apply(this,arguments)}}()})}}exports.SdkgenService=SdkgenService,SdkgenService.\u0275fac=function G(o){return new(o||SdkgenService)},SdkgenService.\u0275prov=i0.\u0275\u0275defineInjectable({token:SdkgenService,factory:SdkgenService.\u0275fac,providedIn:"root"})},7822:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var _asyncToGenerator=__webpack_require__(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=tslib_1.__importStar(__webpack_require__(5e3)),i1=tslib_1.__importStar(__webpack_require__(6395)),i2=tslib_1.__importStar(__webpack_require__(1430)),i3=tslib_1.__importStar(__webpack_require__(3251)),i4=tslib_1.__importStar(__webpack_require__(7423)),i5=tslib_1.__importStar(__webpack_require__(3293)),i6=tslib_1.__importStar(__webpack_require__(107)),i7=tslib_1.__importStar(__webpack_require__(3075)),i8=tslib_1.__importStar(__webpack_require__(5109)),i9=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,o){var a;const n=null===(a=G.operations.find(h=>h.name===o))||void 0===a?void 0:a.args;n&&(this.code=JSON.stringify(this.sdkgen.buildJsonObject(n),null,2))}}exports.SimpleCallComponent=SimpleCallComponent,SimpleCallComponent.\u0275fac=function G(o){return new(o||SimpleCallComponent)(i0.\u0275\u0275directiveInject(i1.SdkgenService))},SimpleCallComponent.\u0275cmp=i0.\u0275\u0275defineComponent({type:SimpleCallComponent,selectors:[["app-simple-call"]],inputs:{fn:"fn"},decls:12,vars:7,consts:[["direction","vertical"],["animationDuration","0ms",3,"selectedIndex","selectedIndexChange"],["label","Requisi\xe7\xe3o"],["mat-fab","",1,"run-fab",3,"click"],[3,"options","ngModel","ngModelChange"],["label","Resposta",3,"disabled"],[3,"json"],[3,"size"],[3,"items"]],template:function G(o,a){1&o&&(i0.\u0275\u0275elementStart(0,"as-split",0)(1,"as-split-area")(2,"mat-tab-group",1),i0.\u0275\u0275listener("selectedIndexChange",function(h){return a.selected.setValue(h)}),i0.\u0275\u0275elementStart(3,"mat-tab",2)(4,"button",3),i0.\u0275\u0275listener("click",function(){return a.run()}),i0.\u0275\u0275elementStart(5,"mat-icon"),i0.\u0275\u0275text(6,"play_arrow"),i0.\u0275\u0275elementEnd()(),i0.\u0275\u0275elementStart(7,"ngx-monaco-editor",4),i0.\u0275\u0275listener("ngModelChange",function(h){return a.code=h}),i0.\u0275\u0275elementEnd()(),i0.\u0275\u0275elementStart(8,"mat-tab",5),i0.\u0275\u0275element(9,"ngx-json-viewer",6),i0.\u0275\u0275elementEnd()()(),i0.\u0275\u0275elementStart(10,"as-split-area",7),i0.\u0275\u0275element(11,"app-console",8),i0.\u0275\u0275elementEnd()()),2&o&&(i0.\u0275\u0275advance(2),i0.\u0275\u0275property("selectedIndex",a.selected.value),i0.\u0275\u0275advance(5),i0.\u0275\u0275property("options",a.editorOptions)("ngModel",a.code),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("disabled",!a.response),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("json",a.response),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("size",30),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("items",a.consoleItems))},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%] .ngx-json-viewer{overflow:inherit!important}mat-tab-group[_ngcontent-%COMP%] .mat-tab-body-wrapper{height:100%}mat-tab-group[_ngcontent-%COMP%] .mat-tab-body-content{overflow-y:hidden!important}mat-tab-group[_ngcontent-%COMP%] ngx-monaco-editor[_ngcontent-%COMP%]{display:block;height:100%}mat-tab-group[_ngcontent-%COMP%] ngx-json-viewer[_ngcontent-%COMP%]{display:block;height:100%;width:100%;overflow-y:auto;scrollbar-width:thin}"]})},4264:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var _asyncToGenerator=__webpack_require__(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=tslib_1.__importStar(__webpack_require__(5e3)),i1=tslib_1.__importStar(__webpack_require__(6395)),i2=tslib_1.__importStar(__webpack_require__(7423)),i3=tslib_1.__importStar(__webpack_require__(3293)),i4=tslib_1.__importStar(__webpack_require__(1430)),i5=tslib_1.__importStar(__webpack_require__(107)),i6=tslib_1.__importStar(__webpack_require__(3075)),i7=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 o=`${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(o):monaco.editor.createModel(o,"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(o){return new(o||TabEditorComponent)(i0.\u0275\u0275directiveInject(i1.SdkgenService))},TabEditorComponent.\u0275cmp=i0.\u0275\u0275defineComponent({type:TabEditorComponent,selectors:[["app-tab-editor"]],decls:8,vars:4,consts:[["mat-fab","",1,"run-fab",3,"click"],["direction","vertical"],[1,"o-hidden"],[3,"options","ngModel","ngModelChange"],[3,"size"],[3,"items"]],template:function G(o,a){1&o&&(i0.\u0275\u0275elementStart(0,"button",0),i0.\u0275\u0275listener("click",function(){return a.run()}),i0.\u0275\u0275elementStart(1,"mat-icon"),i0.\u0275\u0275text(2,"play_arrow"),i0.\u0275\u0275elementEnd()(),i0.\u0275\u0275elementStart(3,"as-split",1)(4,"as-split-area",2)(5,"ngx-monaco-editor",3),i0.\u0275\u0275listener("ngModelChange",function(h){return a.code=h}),i0.\u0275\u0275elementEnd()(),i0.\u0275\u0275elementStart(6,"as-split-area",4),i0.\u0275\u0275element(7,"app-console",5),i0.\u0275\u0275elementEnd()()),2&o&&(i0.\u0275\u0275advance(5),i0.\u0275\u0275property("options",a.editorOptions)("ngModel",a.code),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("size",30),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("items",a.consoleItems))},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,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.TabHomeComponent=void 0;const n=a(655),h=a(5e3),y=a(9435),d=a(5281),r=n.__importStar(a(5e3)),l=n.__importStar(a(6395)),f=n.__importStar(a(2339)),p=n.__importStar(a(7120)),m=n.__importStar(a(1430)),u=n.__importStar(a(3075)),_=n.__importStar(a(9808)),v=n.__importStar(a(7238)),b=n.__importStar(a(7423)),T=n.__importStar(a(3293)),S=n.__importStar(a(9417)),P=n.__importStar(a(4999)),I=n.__importStar(a(3251)),V=n.__importStar(a(107)),J=n.__importStar(a(4211));function Z(Ke,Re){if(1&Ke&&(r.\u0275\u0275elementStart(0,"span",8),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&Ke){const L=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(L.description)}}const X=function(Ke){return{active:Ke}};function U(Ke,Re){if(1&Ke){const L=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"li",5),r.\u0275\u0275listener("click",function(){const Je=r.\u0275\u0275restoreView(L).$implicit;return r.\u0275\u0275nextContext().selectedFunction=Je}),r.\u0275\u0275elementStart(1,"span",6),r.\u0275\u0275text(2),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(3,Z,2,1,"span",7),r.\u0275\u0275elementEnd()}if(2&Ke){const L=Re.$implicit,ve=r.\u0275\u0275nextContext();r.\u0275\u0275property("ngClass",r.\u0275\u0275pureFunction1(3,X,(null==ve.selectedFunction?null:ve.selectedFunction.name)===L.name)),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(L.name),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",L.description)}}function oe(Ke,Re){1&Ke&&r.\u0275\u0275element(0,"span")}function le(Ke,Re){if(1&Ke){const L=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"span"),r.\u0275\u0275element(1,"br"),r.\u0275\u0275text(2,"\xa0\xa0"),r.\u0275\u0275elementStart(3,"span",37),r.\u0275\u0275text(4),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(5,"span",14),r.\u0275\u0275text(6,":"),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(7,"\xa0"),r.\u0275\u0275elementStart(8,"u",15),r.\u0275\u0275listener("click",function(){const Je=r.\u0275\u0275restoreView(L).$implicit;return r.\u0275\u0275nextContext(2).showDocumentation(Je.rawType)}),r.\u0275\u0275text(9),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(10,oe,1,0,"span",38),r.\u0275\u0275elementEnd()}if(2&Ke){const L=Re.$implicit,ve=Re.index;r.\u0275\u0275nextContext();const Fe=r.\u0275\u0275reference(18),Je=r.\u0275\u0275reference(20),ot=r.\u0275\u0275nextContext();r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate(L.name),r.\u0275\u0275advance(4),r.\u0275\u0275property("matTooltip",ot.getTooltip(L.rawType)),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(L.type),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",ve!=ot.selectedFunction.args.length-1)("ngIfThen",Fe)("ngIfElse",Je)}}function me(Ke,Re){1&Ke&&r.\u0275\u0275text(0,",")}function De(Ke,Re){1&Ke&&r.\u0275\u0275element(0,"br")}function We(Ke,Re){if(1&Ke){const L=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"u",29),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(L);const Fe=r.\u0275\u0275nextContext().$implicit;return r.\u0275\u0275nextContext(3).showDocumentation(Fe.dataType)}),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()}if(2&Ke){const L=r.\u0275\u0275nextContext().$implicit,ve=r.\u0275\u0275nextContext(3);r.\u0275\u0275property("matTooltip",ve.getTooltip(L.dataType)),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1("(",L.dataType.name,")")}}function Q(Ke,Re){if(1&Ke&&(r.\u0275\u0275elementStart(0,"mat-chip",42)(1,"span",28),r.\u0275\u0275text(2),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(3,"i"),r.\u0275\u0275elementStart(4,"span",28),r.\u0275\u0275text(5),r.\u0275\u0275template(6,We,2,2,"u",43),r.\u0275\u0275elementEnd()()),2&Ke){const L=Re.$implicit;r.\u0275\u0275property("disableRipple",!0),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(L.name),r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate1("",L.type," "),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",L.dataType&&"void"!==L.dataType.name)}}function ue(Ke,Re){if(1&Ke&&(r.\u0275\u0275elementStart(0,"section",39)(1,"mat-chip-list",40),r.\u0275\u0275template(2,Q,7,4,"mat-chip",41),r.\u0275\u0275elementEnd()()),2&Ke){const L=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(1),r.\u0275\u0275property("selectable",!1),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",L.selectedFunction.labels)}}function $(Ke,Re){if(1&Ke&&(r.\u0275\u0275elementStart(0,"p"),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&Ke){const L=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(L.selectedFunction.description)}}function ce(Ke,Re){1&Ke&&(r.\u0275\u0275elementStart(0,"p",44),r.\u0275\u0275text(1,"N\xe3o h\xe1 descri\xe7\xe3o para esta fun\xe7\xe3o."),r.\u0275\u0275elementEnd())}function de(Ke,Re){1&Ke&&(r.\u0275\u0275elementStart(0,"p",44),r.\u0275\u0275text(1,"Esta fun\xe7\xe3o n\xe3o possui argumentos."),r.\u0275\u0275elementEnd())}function _e(Ke,Re){1&Ke&&(r.\u0275\u0275elementStart(0,"th",54),r.\u0275\u0275text(1,"Nome"),r.\u0275\u0275elementEnd())}function et(Ke,Re){if(1&Ke&&(r.\u0275\u0275elementStart(0,"td",55),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&Ke){const L=Re.$implicit;r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(L.name)}}function dt(Ke,Re){1&Ke&&(r.\u0275\u0275elementStart(0,"th",54),r.\u0275\u0275text(1,"Tipo"),r.\u0275\u0275elementEnd())}function it(Ke,Re){if(1&Ke){const L=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"td",55)(1,"u",29),r.\u0275\u0275listener("click",function(){const Je=r.\u0275\u0275restoreView(L).$implicit;return r.\u0275\u0275nextContext(3).showDocumentation(Je.rawType)}),r.\u0275\u0275text(2),r.\u0275\u0275elementEnd()()}if(2&Ke){const L=Re.$implicit,ve=r.\u0275\u0275nextContext(3);r.\u0275\u0275advance(1),r.\u0275\u0275property("matTooltip",ve.getTooltip(L.rawType)),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(L.type)}}function st(Ke,Re){1&Ke&&(r.\u0275\u0275elementStart(0,"th",54),r.\u0275\u0275text(1,"Descri\xe7\xe3o"),r.\u0275\u0275elementEnd())}function Qe(Ke,Re){if(1&Ke&&(r.\u0275\u0275elementStart(0,"td",56),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&Ke){const L=Re.$implicit;r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(L.description||"-")}}function ht(Ke,Re){1&Ke&&r.\u0275\u0275element(0,"tr",57)}function xe(Ke,Re){1&Ke&&r.\u0275\u0275element(0,"tr",58)}function qe(Ke,Re){if(1&Ke&&(r.\u0275\u0275elementStart(0,"table",45),r.\u0275\u0275elementContainerStart(1,46),r.\u0275\u0275template(2,_e,2,0,"th",47),r.\u0275\u0275template(3,et,2,1,"td",48),r.\u0275\u0275elementContainerEnd(),r.\u0275\u0275elementContainerStart(4,49),r.\u0275\u0275template(5,dt,2,0,"th",47),r.\u0275\u0275template(6,it,3,2,"td",48),r.\u0275\u0275elementContainerEnd(),r.\u0275\u0275elementContainerStart(7,50),r.\u0275\u0275template(8,st,2,0,"th",47),r.\u0275\u0275template(9,Qe,2,1,"td",51),r.\u0275\u0275elementContainerEnd(),r.\u0275\u0275template(10,ht,1,0,"tr",52),r.\u0275\u0275template(11,xe,1,0,"tr",53),r.\u0275\u0275elementEnd()),2&Ke){const L=r.\u0275\u0275nextContext(2);r.\u0275\u0275property("dataSource",L.selectedFunction.args),r.\u0275\u0275advance(10),r.\u0275\u0275property("matHeaderRowDef",L.argumentsTableColumns),r.\u0275\u0275advance(1),r.\u0275\u0275property("matRowDefColumns",L.argumentsTableColumns)}}function Le(Ke,Re){1&Ke&&(r.\u0275\u0275elementStart(0,"span",59),r.\u0275\u0275text(1,"Dart"),r.\u0275\u0275elementEnd())}function Ge(Ke,Re){1&Ke&&(r.\u0275\u0275elementStart(0,"span",59),r.\u0275\u0275text(1,"Swift"),r.\u0275\u0275elementEnd())}const pt=function(){return{theme:"vs-dark",language:"javascript"}},ye=function(){return{theme:"vs-dark",language:"kotlin"}},Se=function(){return{theme:"vs-dark",language:"dart"}},j=function(){return{theme:"vs-dark",language:"swift"}};function ne(Ke,Re){if(1&Ke){const L=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"article")(1,"header")(2,"h1",9)(3,"span",10)(4,"span",11),r.\u0275\u0275text(5,"fn"),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(6,"\xa0"),r.\u0275\u0275elementStart(7,"span",12),r.\u0275\u0275text(8),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(9,"("),r.\u0275\u0275template(10,le,11,6,"span",13),r.\u0275\u0275text(11,")"),r.\u0275\u0275elementStart(12,"span",14),r.\u0275\u0275text(13,":"),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(14,"\xa0"),r.\u0275\u0275elementStart(15,"u",15),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(L);const Fe=r.\u0275\u0275nextContext();return Fe.showDocumentation(Fe.selectedFunction.returns.rawType)}),r.\u0275\u0275text(16),r.\u0275\u0275elementEnd()(),r.\u0275\u0275template(17,me,1,0,"ng-template",null,16,r.\u0275\u0275templateRefExtractor),r.\u0275\u0275template(19,De,1,0,"ng-template",null,17,r.\u0275\u0275templateRefExtractor),r.\u0275\u0275element(21,"s"),r.\u0275\u0275elementStart(22,"button",18),r.\u0275\u0275listener("click",function(){return r.\u0275\u0275restoreView(L),r.\u0275\u0275nextContext().addSimpleCallTab()}),r.\u0275\u0275elementStart(23,"mat-icon"),r.\u0275\u0275text(24,"play_arrow"),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(25,"\xa0EXECUTAR "),r.\u0275\u0275elementEnd()()(),r.\u0275\u0275template(26,ue,3,2,"section",19),r.\u0275\u0275elementStart(27,"section",9)(28,"h2",20),r.\u0275\u0275text(29,"Descri\xe7\xe3o"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(30,"div",21),r.\u0275\u0275template(31,$,2,1,"p",22),r.\u0275\u0275template(32,ce,2,0,"p",23),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(33,"h2",24),r.\u0275\u0275text(34,"Par\xe2metros"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(35,"div",21),r.\u0275\u0275template(36,de,2,0,"p",23),r.\u0275\u0275elementStart(37,"div",25),r.\u0275\u0275template(38,qe,12,3,"table",26),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(39,"h2",27),r.\u0275\u0275text(40,"Retorno"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(41,"div")(42,"p",28)(43,"u",29),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(L);const Fe=r.\u0275\u0275nextContext();return Fe.showDocumentation(Fe.selectedFunction.returns.rawType)}),r.\u0275\u0275text(44),r.\u0275\u0275elementEnd()()(),r.\u0275\u0275elementStart(45,"h2",30),r.\u0275\u0275text(46,"Exemplo de Requisi\xe7\xe3o"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(47,"mat-tab-group",31)(48,"mat-tab",32),r.\u0275\u0275element(49,"ngx-monaco-editor",33),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(50,"mat-tab",34),r.\u0275\u0275element(51,"ngx-monaco-editor",33),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(52,"mat-tab",35),r.\u0275\u0275template(53,Le,2,0,"ng-template",36),r.\u0275\u0275element(54,"ngx-monaco-editor",33),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(55,"mat-tab",35),r.\u0275\u0275template(56,Ge,2,0,"ng-template",36),r.\u0275\u0275element(57,"ngx-monaco-editor",33),r.\u0275\u0275elementEnd()()()()}if(2&Ke){const L=r.\u0275\u0275nextContext();r.\u0275\u0275advance(8),r.\u0275\u0275textInterpolate(L.selectedFunction.name),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngForOf",L.selectedFunction.args),r.\u0275\u0275advance(5),r.\u0275\u0275property("matTooltip",L.getTooltip(L.selectedFunction.returns.rawType)),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(L.selectedFunction.returns.type),r.\u0275\u0275advance(10),r.\u0275\u0275property("ngIf",L.selectedFunction.labels.length>0),r.\u0275\u0275advance(4),r.\u0275\u0275property("ngSwitch",!!L.selectedFunction.description),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngSwitchCase",!0),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngSwitchCase",!1),r.\u0275\u0275advance(3),r.\u0275\u0275property("ngSwitch",L.selectedFunction.args.length),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngSwitchCase",0),r.\u0275\u0275advance(7),r.\u0275\u0275property("matTooltip",L.getTooltip(L.selectedFunction.returns.rawType)),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(L.selectedFunction.returns.type),r.\u0275\u0275advance(5),r.\u0275\u0275property("options",r.\u0275\u0275pureFunction0(20,pt))("ngModel",L.selectedFunction.examples.typeScript),r.\u0275\u0275advance(2),r.\u0275\u0275property("options",r.\u0275\u0275pureFunction0(21,ye))("ngModel",L.selectedFunction.examples.kotlin),r.\u0275\u0275advance(3),r.\u0275\u0275property("options",r.\u0275\u0275pureFunction0(22,Se))("ngModel",L.selectedFunction.examples.dart),r.\u0275\u0275advance(3),r.\u0275\u0275property("options",r.\u0275\u0275pureFunction0(23,j))("ngModel",L.selectedFunction.examples.swift)}}const Me=function(){return{standalone:!0}};class Ue{constructor(Re,L,ve){this.sdkgen=Re,this.dialog=L,this.responsive=ve,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((L,ve)=>L.name.localeCompare(ve.name)).map(L=>{var ve,Fe,Je;const ot=Re.astJson.annotations[`fn.${L.name}`],Dt=this.sdkgen.buildJsonObject(L.args);return(null==ot?void 0:ot.find(Et=>"hidden"===Et.type))?null:{name:L.name,description:null===(ve=null==ot?void 0:ot.find(Et=>"description"===Et.type))||void 0===ve?void 0:ve.value,args:L.args.map(({name:Et,type:At})=>{var He,Te,Ee;return{name:Et,description:null===(Ee=[...null!==(He=Re.astJson.annotations[`type.${At}.${Et}`])&&void 0!==He?He:[],...null!==(Te=Re.astJson.annotations[`fn.${L.name}.${Et}`])&&void 0!==Te?Te:[]].find(Xe=>"description"===Xe.type))||void 0===Ee?void 0:Ee.value,type:At.name,rawType:At}}),argsStr:L.args.map(Et=>`${Et.name}: ${Et.type.name}`).join(", "),argsFields:L.args,returns:{type:L.returnType.name,rawType:L.returnType},labels:null!==(Fe=null==ot?void 0:ot.filter(Et=>["rest","throws"].includes(Et.type)).map(Et=>{var At;return"rest"===Et.type?{name:"REST",type:`${Et.value.method} ${Et.value.path}`}:"throws"===Et.type?{name:"THROWS",type:Et.value,dataType:null===(At=Re.astRoot.errors.find(He=>He.name===Et.value))||void 0===At?void 0:At.dataType}:{name:"?",type:"?"}}))&&void 0!==Fe?Fe:[],throws:null===(Je=null==ot?void 0:ot.find(Et=>"throws"===Et.type))||void 0===Je?void 0:Je.value,examples:{typeScript:this.sdkgen.getTypeScriptCode(L.name,Dt),kotlin:this.sdkgen.getKotlinCode(L.name,L.args),dart:this.sdkgen.getDartCode(L.name,Dt),swift:this.sdkgen.getSwiftCode(L.name,Dt)}}}).filter(L=>Boolean(L)))})}ngOnDestroy(){var Re,L;null===(Re=this.state$)||void 0===Re||Re.unsubscribe(),null===(L=this.responsive$)||void 0===L||L.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"]})}}o.TabHomeComponent=Ue,Ue.\u0275fac=function(Re){return new(Re||Ue)(r.\u0275\u0275directiveInject(l.SdkgenService),r.\u0275\u0275directiveInject(f.MatDialog),r.\u0275\u0275directiveInject(p.ResponsiveService))},Ue.\u0275cmp=r.\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,L){1&Re&&(r.\u0275\u0275elementStart(0,"as-split",0)(1,"as-split-area",1)(2,"aside")(3,"nav")(4,"form")(5,"input",2),r.\u0275\u0275listener("ngModelChange",function(Fe){return L.searchText=Fe}),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(6,"ul"),r.\u0275\u0275template(7,U,4,5,"li",3),r.\u0275\u0275pipe(8,"appFilter"),r.\u0275\u0275elementEnd()()()(),r.\u0275\u0275elementStart(9,"as-split-area"),r.\u0275\u0275template(10,ne,58,24,"article",4),r.\u0275\u0275elementEnd()()),2&Re&&(r.\u0275\u0275property("direction",L.isBelowMd?"vertical":"horizontal"),r.\u0275\u0275advance(1),r.\u0275\u0275property("size",L.isBelowMd?130:350),r.\u0275\u0275advance(4),r.\u0275\u0275property("ngModel",L.searchText)("ngModelOptions",r.\u0275\u0275pureFunction0(9,Me)),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngForOf",r.\u0275\u0275pipeBind2(8,6,L.fnTable,L.searchText)),r.\u0275\u0275advance(3),r.\u0275\u0275property("ngIf",L.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,P.MatTable,P.MatColumnDef,P.MatHeaderCellDef,P.MatHeaderCell,P.MatCellDef,P.MatCell,P.MatHeaderRowDef,P.MatHeaderRow,P.MatRowDef,P.MatRow,I.MatTabGroup,I.MatTab,V.MonacoEditorComponent,I.MatTabLabel],pipes:[J.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,o,a)=>{"use strict";var n=a(8926).default;Object.defineProperty(o,"__esModule",{value:!0}),o.TabNavComponent=void 0;const h=a(655),y=a(3075),d=a(6676),r=a(4814),l=h.__importStar(a(5e3)),f=h.__importStar(a(6395)),p=h.__importStar(a(2290)),m=h.__importStar(a(2339)),u=h.__importStar(a(3075)),_=h.__importStar(a(508)),v=h.__importStar(a(9808)),b=h.__importStar(a(3293)),T=h.__importStar(a(7423));function S(V,J){1&V&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"mat-icon",6),l.\u0275\u0275text(2,"loop"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementContainerEnd())}function P(V,J){1&V&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"mat-icon"),l.\u0275\u0275text(2,"arrow_forward"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementContainerEnd())}class I{constructor(J,Z,X){this.sdkgen=J,this.toastr=Z,this.dialog=X,this.loading=!1,this.url=new y.FormControl("")}ngOnInit(){fetch("/ast.json").then(J=>{J.ok&&(this.url.setValue(`${window.location.protocol}//${window.location.host}`),this.loadUrl())}).catch(()=>{})}loadUrl(J){var Z=this;return n(function*(){null==J||J.preventDefault();try{Z.loading=!0,/^https?:\/\//.test(Z.url.value)||Z.url.setValue(`https://${Z.url.value}`);const X=new URL(Z.url.value);X.pathname+=(/\/$/u.test(X.pathname)?"":"/")+"ast.json";const U=X.toString();console.debug("astUrl",U);const oe=yield fetch(U).then(le=>le.ok?le.json():le);if(oe instanceof Response)throw oe instanceof Error?oe:new Error(oe.statusText);if(!oe.errors||!oe.functionTable||!oe.typeTable)throw new Error("Invalid AST");for(;"undefined"==typeof monaco;)yield new Promise(le=>setTimeout(le,250));console.debug("astJson",oe),Z.sdkgen.state$.next({astJson:oe,astRoot:(0,d.jsonToAst)(oe),url:Z.url.value})}catch(X){Z.toastr.error(X instanceof Error?X.message:JSON.stringify(X),"Erro ao carregar AST",{positionClass:"toast-bottom-right"})}finally{Z.loading=!1}})()}openAbout(){this.dialog.open(r.DialogAboutComponent)}}o.TabNavComponent=I,I.\u0275fac=function(J){return new(J||I)(l.\u0275\u0275directiveInject(f.SdkgenService),l.\u0275\u0275directiveInject(p.ToastrService),l.\u0275\u0275directiveInject(m.MatDialog))},I.\u0275cmp=l.\u0275\u0275defineComponent({type:I,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(J,Z){1&J&&(l.\u0275\u0275element(0,"img",0),l.\u0275\u0275elementStart(1,"form",1),l.\u0275\u0275listener("submit",function(U){return Z.loadUrl(U)}),l.\u0275\u0275element(2,"input",2),l.\u0275\u0275elementStart(3,"button",3),l.\u0275\u0275template(4,S,3,0,"ng-container",4),l.\u0275\u0275template(5,P,3,0,"ng-container",4),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(6,"button",5),l.\u0275\u0275listener("click",function(){return Z.openAbout()}),l.\u0275\u0275elementStart(7,"mat-icon"),l.\u0275\u0275text(8,"info"),l.\u0275\u0275elementEnd()()),2&J&&(l.\u0275\u0275advance(2),l.\u0275\u0275property("formControl",Z.url)("readonly",Z.loading),l.\u0275\u0275advance(1),l.\u0275\u0275property("disabled",Z.loading)("ngSwitch",Z.loading),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngSwitchCase",!0),l.\u0275\u0275advance(1),l.\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,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.TypeDetailsComponent=void 0;const n=a(655),h=a(2339),y=a(9435),d=n.__importStar(a(5e3)),r=n.__importStar(a(2339)),l=n.__importStar(a(9808)),f=n.__importStar(a(7423)),p=n.__importStar(a(3293)),m=n.__importStar(a(9417)),u=n.__importStar(a(4999)),_=n.__importStar(a(7238));function v($,ce){1&$&&(d.\u0275\u0275elementStart(0,"button",6)(1,"mat-icon"),d.\u0275\u0275text(2,"arrow_back"),d.\u0275\u0275elementEnd()())}function b($,ce){if(1&$&&(d.\u0275\u0275elementStart(0,"mat-chip",7),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&$){const de=ce.$implicit;d.\u0275\u0275property("disableRipple",!0),d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(de)}}function T($,ce){1&$&&(d.\u0275\u0275elementStart(0,"button",8)(1,"mat-icon"),d.\u0275\u0275text(2,"close"),d.\u0275\u0275elementEnd()())}function S($,ce){1&$&&(d.\u0275\u0275elementStart(0,"th",20),d.\u0275\u0275text(1,"Nome"),d.\u0275\u0275elementEnd())}function P($,ce){if(1&$&&(d.\u0275\u0275elementStart(0,"td",21),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&$){const de=ce.$implicit;d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(de.name)}}function I($,ce){1&$&&(d.\u0275\u0275elementStart(0,"th",20),d.\u0275\u0275text(1,"Tipo"),d.\u0275\u0275elementEnd())}function V($,ce){1&$&&(d.\u0275\u0275elementStart(0,"span"),d.\u0275\u0275text(1,"-"),d.\u0275\u0275elementEnd())}function J($,ce){if(1&$){const de=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"u",25),d.\u0275\u0275listener("click",function(){d.\u0275\u0275restoreView(de);const et=d.\u0275\u0275nextContext().$implicit;return d.\u0275\u0275nextContext(2).showDocumentation(et.type)}),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()}if(2&$){const de=d.\u0275\u0275nextContext().$implicit,_e=d.\u0275\u0275nextContext(2);d.\u0275\u0275property("matTooltip",_e.getTooltip(de.type)),d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(de.type.name)}}function Z($,ce){1&$&&(d.\u0275\u0275elementStart(0,"td",22),d.\u0275\u0275template(1,V,2,0,"span",23),d.\u0275\u0275template(2,J,2,2,"u",24),d.\u0275\u0275elementEnd()),2&$&&(d.\u0275\u0275property("ngSwitch",ce.$implicit.type),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngSwitchCase",null))}function X($,ce){1&$&&(d.\u0275\u0275elementStart(0,"th",20),d.\u0275\u0275text(1,"Descri\xe7\xe3o"),d.\u0275\u0275elementEnd())}function U($,ce){if(1&$&&(d.\u0275\u0275elementStart(0,"td",26),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&$){const de=ce.$implicit;d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(de.description||"-")}}function oe($,ce){1&$&&d.\u0275\u0275element(0,"tr",27)}function le($,ce){1&$&&d.\u0275\u0275element(0,"tr",28)}const me=function(){return[]};function De($,ce){if(1&$&&(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,P,2,1,"td",13),d.\u0275\u0275elementContainerEnd(),d.\u0275\u0275elementContainerStart(6,14),d.\u0275\u0275template(7,I,2,0,"th",12),d.\u0275\u0275template(8,Z,3,2,"td",15),d.\u0275\u0275elementContainerEnd(),d.\u0275\u0275elementContainerStart(9,16),d.\u0275\u0275template(10,X,2,0,"th",12),d.\u0275\u0275template(11,U,2,1,"td",17),d.\u0275\u0275elementContainerEnd(),d.\u0275\u0275template(12,oe,1,0,"tr",18),d.\u0275\u0275template(13,le,1,0,"tr",19),d.\u0275\u0275elementEnd()()()),2&$){const de=d.\u0275\u0275nextContext();let _e;d.\u0275\u0275advance(2),d.\u0275\u0275property("dataSource",null!==(_e=null==de.typeDoc?null:de.typeDoc.structFields)&&void 0!==_e?_e:d.\u0275\u0275pureFunction0(3,me)),d.\u0275\u0275advance(10),d.\u0275\u0275property("matHeaderRowDef",de.argumentsTableColumns),d.\u0275\u0275advance(1),d.\u0275\u0275property("matRowDefColumns",de.argumentsTableColumns)}}function We($,ce){if(1&$&&(d.\u0275\u0275elementStart(0,"li")(1,"code",1),d.\u0275\u0275text(2),d.\u0275\u0275elementEnd()()),2&$){const de=ce.$implicit;d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate(de)}}function Q($,ce){if(1&$&&(d.\u0275\u0275elementStart(0,"section")(1,"h3"),d.\u0275\u0275text(2,"Exemplos"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(3,"ul"),d.\u0275\u0275template(4,We,3,1,"li",29),d.\u0275\u0275elementEnd()()),2&$){const de=d.\u0275\u0275nextContext();d.\u0275\u0275advance(4),d.\u0275\u0275property("ngForOf",null==de.typeDoc?null:de.typeDoc.examples)}}class ue{constructor(ce,de,_e){this.dialogRef=ce,this.data=de,this.dialog=_e,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(ce){return(0,y.getTypeDoc)(ce).shortDescription}showDocumentation(ce){this.dialog.open(ue,{position:{right:"0"},data:{type:ce,subdialog:!0},height:"100vh",panelClass:["dialog-no-border-radius","dialog-responsive"]})}}o.TypeDetailsComponent=ue,ue.\u0275fac=function(ce){return new(ce||ue)(d.\u0275\u0275directiveInject(r.MatDialogRef),d.\u0275\u0275directiveInject(h.MAT_DIALOG_DATA),d.\u0275\u0275directiveInject(r.MatDialog))},ue.\u0275cmp=d.\u0275\u0275defineComponent({type:ue,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(ce,de){1&ce&&(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,De,14,4,"section",5),d.\u0275\u0275template(10,Q,5,1,"section",5)),2&ce&&(d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",de.data.subdialog),d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate(de.data.type.name),d.\u0275\u0275advance(1),d.\u0275\u0275property("selectable",!1),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngForOf",de.labels),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",!de.data.subdialog),d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate(null==de.typeDoc?null:de.typeDoc.longDescription),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",(null==de.typeDoc?null:de.typeDoc.isStruct)&&(null==de.typeDoc?null:de.typeDoc.structFields)),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",null==de.typeDoc||null==de.typeDoc.examples?null:de.typeDoc.examples.length))},directives:[l.NgIf,f.MatButton,r.MatDialogClose,p.MatIcon,m.MatChipList,l.NgForOf,m.MatChip,u.MatTable,u.MatColumnDef,u.MatHeaderCellDef,u.MatHeaderCell,u.MatCellDef,u.MatCell,l.NgSwitch,l.NgSwitchCase,l.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,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.unwrap=o.wrapper=void 0,o.wrapper='\n window.___originalXmlHttpRequestOpen = XMLHttpRequest.prototype.open;\n XMLHttpRequest.prototype.open = function() {\n const event = { type: "network", message: `XHR: ${Array.prototype.join.call(arguments, " ")}` };\n events.push(event);\n\n const send = this.send;\n this.send = function() {\n try {\n event.details = { req: JSON.parse(arguments[0]) };\n } catch (e) {\n event.details = { req: arguments[0] };\n }\n\n const onreadystatechange = this.onreadystatechange;\n this.onreadystatechange = function() {\n const result = onreadystatechange.apply(this, arguments);\n\n if (this.readyState === 4) {\n try {\n event.details = { ...event.details, res: JSON.parse(this.responseText) };\n } catch (e) {\n event.details = { ...event.details, res: this.responseText };\n }\n }\n\n return result;\n };\n\n return send.apply(this, arguments);\n };\n\n return ___originalXmlHttpRequestOpen.apply(this, arguments);\n };\n\n window.___originalConsoleLog = console.log;\n console.log = function() {\n const event = { type: "info", message: Array.prototype.map.call(arguments, x => typeof x === "object" ? JSON.stringify(x) : x.toString()).join(" ") };\n events.push(event);\n return ___originalConsoleLog.apply(this, arguments);\n }\n\n window.___originalConsoleError = console.error;\n console.error = function() {\n //if (typeof arguments[0] === "string") {\n const event = { type: "error", message: Array.prototype.map.call(arguments, x => typeof x === "object" ? JSON.stringify(x) : x.toString()).join(" ") };\n events.push(event);\n //}\n return ___originalConsoleError.apply(this, arguments);\n }\n',o.unwrap="\n XMLHttpRequest.prototype.open = window.___originalXmlHttpRequestOpen;\n console.log = window.___originalConsoleLog;\n console.error = window.___originalConsoleError;\n"},2340:(G,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.environment=void 0,o.environment={production:!0}},4431:(G,o,a)=>{"use strict";const y=a(655).__importStar(a(2313)),d=a(5e3),r=a(6747);a(2340).environment.production&&(0,d.enableProdMode)(),y.platformBrowser().bootstrapModule(r.AppModule).catch(f=>console.error(f))},4327:function(G,o){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 r(u){var _=new XMLHttpRequest;_.open("HEAD",u,!1);try{_.send()}catch(v){}return 200<=_.status&&299>=_.status}function l(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?l(T):r(T.href)?d(u,_,v):l(T,T.target="_blank")):(T.href=b.createObjectURL(u),setTimeout(function(){b.revokeObjectURL(T.href)},4e4),setTimeout(function(){l(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(r(u))d(u,_,v);else{var b=document.createElement("a");b.href=u,b.target="_blank",setTimeout(function(){l(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,P=/CriOS\/[\d]+/.test(navigator.userAgent);if((P||T&&S||p)&&"undefined"!=typeof FileReader){var I=new FileReader;I.onloadend=function(){var Z=I.result;Z=P?Z:Z.replace(/^data:[^;]*;/,"data:attachment/file;"),b?b.location.href=Z:location=Z,b=null},I.readAsDataURL(u)}else{var V=f.URL||f.webkitURL,J=V.createObjectURL(u);b?b.location=J:location.href=J,b=null,setTimeout(function(){V.revokeObjectURL(J)},4e4)}});f.saveAs=m.saveAs=m,G.exports=m}.apply(o,[]))&&(G.exports=h)},5109:(G,o,a)=>{"use strict";a.r(o),a.d(o,{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 r(_,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 l=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 P=h.\u0275\u0275restoreView(b).$implicit;return h.\u0275\u0275nextContext().toggle(P)}),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,r,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,l,"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(P,I){let V,J;return"object"!=typeof P||null===P||P instanceof Boolean||P instanceof Date||P instanceof Number||P instanceof RegExp||P instanceof String?P:(V=T.get(P),void 0!==V?{$ref:V}:(T.set(P,I),Array.isArray(P)?(J=[],P.forEach(function(Z,X){J[X]=S(Z,I+"["+X+"]")})):(J={},Object.keys(P).forEach(function(Z){J[Z]=S(P[Z],I+"["+JSON.stringify(Z)+"]")})),J))}(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,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(ti,ni,Wn,Jn){void 0===Jn&&(Jn=Wn),Object.defineProperty(ti,Jn,{enumerable:!0,get:function(){return ni[Wn]}})}:function(ti,ni,Wn,Jn){void 0===Jn&&(Jn=Wn),ti[Jn]=ni[Wn]}),h=this&&this.__exportStar||function(ti,ni){for(var Wn in ti)"default"!==Wn&&!Object.prototype.hasOwnProperty.call(ni,Wn)&&n(ni,ti,Wn)};Object.defineProperty(o,"__esModule",{value:!0}),o.interval=o.iif=o.generate=o.fromEventPattern=o.fromEvent=o.from=o.forkJoin=o.empty=o.defer=o.connectable=o.concat=o.combineLatest=o.bindNodeCallback=o.bindCallback=o.UnsubscriptionError=o.TimeoutError=o.SequenceError=o.ObjectUnsubscribedError=o.NotFoundError=o.EmptyError=o.ArgumentOutOfRangeError=o.firstValueFrom=o.lastValueFrom=o.isObservable=o.identity=o.noop=o.pipe=o.NotificationKind=o.Notification=o.Subscriber=o.Subscription=o.Scheduler=o.VirtualAction=o.VirtualTimeScheduler=o.animationFrameScheduler=o.animationFrame=o.queueScheduler=o.queue=o.asyncScheduler=o.async=o.asapScheduler=o.asap=o.AsyncSubject=o.ReplaySubject=o.BehaviorSubject=o.Subject=o.animationFrames=o.observable=o.ConnectableObservable=o.Observable=void 0,o.filter=o.expand=o.exhaustMap=o.exhaustAll=o.exhaust=o.every=o.endWith=o.elementAt=o.distinctUntilKeyChanged=o.distinctUntilChanged=o.distinct=o.dematerialize=o.delayWhen=o.delay=o.defaultIfEmpty=o.debounceTime=o.debounce=o.count=o.connect=o.concatWith=o.concatMapTo=o.concatMap=o.concatAll=o.combineLatestWith=o.combineLatestAll=o.combineAll=o.catchError=o.bufferWhen=o.bufferToggle=o.bufferTime=o.bufferCount=o.buffer=o.auditTime=o.audit=o.config=o.NEVER=o.EMPTY=o.scheduled=o.zip=o.using=o.timer=o.throwError=o.range=o.race=o.partition=o.pairs=o.onErrorResumeNext=o.of=o.never=o.merge=void 0,o.switchMapTo=o.switchMap=o.switchAll=o.subscribeOn=o.startWith=o.skipWhile=o.skipUntil=o.skipLast=o.skip=o.single=o.shareReplay=o.share=o.sequenceEqual=o.scan=o.sampleTime=o.sample=o.refCount=o.retryWhen=o.retry=o.repeatWhen=o.repeat=o.reduce=o.raceWith=o.publishReplay=o.publishLast=o.publishBehavior=o.publish=o.pluck=o.pairwise=o.observeOn=o.multicast=o.min=o.mergeWith=o.mergeScan=o.mergeMapTo=o.mergeMap=o.flatMap=o.mergeAll=o.max=o.materialize=o.mapTo=o.map=o.last=o.isEmpty=o.ignoreElements=o.groupBy=o.first=o.findIndex=o.find=o.finalize=void 0,o.zipWith=o.zipAll=o.withLatestFrom=o.windowWhen=o.windowToggle=o.windowTime=o.windowCount=o.window=o.toArray=o.timestamp=o.timeoutWith=o.timeout=o.timeInterval=o.throwIfEmpty=o.throttleTime=o.throttle=o.tap=o.takeWhile=o.takeUntil=o.takeLast=o.take=o.switchScan=void 0;var y=a(5821);Object.defineProperty(o,"Observable",{enumerable:!0,get:function(){return y.Observable}});var d=a(6686);Object.defineProperty(o,"ConnectableObservable",{enumerable:!0,get:function(){return d.ConnectableObservable}});var r=a(1689);Object.defineProperty(o,"observable",{enumerable:!0,get:function(){return r.observable}});var l=a(2946);Object.defineProperty(o,"animationFrames",{enumerable:!0,get:function(){return l.animationFrames}});var f=a(3768);Object.defineProperty(o,"Subject",{enumerable:!0,get:function(){return f.Subject}});var p=a(5482);Object.defineProperty(o,"BehaviorSubject",{enumerable:!0,get:function(){return p.BehaviorSubject}});var m=a(3406);Object.defineProperty(o,"ReplaySubject",{enumerable:!0,get:function(){return m.ReplaySubject}});var u=a(7606);Object.defineProperty(o,"AsyncSubject",{enumerable:!0,get:function(){return u.AsyncSubject}});var _=a(1212);Object.defineProperty(o,"asap",{enumerable:!0,get:function(){return _.asap}}),Object.defineProperty(o,"asapScheduler",{enumerable:!0,get:function(){return _.asapScheduler}});var v=a(4006);Object.defineProperty(o,"async",{enumerable:!0,get:function(){return v.async}}),Object.defineProperty(o,"asyncScheduler",{enumerable:!0,get:function(){return v.asyncScheduler}});var b=a(5668);Object.defineProperty(o,"queue",{enumerable:!0,get:function(){return b.queue}}),Object.defineProperty(o,"queueScheduler",{enumerable:!0,get:function(){return b.queueScheduler}});var T=a(1906);Object.defineProperty(o,"animationFrame",{enumerable:!0,get:function(){return T.animationFrame}}),Object.defineProperty(o,"animationFrameScheduler",{enumerable:!0,get:function(){return T.animationFrameScheduler}});var S=a(2018);Object.defineProperty(o,"VirtualTimeScheduler",{enumerable:!0,get:function(){return S.VirtualTimeScheduler}}),Object.defineProperty(o,"VirtualAction",{enumerable:!0,get:function(){return S.VirtualAction}});var P=a(2716);Object.defineProperty(o,"Scheduler",{enumerable:!0,get:function(){return P.Scheduler}});var I=a(6448);Object.defineProperty(o,"Subscription",{enumerable:!0,get:function(){return I.Subscription}});var V=a(7052);Object.defineProperty(o,"Subscriber",{enumerable:!0,get:function(){return V.Subscriber}});var J=a(7262);Object.defineProperty(o,"Notification",{enumerable:!0,get:function(){return J.Notification}}),Object.defineProperty(o,"NotificationKind",{enumerable:!0,get:function(){return J.NotificationKind}});var Z=a(1471);Object.defineProperty(o,"pipe",{enumerable:!0,get:function(){return Z.pipe}});var X=a(31);Object.defineProperty(o,"noop",{enumerable:!0,get:function(){return X.noop}});var U=a(7884);Object.defineProperty(o,"identity",{enumerable:!0,get:function(){return U.identity}});var oe=a(4341);Object.defineProperty(o,"isObservable",{enumerable:!0,get:function(){return oe.isObservable}});var le=a(5257);Object.defineProperty(o,"lastValueFrom",{enumerable:!0,get:function(){return le.lastValueFrom}});var me=a(5754);Object.defineProperty(o,"firstValueFrom",{enumerable:!0,get:function(){return me.firstValueFrom}});var De=a(4769);Object.defineProperty(o,"ArgumentOutOfRangeError",{enumerable:!0,get:function(){return De.ArgumentOutOfRangeError}});var We=a(8915);Object.defineProperty(o,"EmptyError",{enumerable:!0,get:function(){return We.EmptyError}});var Q=a(5477);Object.defineProperty(o,"NotFoundError",{enumerable:!0,get:function(){return Q.NotFoundError}});var ue=a(3965);Object.defineProperty(o,"ObjectUnsubscribedError",{enumerable:!0,get:function(){return ue.ObjectUnsubscribedError}});var $=a(1551);Object.defineProperty(o,"SequenceError",{enumerable:!0,get:function(){return $.SequenceError}});var ce=a(5001);Object.defineProperty(o,"TimeoutError",{enumerable:!0,get:function(){return ce.TimeoutError}});var de=a(4970);Object.defineProperty(o,"UnsubscriptionError",{enumerable:!0,get:function(){return de.UnsubscriptionError}});var _e=a(7532);Object.defineProperty(o,"bindCallback",{enumerable:!0,get:function(){return _e.bindCallback}});var et=a(3488);Object.defineProperty(o,"bindNodeCallback",{enumerable:!0,get:function(){return et.bindNodeCallback}});var dt=a(6892);Object.defineProperty(o,"combineLatest",{enumerable:!0,get:function(){return dt.combineLatest}});var it=a(509);Object.defineProperty(o,"concat",{enumerable:!0,get:function(){return it.concat}});var st=a(9190);Object.defineProperty(o,"connectable",{enumerable:!0,get:function(){return st.connectable}});var Qe=a(9954);Object.defineProperty(o,"defer",{enumerable:!0,get:function(){return Qe.defer}});var ht=a(7406);Object.defineProperty(o,"empty",{enumerable:!0,get:function(){return ht.empty}});var xe=a(7928);Object.defineProperty(o,"forkJoin",{enumerable:!0,get:function(){return xe.forkJoin}});var qe=a(4996);Object.defineProperty(o,"from",{enumerable:!0,get:function(){return qe.from}});var Le=a(2579);Object.defineProperty(o,"fromEvent",{enumerable:!0,get:function(){return Le.fromEvent}});var Ge=a(3975);Object.defineProperty(o,"fromEventPattern",{enumerable:!0,get:function(){return Ge.fromEventPattern}});var pt=a(4318);Object.defineProperty(o,"generate",{enumerable:!0,get:function(){return pt.generate}});var ye=a(3140);Object.defineProperty(o,"iif",{enumerable:!0,get:function(){return ye.iif}});var Se=a(1836);Object.defineProperty(o,"interval",{enumerable:!0,get:function(){return Se.interval}});var j=a(9248);Object.defineProperty(o,"merge",{enumerable:!0,get:function(){return j.merge}});var ne=a(2818);Object.defineProperty(o,"never",{enumerable:!0,get:function(){return ne.never}});var Me=a(9677);Object.defineProperty(o,"of",{enumerable:!0,get:function(){return Me.of}});var Ue=a(9978);Object.defineProperty(o,"onErrorResumeNext",{enumerable:!0,get:function(){return Ue.onErrorResumeNext}});var Ke=a(5519);Object.defineProperty(o,"pairs",{enumerable:!0,get:function(){return Ke.pairs}});var Re=a(8221);Object.defineProperty(o,"partition",{enumerable:!0,get:function(){return Re.partition}});var L=a(8181);Object.defineProperty(o,"race",{enumerable:!0,get:function(){return L.race}});var ve=a(4622);Object.defineProperty(o,"range",{enumerable:!0,get:function(){return ve.range}});var Fe=a(338);Object.defineProperty(o,"throwError",{enumerable:!0,get:function(){return Fe.throwError}});var Je=a(3271);Object.defineProperty(o,"timer",{enumerable:!0,get:function(){return Je.timer}});var ot=a(924);Object.defineProperty(o,"using",{enumerable:!0,get:function(){return ot.using}});var Dt=a(4842);Object.defineProperty(o,"zip",{enumerable:!0,get:function(){return Dt.zip}});var Et=a(9341);Object.defineProperty(o,"scheduled",{enumerable:!0,get:function(){return Et.scheduled}});var At=a(7406);Object.defineProperty(o,"EMPTY",{enumerable:!0,get:function(){return At.EMPTY}});var He=a(2818);Object.defineProperty(o,"NEVER",{enumerable:!0,get:function(){return He.NEVER}}),h(a(5256),o);var Te=a(3570);Object.defineProperty(o,"config",{enumerable:!0,get:function(){return Te.config}});var Ee=a(4815);Object.defineProperty(o,"audit",{enumerable:!0,get:function(){return Ee.audit}});var Ye=a(9034);Object.defineProperty(o,"auditTime",{enumerable:!0,get:function(){return Ye.auditTime}});var Xe=a(8544);Object.defineProperty(o,"buffer",{enumerable:!0,get:function(){return Xe.buffer}});var rt=a(3999);Object.defineProperty(o,"bufferCount",{enumerable:!0,get:function(){return rt.bufferCount}});var wt=a(1392);Object.defineProperty(o,"bufferTime",{enumerable:!0,get:function(){return wt.bufferTime}});var Oe=a(555);Object.defineProperty(o,"bufferToggle",{enumerable:!0,get:function(){return Oe.bufferToggle}});var ze=a(7274);Object.defineProperty(o,"bufferWhen",{enumerable:!0,get:function(){return ze.bufferWhen}});var lt=a(6e3);Object.defineProperty(o,"catchError",{enumerable:!0,get:function(){return lt.catchError}});var Tt=a(8996);Object.defineProperty(o,"combineAll",{enumerable:!0,get:function(){return Tt.combineAll}});var Ct=a(8931);Object.defineProperty(o,"combineLatestAll",{enumerable:!0,get:function(){return Ct.combineLatestAll}});var $t=a(8947);Object.defineProperty(o,"combineLatestWith",{enumerable:!0,get:function(){return $t.combineLatestWith}});var Mt=a(739);Object.defineProperty(o,"concatAll",{enumerable:!0,get:function(){return Mt.concatAll}});var Ht=a(4659);Object.defineProperty(o,"concatMap",{enumerable:!0,get:function(){return Ht.concatMap}});var fe=a(2993);Object.defineProperty(o,"concatMapTo",{enumerable:!0,get:function(){return fe.concatMapTo}});var q=a(5898);Object.defineProperty(o,"concatWith",{enumerable:!0,get:function(){return q.concatWith}});var k=a(9725);Object.defineProperty(o,"connect",{enumerable:!0,get:function(){return k.connect}});var W=a(1814);Object.defineProperty(o,"count",{enumerable:!0,get:function(){return W.count}});var Y=a(9784);Object.defineProperty(o,"debounce",{enumerable:!0,get:function(){return Y.debounce}});var z=a(7061);Object.defineProperty(o,"debounceTime",{enumerable:!0,get:function(){return z.debounceTime}});var N=a(926);Object.defineProperty(o,"defaultIfEmpty",{enumerable:!0,get:function(){return N.defaultIfEmpty}});var he=a(2096);Object.defineProperty(o,"delay",{enumerable:!0,get:function(){return he.delay}});var je=a(3264);Object.defineProperty(o,"delayWhen",{enumerable:!0,get:function(){return je.delayWhen}});var ft=a(533);Object.defineProperty(o,"dematerialize",{enumerable:!0,get:function(){return ft.dematerialize}});var Ft=a(5045);Object.defineProperty(o,"distinct",{enumerable:!0,get:function(){return Ft.distinct}});var Ie=a(5794);Object.defineProperty(o,"distinctUntilChanged",{enumerable:!0,get:function(){return Ie.distinctUntilChanged}});var Ae=a(8589);Object.defineProperty(o,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return Ae.distinctUntilKeyChanged}});var ge=a(1069);Object.defineProperty(o,"elementAt",{enumerable:!0,get:function(){return ge.elementAt}});var ke=a(4312);Object.defineProperty(o,"endWith",{enumerable:!0,get:function(){return ke.endWith}});var ct=a(9098);Object.defineProperty(o,"every",{enumerable:!0,get:function(){return ct.every}});var xt=a(5429);Object.defineProperty(o,"exhaust",{enumerable:!0,get:function(){return xt.exhaust}});var jt=a(1399);Object.defineProperty(o,"exhaustAll",{enumerable:!0,get:function(){return jt.exhaustAll}});var qt=a(5183);Object.defineProperty(o,"exhaustMap",{enumerable:!0,get:function(){return qt.exhaustMap}});var gn=a(8678);Object.defineProperty(o,"expand",{enumerable:!0,get:function(){return gn.expand}});var Nn=a(4270);Object.defineProperty(o,"filter",{enumerable:!0,get:function(){return Nn.filter}});var hn=a(1587);Object.defineProperty(o,"finalize",{enumerable:!0,get:function(){return hn.finalize}});var An=a(2265);Object.defineProperty(o,"find",{enumerable:!0,get:function(){return An.find}});var wn=a(8195);Object.defineProperty(o,"findIndex",{enumerable:!0,get:function(){return wn.findIndex}});var Yn=a(8012);Object.defineProperty(o,"first",{enumerable:!0,get:function(){return Yn.first}});var Rn=a(4075);Object.defineProperty(o,"groupBy",{enumerable:!0,get:function(){return Rn.groupBy}});var Pt=a(4041);Object.defineProperty(o,"ignoreElements",{enumerable:!0,get:function(){return Pt.ignoreElements}});var Yt=a(6478);Object.defineProperty(o,"isEmpty",{enumerable:!0,get:function(){return Yt.isEmpty}});var ae=a(5126);Object.defineProperty(o,"last",{enumerable:!0,get:function(){return ae.last}});var Pe=a(752);Object.defineProperty(o,"map",{enumerable:!0,get:function(){return Pe.map}});var ie=a(2182);Object.defineProperty(o,"mapTo",{enumerable:!0,get:function(){return ie.mapTo}});var we=a(119);Object.defineProperty(o,"materialize",{enumerable:!0,get:function(){return we.materialize}});var Ze=a(9329);Object.defineProperty(o,"max",{enumerable:!0,get:function(){return Ze.max}});var at=a(3917);Object.defineProperty(o,"mergeAll",{enumerable:!0,get:function(){return at.mergeAll}});var St=a(1463);Object.defineProperty(o,"flatMap",{enumerable:!0,get:function(){return St.flatMap}});var Ut=a(3010);Object.defineProperty(o,"mergeMap",{enumerable:!0,get:function(){return Ut.mergeMap}});var Ot=a(929);Object.defineProperty(o,"mergeMapTo",{enumerable:!0,get:function(){return Ot.mergeMapTo}});var pn=a(2816);Object.defineProperty(o,"mergeScan",{enumerable:!0,get:function(){return pn.mergeScan}});var ln=a(9684);Object.defineProperty(o,"mergeWith",{enumerable:!0,get:function(){return ln.mergeWith}});var _n=a(6250);Object.defineProperty(o,"min",{enumerable:!0,get:function(){return _n.min}});var Xt=a(9872);Object.defineProperty(o,"multicast",{enumerable:!0,get:function(){return Xt.multicast}});var fn=a(4928);Object.defineProperty(o,"observeOn",{enumerable:!0,get:function(){return fn.observeOn}});var zn=a(9526);Object.defineProperty(o,"pairwise",{enumerable:!0,get:function(){return zn.pairwise}});var Ln=a(5199);Object.defineProperty(o,"pluck",{enumerable:!0,get:function(){return Ln.pluck}});var mn=a(955);Object.defineProperty(o,"publish",{enumerable:!0,get:function(){return mn.publish}});var nn=a(6750);Object.defineProperty(o,"publishBehavior",{enumerable:!0,get:function(){return nn.publishBehavior}});var hi=a(1003);Object.defineProperty(o,"publishLast",{enumerable:!0,get:function(){return hi.publishLast}});var Di=a(5530);Object.defineProperty(o,"publishReplay",{enumerable:!0,get:function(){return Di.publishReplay}});var Mn=a(2992);Object.defineProperty(o,"raceWith",{enumerable:!0,get:function(){return Mn.raceWith}});var jn=a(8587);Object.defineProperty(o,"reduce",{enumerable:!0,get:function(){return jn.reduce}});var pi=a(8408);Object.defineProperty(o,"repeat",{enumerable:!0,get:function(){return pi.repeat}});var ai=a(7032);Object.defineProperty(o,"repeatWhen",{enumerable:!0,get:function(){return ai.repeatWhen}});var mi=a(6069);Object.defineProperty(o,"retry",{enumerable:!0,get:function(){return mi.retry}});var Kn=a(5131);Object.defineProperty(o,"retryWhen",{enumerable:!0,get:function(){return Kn.retryWhen}});var ki=a(904);Object.defineProperty(o,"refCount",{enumerable:!0,get:function(){return ki.refCount}});var Dr=a(2531);Object.defineProperty(o,"sample",{enumerable:!0,get:function(){return Dr.sample}});var zr=a(2098);Object.defineProperty(o,"sampleTime",{enumerable:!0,get:function(){return zr.sampleTime}});var Bn=a(251);Object.defineProperty(o,"scan",{enumerable:!0,get:function(){return Bn.scan}});var xr=a(9788);Object.defineProperty(o,"sequenceEqual",{enumerable:!0,get:function(){return xr.sequenceEqual}});var wi=a(3222);Object.defineProperty(o,"share",{enumerable:!0,get:function(){return wi.share}});var cr=a(2186);Object.defineProperty(o,"shareReplay",{enumerable:!0,get:function(){return cr.shareReplay}});var Mi=a(695);Object.defineProperty(o,"single",{enumerable:!0,get:function(){return Mi.single}});var Yi=a(4975);Object.defineProperty(o,"skip",{enumerable:!0,get:function(){return Yi.skip}});var ur=a(728);Object.defineProperty(o,"skipLast",{enumerable:!0,get:function(){return ur.skipLast}});var dr=a(7409);Object.defineProperty(o,"skipUntil",{enumerable:!0,get:function(){return dr.skipUntil}});var Fr=a(385);Object.defineProperty(o,"skipWhile",{enumerable:!0,get:function(){return Fr.skipWhile}});var _i=a(4930);Object.defineProperty(o,"startWith",{enumerable:!0,get:function(){return _i.startWith}});var kr=a(1698);Object.defineProperty(o,"subscribeOn",{enumerable:!0,get:function(){return kr.subscribeOn}});var Ni=a(8044);Object.defineProperty(o,"switchAll",{enumerable:!0,get:function(){return Ni.switchAll}});var Nr=a(986);Object.defineProperty(o,"switchMap",{enumerable:!0,get:function(){return Nr.switchMap}});var Li=a(9309);Object.defineProperty(o,"switchMapTo",{enumerable:!0,get:function(){return Li.switchMapTo}});var Zi=a(9499);Object.defineProperty(o,"switchScan",{enumerable:!0,get:function(){return Zi.switchScan}});var Si=a(1333);Object.defineProperty(o,"take",{enumerable:!0,get:function(){return Si.take}});var bi=a(3534);Object.defineProperty(o,"takeLast",{enumerable:!0,get:function(){return bi.takeLast}});var wr=a(5716);Object.defineProperty(o,"takeUntil",{enumerable:!0,get:function(){return wr.takeUntil}});var fr=a(9928);Object.defineProperty(o,"takeWhile",{enumerable:!0,get:function(){return fr.takeWhile}});var Mr=a(6821);Object.defineProperty(o,"tap",{enumerable:!0,get:function(){return Mr.tap}});var Zn=a(4330);Object.defineProperty(o,"throttle",{enumerable:!0,get:function(){return Zn.throttle}});var ji=a(4029);Object.defineProperty(o,"throttleTime",{enumerable:!0,get:function(){return ji.throttleTime}});var Ci=a(9194);Object.defineProperty(o,"throwIfEmpty",{enumerable:!0,get:function(){return Ci.throwIfEmpty}});var Oi=a(5904);Object.defineProperty(o,"timeInterval",{enumerable:!0,get:function(){return Oi.timeInterval}});var hr=a(5001);Object.defineProperty(o,"timeout",{enumerable:!0,get:function(){return hr.timeout}});var Lr=a(8308);Object.defineProperty(o,"timeoutWith",{enumerable:!0,get:function(){return Lr.timeoutWith}});var Ii=a(250);Object.defineProperty(o,"timestamp",{enumerable:!0,get:function(){return Ii.timestamp}});var Ei=a(2976);Object.defineProperty(o,"toArray",{enumerable:!0,get:function(){return Ei.toArray}});var Ji=a(9374);Object.defineProperty(o,"window",{enumerable:!0,get:function(){return Ji.window}});var Bi=a(8427);Object.defineProperty(o,"windowCount",{enumerable:!0,get:function(){return Bi.windowCount}});var Xi=a(2358);Object.defineProperty(o,"windowTime",{enumerable:!0,get:function(){return Xi.windowTime}});var Pn=a(6464);Object.defineProperty(o,"windowToggle",{enumerable:!0,get:function(){return Pn.windowToggle}});var Vi=a(5424);Object.defineProperty(o,"windowWhen",{enumerable:!0,get:function(){return Vi.windowWhen}});var qi=a(135);Object.defineProperty(o,"withLatestFrom",{enumerable:!0,get:function(){return qi.withLatestFrom}});var Vn=a(8101);Object.defineProperty(o,"zipAll",{enumerable:!0,get:function(){return Vn.zipAll}});var Pi=a(9411);Object.defineProperty(o,"zipWith",{enumerable:!0,get:function(){return Pi.zipWith}})},7606:function(G,o,a){"use strict";var d,n=this&&this.__extends||(d=function(r,l){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])})(r,l)},function(r,l){if("function"!=typeof l&&null!==l)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");function f(){this.constructor=r}d(r,l),r.prototype=null===l?Object.create(l):(f.prototype=l.prototype,new f)});Object.defineProperty(o,"__esModule",{value:!0}),o.AsyncSubject=void 0;var y=function(d){function r(){var l=null!==d&&d.apply(this,arguments)||this;return l._value=null,l._hasValue=!1,l._isComplete=!1,l}return n(r,d),r.prototype._checkFinalizedStatuses=function(l){var f=this,m=f._hasValue,u=f._value,v=f.isStopped,b=f._isComplete;f.hasError?l.error(f.thrownError):(v||b)&&(m&&l.next(u),l.complete())},r.prototype.next=function(l){this.isStopped||(this._value=l,this._hasValue=!0)},r.prototype.complete=function(){var l=this,f=l._hasValue,p=l._value;l._isComplete||(this._isComplete=!0,f&&d.prototype.next.call(this,p),d.prototype.complete.call(this))},r}(a(3768).Subject);o.AsyncSubject=y},5482:function(G,o,a){"use strict";var d,n=this&&this.__extends||(d=function(r,l){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])})(r,l)},function(r,l){if("function"!=typeof l&&null!==l)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");function f(){this.constructor=r}d(r,l),r.prototype=null===l?Object.create(l):(f.prototype=l.prototype,new f)});Object.defineProperty(o,"__esModule",{value:!0}),o.BehaviorSubject=void 0;var y=function(d){function r(l){var f=d.call(this)||this;return f._value=l,f}return n(r,d),Object.defineProperty(r.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),r.prototype._subscribe=function(l){var f=d.prototype._subscribe.call(this,l);return!f.closed&&l.next(this._value),f},r.prototype.getValue=function(){var l=this,m=l._value;if(l.hasError)throw l.thrownError;return this._throwIfClosed(),m},r.prototype.next=function(l){d.prototype.next.call(this,this._value=l)},r}(a(3768).Subject);o.BehaviorSubject=y},7262:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.observeNotification=o.Notification=o.NotificationKind=void 0;var p,n=a(7406),h=a(9677),y=a(338),d=a(7104);(p=o.NotificationKind||(o.NotificationKind={})).NEXT="N",p.ERROR="E",p.COMPLETE="C";var l=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,P=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,P):null===(v=m.complete)||void 0===v||v.call(m)}o.Notification=l,o.observeNotification=f},6941:(G,o)=>{"use strict";function h(y,d,r){return{kind:y,value:d,error:r}}Object.defineProperty(o,"__esModule",{value:!0}),o.createNotification=o.nextNotification=o.errorNotification=o.COMPLETE_NOTIFICATION=void 0,o.COMPLETE_NOTIFICATION=h("C",void 0,void 0),o.errorNotification=function a(y){return h("E",void 0,y)},o.nextNotification=function n(y){return h("N",y,void 0)},o.createNotification=h},5821:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.Observable=void 0;var n=a(7052),h=a(6448),y=a(1689),d=a(1471),r=a(3570),l=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 P=this,I=function _(v){return v&&v instanceof n.Subscriber||function u(v){return v&&l.isFunction(v.next)&&l.isFunction(v.error)&&l.isFunction(v.complete)}(v)&&h.isSubscription(v)}(b)?b:new n.SafeSubscriber(b,T,S);return f.errorContext(function(){var J=P.operator,Z=P.source;I.add(J?J.call(I,Z):Z?P._subscribe(I):P._trySubscribe(I))}),I},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(P,I){var V=new n.SafeSubscriber({next:function(J){try{b(J)}catch(Z){I(Z),V.unsubscribe()}},error:I,complete:P});S.subscribe(V)})},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,P){var I;T.subscribe(function(V){return I=V},function(V){return P(V)},function(){return S(I)})})},v.create=function(b){return new v(b)},v}();function m(v){var b;return null!==(b=null!=v?v:r.config.Promise)&&void 0!==b?b:Promise}o.Observable=p},3406:function(G,o,a){"use strict";var r,n=this&&this.__extends||(r=function(l,f){return(r=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])})(l,f)},function(l,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=l}r(l,f),l.prototype=null===f?Object.create(f):(p.prototype=f.prototype,new p)});Object.defineProperty(o,"__esModule",{value:!0}),o.ReplaySubject=void 0;var h=a(3768),y=a(8354),d=function(r){function l(f,p,m){void 0===f&&(f=1/0),void 0===p&&(p=1/0),void 0===m&&(m=y.dateTimestampProvider);var u=r.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(l,r),l.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(),r.prototype.next.call(this,f)},l.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},l.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)}},l}(h.Subject);o.ReplaySubject=d},2716:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.Scheduler=void 0;var n=a(8354),h=function(){function y(d,r){void 0===r&&(r=y.now),this.schedulerActionCtor=d,this.now=r}return y.prototype.schedule=function(d,r,l){return void 0===r&&(r=0),new this.schedulerActionCtor(this,d).schedule(l,r)},y.now=n.dateTimestampProvider.now,y}();o.Scheduler=h},3768:function(G,o,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(o,"__esModule",{value:!0}),o.AnonymousSubject=o.Subject=void 0;var y=a(5821),d=a(6448),r=a(3965),l=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 r.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 P=h(b.currentObservers),I=P.next();!I.done;I=P.next())I.value.next(v)}catch(J){T={error:J}}finally{try{I&&!I.done&&(S=P.return)&&S.call(P)}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,I=T.observers;return T.hasError||T.isStopped?d.EMPTY_SUBSCRIPTION:(this.currentObservers=null,I.push(v),new d.Subscription(function(){b.currentObservers=null,l.arrRemove(I,v)}))},_.prototype._checkFinalizedStatuses=function(v){var b=this,P=b.isStopped;b.hasError?v.error(b.thrownError):P&&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);o.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);o.AnonymousSubject=m},7052:function(G,o,a){"use strict";var V,n=this&&this.__extends||(V=function(J,Z){return(V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(X,U){X.__proto__=U}||function(X,U){for(var oe in U)Object.prototype.hasOwnProperty.call(U,oe)&&(X[oe]=U[oe])})(J,Z)},function(J,Z){if("function"!=typeof Z&&null!==Z)throw new TypeError("Class extends value "+String(Z)+" is not a constructor or null");function X(){this.constructor=J}V(J,Z),J.prototype=null===Z?Object.create(Z):(X.prototype=Z.prototype,new X)});Object.defineProperty(o,"__esModule",{value:!0}),o.EMPTY_OBSERVER=o.SafeSubscriber=o.Subscriber=void 0;var h=a(7104),y=a(6448),d=a(3570),r=a(4709),l=a(31),f=a(6941),p=a(3914),m=a(5808),u=function(V){function J(Z){var X=V.call(this)||this;return X.isStopped=!1,Z?(X.destination=Z,y.isSubscription(Z)&&Z.add(X)):X.destination=o.EMPTY_OBSERVER,X}return n(J,V),J.create=function(Z,X,U){return new T(Z,X,U)},J.prototype.next=function(Z){this.isStopped?I(f.nextNotification(Z),this):this._next(Z)},J.prototype.error=function(Z){this.isStopped?I(f.errorNotification(Z),this):(this.isStopped=!0,this._error(Z))},J.prototype.complete=function(){this.isStopped?I(f.COMPLETE_NOTIFICATION,this):(this.isStopped=!0,this._complete())},J.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,V.prototype.unsubscribe.call(this),this.destination=null)},J.prototype._next=function(Z){this.destination.next(Z)},J.prototype._error=function(Z){try{this.destination.error(Z)}finally{this.unsubscribe()}},J.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},J}(y.Subscription);o.Subscriber=u;var _=Function.prototype.bind;function v(V,J){return _.call(V,J)}var b=function(){function V(J){this.partialObserver=J}return V.prototype.next=function(J){var Z=this.partialObserver;if(Z.next)try{Z.next(J)}catch(X){S(X)}},V.prototype.error=function(J){var Z=this.partialObserver;if(Z.error)try{Z.error(J)}catch(X){S(X)}else S(J)},V.prototype.complete=function(){var J=this.partialObserver;if(J.complete)try{J.complete()}catch(Z){S(Z)}},V}(),T=function(V){function J(Z,X,U){var le,me,oe=V.call(this)||this;return h.isFunction(Z)||!Z?le={next:null!=Z?Z:void 0,error:null!=X?X:void 0,complete:null!=U?U:void 0}:oe&&d.config.useDeprecatedNextContext?((me=Object.create(Z)).unsubscribe=function(){return oe.unsubscribe()},le={next:Z.next&&v(Z.next,me),error:Z.error&&v(Z.error,me),complete:Z.complete&&v(Z.complete,me)}):le=Z,oe.destination=new b(le),oe}return n(J,V),J}(u);function S(V){d.config.useDeprecatedSynchronousErrorHandling?m.captureError(V):r.reportUnhandledError(V)}function I(V,J){var Z=d.config.onStoppedNotification;Z&&p.timeoutProvider.setTimeout(function(){return Z(V,J)})}o.SafeSubscriber=T,o.EMPTY_OBSERVER={closed:!0,next:l.noop,error:function P(V){throw V},complete:l.noop}},6448:function(G,o,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,P,b=v.call(u),S=[];try{for(;(void 0===_||_-- >0)&&!(T=b.next()).done;)S.push(T.value)}catch(I){P={error:I}}finally{try{T&&!T.done&&(v=b.return)&&v.call(b)}finally{if(P)throw P.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(o,"__esModule",{value:!0}),o.isSubscription=o.EMPTY_SUBSCRIPTION=o.Subscription=void 0;var d=a(7104),r=a(4970),l=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 P=this._parentage;if(P)if(this._parentage=null,Array.isArray(P))try{for(var I=n(P),V=I.next();!V.done;V=I.next())V.value.remove(this)}catch(me){_={error:me}}finally{try{V&&!V.done&&(v=I.return)&&v.call(I)}finally{if(_)throw _.error}}else P.remove(this);var Z=this.initialTeardown;if(d.isFunction(Z))try{Z()}catch(me){S=me instanceof r.UnsubscriptionError?me.errors:[me]}var X=this._finalizers;if(X){this._finalizers=null;try{for(var U=n(X),oe=U.next();!oe.done;oe=U.next()){var le=oe.value;try{m(le)}catch(me){S=null!=S?S:[],me instanceof r.UnsubscriptionError?S=y(y([],h(S)),h(me.errors)):S.push(me)}}}catch(me){b={error:me}}finally{try{oe&&!oe.done&&(T=U.return)&&T.call(U)}finally{if(b)throw b.error}}}if(S)throw new r.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)&&l.arrRemove(v,_)},u.prototype.remove=function(_){var v=this._finalizers;v&&l.arrRemove(v,_),_ instanceof u&&_._removeParent(this)},u.EMPTY=((_=new u).closed=!0,_),u;var _}();function m(u){d.isFunction(u)?u():u.unsubscribe()}o.Subscription=f,o.EMPTY_SUBSCRIPTION=f.EMPTY,o.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,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.config=void 0,o.config={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},5754:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.firstValueFrom=void 0;var n=a(8915),h=a(7052);o.firstValueFrom=function y(d,r){var l="object"==typeof r;return new Promise(function(f,p){var m=new h.SafeSubscriber({next:function(u){f(u),m.unsubscribe()},error:p,complete:function(){l?f(r.defaultValue):p(new n.EmptyError)}});d.subscribe(m)})}},5257:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.lastValueFrom=void 0;var n=a(8915);o.lastValueFrom=function h(y,d){var r="object"==typeof d;return new Promise(function(l,f){var m,p=!1;y.subscribe({next:function(u){m=u,p=!0},error:f,complete:function(){p?l(m):r?l(d.defaultValue):f(new n.EmptyError)}})})}},6686:function(G,o,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(o,"__esModule",{value:!0}),o.ConnectableObservable=void 0;var h=a(5821),y=a(6448),d=a(904),r=a(3173),l=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,l.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(r.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);o.ConnectableObservable=f},7532:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.bindCallback=void 0;var n=a(4832);o.bindCallback=function h(y,d,r){return n.bindCallbackInternals(!1,y,d,r)}},4832:function(G,o,a){"use strict";var n=this&&this.__read||function(u,_){var v="function"==typeof Symbol&&u[Symbol.iterator];if(!v)return u;var T,P,b=v.call(u),S=[];try{for(;(void 0===_||_-- >0)&&!(T=b.next()).done;)S.push(T.value)}catch(I){P={error:I}}finally{try{T&&!T.done&&(v=b.return)&&v.call(b)}finally{if(P)throw P.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(o,"__esModule",{value:!0}),o.bindCallbackInternals=void 0;var y=a(1875),d=a(5821),r=a(1698),l=a(5280),f=a(4928),p=a(7606);o.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(l.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(r.subscribeOn(b),f.observeOn(b))}:function(){for(var T=this,S=[],P=0;P<arguments.length;P++)S[P]=arguments[P];var I=new p.AsyncSubject,V=!0;return new d.Observable(function(J){var Z=I.subscribe(J);if(V){V=!1;var X=!1,U=!1;_.apply(T,h(h([],n(S)),[function(){for(var oe=[],le=0;le<arguments.length;le++)oe[le]=arguments[le];if(u){var me=oe.shift();if(null!=me)return void I.error(me)}I.next(1<oe.length?oe:oe[0]),U=!0,X&&I.complete()}])),U&&I.complete(),X=!0}return Z})}}},3488:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.bindNodeCallback=void 0;var n=a(4832);o.bindNodeCallback=function h(y,d,r){return n.bindCallbackInternals(!0,y,d,r)}},6892:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.combineLatestInit=o.combineLatest=void 0;var n=a(5821),h=a(9923),y=a(4996),d=a(7884),r=a(5280),l=a(1642),f=a(7598),p=a(3173),m=a(2590);function _(b,T,S){return void 0===S&&(S=d.identity),function(P){v(T,function(){for(var I=b.length,V=new Array(I),J=I,Z=I,X=function(oe){v(T,function(){var le=y.from(b[oe],T),me=!1;le.subscribe(p.createOperatorSubscriber(P,function(De){V[oe]=De,me||(me=!0,Z--),Z||P.next(S(V.slice()))},function(){--J||P.complete()}))},P)},U=0;U<I;U++)X(U)},P)}}function v(b,T,S){b?m.executeSchedule(S,b,T):T()}o.combineLatest=function u(){for(var b=[],T=0;T<arguments.length;T++)b[T]=arguments[T];var S=l.popScheduler(b),P=l.popResultSelector(b),I=h.argsArgArrayOrObject(b),V=I.args,J=I.keys;if(0===V.length)return y.from([],S);var Z=new n.Observable(_(V,S,J?function(X){return f.createObject(J,X)}:d.identity));return P?Z.pipe(r.mapOneOrManyArgs(P)):Z},o.combineLatestInit=_},509:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.concat=void 0;var n=a(739),h=a(1642),y=a(4996);o.concat=function d(){for(var r=[],l=0;l<arguments.length;l++)r[l]=arguments[l];return n.concatAll()(y.from(r,h.popScheduler(r)))}},9190:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.connectable=void 0;var n=a(3768),h=a(5821),y=a(9954),d={connector:function(){return new n.Subject},resetOnDisconnect:!0};o.connectable=function r(l,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 l}).subscribe(v),_&&p.add(function(){return v=m()})),p},b}},9954:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.defer=void 0;var n=a(5821),h=a(8767);o.defer=function y(d){return new n.Observable(function(r){h.innerFrom(d()).subscribe(r)})}},2946:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.animationFrames=void 0;var n=a(5821),h=a(6448),y=a(1038),d=a(6343);function l(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 P=v.now();u.next({timestamp:p?P:S,elapsed:P-b}),u.closed||_.add(m(T))};return _.add(m(T)),_})}o.animationFrames=function r(p){return p?l(p):f};var f=l()},7406:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.empty=o.EMPTY=void 0;var n=a(5821);o.EMPTY=new n.Observable(function(d){return d.complete()}),o.empty=function h(d){return d?function y(d){return new n.Observable(function(r){return d.schedule(function(){return r.complete()})})}(d):o.EMPTY}},7928:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.forkJoin=void 0;var n=a(5821),h=a(9923),y=a(8767),d=a(1642),r=a(3173),l=a(5280),f=a(7598);o.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(P){var I=b.length;if(I)for(var V=new Array(I),J=I,Z=I,X=function(oe){var le=!1;y.innerFrom(b[oe]).subscribe(r.createOperatorSubscriber(P,function(me){le||(le=!0,Z--),V[oe]=me},function(){return J--},void 0,function(){(!J||!le)&&(Z||P.next(T?f.createObject(T,V):V),P.complete())}))},U=0;U<I;U++)X(U);else P.complete()});return _?S.pipe(l.mapOneOrManyArgs(_)):S}},4996:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.from=void 0;var n=a(9341),h=a(8767);o.from=function y(d,r){return r?n.scheduled(d,r):h.innerFrom(d)}},2579:function(G,o,a){"use strict";var n=this&&this.__read||function(P,I){var V="function"==typeof Symbol&&P[Symbol.iterator];if(!V)return P;var Z,U,J=V.call(P),X=[];try{for(;(void 0===I||I-- >0)&&!(Z=J.next()).done;)X.push(Z.value)}catch(oe){U={error:oe}}finally{try{Z&&!Z.done&&(V=J.return)&&V.call(J)}finally{if(U)throw U.error}}return X};Object.defineProperty(o,"__esModule",{value:!0}),o.fromEvent=void 0;var h=a(8767),y=a(5821),d=a(3010),r=a(697),l=a(7104),f=a(5280),p=["addListener","removeListener"],m=["addEventListener","removeEventListener"],u=["on","off"];function v(P,I){return function(V){return function(J){return P[V](I,J)}}}o.fromEvent=function _(P,I,V,J){if(l.isFunction(V)&&(J=V,V=void 0),J)return _(P,I,V).pipe(f.mapOneOrManyArgs(J));var Z=n(function S(P){return l.isFunction(P.addEventListener)&&l.isFunction(P.removeEventListener)}(P)?m.map(function(oe){return function(le){return P[oe](I,le,V)}}):function b(P){return l.isFunction(P.addListener)&&l.isFunction(P.removeListener)}(P)?p.map(v(P,I)):function T(P){return l.isFunction(P.on)&&l.isFunction(P.off)}(P)?u.map(v(P,I)):[],2),X=Z[0],U=Z[1];if(!X&&r.isArrayLike(P))return d.mergeMap(function(oe){return _(oe,I,V)})(h.innerFrom(P));if(!X)throw new TypeError("Invalid event target");return new y.Observable(function(oe){var le=function(){for(var me=[],De=0;De<arguments.length;De++)me[De]=arguments[De];return oe.next(1<me.length?me:me[0])};return X(le),function(){return U(le)}})}},3975:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.fromEventPattern=void 0;var n=a(5821),h=a(7104),y=a(5280);o.fromEventPattern=function d(r,l,f){return f?d(r,l).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=r(m);return h.isFunction(l)?function(){return l(m,u)}:void 0})}},5107:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.fromSubscribable=void 0;var n=a(5821);o.fromSubscribable=function h(y){return new n.Observable(function(d){return y.subscribe(d)})}},4318:function(G,o,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(P){return function(I){return function S(P){if(u)throw new TypeError("Generator is already executing.");for(;m;)try{if(u=1,_&&(v=2&P[0]?_.return:P[0]?_.throw||((v=_.return)&&v.call(_),0):_.next)&&!(v=v.call(_,P[1])).done)return v;switch(_=0,v&&(P=[2&P[0],v.value]),P[0]){case 0:case 1:v=P;break;case 4:return m.label++,{value:P[1],done:!1};case 5:m.label++,_=P[1],P=[0];continue;case 7:P=m.ops.pop(),m.trys.pop();continue;default:if(!(v=(v=m.trys).length>0&&v[v.length-1])&&(6===P[0]||2===P[0])){m=0;continue}if(3===P[0]&&(!v||P[1]>v[0]&&P[1]<v[3])){m.label=P[1];break}if(6===P[0]&&m.label<v[1]){m.label=v[1],v=P;break}if(v&&m.label<v[2]){m.label=v[2],m.ops.push(P);break}v[2]&&m.ops.pop(),m.trys.pop();continue}P=p.call(f,m)}catch(I){P=[6,I],_=0}finally{u=v=0}if(5&P[0])throw P[1];return{value:P[0]?P[1]:void 0,done:!0}}([P,I])}}};Object.defineProperty(o,"__esModule",{value:!0}),o.generate=void 0;var h=a(7884),y=a(1875),d=a(9954),r=a(9049);o.generate=function l(f,p,m,u,_){var v,b,T,S;function P(){var I;return n(this,function(V){switch(V.label){case 0:I=S,V.label=1;case 1:return!p||p(I)?[4,T(I)]:[3,4];case 2:V.sent(),V.label=3;case 3:return I=m(I),[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 r.scheduleIterable(P(),_)}:P)}},3140:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.iif=void 0;var n=a(9954);o.iif=function h(y,d,r){return n.defer(function(){return y()?d:r})}},8767:function(G,o,a){"use strict";var n=this&&this.__awaiter||function(le,me,De,We){return new(De||(De=Promise))(function(ue,$){function ce(et){try{_e(We.next(et))}catch(dt){$(dt)}}function de(et){try{_e(We.throw(et))}catch(dt){$(dt)}}function _e(et){et.done?ue(et.value):function Q(ue){return ue instanceof De?ue:new De(function($){$(ue)})}(et.value).then(ce,de)}_e((We=We.apply(le,me||[])).next())})},h=this&&this.__generator||function(le,me){var We,Q,ue,$,De={label:0,sent:function(){if(1&ue[0])throw ue[1];return ue[1]},trys:[],ops:[]};return $={next:ce(0),throw:ce(1),return:ce(2)},"function"==typeof Symbol&&($[Symbol.iterator]=function(){return this}),$;function ce(_e){return function(et){return function de(_e){if(We)throw new TypeError("Generator is already executing.");for(;De;)try{if(We=1,Q&&(ue=2&_e[0]?Q.return:_e[0]?Q.throw||((ue=Q.return)&&ue.call(Q),0):Q.next)&&!(ue=ue.call(Q,_e[1])).done)return ue;switch(Q=0,ue&&(_e=[2&_e[0],ue.value]),_e[0]){case 0:case 1:ue=_e;break;case 4:return De.label++,{value:_e[1],done:!1};case 5:De.label++,Q=_e[1],_e=[0];continue;case 7:_e=De.ops.pop(),De.trys.pop();continue;default:if(!(ue=(ue=De.trys).length>0&&ue[ue.length-1])&&(6===_e[0]||2===_e[0])){De=0;continue}if(3===_e[0]&&(!ue||_e[1]>ue[0]&&_e[1]<ue[3])){De.label=_e[1];break}if(6===_e[0]&&De.label<ue[1]){De.label=ue[1],ue=_e;break}if(ue&&De.label<ue[2]){De.label=ue[2],De.ops.push(_e);break}ue[2]&&De.ops.pop(),De.trys.pop();continue}_e=me.call(le,De)}catch(et){_e=[6,et],Q=0}finally{We=ue=0}if(5&_e[0])throw _e[1];return{value:_e[0]?_e[1]:void 0,done:!0}}([_e,et])}}},y=this&&this.__asyncValues||function(le){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var De,me=le[Symbol.asyncIterator];return me?me.call(le):(le="function"==typeof d?d(le):le[Symbol.iterator](),De={},We("next"),We("throw"),We("return"),De[Symbol.asyncIterator]=function(){return this},De);function We(ue){De[ue]=le[ue]&&function($){return new Promise(function(ce,de){!function Q(ue,$,ce,de){Promise.resolve(de).then(function(_e){ue({value:_e,done:ce})},$)}(ce,de,($=le[ue]($)).done,$.value)})}}},d=this&&this.__values||function(le){var me="function"==typeof Symbol&&Symbol.iterator,De=me&&le[me],We=0;if(De)return De.call(le);if(le&&"number"==typeof le.length)return{next:function(){return le&&We>=le.length&&(le=void 0),{value:le&&le[We++],done:!le}}};throw new TypeError(me?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0}),o.fromReadableStreamLike=o.fromAsyncIterable=o.fromIterable=o.fromPromise=o.fromArrayLike=o.fromInteropObservable=o.innerFrom=void 0;var r=a(697),l=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 I(le){return new f.Observable(function(me){var De=le[S.observable]();if(b.isFunction(De.subscribe))return De.subscribe(me);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function V(le){return new f.Observable(function(me){for(var De=0;De<le.length&&!me.closed;De++)me.next(le[De]);me.complete()})}function J(le){return new f.Observable(function(me){le.then(function(De){me.closed||(me.next(De),me.complete())},function(De){return me.error(De)}).then(null,T.reportUnhandledError)})}function Z(le){return new f.Observable(function(me){var De,We;try{for(var Q=d(le),ue=Q.next();!ue.done;ue=Q.next())if(me.next(ue.value),me.closed)return}catch(ce){De={error:ce}}finally{try{ue&&!ue.done&&(We=Q.return)&&We.call(Q)}finally{if(De)throw De.error}}me.complete()})}function X(le){return new f.Observable(function(me){(function oe(le,me){var De,We,Q,ue;return n(this,void 0,void 0,function(){var ce;return h(this,function(de){switch(de.label){case 0:de.trys.push([0,5,6,11]),De=y(le),de.label=1;case 1:return[4,De.next()];case 2:if((We=de.sent()).done)return[3,4];if(me.next(We.value),me.closed)return[2];de.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return ce=de.sent(),Q={error:ce},[3,11];case 6:return de.trys.push([6,,9,10]),We&&!We.done&&(ue=De.return)?[4,ue.call(De)]:[3,8];case 7:de.sent(),de.label=8;case 8:return[3,10];case 9:if(Q)throw Q.error;return[7];case 10:return[7];case 11:return me.complete(),[2]}})})})(le,me).catch(function(De){return me.error(De)})})}function U(le){return X(v.readableStreamLikeToAsyncGenerator(le))}o.innerFrom=function P(le){if(le instanceof f.Observable)return le;if(null!=le){if(p.isInteropObservable(le))return I(le);if(r.isArrayLike(le))return V(le);if(l.isPromise(le))return J(le);if(m.isAsyncIterable(le))return X(le);if(_.isIterable(le))return Z(le);if(v.isReadableStreamLike(le))return U(le)}throw u.createInvalidObservableTypeError(le)},o.fromInteropObservable=I,o.fromArrayLike=V,o.fromPromise=J,o.fromIterable=Z,o.fromAsyncIterable=X,o.fromReadableStreamLike=U},1836:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.interval=void 0;var n=a(4006),h=a(3271);o.interval=function y(d,r){return void 0===d&&(d=0),void 0===r&&(r=n.asyncScheduler),d<0&&(d=0),h.timer(d,d,r)}},9248:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.merge=void 0;var n=a(3917),h=a(8767),y=a(7406),d=a(1642),r=a(4996);o.merge=function l(){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)(r.from(_,m)):y.EMPTY}},2818:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.never=o.NEVER=void 0;var n=a(5821),h=a(31);o.NEVER=new n.Observable(h.noop),o.never=function y(){return o.NEVER}},9677:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.of=void 0;var n=a(1642),h=a(4996);o.of=function y(){for(var d=[],r=0;r<arguments.length;r++)d[r]=arguments[r];var l=n.popScheduler(d);return h.from(d,l)}},9978:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.onErrorResumeNext=void 0;var n=a(7406),h=a(2158),y=a(3531);o.onErrorResumeNext=function d(){for(var r=[],l=0;l<arguments.length;l++)r[l]=arguments[l];return h.onErrorResumeNext(y.argsOrArgArray(r))(n.EMPTY)}},5519:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.pairs=void 0;var n=a(4996);o.pairs=function h(y,d){return n.from(Object.entries(y),d)}},8221:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.partition=void 0;var n=a(963),h=a(4270),y=a(8767);o.partition=function d(r,l,f){return[h.filter(l,f)(y.innerFrom(r)),h.filter(n.not(l,f))(y.innerFrom(r))]}},8181:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.raceInit=o.race=void 0;var n=a(5821),h=a(8767),y=a(3531),d=a(3173);function l(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(_)}}o.race=function r(){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(l(f))},o.raceInit=l},4622:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.range=void 0;var n=a(5821),h=a(7406);o.range=function y(d,r,l){if(null==r&&(r=d,d=0),r<=0)return h.EMPTY;var f=r+d;return new n.Observable(l?function(p){var m=d;return l.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,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.throwError=void 0;var n=a(5821),h=a(7104);o.throwError=function y(d,r){var l=h.isFunction(d)?d:function(){return d},f=function(p){return p.error(l())};return new n.Observable(r?function(p){return r.schedule(f,0,p)}:f)}},3271:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.timer=void 0;var n=a(5821),h=a(4006),y=a(1875),d=a(7323);o.timer=function r(l,f,p){void 0===l&&(l=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(l)?+l-p.now():l;_<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,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.using=void 0;var n=a(5821),h=a(8767),y=a(7406);o.using=function d(r,l){return new n.Observable(function(f){var p=r(),m=l(p);return(m?h.innerFrom(m):y.EMPTY).subscribe(f),function(){p&&p.unsubscribe()}})}},4842:function(G,o,a){"use strict";var n=this&&this.__read||function(u,_){var v="function"==typeof Symbol&&u[Symbol.iterator];if(!v)return u;var T,P,b=v.call(u),S=[];try{for(;(void 0===_||_-- >0)&&!(T=b.next()).done;)S.push(T.value)}catch(I){P={error:I}}finally{try{T&&!T.done&&(v=b.return)&&v.call(b)}finally{if(P)throw P.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(o,"__esModule",{value:!0}),o.zip=void 0;var y=a(5821),d=a(8767),r=a(3531),l=a(7406),f=a(3173),p=a(1642);o.zip=function m(){for(var u=[],_=0;_<arguments.length;_++)u[_]=arguments[_];var v=p.popResultSelector(u),b=r.argsOrArgArray(u);return b.length?new y.Observable(function(T){var S=b.map(function(){return[]}),P=b.map(function(){return!1});T.add(function(){S=P=null});for(var I=function(J){d.innerFrom(b[J]).subscribe(f.createOperatorSubscriber(T,function(Z){if(S[J].push(Z),S.every(function(U){return U.length})){var X=S.map(function(U){return U.shift()});T.next(v?v.apply(void 0,h([],n(X))):X),S.some(function(U,oe){return!U.length&&P[oe]})&&T.complete()}},function(){P[J]=!0,!S[J].length&&T.complete()}))},V=0;!T.closed&&V<b.length;V++)I(V);return function(){S=P=null}}):l.EMPTY}},3173:function(G,o,a){"use strict";var r,n=this&&this.__extends||(r=function(l,f){return(r=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])})(l,f)},function(l,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=l}r(l,f),l.prototype=null===f?Object.create(f):(p.prototype=f.prototype,new p)});Object.defineProperty(o,"__esModule",{value:!0}),o.OperatorSubscriber=o.createOperatorSubscriber=void 0;var h=a(7052);o.createOperatorSubscriber=function y(r,l,f,p,m){return new d(r,l,f,p,m)};var d=function(r){function l(f,p,m,u,_,v){var b=r.call(this,f)||this;return b.onFinalize=_,b.shouldUnsubscribe=v,b._next=p?function(T){try{p(T)}catch(S){f.error(S)}}:r.prototype._next,b._error=u?function(T){try{u(T)}catch(S){f.error(S)}finally{this.unsubscribe()}}:r.prototype._error,b._complete=m?function(){try{m()}catch(T){f.error(T)}finally{this.unsubscribe()}}:r.prototype._complete,b}return n(l,r),l.prototype.unsubscribe=function(){var f;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var p=this.closed;r.prototype.unsubscribe.call(this),!p&&(null===(f=this.onFinalize)||void 0===f||f.call(this))}},l}(h.Subscriber);o.OperatorSubscriber=d},4815:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.audit=void 0;var n=a(9216),h=a(8767),y=a(3173);o.audit=function d(r){return n.operate(function(l,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()};l.subscribe(y.createOperatorSubscriber(f,function(T){p=!0,m=T,u||h.innerFrom(r(T)).subscribe(u=y.createOperatorSubscriber(f,v,b))},function(){_=!0,(!p||!u||u.closed)&&f.complete()}))})}},9034:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.auditTime=void 0;var n=a(4006),h=a(4815),y=a(3271);o.auditTime=function d(r,l){return void 0===l&&(l=n.asyncScheduler),h.audit(function(){return y.timer(r,l)})}},8544:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.buffer=void 0;var n=a(9216),h=a(31),y=a(3173);o.buffer=function d(r){return n.operate(function(l,f){var p=[];return l.subscribe(y.createOperatorSubscriber(f,function(m){return p.push(m)},function(){f.next(p),f.complete()})),r.subscribe(y.createOperatorSubscriber(f,function(){var m=p;p=[],f.next(m)},h.noop)),function(){p=null}})}},3999:function(G,o,a){"use strict";var n=this&&this.__values||function(l){var f="function"==typeof Symbol&&Symbol.iterator,p=f&&l[f],m=0;if(p)return p.call(l);if(l&&"number"==typeof l.length)return{next:function(){return l&&m>=l.length&&(l=void 0),{value:l&&l[m++],done:!l}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0}),o.bufferCount=void 0;var h=a(9216),y=a(3173),d=a(5137);o.bufferCount=function r(l,f){return void 0===f&&(f=null),f=null!=f?f:l,h.operate(function(p,m){var u=[],_=0;p.subscribe(y.createOperatorSubscriber(m,function(v){var b,T,S,P,I=null;_++%f==0&&u.push([]);try{for(var V=n(u),J=V.next();!J.done;J=V.next())(Z=J.value).push(v),l<=Z.length&&(I=null!=I?I:[]).push(Z)}catch(oe){b={error:oe}}finally{try{J&&!J.done&&(T=V.return)&&T.call(V)}finally{if(b)throw b.error}}if(I)try{for(var X=n(I),U=X.next();!U.done;U=X.next()){var Z;d.arrRemove(u,Z=U.value),m.next(Z)}}catch(oe){S={error:oe}}finally{try{U&&!U.done&&(P=X.return)&&P.call(X)}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(I){v={error:I}}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,o,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(o,"__esModule",{value:!0}),o.bufferTime=void 0;var h=a(6448),y=a(9216),d=a(3173),r=a(5137),l=a(4006),f=a(1642),p=a(2590);o.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!==_?_:l.asyncScheduler,P=null!==(v=b[0])&&void 0!==v?v:null,I=b[1]||1/0;return y.operate(function(V,J){var Z=[],X=!1,U=function(me){var De=me.buffer;me.subs.unsubscribe(),r.arrRemove(Z,me),J.next(De),X&&oe()},oe=function(){if(Z){var me=new h.Subscription;J.add(me);var We={buffer:[],subs:me};Z.push(We),p.executeSchedule(me,S,function(){return U(We)},u)}};null!==P&&P>=0?p.executeSchedule(J,S,oe,P,!0):X=!0,oe();var le=d.createOperatorSubscriber(J,function(me){var De,We,Q=Z.slice();try{for(var ue=n(Q),$=ue.next();!$.done;$=ue.next()){var ce=$.value,de=ce.buffer;de.push(me),I<=de.length&&U(ce)}}catch(_e){De={error:_e}}finally{try{$&&!$.done&&(We=ue.return)&&We.call(ue)}finally{if(De)throw De.error}}},function(){for(;null==Z?void 0:Z.length;)J.next(Z.shift().buffer);null==le||le.unsubscribe(),J.complete(),J.unsubscribe()},void 0,function(){return Z=null});V.subscribe(le)})}},555:function(G,o,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(o,"__esModule",{value:!0}),o.bufferToggle=void 0;var h=a(6448),y=a(9216),d=a(8767),r=a(3173),l=a(31),f=a(5137);o.bufferToggle=function p(m,u){return y.operate(function(_,v){var b=[];d.innerFrom(m).subscribe(r.createOperatorSubscriber(v,function(T){var S=[];b.push(S);var P=new h.Subscription;P.add(d.innerFrom(u(T)).subscribe(r.createOperatorSubscriber(v,function(){f.arrRemove(b,S),v.next(S),P.unsubscribe()},l.noop)))},l.noop)),_.subscribe(r.createOperatorSubscriber(v,function(T){var S,P;try{for(var I=n(b),V=I.next();!V.done;V=I.next())V.value.push(T)}catch(Z){S={error:Z}}finally{try{V&&!V.done&&(P=I.return)&&P.call(I)}finally{if(S)throw S.error}}},function(){for(;b.length>0;)v.next(b.shift());v.complete()}))})}},7274:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.bufferWhen=void 0;var n=a(9216),h=a(31),y=a(3173),d=a(8767);o.bufferWhen=function r(l){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(l()).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,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.catchError=void 0;var n=a(8767),h=a(3173),y=a(9216);o.catchError=function d(r){return y.operate(function(l,f){var u,p=null,m=!1;p=l.subscribe(h.createOperatorSubscriber(f,void 0,void 0,function(_){u=n.innerFrom(r(_,d(r)(l))),p?(p.unsubscribe(),p=null,u.subscribe(f)):m=!0})),m&&(p.unsubscribe(),p=null,u.subscribe(f))})}},8996:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.combineAll=void 0;var n=a(8931);o.combineAll=n.combineLatestAll},5538:function(G,o,a){"use strict";var n=this&&this.__read||function(u,_){var v="function"==typeof Symbol&&u[Symbol.iterator];if(!v)return u;var T,P,b=v.call(u),S=[];try{for(;(void 0===_||_-- >0)&&!(T=b.next()).done;)S.push(T.value)}catch(I){P={error:I}}finally{try{T&&!T.done&&(v=b.return)&&v.call(b)}finally{if(P)throw P.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(o,"__esModule",{value:!0}),o.combineLatest=void 0;var y=a(6892),d=a(9216),r=a(3531),l=a(5280),f=a(1471),p=a(1642);o.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))),l.mapOneOrManyArgs(v)):d.operate(function(b,T){y.combineLatestInit(h([b],n(r.argsOrArgArray(u))))(T)})}},8931:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.combineLatestAll=void 0;var n=a(6892),h=a(1277);o.combineLatestAll=function y(d){return h.joinAllInternals(n.combineLatest,d)}},8947:function(G,o,a){"use strict";var n=this&&this.__read||function(r,l){var f="function"==typeof Symbol&&r[Symbol.iterator];if(!f)return r;var m,_,p=f.call(r),u=[];try{for(;(void 0===l||l-- >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(r,l){for(var f=0,p=l.length,m=r.length;f<p;f++,m++)r[m]=l[f];return r};Object.defineProperty(o,"__esModule",{value:!0}),o.combineLatestWith=void 0;var y=a(5538);o.combineLatestWith=function d(){for(var r=[],l=0;l<arguments.length;l++)r[l]=arguments[l];return y.combineLatest.apply(void 0,h([],n(r)))}},4656:function(G,o,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(o,"__esModule",{value:!0}),o.concat=void 0;var y=a(9216),d=a(739),r=a(1642),l=a(4996);o.concat=function f(){for(var p=[],m=0;m<arguments.length;m++)p[m]=arguments[m];var u=r.popScheduler(p);return y.operate(function(_,v){d.concatAll()(l.from(h([_],n(p)),u)).subscribe(v)})}},739:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.concatAll=void 0;var n=a(3917);o.concatAll=function h(){return n.mergeAll(1)}},4659:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.concatMap=void 0;var n=a(3010),h=a(7104);o.concatMap=function y(d,r){return h.isFunction(r)?n.mergeMap(d,r,1):n.mergeMap(d,1)}},2993:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.concatMapTo=void 0;var n=a(4659),h=a(7104);o.concatMapTo=function y(d,r){return h.isFunction(r)?n.concatMap(function(){return d},r):n.concatMap(function(){return d})}},5898:function(G,o,a){"use strict";var n=this&&this.__read||function(r,l){var f="function"==typeof Symbol&&r[Symbol.iterator];if(!f)return r;var m,_,p=f.call(r),u=[];try{for(;(void 0===l||l-- >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(r,l){for(var f=0,p=l.length,m=r.length;f<p;f++,m++)r[m]=l[f];return r};Object.defineProperty(o,"__esModule",{value:!0}),o.concatWith=void 0;var y=a(4656);o.concatWith=function d(){for(var r=[],l=0;l<arguments.length;l++)r[l]=arguments[l];return y.concat.apply(void 0,h([],n(r)))}},9725:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.connect=void 0;var n=a(3768),h=a(4996),y=a(9216),d=a(5107),r={connector:function(){return new n.Subject}};o.connect=function l(f,p){void 0===p&&(p=r);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,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.count=void 0;var n=a(8587);o.count=function h(y){return n.reduce(function(d,r,l){return!y||y(r,l)?d+1:d},0)}},9784:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.debounce=void 0;var n=a(9216),h=a(31),y=a(3173),d=a(8767);o.debounce=function r(l){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(l(b)).subscribe(_)},function(){v(),p.complete()},void 0,function(){u=_=null}))})}},7061:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.debounceTime=void 0;var n=a(4006),h=a(9216),y=a(3173);o.debounceTime=function d(r,l){return void 0===l&&(l=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=_+r,S=l.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,_=l.now(),m||(m=l.schedule(b,r),p.add(m))},function(){v(),p.complete()},void 0,function(){u=m=null}))})}},926:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.defaultIfEmpty=void 0;var n=a(9216),h=a(3173);o.defaultIfEmpty=function y(d){return n.operate(function(r,l){var f=!1;r.subscribe(h.createOperatorSubscriber(l,function(p){f=!0,l.next(p)},function(){f||l.next(d),l.complete()}))})}},2096:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.delay=void 0;var n=a(4006),h=a(3264),y=a(3271);o.delay=function d(r,l){void 0===l&&(l=n.asyncScheduler);var f=y.timer(r,l);return h.delayWhen(function(){return f})}},3264:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.delayWhen=void 0;var n=a(509),h=a(1333),y=a(4041),d=a(2182),r=a(3010);o.delayWhen=function l(f,p){return p?function(m){return n.concat(p.pipe(h.take(1),y.ignoreElements()),m.pipe(l(f)))}:r.mergeMap(function(m,u){return f(m,u).pipe(h.take(1),d.mapTo(m))})}},533:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.dematerialize=void 0;var n=a(7262),h=a(9216),y=a(3173);o.dematerialize=function d(){return h.operate(function(r,l){r.subscribe(y.createOperatorSubscriber(l,function(f){return n.observeNotification(f,l)}))})}},5045:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.distinct=void 0;var n=a(9216),h=a(3173),y=a(31);o.distinct=function d(r,l){return n.operate(function(f,p){var m=new Set;f.subscribe(h.createOperatorSubscriber(p,function(u){var _=r?r(u):u;m.has(_)||(m.add(_),p.next(u))})),null==l||l.subscribe(h.createOperatorSubscriber(p,function(){return m.clear()},y.noop))})}},5794:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.distinctUntilChanged=void 0;var n=a(7884),h=a(9216),y=a(3173);function r(l,f){return l===f}o.distinctUntilChanged=function d(l,f){return void 0===f&&(f=n.identity),l=null!=l?l:r,h.operate(function(p,m){var u,_=!0;p.subscribe(y.createOperatorSubscriber(m,function(v){var b=f(v);(_||!l(u,b))&&(_=!1,u=b,m.next(v))}))})}},8589:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.distinctUntilKeyChanged=void 0;var n=a(5794);o.distinctUntilKeyChanged=function h(y,d){return n.distinctUntilChanged(function(r,l){return d?d(r[y],l[y]):r[y]===l[y]})}},1069:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.elementAt=void 0;var n=a(4769),h=a(4270),y=a(9194),d=a(926),r=a(1333);o.elementAt=function l(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}),r.take(1),m?d.defaultIfEmpty(p):y.throwIfEmpty(function(){return new n.ArgumentOutOfRangeError}))}}},4312:function(G,o,a){"use strict";var n=this&&this.__read||function(l,f){var p="function"==typeof Symbol&&l[Symbol.iterator];if(!p)return l;var u,v,m=p.call(l),_=[];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(l,f){for(var p=0,m=f.length,u=l.length;p<m;p++,u++)l[u]=f[p];return l};Object.defineProperty(o,"__esModule",{value:!0}),o.endWith=void 0;var y=a(509),d=a(9677);o.endWith=function r(){for(var l=[],f=0;f<arguments.length;f++)l[f]=arguments[f];return function(p){return y.concat(p,d.of.apply(void 0,h([],n(l))))}}},9098:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.every=void 0;var n=a(9216),h=a(3173);o.every=function y(d,r){return n.operate(function(l,f){var p=0;l.subscribe(h.createOperatorSubscriber(f,function(m){d.call(r,m,p++,l)||(f.next(!1),f.complete())},function(){f.next(!0),f.complete()}))})}},5429:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.exhaust=void 0;var n=a(1399);o.exhaust=n.exhaustAll},1399:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.exhaustAll=void 0;var n=a(9216),h=a(8767),y=a(3173);o.exhaustAll=function d(){return n.operate(function(r,l){var f=!1,p=null;r.subscribe(y.createOperatorSubscriber(l,function(m){p||(p=h.innerFrom(m).subscribe(y.createOperatorSubscriber(l,void 0,function(){p=null,f&&l.complete()})))},function(){f=!0,!p&&l.complete()}))})}},5183:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.exhaustMap=void 0;var n=a(752),h=a(8767),y=a(9216),d=a(3173);o.exhaustMap=function r(l,f){return f?function(p){return p.pipe(r(function(m,u){return h.innerFrom(l(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(l(b,u++)).subscribe(_))},function(){v=!0,!_&&m.complete()}))})}},8678:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.expand=void 0;var n=a(9216),h=a(8457);o.expand=function y(d,r,l){return void 0===r&&(r=1/0),r=(r||0)<1?1/0:r,n.operate(function(f,p){return h.mergeInternals(f,p,d,r,void 0,!0,l)})}},4270:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.filter=void 0;var n=a(9216),h=a(3173);o.filter=function y(d,r){return n.operate(function(l,f){var p=0;l.subscribe(h.createOperatorSubscriber(f,function(m){return d.call(r,m,p++)&&f.next(m)}))})}},1587:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.finalize=void 0;var n=a(9216);o.finalize=function h(y){return n.operate(function(d,r){try{d.subscribe(r)}finally{r.add(y)}})}},2265:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.createFind=o.find=void 0;var n=a(9216),h=a(3173);function d(r,l,f){var p="index"===f;return function(m,u){var _=0;m.subscribe(h.createOperatorSubscriber(u,function(v){var b=_++;r.call(l,v,b,m)&&(u.next(p?b:v),u.complete())},function(){u.next(p?-1:void 0),u.complete()}))}}o.find=function y(r,l){return n.operate(d(r,l,"value"))},o.createFind=d},8195:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.findIndex=void 0;var n=a(9216),h=a(2265);o.findIndex=function y(d,r){return n.operate(h.createFind(d,r,"index"))}},8012:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.first=void 0;var n=a(8915),h=a(4270),y=a(1333),d=a(926),r=a(9194),l=a(7884);o.first=function f(p,m){var u=arguments.length>=2;return function(_){return _.pipe(p?h.filter(function(v,b){return p(v,b,_)}):l.identity,y.take(1),u?d.defaultIfEmpty(m):r.throwIfEmpty(function(){return new n.EmptyError}))}}},1463:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.flatMap=void 0;var n=a(3010);o.flatMap=n.mergeMap},4075:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.groupBy=void 0;var n=a(5821),h=a(8767),y=a(3768),d=a(9216),r=a(3173);o.groupBy=function l(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(X){T.forEach(X),X(v)},P=function(X){return S(function(U){return U.error(X)})},I=0,V=!1,J=new r.OperatorSubscriber(v,function(X){try{var U=f(X),oe=T.get(U);if(!oe){T.set(U,oe=u?u():new y.Subject);var le=function Z(X,U){var oe=new n.Observable(function(le){I++;var me=U.subscribe(le);return function(){me.unsubscribe(),0==--I&&V&&J.unsubscribe()}});return oe.key=X,oe}(U,oe);if(v.next(le),m){var me=r.createOperatorSubscriber(oe,function(){oe.complete(),null==me||me.unsubscribe()},void 0,void 0,function(){return T.delete(U)});J.add(h.innerFrom(m(le)).subscribe(me))}}oe.next(b?b(X):X)}catch(De){P(De)}},function(){return S(function(X){return X.complete()})},P,function(){return T.clear()},function(){return V=!0,0===I});_.subscribe(J)})}},4041:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ignoreElements=void 0;var n=a(9216),h=a(3173),y=a(31);o.ignoreElements=function d(){return n.operate(function(r,l){r.subscribe(h.createOperatorSubscriber(l,y.noop))})}},6478:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isEmpty=void 0;var n=a(9216),h=a(3173);o.isEmpty=function y(){return n.operate(function(d,r){d.subscribe(h.createOperatorSubscriber(r,function(){r.next(!1),r.complete()},function(){r.next(!0),r.complete()}))})}},1277:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.joinAllInternals=void 0;var n=a(7884),h=a(5280),y=a(1471),d=a(3010),r=a(2976);o.joinAllInternals=function l(f,p){return y.pipe(r.toArray(),d.mergeMap(function(m){return f(m)}),p?h.mapOneOrManyArgs(p):n.identity)}},5126:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.last=void 0;var n=a(8915),h=a(4270),y=a(3534),d=a(9194),r=a(926),l=a(7884);o.last=function f(p,m){var u=arguments.length>=2;return function(_){return _.pipe(p?h.filter(function(v,b){return p(v,b,_)}):l.identity,y.takeLast(1),u?r.defaultIfEmpty(m):d.throwIfEmpty(function(){return new n.EmptyError}))}}},752:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.map=void 0;var n=a(9216),h=a(3173);o.map=function y(d,r){return n.operate(function(l,f){var p=0;l.subscribe(h.createOperatorSubscriber(f,function(m){f.next(d.call(r,m,p++))}))})}},2182:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.mapTo=void 0;var n=a(752);o.mapTo=function h(y){return n.map(function(){return y})}},119:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.materialize=void 0;var n=a(7262),h=a(9216),y=a(3173);o.materialize=function d(){return h.operate(function(r,l){r.subscribe(y.createOperatorSubscriber(l,function(f){l.next(n.Notification.createNext(f))},function(){l.next(n.Notification.createComplete()),l.complete()},function(f){l.next(n.Notification.createError(f)),l.complete()}))})}},9329:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.max=void 0;var n=a(8587),h=a(7104);o.max=function y(d){return n.reduce(h.isFunction(d)?function(r,l){return d(r,l)>0?r:l}:function(r,l){return r>l?r:l})}},8789:function(G,o,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(P){S={error:P}}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(o,"__esModule",{value:!0}),o.merge=void 0;var y=a(9216),d=a(3531),r=a(3917),l=a(1642),f=a(4996);o.merge=function p(){for(var m=[],u=0;u<arguments.length;u++)m[u]=arguments[u];var _=l.popScheduler(m),v=l.popNumber(m,1/0);return m=d.argsOrArgArray(m),y.operate(function(b,T){r.mergeAll(v)(f.from(h([b],n(m)),_)).subscribe(T)})}},3917:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.mergeAll=void 0;var n=a(3010),h=a(7884);o.mergeAll=function y(d){return void 0===d&&(d=1/0),n.mergeMap(h.identity,d)}},8457:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.mergeInternals=void 0;var n=a(8767),h=a(2590),y=a(3173);o.mergeInternals=function d(r,l,f,p,m,u,_,v){var b=[],T=0,S=0,P=!1,I=function(){P&&!b.length&&!T&&l.complete()},V=function(Z){return T<p?J(Z):b.push(Z)},J=function(Z){u&&l.next(Z),T++;var X=!1;n.innerFrom(f(Z,S++)).subscribe(y.createOperatorSubscriber(l,function(U){null==m||m(U),u?V(U):l.next(U)},function(){X=!0},void 0,function(){if(X)try{T--;for(var U=function(){var oe=b.shift();_?h.executeSchedule(l,_,function(){return J(oe)}):J(oe)};b.length&&T<p;)U();I()}catch(oe){l.error(oe)}}))};return r.subscribe(y.createOperatorSubscriber(l,V,function(){P=!0,I()})),function(){null==v||v()}}},3010:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.mergeMap=void 0;var n=a(752),h=a(8767),y=a(9216),d=a(8457),r=a(7104);o.mergeMap=function l(f,p,m){return void 0===m&&(m=1/0),r.isFunction(p)?l(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,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.mergeMapTo=void 0;var n=a(3010),h=a(7104);o.mergeMapTo=function y(d,r,l){return void 0===l&&(l=1/0),h.isFunction(r)?n.mergeMap(function(){return d},r,l):("number"==typeof r&&(l=r),n.mergeMap(function(){return d},l))}},2816:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.mergeScan=void 0;var n=a(9216),h=a(8457);o.mergeScan=function y(d,r,l){return void 0===l&&(l=1/0),n.operate(function(f,p){var m=r;return h.mergeInternals(f,p,function(u,_){return d(m,u,_)},l,function(u){m=u},!1,void 0,function(){return m=null})})}},9684:function(G,o,a){"use strict";var n=this&&this.__read||function(r,l){var f="function"==typeof Symbol&&r[Symbol.iterator];if(!f)return r;var m,_,p=f.call(r),u=[];try{for(;(void 0===l||l-- >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(r,l){for(var f=0,p=l.length,m=r.length;f<p;f++,m++)r[m]=l[f];return r};Object.defineProperty(o,"__esModule",{value:!0}),o.mergeWith=void 0;var y=a(8789);o.mergeWith=function d(){for(var r=[],l=0;l<arguments.length;l++)r[l]=arguments[l];return y.merge.apply(void 0,h([],n(r)))}},6250:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.min=void 0;var n=a(8587),h=a(7104);o.min=function y(d){return n.reduce(h.isFunction(d)?function(r,l){return d(r,l)<0?r:l}:function(r,l){return r<l?r:l})}},9872:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.multicast=void 0;var n=a(6686),h=a(7104),y=a(9725);o.multicast=function d(r,l){var f=h.isFunction(r)?r:function(){return r};return h.isFunction(l)?y.connect(l,{connector:f}):function(p){return new n.ConnectableObservable(p,f)}}},4928:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.observeOn=void 0;var n=a(2590),h=a(9216),y=a(3173);o.observeOn=function d(r,l){return void 0===l&&(l=0),h.operate(function(f,p){f.subscribe(y.createOperatorSubscriber(p,function(m){return n.executeSchedule(p,r,function(){return p.next(m)},l)},function(){return n.executeSchedule(p,r,function(){return p.complete()},l)},function(m){return n.executeSchedule(p,r,function(){return p.error(m)},l)}))})}},2158:function(G,o,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(P){S={error:P}}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(o,"__esModule",{value:!0}),o.onErrorResumeNext=void 0;var y=a(9216),d=a(8767),r=a(3531),l=a(3173),f=a(31);o.onErrorResumeNext=function p(){for(var m=[],u=0;u<arguments.length;u++)m[u]=arguments[u];var _=r.argsOrArgArray(m);return y.operate(function(v,b){var T=h([v],n(_)),S=function(){if(!b.closed)if(T.length>0){var P=void 0;try{P=d.innerFrom(T.shift())}catch(V){return void S()}var I=l.createOperatorSubscriber(b,void 0,f.noop,f.noop);P.subscribe(I),I.add(S)}else b.complete()};S()})}},9526:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.pairwise=void 0;var n=a(9216),h=a(3173);o.pairwise=function y(){return n.operate(function(d,r){var l,f=!1;d.subscribe(h.createOperatorSubscriber(r,function(p){var m=l;l=p,f&&r.next([m,p]),f=!0}))})}},5199:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.pluck=void 0;var n=a(752);o.pluck=function h(){for(var y=[],d=0;d<arguments.length;d++)y[d]=arguments[d];var r=y.length;if(0===r)throw new Error("list of properties cannot be empty.");return n.map(function(l){for(var f=l,p=0;p<r;p++){var m=null==f?void 0:f[y[p]];if(void 0===m)return;f=m}return f})}},955:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.publish=void 0;var n=a(3768),h=a(9872),y=a(9725);o.publish=function d(r){return r?function(l){return y.connect(r)(l)}:function(l){return h.multicast(new n.Subject)(l)}}},6750:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.publishBehavior=void 0;var n=a(5482),h=a(6686);o.publishBehavior=function y(d){return function(r){var l=new n.BehaviorSubject(d);return new h.ConnectableObservable(r,function(){return l})}}},1003:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.publishLast=void 0;var n=a(7606),h=a(6686);o.publishLast=function y(){return function(d){var r=new n.AsyncSubject;return new h.ConnectableObservable(d,function(){return r})}}},5530:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.publishReplay=void 0;var n=a(3406),h=a(9872),y=a(7104);o.publishReplay=function d(r,l,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(r,l,p),m)(u)}}},2992:function(G,o,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(o,"__esModule",{value:!0}),o.raceWith=void 0;var y=a(8181),d=a(9216),r=a(7884);o.raceWith=function l(){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)}):r.identity}},8587:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.reduce=void 0;var n=a(3049),h=a(9216);o.reduce=function y(d,r){return h.operate(n.scanInternals(d,r,arguments.length>=2,!1,!0))}},904:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.refCount=void 0;var n=a(9216),h=a(3173);o.refCount=function y(){return n.operate(function(d,r){var l=null;d._refCount++;var f=h.createOperatorSubscriber(r,void 0,void 0,void 0,function(){if(!d||d._refCount<=0||0<--d._refCount)l=null;else{var p=d._connection,m=l;l=null,p&&(!m||p===m)&&p.unsubscribe(),r.unsubscribe()}});d.subscribe(f),f.closed||(l=d.connect())})}},8408:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.repeat=void 0;var n=a(7406),h=a(9216),y=a(3173),d=a(8767),r=a(3271);o.repeat=function l(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 I="number"==typeof u?r.timer(u):d.innerFrom(u(b)),V=y.createOperatorSubscriber(v,function(){V.unsubscribe(),P()});I.subscribe(V)}else P()},P=function(){var I=!1;T=_.subscribe(y.createOperatorSubscriber(v,void 0,function(){++b<m?T?S():I=!0:v.complete()})),I&&S()};P()})}},7032:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.repeatWhen=void 0;var n=a(3768),h=a(9216),y=a(3173);o.repeatWhen=function d(r){return h.operate(function(l,f){var p,u,m=!1,_=!1,v=!1,b=function(){return v&&_&&(f.complete(),!0)},S=function(){v=!1,p=l.subscribe(y.createOperatorSubscriber(f,void 0,function(){v=!0,!b()&&(u||(u=new n.Subject,r(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,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.retry=void 0;var n=a(9216),h=a(3173),y=a(7884),d=a(3271),r=a(8767);o.retry=function l(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 I,P=0,V=function(){var J=!1;I=T.subscribe(h.createOperatorSubscriber(S,function(Z){b&&(P=0),S.next(Z)},void 0,function(Z){if(P++<u){var X=function(){I?(I.unsubscribe(),I=null,V()):J=!0};if(null!=_){var U="number"==typeof _?d.timer(_):r.innerFrom(_(Z,P)),oe=h.createOperatorSubscriber(S,function(){oe.unsubscribe(),X()},function(){S.complete()});U.subscribe(oe)}else X()}else S.error(Z)})),J&&(I.unsubscribe(),I=null,V())};V()})}},5131:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.retryWhen=void 0;var n=a(3768),h=a(9216),y=a(3173);o.retryWhen=function d(r){return h.operate(function(l,f){var p,u,m=!1,_=function(){p=l.subscribe(y.createOperatorSubscriber(f,void 0,void 0,function(v){u||(u=new n.Subject,r(u).subscribe(y.createOperatorSubscriber(f,function(){return p?_():m=!0}))),u&&u.next(v)})),m&&(p.unsubscribe(),p=null,m=!1,_())};_()})}},2531:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.sample=void 0;var n=a(9216),h=a(31),y=a(3173);o.sample=function d(r){return n.operate(function(l,f){var p=!1,m=null;l.subscribe(y.createOperatorSubscriber(f,function(u){p=!0,m=u})),r.subscribe(y.createOperatorSubscriber(f,function(){if(p){p=!1;var u=m;m=null,f.next(u)}},h.noop))})}},2098:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.sampleTime=void 0;var n=a(4006),h=a(2531),y=a(1836);o.sampleTime=function d(r,l){return void 0===l&&(l=n.asyncScheduler),h.sample(y.interval(r,l))}},251:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scan=void 0;var n=a(9216),h=a(3049);o.scan=function y(d,r){return n.operate(h.scanInternals(d,r,arguments.length>=2,!0))}},3049:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scanInternals=void 0;var n=a(3173);o.scanInternals=function h(y,d,r,l,f){return function(p,m){var u=r,_=d,v=0;p.subscribe(n.createOperatorSubscriber(m,function(b){var T=v++;_=u?y(_,b,T):(u=!0,b),l&&m.next(_)},f&&function(){u&&m.next(_),m.complete()}))}}},9788:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.sequenceEqual=void 0;var n=a(9216),h=a(3173);o.sequenceEqual=function y(r,l){return void 0===l&&(l=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(P){var I=T.buffer;0===I.length?T.complete?_(!1):b.buffer.push(P):!l(P,I.shift())&&_(!1)},function(){b.complete=!0,T.complete&&_(0===T.buffer.length),null==S||S.unsubscribe()});return S};f.subscribe(v(m,u)),r.subscribe(v(u,m))})}},3222:function(G,o,a){"use strict";var n=this&&this.__read||function(u,_){var v="function"==typeof Symbol&&u[Symbol.iterator];if(!v)return u;var T,P,b=v.call(u),S=[];try{for(;(void 0===_||_-- >0)&&!(T=b.next()).done;)S.push(T.value)}catch(I){P={error:I}}finally{try{T&&!T.done&&(v=b.return)&&v.call(b)}finally{if(P)throw P.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(o,"__esModule",{value:!0}),o.share=void 0;var y=a(4996),d=a(1333),r=a(3768),l=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()})}o.share=function p(u){void 0===u&&(u={});var _=u.connector,v=void 0===_?function(){return new r.Subject}:_,b=u.resetOnError,T=void 0===b||b,S=u.resetOnComplete,P=void 0===S||S,I=u.resetOnRefCountZero,V=void 0===I||I;return function(J){var Z=null,X=null,U=null,oe=0,le=!1,me=!1,De=function(){null==X||X.unsubscribe(),X=null},We=function(){De(),Z=U=null,le=me=!1},Q=function(){var ue=Z;We(),null==ue||ue.unsubscribe()};return f.operate(function(ue,$){oe++,!me&&!le&&De();var ce=U=null!=U?U:v();$.add(function(){0==--oe&&!me&&!le&&(X=m(Q,V))}),ce.subscribe($),Z||(Z=new l.SafeSubscriber({next:function(de){return ce.next(de)},error:function(de){me=!0,De(),X=m(We,T,de),ce.error(de)},complete:function(){le=!0,De(),X=m(We,P),ce.complete()}}),y.from(ue).subscribe(Z))})(J)}}},2186:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.shareReplay=void 0;var n=a(3406),h=a(3222);o.shareReplay=function y(d,r,l){var f,p,m,u,_=!1;return d&&"object"==typeof d?(u=void 0===(f=d.bufferSize)?1/0:f,r=void 0===(p=d.windowTime)?1/0:p,_=void 0!==(m=d.refCount)&&m,l=d.scheduler):u=null!=d?d:1/0,h.share({connector:function(){return new n.ReplaySubject(u,r,l)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:_})}},695:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.single=void 0;var n=a(8915),h=a(1551),y=a(5477),d=a(9216),r=a(3173);o.single=function l(f){return d.operate(function(p,m){var _,u=!1,v=!1,b=0;p.subscribe(r.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,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.skip=void 0;var n=a(4270);o.skip=function h(y){return n.filter(function(d,r){return y<=r})}},728:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.skipLast=void 0;var n=a(7884),h=a(9216),y=a(3173);o.skipLast=function d(r){return r<=0?n.identity:h.operate(function(l,f){var p=new Array(r),m=0;return l.subscribe(y.createOperatorSubscriber(f,function(u){var _=m++;if(_<r)p[_]=u;else{var v=_%r,b=p[v];p[v]=u,f.next(b)}})),function(){p=null}})}},7409:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.skipUntil=void 0;var n=a(9216),h=a(3173),y=a(8767),d=a(31);o.skipUntil=function r(l){return n.operate(function(f,p){var m=!1,u=h.createOperatorSubscriber(p,function(){null==u||u.unsubscribe(),m=!0},d.noop);y.innerFrom(l).subscribe(u),f.subscribe(h.createOperatorSubscriber(p,function(_){return m&&p.next(_)}))})}},385:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.skipWhile=void 0;var n=a(9216),h=a(3173);o.skipWhile=function y(d){return n.operate(function(r,l){var f=!1,p=0;r.subscribe(h.createOperatorSubscriber(l,function(m){return(f||(f=!d(m,p++)))&&l.next(m)}))})}},4930:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.startWith=void 0;var n=a(509),h=a(1642),y=a(9216);o.startWith=function d(){for(var r=[],l=0;l<arguments.length;l++)r[l]=arguments[l];var f=h.popScheduler(r);return y.operate(function(p,m){(f?n.concat(r,p,f):n.concat(r,p)).subscribe(m)})}},1698:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.subscribeOn=void 0;var n=a(9216);o.subscribeOn=function h(y,d){return void 0===d&&(d=0),n.operate(function(r,l){l.add(y.schedule(function(){return r.subscribe(l)},d))})}},8044:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.switchAll=void 0;var n=a(986),h=a(7884);o.switchAll=function y(){return n.switchMap(h.identity)}},986:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.switchMap=void 0;var n=a(8767),h=a(9216),y=a(3173);o.switchMap=function d(r,l){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(r(b,S)).subscribe(m=y.createOperatorSubscriber(p,function(P){return p.next(l?l(b,P,S,T++):P)},function(){m=null,v()}))},function(){_=!0,v()}))})}},9309:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.switchMapTo=void 0;var n=a(986),h=a(7104);o.switchMapTo=function y(d,r){return h.isFunction(r)?n.switchMap(function(){return d},r):n.switchMap(function(){return d})}},9499:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.switchScan=void 0;var n=a(986),h=a(9216);o.switchScan=function y(d,r){return h.operate(function(l,f){var p=r;return n.switchMap(function(m,u){return d(p,m,u)},function(m,u){return p=u,u})(l).subscribe(f),function(){p=null}})}},1333:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.take=void 0;var n=a(7406),h=a(9216),y=a(3173);o.take=function d(r){return r<=0?function(){return n.EMPTY}:h.operate(function(l,f){var p=0;l.subscribe(y.createOperatorSubscriber(f,function(m){++p<=r&&(f.next(m),r<=p&&f.complete())}))})}},3534:function(G,o,a){"use strict";var n=this&&this.__values||function(l){var f="function"==typeof Symbol&&Symbol.iterator,p=f&&l[f],m=0;if(p)return p.call(l);if(l&&"number"==typeof l.length)return{next:function(){return l&&m>=l.length&&(l=void 0),{value:l&&l[m++],done:!l}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0}),o.takeLast=void 0;var h=a(7406),y=a(9216),d=a(3173);o.takeLast=function r(l){return l<=0?function(){return h.EMPTY}:y.operate(function(f,p){var m=[];f.subscribe(d.createOperatorSubscriber(p,function(u){m.push(u),l<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,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.takeUntil=void 0;var n=a(9216),h=a(3173),y=a(8767),d=a(31);o.takeUntil=function r(l){return n.operate(function(f,p){y.innerFrom(l).subscribe(h.createOperatorSubscriber(p,function(){return p.complete()},d.noop)),!p.closed&&f.subscribe(p)})}},9928:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.takeWhile=void 0;var n=a(9216),h=a(3173);o.takeWhile=function y(d,r){return void 0===r&&(r=!1),n.operate(function(l,f){var p=0;l.subscribe(h.createOperatorSubscriber(f,function(m){var u=d(m,p++);(u||r)&&f.next(m),!u&&f.complete()}))})}},6821:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.tap=void 0;var n=a(7104),h=a(9216),y=a(3173),d=a(7884);o.tap=function r(l,f,p){var m=n.isFunction(l)||f||p?{next:l,error:f,complete:p}:l;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,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.throttle=o.defaultThrottleConfig=void 0;var n=a(9216),h=a(3173),y=a(8767);o.defaultThrottleConfig={leading:!0,trailing:!1},o.throttle=function d(r,l){return void 0===l&&(l=o.defaultThrottleConfig),n.operate(function(f,p){var m=l.leading,u=l.trailing,_=!1,v=null,b=null,T=!1,S=function(){null==b||b.unsubscribe(),b=null,u&&(V(),T&&p.complete())},P=function(){b=null,T&&p.complete()},I=function(J){return b=y.innerFrom(r(J)).subscribe(h.createOperatorSubscriber(p,S,P))},V=function(){if(_){_=!1;var J=v;v=null,p.next(J),!T&&I(J)}};f.subscribe(h.createOperatorSubscriber(p,function(J){_=!0,v=J,(!b||b.closed)&&(m?V():I(J))},function(){T=!0,(!(u&&_&&b)||b.closed)&&p.complete()}))})}},4029:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.throttleTime=void 0;var n=a(4006),h=a(4330),y=a(3271);o.throttleTime=function d(r,l,f){void 0===l&&(l=n.asyncScheduler),void 0===f&&(f=h.defaultThrottleConfig);var p=y.timer(r,l);return h.throttle(function(){return p},f)}},9194:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.throwIfEmpty=void 0;var n=a(8915),h=a(9216),y=a(3173);function r(){return new n.EmptyError}o.throwIfEmpty=function d(l){return void 0===l&&(l=r),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(l())}))})}},5904:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.TimeInterval=o.timeInterval=void 0;var n=a(4006),h=a(9216),y=a(3173);o.timeInterval=function d(l){return void 0===l&&(l=n.asyncScheduler),h.operate(function(f,p){var m=l.now();f.subscribe(y.createOperatorSubscriber(p,function(u){var _=l.now(),v=_-m;m=_,p.next(new r(u,v))}))})};var r=function l(f,p){this.value=f,this.interval=p};o.TimeInterval=r},5001:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.timeout=o.TimeoutError=void 0;var n=a(4006),h=a(7323),y=a(9216),d=a(8767),r=a(9703),l=a(3173),f=a(2590);function m(u){throw new o.TimeoutError(u)}o.TimeoutError=r.createErrorClass(function(u){return function(v){void 0===v&&(v=null),u(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=v}}),o.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,P=void 0===S?m:S,I=v.scheduler,V=void 0===I?null!=_?_:n.asyncScheduler:I,J=v.meta,Z=void 0===J?null:J;if(null==b&&null==T)throw new TypeError("No timeout provided.");return y.operate(function(X,U){var oe,le,me=null,De=0,We=function(Q){le=f.executeSchedule(U,V,function(){try{oe.unsubscribe(),d.innerFrom(P({meta:Z,lastValue:me,seen:De})).subscribe(U)}catch(ue){U.error(ue)}},Q)};oe=X.subscribe(l.createOperatorSubscriber(U,function(Q){null==le||le.unsubscribe(),De++,U.next(me=Q),T>0&&We(T)},void 0,void 0,function(){(null==le?void 0:le.closed)||null==le||le.unsubscribe(),me=null})),!De&&We(null!=b?"number"==typeof b?b:+b-V.now():T)})}},8308:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.timeoutWith=void 0;var n=a(4006),h=a(7323),y=a(5001);o.timeoutWith=function d(r,l,f){var p,m,u;if(f=null!=f?f:n.async,h.isValidDate(r)?p=r:"number"==typeof r&&(m=r),!l)throw new TypeError("No observable provided to switch to");if(u=function(){return l},null==p&&null==m)throw new TypeError("No timeout provided.");return y.timeout({first:p,each:m,scheduler:f,with:u})}},250:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.timestamp=void 0;var n=a(8354),h=a(752);o.timestamp=function y(d){return void 0===d&&(d=n.dateTimestampProvider),h.map(function(r){return{value:r,timestamp:d.now()}})}},2976:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.toArray=void 0;var n=a(8587),h=a(9216),y=function(r,l){return r.push(l),r};o.toArray=function d(){return h.operate(function(r,l){n.reduce(y,[])(r).subscribe(l)})}},9374:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.window=void 0;var n=a(3768),h=a(9216),y=a(3173),d=a(31);o.window=function r(l){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)),l.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,o,a){"use strict";var n=this&&this.__values||function(l){var f="function"==typeof Symbol&&Symbol.iterator,p=f&&l[f],m=0;if(p)return p.call(l);if(l&&"number"==typeof l.length)return{next:function(){return l&&m>=l.length&&(l=void 0),{value:l&&l[m++],done:!l}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0}),o.windowCount=void 0;var h=a(3768),y=a(9216),d=a(3173);o.windowCount=function r(l,f){void 0===f&&(f=0);var p=f>0?f:l;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,P;try{for(var I=n(_),V=I.next();!V.done;V=I.next())V.value.next(T)}catch(U){S={error:U}}finally{try{V&&!V.done&&(P=I.return)&&P.call(I)}finally{if(S)throw S.error}}var Z=b-l+1;if(Z>=0&&Z%p==0&&_.shift().complete(),++b%p==0){var X=new h.Subject;_.push(X),u.next(X.asObservable())}},function(){for(;_.length>0;)_.shift().complete();u.complete()},function(T){for(;_.length>0;)_.shift().error(T);u.error(T)},function(){_=null}))})}},2358:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.windowTime=void 0;var n=a(3768),h=a(4006),y=a(6448),d=a(9216),r=a(3173),l=a(5137),f=a(1642),p=a(2590);o.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,P=null!==(v=b[0])&&void 0!==v?v:null,I=b[1]||1/0;return d.operate(function(V,J){var Z=[],X=!1,U=function(De){var Q=De.subs;De.window.complete(),Q.unsubscribe(),l.arrRemove(Z,De),X&&oe()},oe=function(){if(Z){var De=new y.Subscription;J.add(De);var We=new n.Subject,Q={window:We,subs:De,seen:0};Z.push(Q),J.next(We.asObservable()),p.executeSchedule(De,S,function(){return U(Q)},u)}};null!==P&&P>=0?p.executeSchedule(J,S,oe,P,!0):X=!0,oe();var le=function(De){return Z.slice().forEach(De)},me=function(De){le(function(We){return De(We.window)}),De(J),J.unsubscribe()};return V.subscribe(r.createOperatorSubscriber(J,function(De){le(function(We){We.window.next(De),I<=++We.seen&&U(We)})},function(){return me(function(De){return De.complete()})},function(De){return me(function(We){return We.error(De)})})),function(){Z=null}})}},6464:function(G,o,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(o,"__esModule",{value:!0}),o.windowToggle=void 0;var h=a(3768),y=a(6448),d=a(9216),r=a(8767),l=a(3173),f=a(31),p=a(5137);o.windowToggle=function m(u,_){return d.operate(function(v,b){var T=[],S=function(P){for(;0<T.length;)T.shift().error(P);b.error(P)};r.innerFrom(u).subscribe(l.createOperatorSubscriber(b,function(P){var I=new h.Subject;T.push(I);var Z,V=new y.Subscription;try{Z=r.innerFrom(_(P))}catch(X){return void S(X)}b.next(I.asObservable()),V.add(Z.subscribe(l.createOperatorSubscriber(b,function(){p.arrRemove(T,I),I.complete(),V.unsubscribe()},f.noop,S)))},f.noop)),v.subscribe(l.createOperatorSubscriber(b,function(P){var I,V,J=T.slice();try{for(var Z=n(J),X=Z.next();!X.done;X=Z.next())X.value.next(P)}catch(oe){I={error:oe}}finally{try{X&&!X.done&&(V=Z.return)&&V.call(Z)}finally{if(I)throw I.error}}},function(){for(;0<T.length;)T.shift().complete();b.complete()},S,function(){for(;0<T.length;)T.shift().unsubscribe()}))})}},5424:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.windowWhen=void 0;var n=a(3768),h=a(9216),y=a(3173),d=a(8767);o.windowWhen=function r(l){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(l())}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,o,a){"use strict";var n=this&&this.__read||function(u,_){var v="function"==typeof Symbol&&u[Symbol.iterator];if(!v)return u;var T,P,b=v.call(u),S=[];try{for(;(void 0===_||_-- >0)&&!(T=b.next()).done;)S.push(T.value)}catch(I){P={error:I}}finally{try{T&&!T.done&&(v=b.return)&&v.call(b)}finally{if(P)throw P.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(o,"__esModule",{value:!0}),o.withLatestFrom=void 0;var y=a(9216),d=a(3173),r=a(8767),l=a(7884),f=a(31),p=a(1642);o.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,P=new Array(S),I=u.map(function(){return!1}),V=!1,J=function(X){r.innerFrom(u[X]).subscribe(d.createOperatorSubscriber(T,function(U){P[X]=U,!V&&!I[X]&&(I[X]=!0,(V=I.every(l.identity))&&(I=null))},f.noop))},Z=0;Z<S;Z++)J(Z);b.subscribe(d.createOperatorSubscriber(T,function(X){if(V){var U=h([X],n(P));T.next(v?v.apply(void 0,h([],n(U))):U)}}))})}},5573:function(G,o,a){"use strict";var n=this&&this.__read||function(l,f){var p="function"==typeof Symbol&&l[Symbol.iterator];if(!p)return l;var u,v,m=p.call(l),_=[];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(l,f){for(var p=0,m=f.length,u=l.length;p<m;p++,u++)l[u]=f[p];return l};Object.defineProperty(o,"__esModule",{value:!0}),o.zip=void 0;var y=a(4842),d=a(9216);o.zip=function r(){for(var l=[],f=0;f<arguments.length;f++)l[f]=arguments[f];return d.operate(function(p,m){y.zip.apply(void 0,h([p],n(l))).subscribe(m)})}},8101:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.zipAll=void 0;var n=a(4842),h=a(1277);o.zipAll=function y(d){return h.joinAllInternals(n.zip,d)}},9411:function(G,o,a){"use strict";var n=this&&this.__read||function(r,l){var f="function"==typeof Symbol&&r[Symbol.iterator];if(!f)return r;var m,_,p=f.call(r),u=[];try{for(;(void 0===l||l-- >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(r,l){for(var f=0,p=l.length,m=r.length;f<p;f++,m++)r[m]=l[f];return r};Object.defineProperty(o,"__esModule",{value:!0}),o.zipWith=void 0;var y=a(5573);o.zipWith=function d(){for(var r=[],l=0;l<arguments.length;l++)r[l]=arguments[l];return y.zip.apply(void 0,h([],n(r)))}},9611:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scheduleArray=void 0;var n=a(5821);o.scheduleArray=function h(y,d){return new n.Observable(function(r){var l=0;return d.schedule(function(){l===y.length?r.complete():(r.next(y[l++]),r.closed||this.schedule())})})}},3009:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scheduleAsyncIterable=void 0;var n=a(5821),h=a(2590);o.scheduleAsyncIterable=function y(d,r){if(!d)throw new Error("Iterable cannot be null");return new n.Observable(function(l){h.executeSchedule(l,r,function(){var f=d[Symbol.asyncIterator]();h.executeSchedule(l,r,function(){f.next().then(function(p){p.done?l.complete():l.next(p.value)})},0,!0)})})}},9049:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scheduleIterable=void 0;var n=a(5821),h=a(4260),y=a(7104),d=a(2590);o.scheduleIterable=function r(l,f){return new n.Observable(function(p){var m;return d.executeSchedule(p,f,function(){m=l[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,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scheduleObservable=void 0;var n=a(8767),h=a(4928),y=a(1698);o.scheduleObservable=function d(r,l){return n.innerFrom(r).pipe(y.subscribeOn(l),h.observeOn(l))}},2247:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.schedulePromise=void 0;var n=a(8767),h=a(4928),y=a(1698);o.schedulePromise=function d(r,l){return n.innerFrom(r).pipe(y.subscribeOn(l),h.observeOn(l))}},3958:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scheduleReadableStreamLike=void 0;var n=a(3009),h=a(7128);o.scheduleReadableStreamLike=function y(d,r){return n.scheduleAsyncIterable(h.readableStreamLikeToAsyncGenerator(d),r)}},9341:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scheduled=void 0;var n=a(7767),h=a(2247),y=a(9611),d=a(9049),r=a(3009),l=a(7454),f=a(5050),p=a(697),m=a(5431),u=a(6175),_=a(6870),v=a(7128),b=a(3958);o.scheduled=function T(S,P){if(null!=S){if(l.isInteropObservable(S))return n.scheduleObservable(S,P);if(p.isArrayLike(S))return y.scheduleArray(S,P);if(f.isPromise(S))return h.schedulePromise(S,P);if(u.isAsyncIterable(S))return r.scheduleAsyncIterable(S,P);if(m.isIterable(S))return d.scheduleIterable(S,P);if(v.isReadableStreamLike(S))return b.scheduleReadableStreamLike(S,P)}throw _.createInvalidObservableTypeError(S)}},1394:function(G,o,a){"use strict";var d,n=this&&this.__extends||(d=function(r,l){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])})(r,l)},function(r,l){if("function"!=typeof l&&null!==l)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");function f(){this.constructor=r}d(r,l),r.prototype=null===l?Object.create(l):(f.prototype=l.prototype,new f)});Object.defineProperty(o,"__esModule",{value:!0}),o.Action=void 0;var y=function(d){function r(l,f){return d.call(this)||this}return n(r,d),r.prototype.schedule=function(l,f){return void 0===f&&(f=0),this},r}(a(6448).Subscription);o.Action=y},275:function(G,o,a){"use strict";var r,n=this&&this.__extends||(r=function(l,f){return(r=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])})(l,f)},function(l,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=l}r(l,f),l.prototype=null===f?Object.create(f):(p.prototype=f.prototype,new p)});Object.defineProperty(o,"__esModule",{value:!0}),o.AnimationFrameAction=void 0;var h=a(4723),y=a(6343),d=function(r){function l(f,p){var m=r.call(this,f,p)||this;return m.scheduler=f,m.work=p,m}return n(l,r),l.prototype.requestAsyncId=function(f,p,m){return void 0===m&&(m=0),null!==m&&m>0?r.prototype.requestAsyncId.call(this,f,p,m):(f.actions.push(this),f._scheduled||(f._scheduled=y.animationFrameProvider.requestAnimationFrame(function(){return f.flush(void 0)})))},l.prototype.recycleAsyncId=function(f,p,m){if(void 0===m&&(m=0),null!=m&&m>0||null==m&&this.delay>0)return r.prototype.recycleAsyncId.call(this,f,p,m);f.actions.some(function(u){return u.id===p})||(y.animationFrameProvider.cancelAnimationFrame(p),f._scheduled=void 0)},l}(h.AsyncAction);o.AnimationFrameAction=d},3625:function(G,o,a){"use strict";var d,n=this&&this.__extends||(d=function(r,l){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])})(r,l)},function(r,l){if("function"!=typeof l&&null!==l)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");function f(){this.constructor=r}d(r,l),r.prototype=null===l?Object.create(l):(f.prototype=l.prototype,new f)});Object.defineProperty(o,"__esModule",{value:!0}),o.AnimationFrameScheduler=void 0;var y=function(d){function r(){return null!==d&&d.apply(this,arguments)||this}return n(r,d),r.prototype.flush=function(l){this._active=!0;var f=this._scheduled;this._scheduled=void 0;var m,p=this.actions;l=l||p.shift();do{if(m=l.execute(l.state,l.delay))break}while((l=p[0])&&l.id===f&&p.shift());if(this._active=!1,m){for(;(l=p[0])&&l.id===f&&p.shift();)l.unsubscribe();throw m}},r}(a(6216).AsyncScheduler);o.AnimationFrameScheduler=y},7046:function(G,o,a){"use strict";var r,n=this&&this.__extends||(r=function(l,f){return(r=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])})(l,f)},function(l,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=l}r(l,f),l.prototype=null===f?Object.create(f):(p.prototype=f.prototype,new p)});Object.defineProperty(o,"__esModule",{value:!0}),o.AsapAction=void 0;var h=a(4723),y=a(7766),d=function(r){function l(f,p){var m=r.call(this,f,p)||this;return m.scheduler=f,m.work=p,m}return n(l,r),l.prototype.requestAsyncId=function(f,p,m){return void 0===m&&(m=0),null!==m&&m>0?r.prototype.requestAsyncId.call(this,f,p,m):(f.actions.push(this),f._scheduled||(f._scheduled=y.immediateProvider.setImmediate(f.flush.bind(f,void 0))))},l.prototype.recycleAsyncId=function(f,p,m){if(void 0===m&&(m=0),null!=m&&m>0||null==m&&this.delay>0)return r.prototype.recycleAsyncId.call(this,f,p,m);f.actions.some(function(u){return u.id===p})||(y.immediateProvider.clearImmediate(p),f._scheduled=void 0)},l}(h.AsyncAction);o.AsapAction=d},3706:function(G,o,a){"use strict";var d,n=this&&this.__extends||(d=function(r,l){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])})(r,l)},function(r,l){if("function"!=typeof l&&null!==l)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");function f(){this.constructor=r}d(r,l),r.prototype=null===l?Object.create(l):(f.prototype=l.prototype,new f)});Object.defineProperty(o,"__esModule",{value:!0}),o.AsapScheduler=void 0;var y=function(d){function r(){return null!==d&&d.apply(this,arguments)||this}return n(r,d),r.prototype.flush=function(l){this._active=!0;var f=this._scheduled;this._scheduled=void 0;var m,p=this.actions;l=l||p.shift();do{if(m=l.execute(l.state,l.delay))break}while((l=p[0])&&l.id===f&&p.shift());if(this._active=!1,m){for(;(l=p[0])&&l.id===f&&p.shift();)l.unsubscribe();throw m}},r}(a(6216).AsyncScheduler);o.AsapScheduler=y},4723:function(G,o,a){"use strict";var l,n=this&&this.__extends||(l=function(f,p){return(l=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}l(f,p),f.prototype=null===p?Object.create(p):(m.prototype=p.prototype,new m)});Object.defineProperty(o,"__esModule",{value:!0}),o.AsyncAction=void 0;var h=a(1394),y=a(2444),d=a(5137),r=function(l){function f(p,m){var u=l.call(this,p,m)||this;return u.scheduler=p,u.work=m,u.pending=!1,u}return n(f,l),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,l.prototype.unsubscribe.call(this)}},f}(h.Action);o.AsyncAction=r},6216:function(G,o,a){"use strict";var d,n=this&&this.__extends||(d=function(r,l){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])})(r,l)},function(r,l){if("function"!=typeof l&&null!==l)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");function f(){this.constructor=r}d(r,l),r.prototype=null===l?Object.create(l):(f.prototype=l.prototype,new f)});Object.defineProperty(o,"__esModule",{value:!0}),o.AsyncScheduler=void 0;var h=a(2716),y=function(d){function r(l,f){void 0===f&&(f=h.Scheduler.now);var p=d.call(this,l,f)||this;return p.actions=[],p._active=!1,p._scheduled=void 0,p}return n(r,d),r.prototype.flush=function(l){var f=this.actions;if(this._active)f.push(l);else{var p;this._active=!0;do{if(p=l.execute(l.state,l.delay))break}while(l=f.shift());if(this._active=!1,p){for(;l=f.shift();)l.unsubscribe();throw p}}},r}(h.Scheduler);o.AsyncScheduler=y},4954:function(G,o,a){"use strict";var d,n=this&&this.__extends||(d=function(r,l){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])})(r,l)},function(r,l){if("function"!=typeof l&&null!==l)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");function f(){this.constructor=r}d(r,l),r.prototype=null===l?Object.create(l):(f.prototype=l.prototype,new f)});Object.defineProperty(o,"__esModule",{value:!0}),o.QueueAction=void 0;var y=function(d){function r(l,f){var p=d.call(this,l,f)||this;return p.scheduler=l,p.work=f,p}return n(r,d),r.prototype.schedule=function(l,f){return void 0===f&&(f=0),f>0?d.prototype.schedule.call(this,l,f):(this.delay=f,this.state=l,this.scheduler.flush(this),this)},r.prototype.execute=function(l,f){return f>0||this.closed?d.prototype.execute.call(this,l,f):this._execute(l,f)},r.prototype.requestAsyncId=function(l,f,p){return void 0===p&&(p=0),null!=p&&p>0||null==p&&this.delay>0?d.prototype.requestAsyncId.call(this,l,f,p):l.flush(this)},r}(a(4723).AsyncAction);o.QueueAction=y},345:function(G,o,a){"use strict";var d,n=this&&this.__extends||(d=function(r,l){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])})(r,l)},function(r,l){if("function"!=typeof l&&null!==l)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");function f(){this.constructor=r}d(r,l),r.prototype=null===l?Object.create(l):(f.prototype=l.prototype,new f)});Object.defineProperty(o,"__esModule",{value:!0}),o.QueueScheduler=void 0;var y=function(d){function r(){return null!==d&&d.apply(this,arguments)||this}return n(r,d),r}(a(6216).AsyncScheduler);o.QueueScheduler=y},2018:function(G,o,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(o,"__esModule",{value:!0}),o.VirtualAction=o.VirtualTimeScheduler=void 0;var h=a(4723),y=a(6448),r=function(f){function p(m,u){void 0===m&&(m=l),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);o.VirtualTimeScheduler=r;var l=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);o.VirtualAction=l},1906:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.animationFrame=o.animationFrameScheduler=void 0;var n=a(275),h=a(3625);o.animationFrameScheduler=new h.AnimationFrameScheduler(n.AnimationFrameAction),o.animationFrame=o.animationFrameScheduler},6343:function(G,o,a){"use strict";var n=this&&this.__read||function(d,r){var l="function"==typeof Symbol&&d[Symbol.iterator];if(!l)return d;var p,u,f=l.call(d),m=[];try{for(;(void 0===r||r-- >0)&&!(p=f.next()).done;)m.push(p.value)}catch(_){u={error:_}}finally{try{p&&!p.done&&(l=f.return)&&l.call(f)}finally{if(u)throw u.error}}return m},h=this&&this.__spreadArray||function(d,r){for(var l=0,f=r.length,p=d.length;l<f;l++,p++)d[p]=r[l];return d};Object.defineProperty(o,"__esModule",{value:!0}),o.animationFrameProvider=void 0;var y=a(6448);o.animationFrameProvider={schedule:function(d){var r=requestAnimationFrame,l=cancelAnimationFrame,f=o.animationFrameProvider.delegate;f&&(r=f.requestAnimationFrame,l=f.cancelAnimationFrame);var p=r(function(m){l=void 0,d(m)});return new y.Subscription(function(){return null==l?void 0:l(p)})},requestAnimationFrame:function(){for(var d=[],r=0;r<arguments.length;r++)d[r]=arguments[r];var l=o.animationFrameProvider.delegate;return((null==l?void 0:l.requestAnimationFrame)||requestAnimationFrame).apply(void 0,h([],n(d)))},cancelAnimationFrame:function(){for(var d=[],r=0;r<arguments.length;r++)d[r]=arguments[r];var l=o.animationFrameProvider.delegate;return((null==l?void 0:l.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,h([],n(d)))},delegate:void 0}},1212:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.asap=o.asapScheduler=void 0;var n=a(7046),h=a(3706);o.asapScheduler=new h.AsapScheduler(n.AsapAction),o.asap=o.asapScheduler},4006:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.async=o.asyncScheduler=void 0;var n=a(4723),h=a(6216);o.asyncScheduler=new h.AsyncScheduler(n.AsyncAction),o.async=o.asyncScheduler},8354:(G,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.dateTimestampProvider=void 0,o.dateTimestampProvider={now:function(){return(o.dateTimestampProvider.delegate||Date).now()},delegate:void 0}},7766:function(G,o,a){"use strict";var n=this&&this.__read||function(l,f){var p="function"==typeof Symbol&&l[Symbol.iterator];if(!p)return l;var u,v,m=p.call(l),_=[];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(l,f){for(var p=0,m=f.length,u=l.length;p<m;p++,u++)l[u]=f[p];return l};Object.defineProperty(o,"__esModule",{value:!0}),o.immediateProvider=void 0;var y=a(349),d=y.Immediate.setImmediate,r=y.Immediate.clearImmediate;o.immediateProvider={setImmediate:function(){for(var l=[],f=0;f<arguments.length;f++)l[f]=arguments[f];var p=o.immediateProvider.delegate;return((null==p?void 0:p.setImmediate)||d).apply(void 0,h([],n(l)))},clearImmediate:function(l){var f=o.immediateProvider.delegate;return((null==f?void 0:f.clearImmediate)||r)(l)},delegate:void 0}},2444:function(G,o){"use strict";var a=this&&this.__read||function(h,y){var d="function"==typeof Symbol&&h[Symbol.iterator];if(!d)return h;var l,p,r=d.call(h),f=[];try{for(;(void 0===y||y-- >0)&&!(l=r.next()).done;)f.push(l.value)}catch(m){p={error:m}}finally{try{l&&!l.done&&(d=r.return)&&d.call(r)}finally{if(p)throw p.error}}return f},n=this&&this.__spreadArray||function(h,y){for(var d=0,r=y.length,l=h.length;d<r;d++,l++)h[l]=y[d];return h};Object.defineProperty(o,"__esModule",{value:!0}),o.intervalProvider=void 0,o.intervalProvider={setInterval:function(h,y){for(var d=[],r=2;r<arguments.length;r++)d[r-2]=arguments[r];var l=o.intervalProvider.delegate;return(null==l?void 0:l.setInterval)?l.setInterval.apply(l,n([h,y],a(d))):setInterval.apply(void 0,n([h,y],a(d)))},clearInterval:function(h){var y=o.intervalProvider.delegate;return((null==y?void 0:y.clearInterval)||clearInterval)(h)},delegate:void 0}},1038:(G,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.performanceTimestampProvider=void 0,o.performanceTimestampProvider={now:function(){return(o.performanceTimestampProvider.delegate||performance).now()},delegate:void 0}},5668:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.queue=o.queueScheduler=void 0;var n=a(4954),h=a(345);o.queueScheduler=new h.QueueScheduler(n.QueueAction),o.queue=o.queueScheduler},3914:function(G,o){"use strict";var a=this&&this.__read||function(h,y){var d="function"==typeof Symbol&&h[Symbol.iterator];if(!d)return h;var l,p,r=d.call(h),f=[];try{for(;(void 0===y||y-- >0)&&!(l=r.next()).done;)f.push(l.value)}catch(m){p={error:m}}finally{try{l&&!l.done&&(d=r.return)&&d.call(r)}finally{if(p)throw p.error}}return f},n=this&&this.__spreadArray||function(h,y){for(var d=0,r=y.length,l=h.length;d<r;d++,l++)h[l]=y[d];return h};Object.defineProperty(o,"__esModule",{value:!0}),o.timeoutProvider=void 0,o.timeoutProvider={setTimeout:function(h,y){for(var d=[],r=2;r<arguments.length;r++)d[r-2]=arguments[r];var l=o.timeoutProvider.delegate;return(null==l?void 0:l.setTimeout)?l.setTimeout.apply(l,n([h,y],a(d))):setTimeout.apply(void 0,n([h,y],a(d)))},clearTimeout:function(h){var y=o.timeoutProvider.delegate;return((null==y?void 0:y.clearTimeout)||clearTimeout)(h)},delegate:void 0}},4260:(G,o)=>{"use strict";function a(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}Object.defineProperty(o,"__esModule",{value:!0}),o.iterator=o.getSymbolIterator=void 0,o.getSymbolIterator=a,o.iterator=a()},1689:(G,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.observable=void 0,o.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"},5256:(G,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0})},4769:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ArgumentOutOfRangeError=void 0;var n=a(9703);o.ArgumentOutOfRangeError=n.createErrorClass(function(h){return function(){h(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"}})},8915:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.EmptyError=void 0;var n=a(9703);o.EmptyError=n.createErrorClass(function(h){return function(){h(this),this.name="EmptyError",this.message="no elements in sequence"}})},349:(G,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.TestTools=o.Immediate=void 0;var n,a=1,h={};function y(d){return d in h&&(delete h[d],!0)}o.Immediate={setImmediate:function(d){var r=a++;return h[r]=!0,n||(n=Promise.resolve()),n.then(function(){return y(r)&&d()}),r},clearImmediate:function(d){y(d)}},o.TestTools={pending:function(){return Object.keys(h).length}}},5477:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.NotFoundError=void 0;var n=a(9703);o.NotFoundError=n.createErrorClass(function(h){return function(d){h(this),this.name="NotFoundError",this.message=d}})},3965:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ObjectUnsubscribedError=void 0;var n=a(9703);o.ObjectUnsubscribedError=n.createErrorClass(function(h){return function(){h(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})},1551:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.SequenceError=void 0;var n=a(9703);o.SequenceError=n.createErrorClass(function(h){return function(d){h(this),this.name="SequenceError",this.message=d}})},4970:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.UnsubscriptionError=void 0;var n=a(9703);o.UnsubscriptionError=n.createErrorClass(function(h){return function(d){h(this),this.message=d?d.length+" errors occurred during unsubscription:\n"+d.map(function(r,l){return l+1+") "+r.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=d}})},1642:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.popNumber=o.popScheduler=o.popResultSelector=void 0;var n=a(7104),h=a(1875);function y(f){return f[f.length-1]}o.popResultSelector=function d(f){return n.isFunction(y(f))?f.pop():void 0},o.popScheduler=function r(f){return h.isScheduler(y(f))?f.pop():void 0},o.popNumber=function l(f,p){return"number"==typeof y(f)?f.pop():p}},9923:(G,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.argsArgArrayOrObject=void 0;var a=Array.isArray,n=Object.getPrototypeOf,h=Object.prototype,y=Object.keys;o.argsArgArrayOrObject=function d(l){if(1===l.length){var f=l[0];if(a(f))return{args:f,keys:null};if(function r(l){return l&&"object"==typeof l&&n(l)===h}(f)){var p=y(f);return{args:p.map(function(m){return f[m]}),keys:p}}}return{args:l,keys:null}}},3531:(G,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.argsOrArgArray=void 0;var a=Array.isArray;o.argsOrArgArray=function n(h){return 1===h.length&&a(h[0])?h[0]:h}},5137:(G,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.arrRemove=void 0,o.arrRemove=function a(n,h){if(n){var y=n.indexOf(h);0<=y&&n.splice(y,1)}}},9703:(G,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.createErrorClass=void 0,o.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,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.createObject=void 0,o.createObject=function a(n,h){return n.reduce(function(y,d,r){return y[d]=h[r],y},{})}},5808:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.captureError=o.errorContext=void 0;var n=a(3570),h=null;o.errorContext=function y(r){if(n.config.useDeprecatedSynchronousErrorHandling){var l=!h;if(l&&(h={errorThrown:!1,error:null}),r(),l){var f=h;if(h=null,f.errorThrown)throw f.error}}else r()},o.captureError=function d(r){n.config.useDeprecatedSynchronousErrorHandling&&h&&(h.errorThrown=!0,h.error=r)}},2590:(G,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.executeSchedule=void 0,o.executeSchedule=function a(n,h,y,d,r){void 0===d&&(d=0),void 0===r&&(r=!1);var l=h.schedule(function(){y(),r?n.add(this.schedule(null,d)):this.unsubscribe()},d);if(n.add(l),!r)return l}},7884:(G,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.identity=void 0,o.identity=function a(n){return n}},697:(G,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isArrayLike=void 0,o.isArrayLike=function(a){return a&&"number"==typeof a.length&&"function"!=typeof a}},6175:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isAsyncIterable=void 0;var n=a(7104);o.isAsyncIterable=function h(y){return Symbol.asyncIterator&&n.isFunction(null==y?void 0:y[Symbol.asyncIterator])}},7323:(G,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isValidDate=void 0,o.isValidDate=function a(n){return n instanceof Date&&!isNaN(n)}},7104:(G,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isFunction=void 0,o.isFunction=function a(n){return"function"==typeof n}},7454:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isInteropObservable=void 0;var n=a(1689),h=a(7104);o.isInteropObservable=function y(d){return h.isFunction(d[n.observable])}},5431:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isIterable=void 0;var n=a(4260),h=a(7104);o.isIterable=function y(d){return h.isFunction(null==d?void 0:d[n.iterator])}},4341:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isObservable=void 0;var n=a(5821),h=a(7104);o.isObservable=function y(d){return!!d&&(d instanceof n.Observable||h.isFunction(d.lift)&&h.isFunction(d.subscribe))}},5050:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isPromise=void 0;var n=a(7104);o.isPromise=function h(y){return n.isFunction(null==y?void 0:y.then)}},7128:function(G,o,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(P){return function(I){return function S(P){if(u)throw new TypeError("Generator is already executing.");for(;m;)try{if(u=1,_&&(v=2&P[0]?_.return:P[0]?_.throw||((v=_.return)&&v.call(_),0):_.next)&&!(v=v.call(_,P[1])).done)return v;switch(_=0,v&&(P=[2&P[0],v.value]),P[0]){case 0:case 1:v=P;break;case 4:return m.label++,{value:P[1],done:!1};case 5:m.label++,_=P[1],P=[0];continue;case 7:P=m.ops.pop(),m.trys.pop();continue;default:if(!(v=(v=m.trys).length>0&&v[v.length-1])&&(6===P[0]||2===P[0])){m=0;continue}if(3===P[0]&&(!v||P[1]>v[0]&&P[1]<v[3])){m.label=P[1];break}if(6===P[0]&&m.label<v[1]){m.label=v[1],v=P;break}if(v&&m.label<v[2]){m.label=v[2],m.ops.push(P);break}v[2]&&m.ops.pop(),m.trys.pop();continue}P=p.call(f,m)}catch(I){P=[6,I],_=0}finally{u=v=0}if(5&P[0])throw P[1];return{value:P[0]?P[1]:void 0,done:!0}}([P,I])}}},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(J){u[J]&&(_[J]=function(Z){return new Promise(function(X,U){v.push([J,Z,X,U])>1||T(J,Z)})})}function T(J,Z){try{!function S(J){J.value instanceof h?Promise.resolve(J.value.v).then(P,I):V(v[0][2],J)}(u[J](Z))}catch(X){V(v[0][3],X)}}function P(J){T("next",J)}function I(J){T("throw",J)}function V(J,Z){J(Z),v.shift(),v.length&&T(v[0][0],v[0][1])}};Object.defineProperty(o,"__esModule",{value:!0}),o.isReadableStreamLike=o.readableStreamLikeToAsyncGenerator=void 0;var d=a(7104);o.readableStreamLikeToAsyncGenerator=function r(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]}})})},o.isReadableStreamLike=function l(f){return d.isFunction(null==f?void 0:f.getReader)}},1875:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isScheduler=void 0;var n=a(7104);o.isScheduler=function h(y){return y&&n.isFunction(y.schedule)}},9216:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.operate=o.hasLift=void 0;var n=a(7104);function h(d){return n.isFunction(null==d?void 0:d.lift)}o.hasLift=h,o.operate=function y(d){return function(r){if(h(r))return r.lift(function(l){try{return d(l,this)}catch(f){this.error(f)}});throw new TypeError("Unable to lift unknown Observable type")}}},5280:function(G,o,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(o,"__esModule",{value:!0}),o.mapOneOrManyArgs=void 0;var y=a(752),d=Array.isArray;o.mapOneOrManyArgs=function l(f){return y.map(function(p){return function r(f,p){return d(p)?f.apply(void 0,h([],n(p))):f(p)}(f,p)})}},31:(G,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.noop=void 0,o.noop=function a(){}},963:(G,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.not=void 0,o.not=function a(n,h){return function(y,d){return!n.call(h,y,d)}}},1471:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.pipeFromArray=o.pipe=void 0;var n=a(7884);function y(d){return 0===d.length?n.identity:1===d.length?d[0]:function(l){return d.reduce(function(f,p){return p(f)},l)}}o.pipe=function h(){for(var d=[],r=0;r<arguments.length;r++)d[r]=arguments[r];return y(d)},o.pipeFromArray=y},4709:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.reportUnhandledError=void 0;var n=a(3570),h=a(3914);o.reportUnhandledError=function y(d){h.timeoutProvider.setTimeout(function(){var r=n.config.onUnhandledError;if(!r)throw d;r(d)})}},6870:(G,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.createInvalidObservableTypeError=void 0,o.createInvalidObservableTypeError=function a(n){return new TypeError("You provided "+(null!==n&&"object"==typeof n?"an invalid object":"'"+n+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}},1135:(G,o,a)=>{"use strict";a.d(o,{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 r=super._subscribe(d);return!r.closed&&d.next(this._value),r}getValue(){const{hasError:d,thrownError:r,_value:l}=this;if(d)throw r;return this._throwIfClosed(),l}next(d){super.next(this._value=d)}}},8306:(G,o,a)=>{"use strict";a.d(o,{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(P){P&&(this._subscribe=P)}lift(P){const I=new T;return I.source=this,I.operator=P,I}subscribe(P,I,V){const J=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)}(P)?P:new n.Hp(P,I,V);return(0,m.x)(()=>{const{operator:Z,source:X}=this;J.add(Z?Z.call(J,X):X?this._subscribe(J):this._trySubscribe(J))}),J}_trySubscribe(P){try{return this._subscribe(P)}catch(I){P.error(I)}}forEach(P,I){return new(I=_(I))((V,J)=>{const Z=new n.Hp({next:X=>{try{P(X)}catch(U){J(U),Z.unsubscribe()}},error:J,complete:V});this.subscribe(Z)})}_subscribe(P){var I;return null===(I=this.source)||void 0===I?void 0:I.subscribe(P)}[y.L](){return this}pipe(...P){return function l(T){return 0===T.length?d.y:1===T.length?T[0]:function(P){return T.reduce((I,V)=>V(I),P)}}(P)(this)}toPromise(P){return new(P=_(P))((I,V)=>{let J;this.subscribe(Z=>J=Z,Z=>V(Z),()=>I(J))})}}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,o,a)=>{"use strict";a.d(o,{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 r=a(8737),l=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,l.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const v of this.currentObservers)v.next(_)}})}error(_){(0,l.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,l.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,r.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,o,a)=>{"use strict";a.d(o,{Hp:()=>P,Lv:()=>v});var n=a(576),h=a(727),y=a(2416),d=a(7849),r=a(5032);const l=m("C",void 0,void 0);function m(X,U,oe){return{kind:X,value:U,error:oe}}var u=a(3410),_=a(2806);class v extends h.w0{constructor(U){super(),this.isStopped=!1,U?(this.destination=U,(0,h.Nn)(U)&&U.add(this)):this.destination=Z}static create(U,oe,le){return new P(U,oe,le)}next(U){this.isStopped?J(function p(X){return m("N",X,void 0)}(U),this):this._next(U)}error(U){this.isStopped?J(function f(X){return m("E",void 0,X)}(U),this):(this.isStopped=!0,this._error(U))}complete(){this.isStopped?J(l,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(U){this.destination.next(U)}_error(U){try{this.destination.error(U)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const b=Function.prototype.bind;function T(X,U){return b.call(X,U)}class S{constructor(U){this.partialObserver=U}next(U){const{partialObserver:oe}=this;if(oe.next)try{oe.next(U)}catch(le){I(le)}}error(U){const{partialObserver:oe}=this;if(oe.error)try{oe.error(U)}catch(le){I(le)}else I(U)}complete(){const{partialObserver:U}=this;if(U.complete)try{U.complete()}catch(oe){I(oe)}}}class P extends v{constructor(U,oe,le){let me;if(super(),(0,n.m)(U)||!U)me={next:null!=U?U:void 0,error:null!=oe?oe:void 0,complete:null!=le?le:void 0};else{let De;this&&y.v.useDeprecatedNextContext?(De=Object.create(U),De.unsubscribe=()=>this.unsubscribe(),me={next:U.next&&T(U.next,De),error:U.error&&T(U.error,De),complete:U.complete&&T(U.complete,De)}):me=U}this.destination=new S(me)}}function I(X){y.v.useDeprecatedSynchronousErrorHandling?(0,_.O)(X):(0,d.h)(X)}function J(X,U){const{onStoppedNotification:oe}=y.v;oe&&u.z.setTimeout(()=>oe(X,U))}const Z={closed:!0,next:r.Z,error:function V(X){throw X},complete:r.Z}},727:(G,o,a)=>{"use strict";a.d(o,{Lc:()=>l,w0:()=>r,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 r{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 r){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 r&&u._removeParent(this)}}r.EMPTY=(()=>{const m=new r;return m.closed=!0,m})();const l=r.EMPTY;function f(m){return m instanceof r||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,o,a)=>{"use strict";a.d(o,{v:()=>n});const n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9841:(G,o,a)=>{"use strict";a.d(o,{a:()=>u});var n=a(8306),h=a(4742),y=a(2076),d=a(4671),r=a(3268),l=a(3269),f=a(1810),p=a(5403),m=a(9672);function u(...b){const T=(0,l.yG)(b),S=(0,l.jO)(b),{args:P,keys:I}=(0,h.D)(b);if(0===P.length)return(0,y.D)([],T);const V=new n.y(function _(b,T,S=d.y){return P=>{v(T,()=>{const{length:I}=b,V=new Array(I);let J=I,Z=I;for(let X=0;X<I;X++)v(T,()=>{const U=(0,y.D)(b[X],T);let oe=!1;U.subscribe((0,p.x)(P,le=>{V[X]=le,oe||(oe=!0,Z--),Z||P.next(S(V.slice()))},()=>{--J||P.complete()}))},P)},P)}}(P,T,I?J=>(0,f.n)(I,J):d.y));return S?V.pipe((0,r.Z)(S)):V}function v(b,T,S){b?(0,m.f)(S,b,T):T()}},7272:(G,o,a)=>{"use strict";a.d(o,{z:()=>r});var n=a(8189),y=a(3269),d=a(2076);function r(...l){return function h(){return(0,n.J)(1)}()((0,d.D)(l,(0,y.yG)(l)))}},515:(G,o,a)=>{"use strict";a.d(o,{E:()=>h});const h=new(a(8306).y)(r=>r.complete())},4128:(G,o,a)=>{"use strict";a.d(o,{D:()=>p});var n=a(8306),h=a(4742),y=a(8421),d=a(3269),r=a(5403),l=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 P=new Array(S);let I=S,V=S;for(let J=0;J<S;J++){let Z=!1;(0,y.Xf)(_[J]).subscribe((0,r.x)(T,X=>{Z||(Z=!0,V--),P[J]=X},()=>I--,void 0,()=>{(!I||!Z)&&(V||T.next(v?(0,f.n)(v,P):P),T.complete())}))}});return u?b.pipe((0,l.Z)(u)):b}},2076:(G,o,a)=>{"use strict";a.d(o,{D:()=>le});var n=a(8421),h=a(9672),y=a(4482),d=a(5403);function r(me,De=0){return(0,y.e)((We,Q)=>{We.subscribe((0,d.x)(Q,ue=>(0,h.f)(Q,me,()=>Q.next(ue),De),()=>(0,h.f)(Q,me,()=>Q.complete(),De),ue=>(0,h.f)(Q,me,()=>Q.error(ue),De)))})}function l(me,De=0){return(0,y.e)((We,Q)=>{Q.add(me.schedule(()=>We.subscribe(Q),De))})}var m=a(8306),_=a(2202),v=a(576);function T(me,De){if(!me)throw new Error("Iterable cannot be null");return new m.y(We=>{(0,h.f)(We,De,()=>{const Q=me[Symbol.asyncIterator]();(0,h.f)(We,De,()=>{Q.next().then(ue=>{ue.done?We.complete():We.next(ue.value)})},0,!0)})})}var S=a(3670),P=a(8239),I=a(1144),V=a(6495),J=a(2206),Z=a(4532),X=a(3260);function le(me,De){return De?function oe(me,De){if(null!=me){if((0,S.c)(me))return function f(me,De){return(0,n.Xf)(me).pipe(l(De),r(De))}(me,De);if((0,I.z)(me))return function u(me,De){return new m.y(We=>{let Q=0;return De.schedule(function(){Q===me.length?We.complete():(We.next(me[Q++]),We.closed||this.schedule())})})}(me,De);if((0,P.t)(me))return function p(me,De){return(0,n.Xf)(me).pipe(l(De),r(De))}(me,De);if((0,J.D)(me))return T(me,De);if((0,V.T)(me))return function b(me,De){return new m.y(We=>{let Q;return(0,h.f)(We,De,()=>{Q=me[_.h](),(0,h.f)(We,De,()=>{let ue,$;try{({value:ue,done:$}=Q.next())}catch(ce){return void We.error(ce)}$?We.complete():We.next(ue)},0,!0)}),()=>(0,v.m)(null==Q?void 0:Q.return)&&Q.return()})}(me,De);if((0,X.L)(me))return function U(me,De){return T((0,X.Q)(me),De)}(me,De)}throw(0,Z.z)(me)}(me,De):(0,n.Xf)(me)}},4968:(G,o,a)=>{"use strict";a.d(o,{R:()=>u});var n=a(8421),h=a(8306),y=a(5577),d=a(1144),r=a(576),l=a(3268);const f=["addListener","removeListener"],p=["addEventListener","removeEventListener"],m=["on","off"];function u(S,P,I,V){if((0,r.m)(I)&&(V=I,I=void 0),V)return u(S,P,I).pipe((0,l.Z)(V));const[J,Z]=function T(S){return(0,r.m)(S.addEventListener)&&(0,r.m)(S.removeEventListener)}(S)?p.map(X=>U=>S[X](P,U,I)):function v(S){return(0,r.m)(S.addListener)&&(0,r.m)(S.removeListener)}(S)?f.map(_(S,P)):function b(S){return(0,r.m)(S.on)&&(0,r.m)(S.off)}(S)?m.map(_(S,P)):[];if(!J&&(0,d.z)(S))return(0,y.z)(X=>u(X,P,I))((0,n.Xf)(S));if(!J)throw new TypeError("Invalid event target");return new h.y(X=>{const U=(...oe)=>X.next(1<oe.length?oe:oe[0]);return J(U),()=>Z(U)})}function _(S,P){return I=>V=>S[I](P,V)}},8421:(G,o,a)=>{"use strict";a.d(o,{Xf:()=>b});var n=a(655),h=a(1144),y=a(8239),d=a(8306),r=a(3670),l=a(2206),f=a(4532),p=a(6495),m=a(3260),u=a(576),_=a(7849),v=a(8822);function b(X){if(X instanceof d.y)return X;if(null!=X){if((0,r.c)(X))return function T(X){return new d.y(U=>{const oe=X[v.L]();if((0,u.m)(oe.subscribe))return oe.subscribe(U);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(X);if((0,h.z)(X))return function S(X){return new d.y(U=>{for(let oe=0;oe<X.length&&!U.closed;oe++)U.next(X[oe]);U.complete()})}(X);if((0,y.t)(X))return function P(X){return new d.y(U=>{X.then(oe=>{U.closed||(U.next(oe),U.complete())},oe=>U.error(oe)).then(null,_.h)})}(X);if((0,l.D)(X))return V(X);if((0,p.T)(X))return function I(X){return new d.y(U=>{for(const oe of X)if(U.next(oe),U.closed)return;U.complete()})}(X);if((0,m.L)(X))return function J(X){return V((0,m.Q)(X))}(X)}throw(0,f.z)(X)}function V(X){return new d.y(U=>{(function Z(X,U){var oe,le,me,De;return(0,n.__awaiter)(this,void 0,void 0,function*(){try{for(oe=(0,n.__asyncValues)(X);!(le=yield oe.next()).done;)if(U.next(le.value),U.closed)return}catch(We){me={error:We}}finally{try{le&&!le.done&&(De=oe.return)&&(yield De.call(oe))}finally{if(me)throw me.error}}U.complete()})})(X,U).catch(oe=>U.error(oe))})}},6451:(G,o,a)=>{"use strict";a.d(o,{T:()=>l});var n=a(8189),h=a(8421),y=a(515),d=a(3269),r=a(2076);function l(...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,r.D)(u,p)):y.E}},9646:(G,o,a)=>{"use strict";a.d(o,{of:()=>y});var n=a(3269),h=a(2076);function y(...d){const r=(0,n.yG)(d);return(0,h.D)(d,r)}},5963:(G,o,a)=>{"use strict";a.d(o,{H:()=>r});var n=a(8306),h=a(4986),y=a(3532);function r(l=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(l){return l instanceof Date&&!isNaN(l)}(l)?+l-p.now():l;_<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,o,a)=>{"use strict";a.d(o,{x:()=>h});var n=a(930);function h(d,r,l,f,p){return new y(d,r,l,f,p)}class y extends n.Lv{constructor(r,l,f,p,m,u){super(r),this.onFinalize=m,this.shouldUnsubscribe=u,this._next=l?function(_){try{l(_)}catch(v){r.error(v)}}:super._next,this._error=p?function(_){try{p(_)}catch(v){r.error(v)}finally{this.unsubscribe()}}:super._error,this._complete=f?function(){try{f()}catch(_){r.error(_)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var r;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:l}=this;super.unsubscribe(),!l&&(null===(r=this.onFinalize)||void 0===r||r.call(this))}}}},8372:(G,o,a)=>{"use strict";a.d(o,{b:()=>d});var n=a(4986),h=a(4482),y=a(5403);function d(r,l=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=_+r,S=l.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,_=l.now(),m||(m=l.schedule(b,r),p.add(m))},()=>{v(),p.complete()},void 0,()=>{u=m=null}))})}},1884:(G,o,a)=>{"use strict";a.d(o,{x:()=>d});var n=a(4671),h=a(4482),y=a(5403);function d(l,f=n.y){return l=null!=l?l:r,(0,h.e)((p,m)=>{let u,_=!0;p.subscribe((0,y.x)(m,v=>{const b=f(v);(_||!l(u,b))&&(_=!1,u=b,m.next(v))}))})}function r(l,f){return l===f}},9300:(G,o,a)=>{"use strict";a.d(o,{h:()=>y});var n=a(4482),h=a(5403);function y(d,r){return(0,n.e)((l,f)=>{let p=0;l.subscribe((0,h.x)(f,m=>d.call(r,m,p++)&&f.next(m)))})}},4004:(G,o,a)=>{"use strict";a.d(o,{U:()=>y});var n=a(4482),h=a(5403);function y(d,r){return(0,n.e)((l,f)=>{let p=0;l.subscribe((0,h.x)(f,m=>{f.next(d.call(r,m,p++))}))})}},8189:(G,o,a)=>{"use strict";a.d(o,{J:()=>y});var n=a(5577),h=a(4671);function y(d=1/0){return(0,n.z)(h.y,d)}},5577:(G,o,a)=>{"use strict";a.d(o,{z:()=>p});var n=a(4004),h=a(8421),y=a(4482),d=a(9672),r=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 l(m,u,_,v,b,T,S,P){const I=[];let V=0,J=0,Z=!1;const X=()=>{Z&&!I.length&&!V&&u.complete()},U=le=>V<v?oe(le):I.push(le),oe=le=>{T&&u.next(le),V++;let me=!1;(0,h.Xf)(_(le,J++)).subscribe((0,r.x)(u,De=>{null==b||b(De),T?U(De):u.next(De)},()=>{me=!0},void 0,()=>{if(me)try{for(V--;I.length&&V<v;){const De=I.shift();S?(0,d.f)(u,S,()=>oe(De)):oe(De)}X()}catch(De){u.error(De)}}))};return m.subscribe((0,r.x)(u,U,()=>{Z=!0,X()})),()=>{null==P||P()}}(v,b,m,_)))}},3099:(G,o,a)=>{"use strict";a.d(o,{B:()=>l});var n=a(2076),h=a(5698),y=a(7579),d=a(930),r=a(4482);function l(p={}){const{connector:m=(()=>new y.x),resetOnError:u=!0,resetOnComplete:_=!0,resetOnRefCountZero:v=!0}=p;return b=>{let T=null,S=null,P=null,I=0,V=!1,J=!1;const Z=()=>{null==S||S.unsubscribe(),S=null},X=()=>{Z(),T=P=null,V=J=!1},U=()=>{const oe=T;X(),null==oe||oe.unsubscribe()};return(0,r.e)((oe,le)=>{I++,!J&&!V&&Z();const me=P=null!=P?P:m();le.add(()=>{I--,0===I&&!J&&!V&&(S=f(U,v))}),me.subscribe(le),T||(T=new d.Hp({next:De=>me.next(De),error:De=>{J=!0,Z(),S=f(X,u,De),me.error(De)},complete:()=>{V=!0,Z(),S=f(X,_),me.complete()}}),(0,n.D)(oe).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,o,a)=>{"use strict";a.d(o,{T:()=>h});var n=a(9300);function h(y){return(0,n.h)((d,r)=>y<=r)}},8675:(G,o,a)=>{"use strict";a.d(o,{O:()=>d});var n=a(7272),h=a(3269),y=a(4482);function d(...r){const l=(0,h.yG)(r);return(0,y.e)((f,p)=>{(l?(0,n.z)(r,f,l):(0,n.z)(r,f)).subscribe(p)})}},5698:(G,o,a)=>{"use strict";a.d(o,{q:()=>d});var n=a(515),h=a(4482),y=a(5403);function d(r){return r<=0?()=>n.E:(0,h.e)((l,f)=>{let p=0;l.subscribe((0,y.x)(f,m=>{++p<=r&&(f.next(m),r<=p&&f.complete())}))})}},2722:(G,o,a)=>{"use strict";a.d(o,{R:()=>r});var n=a(4482),h=a(5403),y=a(8421),d=a(5032);function r(l){return(0,n.e)((f,p)=>{(0,y.Xf)(l).subscribe((0,h.x)(p,()=>p.complete(),d.Z)),!p.closed&&f.subscribe(p)})}},8505:(G,o,a)=>{"use strict";a.d(o,{b:()=>r});var n=a(576),h=a(4482),y=a(5403),d=a(4671);function r(l,f,p){const m=(0,n.m)(l)||f||p?{next:l,error:f,complete:p}:l;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,o,a)=>{"use strict";a.d(o,{o:()=>r});var n=a(727);class h extends n.w0{constructor(f,p){super()}schedule(f,p=0){return this}}const y={setInterval(l,f,...p){const{delegate:m}=y;return(null==m?void 0:m.setInterval)?m.setInterval(l,f,...p):setInterval(l,f,...p)},clearInterval(l){const{delegate:f}=y;return((null==f?void 0:f.clearInterval)||clearInterval)(l)},delegate:void 0};var d=a(8737);class r 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,o,a)=>{"use strict";a.d(o,{v:()=>y});const n={now:()=>(n.delegate||Date).now(),delegate:void 0};class h{constructor(r,l=h.now){this.schedulerActionCtor=r,this.now=l}schedule(r,l=0,f){return new this.schedulerActionCtor(this,r).schedule(f,l)}}h.now=n.now;class y extends h{constructor(r,l=h.now){super(r,l),this.actions=[],this._active=!1,this._scheduled=void 0}flush(r){const{actions:l}=this;if(this._active)return void l.push(r);let f;this._active=!0;do{if(f=r.execute(r.state,r.delay))break}while(r=l.shift());if(this._active=!1,f){for(;r=l.shift();)r.unsubscribe();throw f}}}},3101:(G,o,a)=>{"use strict";a.d(o,{E:()=>T});var n=a(4408);let y,h=1;const d={};function r(P){return P in d&&(delete d[P],!0)}const l={setImmediate(P){const I=h++;return d[I]=!0,y||(y=Promise.resolve()),y.then(()=>r(I)&&P()),I},clearImmediate(P){r(P)}},{setImmediate:p,clearImmediate:m}=l,u={setImmediate(...P){const{delegate:I}=u;return((null==I?void 0:I.setImmediate)||p)(...P)},clearImmediate(P){const{delegate:I}=u;return((null==I?void 0:I.clearImmediate)||m)(P)},delegate:void 0};var v=a(640);const T=new class b extends v.v{flush(I){this._active=!0;const V=this._scheduled;this._scheduled=void 0;const{actions:J}=this;let Z;I=I||J.shift();do{if(Z=I.execute(I.state,I.delay))break}while((I=J[0])&&I.id===V&&J.shift());if(this._active=!1,Z){for(;(I=J[0])&&I.id===V&&J.shift();)I.unsubscribe();throw Z}}}(class _ extends n.o{constructor(I,V){super(I,V),this.scheduler=I,this.work=V}requestAsyncId(I,V,J=0){return null!==J&&J>0?super.requestAsyncId(I,V,J):(I.actions.push(this),I._scheduled||(I._scheduled=u.setImmediate(I.flush.bind(I,void 0))))}recycleAsyncId(I,V,J=0){if(null!=J&&J>0||null==J&&this.delay>0)return super.recycleAsyncId(I,V,J);I.actions.some(Z=>Z.id===V)||(u.clearImmediate(V),I._scheduled=void 0)}})},4986:(G,o,a)=>{"use strict";a.d(o,{P:()=>d,z:()=>y});var n=a(4408);const y=new(a(640).v)(n.o),d=y},3410:(G,o,a)=>{"use strict";a.d(o,{z:()=>n});const n={setTimeout(h,y,...d){const{delegate:r}=n;return(null==r?void 0:r.setTimeout)?r.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,o,a)=>{"use strict";a.d(o,{h:()=>h});const h=function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(G,o,a)=>{"use strict";a.d(o,{L:()=>n});const n="function"==typeof Symbol&&Symbol.observable||"@@observable"},3269:(G,o,a)=>{"use strict";a.d(o,{_6:()=>l,jO:()=>d,yG:()=>r});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 r(f){return(0,h.K)(y(f))?f.pop():void 0}function l(f,p){return"number"==typeof y(f)?f.pop():p}},4742:(G,o,a)=>{"use strict";a.d(o,{D:()=>r});const{isArray:n}=Array,{getPrototypeOf:h,prototype:y,keys:d}=Object;function r(f){if(1===f.length){const p=f[0];if(n(p))return{args:p,keys:null};if(function l(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,o,a)=>{"use strict";function n(h,y){if(h){const d=h.indexOf(y);0<=d&&h.splice(d,1)}}a.d(o,{P:()=>n})},3888:(G,o,a)=>{"use strict";function n(h){const d=h(r=>{Error.call(r),r.stack=(new Error).stack});return d.prototype=Object.create(Error.prototype),d.prototype.constructor=d,d}a.d(o,{d:()=>n})},1810:(G,o,a)=>{"use strict";function n(h,y){return h.reduce((d,r,l)=>(d[r]=y[l],d),{})}a.d(o,{n:()=>n})},2806:(G,o,a)=>{"use strict";a.d(o,{O:()=>d,x:()=>y});var n=a(2416);let h=null;function y(r){if(n.v.useDeprecatedSynchronousErrorHandling){const l=!h;if(l&&(h={errorThrown:!1,error:null}),r(),l){const{errorThrown:f,error:p}=h;if(h=null,f)throw p}}else r()}function d(r){n.v.useDeprecatedSynchronousErrorHandling&&h&&(h.errorThrown=!0,h.error=r)}},9672:(G,o,a)=>{"use strict";function n(h,y,d,r=0,l=!1){const f=y.schedule(function(){d(),l?h.add(this.schedule(null,r)):this.unsubscribe()},r);if(h.add(f),!l)return f}a.d(o,{f:()=>n})},4671:(G,o,a)=>{"use strict";function n(h){return h}a.d(o,{y:()=>n})},1144:(G,o,a)=>{"use strict";a.d(o,{z:()=>n});const n=h=>h&&"number"==typeof h.length&&"function"!=typeof h},2206:(G,o,a)=>{"use strict";a.d(o,{D:()=>h});var n=a(576);function h(y){return Symbol.asyncIterator&&(0,n.m)(null==y?void 0:y[Symbol.asyncIterator])}},576:(G,o,a)=>{"use strict";function n(h){return"function"==typeof h}a.d(o,{m:()=>n})},3670:(G,o,a)=>{"use strict";a.d(o,{c:()=>y});var n=a(8822),h=a(576);function y(d){return(0,h.m)(d[n.L])}},6495:(G,o,a)=>{"use strict";a.d(o,{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,o,a)=>{"use strict";a.d(o,{t:()=>h});var n=a(576);function h(y){return(0,n.m)(null==y?void 0:y.then)}},3260:(G,o,a)=>{"use strict";a.d(o,{L:()=>d,Q:()=>y});var n=a(655),h=a(576);function y(r){return(0,n.__asyncGenerator)(this,arguments,function*(){const f=r.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(r){return(0,h.m)(null==r?void 0:r.getReader)}},3532:(G,o,a)=>{"use strict";a.d(o,{K:()=>h});var n=a(576);function h(y){return y&&(0,n.m)(y.schedule)}},4482:(G,o,a)=>{"use strict";a.d(o,{e:()=>y});var n=a(576);function y(d){return r=>{if(function h(d){return(0,n.m)(null==d?void 0:d.lift)}(r))return r.lift(function(l){try{return d(l,this)}catch(f){this.error(f)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(G,o,a)=>{"use strict";a.d(o,{Z:()=>d});var n=a(4004);const{isArray:h}=Array;function d(r){return(0,n.U)(l=>function y(r,l){return h(l)?r(...l):r(l)}(r,l))}},5032:(G,o,a)=>{"use strict";function n(){}a.d(o,{Z:()=>n})},7849:(G,o,a)=>{"use strict";a.d(o,{h:()=>y});var n=a(2416),h=a(3410);function y(d){h.z.setTimeout(()=>{const{onUnhandledError:r}=n.v;if(!r)throw d;r(d)})}},4532:(G,o,a)=>{"use strict";function n(h){return new TypeError(`You provided ${null!==h&&"object"==typeof h?"an invalid object":`'${h}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}a.d(o,{z:()=>n})},3642:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateRxMethod=o.generateMethodSignature=o.generateErrorClass=o.generateClass=o.generateErrorType=o.generateEnum=o.generateJsonRepresentation=o.mangle=o.generateSwiftTypeName=void 0;const n=a(6676);function h(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}`)}}o.generateSwiftTypeName=h,o.mangle=y,o.generateJsonRepresentation=d,o.generateEnum=function r(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},o.generateErrorType=function l(b){let T=" public enum ErrorType: String, Codable {\n";return T+=b.map(S=>` case ${y(S)} = "${S}"`).join("\n"),T+="\n }\n",T},o.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`},o.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"},o.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(", ")})`},o.generateRxMethod=function v(b){const T=b.args.map(P=>`${y(P.name)}: ${h(P.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(P=>`${y(P.name)}: ${y(P.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,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(y,d,r,l){void 0===l&&(l=r);var f=Object.getOwnPropertyDescriptor(d,r);(!f||("get"in f?!d.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return d[r]}}),Object.defineProperty(y,l,f)}:function(y,d,r,l){void 0===l&&(l=r),y[l]=d[r]}),h=this&&this.__exportStar||function(y,d){for(var r in y)"default"!==r&&!Object.prototype.hasOwnProperty.call(d,r)&&n(d,y,r)};Object.defineProperty(o,"__esModule",{value:!0}),h(a(7636),o)},7636:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateSwiftClientSource=void 0;const n=a(6676),h=a(3642);o.generateSwiftClientSource=function y(d,r){let l="import Foundation\nimport SdkgenRuntime\n";l+=r?"import RxSwift\nimport RxCocoa\n\n":"\n",l+="protocol APICallsProtocol {\n",l+=d.operations.filter(m=>m.annotations.every(u=>!(u instanceof n.HiddenAnnotation))).map(m=>`${(0,h.generateMethodSignature)(m)}`).join("\n"),l+="\n}\n\n",l+='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)l+=(0,h.generateEnum)(m),l+="\n";for(const m of d.structTypes)l+=(0,h.generateClass)(m),l+="\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&&(l+=(0,h.generateErrorType)(f),l+="\n"),l+=(0,h.generateErrorClass)(),l+="\n",l+=" public enum Result<T> {\n case success(T)\n case failure(Failure)\n }\n\n",l+=" public class Calls: SdkgenHttpClient, APICallsProtocol {\n\n override init(baseUrl: String) {\n super.init(baseUrl: baseUrl)\n }\n\n",l+=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"),l+=" }\n",l+="}\n",r&&(l+="\n",l+="extension API: ReactiveCompatible {}\n\n",l+="extension Reactive where Base: API {\n",l+=d.operations.filter(m=>m.annotations.every(u=>!(u instanceof n.HiddenAnnotation))).map(m=>`${(0,h.generateRxMethod)(m)}`).join("\n"),l+="}\n"),l}},8173:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateBrowserClientSource=void 0;const n=a(6676),h=a(5596);o.generateBrowserClientSource=function y(d){let r="";r+=`/* 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)r+=(0,h.generateTypescriptEnum)(f),r+="\n";for(const f of d.structTypes)r+=(0,h.generateTypescriptInterface)(f,!0),r+="\n";for(const f of d.errors)r+=(0,h.generateTypescriptErrorClass)(f,!0),r+="\n";return r+=`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`,r+=`const errClasses = {\n${d.errors.map(f=>` ${f.name}`).join(",\n")}\n};\n\n`,r+=`const astJson = ${JSON.stringify((0,n.astToJson)(d),null,4).replace(/"(?<key>\w+)":/gu,"$<key>:")} as const;\n`,r}},5596:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.clearForLogging=o.generateTypescriptErrorClass=o.generateTypescriptEnum=o.generateTypescriptInterface=o.generateTypescriptTypeName=void 0;const n=a(6676);function h(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}`)}}o.generateTypescriptTypeName=h,o.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`},o.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`},o.generateTypescriptErrorClass=function r(f,p){return`export class ${f.name} extends ${f.dataType instanceof n.VoidPrimitiveType?"SdkgenError":`SdkgenErrorWithData<${h(f.dataType,p)}>`} {}\n`},o.clearForLogging=function l(f,p){switch(p.constructor){case n.TypeReference:return l(f,p.type);case n.OptionalType:{const m=l(f,p.base);return m?`if (${f} !== null && ${f} !== undefined) { ${m} }`:""}case n.ArrayType:{const m=l("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 _=l(`${f}.${u.name}`,u.type);_&&m.push(_)}return m.join(" ")}default:return""}}},2911:function(G,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(y,d,r,l){void 0===l&&(l=r);var f=Object.getOwnPropertyDescriptor(d,r);(!f||("get"in f?!d.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return d[r]}}),Object.defineProperty(y,l,f)}:function(y,d,r,l){void 0===l&&(l=r),y[l]=d[r]}),h=this&&this.__exportStar||function(y,d){for(var r in y)"default"!==r&&!Object.prototype.hasOwnProperty.call(d,r)&&n(d,y,r)};Object.defineProperty(o,"__esModule",{value:!0}),h(a(8173),o),h(a(7538),o),h(a(1727),o),h(a(615),o)},7538:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateTypescriptInterfaces=void 0;const n=a(5596);o.generateTypescriptInterfaces=function h(y){let d="";for(const r of y.enumTypes)d+=(0,n.generateTypescriptEnum)(r);d+="\n";for(const r of y.structTypes)d+=(0,n.generateTypescriptInterface)(r,!1),d+="\n";return d}},1727:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateNodeClientSource=void 0;const n=a(6676),h=a(5596);o.generateNodeClientSource=function y(d){let r="";const l=d.errors.some(p=>!(p.dataType instanceof n.VoidPrimitiveType));r+=`/* eslint-disable */\nimport { Context, Fatal${d.errors.filter(p=>"Fatal"!==p.name).some(p=>p.dataType instanceof n.VoidPrimitiveType)?", SdkgenError":""}${l?", 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)r+=(0,h.generateTypescriptEnum)(p),r+="\n";for(const p of d.structTypes)r+=(0,h.generateTypescriptInterface)(p,!1),r+="\n";for(const p of d.errors)"Fatal"!==p.name&&(r+=(0,h.generateTypescriptErrorClass)(p,!1),r+="\n");return r+=`export class ApiClient extends SdkgenHttpClient {\n constructor(baseUrl: string) {\n super(baseUrl, astJson, errClasses);\n }\n${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`,r+=`const errClasses = {\n${d.errors.map(p=>` ${p.name}`).join(",\n")}\n};\n\n`,r+=`const astJson = ${JSON.stringify((0,n.astToJson)(d),null,4).replace(/"(?<key>\w+)":/gu,"$<key>:")} as const;\n`,r}},615:(G,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateNodeServerSource=void 0;const n=a(6676),h=a(5596);o.generateNodeServerSource=function y(d){let r="";const l=d.errors.some(p=>!(p.dataType instanceof n.VoidPrimitiveType));r+=`/* eslint-disable */\nimport { BaseApiConfig, Context, Fatal${d.errors.filter(p=>"Fatal"!==p.name).some(p=>p.dataType instanceof n.VoidPrimitiveType)?", SdkgenError":""}${l?", SdkgenErrorWithData":""} } from "@sdkgen/node-runtime";\nexport { Fatal } from "@sdkgen/node-runtime";\n\n`;for(const p of d.enumTypes)r+=(0,h.generateTypescriptEnum)(p),r+="\n";for(const p of d.structTypes)r+=(0,h.generateTypescriptInterface)(p,!1),r+="\n";for(const p of d.errors)"Fatal"!==p.name&&(r+=(0,h.generateTypescriptErrorClass)(p,!1),r+="\n");return r+=`export class ApiConfig<ExtraContextT> extends BaseApiConfig<ExtraContextT> {\n declare 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`,r}},8926:G=>{function o(n,h,y,d,r,l,f){try{var p=n[l](f),m=p.value}catch(u){return void y(u)}p.done?h(m):Promise.resolve(m).then(d,r)}G.exports=function a(n){return function(){var h=this,y=arguments;return new Promise(function(d,r){var l=n.apply(h,y);function f(m){o(l,d,r,f,p,"next",m)}function p(m){o(l,d,r,f,p,"throw",m)}f(void 0)})}},G.exports.__esModule=!0,G.exports.default=G.exports},655:(G,o,a)=>{"use strict";a.r(o),a.d(o,{__assign:()=>y,__asyncDelegator:()=>J,__asyncGenerator:()=>V,__asyncValues:()=>Z,__await:()=>I,__awaiter:()=>p,__classPrivateFieldGet:()=>me,__classPrivateFieldIn:()=>We,__classPrivateFieldSet:()=>De,__createBinding:()=>u,__decorate:()=>r,__exportStar:()=>_,__extends:()=>h,__generator:()=>m,__importDefault:()=>le,__importStar:()=>oe,__makeTemplateObject:()=>X,__metadata:()=>f,__param:()=>l,__read:()=>b,__rest:()=>d,__spread:()=>T,__spreadArray:()=>P,__spreadArrays:()=>S,__values:()=>v});var n=function(Q,ue){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function($,ce){$.__proto__=ce}||function($,ce){for(var de in ce)Object.prototype.hasOwnProperty.call(ce,de)&&($[de]=ce[de])})(Q,ue)};function h(Q,ue){if("function"!=typeof ue&&null!==ue)throw new TypeError("Class extends value "+String(ue)+" is not a constructor or null");function $(){this.constructor=Q}n(Q,ue),Q.prototype=null===ue?Object.create(ue):($.prototype=ue.prototype,new $)}var y=function(){return y=Object.assign||function(ue){for(var $,ce=1,de=arguments.length;ce<de;ce++)for(var _e in $=arguments[ce])Object.prototype.hasOwnProperty.call($,_e)&&(ue[_e]=$[_e]);return ue},y.apply(this,arguments)};function d(Q,ue){var $={};for(var ce in Q)Object.prototype.hasOwnProperty.call(Q,ce)&&ue.indexOf(ce)<0&&($[ce]=Q[ce]);if(null!=Q&&"function"==typeof Object.getOwnPropertySymbols){var de=0;for(ce=Object.getOwnPropertySymbols(Q);de<ce.length;de++)ue.indexOf(ce[de])<0&&Object.prototype.propertyIsEnumerable.call(Q,ce[de])&&($[ce[de]]=Q[ce[de]])}return $}function r(Q,ue,$,ce){var et,de=arguments.length,_e=de<3?ue:null===ce?ce=Object.getOwnPropertyDescriptor(ue,$):ce;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)_e=Reflect.decorate(Q,ue,$,ce);else for(var dt=Q.length-1;dt>=0;dt--)(et=Q[dt])&&(_e=(de<3?et(_e):de>3?et(ue,$,_e):et(ue,$))||_e);return de>3&&_e&&Object.defineProperty(ue,$,_e),_e}function l(Q,ue){return function($,ce){ue($,ce,Q)}}function f(Q,ue){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(Q,ue)}function p(Q,ue,$,ce){return new($||($=Promise))(function(_e,et){function dt(Qe){try{st(ce.next(Qe))}catch(ht){et(ht)}}function it(Qe){try{st(ce.throw(Qe))}catch(ht){et(ht)}}function st(Qe){Qe.done?_e(Qe.value):function de(_e){return _e instanceof $?_e:new $(function(et){et(_e)})}(Qe.value).then(dt,it)}st((ce=ce.apply(Q,ue||[])).next())})}function m(Q,ue){var ce,de,_e,et,$={label:0,sent:function(){if(1&_e[0])throw _e[1];return _e[1]},trys:[],ops:[]};return et={next:dt(0),throw:dt(1),return:dt(2)},"function"==typeof Symbol&&(et[Symbol.iterator]=function(){return this}),et;function dt(st){return function(Qe){return function it(st){if(ce)throw new TypeError("Generator is already executing.");for(;$;)try{if(ce=1,de&&(_e=2&st[0]?de.return:st[0]?de.throw||((_e=de.return)&&_e.call(de),0):de.next)&&!(_e=_e.call(de,st[1])).done)return _e;switch(de=0,_e&&(st=[2&st[0],_e.value]),st[0]){case 0:case 1:_e=st;break;case 4:return $.label++,{value:st[1],done:!1};case 5:$.label++,de=st[1],st=[0];continue;case 7:st=$.ops.pop(),$.trys.pop();continue;default:if(!(_e=(_e=$.trys).length>0&&_e[_e.length-1])&&(6===st[0]||2===st[0])){$=0;continue}if(3===st[0]&&(!_e||st[1]>_e[0]&&st[1]<_e[3])){$.label=st[1];break}if(6===st[0]&&$.label<_e[1]){$.label=_e[1],_e=st;break}if(_e&&$.label<_e[2]){$.label=_e[2],$.ops.push(st);break}_e[2]&&$.ops.pop(),$.trys.pop();continue}st=ue.call(Q,$)}catch(Qe){st=[6,Qe],de=0}finally{ce=_e=0}if(5&st[0])throw st[1];return{value:st[0]?st[1]:void 0,done:!0}}([st,Qe])}}}var u=Object.create?function(Q,ue,$,ce){void 0===ce&&(ce=$);var de=Object.getOwnPropertyDescriptor(ue,$);(!de||("get"in de?!ue.__esModule:de.writable||de.configurable))&&(de={enumerable:!0,get:function(){return ue[$]}}),Object.defineProperty(Q,ce,de)}:function(Q,ue,$,ce){void 0===ce&&(ce=$),Q[ce]=ue[$]};function _(Q,ue){for(var $ in Q)"default"!==$&&!Object.prototype.hasOwnProperty.call(ue,$)&&u(ue,Q,$)}function v(Q){var ue="function"==typeof Symbol&&Symbol.iterator,$=ue&&Q[ue],ce=0;if($)return $.call(Q);if(Q&&"number"==typeof Q.length)return{next:function(){return Q&&ce>=Q.length&&(Q=void 0),{value:Q&&Q[ce++],done:!Q}}};throw new TypeError(ue?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(Q,ue){var $="function"==typeof Symbol&&Q[Symbol.iterator];if(!$)return Q;var de,et,ce=$.call(Q),_e=[];try{for(;(void 0===ue||ue-- >0)&&!(de=ce.next()).done;)_e.push(de.value)}catch(dt){et={error:dt}}finally{try{de&&!de.done&&($=ce.return)&&$.call(ce)}finally{if(et)throw et.error}}return _e}function T(){for(var Q=[],ue=0;ue<arguments.length;ue++)Q=Q.concat(b(arguments[ue]));return Q}function S(){for(var Q=0,ue=0,$=arguments.length;ue<$;ue++)Q+=arguments[ue].length;var ce=Array(Q),de=0;for(ue=0;ue<$;ue++)for(var _e=arguments[ue],et=0,dt=_e.length;et<dt;et++,de++)ce[de]=_e[et];return ce}function P(Q,ue,$){if($||2===arguments.length)for(var _e,ce=0,de=ue.length;ce<de;ce++)(_e||!(ce in ue))&&(_e||(_e=Array.prototype.slice.call(ue,0,ce)),_e[ce]=ue[ce]);return Q.concat(_e||Array.prototype.slice.call(ue))}function I(Q){return this instanceof I?(this.v=Q,this):new I(Q)}function V(Q,ue,$){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var de,ce=$.apply(Q,ue||[]),_e=[];return de={},et("next"),et("throw"),et("return"),de[Symbol.asyncIterator]=function(){return this},de;function et(xe){ce[xe]&&(de[xe]=function(qe){return new Promise(function(Le,Ge){_e.push([xe,qe,Le,Ge])>1||dt(xe,qe)})})}function dt(xe,qe){try{!function it(xe){xe.value instanceof I?Promise.resolve(xe.value.v).then(st,Qe):ht(_e[0][2],xe)}(ce[xe](qe))}catch(Le){ht(_e[0][3],Le)}}function st(xe){dt("next",xe)}function Qe(xe){dt("throw",xe)}function ht(xe,qe){xe(qe),_e.shift(),_e.length&&dt(_e[0][0],_e[0][1])}}function J(Q){var ue,$;return ue={},ce("next"),ce("throw",function(de){throw de}),ce("return"),ue[Symbol.iterator]=function(){return this},ue;function ce(de,_e){ue[de]=Q[de]?function(et){return($=!$)?{value:I(Q[de](et)),done:"return"===de}:_e?_e(et):et}:_e}}function Z(Q){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var $,ue=Q[Symbol.asyncIterator];return ue?ue.call(Q):(Q=v(Q),$={},ce("next"),ce("throw"),ce("return"),$[Symbol.asyncIterator]=function(){return this},$);function ce(_e){$[_e]=Q[_e]&&function(et){return new Promise(function(dt,it){!function de(_e,et,dt,it){Promise.resolve(it).then(function(st){_e({value:st,done:dt})},et)}(dt,it,(et=Q[_e](et)).done,et.value)})}}}function X(Q,ue){return Object.defineProperty?Object.defineProperty(Q,"raw",{value:ue}):Q.raw=ue,Q}var U=Object.create?function(Q,ue){Object.defineProperty(Q,"default",{enumerable:!0,value:ue})}:function(Q,ue){Q.default=ue};function oe(Q){if(Q&&Q.__esModule)return Q;var ue={};if(null!=Q)for(var $ in Q)"default"!==$&&Object.prototype.hasOwnProperty.call(Q,$)&&u(ue,Q,$);return U(ue,Q),ue}function le(Q){return Q&&Q.__esModule?Q:{default:Q}}function me(Q,ue,$,ce){if("a"===$&&!ce)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof ue?Q!==ue||!ce:!ue.has(Q))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===$?ce:"a"===$?ce.call(Q):ce?ce.value:ue.get(Q)}function De(Q,ue,$,ce,de){if("m"===ce)throw new TypeError("Private method is not writable");if("a"===ce&&!de)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof ue?Q!==ue||!de:!ue.has(Q))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===ce?de.call(Q,$):de?de.value=$:ue.set(Q,$),$}function We(Q,ue){if(null===ue||"object"!=typeof ue&&"function"!=typeof ue)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof Q?ue===Q:Q.has(ue)}},1777:(G,o,a)=>{"use strict";a.d(o,{F4:()=>u,IO:()=>S,LC:()=>h,SB:()=>m,X$:()=>d,ZE:()=>J,ZN:()=>V,_j:()=>n,eR:()=>_,jt:()=>r,k1:()=>Z,l3:()=>y,oB:()=>p,pV:()=>b,ru:()=>l,vP:()=>f});class n{}class h{}const y="*";function d(X,U){return{type:7,name:X,definitions:U,options:{}}}function r(X,U=null){return{type:4,styles:U,timings:X}}function l(X,U=null){return{type:3,steps:X,options:U}}function f(X,U=null){return{type:2,steps:X,options:U}}function p(X){return{type:6,styles:X,offset:null}}function m(X,U,oe){return{type:0,name:X,styles:U,options:oe}}function u(X){return{type:5,steps:X}}function _(X,U,oe=null){return{type:1,expr:X,animation:U,options:oe}}function b(X=null){return{type:9,options:X}}function S(X,U,oe=null){return{type:11,selector:X,animation:U,options:oe}}function I(X){Promise.resolve(null).then(X)}class V{constructor(U=0,oe=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=U+oe}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(U=>U()),this._onDoneFns=[])}onStart(U){this._onStartFns.push(U)}onDone(U){this._onDoneFns.push(U)}onDestroy(U){this._onDestroyFns.push(U)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){I(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(U=>U()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(U=>U()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(U){this._position=this.totalTime?U*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(U){const oe="start"==U?this._onStartFns:this._onDoneFns;oe.forEach(le=>le()),oe.length=0}}class J{constructor(U){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=U;let oe=0,le=0,me=0;const De=this.players.length;0==De?I(()=>this._onFinish()):this.players.forEach(We=>{We.onDone(()=>{++oe==De&&this._onFinish()}),We.onDestroy(()=>{++le==De&&this._onDestroy()}),We.onStart(()=>{++me==De&&this._onStart()})}),this.totalTime=this.players.reduce((We,Q)=>Math.max(We,Q.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(U=>U()),this._onDoneFns=[])}init(){this.players.forEach(U=>U.init())}onStart(U){this._onStartFns.push(U)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(U=>U()),this._onStartFns=[])}onDone(U){this._onDoneFns.push(U)}onDestroy(U){this._onDestroyFns.push(U)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(U=>U.play())}pause(){this.players.forEach(U=>U.pause())}restart(){this.players.forEach(U=>U.restart())}finish(){this._onFinish(),this.players.forEach(U=>U.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(U=>U.destroy()),this._onDestroyFns.forEach(U=>U()),this._onDestroyFns=[])}reset(){this.players.forEach(U=>U.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(U){const oe=U*this.totalTime;this.players.forEach(le=>{const me=le.totalTime?Math.min(1,oe/le.totalTime):1;le.setPosition(me)})}getPosition(){const U=this.players.reduce((oe,le)=>null===oe||le.totalTime>oe.totalTime?le:oe,null);return null!=U?U.getPosition():0}beforeDestroy(){this.players.forEach(U=>{U.beforeDestroy&&U.beforeDestroy()})}triggerCallback(U){const oe="start"==U?this._onStartFns:this._onDoneFns;oe.forEach(le=>le()),oe.length=0}}const Z="!"},5664:(G,o,a)=>{"use strict";a.d(o,{$s:()=>We,Em:()=>de,X6:()=>Fe,ic:()=>et,kH:()=>lt,qV:()=>ne,qm:()=>Mt,rt:()=>Ht,tE:()=>ze,yG:()=>Je});var n=a(9808),h=a(5e3),y=a(925),d=a(7579),r=a(727),l=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),P=a(2722),I=a(3191),V=a(7144);function U(fe,q){return(fe.getAttribute(q)||"").match(/\S+/g)||[]}const le="cdk-describedby-message",me="cdk-describedby-host";let De=0,We=(()=>{class fe{constructor(k,W){this._platform=W,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+De++,this._document=k}describe(k,W,Y){if(!this._canBeDescribed(k,W))return;const z=Q(W,Y);"string"!=typeof W?(ue(W),this._messageRegistry.set(z,{messageElement:W,referenceCount:0})):this._messageRegistry.has(z)||this._createMessageElement(W,Y),this._isElementDescribedByMessage(k,z)||this._addMessageReference(k,z)}removeDescription(k,W,Y){var z;if(!W||!this._isElementNode(k))return;const N=Q(W,Y);if(this._isElementDescribedByMessage(k,N)&&this._removeMessageReference(k,N),"string"==typeof W){const he=this._messageRegistry.get(N);he&&0===he.referenceCount&&this._deleteMessageElement(N)}0===(null===(z=this._messagesContainer)||void 0===z?void 0:z.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var k;const W=this._document.querySelectorAll(`[${me}="${this._id}"]`);for(let Y=0;Y<W.length;Y++)this._removeCdkDescribedByReferenceIds(W[Y]),W[Y].removeAttribute(me);null===(k=this._messagesContainer)||void 0===k||k.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(k,W){const Y=this._document.createElement("div");ue(Y),Y.textContent=k,W&&Y.setAttribute("role",W),this._createMessagesContainer(),this._messagesContainer.appendChild(Y),this._messageRegistry.set(Q(k,W),{messageElement:Y,referenceCount:0})}_deleteMessageElement(k){var W,Y;null===(Y=null===(W=this._messageRegistry.get(k))||void 0===W?void 0:W.messageElement)||void 0===Y||Y.remove(),this._messageRegistry.delete(k)}_createMessagesContainer(){if(this._messagesContainer)return;const k="cdk-describedby-message-container",W=this._document.querySelectorAll(`.${k}[platform="server"]`);for(let z=0;z<W.length;z++)W[z].remove();const Y=this._document.createElement("div");Y.style.visibility="hidden",Y.classList.add(k),Y.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&Y.setAttribute("platform","server"),this._document.body.appendChild(Y),this._messagesContainer=Y}_removeCdkDescribedByReferenceIds(k){const W=U(k,"aria-describedby").filter(Y=>0!=Y.indexOf(le));k.setAttribute("aria-describedby",W.join(" "))}_addMessageReference(k,W){const Y=this._messageRegistry.get(W);(function Z(fe,q,k){const W=U(fe,q);W.some(Y=>Y.trim()==k.trim())||(W.push(k.trim()),fe.setAttribute(q,W.join(" ")))})(k,"aria-describedby",Y.messageElement.id),k.setAttribute(me,this._id),Y.referenceCount++}_removeMessageReference(k,W){const Y=this._messageRegistry.get(W);Y.referenceCount--,function X(fe,q,k){const Y=U(fe,q).filter(z=>z!=k.trim());Y.length?fe.setAttribute(q,Y.join(" ")):fe.removeAttribute(q)}(k,"aria-describedby",Y.messageElement.id),k.removeAttribute(me)}_isElementDescribedByMessage(k,W){const Y=U(k,"aria-describedby"),z=this._messageRegistry.get(W),N=z&&z.messageElement.id;return!!N&&-1!=Y.indexOf(N)}_canBeDescribed(k,W){if(!this._isElementNode(k))return!1;if(W&&"object"==typeof W)return!0;const Y=null==W?"":`${W}`.trim(),z=k.getAttribute("aria-label");return!(!Y||z&&z.trim()===Y)}_isElementNode(k){return k.nodeType===this._document.ELEMENT_NODE}}return fe.\u0275fac=function(k){return new(k||fe)(h.\u0275\u0275inject(n.DOCUMENT),h.\u0275\u0275inject(y.t4))},fe.\u0275prov=h.\u0275\u0275defineInjectable({token:fe,factory:fe.\u0275fac,providedIn:"root"}),fe})();function Q(fe,q){return"string"==typeof fe?`${q||""}/${fe}`:fe}function ue(fe){fe.id||(fe.id=`${le}-${De++}`)}class de extends class ${constructor(q){this._items=q,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new d.x,this._typeaheadSubscription=r.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=k=>k.disabled,this._pressedLetters=[],this.tabOut=new d.x,this.change=new d.x,q instanceof h.QueryList&&q.changes.subscribe(k=>{if(this._activeItem){const Y=k.toArray().indexOf(this._activeItem);Y>-1&&Y!==this._activeItemIndex&&(this._activeItemIndex=Y)}})}skipPredicate(q){return this._skipPredicateFn=q,this}withWrap(q=!0){return this._wrap=q,this}withVerticalOrientation(q=!0){return this._vertical=q,this}withHorizontalOrientation(q){return this._horizontal=q,this}withAllowedModifierKeys(q){return this._allowedModifierKeys=q,this}withTypeAhead(q=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,m.b)(k=>this._pressedLetters.push(k)),(0,u.b)(q),(0,_.h)(()=>this._pressedLetters.length>0),(0,v.U)(()=>this._pressedLetters.join(""))).subscribe(k=>{const W=this._getItemsArray();for(let Y=1;Y<W.length+1;Y++){const z=(this._activeItemIndex+Y)%W.length,N=W[z];if(!this._skipPredicateFn(N)&&0===N.getLabel().toUpperCase().trim().indexOf(k)){this.setActiveItem(z);break}}this._pressedLetters=[]}),this}withHomeAndEnd(q=!0){return this._homeAndEnd=q,this}setActiveItem(q){const k=this._activeItem;this.updateActiveItem(q),this._activeItem!==k&&this.change.next(this._activeItemIndex)}onKeydown(q){const k=q.keyCode,Y=["altKey","ctrlKey","metaKey","shiftKey"].every(z=>!q[z]||this._allowedModifierKeys.indexOf(z)>-1);switch(k){case p.Mf:return void this.tabOut.next();case p.JH:if(this._vertical&&Y){this.setNextItemActive();break}return;case p.LH:if(this._vertical&&Y){this.setPreviousItemActive();break}return;case p.SV:if(this._horizontal&&Y){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case p.oh:if(this._horizontal&&Y){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case p.Sd:if(this._homeAndEnd&&Y){this.setFirstItemActive();break}return;case p.uR:if(this._homeAndEnd&&Y){this.setLastItemActive();break}return;default:return void((Y||(0,p.Vb)(q,"shiftKey"))&&(q.key&&1===q.key.length?this._letterKeyStream.next(q.key.toLocaleUpperCase()):(k>=p.A&&k<=p.Z||k>=p.xE&&k<=p.aO)&&this._letterKeyStream.next(String.fromCharCode(k))))}this._pressedLetters=[],q.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(q){const k=this._getItemsArray(),W="number"==typeof q?q:k.indexOf(q),Y=k[W];this._activeItem=null==Y?null:Y,this._activeItemIndex=W}_setActiveItemByDelta(q){this._wrap?this._setActiveInWrapMode(q):this._setActiveInDefaultMode(q)}_setActiveInWrapMode(q){const k=this._getItemsArray();for(let W=1;W<=k.length;W++){const Y=(this._activeItemIndex+q*W+k.length)%k.length;if(!this._skipPredicateFn(k[Y]))return void this.setActiveItem(Y)}}_setActiveInDefaultMode(q){this._setActiveItemByIndex(this._activeItemIndex+q,q)}_setActiveItemByIndex(q,k){const W=this._getItemsArray();if(W[q]){for(;this._skipPredicateFn(W[q]);)if(!W[q+=k])return;this.setActiveItem(q)}}_getItemsArray(){return this._items instanceof h.QueryList?this._items.toArray():this._items}}{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(q){return this._origin=q,this}setActiveItem(q){super.setActiveItem(q),this.activeItem&&this.activeItem.focus(this._origin)}}let et=(()=>{class fe{constructor(k){this._platform=k}isDisabled(k){return k.hasAttribute("disabled")}isVisible(k){return function it(fe){return!!(fe.offsetWidth||fe.offsetHeight||"function"==typeof fe.getClientRects&&fe.getClientRects().length)}(k)&&"visible"===getComputedStyle(k).visibility}isTabbable(k){if(!this._platform.isBrowser)return!1;const W=function dt(fe){try{return fe.frameElement}catch(q){return null}}(function Se(fe){return fe.ownerDocument&&fe.ownerDocument.defaultView||window}(k));if(W&&(-1===Ge(W)||!this.isVisible(W)))return!1;let Y=k.nodeName.toLowerCase(),z=Ge(k);return k.hasAttribute("contenteditable")?-1!==z:!("iframe"===Y||"object"===Y||this._platform.WEBKIT&&this._platform.IOS&&!function pt(fe){let q=fe.nodeName.toLowerCase(),k="input"===q&&fe.type;return"text"===k||"password"===k||"select"===q||"textarea"===q}(k))&&("audio"===Y?!!k.hasAttribute("controls")&&-1!==z:"video"===Y?-1!==z&&(null!==z||this._platform.FIREFOX||k.hasAttribute("controls")):k.tabIndex>=0)}isFocusable(k,W){return function ye(fe){return!function Qe(fe){return function xe(fe){return"input"==fe.nodeName.toLowerCase()}(fe)&&"hidden"==fe.type}(fe)&&(function st(fe){let q=fe.nodeName.toLowerCase();return"input"===q||"select"===q||"button"===q||"textarea"===q}(fe)||function ht(fe){return function qe(fe){return"a"==fe.nodeName.toLowerCase()}(fe)&&fe.hasAttribute("href")}(fe)||fe.hasAttribute("contenteditable")||Le(fe))}(k)&&!this.isDisabled(k)&&((null==W?void 0:W.ignoreVisibility)||this.isVisible(k))}}return fe.\u0275fac=function(k){return new(k||fe)(h.\u0275\u0275inject(y.t4))},fe.\u0275prov=h.\u0275\u0275defineInjectable({token:fe,factory:fe.\u0275fac,providedIn:"root"}),fe})();function Le(fe){if(!fe.hasAttribute("tabindex")||void 0===fe.tabIndex)return!1;let q=fe.getAttribute("tabindex");return!(!q||isNaN(parseInt(q,10)))}function Ge(fe){if(!Le(fe))return null;const q=parseInt(fe.getAttribute("tabindex")||"",10);return isNaN(q)?-1:q}class j{constructor(q,k,W,Y,z=!1){this._element=q,this._checker=k,this._ngZone=W,this._document=Y,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,z||this.attachAnchors()}get enabled(){return this._enabled}set enabled(q){this._enabled=q,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(q,this._startAnchor),this._toggleAnchorTabIndex(q,this._endAnchor))}destroy(){const q=this._startAnchor,k=this._endAnchor;q&&(q.removeEventListener("focus",this.startAnchorListener),q.remove()),k&&(k.removeEventListener("focus",this.endAnchorListener),k.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(q){return new Promise(k=>{this._executeOnStable(()=>k(this.focusInitialElement(q)))})}focusFirstTabbableElementWhenReady(q){return new Promise(k=>{this._executeOnStable(()=>k(this.focusFirstTabbableElement(q)))})}focusLastTabbableElementWhenReady(q){return new Promise(k=>{this._executeOnStable(()=>k(this.focusLastTabbableElement(q)))})}_getRegionBoundary(q){const k=this._element.querySelectorAll(`[cdk-focus-region-${q}], [cdkFocusRegion${q}], [cdk-focus-${q}]`);return"start"==q?k.length?k[0]:this._getFirstTabbableElement(this._element):k.length?k[k.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(q){const k=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(k){if(!this._checker.isFocusable(k)){const W=this._getFirstTabbableElement(k);return null==W||W.focus(q),!!W}return k.focus(q),!0}return this.focusFirstTabbableElement(q)}focusFirstTabbableElement(q){const k=this._getRegionBoundary("start");return k&&k.focus(q),!!k}focusLastTabbableElement(q){const k=this._getRegionBoundary("end");return k&&k.focus(q),!!k}hasAttached(){return this._hasAttached}_getFirstTabbableElement(q){if(this._checker.isFocusable(q)&&this._checker.isTabbable(q))return q;const k=q.children;for(let W=0;W<k.length;W++){const Y=k[W].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(k[W]):null;if(Y)return Y}return null}_getLastTabbableElement(q){if(this._checker.isFocusable(q)&&this._checker.isTabbable(q))return q;const k=q.children;for(let W=k.length-1;W>=0;W--){const Y=k[W].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(k[W]):null;if(Y)return Y}return null}_createAnchor(){const q=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,q),q.classList.add("cdk-visually-hidden"),q.classList.add("cdk-focus-trap-anchor"),q.setAttribute("aria-hidden","true"),q}_toggleAnchorTabIndex(q,k){q?k.setAttribute("tabindex","0"):k.removeAttribute("tabindex")}toggleAnchors(q){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(q,this._startAnchor),this._toggleAnchorTabIndex(q,this._endAnchor))}_executeOnStable(q){this._ngZone.isStable?q():this._ngZone.onStable.pipe((0,b.q)(1)).subscribe(q)}}let ne=(()=>{class fe{constructor(k,W,Y){this._checker=k,this._ngZone=W,this._document=Y}create(k,W=!1){return new j(k,this._checker,this._ngZone,this._document,W)}}return fe.\u0275fac=function(k){return new(k||fe)(h.\u0275\u0275inject(et),h.\u0275\u0275inject(h.NgZone),h.\u0275\u0275inject(n.DOCUMENT))},fe.\u0275prov=h.\u0275\u0275defineInjectable({token:fe,factory:fe.\u0275fac,providedIn:"root"}),fe})();function Fe(fe){return 0===fe.buttons||0===fe.offsetX&&0===fe.offsetY}function Je(fe){const q=fe.touches&&fe.touches[0]||fe.changedTouches&&fe.changedTouches[0];return!(!q||-1!==q.identifier||null!=q.radiusX&&1!==q.radiusX||null!=q.radiusY&&1!==q.radiusY)}const ot=new h.InjectionToken("cdk-input-modality-detector-options"),Dt={ignoreKeys:[p.zL,p.jx,p.b2,p.MW,p.JU]},At=(0,y.i$)({passive:!0,capture:!0});let He=(()=>{class fe{constructor(k,W,Y,z){this._platform=k,this._mostRecentTarget=null,this._modality=new l.X(null),this._lastTouchMs=0,this._onKeydown=N=>{var he,je;(null===(je=null===(he=this._options)||void 0===he?void 0:he.ignoreKeys)||void 0===je?void 0:je.some(ft=>ft===N.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=(0,y.sA)(N))},this._onMousedown=N=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Fe(N)?"keyboard":"mouse"),this._mostRecentTarget=(0,y.sA)(N))},this._onTouchstart=N=>{Je(N)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,y.sA)(N))},this._options=Object.assign(Object.assign({},Dt),z),this.modalityDetected=this._modality.pipe((0,T.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,S.x)()),k.isBrowser&&W.runOutsideAngular(()=>{Y.addEventListener("keydown",this._onKeydown,At),Y.addEventListener("mousedown",this._onMousedown,At),Y.addEventListener("touchstart",this._onTouchstart,At)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,At),document.removeEventListener("mousedown",this._onMousedown,At),document.removeEventListener("touchstart",this._onTouchstart,At))}}return fe.\u0275fac=function(k){return new(k||fe)(h.\u0275\u0275inject(y.t4),h.\u0275\u0275inject(h.NgZone),h.\u0275\u0275inject(n.DOCUMENT),h.\u0275\u0275inject(ot,8))},fe.\u0275prov=h.\u0275\u0275defineInjectable({token:fe,factory:fe.\u0275fac,providedIn:"root"}),fe})();const wt=new h.InjectionToken("cdk-focus-monitor-default-options"),Oe=(0,y.i$)({passive:!0,capture:!0});let ze=(()=>{class fe{constructor(k,W,Y,z,N){this._ngZone=k,this._platform=W,this._inputModalityDetector=Y,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=he=>{const je=(0,y.sA)(he),ft="focus"===he.type?this._onFocus:this._onBlur;for(let Ft=je;Ft;Ft=Ft.parentElement)ft.call(this,he,Ft)},this._document=z,this._detectionMode=(null==N?void 0:N.detectionMode)||0}monitor(k,W=!1){const Y=(0,I.fI)(k);if(!this._platform.isBrowser||1!==Y.nodeType)return(0,f.of)(null);const z=(0,y.kV)(Y)||this._getDocument(),N=this._elementInfo.get(Y);if(N)return W&&(N.checkChildren=!0),N.subject;const he={checkChildren:W,subject:new d.x,rootNode:z};return this._elementInfo.set(Y,he),this._registerGlobalListeners(he),he.subject}stopMonitoring(k){const W=(0,I.fI)(k),Y=this._elementInfo.get(W);Y&&(Y.subject.complete(),this._setClasses(W),this._elementInfo.delete(W),this._removeGlobalListeners(Y))}focusVia(k,W,Y){const z=(0,I.fI)(k);z===this._getDocument().activeElement?this._getClosestElementsInfo(z).forEach(([he,je])=>this._originChanged(he,W,je)):(this._setOrigin(W),"function"==typeof z.focus&&z.focus(Y))}ngOnDestroy(){this._elementInfo.forEach((k,W)=>this.stopMonitoring(W))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(k){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(k)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(k){return 1===this._detectionMode||!!(null==k?void 0:k.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(k,W){k.classList.toggle("cdk-focused",!!W),k.classList.toggle("cdk-touch-focused","touch"===W),k.classList.toggle("cdk-keyboard-focused","keyboard"===W),k.classList.toggle("cdk-mouse-focused","mouse"===W),k.classList.toggle("cdk-program-focused","program"===W)}_setOrigin(k,W=!1){this._ngZone.runOutsideAngular(()=>{this._origin=k,this._originFromTouchInteraction="touch"===k&&W,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(k,W){const Y=this._elementInfo.get(W),z=(0,y.sA)(k);!Y||!Y.checkChildren&&W!==z||this._originChanged(W,this._getFocusOrigin(z),Y)}_onBlur(k,W){const Y=this._elementInfo.get(W);!Y||Y.checkChildren&&k.relatedTarget instanceof Node&&W.contains(k.relatedTarget)||(this._setClasses(W),this._emitOrigin(Y.subject,null))}_emitOrigin(k,W){this._ngZone.run(()=>k.next(W))}_registerGlobalListeners(k){if(!this._platform.isBrowser)return;const W=k.rootNode,Y=this._rootNodeFocusListenerCount.get(W)||0;Y||this._ngZone.runOutsideAngular(()=>{W.addEventListener("focus",this._rootNodeFocusAndBlurListener,Oe),W.addEventListener("blur",this._rootNodeFocusAndBlurListener,Oe)}),this._rootNodeFocusListenerCount.set(W,Y+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,P.R)(this._stopInputModalityDetector)).subscribe(z=>{this._setOrigin(z,!0)}))}_removeGlobalListeners(k){const W=k.rootNode;if(this._rootNodeFocusListenerCount.has(W)){const Y=this._rootNodeFocusListenerCount.get(W);Y>1?this._rootNodeFocusListenerCount.set(W,Y-1):(W.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Oe),W.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Oe),this._rootNodeFocusListenerCount.delete(W))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(k,W,Y){this._setClasses(k,W),this._emitOrigin(Y.subject,W),this._lastFocusOrigin=W}_getClosestElementsInfo(k){const W=[];return this._elementInfo.forEach((Y,z)=>{(z===k||Y.checkChildren&&z.contains(k))&&W.push([z,Y])}),W}}return fe.\u0275fac=function(k){return new(k||fe)(h.\u0275\u0275inject(h.NgZone),h.\u0275\u0275inject(y.t4),h.\u0275\u0275inject(He),h.\u0275\u0275inject(n.DOCUMENT,8),h.\u0275\u0275inject(wt,8))},fe.\u0275prov=h.\u0275\u0275defineInjectable({token:fe,factory:fe.\u0275fac,providedIn:"root"}),fe})(),lt=(()=>{class fe{constructor(k,W){this._elementRef=k,this._focusMonitor=W,this.cdkFocusChange=new h.EventEmitter}ngAfterViewInit(){const k=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(k,1===k.nodeType&&k.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(W=>this.cdkFocusChange.emit(W))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return fe.\u0275fac=function(k){return new(k||fe)(h.\u0275\u0275directiveInject(h.ElementRef),h.\u0275\u0275directiveInject(ze))},fe.\u0275dir=h.\u0275\u0275defineDirective({type:fe,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),fe})();const Tt="cdk-high-contrast-black-on-white",Ct="cdk-high-contrast-white-on-black",$t="cdk-high-contrast-active";let Mt=(()=>{class fe{constructor(k,W){this._platform=k,this._document=W}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const k=this._document.createElement("div");k.style.backgroundColor="rgb(1,2,3)",k.style.position="absolute",this._document.body.appendChild(k);const W=this._document.defaultView||window,Y=W&&W.getComputedStyle?W.getComputedStyle(k):null,z=(Y&&Y.backgroundColor||"").replace(/ /g,"");switch(k.remove(),z){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 k=this._document.body.classList;k.remove($t),k.remove(Tt),k.remove(Ct),this._hasCheckedHighContrastMode=!0;const W=this.getHighContrastMode();1===W?(k.add($t),k.add(Tt)):2===W&&(k.add($t),k.add(Ct))}}}return fe.\u0275fac=function(k){return new(k||fe)(h.\u0275\u0275inject(y.t4),h.\u0275\u0275inject(n.DOCUMENT))},fe.\u0275prov=h.\u0275\u0275defineInjectable({token:fe,factory:fe.\u0275fac,providedIn:"root"}),fe})(),Ht=(()=>{class fe{constructor(k){k._applyBodyHighContrastModeCssClasses()}}return fe.\u0275fac=function(k){return new(k||fe)(h.\u0275\u0275inject(Mt))},fe.\u0275mod=h.\u0275\u0275defineNgModule({type:fe}),fe.\u0275inj=h.\u0275\u0275defineInjector({imports:[[V.Q8]]}),fe})()},226:(G,o,a)=>{"use strict";a.d(o,{Is:()=>f,vT:()=>m});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)}}),r=/^(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 l(u){const _=(null==u?void 0:u.toLowerCase())||"";return"auto"===_&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?r.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,o,a)=>{"use strict";a.d(o,{Eq:()=>r,HM:()=>l,Ig:()=>h,fI:()=>f,su:()=>y,t6:()=>d});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 r(m){return Array.isArray(m)?m:[m]}function l(m){return null==m?"":"string"==typeof m?m:`${m}px`}function f(m){return m instanceof n.ElementRef?m.nativeElement:m}},449:(G,o,a)=>{"use strict";a.d(o,{Ov:()=>p,Z9:()=>d,eX:()=>f,k:()=>_,o2:()=>y,yy:()=>l});var n=a(7579),h=a(5e3);class y{}function d(v){return v&&"function"==typeof v.connect}class l{applyChanges(b,T,S,P,I){b.forEachOperation((V,J,Z)=>{let X,U;if(null==V.previousIndex){const oe=S(V,J,Z);X=T.createEmbeddedView(oe.templateRef,oe.context,oe.index),U=1}else null==Z?(T.remove(J),U=3):(X=T.get(J),T.move(X,Z),U=2);I&&I({context:null==X?void 0:X.context,operation:U,record:V})})}detach(){}}class f{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(b,T,S,P,I){b.forEachOperation((V,J,Z)=>{let X,U;null==V.previousIndex?(X=this._insertView(()=>S(V,J,Z),Z,T,P(V)),U=X?1:0):null==Z?(this._detachAndCacheView(J,T),U=3):(X=this._moveView(J,Z,T,P(V)),U=2),I&&I({context:null==X?void 0:X.context,operation:U,record:V})})}detach(){for(const b of this._viewCache)b.destroy();this._viewCache=[]}_insertView(b,T,S,P){const I=this._insertViewFromCache(T,S);if(I)return void(I.context.$implicit=P);const V=b();return S.createEmbeddedView(V.templateRef,V.context,V.index)}_detachAndCacheView(b,T){const S=T.detach(b);this._maybeCacheView(S,T)}_moveView(b,T,S,P){const I=S.get(b);return S.move(I,T),I.context.$implicit=P,I}_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(P=>this._markSelected(P)):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,o,a)=>{"use strict";a.d(o,{A:()=>ht,JH:()=>Z,JU:()=>l,K5:()=>r,LH:()=>V,L_:()=>v,MW:()=>Xe,Mf:()=>y,SV:()=>J,Sd:()=>P,Vb:()=>mn,Z:()=>Ye,ZH:()=>h,aO:()=>et,b2:()=>Ln,hY:()=>_,jx:()=>f,oh:()=>I,uR:()=>S,xE:()=>me,yY:()=>le,zL:()=>p});const h=8,y=9,r=13,l=16,f=17,p=18,_=27,v=32,S=35,P=36,I=37,V=38,J=39,Z=40,le=46,me=48,et=57,ht=65,Ye=90,Xe=91,Ln=224;function mn(nn,...hi){return hi.length?hi.some(Di=>nn[Di]):nn.altKey||nn.shiftKey||nn.ctrlKey||nn.metaKey}},5113:(G,o,a)=>{"use strict";a.r(o),a.d(o,{BreakpointObserver:()=>Z,Breakpoints:()=>U,LayoutModule:()=>T,MediaMatcher:()=>I});var n=a(5e3),h=a(3191),y=a(7579),d=a(9841),r=a(7272),l=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 oe{}return oe.\u0275fac=function(me){return new(me||oe)},oe.\u0275mod=n.\u0275\u0275defineNgModule({type:oe}),oe.\u0275inj=n.\u0275\u0275defineInjector({}),oe})();const S=new Set;let P,I=(()=>{class oe{constructor(me){this._platform=me,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):J}matchMedia(me){return(this._platform.WEBKIT||this._platform.BLINK)&&function V(oe){if(!S.has(oe))try{P||(P=document.createElement("style"),P.setAttribute("type","text/css"),document.head.appendChild(P)),P.sheet&&(P.sheet.insertRule(`@media ${oe} {body{ }}`,0),S.add(oe))}catch(le){console.error(le)}}(me),this._matchMedia(me)}}return oe.\u0275fac=function(me){return new(me||oe)(n.\u0275\u0275inject(b.t4))},oe.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"}),oe})();function J(oe){return{matches:"all"===oe||""===oe,media:oe,addListener:()=>{},removeListener:()=>{}}}let Z=(()=>{class oe{constructor(me,De){this._mediaMatcher=me,this._zone=De,this._queries=new Map,this._destroySubject=new y.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(me){return X((0,h.Eq)(me)).some(We=>this._registerQuery(We).mql.matches)}observe(me){const We=X((0,h.Eq)(me)).map(ue=>this._registerQuery(ue).observable);let Q=(0,d.a)(We);return Q=(0,r.z)(Q.pipe((0,f.q)(1)),Q.pipe((0,p.T)(1),(0,m.b)(0))),Q.pipe((0,u.U)(ue=>{const $={matches:!1,breakpoints:{}};return ue.forEach(({matches:ce,query:de})=>{$.matches=$.matches||ce,$.breakpoints[de]=ce}),$}))}_registerQuery(me){if(this._queries.has(me))return this._queries.get(me);const De=this._mediaMatcher.matchMedia(me),Q={observable:new l.y(ue=>{const $=ce=>this._zone.run(()=>ue.next(ce));return De.addListener($),()=>{De.removeListener($)}}).pipe((0,_.O)(De),(0,u.U)(({matches:ue})=>({query:me,matches:ue})),(0,v.R)(this._destroySubject)),mql:De};return this._queries.set(me,Q),Q}}return oe.\u0275fac=function(me){return new(me||oe)(n.\u0275\u0275inject(I),n.\u0275\u0275inject(n.NgZone))},oe.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"}),oe})();function X(oe){return oe.map(le=>le.split(",")).reduce((le,me)=>le.concat(me)).map(le=>le.trim())}const U={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,o,a)=>{"use strict";a.d(o,{Q8:()=>m,wD:()=>p});var n=a(3191),h=a(5e3),y=a(8306),d=a(7579),r=a(8372);let l=(()=>{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 P=this._observeElement(b).subscribe(T);return()=>{P.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(l))},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,r.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:[l]}),u})()},1314:(G,o,a)=>{"use strict";a.d(o,{U8:()=>Ue,X_:()=>U,Xj:()=>ue,aV:()=>Ge});var n=a(495),h=a(9808),y=a(5e3),d=a(3191),r=a(925),l=a(226),f=a(7429),p=a(7579),m=a(727),u=a(6451),_=a(5698),v=a(2722);const b=(0,r.Mq)();class T{constructor(L,ve){this._viewportRuler=L,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=ve}attach(){}enable(){if(this._canBeEnabled()){const L=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=L.style.left||"",this._previousHTMLStyles.top=L.style.top||"",L.style.left=(0,d.HM)(-this._previousScrollPosition.left),L.style.top=(0,d.HM)(-this._previousScrollPosition.top),L.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const L=this._document.documentElement,Fe=L.style,Je=this._document.body.style,ot=Fe.scrollBehavior||"",Dt=Je.scrollBehavior||"";this._isEnabled=!1,Fe.left=this._previousHTMLStyles.left,Fe.top=this._previousHTMLStyles.top,L.classList.remove("cdk-global-scrollblock"),b&&(Fe.scrollBehavior=Je.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),b&&(Fe.scrollBehavior=ot,Je.scrollBehavior=Dt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const ve=this._document.body,Fe=this._viewportRuler.getViewportSize();return ve.scrollHeight>Fe.height||ve.scrollWidth>Fe.width}}class P{constructor(L,ve,Fe,Je){this._scrollDispatcher=L,this._ngZone=ve,this._viewportRuler=Fe,this._config=Je,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(L){this._overlayRef=L}enable(){if(this._scrollSubscription)return;const L=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=L.subscribe(()=>{const ve=this._viewportRuler.getViewportScrollPosition().top;Math.abs(ve-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=L.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class I{enable(){}disable(){}attach(){}}function V(Re,L){return L.some(ve=>Re.bottom<ve.top||Re.top>ve.bottom||Re.right<ve.left||Re.left>ve.right)}function J(Re,L){return L.some(ve=>Re.top<ve.top||Re.bottom>ve.bottom||Re.left<ve.left||Re.right>ve.right)}class Z{constructor(L,ve,Fe,Je){this._scrollDispatcher=L,this._viewportRuler=ve,this._ngZone=Fe,this._config=Je,this._scrollSubscription=null}attach(L){this._overlayRef=L}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 ve=this._overlayRef.overlayElement.getBoundingClientRect(),{width:Fe,height:Je}=this._viewportRuler.getViewportSize();V(ve,[{width:Fe,height:Je,bottom:Je,right:Fe,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 X=(()=>{class Re{constructor(ve,Fe,Je,ot){this._scrollDispatcher=ve,this._viewportRuler=Fe,this._ngZone=Je,this.noop=()=>new I,this.close=Dt=>new P(this._scrollDispatcher,this._ngZone,this._viewportRuler,Dt),this.block=()=>new T(this._viewportRuler,this._document),this.reposition=Dt=>new Z(this._scrollDispatcher,this._viewportRuler,this._ngZone,Dt),this._document=ot}}return Re.\u0275fac=function(ve){return new(ve||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 U{constructor(L){if(this.scrollStrategy=new I,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,L){const ve=Object.keys(L);for(const Fe of ve)void 0!==L[Fe]&&(this[Fe]=L[Fe])}}}class me{constructor(L,ve){this.connectionPair=L,this.scrollableViewProperties=ve}}class Q{constructor(L,ve,Fe,Je,ot,Dt,Et,At,He){this._portalOutlet=L,this._host=ve,this._pane=Fe,this._config=Je,this._ngZone=ot,this._keyboardDispatcher=Dt,this._document=Et,this._location=At,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=Te=>this._backdropClick.next(Te),this._backdropTransitionendHandler=Te=>{this._disposeBackdrop(Te.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(L){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const ve=this._portalOutlet.attach(L);return 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),ve}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const L=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),L}dispose(){var L;const ve=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===(L=this._host)||void 0===L||L.remove(),this._previousHostParent=this._pane=this._host=null,ve&&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(L){L!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=L,this.hasAttached()&&(L.attach(this),this.updatePosition()))}updateSize(L){this._config=Object.assign(Object.assign({},this._config),L),this._updateElementSize()}setDirection(L){this._config=Object.assign(Object.assign({},this._config),{direction:L}),this._updateElementDirection()}addPanelClass(L){this._pane&&this._toggleClasses(this._pane,L,!0)}removePanelClass(L){this._pane&&this._toggleClasses(this._pane,L,!1)}getDirection(){const L=this._config.direction;return L?"string"==typeof L?L:L.value:"ltr"}updateScrollStrategy(L){L!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=L,this.hasAttached()&&(L.attach(this),L.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const L=this._pane.style;L.width=(0,d.HM)(this._config.width),L.height=(0,d.HM)(this._config.height),L.minWidth=(0,d.HM)(this._config.minWidth),L.minHeight=(0,d.HM)(this._config.minHeight),L.maxWidth=(0,d.HM)(this._config.maxWidth),L.maxHeight=(0,d.HM)(this._config.maxHeight)}_togglePointerEvents(L){this._pane.style.pointerEvents=L?"":"none"}_attachBackdrop(){const L="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(L)})}):this._backdropElement.classList.add(L)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const L=this._backdropElement;!L||(L.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{L.addEventListener("transitionend",this._backdropTransitionendHandler)}),L.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(L)},500)))}_toggleClasses(L,ve,Fe){const Je=(0,d.Eq)(ve||[]).filter(ot=>!!ot);Je.length&&(Fe?L.classList.add(...Je):L.classList.remove(...Je))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const L=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()),L.unsubscribe())})})}_disposeScrollStrategy(){const L=this._scrollStrategy;L&&(L.disable(),L.detach&&L.detach())}_disposeBackdrop(L){L&&(L.removeEventListener("click",this._backdropClickHandler),L.removeEventListener("transitionend",this._backdropTransitionendHandler),L.remove(),this._backdropElement===L&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}let ue=(()=>{class Re{constructor(ve,Fe){this._platform=Fe,this._document=ve}ngOnDestroy(){var ve;null===(ve=this._containerElement)||void 0===ve||ve.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const ve="cdk-overlay-container";if(this._platform.isBrowser||(0,r.Oy)()){const Je=this._document.querySelectorAll(`.${ve}[platform="server"], .${ve}[platform="test"]`);for(let ot=0;ot<Je.length;ot++)Je[ot].remove()}const Fe=this._document.createElement("div");Fe.classList.add(ve),(0,r.Oy)()?Fe.setAttribute("platform","test"):this._platform.isBrowser||Fe.setAttribute("platform","server"),this._document.body.appendChild(Fe),this._containerElement=Fe}}return Re.\u0275fac=function(ve){return new(ve||Re)(y.\u0275\u0275inject(h.DOCUMENT),y.\u0275\u0275inject(r.t4))},Re.\u0275prov=y.\u0275\u0275defineInjectable({token:Re,factory:Re.\u0275fac,providedIn:"root"}),Re})();const $="cdk-overlay-connected-position-bounding-box",ce=/([A-Za-z%]+)$/;class de{constructor(L,ve,Fe,Je,ot){this._viewportRuler=ve,this._document=Fe,this._platform=Je,this._overlayContainer=ot,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(L)}get positions(){return this._preferredPositions}attach(L){this._validatePositions(),L.hostElement.classList.add($),this._overlayRef=L,this._boundingBox=L.hostElement,this._pane=L.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 L=this._originRect,ve=this._overlayRect,Fe=this._viewportRect,Je=this._containerRect,ot=[];let Dt;for(let Et of this._preferredPositions){let At=this._getOriginPoint(L,Je,Et),He=this._getOverlayPoint(At,ve,Et),Te=this._getOverlayFit(He,ve,Fe,Et);if(Te.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Et,At);this._canFitWithFlexibleDimensions(Te,He,Fe)?ot.push({position:Et,origin:At,overlayRect:ve,boundingBoxRect:this._calculateBoundingBoxRect(At,Et)}):(!Dt||Dt.overlayFit.visibleArea<Te.visibleArea)&&(Dt={overlayFit:Te,overlayPoint:He,originPoint:At,position:Et,overlayRect:ve})}if(ot.length){let Et=null,At=-1;for(const He of ot){const Te=He.boundingBoxRect.width*He.boundingBoxRect.height*(He.position.weight||1);Te>At&&(At=Te,Et=He)}return this._isPushed=!1,void this._applyPosition(Et.position,Et.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(Dt.position,Dt.originPoint);this._applyPosition(Dt.position,Dt.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&_e(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove($),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const L=this._lastPosition;if(L){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const ve=this._getOriginPoint(this._originRect,this._containerRect,L);this._applyPosition(L,ve)}else this.apply()}withScrollableContainers(L){return this._scrollables=L,this}withPositions(L){return this._preferredPositions=L,-1===L.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(L){return this._viewportMargin=L,this}withFlexibleDimensions(L=!0){return this._hasFlexibleDimensions=L,this}withGrowAfterOpen(L=!0){return this._growAfterOpen=L,this}withPush(L=!0){return this._canPush=L,this}withLockedPosition(L=!0){return this._positionLocked=L,this}setOrigin(L){return this._origin=L,this}withDefaultOffsetX(L){return this._offsetX=L,this}withDefaultOffsetY(L){return this._offsetY=L,this}withTransformOriginOn(L){return this._transformOriginSelector=L,this}_getOriginPoint(L,ve,Fe){let Je,ot;if("center"==Fe.originX)Je=L.left+L.width/2;else{const Dt=this._isRtl()?L.right:L.left,Et=this._isRtl()?L.left:L.right;Je="start"==Fe.originX?Dt:Et}return ve.left<0&&(Je-=ve.left),ot="center"==Fe.originY?L.top+L.height/2:"top"==Fe.originY?L.top:L.bottom,ve.top<0&&(ot-=ve.top),{x:Je,y:ot}}_getOverlayPoint(L,ve,Fe){let Je,ot;return Je="center"==Fe.overlayX?-ve.width/2:"start"===Fe.overlayX?this._isRtl()?-ve.width:0:this._isRtl()?0:-ve.width,ot="center"==Fe.overlayY?-ve.height/2:"top"==Fe.overlayY?0:-ve.height,{x:L.x+Je,y:L.y+ot}}_getOverlayFit(L,ve,Fe,Je){const ot=dt(ve);let{x:Dt,y:Et}=L,At=this._getOffset(Je,"x"),He=this._getOffset(Je,"y");At&&(Dt+=At),He&&(Et+=He);let Ye=0-Et,Xe=Et+ot.height-Fe.height,rt=this._subtractOverflows(ot.width,0-Dt,Dt+ot.width-Fe.width),wt=this._subtractOverflows(ot.height,Ye,Xe),Oe=rt*wt;return{visibleArea:Oe,isCompletelyWithinViewport:ot.width*ot.height===Oe,fitsInViewportVertically:wt===ot.height,fitsInViewportHorizontally:rt==ot.width}}_canFitWithFlexibleDimensions(L,ve,Fe){if(this._hasFlexibleDimensions){const Je=Fe.bottom-ve.y,ot=Fe.right-ve.x,Dt=et(this._overlayRef.getConfig().minHeight),Et=et(this._overlayRef.getConfig().minWidth),He=L.fitsInViewportHorizontally||null!=Et&&Et<=ot;return(L.fitsInViewportVertically||null!=Dt&&Dt<=Je)&&He}return!1}_pushOverlayOnScreen(L,ve,Fe){if(this._previousPushAmount&&this._positionLocked)return{x:L.x+this._previousPushAmount.x,y:L.y+this._previousPushAmount.y};const Je=dt(ve),ot=this._viewportRect,Dt=Math.max(L.x+Je.width-ot.width,0),Et=Math.max(L.y+Je.height-ot.height,0),At=Math.max(ot.top-Fe.top-L.y,0),He=Math.max(ot.left-Fe.left-L.x,0);let Te=0,Ee=0;return Te=Je.width<=ot.width?He||-Dt:L.x<this._viewportMargin?ot.left-Fe.left-L.x:0,Ee=Je.height<=ot.height?At||-Et:L.y<this._viewportMargin?ot.top-Fe.top-L.y:0,this._previousPushAmount={x:Te,y:Ee},{x:L.x+Te,y:L.y+Ee}}_applyPosition(L,ve){if(this._setTransformOrigin(L),this._setOverlayElementStyles(ve,L),this._setBoundingBoxStyles(ve,L),L.panelClass&&this._addPanelClasses(L.panelClass),this._lastPosition=L,this._positionChanges.observers.length){const Fe=this._getScrollVisibility(),Je=new me(L,Fe);this._positionChanges.next(Je)}this._isInitialRender=!1}_setTransformOrigin(L){if(!this._transformOriginSelector)return;const ve=this._boundingBox.querySelectorAll(this._transformOriginSelector);let Fe,Je=L.overlayY;Fe="center"===L.overlayX?"center":this._isRtl()?"start"===L.overlayX?"right":"left":"start"===L.overlayX?"left":"right";for(let ot=0;ot<ve.length;ot++)ve[ot].style.transformOrigin=`${Fe} ${Je}`}_calculateBoundingBoxRect(L,ve){const Fe=this._viewportRect,Je=this._isRtl();let ot,Dt,Et,Te,Ee,Ye;if("top"===ve.overlayY)Dt=L.y,ot=Fe.height-Dt+this._viewportMargin;else if("bottom"===ve.overlayY)Et=Fe.height-L.y+2*this._viewportMargin,ot=Fe.height-Et+this._viewportMargin;else{const Xe=Math.min(Fe.bottom-L.y+Fe.top,L.y),rt=this._lastBoundingBoxSize.height;ot=2*Xe,Dt=L.y-Xe,ot>rt&&!this._isInitialRender&&!this._growAfterOpen&&(Dt=L.y-rt/2)}if("end"===ve.overlayX&&!Je||"start"===ve.overlayX&&Je)Ye=Fe.width-L.x+this._viewportMargin,Te=L.x-this._viewportMargin;else if("start"===ve.overlayX&&!Je||"end"===ve.overlayX&&Je)Ee=L.x,Te=Fe.right-L.x;else{const Xe=Math.min(Fe.right-L.x+Fe.left,L.x),rt=this._lastBoundingBoxSize.width;Te=2*Xe,Ee=L.x-Xe,Te>rt&&!this._isInitialRender&&!this._growAfterOpen&&(Ee=L.x-rt/2)}return{top:Dt,left:Ee,bottom:Et,right:Ye,width:Te,height:ot}}_setBoundingBoxStyles(L,ve){const Fe=this._calculateBoundingBoxRect(L,ve);!this._isInitialRender&&!this._growAfterOpen&&(Fe.height=Math.min(Fe.height,this._lastBoundingBoxSize.height),Fe.width=Math.min(Fe.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 ot=this._overlayRef.getConfig().maxHeight,Dt=this._overlayRef.getConfig().maxWidth;Je.height=(0,d.HM)(Fe.height),Je.top=(0,d.HM)(Fe.top),Je.bottom=(0,d.HM)(Fe.bottom),Je.width=(0,d.HM)(Fe.width),Je.left=(0,d.HM)(Fe.left),Je.right=(0,d.HM)(Fe.right),Je.alignItems="center"===ve.overlayX?"center":"end"===ve.overlayX?"flex-end":"flex-start",Je.justifyContent="center"===ve.overlayY?"center":"bottom"===ve.overlayY?"flex-end":"flex-start",ot&&(Je.maxHeight=(0,d.HM)(ot)),Dt&&(Je.maxWidth=(0,d.HM)(Dt))}this._lastBoundingBoxSize=Fe,_e(this._boundingBox.style,Je)}_resetBoundingBoxStyles(){_e(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){_e(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(L,ve){const Fe={},Je=this._hasExactPosition(),ot=this._hasFlexibleDimensions,Dt=this._overlayRef.getConfig();if(Je){const Te=this._viewportRuler.getViewportScrollPosition();_e(Fe,this._getExactOverlayY(ve,L,Te)),_e(Fe,this._getExactOverlayX(ve,L,Te))}else Fe.position="static";let Et="",At=this._getOffset(ve,"x"),He=this._getOffset(ve,"y");At&&(Et+=`translateX(${At}px) `),He&&(Et+=`translateY(${He}px)`),Fe.transform=Et.trim(),Dt.maxHeight&&(Je?Fe.maxHeight=(0,d.HM)(Dt.maxHeight):ot&&(Fe.maxHeight="")),Dt.maxWidth&&(Je?Fe.maxWidth=(0,d.HM)(Dt.maxWidth):ot&&(Fe.maxWidth="")),_e(this._pane.style,Fe)}_getExactOverlayY(L,ve,Fe){let Je={top:"",bottom:""},ot=this._getOverlayPoint(ve,this._overlayRect,L);return this._isPushed&&(ot=this._pushOverlayOnScreen(ot,this._overlayRect,Fe)),"bottom"===L.overlayY?Je.bottom=this._document.documentElement.clientHeight-(ot.y+this._overlayRect.height)+"px":Je.top=(0,d.HM)(ot.y),Je}_getExactOverlayX(L,ve,Fe){let Dt,Je={left:"",right:""},ot=this._getOverlayPoint(ve,this._overlayRect,L);return this._isPushed&&(ot=this._pushOverlayOnScreen(ot,this._overlayRect,Fe)),Dt=this._isRtl()?"end"===L.overlayX?"left":"right":"end"===L.overlayX?"right":"left","right"===Dt?Je.right=this._document.documentElement.clientWidth-(ot.x+this._overlayRect.width)+"px":Je.left=(0,d.HM)(ot.x),Je}_getScrollVisibility(){const L=this._getOriginRect(),ve=this._pane.getBoundingClientRect(),Fe=this._scrollables.map(Je=>Je.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:J(L,Fe),isOriginOutsideView:V(L,Fe),isOverlayClipped:J(ve,Fe),isOverlayOutsideView:V(ve,Fe)}}_subtractOverflows(L,...ve){return ve.reduce((Fe,Je)=>Fe-Math.max(Je,0),L)}_getNarrowedViewportRect(){const L=this._document.documentElement.clientWidth,ve=this._document.documentElement.clientHeight,Fe=this._viewportRuler.getViewportScrollPosition();return{top:Fe.top+this._viewportMargin,left:Fe.left+this._viewportMargin,right:Fe.left+L-this._viewportMargin,bottom:Fe.top+ve-this._viewportMargin,width:L-2*this._viewportMargin,height:ve-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(L,ve){return"x"===ve?null==L.offsetX?this._offsetX:L.offsetX:null==L.offsetY?this._offsetY:L.offsetY}_validatePositions(){}_addPanelClasses(L){this._pane&&(0,d.Eq)(L).forEach(ve=>{""!==ve&&-1===this._appliedPanelClasses.indexOf(ve)&&(this._appliedPanelClasses.push(ve),this._pane.classList.add(ve))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(L=>{this._pane.classList.remove(L)}),this._appliedPanelClasses=[])}_getOriginRect(){const L=this._origin;if(L instanceof y.ElementRef)return L.nativeElement.getBoundingClientRect();if(L instanceof Element)return L.getBoundingClientRect();const ve=L.width||0,Fe=L.height||0;return{top:L.y,bottom:L.y+Fe,left:L.x,right:L.x+ve,height:Fe,width:ve}}}function _e(Re,L){for(let ve in L)L.hasOwnProperty(ve)&&(Re[ve]=L[ve]);return Re}function et(Re){if("number"!=typeof Re&&null!=Re){const[L,ve]=Re.split(ce);return ve&&"px"!==ve?null:parseFloat(L)}return Re||null}function dt(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 it="cdk-global-overlay-wrapper";class st{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(L){const ve=L.getConfig();this._overlayRef=L,this._width&&!ve.width&&L.updateSize({width:this._width}),this._height&&!ve.height&&L.updateSize({height:this._height}),L.hostElement.classList.add(it),this._isDisposed=!1}top(L=""){return this._bottomOffset="",this._topOffset=L,this._alignItems="flex-start",this}left(L=""){return this._rightOffset="",this._leftOffset=L,this._justifyContent="flex-start",this}bottom(L=""){return this._topOffset="",this._bottomOffset=L,this._alignItems="flex-end",this}right(L=""){return this._leftOffset="",this._rightOffset=L,this._justifyContent="flex-end",this}width(L=""){return this._overlayRef?this._overlayRef.updateSize({width:L}):this._width=L,this}height(L=""){return this._overlayRef?this._overlayRef.updateSize({height:L}):this._height=L,this}centerHorizontally(L=""){return this.left(L),this._justifyContent="center",this}centerVertically(L=""){return this.top(L),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const L=this._overlayRef.overlayElement.style,ve=this._overlayRef.hostElement.style,Fe=this._overlayRef.getConfig(),{width:Je,height:ot,maxWidth:Dt,maxHeight:Et}=Fe,At=!("100%"!==Je&&"100vw"!==Je||Dt&&"100%"!==Dt&&"100vw"!==Dt),He=!("100%"!==ot&&"100vh"!==ot||Et&&"100%"!==Et&&"100vh"!==Et);L.position=this._cssPosition,L.marginLeft=At?"0":this._leftOffset,L.marginTop=He?"0":this._topOffset,L.marginBottom=this._bottomOffset,L.marginRight=this._rightOffset,At?ve.justifyContent="flex-start":"center"===this._justifyContent?ve.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?ve.justifyContent="flex-end":"flex-end"===this._justifyContent&&(ve.justifyContent="flex-start"):ve.justifyContent=this._justifyContent,ve.alignItems=He?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const L=this._overlayRef.overlayElement.style,ve=this._overlayRef.hostElement,Fe=ve.style;ve.classList.remove(it),Fe.justifyContent=Fe.alignItems=L.marginTop=L.marginBottom=L.marginLeft=L.marginRight=L.position="",this._overlayRef=null,this._isDisposed=!0}}let Qe=(()=>{class Re{constructor(ve,Fe,Je,ot){this._viewportRuler=ve,this._document=Fe,this._platform=Je,this._overlayContainer=ot}global(){return new st}flexibleConnectedTo(ve){return new de(ve,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return Re.\u0275fac=function(ve){return new(ve||Re)(y.\u0275\u0275inject(n.rL),y.\u0275\u0275inject(h.DOCUMENT),y.\u0275\u0275inject(r.t4),y.\u0275\u0275inject(ue))},Re.\u0275prov=y.\u0275\u0275defineInjectable({token:Re,factory:Re.\u0275fac,providedIn:"root"}),Re})(),ht=(()=>{class Re{constructor(ve){this._attachedOverlays=[],this._document=ve}ngOnDestroy(){this.detach()}add(ve){this.remove(ve),this._attachedOverlays.push(ve)}remove(ve){const Fe=this._attachedOverlays.indexOf(ve);Fe>-1&&this._attachedOverlays.splice(Fe,1),0===this._attachedOverlays.length&&this.detach()}}return Re.\u0275fac=function(ve){return new(ve||Re)(y.\u0275\u0275inject(h.DOCUMENT))},Re.\u0275prov=y.\u0275\u0275defineInjectable({token:Re,factory:Re.\u0275fac,providedIn:"root"}),Re})(),xe=(()=>{class Re extends ht{constructor(ve,Fe){super(ve),this._ngZone=Fe,this._keydownListener=Je=>{const ot=this._attachedOverlays;for(let Dt=ot.length-1;Dt>-1;Dt--)if(ot[Dt]._keydownEvents.observers.length>0){const Et=ot[Dt]._keydownEvents;this._ngZone?this._ngZone.run(()=>Et.next(Je)):Et.next(Je);break}}}add(ve){super.add(ve),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(ve){return new(ve||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})(),qe=(()=>{class Re extends ht{constructor(ve,Fe,Je){super(ve),this._platform=Fe,this._ngZone=Je,this._cursorStyleIsSet=!1,this._pointerDownListener=ot=>{this._pointerDownEventTarget=(0,r.sA)(ot)},this._clickListener=ot=>{const Dt=(0,r.sA)(ot),Et="click"===ot.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Dt;this._pointerDownEventTarget=null;const At=this._attachedOverlays.slice();for(let He=At.length-1;He>-1;He--){const Te=At[He];if(Te._outsidePointerEvents.observers.length<1||!Te.hasAttached())continue;if(Te.overlayElement.contains(Dt)||Te.overlayElement.contains(Et))break;const Ee=Te._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Ee.next(ot)):Ee.next(ot)}}}add(ve){if(super.add(ve),!this._isAttached){const Fe=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(Fe)):this._addEventListeners(Fe),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Fe.style.cursor,Fe.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const ve=this._document.body;ve.removeEventListener("pointerdown",this._pointerDownListener,!0),ve.removeEventListener("click",this._clickListener,!0),ve.removeEventListener("auxclick",this._clickListener,!0),ve.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(ve.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(ve){ve.addEventListener("pointerdown",this._pointerDownListener,!0),ve.addEventListener("click",this._clickListener,!0),ve.addEventListener("auxclick",this._clickListener,!0),ve.addEventListener("contextmenu",this._clickListener,!0)}}return Re.\u0275fac=function(ve){return new(ve||Re)(y.\u0275\u0275inject(h.DOCUMENT),y.\u0275\u0275inject(r.t4),y.\u0275\u0275inject(y.NgZone,8))},Re.\u0275prov=y.\u0275\u0275defineInjectable({token:Re,factory:Re.\u0275fac,providedIn:"root"}),Re})(),Le=0,Ge=(()=>{class Re{constructor(ve,Fe,Je,ot,Dt,Et,At,He,Te,Ee,Ye){this.scrollStrategies=ve,this._overlayContainer=Fe,this._componentFactoryResolver=Je,this._positionBuilder=ot,this._keyboardDispatcher=Dt,this._injector=Et,this._ngZone=At,this._document=He,this._directionality=Te,this._location=Ee,this._outsideClickDispatcher=Ye}create(ve){const Fe=this._createHostElement(),Je=this._createPaneElement(Fe),ot=this._createPortalOutlet(Je),Dt=new U(ve);return Dt.direction=Dt.direction||this._directionality.value,new Q(ot,Fe,Je,Dt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(ve){const Fe=this._document.createElement("div");return Fe.id="cdk-overlay-"+Le++,Fe.classList.add("cdk-overlay-pane"),ve.appendChild(Fe),Fe}_createHostElement(){const ve=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(ve),ve}_createPortalOutlet(ve){return this._appRef||(this._appRef=this._injector.get(y.ApplicationRef)),new f.u0(ve,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return Re.\u0275fac=function(ve){return new(ve||Re)(y.\u0275\u0275inject(X),y.\u0275\u0275inject(ue),y.\u0275\u0275inject(y.ComponentFactoryResolver),y.\u0275\u0275inject(Qe),y.\u0275\u0275inject(xe),y.\u0275\u0275inject(y.Injector),y.\u0275\u0275inject(y.NgZone),y.\u0275\u0275inject(h.DOCUMENT),y.\u0275\u0275inject(l.Is),y.\u0275\u0275inject(h.Location),y.\u0275\u0275inject(qe))},Re.\u0275prov=y.\u0275\u0275defineInjectable({token:Re,factory:Re.\u0275fac}),Re})();const Me={provide:new y.InjectionToken("cdk-connected-overlay-scroll-strategy"),deps:[Ge],useFactory:function ne(Re){return()=>Re.scrollStrategies.reposition()}};let Ue=(()=>{class Re{}return Re.\u0275fac=function(ve){return new(ve||Re)},Re.\u0275mod=y.\u0275\u0275defineNgModule({type:Re}),Re.\u0275inj=y.\u0275\u0275defineInjector({providers:[Ge,Me],imports:[[l.vT,f.eL,n.Cl],n.Cl]}),Re})()},925:(G,o,a)=>{"use strict";a.d(o,{Mq:()=>T,Oy:()=>X,ht:()=>J,i$:()=>_,kV:()=>V,sA:()=>Z,t4:()=>d});var n=a(5e3),h=a(9808);let y;try{y="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(U){y=!1}let m,b,P,d=(()=>{class U{constructor(le){this._platformId=le,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 U.\u0275fac=function(le){return new(le||U)(n.\u0275\u0275inject(n.PLATFORM_ID))},U.\u0275prov=n.\u0275\u0275defineInjectable({token:U,factory:U.\u0275fac,providedIn:"root"}),U})();function _(U){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}()?U:!!U.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 U=Element.prototype.scrollTo;b=!!U&&!/\{\s*\[native code\]\s*\}/.test(U.toString())}}return b}function V(U){if(function I(){if(null==P){const U="undefined"!=typeof document?document.head:null;P=!(!U||!U.createShadowRoot&&!U.attachShadow)}return P}()){const oe=U.getRootNode?U.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&oe instanceof ShadowRoot)return oe}return null}function J(){let U="undefined"!=typeof document&&document?document.activeElement:null;for(;U&&U.shadowRoot;){const oe=U.shadowRoot.activeElement;if(oe===U)break;U=oe}return U}function Z(U){return U.composedPath?U.composedPath()[0]:U.target}function X(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}},7429:(G,o,a)=>{"use strict";a.d(o,{C5:()=>u,Pl:()=>J,UE:()=>_,eL:()=>X,en:()=>b,ig:()=>I,u0:()=>S});var n=a(5e3),h=a(9808);class m{attach(le){return this._attachedHost=le,le.attach(this)}detach(){let le=this._attachedHost;null!=le&&(this._attachedHost=null,le.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(le){this._attachedHost=le}}class u extends m{constructor(le,me,De,We){super(),this.component=le,this.viewContainerRef=me,this.injector=De,this.componentFactoryResolver=We}}class _ extends m{constructor(le,me,De){super(),this.templateRef=le,this.viewContainerRef=me,this.context=De}get origin(){return this.templateRef.elementRef}attach(le,me=this.context){return this.context=me,super.attach(le)}detach(){return this.context=void 0,super.detach()}}class v extends m{constructor(le){super(),this.element=le instanceof n.ElementRef?le.nativeElement:le}}class b{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(le){return le instanceof u?(this._attachedPortal=le,this.attachComponentPortal(le)):le instanceof _?(this._attachedPortal=le,this.attachTemplatePortal(le)):this.attachDomPortal&&le instanceof v?(this._attachedPortal=le,this.attachDomPortal(le)):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(le){this._disposeFn=le}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class S extends b{constructor(le,me,De,We,Q){super(),this.outletElement=le,this._componentFactoryResolver=me,this._appRef=De,this._defaultInjector=We,this.attachDomPortal=ue=>{const $=ue.element,ce=this._document.createComment("dom-portal");$.parentNode.insertBefore(ce,$),this.outletElement.appendChild($),this._attachedPortal=ue,super.setDisposeFn(()=>{ce.parentNode&&ce.parentNode.replaceChild($,ce)})},this._document=Q}attachComponentPortal(le){const De=(le.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(le.component);let We;return le.viewContainerRef?(We=le.viewContainerRef.createComponent(De,le.viewContainerRef.length,le.injector||le.viewContainerRef.injector),this.setDisposeFn(()=>We.destroy())):(We=De.create(le.injector||this._defaultInjector||n.Injector.NULL),this._appRef.attachView(We.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(We.hostView),We.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(We)),this._attachedPortal=le,We}attachTemplatePortal(le){let me=le.viewContainerRef,De=me.createEmbeddedView(le.templateRef,le.context);return De.rootNodes.forEach(We=>this.outletElement.appendChild(We)),De.detectChanges(),this.setDisposeFn(()=>{let We=me.indexOf(De);-1!==We&&me.remove(We)}),this._attachedPortal=le,De}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(le){return le.hostView.rootNodes[0]}}let I=(()=>{class oe extends _{constructor(me,De){super(me,De)}}return oe.\u0275fac=function(me){return new(me||oe)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef))},oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[n.\u0275\u0275InheritDefinitionFeature]}),oe})(),J=(()=>{class oe extends b{constructor(me,De,We){super(),this._componentFactoryResolver=me,this._viewContainerRef=De,this._isInitialized=!1,this.attached=new n.EventEmitter,this.attachDomPortal=Q=>{const ue=Q.element,$=this._document.createComment("dom-portal");Q.setAttachedHost(this),ue.parentNode.insertBefore($,ue),this._getRootNode().appendChild(ue),this._attachedPortal=Q,super.setDisposeFn(()=>{$.parentNode&&$.parentNode.replaceChild(ue,$)})},this._document=We}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 De=null!=me.viewContainerRef?me.viewContainerRef:this._viewContainerRef,Q=(me.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(me.component),ue=De.createComponent(Q,De.length,me.injector||De.injector);return De!==this._viewContainerRef&&this._getRootNode().appendChild(ue.hostView.rootNodes[0]),super.setDisposeFn(()=>ue.destroy()),this._attachedPortal=me,this._attachedRef=ue,this.attached.emit(ue),ue}attachTemplatePortal(me){me.setAttachedHost(this);const De=this._viewContainerRef.createEmbeddedView(me.templateRef,me.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=me,this._attachedRef=De,this.attached.emit(De),De}_getRootNode(){const me=this._viewContainerRef.element.nativeElement;return me.nodeType===me.ELEMENT_NODE?me:me.parentNode}}return oe.\u0275fac=function(me){return new(me||oe)(n.\u0275\u0275directiveInject(n.ComponentFactoryResolver),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(h.DOCUMENT))},oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[n.\u0275\u0275InheritDefinitionFeature]}),oe})(),X=(()=>{class oe{}return oe.\u0275fac=function(me){return new(me||oe)},oe.\u0275mod=n.\u0275\u0275defineNgModule({type:oe}),oe.\u0275inj=n.\u0275\u0275defineInjector({}),oe})()},495:(G,o,a)=>{"use strict";a.d(o,{ZD:()=>Ge,mF:()=>et,Cl:()=>pt,rL:()=>st});var n=a(3191),h=a(5e3),y=a(4408),d=a(727);const r={schedule(ye){let Se=requestAnimationFrame,j=cancelAnimationFrame;const{delegate:ne}=r;ne&&(Se=ne.requestAnimationFrame,j=ne.cancelAnimationFrame);const Me=Se(Ue=>{j=void 0,ye(Ue)});return new d.w0(()=>null==j?void 0:j(Me))},requestAnimationFrame(...ye){const{delegate:Se}=r;return((null==Se?void 0:Se.requestAnimationFrame)||requestAnimationFrame)(...ye)},cancelAnimationFrame(...ye){const{delegate:Se}=r;return((null==Se?void 0:Se.cancelAnimationFrame)||cancelAnimationFrame)(...ye)},delegate:void 0};var f=a(640);new class p extends f.v{flush(Se){this._active=!0;const j=this._scheduled;this._scheduled=void 0;const{actions:ne}=this;let Me;Se=Se||ne.shift();do{if(Me=Se.execute(Se.state,Se.delay))break}while((Se=ne[0])&&Se.id===j&&ne.shift());if(this._active=!1,Me){for(;(Se=ne[0])&&Se.id===j&&ne.shift();)Se.unsubscribe();throw Me}}}(class l extends y.o{constructor(Se,j){super(Se,j),this.scheduler=Se,this.work=j}requestAsyncId(Se,j,ne=0){return null!==ne&&ne>0?super.requestAsyncId(Se,j,ne):(Se.actions.push(this),Se._scheduled||(Se._scheduled=r.requestAnimationFrame(()=>Se.flush(void 0))))}recycleAsyncId(Se,j,ne=0){if(null!=ne&&ne>0||null==ne&&this.delay>0)return super.recycleAsyncId(Se,j,ne);Se.actions.some(Me=>Me.id===j)||(r.cancelAnimationFrame(j),Se._scheduled=void 0)}});var _=a(7579),v=a(9646),b=a(8306),T=a(4968),P=(a(3101),a(4986)),I=a(4482),V=a(8421),J=a(5403),X=a(5963);function U(ye,Se=P.z){return function Z(ye){return(0,I.e)((Se,j)=>{let ne=!1,Me=null,Ue=null,Ke=!1;const Re=()=>{if(null==Ue||Ue.unsubscribe(),Ue=null,ne){ne=!1;const ve=Me;Me=null,j.next(ve)}Ke&&j.complete()},L=()=>{Ue=null,Ke&&j.complete()};Se.subscribe((0,J.x)(j,ve=>{ne=!0,Me=ve,Ue||(0,V.Xf)(ye(ve)).subscribe(Ue=(0,J.x)(j,Re,L))},()=>{Ke=!0,(!ne||!Ue||Ue.closed)&&j.complete()}))})}(()=>(0,X.H)(ye,Se))}var oe=a(9300),le=a(9808),me=a(925),De=a(226);let et=(()=>{class ye{constructor(j,ne,Me){this._ngZone=j,this._platform=ne,this._scrolled=new _.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=Me}register(j){this.scrollContainers.has(j)||this.scrollContainers.set(j,j.elementScrolled().subscribe(()=>this._scrolled.next(j)))}deregister(j){const ne=this.scrollContainers.get(j);ne&&(ne.unsubscribe(),this.scrollContainers.delete(j))}scrolled(j=20){return this._platform.isBrowser?new b.y(ne=>{this._globalSubscription||this._addGlobalListener();const Me=j>0?this._scrolled.pipe(U(j)).subscribe(ne):this._scrolled.subscribe(ne);return this._scrolledCount++,()=>{Me.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,v.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((j,ne)=>this.deregister(ne)),this._scrolled.complete()}ancestorScrolled(j,ne){const Me=this.getAncestorScrollContainers(j);return this.scrolled(ne).pipe((0,oe.h)(Ue=>!Ue||Me.indexOf(Ue)>-1))}getAncestorScrollContainers(j){const ne=[];return this.scrollContainers.forEach((Me,Ue)=>{this._scrollableContainsElement(Ue,j)&&ne.push(Ue)}),ne}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(j,ne){let Me=(0,n.fI)(ne),Ue=j.getElementRef().nativeElement;do{if(Me==Ue)return!0}while(Me=Me.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const j=this._getWindow();return(0,T.R)(j.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return ye.\u0275fac=function(j){return new(j||ye)(h.\u0275\u0275inject(h.NgZone),h.\u0275\u0275inject(me.t4),h.\u0275\u0275inject(le.DOCUMENT,8))},ye.\u0275prov=h.\u0275\u0275defineInjectable({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})(),st=(()=>{class ye{constructor(j,ne,Me){this._platform=j,this._change=new _.x,this._changeListener=Ue=>{this._change.next(Ue)},this._document=Me,ne.runOutsideAngular(()=>{if(j.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 j=this._getWindow();j.removeEventListener("resize",this._changeListener),j.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const j={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),j}getViewportRect(){const j=this.getViewportScrollPosition(),{width:ne,height:Me}=this.getViewportSize();return{top:j.top,left:j.left,bottom:j.top+Me,right:j.left+ne,height:Me,width:ne}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const j=this._document,ne=this._getWindow(),Me=j.documentElement,Ue=Me.getBoundingClientRect();return{top:-Ue.top||j.body.scrollTop||ne.scrollY||Me.scrollTop||0,left:-Ue.left||j.body.scrollLeft||ne.scrollX||Me.scrollLeft||0}}change(j=20){return j>0?this._change.pipe(U(j)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const j=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:j.innerWidth,height:j.innerHeight}:{width:0,height:0}}}return ye.\u0275fac=function(j){return new(j||ye)(h.\u0275\u0275inject(me.t4),h.\u0275\u0275inject(h.NgZone),h.\u0275\u0275inject(le.DOCUMENT,8))},ye.\u0275prov=h.\u0275\u0275defineInjectable({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})(),Ge=(()=>{class ye{}return ye.\u0275fac=function(j){return new(j||ye)},ye.\u0275mod=h.\u0275\u0275defineNgModule({type:ye}),ye.\u0275inj=h.\u0275\u0275defineInjector({}),ye})(),pt=(()=>{class ye{}return ye.\u0275fac=function(j){return new(j||ye)},ye.\u0275mod=h.\u0275\u0275defineNgModule({type:ye}),ye.\u0275inj=h.\u0275\u0275defineInjector({imports:[[De.vT,Ge],De.vT,Ge]}),ye})()},9808:(G,o,a)=>{"use strict";a.r(o),a.d(o,{APP_BASE_HREF:()=>J,AsyncPipe:()=>Yi,CommonModule:()=>Ii,CurrencyPipe:()=>ji,DATE_PIPE_DEFAULT_TIMEZONE:()=>kr,DOCUMENT:()=>f,DatePipe:()=>Ni,DecimalPipe:()=>Mr,FormStyle:()=>ue,FormatWidth:()=>ce,HashLocationStrategy:()=>X,I18nPluralPipe:()=>Li,I18nSelectPipe:()=>Zi,JsonPipe:()=>Si,KeyValuePipe:()=>wr,LOCATION_INITIALIZED:()=>u,Location:()=>U,LocationStrategy:()=>I,LowerCasePipe:()=>ur,NgClass:()=>ln,NgComponentOutlet:()=>_n,NgForOf:()=>fn,NgForOfContext:()=>Xt,NgIf:()=>mn,NgIfContext:()=>nn,NgLocaleLocalization:()=>Ut,NgLocalization:()=>at,NgPlural:()=>mi,NgPluralCase:()=>Kn,NgStyle:()=>ki,NgSwitch:()=>Mn,NgSwitchCase:()=>jn,NgSwitchDefault:()=>pi,NgTemplateOutlet:()=>Dr,NumberFormatStyle:()=>We,NumberSymbol:()=>de,PathLocationStrategy:()=>Z,PercentPipe:()=>Zn,PlatformLocation:()=>p,Plural:()=>Q,SlicePipe:()=>hr,TitleCasePipe:()=>Fr,TranslationWidth:()=>$,UpperCasePipe:()=>_i,VERSION:()=>Pi,ViewportScroller:()=>ti,WeekDay:()=>_e,XhrFactory:()=>Tn,formatCurrency:()=>Rn,formatDate:()=>rt,formatNumber:()=>Yt,formatPercent:()=>Pt,getCurrencySymbol:()=>ot,getLocaleCurrencyCode:()=>ne,getLocaleCurrencyName:()=>j,getLocaleCurrencySymbol:()=>Se,getLocaleDateFormat:()=>qe,getLocaleDateTimeFormat:()=>Ge,getLocaleDayNames:()=>it,getLocaleDayPeriods:()=>dt,getLocaleDirection:()=>ve,getLocaleEraNames:()=>Qe,getLocaleExtraDayPeriodRules:()=>Re,getLocaleExtraDayPeriods:()=>L,getLocaleFirstDayOfWeek:()=>ht,getLocaleId:()=>et,getLocaleMonthNames:()=>st,getLocaleNumberFormat:()=>ye,getLocaleNumberSymbol:()=>pt,getLocalePluralCase:()=>Ue,getLocaleTimeFormat:()=>Le,getLocaleWeekEndRange:()=>xe,getNumberOfCurrencyDigits:()=>Et,isPlatformBrowser:()=>Pn,isPlatformServer:()=>Vi,isPlatformWorkerApp:()=>qi,isPlatformWorkerUi:()=>Vn,registerLocaleData:()=>Ot,\u0275BrowserPlatformLocation:()=>_,\u0275DomAdapter:()=>l,\u0275NullViewportScroller:()=>jr,\u0275PLATFORM_BROWSER_ID:()=>Ei,\u0275PLATFORM_SERVER_ID:()=>Ji,\u0275PLATFORM_WORKER_APP_ID:()=>Bi,\u0275PLATFORM_WORKER_UI_ID:()=>Xi,\u0275getDOM:()=>y,\u0275parseCookieValue:()=>pn,\u0275setRootDomAdapter:()=>r});var n=a(5e3);let h=null;function y(){return h}function r(F){h||(h=F)}class l{}const f=new n.InjectionToken("DocumentToken");let p=(()=>{class F{historyGo(x){throw new Error("Not implemented")}}return F.\u0275fac=function(x){return new(x||F)},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:function(){return function m(){return(0,n.\u0275\u0275inject)(_)}()},providedIn:"platform"}),F})();const u=new n.InjectionToken("Location Initialized");let _=(()=>{class F extends p{constructor(x){super(),this._doc=x,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return y().getBaseHref(this._doc)}onPopState(x){const pe=y().getGlobalEventTarget(this._doc,"window");return pe.addEventListener("popstate",x,!1),()=>pe.removeEventListener("popstate",x)}onHashChange(x){const pe=y().getGlobalEventTarget(this._doc,"window");return pe.addEventListener("hashchange",x,!1),()=>pe.removeEventListener("hashchange",x)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(x){this.location.pathname=x}pushState(x,pe,$e){v()?this._history.pushState(x,pe,$e):this.location.hash=$e}replaceState(x,pe,$e){v()?this._history.replaceState(x,pe,$e):this.location.hash=$e}forward(){this._history.forward()}back(){this._history.back()}historyGo(x=0){this._history.go(x)}getState(){return this._history.state}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275inject(f))},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:function(){return function b(){return new _((0,n.\u0275\u0275inject)(f))}()},providedIn:"platform"}),F})();function v(){return!!window.history.pushState}function T(F,re){if(0==F.length)return re;if(0==re.length)return F;let x=0;return F.endsWith("/")&&x++,re.startsWith("/")&&x++,2==x?F+re.substring(1):1==x?F+re:F+"/"+re}function S(F){const re=F.match(/#|\?|$/),x=re&&re.index||F.length;return F.slice(0,x-("/"===F[x-1]?1:0))+F.slice(x)}function P(F){return F&&"?"!==F[0]?"?"+F:F}let I=(()=>{class F{historyGo(x){throw new Error("Not implemented")}}return F.\u0275fac=function(x){return new(x||F)},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:function(){return function V(F){const re=(0,n.\u0275\u0275inject)(f).location;return new Z((0,n.\u0275\u0275inject)(p),re&&re.origin||"")}()},providedIn:"root"}),F})();const J=new n.InjectionToken("appBaseHref");let Z=(()=>{class F extends I{constructor(x,pe){if(super(),this._platformLocation=x,this._removeListenerFns=[],null==pe&&(pe=this._platformLocation.getBaseHrefFromDOM()),null==pe)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=pe}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(x){this._removeListenerFns.push(this._platformLocation.onPopState(x),this._platformLocation.onHashChange(x))}getBaseHref(){return this._baseHref}prepareExternalUrl(x){return T(this._baseHref,x)}path(x=!1){const pe=this._platformLocation.pathname+P(this._platformLocation.search),$e=this._platformLocation.hash;return $e&&x?`${pe}${$e}`:pe}pushState(x,pe,$e,ut){const yt=this.prepareExternalUrl($e+P(ut));this._platformLocation.pushState(x,pe,yt)}replaceState(x,pe,$e,ut){const yt=this.prepareExternalUrl($e+P(ut));this._platformLocation.replaceState(x,pe,yt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(x=0){var pe,$e;null===($e=(pe=this._platformLocation).historyGo)||void 0===$e||$e.call(pe,x)}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275inject(p),n.\u0275\u0275inject(J,8))},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:F.\u0275fac}),F})(),X=(()=>{class F extends I{constructor(x,pe){super(),this._platformLocation=x,this._baseHref="",this._removeListenerFns=[],null!=pe&&(this._baseHref=pe)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(x){this._removeListenerFns.push(this._platformLocation.onPopState(x),this._platformLocation.onHashChange(x))}getBaseHref(){return this._baseHref}path(x=!1){let pe=this._platformLocation.hash;return null==pe&&(pe="#"),pe.length>0?pe.substring(1):pe}prepareExternalUrl(x){const pe=T(this._baseHref,x);return pe.length>0?"#"+pe:pe}pushState(x,pe,$e,ut){let yt=this.prepareExternalUrl($e+P(ut));0==yt.length&&(yt=this._platformLocation.pathname),this._platformLocation.pushState(x,pe,yt)}replaceState(x,pe,$e,ut){let yt=this.prepareExternalUrl($e+P(ut));0==yt.length&&(yt=this._platformLocation.pathname),this._platformLocation.replaceState(x,pe,yt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(x=0){var pe,$e;null===($e=(pe=this._platformLocation).historyGo)||void 0===$e||$e.call(pe,x)}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275inject(p),n.\u0275\u0275inject(J,8))},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:F.\u0275fac}),F})(),U=(()=>{class F{constructor(x,pe){this._subject=new n.EventEmitter,this._urlChangeListeners=[],this._platformStrategy=x;const $e=this._platformStrategy.getBaseHref();this._platformLocation=pe,this._baseHref=S(me($e)),this._platformStrategy.onPopState(ut=>{this._subject.emit({url:this.path(!0),pop:!0,state:ut.state,type:ut.type})})}path(x=!1){return this.normalize(this._platformStrategy.path(x))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(x,pe=""){return this.path()==this.normalize(x+P(pe))}normalize(x){return F.stripTrailingSlash(function le(F,re){return F&&re.startsWith(F)?re.substring(F.length):re}(this._baseHref,me(x)))}prepareExternalUrl(x){return x&&"/"!==x[0]&&(x="/"+x),this._platformStrategy.prepareExternalUrl(x)}go(x,pe="",$e=null){this._platformStrategy.pushState($e,"",x,pe),this._notifyUrlChangeListeners(this.prepareExternalUrl(x+P(pe)),$e)}replaceState(x,pe="",$e=null){this._platformStrategy.replaceState($e,"",x,pe),this._notifyUrlChangeListeners(this.prepareExternalUrl(x+P(pe)),$e)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(x=0){var pe,$e;null===($e=(pe=this._platformStrategy).historyGo)||void 0===$e||$e.call(pe,x)}onUrlChange(x){this._urlChangeListeners.push(x),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(pe=>{this._notifyUrlChangeListeners(pe.url,pe.state)}))}_notifyUrlChangeListeners(x="",pe){this._urlChangeListeners.forEach($e=>$e(x,pe))}subscribe(x,pe,$e){return this._subject.subscribe({next:x,error:pe,complete:$e})}}return F.normalizeQueryParams=P,F.joinWithSlash=T,F.stripTrailingSlash=S,F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275inject(I),n.\u0275\u0275inject(p))},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:function(){return function oe(){return new U((0,n.\u0275\u0275inject)(I),(0,n.\u0275\u0275inject)(p))}()},providedIn:"root"}),F})();function me(F){return F.replace(/\/index.html$/,"")}const De={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 We=(()=>((We=We||{})[We.Decimal=0]="Decimal",We[We.Percent=1]="Percent",We[We.Currency=2]="Currency",We[We.Scientific=3]="Scientific",We))(),Q=(()=>((Q=Q||{})[Q.Zero=0]="Zero",Q[Q.One=1]="One",Q[Q.Two=2]="Two",Q[Q.Few=3]="Few",Q[Q.Many=4]="Many",Q[Q.Other=5]="Other",Q))(),ue=(()=>((ue=ue||{})[ue.Format=0]="Format",ue[ue.Standalone=1]="Standalone",ue))(),$=(()=>(($=$||{})[$.Narrow=0]="Narrow",$[$.Abbreviated=1]="Abbreviated",$[$.Wide=2]="Wide",$[$.Short=3]="Short",$))(),ce=(()=>((ce=ce||{})[ce.Short=0]="Short",ce[ce.Medium=1]="Medium",ce[ce.Long=2]="Long",ce[ce.Full=3]="Full",ce))(),de=(()=>((de=de||{})[de.Decimal=0]="Decimal",de[de.Group=1]="Group",de[de.List=2]="List",de[de.PercentSign=3]="PercentSign",de[de.PlusSign=4]="PlusSign",de[de.MinusSign=5]="MinusSign",de[de.Exponential=6]="Exponential",de[de.SuperscriptingExponent=7]="SuperscriptingExponent",de[de.PerMille=8]="PerMille",de[de.Infinity=9]="Infinity",de[de.NaN=10]="NaN",de[de.TimeSeparator=11]="TimeSeparator",de[de.CurrencyDecimal=12]="CurrencyDecimal",de[de.CurrencyGroup=13]="CurrencyGroup",de))(),_e=(()=>((_e=_e||{})[_e.Sunday=0]="Sunday",_e[_e.Monday=1]="Monday",_e[_e.Tuesday=2]="Tuesday",_e[_e.Wednesday=3]="Wednesday",_e[_e.Thursday=4]="Thursday",_e[_e.Friday=5]="Friday",_e[_e.Saturday=6]="Saturday",_e))();function et(F){return(0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.LocaleId]}function dt(F,re,x){const pe=(0,n.\u0275findLocaleData)(F),ut=Fe([pe[n.\u0275LocaleDataIndex.DayPeriodsFormat],pe[n.\u0275LocaleDataIndex.DayPeriodsStandalone]],re);return Fe(ut,x)}function it(F,re,x){const pe=(0,n.\u0275findLocaleData)(F),ut=Fe([pe[n.\u0275LocaleDataIndex.DaysFormat],pe[n.\u0275LocaleDataIndex.DaysStandalone]],re);return Fe(ut,x)}function st(F,re,x){const pe=(0,n.\u0275findLocaleData)(F),ut=Fe([pe[n.\u0275LocaleDataIndex.MonthsFormat],pe[n.\u0275LocaleDataIndex.MonthsStandalone]],re);return Fe(ut,x)}function Qe(F,re){return Fe((0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.Eras],re)}function ht(F){return(0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.FirstDayOfWeek]}function xe(F){return(0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.WeekendRange]}function qe(F,re){return Fe((0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.DateFormat],re)}function Le(F,re){return Fe((0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.TimeFormat],re)}function Ge(F,re){return Fe((0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.DateTimeFormat],re)}function pt(F,re){const x=(0,n.\u0275findLocaleData)(F),pe=x[n.\u0275LocaleDataIndex.NumberSymbols][re];if(void 0===pe){if(re===de.CurrencyDecimal)return x[n.\u0275LocaleDataIndex.NumberSymbols][de.Decimal];if(re===de.CurrencyGroup)return x[n.\u0275LocaleDataIndex.NumberSymbols][de.Group]}return pe}function ye(F,re){return(0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.NumberFormats][re]}function Se(F){return(0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.CurrencySymbol]||null}function j(F){return(0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.CurrencyName]||null}function ne(F){return(0,n.\u0275getLocaleCurrencyCode)(F)}const Ue=n.\u0275getLocalePluralCase;function Ke(F){if(!F[n.\u0275LocaleDataIndex.ExtraData])throw new Error(`Missing extra locale data for the locale "${F[n.\u0275LocaleDataIndex.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Re(F){const re=(0,n.\u0275findLocaleData)(F);return Ke(re),(re[n.\u0275LocaleDataIndex.ExtraData][2]||[]).map(pe=>"string"==typeof pe?Je(pe):[Je(pe[0]),Je(pe[1])])}function L(F,re,x){const pe=(0,n.\u0275findLocaleData)(F);Ke(pe);const ut=Fe([pe[n.\u0275LocaleDataIndex.ExtraData][0],pe[n.\u0275LocaleDataIndex.ExtraData][1]],re)||[];return Fe(ut,x)||[]}function ve(F){return(0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.Directionality]}function Fe(F,re){for(let x=re;x>-1;x--)if(void 0!==F[x])return F[x];throw new Error("Locale data API: locale data undefined")}function Je(F){const[re,x]=F.split(":");return{hours:+re,minutes:+x}}function ot(F,re,x="en"){const pe=function Me(F){return(0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.Currencies]}(x)[F]||De[F]||[],$e=pe[1];return"narrow"===re&&"string"==typeof $e?$e:pe[0]||F}function Et(F){let re;const x=De[F];return x&&(re=x[2]),"number"==typeof re?re:2}const At=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,He={},Te=/((?:[^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 Ee=(()=>((Ee=Ee||{})[Ee.Short=0]="Short",Ee[Ee.ShortGMT=1]="ShortGMT",Ee[Ee.Long=2]="Long",Ee[Ee.Extended=3]="Extended",Ee))(),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 rt(F,re,x,pe){let $e=function Ae(F){if(ke(F))return F;if("number"==typeof F&&!isNaN(F))return new Date(F);if("string"==typeof F){if(F=F.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(F)){const[$e,ut=1,yt=1]=F.split("-").map(Lt=>+Lt);return wt($e,ut-1,yt)}const x=parseFloat(F);if(!isNaN(F-x))return new Date(x);let pe;if(pe=F.match(At))return function ge(F){const re=new Date(0);let x=0,pe=0;const $e=F[8]?re.setUTCFullYear:re.setFullYear,ut=F[8]?re.setUTCHours:re.setHours;F[9]&&(x=Number(F[9]+F[10]),pe=Number(F[9]+F[11])),$e.call(re,Number(F[1]),Number(F[2])-1,Number(F[3]));const yt=Number(F[4]||0)-x,Lt=Number(F[5]||0)-pe,Cn=Number(F[6]||0),cn=Math.floor(1e3*parseFloat("0."+(F[7]||0)));return ut.call(re,yt,Lt,Cn,cn),re}(pe)}const re=new Date(F);if(!ke(re))throw new Error(`Unable to convert "${F}" into a date`);return re}(F);re=Oe(x,re)||re;let Lt,yt=[];for(;re;){if(Lt=Te.exec(re),!Lt){yt.push(re);break}{yt=yt.concat(Lt.slice(1));const rn=yt.pop();if(!rn)break;re=rn}}let Cn=$e.getTimezoneOffset();pe&&(Cn=ft(pe,Cn),$e=function Ie(F,re,x){const pe=x?-1:1,$e=F.getTimezoneOffset();return function Ft(F,re){return(F=new Date(F.getTime())).setMinutes(F.getMinutes()+re),F}(F,pe*(ft(re,$e)-$e))}($e,pe,!0));let cn="";return yt.forEach(rn=>{const sn=function je(F){if(he[F])return he[F];let re;switch(F){case"G":case"GG":case"GGG":re=Mt(Xe.Eras,$.Abbreviated);break;case"GGGG":re=Mt(Xe.Eras,$.Wide);break;case"GGGGG":re=Mt(Xe.Eras,$.Narrow);break;case"y":re=Ct(Ye.FullYear,1,0,!1,!0);break;case"yy":re=Ct(Ye.FullYear,2,0,!0,!0);break;case"yyy":re=Ct(Ye.FullYear,3,0,!1,!0);break;case"yyyy":re=Ct(Ye.FullYear,4,0,!1,!0);break;case"Y":re=N(1);break;case"YY":re=N(2,!0);break;case"YYY":re=N(3);break;case"YYYY":re=N(4);break;case"M":case"L":re=Ct(Ye.Month,1,1);break;case"MM":case"LL":re=Ct(Ye.Month,2,1);break;case"MMM":re=Mt(Xe.Months,$.Abbreviated);break;case"MMMM":re=Mt(Xe.Months,$.Wide);break;case"MMMMM":re=Mt(Xe.Months,$.Narrow);break;case"LLL":re=Mt(Xe.Months,$.Abbreviated,ue.Standalone);break;case"LLLL":re=Mt(Xe.Months,$.Wide,ue.Standalone);break;case"LLLLL":re=Mt(Xe.Months,$.Narrow,ue.Standalone);break;case"w":re=z(1);break;case"ww":re=z(2);break;case"W":re=z(1,!0);break;case"d":re=Ct(Ye.Date,1);break;case"dd":re=Ct(Ye.Date,2);break;case"c":case"cc":re=Ct(Ye.Day,1);break;case"ccc":re=Mt(Xe.Days,$.Abbreviated,ue.Standalone);break;case"cccc":re=Mt(Xe.Days,$.Wide,ue.Standalone);break;case"ccccc":re=Mt(Xe.Days,$.Narrow,ue.Standalone);break;case"cccccc":re=Mt(Xe.Days,$.Short,ue.Standalone);break;case"E":case"EE":case"EEE":re=Mt(Xe.Days,$.Abbreviated);break;case"EEEE":re=Mt(Xe.Days,$.Wide);break;case"EEEEE":re=Mt(Xe.Days,$.Narrow);break;case"EEEEEE":re=Mt(Xe.Days,$.Short);break;case"a":case"aa":case"aaa":re=Mt(Xe.DayPeriods,$.Abbreviated);break;case"aaaa":re=Mt(Xe.DayPeriods,$.Wide);break;case"aaaaa":re=Mt(Xe.DayPeriods,$.Narrow);break;case"b":case"bb":case"bbb":re=Mt(Xe.DayPeriods,$.Abbreviated,ue.Standalone,!0);break;case"bbbb":re=Mt(Xe.DayPeriods,$.Wide,ue.Standalone,!0);break;case"bbbbb":re=Mt(Xe.DayPeriods,$.Narrow,ue.Standalone,!0);break;case"B":case"BB":case"BBB":re=Mt(Xe.DayPeriods,$.Abbreviated,ue.Format,!0);break;case"BBBB":re=Mt(Xe.DayPeriods,$.Wide,ue.Format,!0);break;case"BBBBB":re=Mt(Xe.DayPeriods,$.Narrow,ue.Format,!0);break;case"h":re=Ct(Ye.Hours,1,-12);break;case"hh":re=Ct(Ye.Hours,2,-12);break;case"H":re=Ct(Ye.Hours,1);break;case"HH":re=Ct(Ye.Hours,2);break;case"m":re=Ct(Ye.Minutes,1);break;case"mm":re=Ct(Ye.Minutes,2);break;case"s":re=Ct(Ye.Seconds,1);break;case"ss":re=Ct(Ye.Seconds,2);break;case"S":re=Ct(Ye.FractionalSeconds,1);break;case"SS":re=Ct(Ye.FractionalSeconds,2);break;case"SSS":re=Ct(Ye.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":re=fe(Ee.Short);break;case"ZZZZZ":re=fe(Ee.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":re=fe(Ee.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":re=fe(Ee.Long);break;default:return null}return he[F]=re,re}(rn);cn+=sn?sn($e,x,Cn):"''"===rn?"'":rn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),cn}function wt(F,re,x){const pe=new Date(0);return pe.setFullYear(F,re,x),pe.setHours(0,0,0),pe}function Oe(F,re){const x=et(F);if(He[x]=He[x]||{},He[x][re])return He[x][re];let pe="";switch(re){case"shortDate":pe=qe(F,ce.Short);break;case"mediumDate":pe=qe(F,ce.Medium);break;case"longDate":pe=qe(F,ce.Long);break;case"fullDate":pe=qe(F,ce.Full);break;case"shortTime":pe=Le(F,ce.Short);break;case"mediumTime":pe=Le(F,ce.Medium);break;case"longTime":pe=Le(F,ce.Long);break;case"fullTime":pe=Le(F,ce.Full);break;case"short":const $e=Oe(F,"shortTime"),ut=Oe(F,"shortDate");pe=ze(Ge(F,ce.Short),[$e,ut]);break;case"medium":const yt=Oe(F,"mediumTime"),Lt=Oe(F,"mediumDate");pe=ze(Ge(F,ce.Medium),[yt,Lt]);break;case"long":const Cn=Oe(F,"longTime"),cn=Oe(F,"longDate");pe=ze(Ge(F,ce.Long),[Cn,cn]);break;case"full":const rn=Oe(F,"fullTime"),sn=Oe(F,"fullDate");pe=ze(Ge(F,ce.Full),[rn,sn])}return pe&&(He[x][re]=pe),pe}function ze(F,re){return re&&(F=F.replace(/\{([^}]+)}/g,function(x,pe){return null!=re&&pe in re?re[pe]:x})),F}function lt(F,re,x="-",pe,$e){let ut="";(F<0||$e&&F<=0)&&($e?F=1-F:(F=-F,ut=x));let yt=String(F);for(;yt.length<re;)yt="0"+yt;return pe&&(yt=yt.substr(yt.length-re)),ut+yt}function Ct(F,re,x=0,pe=!1,$e=!1){return function(ut,yt){let Lt=function $t(F,re){switch(F){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 "${F}".`)}}(F,ut);if((x>0||Lt>-x)&&(Lt+=x),F===Ye.Hours)0===Lt&&-12===x&&(Lt=12);else if(F===Ye.FractionalSeconds)return function Tt(F,re){return lt(F,3).substr(0,re)}(Lt,re);const Cn=pt(yt,de.MinusSign);return lt(Lt,re,Cn,pe,$e)}}function Mt(F,re,x=ue.Format,pe=!1){return function($e,ut){return function Ht(F,re,x,pe,$e,ut){switch(x){case Xe.Months:return st(re,$e,pe)[F.getMonth()];case Xe.Days:return it(re,$e,pe)[F.getDay()];case Xe.DayPeriods:const yt=F.getHours(),Lt=F.getMinutes();if(ut){const cn=Re(re),rn=L(re,$e,pe),sn=cn.findIndex(xn=>{if(Array.isArray(xn)){const[bn,On]=xn,B=yt>=bn.hours&&Lt>=bn.minutes,R=yt<On.hours||yt===On.hours&&Lt<On.minutes;if(bn.hours<On.hours){if(B&&R)return!0}else if(B||R)return!0}else if(xn.hours===yt&&xn.minutes===Lt)return!0;return!1});if(-1!==sn)return rn[sn]}return dt(re,$e,pe)[yt<12?0:1];case Xe.Eras:return Qe(re,pe)[F.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${x}`)}}($e,ut,F,re,x,pe)}}function fe(F){return function(re,x,pe){const $e=-1*pe,ut=pt(x,de.MinusSign),yt=$e>0?Math.floor($e/60):Math.ceil($e/60);switch(F){case Ee.Short:return($e>=0?"+":"")+lt(yt,2,ut)+lt(Math.abs($e%60),2,ut);case Ee.ShortGMT:return"GMT"+($e>=0?"+":"")+lt(yt,1,ut);case Ee.Long:return"GMT"+($e>=0?"+":"")+lt(yt,2,ut)+":"+lt(Math.abs($e%60),2,ut);case Ee.Extended:return 0===pe?"Z":($e>=0?"+":"")+lt(yt,2,ut)+":"+lt(Math.abs($e%60),2,ut);default:throw new Error(`Unknown zone width "${F}"`)}}}function Y(F){return wt(F.getFullYear(),F.getMonth(),F.getDate()+(4-F.getDay()))}function z(F,re=!1){return function(x,pe){let $e;if(re){const ut=new Date(x.getFullYear(),x.getMonth(),1).getDay()-1,yt=x.getDate();$e=1+Math.floor((yt+ut)/7)}else{const ut=Y(x),yt=function W(F){const re=wt(F,0,1).getDay();return wt(F,0,1+(re<=4?4:11)-re)}(ut.getFullYear()),Lt=ut.getTime()-yt.getTime();$e=1+Math.round(Lt/6048e5)}return lt($e,F,pt(pe,de.MinusSign))}}function N(F,re=!1){return function(x,pe){return lt(Y(x).getFullYear(),F,pt(pe,de.MinusSign),re)}}const he={};function ft(F,re){F=F.replace(/:/g,"");const x=Date.parse("Jan 01, 1970 00:00:00 "+F)/6e4;return isNaN(x)?re:x}function ke(F){return F instanceof Date&&!isNaN(F.valueOf())}const ct=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function Yn(F,re,x,pe,$e,ut,yt=!1){let Lt="",Cn=!1;if(isFinite(F)){let cn=function ie(F){let pe,$e,ut,yt,Lt,re=Math.abs(F)+"",x=0;for(($e=re.indexOf("."))>-1&&(re=re.replace(".","")),(ut=re.search(/e/i))>0?($e<0&&($e=ut),$e+=+re.slice(ut+1),re=re.substring(0,ut)):$e<0&&($e=re.length),ut=0;"0"===re.charAt(ut);ut++);if(ut===(Lt=re.length))pe=[0],$e=1;else{for(Lt--;"0"===re.charAt(Lt);)Lt--;for($e-=ut,pe=[],yt=0;ut<=Lt;ut++,yt++)pe[yt]=Number(re.charAt(ut))}return $e>22&&(pe=pe.splice(0,21),x=$e-1,$e=1),{digits:pe,exponent:x,integerLen:$e}}(F);yt&&(cn=function Pe(F){if(0===F.digits[0])return F;const re=F.digits.length-F.integerLen;return F.exponent?F.exponent+=2:(0===re?F.digits.push(0,0):1===re&&F.digits.push(0),F.integerLen+=2),F}(cn));let rn=re.minInt,sn=re.minFrac,xn=re.maxFrac;if(ut){const se=ut.match(ct);if(null===se)throw new Error(`${ut} is not a valid digit info`);const mt=se[1],Nt=se[3],Sn=se[5];null!=mt&&(rn=Ze(mt)),null!=Nt&&(sn=Ze(Nt)),null!=Sn?xn=Ze(Sn):null!=Nt&&sn>xn&&(xn=sn)}!function we(F,re,x){if(re>x)throw new Error(`The minimum number of digits after fraction (${re}) is higher than the maximum (${x}).`);let pe=F.digits,$e=pe.length-F.integerLen;const ut=Math.min(Math.max(re,$e),x);let yt=ut+F.integerLen,Lt=pe[yt];if(yt>0){pe.splice(Math.max(F.integerLen,yt));for(let sn=yt;sn<pe.length;sn++)pe[sn]=0}else{$e=Math.max(0,$e),F.integerLen=1,pe.length=Math.max(1,yt=ut+1),pe[0]=0;for(let sn=1;sn<yt;sn++)pe[sn]=0}if(Lt>=5)if(yt-1<0){for(let sn=0;sn>yt;sn--)pe.unshift(0),F.integerLen++;pe.unshift(1),F.integerLen++}else pe[yt-1]++;for(;$e<Math.max(0,ut);$e++)pe.push(0);let Cn=0!==ut;const cn=re+F.integerLen,rn=pe.reduceRight(function(sn,xn,bn,On){return On[bn]=(xn+=sn)<10?xn:xn-10,Cn&&(0===On[bn]&&bn>=cn?On.pop():Cn=!1),xn>=10?1:0},0);rn&&(pe.unshift(rn),F.integerLen++)}(cn,sn,xn);let bn=cn.digits,On=cn.integerLen;const B=cn.exponent;let R=[];for(Cn=bn.every(se=>!se);On<rn;On++)bn.unshift(0);for(;On<0;On++)bn.unshift(0);On>0?R=bn.splice(On,bn.length):(R=bn,bn=[0]);const M=[];for(bn.length>=re.lgSize&&M.unshift(bn.splice(-re.lgSize,bn.length).join(""));bn.length>re.gSize;)M.unshift(bn.splice(-re.gSize,bn.length).join(""));bn.length&&M.unshift(bn.join("")),Lt=M.join(pt(x,pe)),R.length&&(Lt+=pt(x,$e)+R.join("")),B&&(Lt+=pt(x,de.Exponential)+"+"+B)}else Lt=pt(x,de.Infinity);return Lt=F<0&&!Cn?re.negPre+Lt+re.negSuf:re.posPre+Lt+re.posSuf,Lt}function Rn(F,re,x,pe,$e){const yt=ae(ye(re,We.Currency),pt(re,de.MinusSign));return yt.minFrac=Et(pe),yt.maxFrac=yt.minFrac,Yn(F,yt,re,de.CurrencyGroup,de.CurrencyDecimal,$e).replace("\xa4",x).replace("\xa4","").trim()}function Pt(F,re,x){return Yn(F,ae(ye(re,We.Percent),pt(re,de.MinusSign)),re,de.Group,de.Decimal,x,!0).replace(new RegExp("%","g"),pt(re,de.PercentSign))}function Yt(F,re,x){return Yn(F,ae(ye(re,We.Decimal),pt(re,de.MinusSign)),re,de.Group,de.Decimal,x)}function ae(F,re="-"){const x={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},pe=F.split(";"),$e=pe[0],ut=pe[1],yt=-1!==$e.indexOf(".")?$e.split("."):[$e.substring(0,$e.lastIndexOf("0")+1),$e.substring($e.lastIndexOf("0")+1)],Lt=yt[0],Cn=yt[1]||"";x.posPre=Lt.substr(0,Lt.indexOf("#"));for(let rn=0;rn<Cn.length;rn++){const sn=Cn.charAt(rn);"0"===sn?x.minFrac=x.maxFrac=rn+1:"#"===sn?x.maxFrac=rn+1:x.posSuf+=sn}const cn=Lt.split(",");if(x.gSize=cn[1]?cn[1].length:0,x.lgSize=cn[2]||cn[1]?(cn[2]||cn[1]).length:0,ut){const rn=$e.length-x.posPre.length-x.posSuf.length,sn=ut.indexOf("#");x.negPre=ut.substr(0,sn).replace(/'/g,""),x.negSuf=ut.substr(sn+rn).replace(/'/g,"")}else x.negPre=re+x.posPre,x.negSuf=x.posSuf;return x}function Ze(F){const re=parseInt(F);if(isNaN(re))throw new Error("Invalid integer literal when parsing "+F);return re}let at=(()=>{class F{}return F.\u0275fac=function(x){return new(x||F)},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:function(x){let pe=null;return x?pe=new x:($e=n.\u0275\u0275inject(n.LOCALE_ID),pe=new Ut($e)),pe;var $e},providedIn:"root"}),F})();function St(F,re,x,pe){let $e=`=${F}`;if(re.indexOf($e)>-1||($e=x.getPluralCategory(F,pe),re.indexOf($e)>-1))return $e;if(re.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${F}"`)}let Ut=(()=>{class F extends at{constructor(x){super(),this.locale=x}getPluralCategory(x,pe){switch(Ue(pe||this.locale)(x)){case Q.Zero:return"zero";case Q.One:return"one";case Q.Two:return"two";case Q.Few:return"few";case Q.Many:return"many";default:return"other"}}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275inject(n.LOCALE_ID))},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:F.\u0275fac}),F})();function Ot(F,re,x){return(0,n.\u0275registerLocaleData)(F,re,x)}function pn(F,re){re=encodeURIComponent(re);for(const x of F.split(";")){const pe=x.indexOf("="),[$e,ut]=-1==pe?[x,""]:[x.slice(0,pe),x.slice(pe+1)];if($e.trim()===re)return decodeURIComponent(ut)}return null}let ln=(()=>{class F{constructor(x,pe,$e,ut){this._iterableDiffers=x,this._keyValueDiffers=pe,this._ngEl=$e,this._renderer=ut,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(x){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof x?x.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(x){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof x?x.split(/\s+/):x,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 x=this._iterableDiffer.diff(this._rawClass);x&&this._applyIterableChanges(x)}else if(this._keyValueDiffer){const x=this._keyValueDiffer.diff(this._rawClass);x&&this._applyKeyValueChanges(x)}}_applyKeyValueChanges(x){x.forEachAddedItem(pe=>this._toggleClass(pe.key,pe.currentValue)),x.forEachChangedItem(pe=>this._toggleClass(pe.key,pe.currentValue)),x.forEachRemovedItem(pe=>{pe.previousValue&&this._toggleClass(pe.key,!1)})}_applyIterableChanges(x){x.forEachAddedItem(pe=>{if("string"!=typeof pe.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,n.\u0275stringify)(pe.item)}`);this._toggleClass(pe.item,!0)}),x.forEachRemovedItem(pe=>this._toggleClass(pe.item,!1))}_applyClasses(x){x&&(Array.isArray(x)||x instanceof Set?x.forEach(pe=>this._toggleClass(pe,!0)):Object.keys(x).forEach(pe=>this._toggleClass(pe,!!x[pe])))}_removeClasses(x){x&&(Array.isArray(x)||x instanceof Set?x.forEach(pe=>this._toggleClass(pe,!1)):Object.keys(x).forEach(pe=>this._toggleClass(pe,!1)))}_toggleClass(x,pe){(x=x.trim())&&x.split(/\s+/g).forEach($e=>{pe?this._renderer.addClass(this._ngEl.nativeElement,$e):this._renderer.removeClass(this._ngEl.nativeElement,$e)})}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(n.KeyValueDiffers),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),F})(),_n=(()=>{class F{constructor(x){this._viewContainerRef=x,this._componentRef=null,this._moduleRef=null}ngOnChanges(x){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){const pe=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(x.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){const yt=pe.get(n.NgModuleRef);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(yt.injector)}else this._moduleRef=null;const ut=(this._moduleRef?this._moduleRef.componentFactoryResolver:pe.get(n.ComponentFactoryResolver)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(ut,this._viewContainerRef.length,pe,this.ngComponentOutletContent)}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[n.\u0275\u0275NgOnChangesFeature]}),F})();class Xt{constructor(re,x,pe,$e){this.$implicit=re,this.ngForOf=x,this.index=pe,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 fn=(()=>{class F{constructor(x,pe,$e){this._viewContainer=x,this._template=pe,this._differs=$e,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(x){this._ngForOf=x,this._ngForOfDirty=!0}set ngForTrackBy(x){this._trackByFn=x}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(x){x&&(this._template=x)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const x=this._ngForOf;!this._differ&&x&&(this._differ=this._differs.find(x).create(this.ngForTrackBy))}if(this._differ){const x=this._differ.diff(this._ngForOf);x&&this._applyChanges(x)}}_applyChanges(x){const pe=this._viewContainer;x.forEachOperation(($e,ut,yt)=>{if(null==$e.previousIndex)pe.createEmbeddedView(this._template,new Xt($e.item,this._ngForOf,-1,-1),null===yt?void 0:yt);else if(null==yt)pe.remove(null===ut?void 0:ut);else if(null!==ut){const Lt=pe.get(ut);pe.move(Lt,yt),zn(Lt,$e)}});for(let $e=0,ut=pe.length;$e<ut;$e++){const Lt=pe.get($e).context;Lt.index=$e,Lt.count=ut,Lt.ngForOf=this._ngForOf}x.forEachIdentityChange($e=>{zn(pe.get($e.currentIndex),$e)})}static ngTemplateContextGuard(x,pe){return!0}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),F})();function zn(F,re){F.context.$implicit=re.item}let mn=(()=>{class F{constructor(x,pe){this._viewContainer=x,this._context=new nn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=pe}set ngIf(x){this._context.$implicit=this._context.ngIf=x,this._updateView()}set ngIfThen(x){hi("ngIfThen",x),this._thenTemplateRef=x,this._thenViewRef=null,this._updateView()}set ngIfElse(x){hi("ngIfElse",x),this._elseTemplateRef=x,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(x,pe){return!0}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),F})();class nn{constructor(){this.$implicit=null,this.ngIf=null}}function hi(F,re){if(re&&!re.createEmbeddedView)throw new Error(`${F} must be a TemplateRef, but received '${(0,n.\u0275stringify)(re)}'.`)}class Di{constructor(re,x){this._viewContainerRef=re,this._templateRef=x,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 Mn=(()=>{class F{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(x){this._ngSwitch=x,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(x){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(x)}_matchCase(x){const pe=x==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||pe,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),pe}_updateDefaultCases(x){if(this._defaultViews&&x!==this._defaultUsed){this._defaultUsed=x;for(let pe=0;pe<this._defaultViews.length;pe++)this._defaultViews[pe].enforceState(x)}}}return F.\u0275fac=function(x){return new(x||F)},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),F})(),jn=(()=>{class F{constructor(x,pe,$e){this.ngSwitch=$e,$e._addCase(),this._view=new Di(x,pe)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(Mn,9))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),F})(),pi=(()=>{class F{constructor(x,pe,$e){$e._addDefault(new Di(x,pe))}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(Mn,9))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","ngSwitchDefault",""]]}),F})(),mi=(()=>{class F{constructor(x){this._localization=x,this._caseViews={}}set ngPlural(x){this._switchValue=x,this._updateView()}addCase(x,pe){this._caseViews[x]=pe}_updateView(){this._clearViews();const x=Object.keys(this._caseViews),pe=St(this._switchValue,x,this._localization);this._activateView(this._caseViews[pe])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(x){x&&(this._activeView=x,this._activeView.create())}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275directiveInject(at))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"}}),F})(),Kn=(()=>{class F{constructor(x,pe,$e,ut){this.value=x;const yt=!isNaN(Number(x));ut.addCase(yt?`=${x}`:x,new Di($e,pe))}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275injectAttribute("ngPluralCase"),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(mi,1))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","ngPluralCase",""]]}),F})(),ki=(()=>{class F{constructor(x,pe,$e){this._ngEl=x,this._differs=pe,this._renderer=$e,this._ngStyle=null,this._differ=null}set ngStyle(x){this._ngStyle=x,!this._differ&&x&&(this._differ=this._differs.find(x).create())}ngDoCheck(){if(this._differ){const x=this._differ.diff(this._ngStyle);x&&this._applyChanges(x)}}_setStyle(x,pe){const[$e,ut]=x.split(".");null!=(pe=null!=pe&&ut?`${pe}${ut}`:pe)?this._renderer.setStyle(this._ngEl.nativeElement,$e,pe):this._renderer.removeStyle(this._ngEl.nativeElement,$e)}_applyChanges(x){x.forEachRemovedItem(pe=>this._setStyle(pe.key,null)),x.forEachAddedItem(pe=>this._setStyle(pe.key,pe.currentValue)),x.forEachChangedItem(pe=>this._setStyle(pe.key,pe.currentValue))}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.KeyValueDiffers),n.\u0275\u0275directiveInject(n.Renderer2))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),F})(),Dr=(()=>{class F{constructor(x){this._viewContainerRef=x,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(x){if(x.ngTemplateOutlet){const pe=this._viewContainerRef;this._viewRef&&pe.remove(pe.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?pe.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&x.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[n.\u0275\u0275NgOnChangesFeature]}),F})();function Bn(F,re){return new n.\u0275RuntimeError(2100,"")}class xr{createSubscription(re,x){return re.subscribe({next:x,error:pe=>{throw pe}})}dispose(re){re.unsubscribe()}onDestroy(re){re.unsubscribe()}}class wi{createSubscription(re,x){return re.then(x,pe=>{throw pe})}dispose(re){}onDestroy(re){}}const cr=new wi,Mi=new xr;let Yi=(()=>{class F{constructor(x){this._ref=x,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(x){return this._obj?x!==this._obj?(this._dispose(),this.transform(x)):this._latestValue:(x&&this._subscribe(x),this._latestValue)}_subscribe(x){this._obj=x,this._strategy=this._selectStrategy(x),this._subscription=this._strategy.createSubscription(x,pe=>this._updateLatestValue(x,pe))}_selectStrategy(x){if((0,n.\u0275isPromise)(x))return cr;if((0,n.\u0275isSubscribable)(x))return Mi;throw Bn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(x,pe){x===this._obj&&(this._latestValue=pe,this._ref.markForCheck())}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef,16))},F.\u0275pipe=n.\u0275\u0275definePipe({name:"async",type:F,pure:!1}),F})(),ur=(()=>{class F{transform(x){if(null==x)return null;if("string"!=typeof x)throw Bn();return x.toLowerCase()}}return F.\u0275fac=function(x){return new(x||F)},F.\u0275pipe=n.\u0275\u0275definePipe({name:"lowercase",type:F,pure:!0}),F})();const dr=/(?:[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 Fr=(()=>{class F{transform(x){if(null==x)return null;if("string"!=typeof x)throw Bn();return x.replace(dr,pe=>pe[0].toUpperCase()+pe.substr(1).toLowerCase())}}return F.\u0275fac=function(x){return new(x||F)},F.\u0275pipe=n.\u0275\u0275definePipe({name:"titlecase",type:F,pure:!0}),F})(),_i=(()=>{class F{transform(x){if(null==x)return null;if("string"!=typeof x)throw Bn();return x.toUpperCase()}}return F.\u0275fac=function(x){return new(x||F)},F.\u0275pipe=n.\u0275\u0275definePipe({name:"uppercase",type:F,pure:!0}),F})();const kr=new n.InjectionToken("DATE_PIPE_DEFAULT_TIMEZONE");let Ni=(()=>{class F{constructor(x,pe){this.locale=x,this.defaultTimezone=pe}transform(x,pe="mediumDate",$e,ut){var yt;if(null==x||""===x||x!=x)return null;try{return rt(x,pe,ut||this.locale,null!==(yt=null!=$e?$e:this.defaultTimezone)&&void 0!==yt?yt:void 0)}catch(Lt){throw Bn()}}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(kr,24))},F.\u0275pipe=n.\u0275\u0275definePipe({name:"date",type:F,pure:!0}),F})();const Nr=/#/g;let Li=(()=>{class F{constructor(x){this._localization=x}transform(x,pe,$e){if(null==x)return"";if("object"!=typeof pe||null===pe)throw Bn();return pe[St(x,Object.keys(pe),this._localization,$e)].replace(Nr,x.toString())}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275directiveInject(at,16))},F.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nPlural",type:F,pure:!0}),F})(),Zi=(()=>{class F{transform(x,pe){if(null==x)return"";if("object"!=typeof pe||"string"!=typeof x)throw Bn();return pe.hasOwnProperty(x)?pe[x]:pe.hasOwnProperty("other")?pe.other:""}}return F.\u0275fac=function(x){return new(x||F)},F.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nSelect",type:F,pure:!0}),F})(),Si=(()=>{class F{transform(x){return JSON.stringify(x,null,2)}}return F.\u0275fac=function(x){return new(x||F)},F.\u0275pipe=n.\u0275\u0275definePipe({name:"json",type:F,pure:!1}),F})(),wr=(()=>{class F{constructor(x){this.differs=x,this.keyValues=[],this.compareFn=fr}transform(x,pe=fr){if(!x||!(x instanceof Map)&&"object"!=typeof x)return null;this.differ||(this.differ=this.differs.find(x).create());const $e=this.differ.diff(x),ut=pe!==this.compareFn;return $e&&(this.keyValues=[],$e.forEachItem(yt=>{this.keyValues.push(function bi(F,re){return{key:F,value:re}}(yt.key,yt.currentValue))})),($e||ut)&&(this.keyValues.sort(pe),this.compareFn=pe),this.keyValues}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275directiveInject(n.KeyValueDiffers,16))},F.\u0275pipe=n.\u0275\u0275definePipe({name:"keyvalue",type:F,pure:!1}),F})();function fr(F,re){const x=F.key,pe=re.key;if(x===pe)return 0;if(void 0===x)return 1;if(void 0===pe)return-1;if(null===x)return 1;if(null===pe)return-1;if("string"==typeof x&&"string"==typeof pe)return x<pe?-1:1;if("number"==typeof x&&"number"==typeof pe)return x-pe;if("boolean"==typeof x&&"boolean"==typeof pe)return x<pe?-1:1;const $e=String(x),ut=String(pe);return $e==ut?0:$e<ut?-1:1}let Mr=(()=>{class F{constructor(x){this._locale=x}transform(x,pe,$e){if(!Ci(x))return null;$e=$e||this._locale;try{return Yt(Oi(x),$e,pe)}catch(ut){throw Bn()}}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))},F.\u0275pipe=n.\u0275\u0275definePipe({name:"number",type:F,pure:!0}),F})(),Zn=(()=>{class F{constructor(x){this._locale=x}transform(x,pe,$e){if(!Ci(x))return null;$e=$e||this._locale;try{return Pt(Oi(x),$e,pe)}catch(ut){throw Bn()}}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))},F.\u0275pipe=n.\u0275\u0275definePipe({name:"percent",type:F,pure:!0}),F})(),ji=(()=>{class F{constructor(x,pe="USD"){this._locale=x,this._defaultCurrencyCode=pe}transform(x,pe=this._defaultCurrencyCode,$e="symbol",ut,yt){if(!Ci(x))return null;yt=yt||this._locale,"boolean"==typeof $e&&($e=$e?"symbol":"code");let Lt=pe||this._defaultCurrencyCode;"code"!==$e&&(Lt="symbol"===$e||"symbol-narrow"===$e?ot(Lt,"symbol"===$e?"wide":"narrow",yt):$e);try{return Rn(Oi(x),yt,Lt,pe,ut)}catch(Cn){throw Bn()}}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(n.DEFAULT_CURRENCY_CODE,16))},F.\u0275pipe=n.\u0275\u0275definePipe({name:"currency",type:F,pure:!0}),F})();function Ci(F){return!(null==F||""===F||F!=F)}function Oi(F){if("string"==typeof F&&!isNaN(Number(F)-parseFloat(F)))return Number(F);if("number"!=typeof F)throw new Error(`${F} is not a number`);return F}let hr=(()=>{class F{transform(x,pe,$e){if(null==x)return null;if(!this.supports(x))throw Bn();return x.slice(pe,$e)}supports(x){return"string"==typeof x||Array.isArray(x)}}return F.\u0275fac=function(x){return new(x||F)},F.\u0275pipe=n.\u0275\u0275definePipe({name:"slice",type:F,pure:!1}),F})(),Ii=(()=>{class F{}return F.\u0275fac=function(x){return new(x||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({}),F})();const Ei="browser",Ji="server",Bi="browserWorkerApp",Xi="browserWorkerUi";function Pn(F){return F===Ei}function Vi(F){return F===Ji}function qi(F){return F===Bi}function Vn(F){return F===Xi}const Pi=new n.Version("13.3.6");let ti=(()=>{class F{}return F.\u0275prov=(0,n.\u0275\u0275defineInjectable)({token:F,providedIn:"root",factory:()=>new ni((0,n.\u0275\u0275inject)(f),window)}),F})();class ni{constructor(re,x){this.document=re,this.window=x,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 x=function Jn(F,re){const x=F.getElementById(re)||F.getElementsByName(re)[0];if(x)return x;if("function"==typeof F.createTreeWalker&&F.body&&(F.body.createShadowRoot||F.body.attachShadow)){const pe=F.createTreeWalker(F.body,NodeFilter.SHOW_ELEMENT);let $e=pe.currentNode;for(;$e;){const ut=$e.shadowRoot;if(ut){const yt=ut.getElementById(re)||ut.querySelector(`[name="${re}"]`);if(yt)return yt}$e=pe.nextNode()}}return null}(this.document,re);x&&(this.scrollToElement(x),x.focus())}setHistoryScrollRestoration(re){if(this.supportScrollRestoration()){const x=this.window.history;x&&x.scrollRestoration&&(x.scrollRestoration=re)}}scrollToElement(re){const x=re.getBoundingClientRect(),pe=x.left+this.window.pageXOffset,$e=x.top+this.window.pageYOffset,ut=this.offset();this.window.scrollTo(pe-ut[0],$e-ut[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const re=Wn(this.window.history)||Wn(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 Wn(F){return Object.getOwnPropertyDescriptor(F,"scrollRestoration")}class jr{setOffset(re){}getScrollPosition(){return[0,0]}scrollToPosition(re){}scrollToAnchor(re){}setHistoryScrollRestoration(re){}}class Tn{}},6529:(G,o,a)=>{"use strict";a.r(o),a.d(o,{HTTP_INTERCEPTORS:()=>it,HttpBackend:()=>_,HttpClient:()=>et,HttpClientJsonpModule:()=>Et,HttpClientModule:()=>Dt,HttpClientXsrfModule:()=>ot,HttpContext:()=>X,HttpContextToken:()=>Z,HttpErrorResponse:()=>de,HttpEventType:()=>Q,HttpHandler:()=>u,HttpHeaderResponse:()=>$,HttpHeaders:()=>v,HttpParams:()=>J,HttpRequest:()=>We,HttpResponse:()=>ce,HttpResponseBase:()=>ue,HttpUrlEncodingCodec:()=>b,HttpXhrBackend:()=>ne,HttpXsrfTokenExtractor:()=>Ke,JsonpClientBackend:()=>pt,JsonpInterceptor:()=>ye,XhrFactory:()=>At,\u0275HttpInterceptingHandler:()=>ve});var n=a(9808),h=a(5e3),y=a(9646),d=a(8306),r=a(5577),l=a(576),p=a(9300),m=a(4004);class u{}class _{}class v{constructor(Te){this.normalizedNames=new Map,this.lazyUpdate=null,Te?this.lazyInit="string"==typeof Te?()=>{this.headers=new Map,Te.split("\n").forEach(Ee=>{const Ye=Ee.indexOf(":");if(Ye>0){const Xe=Ee.slice(0,Ye),rt=Xe.toLowerCase(),wt=Ee.slice(Ye+1).trim();this.maybeSetNormalizedName(Xe,rt),this.headers.has(rt)?this.headers.get(rt).push(wt):this.headers.set(rt,[wt])}})}:()=>{this.headers=new Map,Object.keys(Te).forEach(Ee=>{let Ye=Te[Ee];const Xe=Ee.toLowerCase();"string"==typeof Ye&&(Ye=[Ye]),Ye.length>0&&(this.headers.set(Xe,Ye),this.maybeSetNormalizedName(Ee,Xe))})}:this.headers=new Map}has(Te){return this.init(),this.headers.has(Te.toLowerCase())}get(Te){this.init();const Ee=this.headers.get(Te.toLowerCase());return Ee&&Ee.length>0?Ee[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Te){return this.init(),this.headers.get(Te.toLowerCase())||null}append(Te,Ee){return this.clone({name:Te,value:Ee,op:"a"})}set(Te,Ee){return this.clone({name:Te,value:Ee,op:"s"})}delete(Te,Ee){return this.clone({name:Te,value:Ee,op:"d"})}maybeSetNormalizedName(Te,Ee){this.normalizedNames.has(Ee)||this.normalizedNames.set(Ee,Te)}init(){this.lazyInit&&(this.lazyInit instanceof v?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Te=>this.applyUpdate(Te)),this.lazyUpdate=null))}copyFrom(Te){Te.init(),Array.from(Te.headers.keys()).forEach(Ee=>{this.headers.set(Ee,Te.headers.get(Ee)),this.normalizedNames.set(Ee,Te.normalizedNames.get(Ee))})}clone(Te){const Ee=new v;return Ee.lazyInit=this.lazyInit&&this.lazyInit instanceof v?this.lazyInit:this,Ee.lazyUpdate=(this.lazyUpdate||[]).concat([Te]),Ee}applyUpdate(Te){const Ee=Te.name.toLowerCase();switch(Te.op){case"a":case"s":let Ye=Te.value;if("string"==typeof Ye&&(Ye=[Ye]),0===Ye.length)return;this.maybeSetNormalizedName(Te.name,Ee);const Xe=("a"===Te.op?this.headers.get(Ee):void 0)||[];Xe.push(...Ye),this.headers.set(Ee,Xe);break;case"d":const rt=Te.value;if(rt){let wt=this.headers.get(Ee);if(!wt)return;wt=wt.filter(Oe=>-1===rt.indexOf(Oe)),0===wt.length?(this.headers.delete(Ee),this.normalizedNames.delete(Ee)):this.headers.set(Ee,wt)}else this.headers.delete(Ee),this.normalizedNames.delete(Ee)}}forEach(Te){this.init(),Array.from(this.normalizedNames.keys()).forEach(Ee=>Te(this.normalizedNames.get(Ee),this.headers.get(Ee)))}}class b{encodeKey(Te){return I(Te)}encodeValue(Te){return I(Te)}decodeKey(Te){return decodeURIComponent(Te)}decodeValue(Te){return decodeURIComponent(Te)}}const S=/%(\d[a-f0-9])/gi,P={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function I(He){return encodeURIComponent(He).replace(S,(Te,Ee)=>{var Ye;return null!==(Ye=P[Ee])&&void 0!==Ye?Ye:Te})}function V(He){return`${He}`}class J{constructor(Te={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Te.encoder||new b,Te.fromString){if(Te.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function T(He,Te){const Ee=new Map;return He.length>0&&He.replace(/^\?/,"").split("&").forEach(Xe=>{const rt=Xe.indexOf("="),[wt,Oe]=-1==rt?[Te.decodeKey(Xe),""]:[Te.decodeKey(Xe.slice(0,rt)),Te.decodeValue(Xe.slice(rt+1))],ze=Ee.get(wt)||[];ze.push(Oe),Ee.set(wt,ze)}),Ee}(Te.fromString,this.encoder)}else Te.fromObject?(this.map=new Map,Object.keys(Te.fromObject).forEach(Ee=>{const Ye=Te.fromObject[Ee];this.map.set(Ee,Array.isArray(Ye)?Ye:[Ye])})):this.map=null}has(Te){return this.init(),this.map.has(Te)}get(Te){this.init();const Ee=this.map.get(Te);return Ee?Ee[0]:null}getAll(Te){return this.init(),this.map.get(Te)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Te,Ee){return this.clone({param:Te,value:Ee,op:"a"})}appendAll(Te){const Ee=[];return Object.keys(Te).forEach(Ye=>{const Xe=Te[Ye];Array.isArray(Xe)?Xe.forEach(rt=>{Ee.push({param:Ye,value:rt,op:"a"})}):Ee.push({param:Ye,value:Xe,op:"a"})}),this.clone(Ee)}set(Te,Ee){return this.clone({param:Te,value:Ee,op:"s"})}delete(Te,Ee){return this.clone({param:Te,value:Ee,op:"d"})}toString(){return this.init(),this.keys().map(Te=>{const Ee=this.encoder.encodeKey(Te);return this.map.get(Te).map(Ye=>Ee+"="+this.encoder.encodeValue(Ye)).join("&")}).filter(Te=>""!==Te).join("&")}clone(Te){const Ee=new J({encoder:this.encoder});return Ee.cloneFrom=this.cloneFrom||this,Ee.updates=(this.updates||[]).concat(Te),Ee}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Te=>this.map.set(Te,this.cloneFrom.map.get(Te))),this.updates.forEach(Te=>{switch(Te.op){case"a":case"s":const Ee=("a"===Te.op?this.map.get(Te.param):void 0)||[];Ee.push(V(Te.value)),this.map.set(Te.param,Ee);break;case"d":if(void 0===Te.value){this.map.delete(Te.param);break}{let Ye=this.map.get(Te.param)||[];const Xe=Ye.indexOf(V(Te.value));-1!==Xe&&Ye.splice(Xe,1),Ye.length>0?this.map.set(Te.param,Ye):this.map.delete(Te.param)}}}),this.cloneFrom=this.updates=null)}}class Z{constructor(Te){this.defaultValue=Te}}class X{constructor(){this.map=new Map}set(Te,Ee){return this.map.set(Te,Ee),this}get(Te){return this.map.has(Te)||this.map.set(Te,Te.defaultValue()),this.map.get(Te)}delete(Te){return this.map.delete(Te),this}has(Te){return this.map.has(Te)}keys(){return this.map.keys()}}function oe(He){return"undefined"!=typeof ArrayBuffer&&He instanceof ArrayBuffer}function le(He){return"undefined"!=typeof Blob&&He instanceof Blob}function me(He){return"undefined"!=typeof FormData&&He instanceof FormData}class We{constructor(Te,Ee,Ye,Xe){let rt;if(this.url=Ee,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Te.toUpperCase(),function U(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,rt=Xe):rt=Ye,rt&&(this.reportProgress=!!rt.reportProgress,this.withCredentials=!!rt.withCredentials,rt.responseType&&(this.responseType=rt.responseType),rt.headers&&(this.headers=rt.headers),rt.context&&(this.context=rt.context),rt.params&&(this.params=rt.params)),this.headers||(this.headers=new v),this.context||(this.context=new X),this.params){const wt=this.params.toString();if(0===wt.length)this.urlWithParams=Ee;else{const Oe=Ee.indexOf("?");this.urlWithParams=Ee+(-1===Oe?"?":Oe<Ee.length-1?"&":"")+wt}}else this.params=new J,this.urlWithParams=Ee}serializeBody(){return null===this.body?null:oe(this.body)||le(this.body)||me(this.body)||function De(He){return"undefined"!=typeof URLSearchParams&&He instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof J?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:le(this.body)?this.body.type||null:oe(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof J?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(Te={}){var Ee;const Ye=Te.method||this.method,Xe=Te.url||this.url,rt=Te.responseType||this.responseType,wt=void 0!==Te.body?Te.body:this.body,Oe=void 0!==Te.withCredentials?Te.withCredentials:this.withCredentials,ze=void 0!==Te.reportProgress?Te.reportProgress:this.reportProgress;let lt=Te.headers||this.headers,Tt=Te.params||this.params;const Ct=null!==(Ee=Te.context)&&void 0!==Ee?Ee:this.context;return void 0!==Te.setHeaders&&(lt=Object.keys(Te.setHeaders).reduce(($t,Mt)=>$t.set(Mt,Te.setHeaders[Mt]),lt)),Te.setParams&&(Tt=Object.keys(Te.setParams).reduce(($t,Mt)=>$t.set(Mt,Te.setParams[Mt]),Tt)),new We(Ye,Xe,wt,{params:Tt,headers:lt,context:Ct,reportProgress:ze,responseType:rt,withCredentials:Oe})}}var Q=(()=>((Q=Q||{})[Q.Sent=0]="Sent",Q[Q.UploadProgress=1]="UploadProgress",Q[Q.ResponseHeader=2]="ResponseHeader",Q[Q.DownloadProgress=3]="DownloadProgress",Q[Q.Response=4]="Response",Q[Q.User=5]="User",Q))();class ue{constructor(Te,Ee=200,Ye="OK"){this.headers=Te.headers||new v,this.status=void 0!==Te.status?Te.status:Ee,this.statusText=Te.statusText||Ye,this.url=Te.url||null,this.ok=this.status>=200&&this.status<300}}class $ extends ue{constructor(Te={}){super(Te),this.type=Q.ResponseHeader}clone(Te={}){return new $({headers:Te.headers||this.headers,status:void 0!==Te.status?Te.status:this.status,statusText:Te.statusText||this.statusText,url:Te.url||this.url||void 0})}}class ce extends ue{constructor(Te={}){super(Te),this.type=Q.Response,this.body=void 0!==Te.body?Te.body:null}clone(Te={}){return new ce({body:void 0!==Te.body?Te.body:this.body,headers:Te.headers||this.headers,status:void 0!==Te.status?Te.status:this.status,statusText:Te.statusText||this.statusText,url:Te.url||this.url||void 0})}}class de extends ue{constructor(Te){super(Te,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Te.url||"(unknown url)"}`:`Http failure response for ${Te.url||"(unknown url)"}: ${Te.status} ${Te.statusText}`,this.error=Te.error||null}}function _e(He,Te){return{body:Te,headers:He.headers,context:He.context,observe:He.observe,params:He.params,reportProgress:He.reportProgress,responseType:He.responseType,withCredentials:He.withCredentials}}let et=(()=>{class He{constructor(Ee){this.handler=Ee}request(Ee,Ye,Xe={}){let rt;if(Ee instanceof We)rt=Ee;else{let ze,lt;ze=Xe.headers instanceof v?Xe.headers:new v(Xe.headers),Xe.params&&(lt=Xe.params instanceof J?Xe.params:new J({fromObject:Xe.params})),rt=new We(Ee,Ye,void 0!==Xe.body?Xe.body:null,{headers:ze,context:Xe.context,params:lt,reportProgress:Xe.reportProgress,responseType:Xe.responseType||"json",withCredentials:Xe.withCredentials})}const wt=(0,y.of)(rt).pipe(function f(He,Te){return(0,l.m)(Te)?(0,r.z)(He,Te,1):(0,r.z)(He,1)}(ze=>this.handler.handle(ze)));if(Ee instanceof We||"events"===Xe.observe)return wt;const Oe=wt.pipe((0,p.h)(ze=>ze instanceof ce));switch(Xe.observe||"body"){case"body":switch(rt.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(Ee,Ye={}){return this.request("DELETE",Ee,Ye)}get(Ee,Ye={}){return this.request("GET",Ee,Ye)}head(Ee,Ye={}){return this.request("HEAD",Ee,Ye)}jsonp(Ee,Ye){return this.request("JSONP",Ee,{params:(new J).append(Ye,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Ee,Ye={}){return this.request("OPTIONS",Ee,Ye)}patch(Ee,Ye,Xe={}){return this.request("PATCH",Ee,_e(Xe,Ye))}post(Ee,Ye,Xe={}){return this.request("POST",Ee,_e(Xe,Ye))}put(Ee,Ye,Xe={}){return this.request("PUT",Ee,_e(Xe,Ye))}}return He.\u0275fac=function(Ee){return new(Ee||He)(h.\u0275\u0275inject(u))},He.\u0275prov=h.\u0275\u0275defineInjectable({token:He,factory:He.\u0275fac}),He})();class dt{constructor(Te,Ee){this.next=Te,this.interceptor=Ee}handle(Te){return this.interceptor.intercept(Te,this.next)}}const it=new h.InjectionToken("HTTP_INTERCEPTORS");let ht,st=(()=>{class He{intercept(Ee,Ye){return Ye.handle(Ee)}}return He.\u0275fac=function(Ee){return new(Ee||He)},He.\u0275prov=h.\u0275\u0275defineInjectable({token:He,factory:He.\u0275fac}),He})(),Qe=0;class Ge{}let pt=(()=>{class He{constructor(Ee,Ye){this.callbackMap=Ee,this.document=Ye,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+Qe++}handle(Ee){if("JSONP"!==Ee.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==Ee.responseType)throw new Error("JSONP requests must use Json response type.");return new d.y(Ye=>{const Xe=this.nextCallback(),rt=Ee.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${Xe}$1`),wt=this.document.createElement("script");wt.src=rt;let Oe=null,ze=!1;this.callbackMap[Xe]=$t=>{delete this.callbackMap[Xe],Oe=$t,ze=!0};const lt=()=>{wt.parentNode&&wt.parentNode.removeChild(wt),delete this.callbackMap[Xe]};return wt.addEventListener("load",$t=>{this.resolvedPromise.then(()=>{lt(),ze?(Ye.next(new ce({body:Oe,status:200,statusText:"OK",url:rt})),Ye.complete()):Ye.error(new de({url:rt,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})}),wt.addEventListener("error",$t=>{lt(),Ye.error(new de({error:$t,status:0,statusText:"JSONP Error",url:rt}))}),this.document.body.appendChild(wt),Ye.next({type:Q.Sent}),()=>{ze||this.removeListeners(wt),lt()}})}removeListeners(Ee){ht||(ht=this.document.implementation.createHTMLDocument()),ht.adoptNode(Ee)}}return He.\u0275fac=function(Ee){return new(Ee||He)(h.\u0275\u0275inject(Ge),h.\u0275\u0275inject(n.DOCUMENT))},He.\u0275prov=h.\u0275\u0275defineInjectable({token:He,factory:He.\u0275fac}),He})(),ye=(()=>{class He{constructor(Ee){this.jsonp=Ee}intercept(Ee,Ye){return"JSONP"===Ee.method?this.jsonp.handle(Ee):Ye.handle(Ee)}}return He.\u0275fac=function(Ee){return new(Ee||He)(h.\u0275\u0275inject(pt))},He.\u0275prov=h.\u0275\u0275defineInjectable({token:He,factory:He.\u0275fac}),He})();const Se=/^\)\]\}',?\n/;let ne=(()=>{class He{constructor(Ee){this.xhrFactory=Ee}handle(Ee){if("JSONP"===Ee.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(Ee.method,Ee.urlWithParams),Ee.withCredentials&&(Xe.withCredentials=!0),Ee.headers.forEach((Mt,Ht)=>Xe.setRequestHeader(Mt,Ht.join(","))),Ee.headers.has("Accept")||Xe.setRequestHeader("Accept","application/json, text/plain, */*"),!Ee.headers.has("Content-Type")){const Mt=Ee.detectContentTypeHeader();null!==Mt&&Xe.setRequestHeader("Content-Type",Mt)}if(Ee.responseType){const Mt=Ee.responseType.toLowerCase();Xe.responseType="json"!==Mt?Mt:"text"}const rt=Ee.serializeBody();let wt=null;const Oe=()=>{if(null!==wt)return wt;const Mt=Xe.statusText||"OK",Ht=new v(Xe.getAllResponseHeaders()),fe=function j(He){return"responseURL"in He&&He.responseURL?He.responseURL:/^X-Request-URL:/m.test(He.getAllResponseHeaders())?He.getResponseHeader("X-Request-URL"):null}(Xe)||Ee.url;return wt=new $({headers:Ht,status:Xe.status,statusText:Mt,url:fe}),wt},ze=()=>{let{headers:Mt,status:Ht,statusText:fe,url:q}=Oe(),k=null;204!==Ht&&(k=void 0===Xe.response?Xe.responseText:Xe.response),0===Ht&&(Ht=k?200:0);let W=Ht>=200&&Ht<300;if("json"===Ee.responseType&&"string"==typeof k){const Y=k;k=k.replace(Se,"");try{k=""!==k?JSON.parse(k):null}catch(z){k=Y,W&&(W=!1,k={error:z,text:k})}}W?(Ye.next(new ce({body:k,headers:Mt,status:Ht,statusText:fe,url:q||void 0})),Ye.complete()):Ye.error(new de({error:k,headers:Mt,status:Ht,statusText:fe,url:q||void 0}))},lt=Mt=>{const{url:Ht}=Oe(),fe=new de({error:Mt,status:Xe.status||0,statusText:Xe.statusText||"Unknown Error",url:Ht||void 0});Ye.error(fe)};let Tt=!1;const Ct=Mt=>{Tt||(Ye.next(Oe()),Tt=!0);let Ht={type:Q.DownloadProgress,loaded:Mt.loaded};Mt.lengthComputable&&(Ht.total=Mt.total),"text"===Ee.responseType&&!!Xe.responseText&&(Ht.partialText=Xe.responseText),Ye.next(Ht)},$t=Mt=>{let Ht={type:Q.UploadProgress,loaded:Mt.loaded};Mt.lengthComputable&&(Ht.total=Mt.total),Ye.next(Ht)};return Xe.addEventListener("load",ze),Xe.addEventListener("error",lt),Xe.addEventListener("timeout",lt),Xe.addEventListener("abort",lt),Ee.reportProgress&&(Xe.addEventListener("progress",Ct),null!==rt&&Xe.upload&&Xe.upload.addEventListener("progress",$t)),Xe.send(rt),Ye.next({type:Q.Sent}),()=>{Xe.removeEventListener("error",lt),Xe.removeEventListener("abort",lt),Xe.removeEventListener("load",ze),Xe.removeEventListener("timeout",lt),Ee.reportProgress&&(Xe.removeEventListener("progress",Ct),null!==rt&&Xe.upload&&Xe.upload.removeEventListener("progress",$t)),Xe.readyState!==Xe.DONE&&Xe.abort()}})}}return He.\u0275fac=function(Ee){return new(Ee||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(Ee,Ye,Xe){this.doc=Ee,this.platform=Ye,this.cookieName=Xe,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Ee=this.doc.cookie||"";return Ee!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,n.\u0275parseCookieValue)(Ee,this.cookieName),this.lastCookieString=Ee),this.lastToken}}return He.\u0275fac=function(Ee){return new(Ee||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})(),L=(()=>{class He{constructor(Ee,Ye){this.tokenService=Ee,this.headerName=Ye}intercept(Ee,Ye){const Xe=Ee.url.toLowerCase();if("GET"===Ee.method||"HEAD"===Ee.method||Xe.startsWith("http://")||Xe.startsWith("https://"))return Ye.handle(Ee);const rt=this.tokenService.getToken();return null!==rt&&!Ee.headers.has(this.headerName)&&(Ee=Ee.clone({headers:Ee.headers.set(this.headerName,rt)})),Ye.handle(Ee)}}return He.\u0275fac=function(Ee){return new(Ee||He)(h.\u0275\u0275inject(Ke),h.\u0275\u0275inject(Ue))},He.\u0275prov=h.\u0275\u0275defineInjectable({token:He,factory:He.\u0275fac}),He})(),ve=(()=>{class He{constructor(Ee,Ye){this.backend=Ee,this.injector=Ye,this.chain=null}handle(Ee){if(null===this.chain){const Ye=this.injector.get(it,[]);this.chain=Ye.reduceRight((Xe,rt)=>new dt(Xe,rt),this.backend)}return this.chain.handle(Ee)}}return He.\u0275fac=function(Ee){return new(Ee||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 ot=(()=>{class He{static disable(){return{ngModule:He,providers:[{provide:L,useClass:st}]}}static withOptions(Ee={}){return{ngModule:He,providers:[Ee.cookieName?{provide:Me,useValue:Ee.cookieName}:[],Ee.headerName?{provide:Ue,useValue:Ee.headerName}:[]]}}}return He.\u0275fac=function(Ee){return new(Ee||He)},He.\u0275mod=h.\u0275\u0275defineNgModule({type:He}),He.\u0275inj=h.\u0275\u0275defineInjector({providers:[L,{provide:it,useExisting:L,multi:!0},{provide:Ke,useClass:Re},{provide:Me,useValue:"XSRF-TOKEN"},{provide:Ue,useValue:"X-XSRF-TOKEN"}]}),He})(),Dt=(()=>{class He{}return He.\u0275fac=function(Ee){return new(Ee||He)},He.\u0275mod=h.\u0275\u0275defineNgModule({type:He}),He.\u0275inj=h.\u0275\u0275defineInjector({providers:[et,{provide:u,useClass:ve},ne,{provide:_,useExisting:ne}],imports:[[ot.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),He})(),Et=(()=>{class He{}return He.\u0275fac=function(Ee){return new(Ee||He)},He.\u0275mod=h.\u0275\u0275defineNgModule({type:He}),He.\u0275inj=h.\u0275\u0275defineInjector({providers:[pt,{provide:Ge,useFactory:Je},{provide:it,useClass:ye,multi:!0}]}),He})();const At=n.XhrFactory},5e3:(G,o,a)=>{"use strict";a.r(o),a.d(o,{ANALYZE_FOR_ENTRY_COMPONENTS:()=>nv,APP_BOOTSTRAP_LISTENER:()=>yg,APP_ID:()=>mg,APP_INITIALIZER:()=>pg,ApplicationInitStatus:()=>_u,ApplicationModule:()=>AE,ApplicationRef:()=>Ou,Attribute:()=>rd,COMPILER_OPTIONS:()=>bg,CUSTOM_ELEMENTS_SCHEMA:()=>$d,ChangeDetectionStrategy:()=>At,ChangeDetectorRef:()=>Lg,Compiler:()=>QC,CompilerFactory:()=>YC,Component:()=>xC,ComponentFactory:()=>Ca,ComponentFactoryResolver:()=>Ea,ComponentRef:()=>qp,ContentChild:()=>rv,ContentChildren:()=>iv,DEFAULT_CURRENCY_CODE:()=>WC,DebugElement:()=>As,DebugEventListener:()=>mE,DebugNode:()=>Pu,DefaultIterableDiffer:()=>Ug,Directive:()=>hg,ElementRef:()=>ws,EmbeddedViewRef:()=>pE,ErrorHandler:()=>Zs,EventEmitter:()=>Er,Host:()=>fd,HostBinding:()=>LC,HostListener:()=>jC,INJECTOR:()=>sa,Inject:()=>zs,InjectFlags:()=>L,Injectable:()=>ob,InjectionToken:()=>Hn,Injector:()=>rr,Input:()=>kC,IterableDiffers:()=>ku,KeyValueDiffers:()=>Nu,LOCALE_ID:()=>Cu,MissingTranslationStrategy:()=>Tr,ModuleWithComponentFactories:()=>_g,NO_ERRORS_SCHEMA:()=>Hd,NgModule:()=>BC,NgModuleFactory:()=>cm,NgModuleRef:()=>Uo,NgProbeToken:()=>iE,NgZone:()=>lr,Optional:()=>rs,Output:()=>NC,PACKAGE_ROOT_URL:()=>HC,PLATFORM_ID:()=>$C,PLATFORM_INITIALIZER:()=>vg,Pipe:()=>FC,PlatformRef:()=>Su,Query:()=>qo,QueryList:()=>Sa,ReflectiveInjector:()=>Lo,ReflectiveKey:()=>Rr,Renderer2:()=>Y0,RendererFactory2:()=>tm,RendererStyleFlags2:()=>yr,ResolvedReflectiveFactory:()=>Ah,Sanitizer:()=>nm,SecurityContext:()=>Gn,Self:()=>Ws,SimpleChange:()=>ji,SkipSelf:()=>go,TRANSLATIONS:()=>GC,TRANSLATIONS_FORMAT:()=>KC,TemplateRef:()=>Os,Testability:()=>Dg,TestabilityRegistry:()=>wg,Type:()=>Vs,VERSION:()=>rm,Version:()=>im,ViewChild:()=>sv,ViewChildren:()=>ov,ViewContainerRef:()=>Ia,ViewEncapsulation:()=>Ee,ViewRef:()=>Bg,asNativeElements:()=>gE,assertPlatform:()=>Ag,createNgModuleRef:()=>nC,createPlatform:()=>Ig,createPlatformFactory:()=>Pg,defineInjectable:()=>Le,destroyPlatform:()=>oE,enableProdMode:()=>uE,forwardRef:()=>_,getDebugNode:()=>Go,getModuleFactory:()=>dE,getNgModuleById:()=>fE,getPlatform:()=>Ra,inject:()=>dd,isDevMode:()=>cE,platformCore:()=>PE,resolveForwardRef:()=>v,setTestabilityGetter:()=>nE,\u0275ALLOW_MULTIPLE_PLATFORMS:()=>Mu,\u0275APP_ID_RANDOM_PROVIDER:()=>VC,\u0275ChangeDetectorStatus:()=>He,\u0275ComponentFactory:()=>Ca,\u0275Console:()=>UC,\u0275DEFAULT_LOCALE_ID:()=>bs,\u0275INJECTOR_SCOPE:()=>Bl,\u0275LifecycleHooksFeature:()=>vh,\u0275LocaleDataIndex:()=>Qt,\u0275NG_COMP_DEF:()=>$t,\u0275NG_DIR_DEF:()=>Mt,\u0275NG_ELEMENT_ID:()=>k,\u0275NG_INJ_DEF:()=>Ue,\u0275NG_MOD_DEF:()=>fe,\u0275NG_PIPE_DEF:()=>Ht,\u0275NG_PROV_DEF:()=>Me,\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR:()=>Ta,\u0275NO_CHANGE:()=>en,\u0275NgModuleFactory:()=>Ma,\u0275NoopNgZone:()=>Tg,\u0275ReflectionCapabilities:()=>$a,\u0275Render3ComponentFactory:()=>wa,\u0275Render3ComponentRef:()=>am,\u0275Render3NgModuleRef:()=>ru,\u0275RuntimeError:()=>S,\u0275ViewRef:()=>Ho,\u0275_sanitizeHtml:()=>Id,\u0275_sanitizeUrl:()=>ss,\u0275allowSanitizationBypassAndThrow:()=>_o,\u0275bypassSanitizationTrustHtml:()=>kv,\u0275bypassSanitizationTrustResourceUrl:()=>Bv,\u0275bypassSanitizationTrustScript:()=>Lv,\u0275bypassSanitizationTrustStyle:()=>Nv,\u0275bypassSanitizationTrustUrl:()=>jv,\u0275clearResolutionOfComponentResourcesQueue:()=>vd,\u0275compileComponent:()=>tg,\u0275compileDirective:()=>yu,\u0275compileNgModule:()=>Ym,\u0275compileNgModuleDefs:()=>Zm,\u0275compileNgModuleFactory:()=>Sg,\u0275compilePipe:()=>dg,\u0275createInjector:()=>$l,\u0275defaultIterableDiffers:()=>OE,\u0275defaultKeyValueDiffers:()=>IE,\u0275detectChanges:()=>qf,\u0275devModeEqual:()=>bh,\u0275findLocaleData:()=>Qc,\u0275flushModuleScopingQueueAsMuchAsPossible:()=>Km,\u0275getDebugNode:()=>Go,\u0275getDebugNodeR2:()=>bE,\u0275getDirectives:()=>uh,\u0275getHostElement:()=>zl,\u0275getInjectableDef:()=>pt,\u0275getLContext:()=>ui,\u0275getLocaleCurrencyCode:()=>Qb,\u0275getLocalePluralCase:()=>Tp,\u0275getSanitizationBypassType:()=>Cd,\u0275global:()=>Oe,\u0275injectChangeDetectorRef:()=>jg,\u0275isBoundToModule:()=>Og,\u0275isDefaultChangeDetectionStrategy:()=>Te,\u0275isListLikeIterable:()=>ms,\u0275isObservable:()=>jh,\u0275isPromise:()=>fc,\u0275isSubscribable:()=>Lh,\u0275ivyEnabled:()=>RE,\u0275makeDecorator:()=>ho,\u0275markDirty:()=>eh,\u0275noSideEffects:()=>Et,\u0275patchComponentDefWithScope:()=>mu,\u0275publishDefaultGlobalUtils:()=>H_,\u0275publishGlobalUtil:()=>Ki,\u0275registerLocaleData:()=>Kb,\u0275registerNgModuleType:()=>dm,\u0275renderComponent:()=>U_,\u0275resetCompiledComponents:()=>TC,\u0275resetJitOptions:()=>CC,\u0275resolveComponentResources:()=>md,\u0275setClassMetadata:()=>lm,\u0275setCurrentInjector:()=>za,\u0275setDocument:()=>Wn,\u0275setLocaleId:()=>Mp,\u0275store:()=>Eh,\u0275stringify:()=>p,\u0275transitiveScopesFor:()=>Ps,\u0275unregisterLocaleData:()=>Yb,\u0275unwrapSafeValue:()=>Ir,\u0275whenRendered:()=>z_,\u0275\u0275CopyDefinitionFeature:()=>_h,\u0275\u0275FactoryTarget:()=>Xn,\u0275\u0275InheritDefinitionFeature:()=>Gl,\u0275\u0275NgOnChangesFeature:()=>Ci,\u0275\u0275ProvidersFeature:()=>Xp,\u0275\u0275advance:()=>bf,\u0275\u0275attribute:()=>Yl,\u0275\u0275attributeInterpolate1:()=>Zl,\u0275\u0275attributeInterpolate2:()=>Jl,\u0275\u0275attributeInterpolate3:()=>Xl,\u0275\u0275attributeInterpolate4:()=>ql,\u0275\u0275attributeInterpolate5:()=>ec,\u0275\u0275attributeInterpolate6:()=>tc,\u0275\u0275attributeInterpolate7:()=>nc,\u0275\u0275attributeInterpolate8:()=>ic,\u0275\u0275attributeInterpolateV:()=>rc,\u0275\u0275classMap:()=>Jh,\u0275\u0275classMapInterpolate1:()=>op,\u0275\u0275classMapInterpolate2:()=>sp,\u0275\u0275classMapInterpolate3:()=>ap,\u0275\u0275classMapInterpolate4:()=>lp,\u0275\u0275classMapInterpolate5:()=>cp,\u0275\u0275classMapInterpolate6:()=>up,\u0275\u0275classMapInterpolate7:()=>dp,\u0275\u0275classMapInterpolate8:()=>fp,\u0275\u0275classMapInterpolateV:()=>hp,\u0275\u0275classProp:()=>Mc,\u0275\u0275contentQuery:()=>$m,\u0275\u0275defineComponent:()=>Y,\u0275\u0275defineDirective:()=>Ae,\u0275\u0275defineInjectable:()=>qe,\u0275\u0275defineInjector:()=>Ge,\u0275\u0275defineNgModule:()=>ft,\u0275\u0275definePipe:()=>ge,\u0275\u0275directiveInject:()=>ys,\u0275\u0275disableBindings:()=>Or,\u0275\u0275element:()=>uc,\u0275\u0275elementContainer:()=>dc,\u0275\u0275elementContainerEnd:()=>ha,\u0275\u0275elementContainerStart:()=>fa,\u0275\u0275elementEnd:()=>da,\u0275\u0275elementStart:()=>ua,\u0275\u0275enableBindings:()=>Sr,\u0275\u0275getCurrentView:()=>Nh,\u0275\u0275getInheritedFactory:()=>id,\u0275\u0275hostProperty:()=>Gc,\u0275\u0275i18n:()=>Kp,\u0275\u0275i18nApply:()=>Yp,\u0275\u0275i18nAttributes:()=>Qp,\u0275\u0275i18nEnd:()=>Xc,\u0275\u0275i18nExp:()=>qc,\u0275\u0275i18nPostprocess:()=>Zp,\u0275\u0275i18nStart:()=>Jc,\u0275\u0275inject:()=>si,\u0275\u0275injectAttribute:()=>ja,\u0275\u0275invalidFactory:()=>kh,\u0275\u0275invalidFactoryDep:()=>Wa,\u0275\u0275listener:()=>hc,\u0275\u0275loadQuery:()=>Hm,\u0275\u0275namespaceHTML:()=>Ui,\u0275\u0275namespaceMathML:()=>Hi,\u0275\u0275namespaceSVG:()=>ri,\u0275\u0275nextContext:()=>$h,\u0275\u0275ngDeclareClassMetadata:()=>FE,\u0275\u0275ngDeclareComponent:()=>kE,\u0275\u0275ngDeclareDirective:()=>xE,\u0275\u0275ngDeclareFactory:()=>NE,\u0275\u0275ngDeclareInjectable:()=>jE,\u0275\u0275ngDeclareInjector:()=>BE,\u0275\u0275ngDeclareNgModule:()=>VE,\u0275\u0275ngDeclarePipe:()=>$E,\u0275\u0275pipe:()=>Om,\u0275\u0275pipeBind1:()=>Im,\u0275\u0275pipeBind2:()=>Pm,\u0275\u0275pipeBind3:()=>Am,\u0275\u0275pipeBind4:()=>Rm,\u0275\u0275pipeBindV:()=>xm,\u0275\u0275projection:()=>Uh,\u0275\u0275projectionDef:()=>Hh,\u0275\u0275property:()=>lc,\u0275\u0275propertyInterpolate:()=>gc,\u0275\u0275propertyInterpolate1:()=>pa,\u0275\u0275propertyInterpolate2:()=>vc,\u0275\u0275propertyInterpolate3:()=>yc,\u0275\u0275propertyInterpolate4:()=>_c,\u0275\u0275propertyInterpolate5:()=>bc,\u0275\u0275propertyInterpolate6:()=>Cc,\u0275\u0275propertyInterpolate7:()=>Ec,\u0275\u0275propertyInterpolate8:()=>Tc,\u0275\u0275propertyInterpolateV:()=>Dc,\u0275\u0275pureFunction0:()=>hm,\u0275\u0275pureFunction1:()=>pm,\u0275\u0275pureFunction2:()=>mm,\u0275\u0275pureFunction3:()=>gm,\u0275\u0275pureFunction4:()=>vm,\u0275\u0275pureFunction5:()=>ym,\u0275\u0275pureFunction6:()=>_m,\u0275\u0275pureFunction7:()=>bm,\u0275\u0275pureFunction8:()=>Cm,\u0275\u0275pureFunctionV:()=>Em,\u0275\u0275queryRefresh:()=>Bm,\u0275\u0275reference:()=>Th,\u0275\u0275resolveBody:()=>Gd,\u0275\u0275resolveDocument:()=>Wd,\u0275\u0275resolveWindow:()=>zd,\u0275\u0275restoreView:()=>Ko,\u0275\u0275sanitizeHtml:()=>Pd,\u0275\u0275sanitizeResourceUrl:()=>tl,\u0275\u0275sanitizeScript:()=>Rd,\u0275\u0275sanitizeStyle:()=>Ad,\u0275\u0275sanitizeUrl:()=>el,\u0275\u0275sanitizeUrlOrResourceUrl:()=>kd,\u0275\u0275setComponentScope:()=>z,\u0275\u0275setNgModuleScope:()=>Ft,\u0275\u0275styleMap:()=>or,\u0275\u0275styleMapInterpolate1:()=>pp,\u0275\u0275styleMapInterpolate2:()=>mp,\u0275\u0275styleMapInterpolate3:()=>gp,\u0275\u0275styleMapInterpolate4:()=>vp,\u0275\u0275styleMapInterpolate5:()=>yp,\u0275\u0275styleMapInterpolate6:()=>_p,\u0275\u0275styleMapInterpolate7:()=>bp,\u0275\u0275styleMapInterpolate8:()=>Cp,\u0275\u0275styleMapInterpolateV:()=>Ep,\u0275\u0275styleProp:()=>wc,\u0275\u0275stylePropInterpolate1:()=>Lc,\u0275\u0275stylePropInterpolate2:()=>jc,\u0275\u0275stylePropInterpolate3:()=>Bc,\u0275\u0275stylePropInterpolate4:()=>Vc,\u0275\u0275stylePropInterpolate5:()=>$c,\u0275\u0275stylePropInterpolate6:()=>Hc,\u0275\u0275stylePropInterpolate7:()=>Uc,\u0275\u0275stylePropInterpolate8:()=>zc,\u0275\u0275stylePropInterpolateV:()=>Wc,\u0275\u0275syntheticHostListener:()=>pc,\u0275\u0275syntheticHostProperty:()=>Kc,\u0275\u0275template:()=>Ch,\u0275\u0275templateRefExtractor:()=>Gm,\u0275\u0275text:()=>rp,\u0275\u0275textInterpolate:()=>Oc,\u0275\u0275textInterpolate1:()=>ga,\u0275\u0275textInterpolate2:()=>Ic,\u0275\u0275textInterpolate3:()=>Pc,\u0275\u0275textInterpolate4:()=>Ac,\u0275\u0275textInterpolate5:()=>Rc,\u0275\u0275textInterpolate6:()=>xc,\u0275\u0275textInterpolate7:()=>Fc,\u0275\u0275textInterpolate8:()=>kc,\u0275\u0275textInterpolateV:()=>Nc,\u0275\u0275trustConstantHtml:()=>xd,\u0275\u0275trustConstantResourceUrl:()=>Fd,\u0275\u0275viewQuery:()=>Vm});var n=a(7579),h=a(727),y=a(8306),d=a(6451),r=a(3099);function l(e){for(let t in e)if(e[t]===l)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=l({__forward_ref__:l});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 P(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,i)),this.code=t}}function I(e){return"string"==typeof e?e:null==e?"":String(e)}function V(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():I(e)}function U(e,t){const i=t?` in ${t}`:"";throw new S(-201,`No provider for ${V(e)} found${i}`)}function st(e,t,i,s){throw new Error(`ASSERTION ERROR: ${e}`+(null==s?"":` [Expected=> ${i} ${s} ${t} <=Actual]`))}function qe(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const Le=qe;function Ge(e){return{providers:e.providers||[],imports:e.imports||[]}}function pt(e){return ye(e,Me)||ye(e,Ke)}function ye(e,t){return e.hasOwnProperty(t)?e[t]:null}function ne(e){return e&&(e.hasOwnProperty(Ue)||e.hasOwnProperty(Re))?e[Ue]:null}const Me=l({\u0275prov:l}),Ue=l({\u0275inj:l}),Ke=l({ngInjectableDef:l}),Re=l({ngInjectorDef:l});var L=(()=>((L=L||{})[L.Default=0]="Default",L[L.Host=1]="Host",L[L.Self=2]="Self",L[L.SkipSelf=4]="SkipSelf",L[L.Optional=8]="Optional",L))();let ve;function Je(e){const t=ve;return ve=e,t}function ot(e,t,i){const s=pt(e);return s&&"root"==s.providedIn?void 0===s.value?s.value=s.factory():s.value:i&L.Optional?null:void 0!==t?t:void U(p(e),"Injector")}function Et(e){return{toString:e}.toString()}var At=(()=>((At=At||{})[At.OnPush=0]="OnPush",At[At.Default=1]="Default",At))(),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 Te(e){return null==e||e===At.Default}var Ee=(()=>{return(e=Ee||(Ee={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Ee;var e})();const Ye="undefined"!=typeof globalThis&&globalThis,Xe="undefined"!=typeof window&&window,rt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Oe=Ye||"undefined"!=typeof global&&global||Xe||rt,Tt={},Ct=[],$t=l({\u0275cmp:l}),Mt=l({\u0275dir:l}),Ht=l({\u0275pipe:l}),fe=l({\u0275mod:l}),q=l({\u0275fac:l}),k=l({__NG_ELEMENT_ID__:l});let W=0;function Y(e){return Et(()=>{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===At.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||Ct,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Ee.Emulated,id:"c",styles:e.styles||Ct,_:null,setInput:null,schemas:e.schemas||null,tView:null},c=e.directives,g=e.features,C=e.pipes;return s.id+=W++,s.inputs=Ie(e.inputs,i),s.outputs=Ie(e.outputs),g&&g.forEach(w=>w(s)),s.directiveDefs=c?()=>("function"==typeof c?c():c).map(N):null,s.pipeDefs=C?()=>("function"==typeof C?C():C).map(he):null,s})}function z(e,t,i){const s=e.\u0275cmp;s.directiveDefs=()=>t.map(N),s.pipeDefs=()=>i.map(he)}function N(e){return ke(e)||ct(e)}function he(e){return xt(e)}const je={};function ft(e){return Et(()=>{const t={type:e.type,bootstrap:e.bootstrap||Ct,declarations:e.declarations||Ct,imports:e.imports||Ct,exports:e.exports||Ct,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(je[e.id]=e.type),t})}function Ft(e,t){return Et(()=>{const i=jt(e,!0);i.declarations=t.declarations||Ct,i.imports=t.imports||Ct,i.exports=t.exports||Ct})}function Ie(e,t){if(null==e)return Tt;const i={};for(const s in e)if(e.hasOwnProperty(s)){let c=e[s],g=c;Array.isArray(c)&&(g=c[1],c=c[0]),i[c]=s,t&&(t[c]=g)}return i}const Ae=Y;function ge(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function ke(e){return e[$t]||null}function ct(e){return e[Mt]||null}function xt(e){return e[Ht]||null}function jt(e,t){const i=e[fe]||null;if(!i&&!0===t)throw new Error(`Type ${p(e)} does not have '\u0275mod' property.`);return i}function Mn(e){return Array.isArray(e)&&"object"==typeof e[1]}function jn(e){return Array.isArray(e)&&!0===e[1]}function pi(e){return 0!=(8&e.flags)}function ai(e){return 2==(2&e.flags)}function mi(e){return 1==(1&e.flags)}function Kn(e){return null!==e.template}function ki(e){return 0!=(512&e[2])}function Zn(e,t){return e.hasOwnProperty(q)?e[q]:null}class ji{constructor(t,i,s){this.previousValue=t,this.currentValue=i,this.firstChange=s}isFirstChange(){return this.firstChange}}function Ci(){return Oi}function Oi(e){return e.type.prototype.ngOnChanges&&(e.setInput=Lr),hr}function hr(){const e=Ei(this),t=null==e?void 0:e.current;if(t){const i=e.previous;if(i===Tt)e.previous=t;else for(let s in t)i[s]=t[s];e.current=null,this.ngOnChanges(t)}}function Lr(e,t,i,s){const c=Ei(e)||function Ji(e,t){return e[Ii]=t}(e,{previous:Tt,current:null}),g=c.current||(c.current={}),C=c.previous,w=this.declaredInputs[i],O=C[w];g[w]=new ji(O&&O.currentValue,t,C===Tt),e[s]=t}Ci.ngInherit=!0;const Ii="__ngSimpleChanges__";function Ei(e){return e[Ii]||null}let Bi=null;const Xi=e=>{Bi=e},Pn=function(e,t,i){null!=Bi&&Bi(e,t,i)},Vn="math";let ni;function Wn(e){ni=e}function Jn(){return void 0!==ni?ni:"undefined"!=typeof document?document:void 0}function Tn(e){return!!e.listen}const F={createRenderer:(e,t)=>Jn()};function x(e){for(;Array.isArray(e);)e=e[0];return e}function ut(e,t){return x(t[e])}function yt(e,t){return x(t[e.index])}function Cn(e,t){return e.data[t]}function cn(e,t){return e[t]}function rn(e,t){const i=t[e];return Mn(i)?i:i[0]}function sn(e){return 4==(4&e[2])}function xn(e){return 128==(128&e[2])}function On(e,t){return null==t?null:e[t]}function B(e){e[18]=0}function R(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 M={lFrame:Kt(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function li(){return M.bindingsEnabled}function Sr(){M.bindingsEnabled=!0}function Or(){M.bindingsEnabled=!1}function bt(){return M.lFrame.lView}function un(){return M.lFrame.tView}function Ko(e){return M.lFrame.contextLView=e,e[8]}function $n(){let e=Qo();for(;null!==e&&64===e.type;)e=e.parent;return e}function Qo(){return M.lFrame.currentTNode}function Wr(){const e=M.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function $i(e,t){const i=M.lFrame;i.currentTNode=e,i.isParent=t}function oo(){return M.lFrame.isParent}function Yo(){M.lFrame.isParent=!1}function Gr(){return M.isInCheckNoChangesMode}function Kr(e){M.isInCheckNoChangesMode=e}function ii(){const e=M.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function er(){return M.lFrame.bindingIndex}function Rs(e){return M.lFrame.bindingIndex=e}function K(){return M.lFrame.bindingIndex++}function E(e){const t=M.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function A(e){M.lFrame.inI18n=e}function ee(e,t){const i=M.lFrame;i.bindingIndex=i.bindingRootIndex=e,Ne(t)}function Ne(e){M.lFrame.currentDirectiveIndex=e}function Be(e){const t=M.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function nt(){return M.lFrame.currentQueryIndex}function vt(e){M.lFrame.currentQueryIndex=e}function kt(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function zt(e,t,i){if(i&L.SkipSelf){let c=t,g=e;for(;!(c=c.parent,null!==c||i&L.Host||(c=kt(g),null===c||(g=g[15],10&c.type))););if(null===c)return!1;t=c,e=g}const s=M.lFrame=an();return s.currentTNode=t,s.lView=e,!0}function Jt(e){const t=an(),i=e[1];M.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=M.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 tn(){const e=M.lFrame;return M.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const En=tn;function Fn(){const e=tn();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 vn(){return M.lFrame.selectedIndex}function gi(e){M.lFrame.selectedIndex=e}function yn(){const e=M.lFrame;return Cn(e.tView,e.selectedIndex)}function ri(){M.lFrame.currentNamespace="svg"}function Hi(){M.lFrame.currentNamespace=Vn}function Ui(){!function tr(){M.lFrame.currentNamespace=null}()}function zi(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:H,ngOnDestroy:te}=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),H&&((e.viewHooks||(e.viewHooks=[])).push(i,H),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(i,H)),null!=te&&(e.destroyHooks||(e.destroyHooks=[])).push(i,te)}}function Yr(e,t,i){Wt(e,t,3,i)}function Zr(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 c=i[s]<0,g=i[s+1],w=e[c?-i[s]:i[s]];if(c){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048,Pn(4,w,g);try{g.call(w)}finally{Pn(5,w,g)}}}else{Pn(4,w,g);try{g.call(w)}finally{Pn(5,w,g)}}}class kn{constructor(t,i,s){this.factory=t,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=s}}function Ai(e,t,i){const s=Tn(e);let c=0;for(;c<i.length;){const g=i[c];if("number"==typeof g){if(0!==g)break;c++;const C=i[c++],w=i[c++],O=i[c++];s?e.setAttribute(t,w,O,C):t.setAttributeNS(C,w,O)}else{const C=g,w=i[++c];Jr(C)?s&&e.setProperty(t,C,w):s?e.setAttribute(t,C,w):t.setAttribute(C,w),c++}}return c}function pr(e){return 3===e||4===e||6===e}function Jr(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 c=t[s];"number"==typeof c?i=c:0===i||Ku(e,i,c,null,-1===i||2===i?t[++s]:null)}}return e}function Ku(e,t,i,s,c){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!==c&&(e[g+1]=c));if(s===e[g+1])return void(e[g+2]=c)}g++,null!==s&&g++,null!==c&&g++}-1!==C&&(e.splice(C,0,t),g=C+1),e.splice(g++,0,i),null!==s&&e.splice(g++,0,s),null!==c&&e.splice(g++,0,c)}function Qu(e){return-1!==e}function so(e){return 32767&e}function ao(e,t){let i=function Yg(e){return e>>16}(e),s=t;for(;i>0;)s=s[15],i--;return s}let Fa=!0;function Ns(e){const t=Fa;return Fa=e,t}let Zg=0;function Jo(e,t){const i=Na(e,t);if(-1!==i)return i;const s=t[1];s.firstCreatePass&&(e.injectorIndex=t.length,ka(s.data,e),ka(t,null),ka(s.blueprint,null));const c=Ls(e,t),g=e.injectorIndex;if(Qu(c)){const C=so(c),w=ao(c,t),O=w[1].data;for(let H=0;H<8;H++)t[g+H]=w[C+H]|O[C+H]}return t[g+8]=c,g}function ka(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Na(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,c=t;for(;null!==c;){const g=c[1],C=g.type;if(s=2===C?g.declTNode:1===C?c[6]:null,null===s)return-1;if(i++,c=c[15],-1!==s.injectorIndex)return s.injectorIndex|i<<16}return-1}function js(e,t,i){!function Jg(e,t,i){let s;"string"==typeof i?s=i.charCodeAt(0)||0:i.hasOwnProperty(k)&&(s=i[k]),null==s&&(s=i[k]=Zg++);const c=255&s;t.data[e+(c>>5)]|=1<<c}(e,t,i)}function Ju(e,t,i){if(i&L.Optional)return e;U(t,"NodeInjector")}function Xu(e,t,i,s){if(i&L.Optional&&void 0===s&&(s=null),0==(i&(L.Self|L.Host))){const c=e[9],g=Je(void 0);try{return c?c.get(t,s,i&L.Optional):ot(t,s,i&L.Optional)}finally{Je(g)}}return Ju(s,t,i)}function qu(e,t,i,s=L.Default,c){if(null!==e){const g=function tv(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(k)?e[k]:void 0;return"number"==typeof t?t>=0?255&t:qg:t}(i);if("function"==typeof g){if(!zt(t,e,s))return s&L.Host?Ju(c,i,s):Xu(t,i,s,c);try{const C=g(s);if(null!=C||s&L.Optional)return C;U(i)}finally{En()}}else if("number"==typeof g){let C=null,w=Na(e,t),O=-1,H=s&L.Host?t[16][6]:null;for((-1===w||s&L.SkipSelf)&&(O=-1===w?Ls(e,t):t[w+8],-1!==O&&nd(s,!1)?(C=t[1],w=so(O),t=ao(O,t)):w=-1);-1!==w;){const te=t[1];if(td(g,w,te.data)){const Ce=ev(w,t,i,C,s,H);if(Ce!==ed)return Ce}O=t[w+8],-1!==O&&nd(s,t[1].data[w+8]===H)&&td(g,w,t)?(C=te,w=so(O),t=ao(O,t)):w=-1}}}return Xu(t,i,s,c)}const ed={};function qg(){return new lo($n(),bt())}function ev(e,t,i,s,c,g){const C=t[1],w=C.data[e+8],te=Bs(w,C,i,null==s?ai(w)&&Fa:s!=C&&0!=(3&w.type),c&L.Host&&g===w);return null!==te?Xo(t,C,te,w):ed}function Bs(e,t,i,s,c){const g=e.providerIndexes,C=t.data,w=1048575&g,O=e.directiveStart,te=g>>20,Ve=c?w+te:e.directiveEnd;for(let tt=s?w:w+te;tt<Ve;tt++){const gt=C[tt];if(tt<O&&i===gt||tt>=O&>.type===i)return tt}if(c){const tt=C[O];if(tt&&Kn(tt)&&tt.type===i)return O}return null}function Xo(e,t,i,s){let c=e[i];const g=t.data;if(function Wi(e){return e instanceof kn}(c)){const C=c;C.resolving&&function J(e,t){const i=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new S(-200,`Circular dependency in DI detected for ${e}${i}`)}(V(g[i]));const w=Ns(C.canSeeViewProviders);C.resolving=!0;const O=C.injectImpl?Je(C.injectImpl):null;zt(e,s,L.Default);try{c=e[i]=C.factory(void 0,g,e,s),t.firstCreatePass&&i>=s.directiveStart&&function Qr(e,t,i){const{ngOnChanges:s,ngOnInit:c,ngDoCheck:g}=t.type.prototype;if(s){const C=Oi(t);(i.preOrderHooks||(i.preOrderHooks=[])).push(e,C),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(e,C)}c&&(i.preOrderHooks||(i.preOrderHooks=[])).push(0-e,c),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,En()}}return c}function td(e,t,i){return!!(i[t+(e>>5)]&1<<e)}function nd(e,t){return!(e&L.Self||e&L.Host&&t)}class lo{constructor(t,i){this._tNode=t,this._lView=i}get(t,i,s){return qu(this._tNode,this._lView,t,s,i)}}function id(e){return Et(()=>{const t=e.prototype.constructor,i=t[q]||La(t),s=Object.prototype;let c=Object.getPrototypeOf(e.prototype).constructor;for(;c&&c!==s;){const g=c[q]||La(c);if(g&&g!==i)return g;c=Object.getPrototypeOf(c)}return g=>new g})}function La(e){return b(e)?()=>{const t=La(v(e));return t&&t()}:Zn(e)}function ja(e){return function Xg(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 c=0;for(;c<s;){const g=i[c];if(pr(g))break;if(0===g)c+=2;else if("number"==typeof g)for(c++;c<s&&"string"==typeof i[c];)c++;else{if(g===t)return i[c+1];c+=2}}}return null}($n(),e)}const co="__annotations__",uo="__parameters__",fo="__prop__metadata__";function ho(e,t,i,s,c){return Et(()=>{const g=Ba(t);function C(...w){if(this instanceof C)return g.call(this,...w),this;const O=new C(...w);return function(te){return c&&c(te,...w),(te.hasOwnProperty(co)?te[co]:Object.defineProperty(te,co,{value:[]})[co]).push(O),s&&s(te),te}}return i&&(C.prototype=Object.create(i.prototype)),C.prototype.ngMetadataName=e,C.annotationCls=C,C})}function Ba(e){return function(...i){if(e){const s=e(...i);for(const c in s)this[c]=s[c]}}}function po(e,t,i){return Et(()=>{const s=Ba(t);function c(...g){if(this instanceof c)return s.apply(this,g),this;const C=new c(...g);return w.annotation=C,w;function w(O,H,te){const Ce=O.hasOwnProperty(uo)?O[uo]:Object.defineProperty(O,uo,{value:[]})[uo];for(;Ce.length<=te;)Ce.push(null);return(Ce[te]=Ce[te]||[]).push(C),O}}return i&&(c.prototype=Object.create(i.prototype)),c.prototype.ngMetadataName=e,c.annotationCls=c,c})}function Vr(e,t,i,s){return Et(()=>{const c=Ba(t);function g(...C){if(this instanceof g)return c.apply(this,C),this;const w=new g(...C);return function O(H,te){const Ce=H.constructor,Ve=Ce.hasOwnProperty(fo)?Ce[fo]:Object.defineProperty(Ce,fo,{value:{}})[fo];Ve[te]=Ve.hasOwnProperty(te)&&Ve[te]||[],Ve[te].unshift(w),s&&s(H,te,...C)}}return i&&(g.prototype=Object.create(i.prototype)),g.prototype.ngMetadataName=e,g.annotationCls=g,g})}const rd=po("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>ja(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=qe({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}toString(){return`InjectionToken ${this._desc}`}}const nv=new Hn("AnalyzeForEntryComponents");class qo{}const iv=Vr("ContentChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0},t),qo),rv=Vr("ContentChild",(e,t={})=>Object.assign({selector:e,first:!0,isViewQuery:!1,descendants:!0},t),qo),ov=Vr("ViewChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0},t),qo),sv=Vr("ViewChild",(e,t)=>Object.assign({selector:e,first:!0,isViewQuery:!0,descendants:!0},t),qo);var Xn=(()=>((Xn=Xn||{})[Xn.Directive=0]="Directive",Xn[Xn.Component=1]="Component",Xn[Xn.Injectable=2]="Injectable",Xn[Xn.Pipe=3]="Pipe",Xn[Xn.NgModule=4]="NgModule",Xn))();function qn(e){const t=Oe.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const Vs=Function;function es(e){return"function"==typeof e}function Gi(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)),Gi(s,t)):t!==e&&t.push(s)}return t}function mr(e,t){e.forEach(i=>Array.isArray(i)?mr(i,t):t(i))}function sd(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 ts(e,t){const i=[];for(let s=0;s<e;s++)i.push(t);return i}function Ri(e,t,i){let s=mo(e,t);return s>=0?e[1|s]=i:(s=~s,function cv(e,t,i,s){let c=e.length;if(c==t)e.push(i,s);else if(1===c)e.push(s,e[0]),e[0]=i;else{for(c--,e.push(e[c-1],e[c]);c>t;)e[c]=e[c-2],c--;e[t]=i,e[t+1]=s}}(e,s,t,i)),s}function Va(e,t){const i=mo(e,t);if(i>=0)return e[1|i]}function mo(e,t){return function cd(e,t,i){let s=0,c=e.length>>i;for(;c!==s;){const g=s+(c-s>>1),C=e[g<<i];if(t===C)return g<<i;C>t?c=g:s=g+1}return~(c<<i)}(e,t,1)}const uv=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,dv=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,fv=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,hv=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class $a{constructor(t){this._reflect=t||Oe.Reflect}isReflectionEnabled(){return!0}factory(t){return(...i)=>new t(...i)}_zipTypesAndAnnotations(t,i){let s;s=ts(void 0===t?i.length:t.length);for(let c=0;c<s.length;c++)s[c]=void 0===t?[]:t[c]&&t[c]!=Object?[t[c]]:[],i&&null!=i[c]&&(s[c]=s[c].concat(i[c]));return s}_ownParameters(t,i){if(function pv(e){return uv.test(e)||hv.test(e)||dv.test(e)&&!fv.test(e)}(t.toString()))return null;if(t.parameters&&t.parameters!==i.parameters)return t.parameters;const c=t.ctorParameters;if(c&&c!==i.ctorParameters){const w="function"==typeof c?c():c,O=w.map(te=>te&&te.type),H=w.map(te=>te&&Ha(te.decorators));return this._zipTypesAndAnnotations(O,H)}const g=t.hasOwnProperty(uo)&&t[uo],C=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return C||g?this._zipTypesAndAnnotations(C,g):ts(t.length)}parameters(t){if(!es(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?Ha(t.decorators):t.hasOwnProperty(co)?t[co]:null}annotations(t){if(!es(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,c={};return Object.keys(s).forEach(g=>{c[g]=Ha(s[g])}),c}return t.hasOwnProperty(fo)?t[fo]:null}propMetadata(t){if(!es(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 c=this._ownPropMetadata(t,i);return c&&Object.keys(c).forEach(g=>{const C=[];s.hasOwnProperty(g)&&C.push(...s[g]),C.push(...c[g]),s[g]=C}),s}ownPropMetadata(t){return es(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,c){return c}resolveEnum(t,i){return t[i]}}function Ha(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={},Ua="__NG_DI_FLAG__",Us="ngTempTokenPath",gv=/\n/gm,ud="__source",yv=l({provide:String,useValue:l});let ns;function za(e){const t=ns;return ns=e,t}function _v(e,t=L.Default){if(void 0===ns)throw new S(203,"");return null===ns?ot(e,void 0,t):ns.get(e,t&L.Optional?null:void 0,t)}function si(e,t=L.Default){return(function Fe(){return ve}()||_v)(v(e),t)}function Wa(e){throw new Error("invalid")}const dd=si;function Ga(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 c,g=L.Default;for(let C=0;C<s.length;C++){const w=s[C],O=bv(w);"number"==typeof O?-1===O?c=w.token:g|=O:c=w}t.push(si(c,g))}else t.push(si(s))}return t}function is(e,t){return e[Ua]=t,e.prototype[Ua]=t,e}function bv(e){return e[Ua]}const zs=is(po("Inject",e=>({token:e})),-1),rs=is(po("Optional"),8),Ws=is(po("Self"),2),go=is(po("SkipSelf"),4),fd=is(po("Host"),1);let hd=null;function Ka(){return hd=hd||new $a}function Gs(e){return pd(Ka().parameters(e))}function pd(e){return e.map(t=>function Tv(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 c=Object.getPrototypeOf(s);if(s instanceof rs||"Optional"===c.ngMetadataName)t.optional=!0;else if(s instanceof go||"SkipSelf"===c.ngMetadataName)t.skipSelf=!0;else if(s instanceof Ws||"Self"===c.ngMetadataName)t.self=!0;else if(s instanceof fd||"Host"===c.ngMetadataName)t.host=!0;else if(s instanceof zs)t.token=s.token;else if(s instanceof rd){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 md(e){const t=[],i=new Map;function s(c){let g=i.get(c);if(!g){const C=e(c);i.set(c,g=C.then(Mv))}return g}return vo.forEach((c,g)=>{const C=[];c.templateUrl&&C.push(s(c.templateUrl).then(Ce=>{c.template=Ce}));const w=c.styleUrls,O=c.styles||(c.styles=[]),H=c.styles.length;w&&w.forEach((Ce,Ve)=>{O.push(""),C.push(s(Ce).then(tt=>{O[H+Ve]=tt,w.splice(w.indexOf(Ce),1),0==w.length&&(c.styleUrls=void 0)}))});const te=Promise.all(C).then(()=>function Sv(e){os.delete(e)}(g));t.push(te)}),vd(),Promise.all(t).then(()=>{})}let vo=new Map;const os=new Set;function gd(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length)}function vd(){const e=vo;return vo=new Map,e}function Mv(e){return"string"==typeof e?e:e.text()}let Ks,Qs;function Qa(){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 yo(e){var t;return(null===(t=Qa())||void 0===t?void 0:t.createHTML(e))||e}function Ya(){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 yd(e){var t;return(null===(t=Ya())||void 0===t?void 0:t.createHTML(e))||e}function _d(e){var t;return(null===(t=Ya())||void 0===t?void 0:t.createScript(e))||e}function bd(e){var t;return(null===(t=Ya())||void 0===t?void 0:t.createScriptURL(e))||e}class Xr{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Pv extends Xr{getTypeName(){return"HTML"}}class Av extends Xr{getTypeName(){return"Style"}}class Rv extends Xr{getTypeName(){return"Script"}}class xv extends Xr{getTypeName(){return"URL"}}class Fv extends Xr{getTypeName(){return"ResourceURL"}}function Ir(e){return e instanceof Xr?e.changingThisBreaksApplicationSecurity:e}function _o(e,t){const i=Cd(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 Cd(e){return e instanceof Xr&&e.getTypeName()||null}function kv(e){return new Pv(e)}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 Ed(e){const t=new $v(e);return function Hv(){try{return!!(new window.DOMParser).parseFromString(yo(""),"text/html")}catch(e){return!1}}()?new Vv(t):t}class Vv{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const i=(new window.DOMParser).parseFromString(yo(t),"text/html").body;return null===i?this.inertDocumentHelper.getInertBodyElement(t):(i.removeChild(i.firstChild),i)}catch(i){return null}}}class $v{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=yo(t),i;const s=this.inertDocument.createElement("body");return s.innerHTML=yo(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(s),s}stripCustomNsAttrs(t){const i=t.attributes;for(let c=i.length-1;0<c;c--){const C=i.item(c).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 Uv=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,zv=/^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 ss(e){return(e=String(e)).match(Uv)||e.match(zv)?e:"unsafe:"+e}function Td(e){return(e=String(e)).split(",").map(t=>ss(t.trim())).join(", ")}function gr(e){const t={};for(const i of e.split(","))t[i]=!0;return t}function as(...e){const t={};for(const i of e)for(const s in i)i.hasOwnProperty(s)&&(t[s]=!0);return t}const Dd=gr("area,br,col,hr,img,wbr"),wd=gr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Md=gr("rp,rt"),Za=as(Dd,as(wd,gr("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")),as(Md,gr("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")),as(Md,wd)),Ja=gr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Xa=gr("srcset"),Sd=as(Ja,Xa,gr("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"),gr("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")),Wv=gr("script,style,template");class Gv{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 c=this.checkClobberedElement(i,i.nextSibling);if(c){i=c;break}i=this.checkClobberedElement(i,i.parentNode)}return this.buf.join("")}startElement(t){const i=t.nodeName.toLowerCase();if(!Za.hasOwnProperty(i))return this.sanitizedSomething=!0,!Wv.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);const s=t.attributes;for(let c=0;c<s.length;c++){const g=s.item(c),C=g.name,w=C.toLowerCase();if(!Sd.hasOwnProperty(w)){this.sanitizedSomething=!0;continue}let O=g.value;Ja[w]&&(O=ss(O)),Xa[w]&&(O=Td(O)),this.buf.push(" ",C,'="',Od(O),'"')}return this.buf.push(">"),!0}endElement(t){const i=t.nodeName.toLowerCase();Za.hasOwnProperty(i)&&!Dd.hasOwnProperty(i)&&(this.buf.push("</"),this.buf.push(i),this.buf.push(">"))}chars(t){this.buf.push(Od(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 Kv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Qv=/([^\#-~ |!])/g;function Od(e){return e.replace(/&/g,"&").replace(Kv,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Qv,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let Ys;function Id(e,t){let i=null;try{Ys=Ys||Ed(e);let s=t?String(t):"";i=Ys.getInertBodyElement(s);let c=5,g=s;do{if(0===c)throw new Error("Failed to sanitize html because the input is unstable");c--,s=g,g=i.innerHTML,i=Ys.getInertBodyElement(s)}while(s!==g);return yo((new Gv).sanitizeChildren(qa(i)||i))}finally{if(i){const s=qa(i)||i;for(;s.firstChild;)s.removeChild(s.firstChild)}}}function qa(e){return"content"in e&&function Yv(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Gn=(()=>((Gn=Gn||{})[Gn.NONE=0]="NONE",Gn[Gn.HTML=1]="HTML",Gn[Gn.STYLE=2]="STYLE",Gn[Gn.SCRIPT=3]="SCRIPT",Gn[Gn.URL=4]="URL",Gn[Gn.RESOURCE_URL=5]="RESOURCE_URL",Gn))();function Pd(e){const t=ls();return t?yd(t.sanitize(Gn.HTML,e)||""):_o(e,"HTML")?yd(Ir(e)):Id(Jn(),I(e))}function Ad(e){const t=ls();return t?t.sanitize(Gn.STYLE,e)||"":_o(e,"Style")?Ir(e):I(e)}function el(e){const t=ls();return t?t.sanitize(Gn.URL,e)||"":_o(e,"URL")?Ir(e):ss(I(e))}function tl(e){const t=ls();if(t)return bd(t.sanitize(Gn.RESOURCE_URL,e)||"");if(_o(e,"ResourceURL"))return bd(Ir(e));throw new S(904,"")}function Rd(e){const t=ls();if(t)return _d(t.sanitize(Gn.SCRIPT,e)||"");if(_o(e,"Script"))return _d(Ir(e));throw new S(905,"")}function xd(e){return yo(e[0])}function Fd(e){return function Iv(e){var t;return(null===(t=Qa())||void 0===t?void 0:t.createScriptURL(e))||e}(e[0])}function kd(e,t,i){return function Zv(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?tl:el}(t,i)(e)}function ls(){const e=bt();return e&&e[12]}function ui(e){let t=cs(e);if(t){if(Array.isArray(t)){const i=t;let s,c,g;if(function Jv(e){return e&&e.constructor&&e.constructor.\u0275cmp}(e)){if(s=Bd(i,e),-1==s)throw new Error("The provided component was not found in the application");c=e}else if(function Xv(e){return e&&e.constructor&&e.constructor.\u0275dir}(e)){if(s=function ey(e,t){let i=e[1].firstChild;for(;i;){const c=i.directiveEnd;for(let g=i.directiveStart;g<c;g++)if(e[g]===t)return i.index;i=qv(i)}return-1}(i,e),-1==s)throw new Error("The provided directive was not found in the application");g=Vd(s,i,!1)}else if(s=jd(i,e),-1==s)return null;const C=x(i[s]),w=cs(C),O=w&&!Array.isArray(w)?w:nl(i,s,C);if(c&&void 0===O.component&&(O.component=c,di(O.component,O)),g&&void 0===O.directives){O.directives=g;for(let H=0;H<g.length;H++)di(g[H],O)}di(O.native,O),t=O}}else{const i=e;let s=i;for(;s=s.parentNode;){const c=cs(s);if(c){let g;if(g=Array.isArray(c)?c:c.lView,!g)return null;const C=jd(g,i);if(C>=0){const w=x(g[C]),O=nl(g,C,w);di(w,O),t=O;break}}}}return t||null}function nl(e,t,i){return{lView:e,nodeIndex:t,native:i,component:void 0,directives:void 0,localRefs:void 0}}function Nd(e){let i,t=cs(e);if(Array.isArray(t)){const s=Bd(t,e);i=rn(s,t);const c=nl(t,s,i[0]);c.component=e,di(e,c),di(c.native,c)}else i=rn(t.nodeIndex,t.lView);return i}const Ld="__ngContext__";function di(e,t){e[Ld]=t}function cs(e){return e[Ld]||null}function il(e){const t=cs(e);return t?Array.isArray(t)?t:t.lView:null}function jd(e,t){const i=e[1];for(let s=20;s<i.bindingStartIndex;s++)if(x(e[s])===t)return s;return-1}function qv(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 Bd(e,t){const i=e[1].components;if(i)for(let s=0;s<i.length;s++){const c=i[s];if(rn(c,e)[8]===t)return c}else if(rn(20,e)[8]===t)return 20;return-1}function Vd(e,t,i){const s=t[1].data[e];let c=s.directiveStart;return 0==c?Ct:(!i&&2&s.flags&&c++,t.slice(c,s.directiveEnd))}const rl="ngOriginalError";function ol(e){return e[rl]}function sy(e,...t){e.error(...t)}class Zs{constructor(){this._console=console}handleError(t){const i=this._findOriginalError(t),s=function oy(e){return e&&e.ngErrorLogger||sy}(t);s(this._console,"ERROR",t),i&&s(this._console,"ORIGINAL ERROR",i)}_findOriginalError(t){let i=t&&ol(t);for(;i&&ol(i);)i=ol(i);return i||null}}const $d={name:"custom-elements"},Hd={name:"no-errors-schema"},ay=/^>|^->|<!--|-->|--!>|<!-$/g,ly=/(<|>)/;const py=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Oe))();function zd(e){return e.ownerDocument.defaultView}function Wd(e){return e.ownerDocument}function Gd(e){return e.ownerDocument.body}function vr(e){return e instanceof Function?e():e}var yr=(()=>((yr=yr||{})[yr.Important=1]="Important",yr[yr.DashCase=2]="DashCase",yr))();let sl;function al(e,t){return sl(e,t)}function us(e){const t=e[3];return jn(t)?t[3]:t}function Zd(e){return function Yd(e){let t=Mn(e)?e:il(e);for(;t&&!(512&t[2]);)t=us(t);return t}(e)[8]}function ll(e){return Jd(e[13])}function cl(e){return Jd(e[4])}function Jd(e){for(;null!==e&&!jn(e);)e=e[4];return e}function Co(e,t,i,s,c){if(null!=s){let g,C=!1;jn(s)?g=s:Mn(s)&&(C=!0,s=s[0]);const w=x(s);0===e&&null!==i?null==c?rf(t,i,w):qr(t,i,w,c||null,!0):1===e&&null!==i?qr(t,i,w,c||null,!0):2===e?ff(t,w,C):3===e&&t.destroyNode(w),null!=g&&function Oy(e,t,i,s,c){const g=i[7];g!==x(i)&&Co(t,e,s,g,c);for(let w=10;w<i.length;w++){const O=i[w];ds(O[1],O,e,t,s,g)}}(t,e,g,i,c)}}function ul(e,t){return Tn(e)?e.createText(t):e.createTextNode(t)}function Xd(e,t,i){Tn(e)?e.setValue(t,i):t.textContent=i}function gy(e,t){return e.createComment(function Ud(e){return e.replace(ay,t=>t.replace(ly,"\u200b$1\u200b"))}(t))}function dl(e,t,i){if(Tn(e))return e.createElement(t,i);{const s=null!==i?function ti(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":t===Vn?"http://www.w3.org/1998/MathML/":null}(i):null;return null===s?e.createElement(t):e.createElementNS(s,t)}}function qd(e,t){const i=e[9],s=i.indexOf(t),c=t[3];1024&t[2]&&(t[2]&=-1025,R(c,-1)),i.splice(s,1)}function fl(e,t){if(e.length<=10)return;const i=10+t,s=e[i];if(s){const c=s[17];null!==c&&c!==e&&qd(c,s),t>0&&(e[i-1][4]=s[4]);const g=$s(e,10+t);!function vy(e,t){ds(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 ef(e,t){if(!(256&t[2])){const i=t[11];Tn(i)&&i.destroyNode&&ds(e,t,i,3,null,null),function by(e){let t=e[13];if(!t)return hl(e[1],e);for(;t;){let i=null;if(Mn(t))i=t[13];else{const s=t[10];s&&(i=s)}if(!i){for(;t&&!t[4]&&t!==e;)Mn(t)&&hl(t[1],t),t=t[3];null===t&&(t=e),Mn(t)&&hl(t[1],t),i=t&&t[4]}t=i}}(t)}}function hl(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function Dy(e,t){let i;if(null!=e&&null!=(i=e.destroyHooks))for(let s=0;s<i.length;s+=2){const c=t[i[s]];if(!(c instanceof kn)){const g=i[s+1];if(Array.isArray(g))for(let C=0;C<g.length;C+=2){const w=c[g[C]],O=g[C+1];Pn(4,w,O);try{O.call(w)}finally{Pn(5,w,O)}}else{Pn(4,c,g);try{g.call(c)}finally{Pn(5,c,g)}}}}}(e,t),function Ty(e,t){const i=e.cleanup,s=t[7];let c=-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):x(t[C]),O=s[c=i[g+2]],H=i[g+3];"boolean"==typeof H?w.removeEventListener(i[g],O,H):H>=0?s[c=H]():s[c=-H].unsubscribe(),g+=2}else{const C=s[c=i[g+1]];i[g].call(C)}if(null!==s){for(let g=c+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&&jn(t[3])){i!==t[3]&&qd(i,t);const s=t[19];null!==s&&s.detachView(e)}}}function tf(e,t,i){return nf(e,t.parent,i)}function nf(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 c=e.data[s.directiveStart].encapsulation;if(c===Ee.None||c===Ee.Emulated)return null}return yt(s,i)}function qr(e,t,i,s,c){Tn(e)?e.insertBefore(t,i,s,c):t.insertBefore(i,s,c)}function rf(e,t,i){Tn(e)?e.appendChild(t,i):t.appendChild(i)}function sf(e,t,i,s,c){null!==s?qr(e,t,i,s,c):rf(e,t,i)}function Js(e,t){return Tn(e)?e.parentNode(t):t.parentNode}function af(e,t,i){return cf(e,t,i)}function lf(e,t,i){return 40&e.type?yt(e,i):null}let pl,cf=lf;function uf(e,t){cf=e,pl=t}function Xs(e,t,i,s){const c=tf(e,s,t),g=t[11],w=af(s.parent||t[6],s,t);if(null!=c)if(Array.isArray(i))for(let O=0;O<i.length;O++)sf(g,c,i[O],w,!1);else sf(g,c,i,w,!1);void 0!==pl&&pl(g,s,t,i,c)}function qs(e,t){if(null!==t){const i=t.type;if(3&i)return yt(t,e);if(4&i)return ml(-1,e[t.index]);if(8&i){const s=t.child;if(null!==s)return qs(e,s);{const c=e[t.index];return jn(c)?ml(-1,c):x(c)}}if(32&i)return al(t,e)()||x(e[t.index]);{const s=df(e,t);return null!==s?Array.isArray(s)?s[0]:qs(us(e[16]),s):qs(e,t.next)}}return null}function df(e,t){return null!==t?e[16][6].projection[t.projection]:null}function ml(e,t){const i=10+e+1;if(i<t.length){const s=t[i],c=s[1].firstChild;if(null!==c)return qs(s,c)}return t[7]}function ff(e,t,i){const s=Js(e,t);s&&function wy(e,t,i,s){Tn(e)?e.removeChild(t,i,s):t.removeChild(i)}(e,s,t,i)}function gl(e,t,i,s,c,g,C){for(;null!=i;){const w=s[i.index],O=i.type;if(C&&0===t&&(w&&di(x(w),s),i.flags|=4),64!=(64&i.flags))if(8&O)gl(e,t,i.child,s,c,g,!1),Co(t,e,c,w,g);else if(32&O){const H=al(i,s);let te;for(;te=H();)Co(t,e,c,te,g);Co(t,e,c,w,g)}else 16&O?hf(e,t,s,i,c,g):Co(t,e,c,w,g);i=C?i.projectionNext:i.next}}function ds(e,t,i,s,c,g){gl(i,s,e.firstChild,t,c,g,!1)}function hf(e,t,i,s,c,g){const C=i[16],O=C[6].projection[s.projection];if(Array.isArray(O))for(let H=0;H<O.length;H++)Co(t,e,c,O[H],g);else gl(e,t,O,C[3],c,g,!0)}function pf(e,t,i){Tn(e)?e.setAttribute(t,"style",i):t.style.cssText=i}function vl(e,t,i){Tn(e)?""===i?e.removeAttribute(t,"class"):e.setAttribute(t,"class",i):t.className=i}function mf(e,t,i){let s=e.length;for(;;){const c=e.indexOf(t,i);if(-1===c)return c;if(0===c||e.charCodeAt(c-1)<=32){const g=t.length;if(c+g===s||e.charCodeAt(c+g)<=32)return c}i=c+1}}const gf="ng-template";function Py(e,t,i){let s=0;for(;s<e.length;){let c=e[s++];if(i&&"class"===c){if(c=e[s],-1!==mf(c.toLowerCase(),t,0))return!0}else if(1===c){for(;s<e.length&&"string"==typeof(c=e[s++]);)if(c.toLowerCase()===t)return!0;return!1}}return!1}function vf(e){return 4===e.type&&e.value!==gf}function Ay(e,t,i){return t===(4!==e.type||i?e.value:gf)}function Ry(e,t,i){let s=4;const c=e.attrs||[],g=function ky(e){for(let t=0;t<e.length;t++)if(pr(e[t]))return t;return e.length}(c);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&&!Ay(e,O,i)||""===O&&1===t.length){if(nr(s))return!1;C=!0}}else{const H=8&s?O:t[++w];if(8&s&&null!==e.attrs){if(!Py(e.attrs,H,i)){if(nr(s))return!1;C=!0}continue}const Ce=xy(8&s?"class":O,c,vf(e),i);if(-1===Ce){if(nr(s))return!1;C=!0;continue}if(""!==H){let Ve;Ve=Ce>g?"":c[Ce+1].toLowerCase();const tt=8&s?Ve:null;if(tt&&-1!==mf(tt,H,0)||2&s&&H!==Ve){if(nr(s))return!1;C=!0}}}}else{if(!C&&!nr(s)&&!nr(O))return!1;if(C&&nr(O))continue;C=!1,s=O|1&s}}return nr(s)||C}function nr(e){return 0==(1&e)}function xy(e,t,i,s){if(null===t)return-1;let c=0;if(s||!i){let g=!1;for(;c<t.length;){const C=t[c];if(C===e)return c;if(3===C||6===C)g=!0;else{if(1===C||2===C){let w=t[++c];for(;"string"==typeof w;)w=t[++c];continue}if(4===C)break;if(0===C){c+=4;continue}}c+=g?1:2}return-1}return function Ny(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 yf(e,t,i=!1){for(let s=0;s<t.length;s++)if(Ry(e,t[s],i))return!0;return!1}function Ly(e,t){e:for(let i=0;i<t.length;i++){const s=t[i];if(e.length===s.length){for(let c=0;c<e.length;c++)if(e[c]!==s[c])continue e;return!0}}return!1}function _f(e,t){return e?":not("+t.trim()+")":t}function jy(e){let t=e[0],i=1,s=2,c="",g=!1;for(;i<e.length;){let C=e[i];if("string"==typeof C)if(2&s){const w=e[++i];c+="["+C+(w.length>0?'="'+w+'"':"")+"]"}else 8&s?c+="."+C:4&s&&(c+=" "+C);else""!==c&&!nr(C)&&(t+=_f(g,c),c=""),s=C,g=g||!nr(s);i++}return""!==c&&(t+=_f(g,c)),t}const en={};function bf(e){Cf(un(),bt(),vn()+e,Gr())}function Cf(e,t,i,s){if(!s)if(3==(3&t[2])){const g=e.preOrderCheckHooks;null!==g&&Yr(t,g,i)}else{const g=e.preOrderHooks;null!==g&&Zr(t,g,0,i)}gi(i)}function ea(e,t){return e<<17|t<<2}function ir(e){return e>>17&32767}function yl(e){return 2|e}function Pr(e){return(131068&e)>>2}function _l(e,t){return-131069&e|t<<2}function bl(e){return 1|e}const Ol=(()=>Promise.resolve(null))();function Rf(e,t){const i=e.contentQueries;if(null!==i)for(let s=0;s<i.length;s+=2){const c=i[s],g=i[s+1];if(-1!==g){const C=e.data[g];vt(c),C.contentQueries(2,t[g],g)}}}function fs(e,t,i,s,c,g,C,w,O,H){const te=t.blueprint.slice();return te[0]=c,te[2]=140|s,B(te),te[3]=te[15]=e,te[8]=i,te[10]=C||e&&e[10],te[11]=w||e&&e[11],te[12]=O||e&&e[12]||null,te[9]=H||e&&e[9]||null,te[6]=g,te[16]=2==t.type?e[16]:te,te}function Eo(e,t,i,s,c){let g=e.data[t];if(null===g)g=Il(e,t,i,s,c),function D(){return M.lFrame.inI18n}()&&(g.flags|=64);else if(64&g.type){g.type=i,g.value=s,g.attrs=c;const C=Wr();g.injectorIndex=null===C?-1:C.injectorIndex}return $i(g,!0),g}function Il(e,t,i,s,c){const g=Qo(),C=oo(),O=e.data[t]=function n_(e,t,i,s,c,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:c,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,c);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 To(e,t,i,s){if(0===i)return-1;const c=t.length;for(let g=0;g<i;g++)t.push(s),e.blueprint.push(s),e.data.push(null);return c}function hs(e,t,i){Jt(t);try{const s=e.viewQuery;null!==s&&jl(1,s,i);const c=e.template;null!==c&&xf(e,t,c,1,i),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Rf(e,t),e.staticViewQueries&&jl(2,e.viewQuery,i);const g=e.components;null!==g&&function qy(e,t){for(let i=0;i<t.length;i++)b_(e,t[i])}(t,g)}catch(s){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),s}finally{t[2]&=-5,Fn()}}function Do(e,t,i,s){const c=t[2];if(256==(256&c))return;Jt(t);const g=Gr();try{B(t),Rs(e.bindingStartIndex),null!==i&&xf(e,t,i,2,s);const C=3==(3&c);if(!g)if(C){const H=e.preOrderCheckHooks;null!==H&&Yr(t,H,null)}else{const H=e.preOrderHooks;null!==H&&Zr(t,H,0,null),Bt(t,0)}if(function y_(e){for(let t=ll(e);null!==t;t=cl(t)){if(!t[2])continue;const i=t[9];for(let s=0;s<i.length;s++){const c=i[s],g=c[3];0==(1024&c[2])&&R(g,1),c[2]|=1024}}}(t),function v_(e){for(let t=ll(e);null!==t;t=cl(t))for(let i=10;i<t.length;i++){const s=t[i],c=s[1];xn(s)&&Do(c,s,c.template,s[8])}}(t),null!==e.contentQueries&&Rf(e,t),!g)if(C){const H=e.contentCheckHooks;null!==H&&Yr(t,H)}else{const H=e.contentHooks;null!==H&&Zr(t,H,1),Bt(t,1)}!function Jy(e,t){const i=e.hostBindingOpCodes;if(null!==i)try{for(let s=0;s<i.length;s++){const c=i[s];if(c<0)gi(~c);else{const g=c,C=i[++s],w=i[++s];ee(C,g),w(2,t[g])}}}finally{gi(-1)}}(e,t);const w=e.components;null!==w&&function Xy(e,t){for(let i=0;i<t.length;i++)__(e,t[i])}(t,w);const O=e.viewQuery;if(null!==O&&jl(2,O,s),!g)if(C){const H=e.viewCheckHooks;null!==H&&Yr(t,H)}else{const H=e.viewHooks;null!==H&&Zr(t,H,2),Bt(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),g||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,R(t[3],-1))}finally{Fn()}}function e_(e,t,i,s){const c=t[10],g=!Gr(),C=sn(t);try{g&&!C&&c.begin&&c.begin(),C&&hs(e,t,s),Do(e,t,i,s)}finally{g&&!C&&c.end&&c.end()}}function xf(e,t,i,s,c){const g=vn(),C=2&s;try{gi(-1),C&&t.length>20&&Cf(e,t,20,Gr()),Pn(C?2:0,c),i(s,c)}finally{gi(g),Pn(C?3:1,c)}}function Ff(e,t,i){if(pi(t)){const c=t.directiveEnd;for(let g=t.directiveStart;g<c;g++){const C=e.data[g];C.contentQueries&&C.contentQueries(1,i[g],g)}}}function Pl(e,t,i){!li()||(function c_(e,t,i,s){const c=i.directiveStart,g=i.directiveEnd;e.firstCreatePass||Jo(i,t),di(s,t);const C=i.initialInputs;for(let w=c;w<g;w++){const O=e.data[w],H=Kn(O);H&&p_(t,i,O);const te=Xo(t,e,w,i);di(te,t),null!==C&&m_(0,w-c,te,O,0,C),H&&(rn(i.index,t)[8]=te)}}(e,t,i,yt(i,t)),128==(128&i.flags)&&function u_(e,t,i){const s=i.directiveStart,c=i.directiveEnd,C=i.index,w=function be(){return M.lFrame.currentDirectiveIndex}();try{gi(C);for(let O=s;O<c;O++){const H=e.data[O],te=t[O];Ne(O),(null!==H.hostBindings||0!==H.hostVars||null!==H.hostAttrs)&&Hf(H,te)}}finally{gi(-1),Ne(w)}}(e,t,i))}function Al(e,t,i=yt){const s=t.localNames;if(null!==s){let c=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[c++]=w}}}function kf(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,c,g,C,w,O,H){const te=20+s,Ce=te+c,Ve=function t_(e,t){const i=[];for(let s=0;s<t;s++)i.push(s<e?null:en);return i}(te,Ce),tt="function"==typeof H?H():H;return Ve[1]={type:e,blueprint:Ve,template:i,queries:null,viewQuery:w,declTNode:t,data:Ve.slice().fill(null,te),bindingStartIndex:te,expandoStartIndex:Ce,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 Lf(e,t,i){if(Tn(e))return e.selectRootElement(t,i===Ee.ShadowDom);let s="string"==typeof t?e.querySelector(t):t;return s.textContent="",s}function jf(e,t,i,s){const c=Qf(t);null===i?c.push(s):(c.push(i),e.firstCreatePass&&Yf(e).push(s,c.length-1))}function Bf(e,t,i){for(let s in e)if(e.hasOwnProperty(s)){const c=e[s];(i=null===i?{}:i).hasOwnProperty(s)?i[s].push(t,c):i[s]=[t,c]}return i}function xi(e,t,i,s,c,g,C,w){const O=yt(t,i);let te,H=t.inputs;!w&&null!=H&&(te=H[s])?(Xf(e,i,te,s,c),ai(t)&&function o_(e,t){const i=rn(t,e);16&i[2]||(i[2]|=64)}(i,t.index)):3&t.type&&(s=function r_(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(s),c=null!=C?C(c,t.value||"",s):c,Tn(g)?g.setProperty(O,s,c):Jr(s)||(O.setProperty?O.setProperty(s,c):O[s]=c))}function Rl(e,t,i,s){let c=!1;if(li()){const g=function d_(e,t,i){const s=e.directiveRegistry;let c=null;if(s)for(let g=0;g<s.length;g++){const C=s[g];yf(i,C.selectors,!1)&&(c||(c=[]),js(Jo(i,t),e,C.type),Kn(C)?(Uf(e,i),c.unshift(C)):c.push(C))}return c}(e,t,i),C=null===s?null:{"":-1};if(null!==g){c=!0,zf(i,e.data.length,g.length);for(let te=0;te<g.length;te++){const Ce=g[te];Ce.providersResolver&&Ce.providersResolver(Ce)}let w=!1,O=!1,H=To(e,t,g.length,null);for(let te=0;te<g.length;te++){const Ce=g[te];i.mergedAttrs=ks(i.mergedAttrs,Ce.hostAttrs),Wf(e,i,t,H,Ce),h_(H,Ce,C),null!==Ce.contentQueries&&(i.flags|=8),(null!==Ce.hostBindings||null!==Ce.hostAttrs||0!==Ce.hostVars)&&(i.flags|=128);const Ve=Ce.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),H++}!function i_(e,t){const s=t.directiveEnd,c=e.data,g=t.attrs,C=[];let w=null,O=null;for(let H=t.directiveStart;H<s;H++){const te=c[H],Ce=te.inputs,Ve=null===g||vf(t)?null:g_(Ce,g);C.push(Ve),w=Bf(Ce,H,w),O=Bf(te.outputs,H,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 f_(e,t,i){if(t){const s=e.localNames=[];for(let c=0;c<t.length;c+=2){const g=i[t[c+1]];if(null==g)throw new S(-301,!1);s.push(t[c],g)}}}(i,s,C)}return i.mergedAttrs=ks(i.mergedAttrs,i.attrs),c}function $f(e,t,i,s,c,g){const C=g.hostBindings;if(C){let w=e.hostBindingOpCodes;null===w&&(w=e.hostBindingOpCodes=[]);const O=~t.index;(function l_(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,c,C)}}function Hf(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Uf(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function h_(e,t,i){if(i){if(t.exportAs)for(let s=0;s<t.exportAs.length;s++)i[t.exportAs[s]]=e;Kn(t)&&(i[""]=e)}}function zf(e,t,i){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+i,e.providerIndexes=t}function Wf(e,t,i,s,c){e.data[s]=c;const g=c.factory||(c.factory=Zn(c.type)),C=new kn(g,Kn(c),null);e.blueprint[s]=C,i[s]=C,$f(e,t,0,s,To(e,i,c.hostVars,en),c)}function p_(e,t,i){const s=yt(t,e),c=kf(i),g=e[10],C=ra(e,fs(e,c,null,i.onPush?64:16,s,t,g,g.createRenderer(s,i),null,null));e[t.index]=C}function _r(e,t,i,s,c,g){const C=yt(e,t);xl(t[11],C,g,e.value,i,s,c)}function xl(e,t,i,s,c,g,C){if(null==g)Tn(e)?e.removeAttribute(t,c,i):t.removeAttribute(c);else{const w=null==C?I(g):C(g,s||"",c);Tn(e)?e.setAttribute(t,c,w,i):i?t.setAttributeNS(i,c,w):t.setAttribute(c,w)}}function m_(e,t,i,s,c,g){const C=g[t];if(null!==C){const w=s.setInput;for(let O=0;O<C.length;){const H=C[O++],te=C[O++],Ce=C[O++];null!==w?s.setInput(i,Ce,H,te):i[te]=Ce}}}function g_(e,t){let i=null,s=0;for(;s<t.length;){const c=t[s];if(0!==c)if(5!==c){if("number"==typeof c)break;e.hasOwnProperty(c)&&(null===i&&(i=[]),i.push(c,e[c],t[s+1])),s+=2}else s+=2;else s+=4}return i}function Gf(e,t,i,s){return new Array(e,!0,!1,t,null,0,s,i,null,null)}function __(e,t){const i=rn(t,e);if(xn(i)){const s=i[1];80&i[2]?Do(s,i,s.template,i[8]):i[5]>0&&Fl(i)}}function Fl(e){for(let s=ll(e);null!==s;s=cl(s))for(let c=10;c<s.length;c++){const g=s[c];if(1024&g[2]){const C=g[1];Do(C,g,C.template,g[8])}else g[5]>0&&Fl(g)}const i=e[1].components;if(null!==i)for(let s=0;s<i.length;s++){const c=rn(i[s],e);xn(c)&&c[5]>0&&Fl(c)}}function b_(e,t){const i=rn(t,e),s=i[1];(function C_(e,t){for(let i=t.length;i<e.blueprint.length;i++)t.push(e.blueprint[i])})(s,i),hs(s,i,i[8])}function ra(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function kl(e){for(;e;){e[2]|=64;const t=us(e);if(ki(e)&&!t)return e;e=t}return null}function Nl(e){for(let t=0;t<e.components.length;t++){const i=e.components[t],s=il(i),c=s[1];e_(c,s,c.template,i)}}function Ll(e,t,i){const s=t[10];s.begin&&s.begin();try{Do(e,t,e.template,i)}catch(c){throw Jf(t,c),c}finally{s.end&&s.end()}}function Kf(e){Nl(e[8])}function jl(e,t,i){vt(0),t(e,i)}const w_=Ol;function Qf(e){return e[7]||(e[7]=[])}function Yf(e){return e.cleanup||(e.cleanup=[])}function Zf(e,t,i){return(null===e||Kn(e))&&(i=function pe(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(i[t.index])),i[11]}function Jf(e,t){const i=e[9],s=i?i.get(Zs,null):null;s&&s.handleError(t)}function Xf(e,t,i,s,c){for(let g=0;g<i.length;){const C=i[g++],w=i[g++],O=t[C],H=e.data[C];null!==H.setInput?H.setInput(O,c,s,w):O[w]=c}}function Ar(e,t,i){const s=ut(t,e);Xd(e[11],s,i)}function oa(e,t,i){let s=i?e.styles:null,c=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?c=m(c,w):2==g&&(s=m(s,w+": "+t[++C]+";"))}i?e.styles=s:e.stylesWithoutHost=s,i?e.classes=c:e.classesWithoutHost=c}function qf(e){const t=Nd(e);Ll(t[1],t,e)}function eh(e){!function E_(e,t){if(0===e.flags&&e.clean==Ol){let s;e.flags|=t,e.clean=new Promise(c=>s=c),e.scheduler(()=>{if(1&e.flags&&(e.flags&=-2,Nl(e)),2&e.flags){e.flags&=-3;const c=e.playerHandler;c&&c.flushPlayers()}e.clean=Ol,s(null)})}}(kl(Nd(e))[8],1)}const sa=new Hn("INJECTOR",-1);class th{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 Bl=new Hn("Set Injector scope."),ps={},M_={};let Vl;function nh(){return void 0===Vl&&(Vl=new th),Vl}function $l(e,t=null,i=null,s){const c=ih(e,t,i,s);return c._resolveInjectorDefTypes(),c}function ih(e,t=null,i=null,s){return new S_(e,i,t||nh(),s)}class S_{constructor(t,i,s,c=null){this.parent=s,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const g=[];i&&mr(i,w=>this.processProvider(w,t,i)),mr([t],w=>this.processInjectorType(w,[],g)),this.records.set(sa,wo(void 0,this));const C=this.records.get(Bl);this.scope=null!=C?C.value:null,this.source=c||("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=L.Default){this.assertNotDestroyed();const c=za(this),g=Je(void 0);try{if(!(s&L.SkipSelf)){let w=this.records.get(t);if(void 0===w){const O=function k_(e){return"function"==typeof e||"object"==typeof e&&e instanceof Hn}(t)&&pt(t);w=O&&this.injectableDefInScope(O)?wo(Hl(t),ps):null,this.records.set(t,w)}if(null!=w)return this.hydrate(t,w)}return(s&L.Self?nh():this.parent).get(t,i=s&L.Optional&&i===$r?null:i)}catch(C){if("NullInjectorError"===C.name){if((C[Us]=C[Us]||[]).unshift(p(t)),c)throw C;return function Cv(e,t,i,s){const c=e[Us];throw t[ud]&&c.unshift(t[ud]),e.message=function Ev(e,t,i,s=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let c=p(t);if(Array.isArray(t))c=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)))}c=`{${g.join(", ")}}`}return`${i}${s?"("+s+")":""}[${c}]: ${e.replace(gv,"\n ")}`}("\n"+e.message,c,i,s),e.ngTokenPath=c,e[Us]=null,e}(C,t,"R3InjectorError",this.source)}throw C}finally{Je(g),za(c)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((s,c)=>t.push(p(c))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new S(205,!1)}processInjectorType(t,i,s){if(!(t=v(t)))return!1;let c=ne(t);const g=null==c&&t.ngModule||void 0,C=void 0===g?t:g,w=-1!==s.indexOf(C);if(void 0!==g&&(c=ne(g)),null==c)return!1;if(null!=c.imports&&!w){let te;s.push(C);try{mr(c.imports,Ce=>{this.processInjectorType(Ce,i,s)&&(void 0===te&&(te=[]),te.push(Ce))})}finally{}if(void 0!==te)for(let Ce=0;Ce<te.length;Ce++){const{ngModule:Ve,providers:tt}=te[Ce];mr(tt,gt=>this.processProvider(gt,Ve,tt||Ct))}}this.injectorDefTypes.add(C);const O=Zn(C)||(()=>new C);this.records.set(C,wo(O,ps));const H=c.providers;if(null!=H&&!w){const te=t;mr(H,Ce=>this.processProvider(Ce,te,H))}return void 0!==g&&void 0!==t.providers}processProvider(t,i,s){let c=Mo(t=v(t))?t:v(t&&t.provide);const g=function I_(e,t,i){return oh(e)?wo(void 0,e.useValue):wo(rh(e),ps)}(t);if(Mo(t)||!0!==t.multi)this.records.get(c);else{let C=this.records.get(c);C||(C=wo(void 0,ps,!0),C.factory=()=>Ga(C.multi),this.records.set(c,C)),c=t,C.multi.push(t)}this.records.set(c,g)}hydrate(t,i){return i.value===ps&&(i.value=M_,i.value=i.factory()),"object"==typeof i.value&&i.value&&function F_(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 Hl(e){const t=pt(e),i=null!==t?t.factory:Zn(e);if(null!==i)return i;if(e instanceof Hn)throw new S(204,!1);if(e instanceof Function)return function O_(e){const t=e.length;if(t>0)throw ts(t,"?"),new S(204,!1);const i=function Se(e){const t=e&&(e[Me]||e[Ke]);if(t){const i=function j(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 rh(e,t,i){let s;if(Mo(e)){const c=v(e);return Zn(c)||Hl(c)}if(oh(e))s=()=>v(e.useValue);else if(function A_(e){return!(!e||!e.useFactory)}(e))s=()=>e.useFactory(...Ga(e.deps||[]));else if(function P_(e){return!(!e||!e.useExisting)}(e))s=()=>si(v(e.useExisting));else{const c=v(e&&(e.useClass||e.provide));if(!function x_(e){return!!e.deps}(e))return Zn(c)||Hl(c);s=()=>new c(...Ga(e.deps))}return s}function wo(e,t,i=!1){return{factory:e,value:t,multi:i?[]:void 0}}function oh(e){return null!==e&&"object"==typeof e&&yv in e}function Mo(e){return"function"==typeof e}let rr=(()=>{class e{static create(i,s){var c;if(Array.isArray(i))return $l({name:""},s,i,"");{const g=null!==(c=i.name)&&void 0!==c?c:"";return $l({name:g},i.parent,i.providers,g)}}}return e.THROW_IF_NOT_FOUND=$r,e.NULL=new th,e.\u0275prov=qe({token:e,providedIn:"any",factory:()=>si(sa)}),e.__NG_ELEMENT_ID__=-1,e})();function Ul(e){Wl(e);const t=ui(e);return null===t?null:(void 0===t.component&&(t.component=function ty(e,t){const i=t[1].data[e];return 2&i.flags?t[i.directiveStart]:null}(t.nodeIndex,t.lView)),t.component)}function sh(e){Wl(e);const t=ui(e);return null===t?null:t.lView[8]}function ah(e){const t=ui(e);if(null===t)return null;let s,i=t.lView;for(;2===i[1].type&&(s=us(i));)i=s;return 512&i[2]?null:i[8]}function lh(e){return[...Zd(e).components]}function ch(e){const t=ui(e);return null===t?rr.NULL:new lo(t.lView[1].data[t.nodeIndex],t.lView)}function uh(e){if(e instanceof Text)return[];const t=ui(e);if(null===t)return[];const i=t.lView,s=i[1],c=t.nodeIndex;return(null==s?void 0:s.data[c])?(void 0===t.directives&&(t.directives=Vd(c,i,!1)),null===t.directives?[]:[...t.directives]):[]}function L_(e){const{constructor:t}=e;if(!t)throw new Error("Unable to find the instance constructor");const i=ke(t);if(i)return{inputs:i.inputs,outputs:i.outputs,encapsulation:i.encapsulation,changeDetection:i.onPush?At.OnPush:At.Default};const s=ct(t);return s?{inputs:s.inputs,outputs:s.outputs}:null}function zl(e){return ui(e).native}function dh(e){Wl(e);const t=ui(e);if(null===t)return[];const i=t.lView,c=i[7],g=i[1].cleanup,C=[];if(g&&c)for(let w=0;w<g.length;){const O=g[w++],H=g[w++];if("string"==typeof O){const te=O,Ce=x(i[H]),Ve=c[g[w++]],tt=g[w++],gt="boolean"==typeof tt||tt>=0?"dom":"output",It="boolean"==typeof tt&&tt;e==Ce&&C.push({element:e,name:te,callback:Ve,useCapture:It,type:gt})}}return C.sort(B_),C}function B_(e,t){return e.name==t.name?0:e.name<t.name?-1:1}function V_(e){return void 0!==e.type&&void 0!==e.template&&void 0!==e.declaredInputs}function Wl(e){if("undefined"!=typeof Element&&!(e instanceof Element))throw new Error("Expecting instance of DOM Element")}function $_(e){eh(e),lh(e).forEach(t=>qf(t))}let hh=!1;function H_(){hh||(hh=!0,Ki("\u0275setProfiler",Xi),Ki("getDirectiveMetadata",L_),Ki("getComponent",Ul),Ki("getContext",sh),Ki("getListeners",dh),Ki("getOwningComponent",ah),Ki("getHostElement",zl),Ki("getInjector",ch),Ki("getRootComponents",lh),Ki("getDirectives",uh),Ki("applyChanges",$_))}function Ki(e,t){if("undefined"==typeof COMPILED||!COMPILED){const i=Oe;if(i){let s=i.ng;s||(s=i.ng={}),s[e]=t}}}function U_(e,t={}){const i=t.rendererFactory||F,s=t.sanitizer||null,c=ke(e);c.type!=e&&(c.type=e);const g=c.selectors[0][0],w=Lf(i.createRenderer(null,null),t.host||g,c.encapsulation),O=c.onPush?576:528,H=gh(t.scheduler,t.playerHandler),te=i.createRenderer(w,c),Ce=ia(0,null,null,1,0,null,null,null,null,null),Ve=fs(null,Ce,H,O,null,null,i,te,null,t.injector||null);let tt;Jt(Ve);try{i.begin&&i.begin(),tt=mh(ph(w,c,Ve,i,te,s),c,Ve,H,t.hostFeatures||null),hs(Ce,Ve,null),Do(Ce,Ve,null,null)}finally{Fn(),i.end&&i.end()}return tt}function ph(e,t,i,s,c,g){const C=i[1];i[20]=e;const O=Eo(C,20,2,"#host",null),H=O.mergedAttrs=t.hostAttrs;null!==H&&(oa(O,H,!0),null!==e&&(Ai(c,e,H),null!==O.classes&&vl(c,e,O.classes),null!==O.styles&&pf(c,e,O.styles)));const te=s.createRenderer(e,t),Ce=fs(i,kf(t),null,t.onPush?64:16,i[20],O,s,te,g||null,null);return C.firstCreatePass&&(js(Jo(O,i),C,t.type),Uf(C,O),zf(O,i.length,1)),ra(i,Ce),i[20]=Ce}function mh(e,t,i,s,c){const g=i[1],C=function a_(e,t,i){const s=$n();e.firstCreatePass&&(i.providersResolver&&i.providersResolver(i),Wf(e,s,t,To(e,t,1,null),i));const c=Xo(t,e,s.directiveStart,s);di(c,t);const g=yt(s,t);return g&&di(g,t),c}(g,i,t);if(s.components.push(C),e[8]=C,c&&c.forEach(O=>O(C,t)),t.contentQueries){const O=$n();t.contentQueries(1,C,O.directiveStart)}const w=$n();return!g.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(gi(w.index),$f(i[1],w,0,w.directiveStart,w.directiveEnd,t),Hf(t,C)),C}function gh(e,t){return{components:[],scheduler:e||py,clean:w_,playerHandler:t||null,flags:0}}function vh(e,t){zi(il(e)[1],$n())}function z_(e){return Zd(e).clean}function yh(e){return Object.getPrototypeOf(e.prototype).constructor}function Gl(e){let t=yh(e.type),i=!0;const s=[e];for(;t;){let c;if(Kn(e))c=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new S(903,"");c=t.\u0275dir}if(c){if(i){s.push(c);const C=e;C.inputs=Kl(e.inputs),C.declaredInputs=Kl(e.declaredInputs),C.outputs=Kl(e.outputs);const w=c.hostBindings;w&&Q_(e,w);const O=c.viewQuery,H=c.contentQueries;if(O&&G_(e,O),H&&K_(e,H),f(e.inputs,c.inputs),f(e.declaredInputs,c.declaredInputs),f(e.outputs,c.outputs),Kn(c)&&c.data.animation){const te=e.data;te.animation=(te.animation||[]).concat(c.data.animation)}}const g=c.features;if(g)for(let C=0;C<g.length;C++){const w=g[C];w&&w.ngInherit&&w(e),w===Gl&&(i=!1)}}t=Object.getPrototypeOf(t)}!function W_(e){let t=0,i=null;for(let s=e.length-1;s>=0;s--){const c=e[s];c.hostVars=t+=c.hostVars,c.hostAttrs=ks(c.hostAttrs,i=ks(i,c.hostAttrs))}}(s)}function Kl(e){return e===Tt?{}:e===Ct?[]:e}function G_(e,t){const i=e.viewQuery;e.viewQuery=i?(s,c)=>{t(s,c),i(s,c)}:t}function K_(e,t){const i=e.contentQueries;e.contentQueries=i?(s,c,g)=>{t(s,c,g),i(s,c,g)}:t}function Q_(e,t){const i=e.hostBindings;e.hostBindings=i?(s,c)=>{t(s,c),i(s,c)}:t}const Y_=["providersResolver"],Z_=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function _h(e){let i,t=yh(e.type);i=Kn(e)?t.\u0275cmp:t.\u0275dir;const s=e;for(const c of Y_)s[c]=i[c];if(Kn(i))for(const c of Z_)s[c]=i[c]}let aa=null;function So(){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 bh(e,t){const i=ms(e),s=ms(t);return i&&s?function J_(e,t,i){const s=e[So()](),c=t[So()]();for(;;){const g=s.next(),C=c.next();if(g.done&&C.done)return!0;if(g.done||C.done||!i(g.value,C.value))return!1}}(e,t,bh):!(i||!e||"object"!=typeof e&&"function"!=typeof e||s||!t||"object"!=typeof t&&"function"!=typeof t)||Object.is(e,t)}function ms(e){return!!Ql(e)&&(Array.isArray(e)||!(e instanceof Map)&&So()in e)}function Ql(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function br(e,t,i){return e[t]=i}function gs(e,t){return e[t]}function fi(e,t,i){return!Object.is(e[t],i)&&(e[t]=i,!0)}function eo(e,t,i,s){const c=fi(e,t,i);return fi(e,t+1,s)||c}function la(e,t,i,s,c){const g=eo(e,t,i,s);return fi(e,t+2,c)||g}function Qi(e,t,i,s,c,g){const C=eo(e,t,i,s);return eo(e,t+2,c,g)||C}function Yl(e,t,i,s){const c=bt();return fi(c,K(),t)&&(un(),_r(yn(),c,e,t,i,s)),Yl}function Oo(e,t){let i=!1,s=er();for(let g=1;g<t.length;g+=2)i=fi(e,s++,t[g])||i;if(Rs(s),!i)return en;let c=t[0];for(let g=1;g<t.length;g+=2)c+=I(t[g])+t[g+1];return c}function Io(e,t,i,s){return fi(e,K(),i)?t+I(i)+s:en}function Po(e,t,i,s,c,g){const w=eo(e,er(),i,c);return E(2),w?t+I(i)+s+I(c)+g:en}function Ao(e,t,i,s,c,g,C,w){const H=la(e,er(),i,c,C);return E(3),H?t+I(i)+s+I(c)+g+I(C)+w:en}function Ro(e,t,i,s,c,g,C,w,O,H){const Ce=Qi(e,er(),i,c,C,O);return E(4),Ce?t+I(i)+s+I(c)+g+I(C)+w+I(O)+H:en}function xo(e,t,i,s,c,g,C,w,O,H,te,Ce){const Ve=er();let tt=Qi(e,Ve,i,c,C,O);return tt=fi(e,Ve+4,te)||tt,E(5),tt?t+I(i)+s+I(c)+g+I(C)+w+I(O)+H+I(te)+Ce:en}function Fo(e,t,i,s,c,g,C,w,O,H,te,Ce,Ve,tt){const gt=er();let It=Qi(e,gt,i,c,C,O);return It=eo(e,gt+4,te,Ve)||It,E(6),It?t+I(i)+s+I(c)+g+I(C)+w+I(O)+H+I(te)+Ce+I(Ve)+tt:en}function ko(e,t,i,s,c,g,C,w,O,H,te,Ce,Ve,tt,gt,It){const Rt=er();let Vt=Qi(e,Rt,i,c,C,O);return Vt=la(e,Rt+4,te,Ve,gt)||Vt,E(7),Vt?t+I(i)+s+I(c)+g+I(C)+w+I(O)+H+I(te)+Ce+I(Ve)+tt+I(gt)+It:en}function No(e,t,i,s,c,g,C,w,O,H,te,Ce,Ve,tt,gt,It,Rt,Vt){const _t=er();let Gt=Qi(e,_t,i,c,C,O);return Gt=Qi(e,_t+4,te,Ve,gt,Rt)||Gt,E(8),Gt?t+I(i)+s+I(c)+g+I(C)+w+I(O)+H+I(te)+Ce+I(Ve)+tt+I(gt)+It+I(Rt)+Vt:en}function Zl(e,t,i,s,c,g){const C=bt(),w=Io(C,t,i,s);return w!==en&&_r(yn(),C,e,w,c,g),Zl}function Jl(e,t,i,s,c,g,C,w){const O=bt(),H=Po(O,t,i,s,c,g);return H!==en&&_r(yn(),O,e,H,C,w),Jl}function Xl(e,t,i,s,c,g,C,w,O,H){const te=bt(),Ce=Ao(te,t,i,s,c,g,C,w);return Ce!==en&&_r(yn(),te,e,Ce,O,H),Xl}function ql(e,t,i,s,c,g,C,w,O,H,te,Ce){const Ve=bt(),tt=Ro(Ve,t,i,s,c,g,C,w,O,H);return tt!==en&&_r(yn(),Ve,e,tt,te,Ce),ql}function ec(e,t,i,s,c,g,C,w,O,H,te,Ce,Ve,tt){const gt=bt(),It=xo(gt,t,i,s,c,g,C,w,O,H,te,Ce);return It!==en&&_r(yn(),gt,e,It,Ve,tt),ec}function tc(e,t,i,s,c,g,C,w,O,H,te,Ce,Ve,tt,gt,It){const Rt=bt(),Vt=Fo(Rt,t,i,s,c,g,C,w,O,H,te,Ce,Ve,tt);return Vt!==en&&_r(yn(),Rt,e,Vt,gt,It),tc}function nc(e,t,i,s,c,g,C,w,O,H,te,Ce,Ve,tt,gt,It,Rt,Vt){const _t=bt(),Gt=ko(_t,t,i,s,c,g,C,w,O,H,te,Ce,Ve,tt,gt,It);return Gt!==en&&_r(yn(),_t,e,Gt,Rt,Vt),nc}function ic(e,t,i,s,c,g,C,w,O,H,te,Ce,Ve,tt,gt,It,Rt,Vt,_t,Gt){const dn=bt(),Dn=No(dn,t,i,s,c,g,C,w,O,H,te,Ce,Ve,tt,gt,It,Rt,Vt);return Dn!==en&&_r(yn(),dn,e,Dn,_t,Gt),ic}function rc(e,t,i,s){const c=bt(),g=Oo(c,t);return g!==en&&_r(yn(),c,e,g,i,s),rc}function Ch(e,t,i,s,c,g,C,w){const O=bt(),H=un(),te=e+20,Ce=H.firstCreatePass?function q_(e,t,i,s,c,g,C,w,O){const H=t.consts,te=Eo(t,e,4,C||null,On(H,w));Rl(t,i,te,On(H,O)),zi(t,te);const Ce=te.tViews=ia(2,te,s,c,g,t.directiveRegistry,t.pipeRegistry,null,t.schemas,H);return null!==t.queries&&(t.queries.template(t,te),Ce.queries=t.queries.embeddedTView(te)),te}(te,H,O,t,i,s,c,g,C):H.data[te];$i(Ce,!1);const Ve=O[11].createComment("");Xs(H,O,Ve,Ce),di(Ve,O),ra(O,O[te]=Gf(Ve,O,Ve,Ce)),mi(Ce)&&Pl(H,O,Ce),null!=C&&Al(O,Ce,w)}function Eh(e,t,i,s){i>=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=s}function Th(e){return cn(function Zo(){return M.lFrame.contextLView}(),20+e)}const Dh={\u0275\u0275defineInjectable:qe,\u0275\u0275defineInjector:Ge,\u0275\u0275inject:si,\u0275\u0275invalidFactoryDep:Wa,resolveForwardRef:v};const tb=l({provide:String,useValue:l});function wh(e){return void 0!==e.useClass}function Mh(e){return void 0!==e.useFactory}const ob=ho("Injectable",void 0,void 0,void 0,(e,t)=>function eb(e,t){let i=null,s=null;e.hasOwnProperty(Me)||Object.defineProperty(e,Me,{get:()=>(null===i&&(i=qn().compileInjectable(Dh,`ng:///${e.name}/\u0275prov.js`,function rb(e,t){const i=t||{providedIn:null},s={name:e.name,type:e,typeArgumentCount:0,providedIn:i.providedIn};return(wh(i)||Mh(i))&&void 0!==i.deps&&(s.deps=pd(i.deps)),wh(i)?s.useClass=i.useClass:function nb(e){return tb in e}(i)?s.useValue=i.useValue:Mh(i)?s.useFactory=i.useFactory:function ib(e){return void 0!==e.useExisting}(i)&&(s.useExisting=i.useExisting),s}(e,t))),i)}),e.hasOwnProperty(q)||Object.defineProperty(e,q,{get:()=>{if(null===s){const c=qn();s=c.compileFactory(Dh,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:Gs(e),target:c.FactoryTarget.Injectable})}return s},configurable:!0})}(e,t));function oc(e){return e.length>1?" ("+function sb(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 sc(e,t,i,s){const c=[t],g=i(c),C=s?function ry(e,t){const i=`${e} caused by: ${t instanceof Error?t.message:t}`,s=Error(i);return s[rl]=t,s}(g,s):Error(g);return C.addKey=ab,C.keys=c,C.injectors=[e],C.constructResolvingMessage=i,C[rl]=s,C}function ab(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function Sh(e,t){const i=[];for(let s=0,c=t.length;s<c;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 hb(e,t){return Error(`Cannot mix multi providers and regular providers, got: ${e} ${t}`)}class Rr{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 Oh.get(v(t))}static get numberOfKeys(){return Oh.numberOfKeys}}class pb{constructor(){this._allKeys=new Map}get(t){if(t instanceof Rr)return t;if(this._allKeys.has(t))return this._allKeys.get(t);const i=new Rr(t,Rr.numberOfKeys);return this._allKeys.set(t,i),i}get numberOfKeys(){return this._allKeys.size}}const Oh=new pb;class mb{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,c){return this.reflectionCapabilities.resolveIdentifier(t,i,s,c)}resolveEnum(t,i){return this.reflectionCapabilities.resolveEnum(t,i)}}const Ih=new mb(new $a);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 gb=[];class Ph{constructor(t,i,s){this.key=t,this.resolvedFactories=i,this.multiProvider=s,this.resolvedFactory=this.resolvedFactories[0]}}class Ah{constructor(t,i){this.factory=t,this.dependencies=i}}function vb(e){let t,i;if(e.useClass){const s=v(e.useClass);t=Ih.factory(s),i=xh(s)}else e.useExisting?(t=s=>s,i=[ca.fromKey(Rr.get(e.useExisting))]):e.useFactory?(t=e.useFactory,i=function Cb(e,t){if(t){const i=t.map(s=>[s]);return t.map(s=>Fh(e,s,i))}return xh(e)}(e.useFactory,e.deps)):(t=()=>e.useValue,i=gb);return new Ah(t,i)}function yb(e){return new Ph(Rr.get(e.provide),[vb(e)],e.multi||!1)}function _b(e){const s=function bb(e,t){for(let i=0;i<e.length;i++){const s=e[i],c=t.get(s.key.id);if(c){if(s.multiProvider!==c.multiProvider)throw hb(c,s);if(s.multiProvider)for(let g=0;g<s.resolvedFactories.length;g++)c.resolvedFactories.push(s.resolvedFactories[g]);else t.set(s.key.id,s)}else{let g;g=s.multiProvider?new Ph(s.key,s.resolvedFactories.slice(),s.multiProvider):s,t.set(s.key.id,g)}}return t}(Rh(e,[]).map(yb),new Map);return Array.from(s.values())}function Rh(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 db(e){return Error(`Invalid provider - only instances of Provider and Type are allowed, got: ${e}`)}(i);Rh(i,t)}}),t}function xh(e){const t=Ih.parameters(e);if(!t)return[];if(t.some(i=>null==i))throw Sh(e,t);return t.map(i=>Fh(e,i,t))}function Fh(e,t,i){let s=null,c=!1;if(!Array.isArray(t))return ac(t instanceof zs?t.token:t,c,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 rs?c=!0:w instanceof Ws||w instanceof go?g=w:w instanceof Hn&&(s=w)}if(s=v(s),null!=s)return ac(s,c,g);throw Sh(e,i)}function ac(e,t,i){return new ca(Rr.get(e),t,i)}const vs={};class Lo{static resolve(t){return _b(t)}static resolveAndCreate(t,i){const s=Lo.resolve(t);return Lo.fromResolvedProviders(s,i)}static fromResolvedProviders(t,i){return new Eb(t,i)}}let Eb=(()=>{class e{constructor(i,s){this._constructionCounter=0,this._providers=i,this.parent=s||null;const c=i.length;this.keyIds=[],this.objs=[];for(let g=0;g<c;g++)this.keyIds[g]=i[g].key.id,this.objs[g]=vs}get(i,s=$r){return this._getByKey(Rr.get(i),null,s)}resolveAndCreateChild(i){const s=Lo.resolve(i);return this.createChildFromResolved(s)}createChildFromResolved(i){const s=new e(i);return s.parent=this,s}resolveAndInstantiate(i){return this.instantiateResolved(Lo.resolve([i])[0])}instantiateResolved(i){return this._instantiateProvider(i)}getProviderAtIndex(i){if(i<0||i>=this._providers.length)throw function fb(e){return Error(`Index ${e} is out-of-bounds.`)}(i);return this._providers[i]}_new(i){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw function cb(e,t){return sc(e,t,function(i){return`Cannot instantiate cyclic dependency!${oc(i)}`})}(this,i.key);return this._instantiateProvider(i)}_getMaxNumberOfObjects(){return this.objs.length}_instantiateProvider(i){if(i.multiProvider){const s=[];for(let c=0;c<i.resolvedFactories.length;++c)s[c]=this._instantiate(i,i.resolvedFactories[c]);return s}return this._instantiate(i,i.resolvedFactories[0])}_instantiate(i,s){const c=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=c(...g)}catch(w){throw function ub(e,t,i,s){return sc(e,s,function(c){const g=p(c[0].token);return`${t.message}: Error during instantiation of ${g}!${oc(c)}.`},t)}(this,w,0,i.key)}return C}_getByReflectiveDependency(i){return this._getByKey(i.key,i.visibility,i.optional?null:$r)}_getByKey(i,s,c){return i===e.INJECTOR_KEY?this:s instanceof Ws?this._getByKeySelf(i,c):this._getByKeyDefault(i,c,s)}_getObjByKeyId(i){for(let s=0;s<this.keyIds.length;s++)if(this.keyIds[s]===i)return this.objs[s]===vs&&(this.objs[s]=this._new(this._providers[s])),this.objs[s];return vs}_throwOrNull(i,s){if(s!==$r)return s;throw function lb(e,t){return sc(e,t,function(i){return`No provider for ${p(i[0].token)}!${oc(i)}`})}(this,i)}_getByKeySelf(i,s){const c=this._getObjByKeyId(i.id);return c!==vs?c:this._throwOrNull(i,s)}_getByKeyDefault(i,s,c){let g;for(g=c instanceof go?this.parent:this;g instanceof e;){const C=g,w=C._getObjByKeyId(i.id);if(w!==vs)return w;g=C.parent}return null!==g?g.get(i.token,s):this._throwOrNull(i,s)}get displayName(){return`ReflectiveInjector(providers: [${function Tb(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=Rr.get(rr),e})();function ys(e,t=L.Default){const i=bt();return null===i?si(e,t):qu($n(),i,v(e),t)}function kh(){throw new Error("invalid")}function lc(e,t,i){const s=bt();return fi(s,K(),t)&&xi(un(),yn(),s,e,t,s[11],i,!1),lc}function cc(e,t,i,s,c){const C=c?"class":"style";Xf(e,i,t.inputs[C],C,s)}function ua(e,t,i,s){const c=bt(),g=un(),C=20+e,w=c[11],O=c[C]=dl(w,t,function xs(){return M.lFrame.currentNamespace}()),H=g.firstCreatePass?function Db(e,t,i,s,c,g,C){const w=t.consts,H=Eo(t,e,2,c,On(w,g));return Rl(t,i,H,On(w,C)),null!==H.attrs&&oa(H,H.attrs,!1),null!==H.mergedAttrs&&oa(H,H.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,H),H}(C,g,c,0,t,i,s):g.data[C];$i(H,!0);const te=H.mergedAttrs;null!==te&&Ai(w,O,te);const Ce=H.classes;null!==Ce&&vl(w,O,Ce);const Ve=H.styles;return null!==Ve&&pf(w,O,Ve),64!=(64&H.flags)&&Xs(g,c,O,H),0===function mt(){return M.lFrame.elementDepthCount}()&&di(O,c),function Nt(){M.lFrame.elementDepthCount++}(),mi(H)&&(Pl(g,c,H),Ff(g,H,c)),null!==s&&Al(c,H),ua}function da(){let e=$n();oo()?Yo():(e=e.parent,$i(e,!1));const t=e;!function Sn(){M.lFrame.elementDepthCount--}();const i=un();return i.firstCreatePass&&(zi(i,e),pi(e)&&i.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Fs(e){return 0!=(16&e.flags)}(t)&&cc(i,t,bt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function xa(e){return 0!=(32&e.flags)}(t)&&cc(i,t,bt(),t.stylesWithoutHost,!1),da}function uc(e,t,i,s){return ua(e,t,i,s),da(),uc}function fa(e,t,i){const s=bt(),c=un(),g=e+20,C=c.firstCreatePass?function wb(e,t,i,s,c){const g=t.consts,C=On(g,s),w=Eo(t,e,8,"ng-container",C);return null!==C&&oa(w,C,!0),Rl(t,i,w,On(g,c)),null!==t.queries&&t.queries.elementStart(t,w),w}(g,c,s,t,i):c.data[g];$i(C,!0);const w=s[g]=s[11].createComment("");return Xs(c,s,w,C),di(w,s),mi(C)&&(Pl(c,s,C),Ff(c,C,s)),null!=i&&Al(s,C),fa}function ha(){let e=$n();const t=un();return oo()?Yo():(e=e.parent,$i(e,!1)),t.firstCreatePass&&(zi(t,e),pi(e)&&t.queries.elementEnd(e)),ha}function dc(e,t,i){return fa(e,t,i),ha(),dc}function Nh(){return bt()}function fc(e){return!!e&&"function"==typeof e.then}function Lh(e){return!!e&&"function"==typeof e.subscribe}const jh=Lh;function hc(e,t,i,s){const c=bt(),g=un(),C=$n();return Bh(g,c,c[11],C,e,t,!!i,s),hc}function pc(e,t){const i=$n(),s=bt(),c=un();return Bh(c,s,Zf(Be(c.data),i,s),i,e,t,!1),pc}function Bh(e,t,i,s,c,g,C,w){const O=mi(s),te=e.firstCreatePass&&Yf(e),Ce=t[8],Ve=Qf(t);let tt=!0;if(3&s.type||w){const Rt=yt(s,t),Vt=w?w(Rt):Rt,_t=Ve.length,Gt=w?dn=>w(x(dn[s.index])):s.index;if(Tn(i)){let dn=null;if(!w&&O&&(dn=function Mb(e,t,i,s){const c=e.cleanup;if(null!=c)for(let g=0;g<c.length-1;g+=2){const C=c[g];if(C===i&&c[g+1]===s){const w=t[7],O=c[g+2];return w.length>O?w[O]:null}"string"==typeof C&&(g+=2)}return null}(e,t,c,s.index)),null!==dn)(dn.__ngLastListenerFn__||dn).__ngNextListenerFn__=g,dn.__ngLastListenerFn__=g,tt=!1;else{g=mc(s,t,Ce,g,!1);const Dn=i.listen(Vt,c,g);Ve.push(g,Dn),te&&te.push(c,Gt,_t,_t+1)}}else g=mc(s,t,Ce,g,!0),Vt.addEventListener(c,g,C),Ve.push(g),te&&te.push(c,Gt,_t,C)}else g=mc(s,t,Ce,g,!1);const gt=s.outputs;let It;if(tt&&null!==gt&&(It=gt[c])){const Rt=It.length;if(Rt)for(let Vt=0;Vt<Rt;Vt+=2){const Fi=t[It[Vt]][It[Vt+1]].subscribe(g),ro=Ve.length;Ve.push(g,Fi),te&&te.push(c,s.index,ro,-(ro+1))}}}function Vh(e,t,i,s){try{return Pn(6,t,i),!1!==i(s)}catch(c){return Jf(e,c),!1}finally{Pn(7,t,i)}}function mc(e,t,i,s,c){return function g(C){if(C===Function)return s;const w=2&e.flags?rn(e.index,t):t;0==(32&t[2])&&kl(w);let O=Vh(t,i,s,C),H=g.__ngNextListenerFn__;for(;H;)O=Vh(t,i,H,C)&&O,H=H.__ngNextListenerFn__;return c&&!1===O&&(C.preventDefault(),C.returnValue=!1),O}}function $h(e=1){return function Qn(e){return(M.lFrame.contextLView=function oi(e,t){for(;e>0;)t=t[15],e--;return t}(e,M.lFrame.contextLView))[8]}(e)}function Sb(e,t){let i=null;const s=function Fy(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 c=0;c<t.length;c++){const g=t[c];if("*"!==g){if(null===s?yf(e,g,!0):Ly(s,g))return c}else i=c}return i}function Hh(e){const t=bt()[16][6];if(!t.projection){const s=t.projection=ts(e?e.length:1,null),c=s.slice();let g=t.child;for(;null!==g;){const C=e?Sb(g,e):0;null!==C&&(c[C]?c[C].projectionNext=g:s[C]=g,c[C]=g),g=g.next}}}function Uh(e,t=0,i){const s=bt(),c=un(),g=Eo(c,20+e,16,null,i||null);null===g.projection&&(g.projection=t),Yo(),64!=(64&g.flags)&&function Sy(e,t,i){hf(t[11],0,t,i,tf(e,i,t),af(i.parent||t[6],i,t))}(c,s,g)}function gc(e,t,i){return pa(e,"",t,"",i),gc}function pa(e,t,i,s,c){const g=bt(),C=Io(g,t,i,s);return C!==en&&xi(un(),yn(),g,e,C,g[11],c,!1),pa}function vc(e,t,i,s,c,g,C){const w=bt(),O=Po(w,t,i,s,c,g);return O!==en&&xi(un(),yn(),w,e,O,w[11],C,!1),vc}function yc(e,t,i,s,c,g,C,w,O){const H=bt(),te=Ao(H,t,i,s,c,g,C,w);return te!==en&&xi(un(),yn(),H,e,te,H[11],O,!1),yc}function _c(e,t,i,s,c,g,C,w,O,H,te){const Ce=bt(),Ve=Ro(Ce,t,i,s,c,g,C,w,O,H);return Ve!==en&&xi(un(),yn(),Ce,e,Ve,Ce[11],te,!1),_c}function bc(e,t,i,s,c,g,C,w,O,H,te,Ce,Ve){const tt=bt(),gt=xo(tt,t,i,s,c,g,C,w,O,H,te,Ce);return gt!==en&&xi(un(),yn(),tt,e,gt,tt[11],Ve,!1),bc}function Cc(e,t,i,s,c,g,C,w,O,H,te,Ce,Ve,tt,gt){const It=bt(),Rt=Fo(It,t,i,s,c,g,C,w,O,H,te,Ce,Ve,tt);return Rt!==en&&xi(un(),yn(),It,e,Rt,It[11],gt,!1),Cc}function Ec(e,t,i,s,c,g,C,w,O,H,te,Ce,Ve,tt,gt,It,Rt){const Vt=bt(),_t=ko(Vt,t,i,s,c,g,C,w,O,H,te,Ce,Ve,tt,gt,It);return _t!==en&&xi(un(),yn(),Vt,e,_t,Vt[11],Rt,!1),Ec}function Tc(e,t,i,s,c,g,C,w,O,H,te,Ce,Ve,tt,gt,It,Rt,Vt,_t){const Gt=bt(),dn=No(Gt,t,i,s,c,g,C,w,O,H,te,Ce,Ve,tt,gt,It,Rt,Vt);return dn!==en&&xi(un(),yn(),Gt,e,dn,Gt[11],_t,!1),Tc}function Dc(e,t,i){const s=bt(),c=Oo(s,t);return c!==en&&xi(un(),yn(),s,e,c,s[11],i,!1),Dc}function zh(e,t,i,s,c){const g=e[i+1],C=null===t;let w=s?ir(g):Pr(g),O=!1;for(;0!==w&&(!1===O||C);){const te=e[w+1];Pb(e[w],t)&&(O=!0,e[w+1]=s?bl(te):yl(te)),w=s?ir(te):Pr(te)}O&&(e[i+1]=s?yl(g):bl(g))}function Pb(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&mo(e,t)>=0}const ei={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Wh(e){return e.substring(ei.key,ei.keyEnd)}function Ab(e){return e.substring(ei.value,ei.valueEnd)}function Gh(e,t){const i=ei.textEnd;return i===t?-1:(t=ei.keyEnd=function Fb(e,t,i){for(;t<i&&e.charCodeAt(t)>32;)t++;return t}(e,ei.key=t,i),jo(e,t,i))}function Kh(e,t){const i=ei.textEnd;let s=ei.key=jo(e,t,i);return i===s?-1:(s=ei.keyEnd=function kb(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=Yh(e,s,i),s=ei.value=jo(e,s,i),s=ei.valueEnd=function Nb(e,t,i){let s=-1,c=-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=Zh(e,O,C,i):t===C-4&&85===g&&82===c&&76===s&&40===O?w=C=Zh(e,41,C,i):O>32&&(w=C),g=c,c=s,s=-33&O}return w}(e,s,i),Yh(e,s,i))}function Qh(e){ei.key=0,ei.keyEnd=0,ei.value=0,ei.valueEnd=0,ei.textEnd=e.length}function jo(e,t,i){for(;t<i&&e.charCodeAt(t)<=32;)t++;return t}function Yh(e,t,i,s){return(t=jo(e,t,i))<i&&t++,t}function Zh(e,t,i,s){let c=-1,g=i;for(;g<s;){const C=e.charCodeAt(g++);if(C==t&&92!==c)return g;c=92==C&&92===c?0:C}throw new Error}function wc(e,t,i){return sr(e,t,i,!1),wc}function Mc(e,t){return sr(e,t,null,!0),Mc}function or(e){ar(ep,Lb,e,!1)}function Lb(e,t){for(let i=function xb(e){return Qh(e),Kh(e,jo(e,0,ei.textEnd))}(t);i>=0;i=Kh(t,i))ep(e,Wh(t),Ab(t))}function Jh(e){ar(Ri,Cr,e,!0)}function Cr(e,t){for(let i=function Rb(e){return Qh(e),Gh(e,jo(e,0,ei.textEnd))}(t);i>=0;i=Gh(t,i))Ri(e,Wh(t),!0)}function sr(e,t,i,s){const c=bt(),g=un(),C=E(2);g.firstUpdatePass&&qh(g,e,C,s),t!==en&&fi(c,C,t)&&tp(g,g.data[vn()],c,c[11],e,c[C+1]=function zb(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=p(Ir(e)))),e}(t,i),s,C)}function ar(e,t,i,s){const c=un(),g=E(2);c.firstUpdatePass&&qh(c,null,g,s);const C=bt();if(i!==en&&fi(C,g,i)){const w=c.data[vn()];if(ip(w,s)&&!Xh(c,g)){let O=s?w.classesWithoutHost:w.stylesWithoutHost;null!==O&&(i=m(O,i||"")),cc(c,w,C,i,s)}else!function Ub(e,t,i,s,c,g,C,w){c===en&&(c=Ct);let O=0,H=0,te=0<c.length?c[0]:null,Ce=0<g.length?g[0]:null;for(;null!==te||null!==Ce;){const Ve=O<c.length?c[O+1]:void 0,tt=H<g.length?g[H+1]:void 0;let It,gt=null;te===Ce?(O+=2,H+=2,Ve!==tt&&(gt=Ce,It=tt)):null===Ce||null!==te&&te<Ce?(O+=2,gt=te):(H+=2,gt=Ce,It=tt),null!==gt&&tp(e,t,i,s,gt,It,C,w),te=O<c.length?c[O]:null,Ce=H<g.length?g[H]:null}}(c,w,C,C[11],C[g+1],C[g+1]=function Hb(e,t,i){if(null==i||""===i)return Ct;const s=[],c=Ir(i);if(Array.isArray(c))for(let g=0;g<c.length;g++)e(s,c[g],!0);else if("object"==typeof c)for(const g in c)c.hasOwnProperty(g)&&e(s,g,c[g]);else"string"==typeof c&&t(s,c);return s}(e,t,i),s,g)}}function Xh(e,t){return t>=e.expandoStartIndex}function qh(e,t,i,s){const c=e.data;if(null===c[i+1]){const g=c[vn()],C=Xh(e,i);ip(g,s)&&null===t&&!C&&(t=!1),t=function jb(e,t,i,s){const c=Be(e);let g=s?t.residualClasses:t.residualStyles;if(null===c)0===(s?t.classBindings:t.styleBindings)&&(i=_s(i=Sc(null,e,t,i,s),t.attrs,s),g=null);else{const C=t.directiveStylingLast;if(-1===C||e[C]!==c)if(i=Sc(c,e,t,i,s),null===g){let O=function Bb(e,t,i){const s=i?t.classBindings:t.styleBindings;if(0!==Pr(s))return e[ir(s)]}(e,t,s);void 0!==O&&Array.isArray(O)&&(O=Sc(null,e,t,O[1],s),O=_s(O,t.attrs,s),function Vb(e,t,i,s){e[ir(i?t.classBindings:t.styleBindings)]=s}(e,t,s,O))}else g=function $b(e,t,i){let s;const c=t.directiveEnd;for(let g=1+t.directiveStylingLast;g<c;g++)s=_s(s,e[g].hostAttrs,i);return _s(s,t.attrs,i)}(e,t,s)}return void 0!==g&&(s?t.residualClasses=g:t.residualStyles=g),i}(c,g,t,s),function Ob(e,t,i,s,c,g){let C=g?t.classBindings:t.styleBindings,w=ir(C),O=Pr(C);e[s]=i;let te,H=!1;if(Array.isArray(i)){const Ce=i;te=Ce[1],(null===te||mo(Ce,te)>0)&&(H=!0)}else te=i;if(c)if(0!==O){const Ve=ir(e[w+1]);e[s+1]=ea(Ve,w),0!==Ve&&(e[Ve+1]=_l(e[Ve+1],s)),e[w+1]=function $y(e,t){return 131071&e|t<<17}(e[w+1],s)}else e[s+1]=ea(w,0),0!==w&&(e[w+1]=_l(e[w+1],s)),w=s;else e[s+1]=ea(O,0),0===w?w=s:e[O+1]=_l(e[O+1],s),O=s;H&&(e[s+1]=yl(e[s+1])),zh(e,te,s,!0),zh(e,te,s,!1),function Ib(e,t,i,s,c){const g=c?e.residualClasses:e.residualStyles;null!=g&&"string"==typeof t&&mo(g,t)>=0&&(i[s+1]=bl(i[s+1]))}(t,te,e,s,g),C=ea(w,O),g?t.classBindings=C:t.styleBindings=C}(c,g,t,i,C,s)}}function Sc(e,t,i,s,c){let g=null;const C=i.directiveEnd;let w=i.directiveStylingLast;for(-1===w?w=i.directiveStart:w++;w<C&&(g=t[w],s=_s(s,g.hostAttrs,c),g!==e);)w++;return null!==e&&(i.directiveStylingLast=w),s}function _s(e,t,i){const s=i?1:2;let c=-1;if(null!==t)for(let g=0;g<t.length;g++){const C=t[g];"number"==typeof C?c=C:c===s&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Ri(e,C,!!i||t[++g]))}return void 0===e?null:e}function ep(e,t,i){Ri(e,t,Ir(i))}function tp(e,t,i,s,c,g,C,w){if(!(3&t.type))return;const O=e.data,H=O[w+1];ma(function Df(e){return 1==(1&e)}(H)?np(O,t,i,c,Pr(H),C):void 0)||(ma(g)||function Tf(e){return 2==(2&e)}(H)&&(g=np(O,null,i,c,w,C)),function Iy(e,t,i,s,c){const g=Tn(e);if(t)c?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:yr.DashCase;if(null==c)g?e.removeStyle(i,s,C):i.style.removeProperty(s);else{const w="string"==typeof c&&c.endsWith("!important");w&&(c=c.slice(0,-10),C|=yr.Important),g?e.setStyle(i,s,c,C):i.style.setProperty(s,c,w?"important":"")}}}(s,C,ut(vn(),i),c,g))}function np(e,t,i,s,c,g){const C=null===t;let w;for(;c>0;){const O=e[c],H=Array.isArray(O),te=H?O[1]:O,Ce=null===te;let Ve=i[c+1];Ve===en&&(Ve=Ce?Ct:void 0);let tt=Ce?Va(Ve,s):te===s?Ve:void 0;if(H&&!ma(tt)&&(tt=Va(O,s)),ma(tt)&&(w=tt,C))return w;const gt=e[c+1];c=C?ir(gt):Pr(gt)}if(null!==t){let O=g?t.residualClasses:t.residualStyles;null!=O&&(w=Va(O,s))}return w}function ma(e){return void 0!==e}function ip(e,t){return 0!=(e.flags&(t?16:32))}function rp(e,t=""){const i=bt(),s=un(),c=e+20,g=s.firstCreatePass?Eo(s,c,1,t,null):s.data[c],C=i[c]=ul(i[11],t);Xs(s,i,C,g),$i(g,!1)}function Oc(e){return ga("",e,""),Oc}function ga(e,t,i){const s=bt(),c=Io(s,e,t,i);return c!==en&&Ar(s,vn(),c),ga}function Ic(e,t,i,s,c){const g=bt(),C=Po(g,e,t,i,s,c);return C!==en&&Ar(g,vn(),C),Ic}function Pc(e,t,i,s,c,g,C){const w=bt(),O=Ao(w,e,t,i,s,c,g,C);return O!==en&&Ar(w,vn(),O),Pc}function Ac(e,t,i,s,c,g,C,w,O){const H=bt(),te=Ro(H,e,t,i,s,c,g,C,w,O);return te!==en&&Ar(H,vn(),te),Ac}function Rc(e,t,i,s,c,g,C,w,O,H,te){const Ce=bt(),Ve=xo(Ce,e,t,i,s,c,g,C,w,O,H,te);return Ve!==en&&Ar(Ce,vn(),Ve),Rc}function xc(e,t,i,s,c,g,C,w,O,H,te,Ce,Ve){const tt=bt(),gt=Fo(tt,e,t,i,s,c,g,C,w,O,H,te,Ce,Ve);return gt!==en&&Ar(tt,vn(),gt),xc}function Fc(e,t,i,s,c,g,C,w,O,H,te,Ce,Ve,tt,gt){const It=bt(),Rt=ko(It,e,t,i,s,c,g,C,w,O,H,te,Ce,Ve,tt,gt);return Rt!==en&&Ar(It,vn(),Rt),Fc}function kc(e,t,i,s,c,g,C,w,O,H,te,Ce,Ve,tt,gt,It,Rt){const Vt=bt(),_t=No(Vt,e,t,i,s,c,g,C,w,O,H,te,Ce,Ve,tt,gt,It,Rt);return _t!==en&&Ar(Vt,vn(),_t),kc}function Nc(e){const t=bt(),i=Oo(t,e);return i!==en&&Ar(t,vn(),i),Nc}function op(e,t,i){ar(Ri,Cr,Io(bt(),e,t,i),!0)}function sp(e,t,i,s,c){ar(Ri,Cr,Po(bt(),e,t,i,s,c),!0)}function ap(e,t,i,s,c,g,C){ar(Ri,Cr,Ao(bt(),e,t,i,s,c,g,C),!0)}function lp(e,t,i,s,c,g,C,w,O){ar(Ri,Cr,Ro(bt(),e,t,i,s,c,g,C,w,O),!0)}function cp(e,t,i,s,c,g,C,w,O,H,te){ar(Ri,Cr,xo(bt(),e,t,i,s,c,g,C,w,O,H,te),!0)}function up(e,t,i,s,c,g,C,w,O,H,te,Ce,Ve){ar(Ri,Cr,Fo(bt(),e,t,i,s,c,g,C,w,O,H,te,Ce,Ve),!0)}function dp(e,t,i,s,c,g,C,w,O,H,te,Ce,Ve,tt,gt){ar(Ri,Cr,ko(bt(),e,t,i,s,c,g,C,w,O,H,te,Ce,Ve,tt,gt),!0)}function fp(e,t,i,s,c,g,C,w,O,H,te,Ce,Ve,tt,gt,It,Rt){ar(Ri,Cr,No(bt(),e,t,i,s,c,g,C,w,O,H,te,Ce,Ve,tt,gt,It,Rt),!0)}function hp(e){ar(Ri,Cr,Oo(bt(),e),!0)}function pp(e,t,i){or(Io(bt(),e,t,i))}function mp(e,t,i,s,c){or(Po(bt(),e,t,i,s,c))}function gp(e,t,i,s,c,g,C){or(Ao(bt(),e,t,i,s,c,g,C))}function vp(e,t,i,s,c,g,C,w,O){or(Ro(bt(),e,t,i,s,c,g,C,w,O))}function yp(e,t,i,s,c,g,C,w,O,H,te){or(xo(bt(),e,t,i,s,c,g,C,w,O,H,te))}function _p(e,t,i,s,c,g,C,w,O,H,te,Ce,Ve){or(Fo(bt(),e,t,i,s,c,g,C,w,O,H,te,Ce,Ve))}function bp(e,t,i,s,c,g,C,w,O,H,te,Ce,Ve,tt,gt){or(ko(bt(),e,t,i,s,c,g,C,w,O,H,te,Ce,Ve,tt,gt))}function Cp(e,t,i,s,c,g,C,w,O,H,te,Ce,Ve,tt,gt,It,Rt){or(No(bt(),e,t,i,s,c,g,C,w,O,H,te,Ce,Ve,tt,gt,It,Rt))}function Ep(e){or(Oo(bt(),e))}function Lc(e,t,i,s,c){return sr(e,Io(bt(),t,i,s),c,!1),Lc}function jc(e,t,i,s,c,g,C){return sr(e,Po(bt(),t,i,s,c,g),C,!1),jc}function Bc(e,t,i,s,c,g,C,w,O){return sr(e,Ao(bt(),t,i,s,c,g,C,w),O,!1),Bc}function Vc(e,t,i,s,c,g,C,w,O,H,te){return sr(e,Ro(bt(),t,i,s,c,g,C,w,O,H),te,!1),Vc}function $c(e,t,i,s,c,g,C,w,O,H,te,Ce,Ve){return sr(e,xo(bt(),t,i,s,c,g,C,w,O,H,te,Ce),Ve,!1),$c}function Hc(e,t,i,s,c,g,C,w,O,H,te,Ce,Ve,tt,gt){return sr(e,Fo(bt(),t,i,s,c,g,C,w,O,H,te,Ce,Ve,tt),gt,!1),Hc}function Uc(e,t,i,s,c,g,C,w,O,H,te,Ce,Ve,tt,gt,It,Rt){return sr(e,ko(bt(),t,i,s,c,g,C,w,O,H,te,Ce,Ve,tt,gt,It),Rt,!1),Uc}function zc(e,t,i,s,c,g,C,w,O,H,te,Ce,Ve,tt,gt,It,Rt,Vt,_t){return sr(e,No(bt(),t,i,s,c,g,C,w,O,H,te,Ce,Ve,tt,gt,It,Rt,Vt),_t,!1),zc}function Wc(e,t,i){return sr(e,Oo(bt(),t),i,!1),Wc}function Gc(e,t,i){const s=bt();return fi(s,K(),t)&&xi(un(),yn(),s,e,t,s[11],i,!0),Gc}function Kc(e,t,i){const s=bt();if(fi(s,K(),t)){const g=un(),C=yn();xi(g,C,s,e,t,Zf(Be(g.data),C,s),i,!0)}return Kc}const to=void 0;var Gb=["en",[["a","p"],["AM","PM"],to],[["AM","PM"],to,to],[["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"]],to,[["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"]],to,[["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}",to,"{1} 'at' {0}",to],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Wb(e){const i=Math.floor(Math.abs(e)),s=e.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===s?1:5}];let Bo={};function Kb(e,t,i){"string"!=typeof t&&(i=t,t=e[Qt.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Bo[t]=e,i&&(Bo[t][Qt.ExtraData]=i)}function Qc(e){const t=function Zb(e){return e.toLowerCase().replace(/_/g,"-")}(e);let i=Dp(t);if(i)return i;const s=t.split("-")[0];if(i=Dp(s),i)return i;if("en"===s)return Gb;throw new Error(`Missing locale data for the locale "${e}".`)}function Qb(e){return Qc(e)[Qt.CurrencyCode]||null}function Tp(e){return Qc(e)[Qt.PluralCase]}function Dp(e){return e in Bo||(Bo[e]=Oe.ng&&Oe.ng.common&&Oe.ng.common.locales&&Oe.ng.common.locales[e]),Bo[e]}function Yb(){Bo={}}var Qt=(()=>((Qt=Qt||{})[Qt.LocaleId=0]="LocaleId",Qt[Qt.DayPeriodsFormat=1]="DayPeriodsFormat",Qt[Qt.DayPeriodsStandalone=2]="DayPeriodsStandalone",Qt[Qt.DaysFormat=3]="DaysFormat",Qt[Qt.DaysStandalone=4]="DaysStandalone",Qt[Qt.MonthsFormat=5]="MonthsFormat",Qt[Qt.MonthsStandalone=6]="MonthsStandalone",Qt[Qt.Eras=7]="Eras",Qt[Qt.FirstDayOfWeek=8]="FirstDayOfWeek",Qt[Qt.WeekendRange=9]="WeekendRange",Qt[Qt.DateFormat=10]="DateFormat",Qt[Qt.TimeFormat=11]="TimeFormat",Qt[Qt.DateTimeFormat=12]="DateTimeFormat",Qt[Qt.NumberSymbols=13]="NumberSymbols",Qt[Qt.NumberFormats=14]="NumberFormats",Qt[Qt.CurrencyCode=15]="CurrencyCode",Qt[Qt.CurrencySymbol=16]="CurrencySymbol",Qt[Qt.CurrencyName=17]="CurrencyName",Qt[Qt.Currencies=18]="Currencies",Qt[Qt.Directionality=19]="Directionality",Qt[Qt.PluralCase=20]="PluralCase",Qt[Qt.ExtraData=21]="ExtraData",Qt))();const Jb=["zero","one","two","few","many"],bs="en-US",va={marker:"element"},ya={marker:"ICU"};var Un=(()=>((Un=Un||{})[Un.SHIFT=2]="SHIFT",Un[Un.APPEND_EAGERLY=1]="APPEND_EAGERLY",Un[Un.COMMENT=2]="COMMENT",Un))();let wp=bs;function Mp(e){(function it(e,t){null==e&&st(t,e,null,"!=")})(e,"Expected localeId to be defined"),"string"==typeof e&&(wp=e.toLowerCase().replace(/_/g,"-"))}function Sp(e,t,i){const s=t.insertBeforeIndex,c=Array.isArray(s)?s[0]:s;return null===c?lf(e,0,i):x(i[c])}function Op(e,t,i,s,c){const g=t.insertBeforeIndex;if(Array.isArray(g)){let C=s,w=null;if(3&t.type||(w=C,C=c),null!==C&&0==(2&t.flags))for(let O=1;O<g.length;O++)qr(e,C,i[g[O]],w,!1)}}function Ip(e,t){if(e.push(t),e.length>1)for(let i=e.length-2;i>=0;i--){const s=e[i];Pp(s)||t0(s,t)&&null===n0(s)&&r0(s,t.index)}}function Pp(e){return!(64&e.type)}function t0(e,t){return Pp(t)||e.index>t.index}function n0(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function r0(e,t){const i=e.insertBeforeIndex;Array.isArray(i)?i[0]=t:(uf(Sp,Op),e.insertBeforeIndex=t)}function Cs(e,t){const i=e.data[t];return null===i||"string"==typeof i?null:i.hasOwnProperty("currentCaseLViewIndex")?i:i.value}function a0(e,t,i){const s=Il(e,i,64,null,null);return Ip(t,s),s}function _a(e,t){const i=t[e.currentCaseLViewIndex];return null===i?i:i<0?~i:i}function Ap(e){return e>>>17}function Rp(e){return(131070&e)>>>1}let Es=0,Ts=0;function Fp(e,t,i,s){const c=i[11];let C,g=null;for(let w=0;w<t.length;w++){const O=t[w];if("string"==typeof O){const H=t[++w];null===i[H]&&(i[H]=ul(c,O))}else if("number"==typeof O)switch(1&O){case 0:const H=Ap(O);let te,Ce;if(null===g&&(g=H,C=Js(c,s)),H===g?(te=s,Ce=C):(te=null,Ce=x(i[H])),null!==Ce){const It=Rp(O);qr(c,Ce,i[It],te,!1);const Vt=Cs(e,It);if(null!==Vt&&"object"==typeof Vt){const _t=_a(Vt,i);null!==_t&&Fp(e,Vt.create[_t],i,i[Vt.anchorIdx])}}break;case 1:const tt=t[++w],gt=t[++w];xl(c,ut(O>>>1,i),null,null,tt,gt,null)}else switch(O){case ya:const H=t[++w],te=t[++w];null===i[te]&&di(i[te]=gy(c,H),i);break;case va:const Ce=t[++w],Ve=t[++w];null===i[Ve]&&di(i[Ve]=dl(c,Ce,null),i)}}}function kp(e,t,i,s,c){for(let g=0;g<i.length;g++){const C=i[g],w=i[++g];if(C&c){let O="";for(let H=g+1;H<=g+w;H++){const te=i[H];if("string"==typeof te)O+=te;else if("number"==typeof te)if(te<0)O+=I(t[s-te]);else{const Ce=te>>>2;switch(3&te){case 1:const Ve=i[++H],tt=i[++H],gt=e.data[Ce];"string"==typeof gt?xl(t[11],t[Ce],null,gt,Ve,O,tt):xi(e,gt,t,Ve,O,t[11],tt,!1);break;case 0:const It=t[Ce];null!==It&&Xd(t[11],It,O);break;case 2:f0(e,Cs(e,Ce),t,O);break;case 3:Np(e,Cs(e,Ce),s,t)}}}}else{const O=i[g+1];if(O>0&&3==(3&O)){const te=Cs(e,O>>>2);t[te.currentCaseLViewIndex]<0&&Np(e,te,s,t)}}g+=w}}function Np(e,t,i,s){let c=s[t.currentCaseLViewIndex];if(null!==c){let g=Es;c<0&&(c=s[t.currentCaseLViewIndex]=~c,g=-1),kp(e,s,t.update[c],i,g)}}function f0(e,t,i,s){const c=function h0(e,t){let i=e.cases.indexOf(t);if(-1===i)switch(e.type){case 1:{const s=function Xb(e,t){const i=Tp(t)(parseInt(e,10)),s=Jb[i];return void 0!==s?s:"other"}(t,function e0(){return wp}());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)!==c&&(Lp(e,t,i),i[t.currentCaseLViewIndex]=null===c?null:~c,null!==c)){const C=i[t.anchorIdx];C&&Fp(e,t.create[c],i,C)}}function Lp(e,t,i){let s=_a(t,i);if(null!==s){const c=t.remove[s];for(let g=0;g<c.length;g++){const C=c[g];if(C>0){const w=ut(C,i);null!==w&&ff(i[11],w)}else Lp(e,Cs(e,~C),i)}}}function p0(){const e=[];let i,s,t=-1;function g(w,O){t=0;const H=_a(w,O);s=null!==H?w.remove[H]:Ct}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 c(w,O){for(i=O;e.length;)e.pop();return g(w.value,O),C}}const ba=/\ufffd(\d+):?\d*\ufffd/gi,m0=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,g0=/\ufffd(\d+)\ufffd/,Bp=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,v0=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,y0=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,_0=/\uE500/g;function Vp(e,t,i,s,c,g,C){const w=To(e,s,1,null);let O=w<<Un.SHIFT,H=Wr();t===H&&(H=null),null===H&&(O|=Un.APPEND_EAGERLY),C&&(O|=Un.COMMENT,function my(e){void 0===sl&&(sl=e())}(p0)),c.push(O,null===g?"":g);const te=Il(e,w,C?32:1,null===g?"":g,null);Ip(i,te);const Ce=te.index;return $i(te,!1),null!==H&&t!==H&&function s0(e,t){let i=e.insertBeforeIndex;null===i?(uf(Sp,Op),i=e.insertBeforeIndex=[null,t]):(function We(e,t,i){e!=t&&st(i,e,t,"==")}(Array.isArray(i),!0,"Expecting array here"),i.push(t))}(H,Ce),te}function E0(e,t,i,s,c,g,C){const w=C.match(ba),O=Vp(e,t,i,g,s,w?null:C,!1);w&&Vo(c,C,O.index,null,0,null)}function Vo(e,t,i,s,c,g){const C=e.length,w=C+1;e.push(null,null);const O=C+2,H=t.split(ba);let te=0;for(let Ce=0;Ce<H.length;Ce++){const Ve=H[Ce];if(1&Ce){const tt=c+parseInt(Ve,10);e.push(-1-tt),te|=$p(tt)}else""!==Ve&&e.push(Ve)}return e.push(i<<2|(s?1:0)),s&&e.push(s,g),e[C]=te,e[w]=e.length-O,te}function D0(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 $p(e){return 1<<Math.min(e,31)}function Hp(e){let t,g,i="",s=0,c=!1;for(;null!==(t=v0.exec(e));)c?t[0]===`\ufffd/*${g}\ufffd`&&(s=t.index,c=!1):(i+=e.substring(s,t.index+t[0].length),g=t[1],c=!0);return i+=e.substr(s),i}function Up(e,t,i,s,c,g){let C=0;const w={type:c.type,currentCaseLViewIndex:To(e,t,1,null),anchorIdx:g,cases:[],create:[],remove:[],update:[]};(function P0(e,t,i){e.push($p(t.mainBinding),2,-1-t.mainBinding,i<<2|2)})(i,c,g),function o0(e,t,i){const s=e.data[t];null===s?e.data[t]=i:s.value=i}(e,g,w);const O=c.values;for(let H=0;H<O.length;H++){const te=O[H],Ce=[];for(let Ve=0;Ve<te.length;Ve++){const tt=te[Ve];if("string"!=typeof tt){const gt=Ce.push(tt)-1;te[Ve]=`\x3c!--\ufffd${gt}\ufffd--\x3e`}}C=O0(e,w,t,i,s,c.cases[H],te.join(""),Ce)|C}C&&function A0(e,t,i){e.push(t,1,i<<2|3)}(i,C,g)}function S0(e){const t=[],i=[];let s=1,c=0;const g=Yc(e=e.replace(Bp,function(C,w,O){return s="select"===O?0:1,c=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=Yc(g[C++]);t.length>i.length&&i.push(O)}return{type:s,mainBinding:c,cases:t,values:i}}function Yc(e){if(!e)return[];let t=0;const i=[],s=[],c=/[{}]/g;let g;for(c.lastIndex=0;g=c.exec(e);){const w=g.index;if("}"==g[0]){if(i.pop(),0==i.length){const O=e.substring(t,w);Bp.test(O)?s.push(S0(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 O0(e,t,i,s,c,g,C,w){const O=[],H=[],te=[];t.cases.push(g),t.create.push(O),t.remove.push(H),t.update.push(te);const Ve=Ed(Jn()).getInertBodyElement(C),tt=qa(Ve)||Ve;return tt?zp(e,t,i,s,O,H,te,tt,c,w,0):0}function zp(e,t,i,s,c,g,C,w,O,H,te){let Ce=0,Ve=w.firstChild;for(;Ve;){const tt=To(e,i,1,null);switch(Ve.nodeType){case Node.ELEMENT_NODE:const gt=Ve,It=gt.tagName.toLowerCase();if(Za.hasOwnProperty(It)){Zc(c,va,It,O,tt),e.data[tt]=It;const Gt=gt.attributes;for(let dn=0;dn<Gt.length;dn++){const Dn=Gt.item(dn),Fi=Dn.name.toLowerCase();Dn.value.match(ba)?Sd.hasOwnProperty(Fi)&&Vo(C,Dn.value,tt,Dn.name,0,Ja[Fi]?ss:Xa[Fi]?Td:null):R0(c,tt,Dn)}Ce=zp(e,t,i,s,c,g,C,Ve,tt,H,te+1)|Ce,Wp(g,tt,te)}break;case Node.TEXT_NODE:const Rt=Ve.textContent||"",Vt=Rt.match(ba);Zc(c,null,Vt?"":Rt,O,tt),Wp(g,tt,te),Vt&&(Ce=Vo(C,Rt,tt,null,0,null)|Ce);break;case Node.COMMENT_NODE:const _t=g0.exec(Ve.textContent||"");if(_t){const dn=H[parseInt(_t[1],10)];Zc(c,ya,"",O,tt),Up(e,i,s,O,dn,tt),I0(g,tt,te)}}Ve=Ve.nextSibling}return Ce}function Wp(e,t,i){0===i&&e.push(t)}function I0(e,t,i){0===i&&(e.push(~t),e.push(t))}function Zc(e,t,i,s,c){null!==t&&e.push(t),e.push(i,c,function l0(e,t,i){return e|t<<17|i<<1}(0,s,c))}function R0(e,t,i){e.push(t<<1|1,i.name,i.value)}const x0=/\[(\ufffd.+?\ufffd?)\]/,F0=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,k0=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,N0=/{([A-Z0-9_]+)}/g,L0=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,j0=/\/\*/,B0=/\d+\:(\d+)/;function Jc(e,t,i=-1){const s=un(),c=bt(),g=20+e,C=On(s.consts,t),w=Wr();s.firstCreatePass&&function C0(e,t,i,s,c,g){const C=Wr(),w=[],O=[],H=[[]];c=function M0(e,t){if(function w0(e){return-1===e}(t))return Hp(e);{const i=e.indexOf(`:${t}\ufffd`)+2+t.toString().length,s=e.search(new RegExp(`\ufffd\\/\\*\\d+:${t}\ufffd`));return Hp(e.substring(i,s))}}(c,g);const te=function b0(e){return e.replace(_0," ")}(c).split(y0);for(let Ce=0;Ce<te.length;Ce++){let Ve=te[Ce];if(0==(1&Ce)){const tt=Yc(Ve);for(let gt=0;gt<tt.length;gt++){let It=tt[gt];if(0==(1>)){const Rt=It;""!==Rt&&E0(e,C,H[0],w,O,i,Rt)}else{const Rt=It;if("object"!=typeof Rt)throw new Error(`Unable to parse ICU expression in "${c}" message.`);Up(e,i,O,t,Rt,Vp(e,C,H[0],i,w,"",!0).index)}}}else{const tt=47===Ve.charCodeAt(0),It=(Ve.charCodeAt(tt?1:0),20+Number.parseInt(Ve.substring(tt?2:1)));if(tt)H.shift(),$i(Wr(),!1);else{const Rt=a0(e,H[0],It);H.unshift([]),$i(Rt,!0)}}}e.data[s]={create:w,update:O}}(s,null===w?0:w.index,c,g,C,i);const O=s.data[g],te=nf(s,w===c[6]?null:w,c);(function d0(e,t,i,s){const c=e[11];for(let g=0;g<t.length;g++){const C=t[g++],w=t[g],O=(C&Un.COMMENT)===Un.COMMENT,H=(C&Un.APPEND_EAGERLY)===Un.APPEND_EAGERLY,te=C>>>Un.SHIFT;let Ce=e[te];null===Ce&&(Ce=e[te]=O?c.createComment(w):ul(c,w)),H&&null!==i&&qr(c,i,Ce,s,!1)}})(c,O.create,te,w&&8&w.type?c[w.index]:null),A(!0)}function Xc(){A(!1)}function Kp(e,t,i){Jc(e,t,i),Xc()}function Qp(e,t){const i=un();!function T0(e,t,i){const c=$n().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(m0.test(O))throw new Error(`ICU expressions are not supported in attributes. Message: "${O}".`);Vo(g,O,c,w,D0(g),null)}}e.data[t]=g}}(i,e+20,On(i.consts,t))}function qc(e){return function c0(e){e&&(Es|=1<<Math.min(Ts,31)),Ts++}(fi(bt(),K(),e)),qc}function Yp(e){!function u0(e,t,i){if(Ts>0){const s=e.data[i];kp(e,t,Array.isArray(s)?s:s.update,er()-Ts-1,Es)}Es=0,Ts=0}(un(),bt(),e+20)}function Zp(e,t={}){return function V0(e,t={}){let i=e;if(x0.test(e)){const s={},c=[0];i=i.replace(F0,(g,C,w)=>{const O=C||w,H=s[O]||[];if(H.length||(O.split("|").forEach(It=>{const Rt=It.match(B0),Vt=Rt?parseInt(Rt[1],10):0,_t=j0.test(It);H.push([Vt,_t,It])}),s[O]=H),!H.length)throw new Error(`i18n postprocess: unmatched placeholder - ${O}`);const te=c[c.length-1];let Ce=0;for(let It=0;It<H.length;It++)if(H[It][0]===te){Ce=It;break}const[Ve,tt,gt]=H[Ce];return tt?c.pop():te!==Ve&&c.push(Ve),H.splice(Ce,1),gt})}return Object.keys(t).length&&(i=i.replace(k0,(s,c,g,C,w,O)=>t.hasOwnProperty(g)?`${c}${t[g]}${O}`:s),i=i.replace(N0,(s,c)=>t.hasOwnProperty(c)?t[c]:s),i=i.replace(L0,(s,c)=>{if(t.hasOwnProperty(c)){const g=t[c];if(!g.length)throw new Error(`i18n postprocess: unmatched ICU - ${s} with key: ${c}`);return g.shift()}return s})),i}(e,t)}function eu(e,t,i,s,c){if(e=v(e),Array.isArray(e))for(let g=0;g<e.length;g++)eu(e[g],t,i,s,c);else{const g=un(),C=bt();let w=Mo(e)?e:v(e.provide),O=rh(e);const H=$n(),te=1048575&H.providerIndexes,Ce=H.directiveStart,Ve=H.providerIndexes>>20;if(Mo(e)||!e.multi){const tt=new kn(O,c,ys),gt=nu(w,t,c?te:te+Ve,Ce);-1===gt?(js(Jo(H,C),g,w),tu(g,e,t.length),t.push(w),H.directiveStart++,H.directiveEnd++,c&&(H.providerIndexes+=1048576),i.push(tt),C.push(tt)):(i[gt]=tt,C[gt]=tt)}else{const tt=nu(w,t,te+Ve,Ce),gt=nu(w,t,te,te+Ve),It=tt>=0&&i[tt],Rt=gt>=0&&i[gt];if(c&&!Rt||!c&&!It){js(Jo(H,C),g,w);const Vt=function z0(e,t,i,s,c){const g=new kn(e,i,ys);return g.multi=[],g.index=t,g.componentProviders=0,Jp(g,c,s&&!i),g}(c?U0:H0,i.length,c,s,O);!c&&Rt&&(i[gt].providerFactory=Vt),tu(g,e,t.length,0),t.push(w),H.directiveStart++,H.directiveEnd++,c&&(H.providerIndexes+=1048576),i.push(Vt),C.push(Vt)}else tu(g,e,tt>-1?tt:gt,Jp(i[c?gt:tt],O,!c&&s));!c&&s&&Rt&&i[gt].componentProviders++}}}function tu(e,t,i,s){const c=Mo(t),g=function R_(e){return!!e.useClass}(t);if(c||g){const O=(g?v(t.useClass):t).prototype.ngOnDestroy;if(O){const H=e.destroyHooks||(e.destroyHooks=[]);if(!c&&t.multi){const te=H.indexOf(i);-1===te?H.push(i,[s,O]):H[te+1].push(s,O)}else H.push(i,O)}}}function Jp(e,t,i){return i&&e.componentProviders++,e.multi.push(t)-1}function nu(e,t,i,s){for(let c=i;c<s;c++)if(t[c]===e)return c;return-1}function H0(e,t,i,s){return iu(this.multi,[])}function U0(e,t,i,s){const c=this.multi;let g;if(this.providerFactory){const C=this.providerFactory.componentProviders,w=Xo(i,i[1],this.providerFactory.index,s);g=w.slice(0,C),iu(c,g);for(let O=C;O<w.length;O++)g.push(w[O])}else g=[],iu(c,g);return g}function iu(e,t){for(let i=0;i<e.length;i++)t.push((0,e[i])());return t}function Xp(e,t=[]){return i=>{i.providersResolver=(s,c)=>function $0(e,t,i){const s=un();if(s.firstCreatePass){const c=Kn(e);eu(i,s.data,s.blueprint,c,!0),eu(t,s.data,s.blueprint,c,!1)}}(s,c?c(e):e,t)}}class qp{}class Ca{}class G0{resolveComponentFactory(t){throw function W0(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 G0,e})();function K0(){return $o($n(),bt())}function $o(e,t){return new ws(yt(e,t))}let ws=(()=>{class e{constructor(i){this.nativeElement=i}}return e.__NG_ELEMENT_ID__=K0,e})();function Q0(e){return e instanceof ws?e.nativeElement:e}class tm{}let Y0=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function J0(){const e=bt(),i=rn($n().index,e);return function Z0(e){return e[11]}(Mn(i)?i:e)}(),e})(),nm=(()=>{class e{}return e.\u0275prov=qe({token:e,providedIn:"root",factory:()=>null}),e})();class im{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const rm=new im("13.3.6"),Ta={};function Da(e,t,i,s,c=!1){for(;null!==i;){const g=t[i.index];if(null!==g&&s.push(x(g)),jn(g))for(let w=10;w<g.length;w++){const O=g[w],H=O[1].firstChild;null!==H&&Da(O[1],O,H,s)}const C=i.type;if(8&C)Da(e,t,i.child,s);else if(32&C){const w=al(i,t);let O;for(;O=w();)s.push(O)}else if(16&C){const w=df(t,i);if(Array.isArray(w))s.push(...w);else{const O=us(t[16]);Da(O[1],O,w,s,!0)}}i=c?i.projectionNext:i.next}return s}class Ho{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(jn(t)){const i=t[8],s=i?i.indexOf(this):-1;s>-1&&(fl(t,s),$s(i,s))}this._attachedToViewContainer=!1}ef(this._lView[1],this._lView)}onDestroy(t){jf(this._lView[1],this._lView,null,t)}markForCheck(){kl(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Ll(this._lView[1],this._lView,this.context)}checkNoChanges(){!function T_(e,t,i){Kr(!0);try{Ll(e,t,i)}finally{Kr(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new S(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function _y(e,t){ds(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 X0 extends Ho{constructor(t){super(t),this._view=t}detectChanges(){Kf(this._view)}checkNoChanges(){!function D_(e){Kr(!0);try{Kf(e)}finally{Kr(!1)}}(this._view)}get context(){return null}}class om extends Ea{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const i=ke(t);return new wa(i,this.ngModule)}}function sm(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 By(e){return e.map(jy).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!i}get inputs(){return sm(this.componentDef.inputs)}get outputs(){return sm(this.componentDef.outputs)}create(t,i,s,c){const g=(c=c||this.ngModule)?function eC(e,t){return{get:(i,s,c)=>{const g=e.get(i,Ta,c);return g!==Ta||s===Ta?g:t.get(i,s,c)}}}(t,c.injector):t,C=g.get(tm,F),w=g.get(nm,null),O=C.createRenderer(null,this.componentDef),H=this.componentDef.selectors[0][0]||"div",te=s?Lf(O,s,this.componentDef.encapsulation):dl(C.createRenderer(null,this.componentDef),H,function q0(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?Vn:null}(H)),Ce=this.componentDef.onPush?576:528,Ve=gh(),tt=ia(0,null,null,1,0,null,null,null,null,null),gt=fs(null,tt,Ve,Ce,null,null,C,O,w,g);let It,Rt;Jt(gt);try{const Vt=ph(te,this.componentDef,gt,C,O);if(te)if(s)Ai(O,te,["ng-version",rm.full]);else{const{attrs:_t,classes:Gt}=function Vy(e){const t=[],i=[];let s=1,c=2;for(;s<e.length;){let g=e[s];if("string"==typeof g)2===c?""!==g&&t.push(g,e[++s]):8===c&&i.push(g);else{if(!nr(c))break;c=g}s++}return{attrs:t,classes:i}}(this.componentDef.selectors[0]);_t&&Ai(O,te,_t),Gt&&Gt.length>0&&vl(O,te,Gt.join(" "))}if(Rt=Cn(tt,20),void 0!==i){const _t=Rt.projection=[];for(let Gt=0;Gt<this.ngContentSelectors.length;Gt++){const dn=i[Gt];_t.push(null!=dn?Array.from(dn):null)}}It=mh(Vt,this.componentDef,gt,Ve,[vh]),hs(tt,gt,null)}finally{Fn()}return new am(this.componentType,It,$o(Rt,gt),gt,Rt)}}class am extends qp{constructor(t,i,s,c,g){super(),this.location=s,this._rootLView=c,this._tNode=g,this.instance=i,this.hostView=this.changeDetectorRef=new X0(c),this.componentType=t}get injector(){return new lo(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function lm(e,t,i,s){return Et(()=>{const c=e;null!==t&&(c.hasOwnProperty("decorators")&&void 0!==c.decorators?c.decorators.push(...t):c.decorators=t),null!==i&&(c.ctorParameters=i),null!==s&&(c.propDecorators=c.hasOwnProperty("propDecorators")&&void 0!==c.propDecorators?Object.assign(Object.assign({},c.propDecorators),s):s)})}class Uo{}class cm{}const zo=new Map;function dm(e){const t=new Set;!function i(s){const c=jt(s,!0),g=c.id;if(null!==g){(function um(e,t,i){if(t&&t!==i)throw new Error(`Duplicate module registered for ${e} - ${p(t)} vs ${p(t.name)}`)})(g,zo.get(g),s),zo.set(g,s)}const C=vr(c.imports);for(const w of C)t.has(w)||(t.add(w),i(w))}(e)}function fm(e){return zo.get(e)||je[e]}function nC(e,t){return new ru(e,null!=t?t:null)}class ru extends Uo{constructor(t,i){super(),this._parent=i,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new om(this);const s=jt(t);this._bootstrapComponents=vr(s.bootstrap),this._r3Injector=ih(t,i,[{provide:Uo,useValue:this},{provide:Ea,useValue:this.componentFactoryResolver}],p(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,i=rr.THROW_IF_NOT_FOUND,s=L.Default){return t===rr||t===Uo||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 cm{constructor(t){super(),this.moduleType=t,null!==jt(t)&&dm(t)}create(t){return new ru(this.moduleType,t)}}function hm(e,t,i){const s=ii()+e,c=bt();return c[s]===en?br(c,s,i?t.call(i):t()):gs(c,s)}function pm(e,t,i,s){return Tm(bt(),ii(),e,t,i,s)}function mm(e,t,i,s,c){return Dm(bt(),ii(),e,t,i,s,c)}function gm(e,t,i,s,c,g){return wm(bt(),ii(),e,t,i,s,c,g)}function vm(e,t,i,s,c,g,C){return Mm(bt(),ii(),e,t,i,s,c,g,C)}function ym(e,t,i,s,c,g,C,w){const O=ii()+e,H=bt(),te=Qi(H,O,i,s,c,g);return fi(H,O+4,C)||te?br(H,O+5,w?t.call(w,i,s,c,g,C):t(i,s,c,g,C)):gs(H,O+5)}function _m(e,t,i,s,c,g,C,w,O){const H=ii()+e,te=bt(),Ce=Qi(te,H,i,s,c,g);return eo(te,H+4,C,w)||Ce?br(te,H+6,O?t.call(O,i,s,c,g,C,w):t(i,s,c,g,C,w)):gs(te,H+6)}function bm(e,t,i,s,c,g,C,w,O,H){const te=ii()+e,Ce=bt();let Ve=Qi(Ce,te,i,s,c,g);return la(Ce,te+4,C,w,O)||Ve?br(Ce,te+7,H?t.call(H,i,s,c,g,C,w,O):t(i,s,c,g,C,w,O)):gs(Ce,te+7)}function Cm(e,t,i,s,c,g,C,w,O,H,te){const Ce=ii()+e,Ve=bt(),tt=Qi(Ve,Ce,i,s,c,g);return Qi(Ve,Ce+4,C,w,O,H)||tt?br(Ve,Ce+8,te?t.call(te,i,s,c,g,C,w,O,H):t(i,s,c,g,C,w,O,H)):gs(Ve,Ce+8)}function Em(e,t,i,s){return Sm(bt(),ii(),e,t,i,s)}function Ms(e,t){const i=e[t];return i===en?void 0:i}function Tm(e,t,i,s,c,g){const C=t+i;return fi(e,C,c)?br(e,C+1,g?s.call(g,c):s(c)):Ms(e,C+1)}function Dm(e,t,i,s,c,g,C){const w=t+i;return eo(e,w,c,g)?br(e,w+2,C?s.call(C,c,g):s(c,g)):Ms(e,w+2)}function wm(e,t,i,s,c,g,C,w){const O=t+i;return la(e,O,c,g,C)?br(e,O+3,w?s.call(w,c,g,C):s(c,g,C)):Ms(e,O+3)}function Mm(e,t,i,s,c,g,C,w,O){const H=t+i;return Qi(e,H,c,g,C,w)?br(e,H+4,O?s.call(O,c,g,C,w):s(c,g,C,w)):Ms(e,H+4)}function Sm(e,t,i,s,c,g){let C=t+i,w=!1;for(let O=0;O<c.length;O++)fi(e,C++,c[O])&&(w=!0);return w?br(e,C,s.apply(g,c)):Ms(e,C)}function Om(e,t){const i=un();let s;const c=e+20;i.firstCreatePass?(s=function iC(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[c]=s,s.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(c,s.onDestroy)):s=i.data[c];const g=s.factory||(s.factory=Zn(s.type)),C=Je(ys);try{const w=Ns(!1),O=g();return Ns(w),Eh(i,bt(),c,O),O}finally{Je(C)}}function Im(e,t,i){const s=e+20,c=bt(),g=cn(c,s);return Ss(c,s)?Tm(c,ii(),t,g.transform,i,g):g.transform(i)}function Pm(e,t,i,s){const c=e+20,g=bt(),C=cn(g,c);return Ss(g,c)?Dm(g,ii(),t,C.transform,i,s,C):C.transform(i,s)}function Am(e,t,i,s,c){const g=e+20,C=bt(),w=cn(C,g);return Ss(C,g)?wm(C,ii(),t,w.transform,i,s,c,w):w.transform(i,s,c)}function Rm(e,t,i,s,c,g){const C=e+20,w=bt(),O=cn(w,C);return Ss(w,C)?Mm(w,ii(),t,O.transform,i,s,c,g,O):O.transform(i,s,c,g)}function xm(e,t,i){const s=e+20,c=bt(),g=cn(c,s);return Ss(c,s)?Sm(c,ii(),t,g.transform,i,g):g.transform.apply(g,i)}function Ss(e,t){return e[1].data[t].pure}function ou(e){return t=>{setTimeout(e,void 0,t)}}const Er=class rC extends n.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,i,s){var c,g,C;let w=t,O=i||(()=>null),H=s;if(t&&"object"==typeof t){const Ce=t;w=null===(c=Ce.next)||void 0===c?void 0:c.bind(Ce),O=null===(g=Ce.error)||void 0===g?void 0:g.bind(Ce),H=null===(C=Ce.complete)||void 0===C?void 0:C.bind(Ce)}this.__isAsync&&(O=ou(O),w&&(w=ou(w)),H&&(H=ou(H)));const te=super.subscribe({next:w,error:O,complete:H});return t instanceof h.w0&&t.add(te),te}};function oC(){return this._results[So()]()}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=So(),s=Sa.prototype;s[i]||(s[i]=oC)}get changes(){return this._changes||(this._changes=new Er)}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 c=Gi(t);(this._changesDetected=!function av(e,t,i){if(e.length!==t.length)return!1;for(let s=0;s<e.length;s++){let c=e[s],g=t[s];if(i&&(c=i(c),g=i(g)),g!==c)return!1}return!0}(s._results,c,i))&&(s._results=c,s.length=c.length,s.last=c[this.length-1],s.first=c[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;let Os=(()=>{class e{}return e.__NG_ELEMENT_ID__=lC,e})();const sC=Os,aC=class extends sC{constructor(t,i,s){super(),this._declarationLView=t,this._declarationTContainer=i,this.elementRef=s}createEmbeddedView(t){const i=this._declarationTContainer.tViews,s=fs(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)),hs(i,s,t),new Ho(s)}};function lC(){return Oa($n(),bt())}function Oa(e,t){return 4&e.type?new aC(t,e,$o(e,t)):null}let Ia=(()=>{class e{}return e.__NG_ELEMENT_ID__=cC,e})();function cC(){return Nm($n(),bt())}const uC=Ia,Fm=class extends uC{constructor(t,i,s){super(),this._lContainer=t,this._hostTNode=i,this._hostLView=s}get element(){return $o(this._hostTNode,this._hostLView)}get injector(){return new lo(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ls(this._hostTNode,this._hostLView);if(Qu(t)){const i=ao(t,this._hostLView),s=so(t);return new lo(i[1].data[s+8],i)}return new lo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const i=km(this._lContainer);return null!==i&&i[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,i,s){const c=t.createEmbeddedView(i||{});return this.insert(c,s),c}createComponent(t,i,s,c,g){const C=t&&!es(t);let w;if(C)w=i;else{const Ce=i||{};w=Ce.index,s=Ce.injector,c=Ce.projectableNodes,g=Ce.ngModuleRef}const O=C?t:new wa(ke(t)),H=s||this.parentInjector;if(!g&&null==O.ngModule){const Ve=(C?H:this.parentInjector).get(Uo,null);Ve&&(g=Ve)}const te=O.create(H,c,void 0,g);return this.insert(te.hostView,w),te}insert(t,i){const s=t._lView,c=s[1];if(function bn(e){return jn(e[3])}(s)){const te=this.indexOf(t);if(-1!==te)this.detach(te);else{const Ce=s[3],Ve=new Fm(Ce,Ce[6],Ce[3]);Ve.detach(Ve.indexOf(t))}}const g=this._adjustIndex(i),C=this._lContainer;!function Cy(e,t,i,s){const c=10+s,g=i.length;s>0&&(i[c-1][4]=t),s<g-10?(t[4]=i[c],sd(i,10+s,t)):(i.push(t),t[4]=null),t[3]=i;const C=t[17];null!==C&&i!==C&&function Ey(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}(c,s,C,g);const w=ml(g,C),O=s[11],H=Js(O,C[7]);return null!==H&&function yy(e,t,i,s,c,g){s[0]=c,s[6]=t,ds(e,s,i,1,c,g)}(c,C[6],O,s,H,w),t.attachToViewContainerRef(),sd(su(C),g,t),t}move(t,i){return this.insert(t,i)}indexOf(t){const i=km(this._lContainer);return null!==i?i.indexOf(t):-1}remove(t){const i=this._adjustIndex(t,-1),s=fl(this._lContainer,i);s&&($s(su(this._lContainer),i),ef(s[1],s))}detach(t){const i=this._adjustIndex(t,-1),s=fl(this._lContainer,i);return s&&null!=$s(su(this._lContainer),i)?new Ho(s):null}_adjustIndex(t,i=0){return null==t?this.length+i:t}};function km(e){return e[8]}function su(e){return e[8]||(e[8]=[])}function Nm(e,t){let i;const s=t[e.index];if(jn(s))i=s;else{let c;if(8&e.type)c=x(s);else{const g=t[11];c=g.createComment("");const C=yt(e,t);qr(g,Js(g,C),c,function My(e,t){return Tn(e)?e.nextSibling(t):t.nextSibling}(g,C),!1)}t[e.index]=i=Gf(s,t,c,e),ra(t,i)}return new Fm(i,e,t)}class au{constructor(t){this.queryList=t,this.matches=null}clone(){return new au(this.queryList)}setDirty(){this.queryList.setDirty()}}class lu{constructor(t=[]){this.queries=t}createEmbeddedView(t){const i=t.queries;if(null!==i){const s=null!==t.contentQueries?t.contentQueries[0]:i.length,c=[];for(let g=0;g<s;g++){const C=i.getByIndex(g);c.push(this.queries[C.indexInDeclarationView].clone())}return new lu(c)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let i=0;i<this.queries.length;i++)null!==Wm(t,i).matches&&this.queries[i].setDirty()}}class Lm{constructor(t,i,s=null){this.predicate=t,this.flags=i,this.read=s}}class cu{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 c=null!==i?i.length:0,g=this.getByIndex(s).embeddedTView(t,c);g&&(g.indexInDeclarationView=s,null!==i?i.push(g):i=[g])}return null!==i?new cu(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 uu{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 uu(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 c=0;c<s.length;c++){const g=s[c];this.matchTNodeWithReadOption(t,i,hC(i,g)),this.matchTNodeWithReadOption(t,i,Bs(i,t,g,!1,!1))}else s===Os?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 c=this.metadata.read;if(null!==c)if(c===ws||c===Ia||c===Os&&4&i.type)this.addMatch(i.index,-2);else{const g=Bs(i,t,c,!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 hC(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 mC(e,t,i,s){return-1===i?function pC(e,t){return 11&e.type?$o(e,t):4&e.type?Oa(e,t):null}(t,e):-2===i?function gC(e,t,i){return i===ws?$o(t,e):i===Os?Oa(t,e):i===Ia?Nm(t,e):void 0}(e,t,s):Xo(e,e[1],i,t)}function jm(e,t,i,s){const c=t[19].queries[s];if(null===c.matches){const g=e.data,C=i.matches,w=[];for(let O=0;O<C.length;O+=2){const H=C[O];w.push(H<0?null:mC(t,g[H],C[O+1],i.metadata.read))}c.matches=w}return c.matches}function du(e,t,i,s){const c=e.queries.getByIndex(i),g=c.matches;if(null!==g){const C=jm(e,t,c,i);for(let w=0;w<g.length;w+=2){const O=g[w];if(O>0)s.push(C[w/2]);else{const H=g[w+1],te=t[-O];for(let Ce=10;Ce<te.length;Ce++){const Ve=te[Ce];Ve[17]===Ve[3]&&du(Ve[1],Ve,H,s)}if(null!==te[9]){const Ce=te[9];for(let Ve=0;Ve<Ce.length;Ve++){const tt=Ce[Ve];du(tt[1],tt,H,s)}}}}}return s}function Bm(e){const t=bt(),i=un(),s=nt();vt(s+1);const c=Wm(i,s);if(e.dirty&&sn(t)===(2==(2&c.metadata.flags))){if(null===c.matches)e.reset([]);else{const g=c.crossesNgTemplate?du(i,t,s,[]):jm(i,t,c,s);e.reset(g,Q0),e.notifyOnChanges()}return!0}return!1}function Vm(e,t,i){const s=un();s.firstCreatePass&&(zm(s,new Lm(e,t,i),-1),2==(2&t)&&(s.staticViewQueries=!0)),Um(s,bt(),t)}function $m(e,t,i,s){const c=un();if(c.firstCreatePass){const g=$n();zm(c,new Lm(t,i,s),g.index),function yC(e,t){const i=e.contentQueries||(e.contentQueries=[]);t!==(i.length?i[i.length-1]:-1)&&i.push(e.queries.length-1,t)}(c,e),2==(2&i)&&(c.staticContentQueries=!0)}Um(c,bt(),i)}function Hm(){return function vC(e,t){return e[19].queries[t].queryList}(bt(),nt())}function Um(e,t,i){const s=new Sa(4==(4&i));jf(e,t,s,s.destroy),null===t[19]&&(t[19]=new lu),t[19].queries.push(new au(s))}function zm(e,t,i){null===e.queries&&(e.queries=new cu),e.queries.track(new uu(t,i))}function Wm(e,t){return e.queries.getByIndex(t)}function Gm(e,t){return Oa(e,t)}const yi=(()=>({\u0275\u0275attribute:Yl,\u0275\u0275attributeInterpolate1:Zl,\u0275\u0275attributeInterpolate2:Jl,\u0275\u0275attributeInterpolate3:Xl,\u0275\u0275attributeInterpolate4:ql,\u0275\u0275attributeInterpolate5:ec,\u0275\u0275attributeInterpolate6:tc,\u0275\u0275attributeInterpolate7:nc,\u0275\u0275attributeInterpolate8:ic,\u0275\u0275attributeInterpolateV:rc,\u0275\u0275defineComponent:Y,\u0275\u0275defineDirective:Ae,\u0275\u0275defineInjectable:qe,\u0275\u0275defineInjector:Ge,\u0275\u0275defineNgModule:ft,\u0275\u0275definePipe:ge,\u0275\u0275directiveInject:ys,\u0275\u0275getInheritedFactory:id,\u0275\u0275inject:si,\u0275\u0275injectAttribute:ja,\u0275\u0275invalidFactory:kh,\u0275\u0275invalidFactoryDep:Wa,\u0275\u0275templateRefExtractor:Gm,\u0275\u0275NgOnChangesFeature:Ci,\u0275\u0275ProvidersFeature:Xp,\u0275\u0275CopyDefinitionFeature:_h,\u0275\u0275InheritDefinitionFeature:Gl,\u0275\u0275nextContext:$h,\u0275\u0275namespaceHTML:Ui,\u0275\u0275namespaceMathML:Hi,\u0275\u0275namespaceSVG:ri,\u0275\u0275enableBindings:Sr,\u0275\u0275disableBindings:Or,\u0275\u0275elementStart:ua,\u0275\u0275elementEnd:da,\u0275\u0275element:uc,\u0275\u0275elementContainerStart:fa,\u0275\u0275elementContainerEnd:ha,\u0275\u0275elementContainer:dc,\u0275\u0275pureFunction0:hm,\u0275\u0275pureFunction1:pm,\u0275\u0275pureFunction2:mm,\u0275\u0275pureFunction3:gm,\u0275\u0275pureFunction4:vm,\u0275\u0275pureFunction5:ym,\u0275\u0275pureFunction6:_m,\u0275\u0275pureFunction7:bm,\u0275\u0275pureFunction8:Cm,\u0275\u0275pureFunctionV:Em,\u0275\u0275getCurrentView:Nh,\u0275\u0275restoreView:Ko,\u0275\u0275listener:hc,\u0275\u0275projection:Uh,\u0275\u0275syntheticHostProperty:Kc,\u0275\u0275syntheticHostListener:pc,\u0275\u0275pipeBind1:Im,\u0275\u0275pipeBind2:Pm,\u0275\u0275pipeBind3:Am,\u0275\u0275pipeBind4:Rm,\u0275\u0275pipeBindV:xm,\u0275\u0275projectionDef:Hh,\u0275\u0275hostProperty:Gc,\u0275\u0275property:lc,\u0275\u0275propertyInterpolate:gc,\u0275\u0275propertyInterpolate1:pa,\u0275\u0275propertyInterpolate2:vc,\u0275\u0275propertyInterpolate3:yc,\u0275\u0275propertyInterpolate4:_c,\u0275\u0275propertyInterpolate5:bc,\u0275\u0275propertyInterpolate6:Cc,\u0275\u0275propertyInterpolate7:Ec,\u0275\u0275propertyInterpolate8:Tc,\u0275\u0275propertyInterpolateV:Dc,\u0275\u0275pipe:Om,\u0275\u0275queryRefresh:Bm,\u0275\u0275viewQuery:Vm,\u0275\u0275loadQuery:Hm,\u0275\u0275contentQuery:$m,\u0275\u0275reference:Th,\u0275\u0275classMap:Jh,\u0275\u0275classMapInterpolate1:op,\u0275\u0275classMapInterpolate2:sp,\u0275\u0275classMapInterpolate3:ap,\u0275\u0275classMapInterpolate4:lp,\u0275\u0275classMapInterpolate5:cp,\u0275\u0275classMapInterpolate6:up,\u0275\u0275classMapInterpolate7:dp,\u0275\u0275classMapInterpolate8:fp,\u0275\u0275classMapInterpolateV:hp,\u0275\u0275styleMap:or,\u0275\u0275styleMapInterpolate1:pp,\u0275\u0275styleMapInterpolate2:mp,\u0275\u0275styleMapInterpolate3:gp,\u0275\u0275styleMapInterpolate4:vp,\u0275\u0275styleMapInterpolate5:yp,\u0275\u0275styleMapInterpolate6:_p,\u0275\u0275styleMapInterpolate7:bp,\u0275\u0275styleMapInterpolate8:Cp,\u0275\u0275styleMapInterpolateV:Ep,\u0275\u0275styleProp:wc,\u0275\u0275stylePropInterpolate1:Lc,\u0275\u0275stylePropInterpolate2:jc,\u0275\u0275stylePropInterpolate3:Bc,\u0275\u0275stylePropInterpolate4:Vc,\u0275\u0275stylePropInterpolate5:$c,\u0275\u0275stylePropInterpolate6:Hc,\u0275\u0275stylePropInterpolate7:Uc,\u0275\u0275stylePropInterpolate8:zc,\u0275\u0275stylePropInterpolateV:Wc,\u0275\u0275classProp:Mc,\u0275\u0275advance:bf,\u0275\u0275template:Ch,\u0275\u0275text:rp,\u0275\u0275textInterpolate:Oc,\u0275\u0275textInterpolate1:ga,\u0275\u0275textInterpolate2:Ic,\u0275\u0275textInterpolate3:Pc,\u0275\u0275textInterpolate4:Ac,\u0275\u0275textInterpolate5:Rc,\u0275\u0275textInterpolate6:xc,\u0275\u0275textInterpolate7:Fc,\u0275\u0275textInterpolate8:kc,\u0275\u0275textInterpolateV:Nc,\u0275\u0275i18n:Kp,\u0275\u0275i18nAttributes:Qp,\u0275\u0275i18nExp:qc,\u0275\u0275i18nStart:Jc,\u0275\u0275i18nEnd:Xc,\u0275\u0275i18nApply:Yp,\u0275\u0275i18nPostprocess:Zp,\u0275\u0275resolveWindow:zd,\u0275\u0275resolveDocument:Wd,\u0275\u0275resolveBody:Gd,\u0275\u0275setComponentScope:z,\u0275\u0275setNgModuleScope:Ft,\u0275\u0275sanitizeHtml:Pd,\u0275\u0275sanitizeStyle:Ad,\u0275\u0275sanitizeResourceUrl:tl,\u0275\u0275sanitizeScript:Rd,\u0275\u0275sanitizeUrl:el,\u0275\u0275sanitizeUrlOrResourceUrl:kd,\u0275\u0275trustConstantHtml:xd,\u0275\u0275trustConstantResourceUrl:Fd,forwardRef:_,resolveForwardRef:v}))();let Wo=null;function CC(){Wo=null}const Is=[];let fu=!1;function Km(){if(!fu){fu=!0;try{for(let e=Is.length-1;e>=0;e--){const{moduleType:t,ngModule:i}=Is[e];i.declarations&&i.declarations.every(Qm)&&(Is.splice(e,1),DC(t,i))}}finally{fu=!1}}}function Qm(e){return Array.isArray(e)?e.every(Qm):!!v(e)}function Ym(e,t={}){Zm(e,t),function EC(e,t){Is.push({moduleType:e,ngModule:t})}(e,t)}function Zm(e,t,i=!1){const s=Gi(t.declarations||Ct);let c=null;Object.defineProperty(e,fe,{configurable:!0,get:()=>(null===c&&(c=qn().compileNgModule(yi,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:Gi(t.bootstrap||Ct).map(v),declarations:s.map(v),imports:Gi(t.imports||Ct).map(v).map(eg),exports:Gi(t.exports||Ct).map(v).map(eg),schemas:t.schemas?Gi(t.schemas):null,id:t.id||null}),c.schemas||(c.schemas=[])),c)});let g=null;Object.defineProperty(e,q,{get:()=>{if(null===g){const w=qn();g=w.compileFactory(yi,`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||Ct,imports:[(t.imports||Ct).map(v),(t.exports||Ct).map(v)]};C=qn().compileInjector(yi,`ng:///${e.name}/\u0275inj.js`,w)}return C},configurable:!1})}let Pa=new WeakMap,pu=new WeakMap;function TC(){Pa=new WeakMap,pu=new WeakMap,Is.length=0}function DC(e,t){const i=Gi(t.declarations||Ct),s=Ps(e);i.forEach(c=>{c.hasOwnProperty($t)?mu(ke(c),s):!c.hasOwnProperty(Mt)&&!c.hasOwnProperty(Ht)&&(c.ngSelectorScope=e)})}function mu(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map(i=>i.hasOwnProperty($t)?ke(i):ct(i)).filter(i=>!!i),e.pipeDefs=()=>Array.from(t.compilation.pipes).map(i=>xt(i)),e.schemas=t.schemas,e.tView=null}function Ps(e){if(!gu(e))throw new Error(`${e.name} does not have a module def (\u0275mod property)`);const t=jt(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 vr(t.imports).forEach(s=>{const c=s;if(!gu(c))throw new Error(`Importing ${c.name} which does not have a \u0275mod property`);const g=Ps(c);g.exported.directives.forEach(C=>i.compilation.directives.add(C)),g.exported.pipes.forEach(C=>i.compilation.pipes.add(C))}),vr(t.declarations).forEach(s=>{xt(s)?i.compilation.pipes.add(s):i.compilation.directives.add(s)}),vr(t.exports).forEach(s=>{const c=s;if(gu(c)){const g=Ps(c);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 xt(c)?i.exported.pipes.add(c):i.exported.directives.add(c)}),t.transitiveCompileScopes=i,i}function eg(e){return function wC(e){return void 0!==e.ngModule}(e)?e.ngModule:e}function gu(e){return!!jt(e)}let vu=0;function tg(e,t){let i=null;(function Dv(e,t){gd(t)&&(vo.set(e,t),os.add(e))})(e,t),ig(e,t),Object.defineProperty(e,$t,{get:()=>{if(null===i){const s=qn();if(gd(t)){const H=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&H.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&H.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),H.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(H.join("\n"))}const c=function bC(){return Wo}();let g=t.preserveWhitespaces;void 0===g&&(g=null!==c&&void 0!==c.preserveWhitespaces&&c.preserveWhitespaces);let C=t.encapsulation;void 0===C&&(C=null!==c&&void 0!==c.defaultEncapsulation?c.defaultEncapsulation:Ee.Emulated);const w=t.templateUrl||`ng:///${e.name}/template.html`,O=Object.assign(Object.assign({},rg(e,t)),{typeSourceSpan:s.createParseSourceSpan("Component",e.name,w),template:t.template||"",preserveWhitespaces:g,styles:t.styles||Ct,animations:t.animations,directives:[],changeDetection:t.changeDetection,pipes:new Map,encapsulation:C,interpolation:t.interpolation,viewProviders:t.viewProviders||null});vu++;try{O.usesInheritance&&og(e),i=s.compileComponent(yi,w,O)}finally{vu--}if(0===vu&&Km(),function MC(e){return void 0!==e.ngSelectorScope}(e)){const H=Ps(e.ngSelectorScope);mu(i,H)}}return i},configurable:!1})}function yu(e,t){let i=null;ig(e,t||{}),Object.defineProperty(e,Mt,{get:()=>{if(null===i){const s=ng(e,t||{});i=qn().compileDirective(yi,s.sourceMapUrl,s.metadata)}return i},configurable:!1})}function ng(e,t){const i=e&&e.name,s=`ng:///${i}/\u0275dir.js`,c=qn(),g=rg(e,t);return g.typeSourceSpan=c.createParseSourceSpan("Directive",i,s),g.usesInheritance&&og(e),{metadata:g,sourceMapUrl:s}}function ig(e,t){let i=null;Object.defineProperty(e,q,{get:()=>{if(null===i){const s=ng(e,t),c=qn();i=c.compileFactory(yi,`ng:///${e.name}/\u0275fac.js`,{name:s.metadata.name,type:s.metadata.type,typeArgumentCount:0,deps:Gs(e),target:c.FactoryTarget.Directive})}return i},configurable:!1})}function SC(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function rg(e,t){const i=Ka(),s=i.ownPropMetadata(e);return{name:e.name,type:e,selector:void 0!==t.selector?t.selector:null,host:t.host||Tt,propMetadata:s,inputs:t.inputs||Ct,outputs:t.outputs||Ct,queries:sg(e,s,ag),lifecycle:{usesOnChanges:i.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!SC(e),exportAs:PC(t.exportAs),providers:t.providers||null,viewQueries:sg(e,s,lg)}}function og(e){const t=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==t;)!ct(i)&&!ke(i)&&RC(i)&&yu(i,null),i=Object.getPrototypeOf(i)}function OC(e){return"string"==typeof e?ug(e):v(e)}function IC(e,t){return{propertyName:e,predicate:OC(t.selector),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static,emitDistinctChangesOnly:!!t.emitDistinctChangesOnly}}function sg(e,t,i){const s=[];for(const c in t)if(t.hasOwnProperty(c)){const g=t[c];g.forEach(C=>{if(i(C)){if(!C.selector)throw new Error(`Can't construct a query for the property "${c}" of "${V(e)}" since the query selector wasn't defined.`);if(g.some(cg))throw new Error("Cannot combine @Input decorators with query decorators");s.push(IC(c,C))}})}return s}function PC(e){return void 0===e?null:ug(e)}function ag(e){const t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function lg(e){const t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function cg(e){return"Input"===e.ngMetadataName}function ug(e){return e.split(",").map(t=>t.trim())}const AC=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function RC(e){const t=Ka();if(AC.some(s=>t.hasLifecycleHook(e,s)))return!0;const i=t.propMetadata(e);for(const s in i){const c=i[s];for(let g=0;g<c.length;g++){const C=c[g],w=C.ngMetadataName;if(cg(C)||ag(C)||lg(C)||"Output"===w||"HostBinding"===w||"HostListener"===w)return!0}}return!1}function dg(e,t){let i=null,s=null;Object.defineProperty(e,q,{get:()=>{if(null===s){const c=fg(e,t),g=qn();s=g.compileFactory(yi,`ng:///${c.name}/\u0275fac.js`,{name:c.name,type:c.type,typeArgumentCount:0,deps:Gs(e),target:g.FactoryTarget.Pipe})}return s},configurable:!1}),Object.defineProperty(e,Ht,{get:()=>{if(null===i){const c=fg(e,t);i=qn().compilePipe(yi,`ng:///${c.name}/\u0275pipe.js`,c)}return i},configurable:!1})}function fg(e,t){return{type:e,name:e.name,pipeName:t.name,pure:void 0===t.pure||t.pure}}const hg=ho("Directive",(e={})=>e,void 0,void 0,(e,t)=>yu(e,t)),xC=ho("Component",(e={})=>Object.assign({changeDetection:At.Default},e),hg,void 0,(e,t)=>tg(e,t)),FC=ho("Pipe",e=>Object.assign({pure:!0},e),void 0,void 0,(e,t)=>dg(e,t)),kC=Vr("Input",e=>({bindingPropertyName:e})),NC=Vr("Output",e=>({bindingPropertyName:e})),LC=Vr("HostBinding",e=>({hostPropertyName:e})),jC=Vr("HostListener",(e,t)=>({eventName:e,args:t})),BC=ho("NgModule",e=>e,void 0,void 0,(e,t)=>Ym(e,t));function Aa(...e){}const pg=new Hn("Application Initializer");let _u=(()=>{class e{constructor(i){this.appInits=i,this.resolve=Aa,this.reject=Aa,this.initialized=!1,this.done=!1,this.donePromise=new Promise((s,c)=>{this.resolve=s,this.reject=c})}runInitializers(){if(this.initialized)return;const i=[],s=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let c=0;c<this.appInits.length;c++){const g=this.appInits[c]();if(fc(g))i.push(g);else if(jh(g)){const C=new Promise((w,O)=>{g.subscribe({complete:w,error:O})});i.push(C)}}Promise.all(i).then(()=>{s()}).catch(c=>{this.reject(c)}),0===i.length&&s(),this.initialized=!0}}return e.\u0275fac=function(i){return new(i||e)(si(pg,8))},e.\u0275prov=qe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const mg=new Hn("AppId",{providedIn:"root",factory:gg});function gg(){return`${bu()}${bu()}${bu()}`}const VC={provide:mg,useFactory:gg,deps:[]};function bu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const vg=new Hn("Platform Initializer"),$C=new Hn("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),yg=new Hn("appBootstrapListener"),HC=new Hn("Application Packages Root URL");let UC=(()=>{class e{log(i){console.log(i)}warn(i){console.warn(i)}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=qe({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Cu=new Hn("LocaleId",{providedIn:"root",factory:()=>dd(Cu,L.Optional|L.SkipSelf)||function zC(){return"undefined"!=typeof $localize&&$localize.locale||bs}()}),WC=new Hn("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"}),GC=new Hn("Translations"),KC=new Hn("TranslationsFormat");var Tr=(()=>((Tr=Tr||{})[Tr.Error=0]="Error",Tr[Tr.Warning=1]="Warning",Tr[Tr.Ignore=2]="Ignore",Tr))();class _g{constructor(t,i){this.ngModuleFactory=t,this.componentFactories=i}}let QC=(()=>{class e{compileModuleSync(i){return new Ma(i)}compileModuleAsync(i){return Promise.resolve(this.compileModuleSync(i))}compileModuleAndAllComponentsSync(i){const s=this.compileModuleSync(i),g=vr(jt(i).declarations).reduce((C,w)=>{const O=ke(w);return O&&C.push(new wa(O)),C},[]);return new _g(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=qe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const bg=new Hn("compilerOptions");class YC{}const ZC=(()=>Promise.resolve(0))();function Eu(e){"undefined"==typeof Zone?ZC.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 Er(!1),this.onMicrotaskEmpty=new Er(!1),this.onStable=new Er(!1),this.onError=new Er(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const c=this;c._nesting=0,c._outer=c._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(c._inner=c._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(c._inner=c._inner.fork(Zone.longStackTraceZoneSpec)),c.shouldCoalesceEventChangeDetection=!s&&i,c.shouldCoalesceRunChangeDetection=s,c.lastRequestAnimationFrameId=-1,c.nativeRequestAnimationFrame=function JC(){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 eE(e){const t=()=>{!function qC(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Oe,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Du(e),e.isCheckStableRunning=!0,Tu(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Du(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,s,c,g,C,w)=>{try{return Cg(e),i.invokeTask(c,g,C,w)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===g.type||e.shouldCoalesceRunChangeDetection)&&t(),Eg(e)}},onInvoke:(i,s,c,g,C,w,O)=>{try{return Cg(e),i.invoke(c,g,C,w,O)}finally{e.shouldCoalesceRunChangeDetection&&t(),Eg(e)}},onHasTask:(i,s,c,g)=>{i.hasTask(c,g),s===c&&("microTask"==g.change?(e._hasPendingMicrotasks=g.microTask,Du(e),Tu(e)):"macroTask"==g.change&&(e.hasPendingMacrotasks=g.macroTask))},onHandleError:(i,s,c,g)=>(i.handleError(c,g),e.runOutsideAngular(()=>e.onError.emit(g)),!1)})}(c)}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,c){const g=this._inner,C=g.scheduleEventTask("NgZoneEvent: "+c,t,XC,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 XC={};function Tu(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 Du(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Cg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Eg(e){e._nesting--,Tu(e)}class Tg{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Er,this.onMicrotaskEmpty=new Er,this.onStable=new Er,this.onError=new Er}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,c){return t.apply(i,s)}}let Dg=(()=>{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(),Eu(()=>{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())Eu(()=>{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,c){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:c})}whenStable(i,s,c){if(c&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(i,s,c),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(i,s,c){return[]}}return e.\u0275fac=function(i){return new(i||e)(si(lr))},e.\u0275prov=qe({token:e,factory:e.\u0275fac}),e})(),wg=(()=>{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=qe({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();class tE{addToWindow(t){}findTestabilityInTree(t,i,s){return null}}function nE(e){wu=e}let wu=new tE,no=null;const Mu=new Hn("AllowMultipleToken"),Mg=new Hn("PlatformOnDestroy");function Sg(e,t,i){const s=new Ma(i);return Promise.resolve(s)}function Og(e){return e.isBoundToModule}class iE{constructor(t,i){this.name=t,this.token=i}}function Ig(e){if(no&&!no.get(Mu,!1))throw new S(400,"");no=e;const t=e.get(Su),i=e.get(vg,null);return i&&i.forEach(s=>s()),t}function Pg(e,t,i=[]){const s=`Platform: ${t}`,c=new Hn(s);return(g=[])=>{let C=Ra();if(!C||C.injector.get(Mu,!1)){const w=[...i,...g,{provide:c,useValue:!0}];e?e(w):Ig(function rE(e=[],t){return rr.create({name:t,providers:[{provide:Bl,useValue:"platform"},{provide:Mg,useValue:()=>no=null},...e]})}(w,s))}return Ag()}}function Ag(e){const t=Ra();if(!t)throw new S(401,"");return t}function oE(){var e;null===(e=Ra())||void 0===e||e.destroy()}function Ra(){var e;return null!==(e=null==no?void 0:no.get(Su))&&void 0!==e?e:null}let Su=(()=>{class e{constructor(i){this._injector=i,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(i,s){const w=function sE(e,t){let i;return i="noop"===e?new Tg:("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 H=rr.create({providers:O,parent:this.injector,name:i.moduleType.name}),te=i.create(H),Ce=te.injector.get(Zs,null);if(!Ce)throw new S(402,"");return w.runOutsideAngular(()=>{const Ve=w.onError.subscribe({next:tt=>{Ce.handleError(tt)}});te.onDestroy(()=>{Iu(this._modules,te),Ve.unsubscribe()})}),function aE(e,t,i){try{const s=i();return fc(s)?s.catch(c=>{throw t.runOutsideAngular(()=>e.handleError(c)),c}):s}catch(s){throw t.runOutsideAngular(()=>e.handleError(s)),s}}(Ce,w,()=>{const Ve=te.injector.get(_u);return Ve.runInitializers(),Ve.donePromise.then(()=>(Mp(te.injector.get(Cu,bs)||bs),this._moduleDoBootstrap(te),te))})})}bootstrapModule(i,s=[]){const c=Rg({},s);return Sg(0,0,i).then(g=>this.bootstrapModuleFactory(g,c))}_moduleDoBootstrap(i){const s=i.injector.get(Ou);if(i._bootstrapComponents.length>0)i._bootstrapComponents.forEach(c=>s.bootstrap(c));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(s=>s.destroy()),this._destroyListeners.forEach(s=>s());const i=this._injector.get(Mg,null);null==i||i(),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(i){return new(i||e)(si(rr))},e.\u0275prov=qe({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Rg(e,t){return Array.isArray(t)?t.reduce(Rg,e):Object.assign(Object.assign({},e),t)}let Ou=(()=>{class e{constructor(i,s,c,g){this._zone=i,this._injector=s,this._exceptionHandler=c,this._initStatus=g,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 C=new y.y(O=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{O.next(this._stable),O.complete()})}),w=new y.y(O=>{let H;this._zone.runOutsideAngular(()=>{H=this._zone.onStable.subscribe(()=>{lr.assertNotInAngularZone(),Eu(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,O.next(!0))})})});const te=this._zone.onUnstable.subscribe(()=>{lr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{O.next(!1)}))});return()=>{H.unsubscribe(),te.unsubscribe()}});this.isStable=(0,d.T)(C,w.pipe((0,r.B)()))}bootstrap(i,s){if(!this._initStatus.done)throw new S(405,"");let c;c=i instanceof Ca?i:this._injector.get(Ea).resolveComponentFactory(i),this.componentTypes.push(c.componentType);const g=Og(c)?void 0:this._injector.get(Uo),w=c.create(rr.NULL,[],s||c.selector,g),O=w.location.nativeElement,H=w.injector.get(Dg,null),te=H&&w.injector.get(wg);return H&&te&&te.registerApplication(O,H),w.onDestroy(()=>{this.detachView(w.hostView),Iu(this.components,w),te&&te.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;Iu(this._views,s),s.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i),this._injector.get(yg,[]).concat(this._bootstrapListeners).forEach(c=>c(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)(si(lr),si(rr),si(Zs),si(_u))},e.\u0275prov=qe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Iu(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}let Fg=!0,kg=!1;function cE(){return kg=!0,Fg}function uE(){if(kg)throw new Error("Cannot enable prod mode after platform setup.");Fg=!1}function dE(e){const t=fm(e);if(!t)throw Ng(e);return new Ma(t)}function fE(e){const t=fm(e);if(!t)throw Ng(e);return t}function Ng(e){return new Error(`No module with ID ${e} loaded`)}let Lg=(()=>{class e{}return e.__NG_ELEMENT_ID__=jg,e})();function jg(e){return function hE(e,t,i){if(ai(e)&&!i){const s=rn(e.index,t);return new Ho(s,s)}return 47&e.type?new Ho(t[16],t):null}($n(),bt(),16==(16&e))}class Bg extends Lg{}class pE extends Bg{}class mE{constructor(t,i){this.name=t,this.callback=i}}function gE(e){return e.map(t=>t.nativeElement)}class Pu{constructor(t){this.nativeNode=t}get parent(){const t=this.nativeNode.parentNode;return t?new As(t):null}get injector(){return ch(this.nativeNode)}get componentInstance(){const t=this.nativeNode;return t&&(Ul(t)||ah(t))}get context(){return Ul(this.nativeNode)||sh(this.nativeNode)}get listeners(){return dh(this.nativeNode).filter(t=>"dom"===t.type)}get references(){return function j_(e){const t=ui(e);return null===t?{}:(void 0===t.localRefs&&(t.localRefs=function ny(e,t){const i=e[1].data[t];if(i&&i.localNames){const s={};let c=i.index+1;for(let g=0;g<i.localNames.length;g+=2)s[i.localNames[g]]=e[c],c++;return s}return null}(t.lView,t.nodeIndex)),t.localRefs||{})}(this.nativeNode)}get providerTokens(){return function N_(e){const t=ui(e);if(null===t)return[];const s=t.lView[1],c=s.data[t.nodeIndex],g=[],w=c.directiveEnd;for(let O=1048575&c.providerIndexes;O<w;O++){let H=s.data[O];V_(H)&&(H=H.type),g.push(H)}return g}(this.nativeNode)}}class As extends Pu{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,c=s[t.nodeIndex],g={};return function vE(e,t){if(e){let i=Object.getPrototypeOf(e);const s=Node.prototype;for(;null!==i&&i!==s;){const c=Object.getOwnPropertyDescriptors(i);for(let g in c)if(!g.startsWith("__")&&!g.startsWith("on")){const C=e[g];yE(C)&&(t[g]=C)}i=Object.getPrototypeOf(i)}}}(this.nativeElement,g),function _E(e,t,i,s){let c=t.propertyBindings;if(null!==c)for(let g=0;g<c.length;g++){const C=c[g],O=s[C].split("\ufffd"),H=O[0];if(O.length>1){let te=O[1];for(let Ce=1;Ce<O.length-1;Ce++)te+=I(i[C+Ce-1])+O[Ce+1];e[H]=te}else e[H]=i[C]}}(g,c,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 H=g[O];if("string"!=typeof H)break;t[H]=g[O+1],C.push(H.toLowerCase()),O+=2}}const w=i.attributes;for(let O=0;O<w.length;O++){const H=w[O],te=H.name.toLowerCase();-1===C.indexOf(te)&&(t[te]=H.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(Go(t[s]));return i}get children(){const t=this.nativeElement;if(!t)return[];const i=t.children,s=[];for(let c=0;c<i.length;c++)s.push(Go(i[c]));return s}query(t){return this.queryAll(t)[0]||null}queryAll(t){const i=[];return Vg(this,t,i,!0),i}queryAllNodes(t){const i=[];return Vg(this,t,i,!1),i}triggerEventHandler(t,i){const s=this.nativeNode,c=[];this.listeners.forEach(g=>{if(g.name===t){const C=g.callback;C.call(s,i),c.push(C)}}),"function"==typeof s.eventListeners&&s.eventListeners(t).forEach(g=>{if(-1!==g.toString().indexOf("__ngUnwrap__")){const C=g("__ngUnwrap__");return-1===c.indexOf(C)&&C.call(s,i)}})}}function yE(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function Vg(e,t,i,s){const c=ui(e.nativeNode);null!==c?io(c.lView[1].data[c.nodeIndex],c.lView,t,i,s,e.nativeNode):Ru(e.nativeNode,t,i,s)}function io(e,t,i,s,c,g){const C=function Lt(e,t){const i=null===e?-1:e.index;return-1!==i?x(t[i]):null}(e,t);if(11&e.type){if(Au(C,i,s,c,g),ai(e)){const O=rn(e.index,t);O&&O[1].firstChild&&io(O[1].firstChild,O,i,s,c,g)}else e.child&&io(e.child,t,i,s,c,g),C&&Ru(C,i,s,c);const w=t[e.index];jn(w)&&$g(w,i,s,c,g)}else if(4&e.type){const w=t[e.index];Au(w[7],i,s,c,g),$g(w,i,s,c,g)}else if(16&e.type){const w=t[16],H=w[6].projection[e.projection];if(Array.isArray(H))for(let te of H)Au(te,i,s,c,g);else if(H){const te=w[3];io(te[1].data[H.index],te,i,s,c,g)}}else e.child&&io(e.child,t,i,s,c,g);if(g!==C){const w=4&e.flags?e.projectionNext:e.next;w&&io(w,t,i,s,c,g)}}function $g(e,t,i,s,c){for(let g=10;g<e.length;g++){const C=e[g],w=C[1].firstChild;w&&io(w,C,t,i,s,c)}}function Au(e,t,i,s,c){if(c!==e){const g=Go(e);if(!g)return;(s&&g instanceof As&&t(g)&&-1===i.indexOf(g)||!s&&t(g)&&-1===i.indexOf(g))&&i.push(g)}}function Ru(e,t,i,s){const c=e.childNodes,g=c.length;for(let C=0;C<g;C++){const w=c[C],O=Go(w);O&&((s&&O instanceof As&&t(O)&&-1===i.indexOf(O)||!s&&t(O)&&-1===i.indexOf(O))&&i.push(O),Ru(w,t,i,s))}}const Fu="__ng_debug__";function Go(e){return e instanceof Node?(e.hasOwnProperty(Fu)||(e[Fu]=e.nodeType==Node.ELEMENT_NODE?new As(e):new Pu(e)),e[Fu]):null}function bE(e){return null}class Hg{constructor(){}supports(t){return ms(t)}create(t){return new Ug(t)}}const CE=(e,t)=>t;class Ug{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||CE}forEachItem(t){let i;for(i=this._itHead;null!==i;i=i._next)t(i)}forEachOperation(t){let i=this._itHead,s=this._removalsHead,c=0,g=null;for(;i||s;){const C=!s||i&&i.currentIndex<Wg(s,c,g)?i:s,w=Wg(C,c,g),O=C.currentIndex;if(C===s)c--,s=s._nextRemoved;else if(i=i._next,null==C.previousIndex)c++;else{g||(g=[]);const H=w-c,te=O-c;if(H!=te){for(let Ve=0;Ve<H;Ve++){const tt=Ve<g.length?g[Ve]:g[Ve]=0,gt=tt+Ve;te<=gt&><H&&(g[Ve]=tt+1)}g[C.previousIndex]=te-H}}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=[]),!ms(t))throw new S(900,"");return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let c,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 c=0,function X_(e,t){if(Array.isArray(e))for(let i=0;i<e.length;i++)t(e[i]);else{const i=e[So()]();let s;for(;!(s=i.next()).done;)t(s.value)}}(t,w=>{C=this._trackByFn(c,w),null!==i&&Object.is(i.trackById,C)?(s&&(i=this._verifyReinsertion(i,w,C,c)),Object.is(i.item,w)||this._addIdentityChange(i,w)):(i=this._mismatch(i,w,C,c),s=!0),i=i._next,c++}),this.length=c;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,c){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,c)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(s,c))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._moveAfter(t,g,c)):t=this._addAfter(new EE(i,s),g,c),t}_verifyReinsertion(t,i,s,c){let g=null===this._unlinkedRecords?null:this._unlinkedRecords.get(s,null);return null!==g?t=this._reinsertAfter(g,t._prev,c):t.currentIndex!=c&&(t.currentIndex=c,this._addToMoves(t,c)),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 c=t._prevRemoved,g=t._nextRemoved;return null===c?this._removalsHead=g:c._nextRemoved=g,null===g?this._removalsTail=c:g._prevRemoved=c,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 c=null===i?this._itHead:i._next;return t._next=c,t._prev=i,null===c?this._itTail=t:c._prev=t,null===i?this._itHead=t:i._next=t,null===this._linkedRecords&&(this._linkedRecords=new zg),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 zg),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 EE{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 TE{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 zg{constructor(){this.map=new Map}put(t){const i=t.trackById;let s=this.map.get(i);s||(s=new TE,this.map.set(i,s)),s.add(t)}get(t,i){const c=this.map.get(t);return c?c.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 Wg(e,t,i){const s=e.previousIndex;if(null===s)return s;let c=0;return i&&s<i.length&&(c=i[s]),s+t+c}class Gg{constructor(){}supports(t){return t instanceof Map||Ql(t)}create(){return new DE}}class DE{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||Ql(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,c)=>{if(i&&i.key===c)this._maybeAddToChanges(i,s),this._appendAfter=i,i=i._next;else{const g=this._getOrCreateRecordForKey(c,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 c=this._records.get(t);this._maybeAddToChanges(c,i);const g=c._prev,C=c._next;return g&&(g._next=C),C&&(C._prev=g),c._next=null,c._prev=null,c}const s=new wE(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 wE{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 Kg(){return new ku([new Hg])}let ku=(()=>{class e{constructor(i){this.factories=i}static create(i,s){if(null!=s){const c=s.factories.slice();i=i.concat(c)}return new e(i)}static extend(i){return{provide:e,useFactory:s=>e.create(i,s||Kg()),deps:[[e,new go,new rs]]}}find(i){const s=this.factories.find(c=>c.supports(i));if(null!=s)return s;throw new S(901,"")}}return e.\u0275prov=qe({token:e,providedIn:"root",factory:Kg}),e})();function Qg(){return new Nu([new Gg])}let Nu=(()=>{class e{constructor(i){this.factories=i}static create(i,s){if(s){const c=s.factories.slice();i=i.concat(c)}return new e(i)}static extend(i){return{provide:e,useFactory:s=>e.create(i,s||Qg()),deps:[[e,new go,new rs]]}}find(i){const s=this.factories.find(g=>g.supports(i));if(s)return s;throw new S(901,"")}}return e.\u0275prov=qe({token:e,providedIn:"root",factory:Qg}),e})();const ME=[new Gg],OE=new ku([new Hg]),IE=new Nu(ME),PE=Pg(null,"core",[]);let AE=(()=>{class e{constructor(i){}}return e.\u0275fac=function(i){return new(i||e)(si(Ou))},e.\u0275mod=ft({type:e}),e.\u0275inj=Ge({}),e})();const RE=!0;function xE(e){return qn().compileDirectiveDeclaration(yi,`ng:///${e.type.name}/\u0275fac.js`,e)}function FE(e){var t,i;lm(e.type,e.decorators,null!==(t=e.ctorParameters)&&void 0!==t?t:null,null!==(i=e.propDecorators)&&void 0!==i?i:null)}function kE(e){return qn().compileComponentDeclaration(yi,`ng:///${e.type.name}/\u0275cmp.js`,e)}function NE(e){return qn(function LE(e){switch(e){case Xn.Directive:return"directive";case Xn.Component:return"component";case Xn.Injectable:return"injectable";case Xn.Pipe:return"pipe";case Xn.NgModule:return"NgModule"}}(e.target)).compileFactoryDeclaration(yi,`ng:///${e.type.name}/\u0275fac.js`,e)}function jE(e){return qn().compileInjectableDeclaration(yi,`ng:///${e.type.name}/\u0275prov.js`,e)}function BE(e){return qn().compileInjectorDeclaration(yi,`ng:///${e.type.name}/\u0275inj.js`,e)}function VE(e){return qn().compileNgModuleDeclaration(yi,`ng:///${e.type.name}/\u0275mod.js`,e)}function $E(e){return qn().compilePipeDeclaration(yi,`ng:///${e.type.name}/\u0275pipe.js`,e)}},3075:(G,o,a)=>{"use strict";a.r(o),a.d(o,{AbstractControl:()=>Ut,AbstractControlDirective:()=>j,AbstractFormGroupDirective:()=>zn,COMPOSITION_BUFFER_MODE:()=>b,CheckboxControlValueAccessor:()=>u,CheckboxRequiredValidator:()=>Jn,ControlContainer:()=>Me,DefaultValueAccessor:()=>T,EmailValidator:()=>Tn,FormArray:()=>ln,FormArrayName:()=>Li,FormBuilder:()=>bn,FormControl:()=>Ot,FormControlDirective:()=>dr,FormControlName:()=>bi,FormGroup:()=>pn,FormGroupDirective:()=>_i,FormGroupName:()=>Ni,FormsModule:()=>rn,MaxLengthValidator:()=>pe,MaxValidator:()=>qi,MinLengthValidator:()=>re,MinValidator:()=>Pi,NG_ASYNC_VALIDATORS:()=>V,NG_VALIDATORS:()=>I,NG_VALUE_ACCESSOR:()=>p,NgControl:()=>ne,NgControlStatus:()=>L,NgControlStatusGroup:()=>ve,NgForm:()=>fn,NgModel:()=>ai,NgModelGroup:()=>Mn,NgSelectOption:()=>ji,NumberValueAccessor:()=>ki,PatternValidator:()=>ut,RadioControlValueAccessor:()=>wi,RangeValueAccessor:()=>Mi,ReactiveFormsModule:()=>sn,RequiredValidator:()=>Wn,SelectControlValueAccessor:()=>Zn,SelectMultipleControlValueAccessor:()=>Ii,VERSION:()=>On,Validators:()=>Z,\u0275InternalFormsSharedModule:()=>cn,\u0275NgNoValidate:()=>mi,\u0275NgSelectMultipleOption:()=>Ei});var n=a(5e3),h=a(9808),y=a(2076),d=a(4128),r=a(4004);let l=(()=>{class B{constructor(M,se){this._renderer=M,this._elementRef=se,this.onChange=mt=>{},this.onTouched=()=>{}}setProperty(M,se){this._renderer.setProperty(this._elementRef.nativeElement,M,se)}registerOnTouched(M){this.onTouched=M}registerOnChange(M){this.onChange=M}setDisabledState(M){this.setProperty("disabled",M)}}return B.\u0275fac=function(M){return new(M||B)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef))},B.\u0275dir=n.\u0275\u0275defineDirective({type:B}),B})(),f=(()=>{class B extends l{}return B.\u0275fac=function(){let R;return function(se){return(R||(R=n.\u0275\u0275getInheritedFactory(B)))(se||B)}}(),B.\u0275dir=n.\u0275\u0275defineDirective({type:B,features:[n.\u0275\u0275InheritDefinitionFeature]}),B})();const p=new n.InjectionToken("NgValueAccessor"),m={provide:p,useExisting:(0,n.forwardRef)(()=>u),multi:!0};let u=(()=>{class B extends f{writeValue(M){this.setProperty("checked",M)}}return B.\u0275fac=function(){let R;return function(se){return(R||(R=n.\u0275\u0275getInheritedFactory(B)))(se||B)}}(),B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(M,se){1&M&&n.\u0275\u0275listener("change",function(Nt){return se.onChange(Nt.target.checked)})("blur",function(){return se.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([m]),n.\u0275\u0275InheritDefinitionFeature]}),B})();const _={provide:p,useExisting:(0,n.forwardRef)(()=>T),multi:!0},b=new n.InjectionToken("CompositionEventMode");let T=(()=>{class B extends l{constructor(M,se,mt){super(M,se),this._compositionMode=mt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function v(){const B=(0,h.\u0275getDOM)()?(0,h.\u0275getDOM)().getUserAgent():"";return/android (\d+)/.test(B.toLowerCase())}())}writeValue(M){this.setProperty("value",null==M?"":M)}_handleInput(M){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(M)}_compositionStart(){this._composing=!0}_compositionEnd(M){this._composing=!1,this._compositionMode&&this.onChange(M)}}return B.\u0275fac=function(M){return new(M||B)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(b,8))},B.\u0275dir=n.\u0275\u0275defineDirective({type:B,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(M,se){1&M&&n.\u0275\u0275listener("input",function(Nt){return se._handleInput(Nt.target.value)})("blur",function(){return se.onTouched()})("compositionstart",function(){return se._compositionStart()})("compositionend",function(Nt){return se._compositionEnd(Nt.target.value)})},features:[n.\u0275\u0275ProvidersFeature([_]),n.\u0275\u0275InheritDefinitionFeature]}),B})();function S(B){return null==B||0===B.length}function P(B){return null!=B&&"number"==typeof B.length}const I=new n.InjectionToken("NgValidators"),V=new n.InjectionToken("NgAsyncValidators"),J=/^(?=.{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 Z{static min(R){return X(R)}static max(R){return U(R)}static required(R){return oe(R)}static requiredTrue(R){return le(R)}static email(R){return me(R)}static minLength(R){return De(R)}static maxLength(R){return We(R)}static pattern(R){return Q(R)}static nullValidator(R){return null}static compose(R){return it(R)}static composeAsync(R){return Qe(R)}}function X(B){return R=>{if(S(R.value)||S(B))return null;const M=parseFloat(R.value);return!isNaN(M)&&M<B?{min:{min:B,actual:R.value}}:null}}function U(B){return R=>{if(S(R.value)||S(B))return null;const M=parseFloat(R.value);return!isNaN(M)&&M>B?{max:{max:B,actual:R.value}}:null}}function oe(B){return S(B.value)?{required:!0}:null}function le(B){return!0===B.value?null:{required:!0}}function me(B){return S(B.value)||J.test(B.value)?null:{email:!0}}function De(B){return R=>S(R.value)||!P(R.value)?null:R.value.length<B?{minlength:{requiredLength:B,actualLength:R.value.length}}:null}function We(B){return R=>P(R.value)&&R.value.length>B?{maxlength:{requiredLength:B,actualLength:R.value.length}}:null}function Q(B){if(!B)return ue;let R,M;return"string"==typeof B?(M="","^"!==B.charAt(0)&&(M+="^"),M+=B,"$"!==B.charAt(B.length-1)&&(M+="$"),R=new RegExp(M)):(M=B.toString(),R=B),se=>{if(S(se.value))return null;const mt=se.value;return R.test(mt)?null:{pattern:{requiredPattern:M,actualValue:mt}}}}function ue(B){return null}function $(B){return null!=B}function ce(B){const R=(0,n.\u0275isPromise)(B)?(0,y.D)(B):B;return(0,n.\u0275isObservable)(R),R}function de(B){let R={};return B.forEach(M=>{R=null!=M?Object.assign(Object.assign({},R),M):R}),0===Object.keys(R).length?null:R}function _e(B,R){return R.map(M=>M(B))}function dt(B){return B.map(R=>function et(B){return!B.validate}(R)?R:M=>R.validate(M))}function it(B){if(!B)return null;const R=B.filter($);return 0==R.length?null:function(M){return de(_e(M,R))}}function st(B){return null!=B?it(dt(B)):null}function Qe(B){if(!B)return null;const R=B.filter($);return 0==R.length?null:function(M){const se=_e(M,R).map(ce);return(0,d.D)(se).pipe((0,r.U)(de))}}function ht(B){return null!=B?Qe(dt(B)):null}function xe(B,R){return null===B?[R]:Array.isArray(B)?[...B,R]:[B,R]}function qe(B){return B._rawValidators}function Le(B){return B._rawAsyncValidators}function Ge(B){return B?Array.isArray(B)?B:[B]:[]}function pt(B,R){return Array.isArray(B)?B.includes(R):B===R}function ye(B,R){const M=Ge(R);return Ge(B).forEach(mt=>{pt(M,mt)||M.push(mt)}),M}function Se(B,R){return Ge(R).filter(M=>!pt(B,M))}class j{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(R){this._rawValidators=R||[],this._composedValidatorFn=st(this._rawValidators)}_setAsyncValidators(R){this._rawAsyncValidators=R||[],this._composedAsyncValidatorFn=ht(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(R){this._onDestroyCallbacks.push(R)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(R=>R()),this._onDestroyCallbacks=[]}reset(R){this.control&&this.control.reset(R)}hasError(R,M){return!!this.control&&this.control.hasError(R,M)}getError(R,M){return this.control?this.control.getError(R,M):null}}class ne extends j{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Me extends j{get formDirective(){return null}get path(){return null}}class Ue{constructor(R){this._cd=R}is(R){var M,se,mt;return"submitted"===R?!!(null===(M=this._cd)||void 0===M?void 0:M.submitted):!!(null===(mt=null===(se=this._cd)||void 0===se?void 0:se.control)||void 0===mt?void 0:mt[R])}}let L=(()=>{class B extends Ue{constructor(M){super(M)}}return B.\u0275fac=function(M){return new(M||B)(n.\u0275\u0275directiveInject(ne,2))},B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(M,se){2&M&&n.\u0275\u0275classProp("ng-untouched",se.is("untouched"))("ng-touched",se.is("touched"))("ng-pristine",se.is("pristine"))("ng-dirty",se.is("dirty"))("ng-valid",se.is("valid"))("ng-invalid",se.is("invalid"))("ng-pending",se.is("pending"))},features:[n.\u0275\u0275InheritDefinitionFeature]}),B})(),ve=(()=>{class B extends Ue{constructor(M){super(M)}}return B.\u0275fac=function(M){return new(M||B)(n.\u0275\u0275directiveInject(Me,10))},B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(M,se){2&M&&n.\u0275\u0275classProp("ng-untouched",se.is("untouched"))("ng-touched",se.is("touched"))("ng-pristine",se.is("pristine"))("ng-dirty",se.is("dirty"))("ng-valid",se.is("valid"))("ng-invalid",se.is("invalid"))("ng-pending",se.is("pending"))("ng-submitted",se.is("submitted"))},features:[n.\u0275\u0275InheritDefinitionFeature]}),B})();function Tt(B,R){return[...R.path,B]}function Ct(B,R){fe(B,R),R.valueAccessor.writeValue(B.value),function k(B,R){R.valueAccessor.registerOnChange(M=>{B._pendingValue=M,B._pendingChange=!0,B._pendingDirty=!0,"change"===B.updateOn&&Y(B,R)})}(B,R),function z(B,R){const M=(se,mt)=>{R.valueAccessor.writeValue(se),mt&&R.viewToModelUpdate(se)};B.registerOnChange(M),R._registerOnDestroy(()=>{B._unregisterOnChange(M)})}(B,R),function W(B,R){R.valueAccessor.registerOnTouched(()=>{B._pendingTouched=!0,"blur"===B.updateOn&&B._pendingChange&&Y(B,R),"submit"!==B.updateOn&&B.markAsTouched()})}(B,R),function Ht(B,R){if(R.valueAccessor.setDisabledState){const M=se=>{R.valueAccessor.setDisabledState(se)};B.registerOnDisabledChange(M),R._registerOnDestroy(()=>{B._unregisterOnDisabledChange(M)})}}(B,R)}function $t(B,R,M=!0){const se=()=>{};R.valueAccessor&&(R.valueAccessor.registerOnChange(se),R.valueAccessor.registerOnTouched(se)),q(B,R),B&&(R._invokeOnDestroyCallbacks(),B._registerOnCollectionChange(()=>{}))}function Mt(B,R){B.forEach(M=>{M.registerOnValidatorChange&&M.registerOnValidatorChange(R)})}function fe(B,R){const M=qe(B);null!==R.validator?B.setValidators(xe(M,R.validator)):"function"==typeof M&&B.setValidators([M]);const se=Le(B);null!==R.asyncValidator?B.setAsyncValidators(xe(se,R.asyncValidator)):"function"==typeof se&&B.setAsyncValidators([se]);const mt=()=>B.updateValueAndValidity();Mt(R._rawValidators,mt),Mt(R._rawAsyncValidators,mt)}function q(B,R){let M=!1;if(null!==B){if(null!==R.validator){const mt=qe(B);if(Array.isArray(mt)&&mt.length>0){const Nt=mt.filter(Sn=>Sn!==R.validator);Nt.length!==mt.length&&(M=!0,B.setValidators(Nt))}}if(null!==R.asyncValidator){const mt=Le(B);if(Array.isArray(mt)&&mt.length>0){const Nt=mt.filter(Sn=>Sn!==R.asyncValidator);Nt.length!==mt.length&&(M=!0,B.setAsyncValidators(Nt))}}}const se=()=>{};return Mt(R._rawValidators,se),Mt(R._rawAsyncValidators,se),M}function Y(B,R){B._pendingDirty&&B.markAsDirty(),B.setValue(B._pendingValue,{emitModelToViewChange:!1}),R.viewToModelUpdate(B._pendingValue),B._pendingChange=!1}function N(B,R){fe(B,R)}function Ae(B,R){if(!B.hasOwnProperty("model"))return!1;const M=B.model;return!!M.isFirstChange()||!Object.is(R,M.currentValue)}function ke(B,R){B._syncPendingControls(),R.forEach(M=>{const se=M.control;"submit"===se.updateOn&&se._pendingChange&&(M.viewToModelUpdate(se._pendingValue),se._pendingChange=!1)})}function ct(B,R){if(!R)return null;let M,se,mt;return Array.isArray(R),R.forEach(Nt=>{Nt.constructor===T?M=Nt:function ge(B){return Object.getPrototypeOf(B.constructor)===f}(Nt)?se=Nt:mt=Nt}),mt||se||M||null}function xt(B,R){const M=B.indexOf(R);M>-1&&B.splice(M,1)}const gn="VALID",Nn="INVALID",hn="PENDING",An="DISABLED";function Yn(B){return(ae(B)?B.validators:B)||null}function Rn(B){return Array.isArray(B)?st(B):B||null}function Pt(B,R){return(ae(R)?R.asyncValidators:B)||null}function Yt(B){return Array.isArray(B)?ht(B):B||null}function ae(B){return null!=B&&!Array.isArray(B)&&"object"==typeof B}const Pe=B=>B instanceof Ot,ie=B=>B instanceof pn,we=B=>B instanceof ln;function Ze(B){return Pe(B)?B.value:B.getRawValue()}function at(B,R){const M=ie(B),se=B.controls;if(!(M?Object.keys(se):se).length)throw new n.\u0275RuntimeError(1e3,"");if(!se[R])throw new n.\u0275RuntimeError(1001,"")}function St(B,R){ie(B),B._forEachChild((se,mt)=>{if(void 0===R[mt])throw new n.\u0275RuntimeError(1002,"")})}class Ut{constructor(R,M){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=R,this._rawAsyncValidators=M,this._composedValidatorFn=Rn(this._rawValidators),this._composedAsyncValidatorFn=Yt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(R){this._rawValidators=this._composedValidatorFn=R}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(R){this._rawAsyncValidators=this._composedAsyncValidatorFn=R}get parent(){return this._parent}get valid(){return this.status===gn}get invalid(){return this.status===Nn}get pending(){return this.status==hn}get disabled(){return this.status===An}get enabled(){return this.status!==An}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(R){this._rawValidators=R,this._composedValidatorFn=Rn(R)}setAsyncValidators(R){this._rawAsyncValidators=R,this._composedAsyncValidatorFn=Yt(R)}addValidators(R){this.setValidators(ye(R,this._rawValidators))}addAsyncValidators(R){this.setAsyncValidators(ye(R,this._rawAsyncValidators))}removeValidators(R){this.setValidators(Se(R,this._rawValidators))}removeAsyncValidators(R){this.setAsyncValidators(Se(R,this._rawAsyncValidators))}hasValidator(R){return pt(this._rawValidators,R)}hasAsyncValidator(R){return pt(this._rawAsyncValidators,R)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(R={}){this.touched=!0,this._parent&&!R.onlySelf&&this._parent.markAsTouched(R)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(R=>R.markAllAsTouched())}markAsUntouched(R={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(M=>{M.markAsUntouched({onlySelf:!0})}),this._parent&&!R.onlySelf&&this._parent._updateTouched(R)}markAsDirty(R={}){this.pristine=!1,this._parent&&!R.onlySelf&&this._parent.markAsDirty(R)}markAsPristine(R={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(M=>{M.markAsPristine({onlySelf:!0})}),this._parent&&!R.onlySelf&&this._parent._updatePristine(R)}markAsPending(R={}){this.status=hn,!1!==R.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!R.onlySelf&&this._parent.markAsPending(R)}disable(R={}){const M=this._parentMarkedDirty(R.onlySelf);this.status=An,this.errors=null,this._forEachChild(se=>{se.disable(Object.assign(Object.assign({},R),{onlySelf:!0}))}),this._updateValue(),!1!==R.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},R),{skipPristineCheck:M})),this._onDisabledChange.forEach(se=>se(!0))}enable(R={}){const M=this._parentMarkedDirty(R.onlySelf);this.status=gn,this._forEachChild(se=>{se.enable(Object.assign(Object.assign({},R),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:R.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},R),{skipPristineCheck:M})),this._onDisabledChange.forEach(se=>se(!1))}_updateAncestors(R){this._parent&&!R.onlySelf&&(this._parent.updateValueAndValidity(R),R.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(R){this._parent=R}updateValueAndValidity(R={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===gn||this.status===hn)&&this._runAsyncValidator(R.emitEvent)),!1!==R.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!R.onlySelf&&this._parent.updateValueAndValidity(R)}_updateTreeValidity(R={emitEvent:!0}){this._forEachChild(M=>M._updateTreeValidity(R)),this.updateValueAndValidity({onlySelf:!0,emitEvent:R.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?An:gn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(R){if(this.asyncValidator){this.status=hn,this._hasOwnPendingAsyncValidator=!0;const M=ce(this.asyncValidator(this));this._asyncValidationSubscription=M.subscribe(se=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(se,{emitEvent:R})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(R,M={}){this.errors=R,this._updateControlsErrors(!1!==M.emitEvent)}get(R){return function wn(B,R,M){if(null==R||(Array.isArray(R)||(R=R.split(M)),Array.isArray(R)&&0===R.length))return null;let se=B;return R.forEach(mt=>{se=ie(se)?se.controls.hasOwnProperty(mt)?se.controls[mt]:null:we(se)&&se.at(mt)||null}),se}(this,R,".")}getError(R,M){const se=M?this.get(M):this;return se&&se.errors?se.errors[R]:null}hasError(R,M){return!!this.getError(R,M)}get root(){let R=this;for(;R._parent;)R=R._parent;return R}_updateControlsErrors(R){this.status=this._calculateStatus(),R&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(R)}_initObservables(){this.valueChanges=new n.EventEmitter,this.statusChanges=new n.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?An:this.errors?Nn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(hn)?hn:this._anyControlsHaveStatus(Nn)?Nn:gn}_anyControlsHaveStatus(R){return this._anyControls(M=>M.status===R)}_anyControlsDirty(){return this._anyControls(R=>R.dirty)}_anyControlsTouched(){return this._anyControls(R=>R.touched)}_updatePristine(R={}){this.pristine=!this._anyControlsDirty(),this._parent&&!R.onlySelf&&this._parent._updatePristine(R)}_updateTouched(R={}){this.touched=this._anyControlsTouched(),this._parent&&!R.onlySelf&&this._parent._updateTouched(R)}_isBoxedValue(R){return"object"==typeof R&&null!==R&&2===Object.keys(R).length&&"value"in R&&"disabled"in R}_registerOnCollectionChange(R){this._onCollectionChange=R}_setUpdateStrategy(R){ae(R)&&null!=R.updateOn&&(this._updateOn=R.updateOn)}_parentMarkedDirty(R){return!R&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Ot extends Ut{constructor(R=null,M,se){super(Yn(M),Pt(se,M)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(R),this._setUpdateStrategy(M),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ae(M)&&M.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(R)?R.value:R)}setValue(R,M={}){this.value=this._pendingValue=R,this._onChange.length&&!1!==M.emitModelToViewChange&&this._onChange.forEach(se=>se(this.value,!1!==M.emitViewToModelChange)),this.updateValueAndValidity(M)}patchValue(R,M={}){this.setValue(R,M)}reset(R=this.defaultValue,M={}){this._applyFormState(R),this.markAsPristine(M),this.markAsUntouched(M),this.setValue(this.value,M),this._pendingChange=!1}_updateValue(){}_anyControls(R){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(R){this._onChange.push(R)}_unregisterOnChange(R){xt(this._onChange,R)}registerOnDisabledChange(R){this._onDisabledChange.push(R)}_unregisterOnDisabledChange(R){xt(this._onDisabledChange,R)}_forEachChild(R){}_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(R){this._isBoxedValue(R)?(this.value=this._pendingValue=R.value,R.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=R}}class pn extends Ut{constructor(R,M,se){super(Yn(M),Pt(se,M)),this.controls=R,this._initObservables(),this._setUpdateStrategy(M),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(R,M){return this.controls[R]?this.controls[R]:(this.controls[R]=M,M.setParent(this),M._registerOnCollectionChange(this._onCollectionChange),M)}addControl(R,M,se={}){this.registerControl(R,M),this.updateValueAndValidity({emitEvent:se.emitEvent}),this._onCollectionChange()}removeControl(R,M={}){this.controls[R]&&this.controls[R]._registerOnCollectionChange(()=>{}),delete this.controls[R],this.updateValueAndValidity({emitEvent:M.emitEvent}),this._onCollectionChange()}setControl(R,M,se={}){this.controls[R]&&this.controls[R]._registerOnCollectionChange(()=>{}),delete this.controls[R],M&&this.registerControl(R,M),this.updateValueAndValidity({emitEvent:se.emitEvent}),this._onCollectionChange()}contains(R){return this.controls.hasOwnProperty(R)&&this.controls[R].enabled}setValue(R,M={}){St(this,R),Object.keys(R).forEach(se=>{at(this,se),this.controls[se].setValue(R[se],{onlySelf:!0,emitEvent:M.emitEvent})}),this.updateValueAndValidity(M)}patchValue(R,M={}){null!=R&&(Object.keys(R).forEach(se=>{this.controls[se]&&this.controls[se].patchValue(R[se],{onlySelf:!0,emitEvent:M.emitEvent})}),this.updateValueAndValidity(M))}reset(R={},M={}){this._forEachChild((se,mt)=>{se.reset(R[mt],{onlySelf:!0,emitEvent:M.emitEvent})}),this._updatePristine(M),this._updateTouched(M),this.updateValueAndValidity(M)}getRawValue(){return this._reduceChildren({},(R,M,se)=>(R[se]=Ze(M),R))}_syncPendingControls(){let R=this._reduceChildren(!1,(M,se)=>!!se._syncPendingControls()||M);return R&&this.updateValueAndValidity({onlySelf:!0}),R}_forEachChild(R){Object.keys(this.controls).forEach(M=>{const se=this.controls[M];se&&R(se,M)})}_setUpControls(){this._forEachChild(R=>{R.setParent(this),R._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(R){for(const M of Object.keys(this.controls)){const se=this.controls[M];if(this.contains(M)&&R(se))return!0}return!1}_reduceValue(){return this._reduceChildren({},(R,M,se)=>((M.enabled||this.disabled)&&(R[se]=M.value),R))}_reduceChildren(R,M){let se=R;return this._forEachChild((mt,Nt)=>{se=M(se,mt,Nt)}),se}_allControlsDisabled(){for(const R of Object.keys(this.controls))if(this.controls[R].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class ln extends Ut{constructor(R,M,se){super(Yn(M),Pt(se,M)),this.controls=R,this._initObservables(),this._setUpdateStrategy(M),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(R){return this.controls[R]}push(R,M={}){this.controls.push(R),this._registerControl(R),this.updateValueAndValidity({emitEvent:M.emitEvent}),this._onCollectionChange()}insert(R,M,se={}){this.controls.splice(R,0,M),this._registerControl(M),this.updateValueAndValidity({emitEvent:se.emitEvent})}removeAt(R,M={}){this.controls[R]&&this.controls[R]._registerOnCollectionChange(()=>{}),this.controls.splice(R,1),this.updateValueAndValidity({emitEvent:M.emitEvent})}setControl(R,M,se={}){this.controls[R]&&this.controls[R]._registerOnCollectionChange(()=>{}),this.controls.splice(R,1),M&&(this.controls.splice(R,0,M),this._registerControl(M)),this.updateValueAndValidity({emitEvent:se.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(R,M={}){St(this,R),R.forEach((se,mt)=>{at(this,mt),this.at(mt).setValue(se,{onlySelf:!0,emitEvent:M.emitEvent})}),this.updateValueAndValidity(M)}patchValue(R,M={}){null!=R&&(R.forEach((se,mt)=>{this.at(mt)&&this.at(mt).patchValue(se,{onlySelf:!0,emitEvent:M.emitEvent})}),this.updateValueAndValidity(M))}reset(R=[],M={}){this._forEachChild((se,mt)=>{se.reset(R[mt],{onlySelf:!0,emitEvent:M.emitEvent})}),this._updatePristine(M),this._updateTouched(M),this.updateValueAndValidity(M)}getRawValue(){return this.controls.map(R=>Ze(R))}clear(R={}){this.controls.length<1||(this._forEachChild(M=>M._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:R.emitEvent}))}_syncPendingControls(){let R=this.controls.reduce((M,se)=>!!se._syncPendingControls()||M,!1);return R&&this.updateValueAndValidity({onlySelf:!0}),R}_forEachChild(R){this.controls.forEach((M,se)=>{R(M,se)})}_updateValue(){this.value=this.controls.filter(R=>R.enabled||this.disabled).map(R=>R.value)}_anyControls(R){return this.controls.some(M=>M.enabled&&R(M))}_setUpControls(){this._forEachChild(R=>this._registerControl(R))}_allControlsDisabled(){for(const R of this.controls)if(R.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(R){R.setParent(this),R._registerOnCollectionChange(this._onCollectionChange)}}const _n={provide:Me,useExisting:(0,n.forwardRef)(()=>fn)},Xt=(()=>Promise.resolve(null))();let fn=(()=>{class B extends Me{constructor(M,se){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new n.EventEmitter,this.form=new pn({},st(M),ht(se))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(M){Xt.then(()=>{const se=this._findContainer(M.path);M.control=se.registerControl(M.name,M.control),Ct(M.control,M),M.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(M)})}getControl(M){return this.form.get(M.path)}removeControl(M){Xt.then(()=>{const se=this._findContainer(M.path);se&&se.removeControl(M.name),this._directives.delete(M)})}addFormGroup(M){Xt.then(()=>{const se=this._findContainer(M.path),mt=new pn({});N(mt,M),se.registerControl(M.name,mt),mt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(M){Xt.then(()=>{const se=this._findContainer(M.path);se&&se.removeControl(M.name)})}getFormGroup(M){return this.form.get(M.path)}updateModel(M,se){Xt.then(()=>{this.form.get(M.path).setValue(se)})}setValue(M){this.control.setValue(M)}onSubmit(M){return this.submitted=!0,ke(this.form,this._directives),this.ngSubmit.emit(M),!1}onReset(){this.resetForm()}resetForm(M){this.form.reset(M),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(M){return M.pop(),M.length?this.form.get(M):this.form}}return B.\u0275fac=function(M){return new(M||B)(n.\u0275\u0275directiveInject(I,10),n.\u0275\u0275directiveInject(V,10))},B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(M,se){1&M&&n.\u0275\u0275listener("submit",function(Nt){return se.onSubmit(Nt)})("reset",function(){return se.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([_n]),n.\u0275\u0275InheritDefinitionFeature]}),B})(),zn=(()=>{class B 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 Tt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}return B.\u0275fac=function(){let R;return function(se){return(R||(R=n.\u0275\u0275getInheritedFactory(B)))(se||B)}}(),B.\u0275dir=n.\u0275\u0275defineDirective({type:B,features:[n.\u0275\u0275InheritDefinitionFeature]}),B})();const Di={provide:Me,useExisting:(0,n.forwardRef)(()=>Mn)};let Mn=(()=>{class B extends zn{constructor(M,se,mt){super(),this._parent=M,this._setValidators(se),this._setAsyncValidators(mt)}_checkParentType(){}}return B.\u0275fac=function(M){return new(M||B)(n.\u0275\u0275directiveInject(Me,5),n.\u0275\u0275directiveInject(I,10),n.\u0275\u0275directiveInject(V,10))},B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[n.\u0275\u0275ProvidersFeature([Di]),n.\u0275\u0275InheritDefinitionFeature]}),B})();const jn={provide:ne,useExisting:(0,n.forwardRef)(()=>ai)},pi=(()=>Promise.resolve(null))();let ai=(()=>{class B extends ne{constructor(M,se,mt,Nt,Sn){super(),this._changeDetectorRef=Sn,this.control=new Ot,this._registered=!1,this.update=new n.EventEmitter,this._parent=M,this._setValidators(se),this._setAsyncValidators(mt),this.valueAccessor=ct(0,Nt)}ngOnChanges(M){if(this._checkForErrors(),!this._registered||"name"in M){if(this._registered&&(this._checkName(),this.formDirective)){const se=M.name.previousValue;this.formDirective.removeControl({name:se,path:this._getPath(se)})}this._setUpControl()}"isDisabled"in M&&this._updateDisabled(M),Ae(M,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(M){this.viewModel=M,this.update.emit(M)}_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(){Ct(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(M){pi.then(()=>{var se;this.control.setValue(M,{emitViewToModelChange:!1}),null===(se=this._changeDetectorRef)||void 0===se||se.markForCheck()})}_updateDisabled(M){const se=M.isDisabled.currentValue,mt=""===se||se&&"false"!==se;pi.then(()=>{var Nt;mt&&!this.control.disabled?this.control.disable():!mt&&this.control.disabled&&this.control.enable(),null===(Nt=this._changeDetectorRef)||void 0===Nt||Nt.markForCheck()})}_getPath(M){return this._parent?Tt(M,this._parent):[M]}}return B.\u0275fac=function(M){return new(M||B)(n.\u0275\u0275directiveInject(Me,9),n.\u0275\u0275directiveInject(I,10),n.\u0275\u0275directiveInject(V,10),n.\u0275\u0275directiveInject(p,10),n.\u0275\u0275directiveInject(n.ChangeDetectorRef,8))},B.\u0275dir=n.\u0275\u0275defineDirective({type:B,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([jn]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),B})(),mi=(()=>{class B{}return B.\u0275fac=function(M){return new(M||B)},B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),B})();const Kn={provide:p,useExisting:(0,n.forwardRef)(()=>ki),multi:!0};let ki=(()=>{class B extends f{writeValue(M){this.setProperty("value",null==M?"":M)}registerOnChange(M){this.onChange=se=>{M(""==se?null:parseFloat(se))}}}return B.\u0275fac=function(){let R;return function(se){return(R||(R=n.\u0275\u0275getInheritedFactory(B)))(se||B)}}(),B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(M,se){1&M&&n.\u0275\u0275listener("input",function(Nt){return se.onChange(Nt.target.value)})("blur",function(){return se.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([Kn]),n.\u0275\u0275InheritDefinitionFeature]}),B})();const Dr={provide:p,useExisting:(0,n.forwardRef)(()=>wi),multi:!0};let Bn=(()=>{class B{}return B.\u0275fac=function(M){return new(M||B)},B.\u0275mod=n.\u0275\u0275defineNgModule({type:B}),B.\u0275inj=n.\u0275\u0275defineInjector({}),B})(),xr=(()=>{class B{constructor(){this._accessors=[]}add(M,se){this._accessors.push([M,se])}remove(M){for(let se=this._accessors.length-1;se>=0;--se)if(this._accessors[se][1]===M)return void this._accessors.splice(se,1)}select(M){this._accessors.forEach(se=>{this._isSameGroup(se,M)&&se[1]!==M&&se[1].fireUncheck(M.value)})}_isSameGroup(M,se){return!!M[0].control&&M[0]._parent===se._control._parent&&M[1].name===se.name}}return B.\u0275fac=function(M){return new(M||B)},B.\u0275prov=n.\u0275\u0275defineInjectable({token:B,factory:B.\u0275fac,providedIn:Bn}),B})(),wi=(()=>{class B extends f{constructor(M,se,mt,Nt){super(M,se),this._registry=mt,this._injector=Nt,this.onChange=()=>{}}ngOnInit(){this._control=this._injector.get(ne),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(M){this._state=M===this.value,this.setProperty("checked",this._state)}registerOnChange(M){this._fn=M,this.onChange=()=>{M(this.value),this._registry.select(this)}}fireUncheck(M){this.writeValue(M)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return B.\u0275fac=function(M){return new(M||B)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(xr),n.\u0275\u0275directiveInject(n.Injector))},B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(M,se){1&M&&n.\u0275\u0275listener("change",function(){return se.onChange()})("blur",function(){return se.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[n.\u0275\u0275ProvidersFeature([Dr]),n.\u0275\u0275InheritDefinitionFeature]}),B})();const cr={provide:p,useExisting:(0,n.forwardRef)(()=>Mi),multi:!0};let Mi=(()=>{class B extends f{writeValue(M){this.setProperty("value",parseFloat(M))}registerOnChange(M){this.onChange=se=>{M(""==se?null:parseFloat(se))}}}return B.\u0275fac=function(){let R;return function(se){return(R||(R=n.\u0275\u0275getInheritedFactory(B)))(se||B)}}(),B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(M,se){1&M&&n.\u0275\u0275listener("change",function(Nt){return se.onChange(Nt.target.value)})("input",function(Nt){return se.onChange(Nt.target.value)})("blur",function(){return se.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([cr]),n.\u0275\u0275InheritDefinitionFeature]}),B})();const Yi=new n.InjectionToken("NgModelWithFormControlWarning"),ur={provide:ne,useExisting:(0,n.forwardRef)(()=>dr)};let dr=(()=>{class B extends ne{constructor(M,se,mt,Nt){super(),this._ngModelWarningConfig=Nt,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(M),this._setAsyncValidators(se),this.valueAccessor=ct(0,mt)}set isDisabled(M){}ngOnChanges(M){if(this._isControlChanged(M)){const se=M.form.previousValue;se&&$t(se,this,!1),Ct(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}Ae(M,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&$t(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(M){this.viewModel=M,this.update.emit(M)}_isControlChanged(M){return M.hasOwnProperty("form")}}return B._ngModelWarningSentOnce=!1,B.\u0275fac=function(M){return new(M||B)(n.\u0275\u0275directiveInject(I,10),n.\u0275\u0275directiveInject(V,10),n.\u0275\u0275directiveInject(p,10),n.\u0275\u0275directiveInject(Yi,8))},B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([ur]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),B})();const Fr={provide:Me,useExisting:(0,n.forwardRef)(()=>_i)};let _i=(()=>{class B extends Me{constructor(M,se){super(),this.validators=M,this.asyncValidators=se,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new n.EventEmitter,this._setValidators(M),this._setAsyncValidators(se)}ngOnChanges(M){this._checkFormPresent(),M.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(q(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(M){const se=this.form.get(M.path);return Ct(se,M),se.updateValueAndValidity({emitEvent:!1}),this.directives.push(M),se}getControl(M){return this.form.get(M.path)}removeControl(M){$t(M.control||null,M,!1),xt(this.directives,M)}addFormGroup(M){this._setUpFormContainer(M)}removeFormGroup(M){this._cleanUpFormContainer(M)}getFormGroup(M){return this.form.get(M.path)}addFormArray(M){this._setUpFormContainer(M)}removeFormArray(M){this._cleanUpFormContainer(M)}getFormArray(M){return this.form.get(M.path)}updateModel(M,se){this.form.get(M.path).setValue(se)}onSubmit(M){return this.submitted=!0,ke(this.form,this.directives),this.ngSubmit.emit(M),!1}onReset(){this.resetForm()}resetForm(M){this.form.reset(M),this.submitted=!1}_updateDomValue(){this.directives.forEach(M=>{const se=M.control,mt=this.form.get(M.path);se!==mt&&($t(se||null,M),Pe(mt)&&(Ct(mt,M),M.control=mt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(M){const se=this.form.get(M.path);N(se,M),se.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(M){if(this.form){const se=this.form.get(M.path);se&&function he(B,R){return q(B,R)}(se,M)&&se.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){fe(this.form,this),this._oldForm&&q(this._oldForm,this)}_checkFormPresent(){}}return B.\u0275fac=function(M){return new(M||B)(n.\u0275\u0275directiveInject(I,10),n.\u0275\u0275directiveInject(V,10))},B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["","formGroup",""]],hostBindings:function(M,se){1&M&&n.\u0275\u0275listener("submit",function(Nt){return se.onSubmit(Nt)})("reset",function(){return se.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([Fr]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),B})();const kr={provide:Me,useExisting:(0,n.forwardRef)(()=>Ni)};let Ni=(()=>{class B extends zn{constructor(M,se,mt){super(),this._parent=M,this._setValidators(se),this._setAsyncValidators(mt)}_checkParentType(){Zi(this._parent)}}return B.\u0275fac=function(M){return new(M||B)(n.\u0275\u0275directiveInject(Me,13),n.\u0275\u0275directiveInject(I,10),n.\u0275\u0275directiveInject(V,10))},B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[n.\u0275\u0275ProvidersFeature([kr]),n.\u0275\u0275InheritDefinitionFeature]}),B})();const Nr={provide:Me,useExisting:(0,n.forwardRef)(()=>Li)};let Li=(()=>{class B extends Me{constructor(M,se,mt){super(),this._parent=M,this._setValidators(se),this._setAsyncValidators(mt)}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 Tt(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Zi(this._parent)}}return B.\u0275fac=function(M){return new(M||B)(n.\u0275\u0275directiveInject(Me,13),n.\u0275\u0275directiveInject(I,10),n.\u0275\u0275directiveInject(V,10))},B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[n.\u0275\u0275ProvidersFeature([Nr]),n.\u0275\u0275InheritDefinitionFeature]}),B})();function Zi(B){return!(B instanceof Ni||B instanceof _i||B instanceof Li)}const Si={provide:ne,useExisting:(0,n.forwardRef)(()=>bi)};let bi=(()=>{class B extends ne{constructor(M,se,mt,Nt,Sn){super(),this._ngModelWarningConfig=Sn,this._added=!1,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._parent=M,this._setValidators(se),this._setAsyncValidators(mt),this.valueAccessor=ct(0,Nt)}set isDisabled(M){}ngOnChanges(M){this._added||this._setUpControl(),Ae(M,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(M){this.viewModel=M,this.update.emit(M)}get path(){return Tt(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 B._ngModelWarningSentOnce=!1,B.\u0275fac=function(M){return new(M||B)(n.\u0275\u0275directiveInject(Me,13),n.\u0275\u0275directiveInject(I,10),n.\u0275\u0275directiveInject(V,10),n.\u0275\u0275directiveInject(p,10),n.\u0275\u0275directiveInject(Yi,8))},B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[n.\u0275\u0275ProvidersFeature([Si]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),B})();const wr={provide:p,useExisting:(0,n.forwardRef)(()=>Zn),multi:!0};function fr(B,R){return null==B?`${R}`:(R&&"object"==typeof R&&(R="Object"),`${B}: ${R}`.slice(0,50))}let Zn=(()=>{class B extends f{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(M){this._compareWith=M}writeValue(M){this.value=M;const mt=fr(this._getOptionId(M),M);this.setProperty("value",mt)}registerOnChange(M){this.onChange=se=>{this.value=this._getOptionValue(se),M(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(M){for(const se of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(se),M))return se;return null}_getOptionValue(M){const se=function Mr(B){return B.split(":")[0]}(M);return this._optionMap.has(se)?this._optionMap.get(se):M}}return B.\u0275fac=function(){let R;return function(se){return(R||(R=n.\u0275\u0275getInheritedFactory(B)))(se||B)}}(),B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(M,se){1&M&&n.\u0275\u0275listener("change",function(Nt){return se.onChange(Nt.target.value)})("blur",function(){return se.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([wr]),n.\u0275\u0275InheritDefinitionFeature]}),B})(),ji=(()=>{class B{constructor(M,se,mt){this._element=M,this._renderer=se,this._select=mt,this._select&&(this.id=this._select._registerOption())}set ngValue(M){null!=this._select&&(this._select._optionMap.set(this.id,M),this._setElementValue(fr(this.id,M)),this._select.writeValue(this._select.value))}set value(M){this._setElementValue(M),this._select&&this._select.writeValue(this._select.value)}_setElementValue(M){this._renderer.setProperty(this._element.nativeElement,"value",M)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return B.\u0275fac=function(M){return new(M||B)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(Zn,9))},B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),B})();const Ci={provide:p,useExisting:(0,n.forwardRef)(()=>Ii),multi:!0};function Oi(B,R){return null==B?`${R}`:("string"==typeof R&&(R=`'${R}'`),R&&"object"==typeof R&&(R="Object"),`${B}: ${R}`.slice(0,50))}let Ii=(()=>{class B extends f{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(M){this._compareWith=M}writeValue(M){let se;if(this.value=M,Array.isArray(M)){const mt=M.map(Nt=>this._getOptionId(Nt));se=(Nt,Sn)=>{Nt._setSelected(mt.indexOf(Sn.toString())>-1)}}else se=(mt,Nt)=>{mt._setSelected(!1)};this._optionMap.forEach(se)}registerOnChange(M){this.onChange=se=>{const mt=[],Nt=se.selectedOptions;if(void 0!==Nt){const Sn=Nt;for(let li=0;li<Sn.length;li++){const Or=this._getOptionValue(Sn[li].value);mt.push(Or)}}else{const Sn=se.options;for(let li=0;li<Sn.length;li++){const Sr=Sn[li];if(Sr.selected){const Or=this._getOptionValue(Sr.value);mt.push(Or)}}}this.value=mt,M(mt)}}_registerOption(M){const se=(this._idCounter++).toString();return this._optionMap.set(se,M),se}_getOptionId(M){for(const se of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(se)._value,M))return se;return null}_getOptionValue(M){const se=function hr(B){return B.split(":")[0]}(M);return this._optionMap.has(se)?this._optionMap.get(se)._value:M}}return B.\u0275fac=function(){let R;return function(se){return(R||(R=n.\u0275\u0275getInheritedFactory(B)))(se||B)}}(),B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(M,se){1&M&&n.\u0275\u0275listener("change",function(Nt){return se.onChange(Nt.target)})("blur",function(){return se.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([Ci]),n.\u0275\u0275InheritDefinitionFeature]}),B})(),Ei=(()=>{class B{constructor(M,se,mt){this._element=M,this._renderer=se,this._select=mt,this._select&&(this.id=this._select._registerOption(this))}set ngValue(M){null!=this._select&&(this._value=M,this._setElementValue(Oi(this.id,M)),this._select.writeValue(this._select.value))}set value(M){this._select?(this._value=M,this._setElementValue(Oi(this.id,M)),this._select.writeValue(this._select.value)):this._setElementValue(M)}_setElementValue(M){this._renderer.setProperty(this._element.nativeElement,"value",M)}_setSelected(M){this._renderer.setProperty(this._element.nativeElement,"selected",M)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return B.\u0275fac=function(M){return new(M||B)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(Ii,9))},B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),B})();function Ji(B){return"number"==typeof B?B:parseInt(B,10)}function Xi(B){return"number"==typeof B?B:parseFloat(B)}let Pn=(()=>{class B{constructor(){this._validator=ue}ngOnChanges(M){if(this.inputName in M){const se=this.normalizeInput(M[this.inputName].currentValue);this._enabled=this.enabled(se),this._validator=this._enabled?this.createValidator(se):ue,this._onChange&&this._onChange()}}validate(M){return this._validator(M)}registerOnValidatorChange(M){this._onChange=M}enabled(M){return null!=M}}return B.\u0275fac=function(M){return new(M||B)},B.\u0275dir=n.\u0275\u0275defineDirective({type:B,features:[n.\u0275\u0275NgOnChangesFeature]}),B})();const Vi={provide:I,useExisting:(0,n.forwardRef)(()=>qi),multi:!0};let qi=(()=>{class B extends Pn{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=M=>Xi(M),this.createValidator=M=>U(M)}}return B.\u0275fac=function(){let R;return function(se){return(R||(R=n.\u0275\u0275getInheritedFactory(B)))(se||B)}}(),B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(M,se){2&M&&n.\u0275\u0275attribute("max",se._enabled?se.max:null)},inputs:{max:"max"},features:[n.\u0275\u0275ProvidersFeature([Vi]),n.\u0275\u0275InheritDefinitionFeature]}),B})();const Vn={provide:I,useExisting:(0,n.forwardRef)(()=>Pi),multi:!0};let Pi=(()=>{class B extends Pn{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=M=>Xi(M),this.createValidator=M=>X(M)}}return B.\u0275fac=function(){let R;return function(se){return(R||(R=n.\u0275\u0275getInheritedFactory(B)))(se||B)}}(),B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(M,se){2&M&&n.\u0275\u0275attribute("min",se._enabled?se.min:null)},inputs:{min:"min"},features:[n.\u0275\u0275ProvidersFeature([Vn]),n.\u0275\u0275InheritDefinitionFeature]}),B})();const ti={provide:I,useExisting:(0,n.forwardRef)(()=>Wn),multi:!0},ni={provide:I,useExisting:(0,n.forwardRef)(()=>Jn),multi:!0};let Wn=(()=>{class B extends Pn{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=M=>function Bi(B){return null!=B&&!1!==B&&"false"!=`${B}`}(M),this.createValidator=M=>oe}enabled(M){return M}}return B.\u0275fac=function(){let R;return function(se){return(R||(R=n.\u0275\u0275getInheritedFactory(B)))(se||B)}}(),B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(M,se){2&M&&n.\u0275\u0275attribute("required",se._enabled?"":null)},inputs:{required:"required"},features:[n.\u0275\u0275ProvidersFeature([ti]),n.\u0275\u0275InheritDefinitionFeature]}),B})(),Jn=(()=>{class B extends Wn{constructor(){super(...arguments),this.createValidator=M=>le}}return B.\u0275fac=function(){let R;return function(se){return(R||(R=n.\u0275\u0275getInheritedFactory(B)))(se||B)}}(),B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(M,se){2&M&&n.\u0275\u0275attribute("required",se._enabled?"":null)},features:[n.\u0275\u0275ProvidersFeature([ni]),n.\u0275\u0275InheritDefinitionFeature]}),B})();const jr={provide:I,useExisting:(0,n.forwardRef)(()=>Tn),multi:!0};let Tn=(()=>{class B extends Pn{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=M=>""===M||!0===M||"true"===M,this.createValidator=M=>me}enabled(M){return M}}return B.\u0275fac=function(){let R;return function(se){return(R||(R=n.\u0275\u0275getInheritedFactory(B)))(se||B)}}(),B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[n.\u0275\u0275ProvidersFeature([jr]),n.\u0275\u0275InheritDefinitionFeature]}),B})();const F={provide:I,useExisting:(0,n.forwardRef)(()=>re),multi:!0};let re=(()=>{class B extends Pn{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=M=>Ji(M),this.createValidator=M=>De(M)}}return B.\u0275fac=function(){let R;return function(se){return(R||(R=n.\u0275\u0275getInheritedFactory(B)))(se||B)}}(),B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(M,se){2&M&&n.\u0275\u0275attribute("minlength",se._enabled?se.minlength:null)},inputs:{minlength:"minlength"},features:[n.\u0275\u0275ProvidersFeature([F]),n.\u0275\u0275InheritDefinitionFeature]}),B})();const x={provide:I,useExisting:(0,n.forwardRef)(()=>pe),multi:!0};let pe=(()=>{class B extends Pn{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=M=>Ji(M),this.createValidator=M=>We(M)}}return B.\u0275fac=function(){let R;return function(se){return(R||(R=n.\u0275\u0275getInheritedFactory(B)))(se||B)}}(),B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(M,se){2&M&&n.\u0275\u0275attribute("maxlength",se._enabled?se.maxlength:null)},inputs:{maxlength:"maxlength"},features:[n.\u0275\u0275ProvidersFeature([x]),n.\u0275\u0275InheritDefinitionFeature]}),B})();const $e={provide:I,useExisting:(0,n.forwardRef)(()=>ut),multi:!0};let ut=(()=>{class B extends Pn{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=M=>M,this.createValidator=M=>Q(M)}}return B.\u0275fac=function(){let R;return function(se){return(R||(R=n.\u0275\u0275getInheritedFactory(B)))(se||B)}}(),B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(M,se){2&M&&n.\u0275\u0275attribute("pattern",se._enabled?se.pattern:null)},inputs:{pattern:"pattern"},features:[n.\u0275\u0275ProvidersFeature([$e]),n.\u0275\u0275InheritDefinitionFeature]}),B})(),cn=(()=>{class B{}return B.\u0275fac=function(M){return new(M||B)},B.\u0275mod=n.\u0275\u0275defineNgModule({type:B}),B.\u0275inj=n.\u0275\u0275defineInjector({imports:[[Bn]]}),B})(),rn=(()=>{class B{}return B.\u0275fac=function(M){return new(M||B)},B.\u0275mod=n.\u0275\u0275defineNgModule({type:B}),B.\u0275inj=n.\u0275\u0275defineInjector({imports:[cn]}),B})(),sn=(()=>{class B{static withConfig(M){return{ngModule:B,providers:[{provide:Yi,useValue:M.warnOnNgModelWithFormControl}]}}}return B.\u0275fac=function(M){return new(M||B)},B.\u0275mod=n.\u0275\u0275defineNgModule({type:B}),B.\u0275inj=n.\u0275\u0275defineInjector({imports:[cn]}),B})(),bn=(()=>{class B{group(M,se=null){const mt=this._reduceControls(M);let li,Nt=null,Sn=null;return null!=se&&(function xn(B){return void 0!==B.asyncValidators||void 0!==B.validators||void 0!==B.updateOn}(se)?(Nt=null!=se.validators?se.validators:null,Sn=null!=se.asyncValidators?se.asyncValidators:null,li=null!=se.updateOn?se.updateOn:void 0):(Nt=null!=se.validator?se.validator:null,Sn=null!=se.asyncValidator?se.asyncValidator:null)),new pn(mt,{asyncValidators:Sn,updateOn:li,validators:Nt})}control(M,se,mt){return new Ot(M,se,mt)}array(M,se,mt){const Nt=M.map(Sn=>this._createControl(Sn));return new ln(Nt,se,mt)}_reduceControls(M){const se={};return Object.keys(M).forEach(mt=>{se[mt]=this._createControl(M[mt])}),se}_createControl(M){return Pe(M)||ie(M)||we(M)?M:Array.isArray(M)?this.control(M[0],M.length>1?M[1]:null,M.length>2?M[2]:null):this.control(M)}}return B.\u0275fac=function(M){return new(M||B)},B.\u0275prov=n.\u0275\u0275defineInjectable({token:B,factory:B.\u0275fac,providedIn:sn}),B})();const On=new n.Version("13.3.6")},7423:(G,o,a)=>{"use strict";a.r(o),a.d(o,{MatAnchor:()=>v,MatButton:()=>_,MatButtonModule:()=>b});var n=a(5e3),h=a(508),y=a(6360),d=a(5664);const r=["mat-button",""],l=["*"],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(P,I,V){super(P),this._focusMonitor=I,this._animationMode=V,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const J of m)this._hasHostAttributes(J)&&this._getHostElement().classList.add(J);P.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(P,I){P?this._focusMonitor.focusVia(this._getHostElement(),P,I):this._getHostElement().focus(I)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...P){return P.some(I=>this._getHostElement().hasAttribute(I))}}return T.\u0275fac=function(P){return new(P||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(P,I){if(1&P&&n.\u0275\u0275viewQuery(h.MatRipple,5),2&P){let V;n.\u0275\u0275queryRefresh(V=n.\u0275\u0275loadQuery())&&(I.ripple=V.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(P,I){2&P&&(n.\u0275\u0275attribute("disabled",I.disabled||null),n.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===I._animationMode)("mat-button-disabled",I.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[n.\u0275\u0275InheritDefinitionFeature],attrs:r,ngContentSelectors:l,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(P,I){1&P&&(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&P&&(n.\u0275\u0275advance(2),n.\u0275\u0275classProp("mat-button-ripple-round",I.isRoundButton||I.isIconButton),n.\u0275\u0275property("matRippleDisabled",I._isRippleDisabled())("matRippleCentered",I.isIconButton)("matRippleTrigger",I._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;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;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;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;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(P,I,V,J){super(I,P,V),this._ngZone=J,this._haltDisabledEvents=Z=>{this.disabled&&(Z.preventDefault(),Z.stopImmediatePropagation())}}ngAfterViewInit(){super.ngAfterViewInit(),this._ngZone?this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return T.\u0275fac=function(P){return new(P||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(P,I){2&P&&(n.\u0275\u0275attribute("tabindex",I.disabled?-1:I.tabIndex)("disabled",I.disabled||null)("aria-disabled",I.disabled.toString()),n.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===I._animationMode)("mat-button-disabled",I.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[n.\u0275\u0275InheritDefinitionFeature],attrs:r,ngContentSelectors:l,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(P,I){1&P&&(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&P&&(n.\u0275\u0275advance(2),n.\u0275\u0275classProp("mat-button-ripple-round",I.isRoundButton||I.isIconButton),n.\u0275\u0275property("matRippleDisabled",I._isRippleDisabled())("matRippleCentered",I.isIconButton)("matRippleTrigger",I._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;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;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;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;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(P){return new(P||T)},T.\u0275mod=n.\u0275\u0275defineNgModule({type:T}),T.\u0275inj=n.\u0275\u0275defineInjector({imports:[[h.MatRippleModule,h.MatCommonModule],h.MatCommonModule]}),T})()},9417:(G,o,a)=>{"use strict";a.r(o),a.d(o,{MAT_CHIPS_DEFAULT_OPTIONS:()=>lt,MAT_CHIP_AVATAR:()=>Te,MAT_CHIP_REMOVE:()=>He,MAT_CHIP_TRAILING_ICON:()=>Ee,MatChip:()=>Oe,MatChipAvatar:()=>rt,MatChipInput:()=>Ct,MatChipList:()=>fe,MatChipListChange:()=>Ht,MatChipRemove:()=>ze,MatChipSelectionChange:()=>At,MatChipTrailingIcon:()=>wt,MatChipsModule:()=>k});var n=a(1159),h=a(5e3),y=a(508),d=a(3191),r=a(9808),l=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 st=(()=>{class W{}return W.\u0275fac=function(z){return new(z||W)},W.\u0275dir=h.\u0275\u0275defineDirective({type:W}),W})();var Dt=a(226);const Et=["*"];class At{constructor(Y,z,N=!1){this.source=Y,this.selected=z,this.isUserInput=N}}const He=new h.InjectionToken("MatChipRemove"),Te=new h.InjectionToken("MatChipAvatar"),Ee=new h.InjectionToken("MatChipTrailingIcon");class Ye{constructor(Y){this._elementRef=Y}}const Xe=(0,y.mixinTabIndex)((0,y.mixinColor)((0,y.mixinDisableRipple)(Ye),"primary"),-1);let rt=(()=>{class W{}return W.\u0275fac=function(z){return new(z||W)},W.\u0275dir=h.\u0275\u0275defineDirective({type:W,selectors:[["mat-chip-avatar"],["","matChipAvatar",""]],hostAttrs:[1,"mat-chip-avatar"],features:[h.\u0275\u0275ProvidersFeature([{provide:Te,useExisting:W}])]}),W})(),wt=(()=>{class W{}return W.\u0275fac=function(z){return new(z||W)},W.\u0275dir=h.\u0275\u0275defineDirective({type:W,selectors:[["mat-chip-trailing-icon"],["","matChipTrailingIcon",""]],hostAttrs:[1,"mat-chip-trailing-icon"],features:[h.\u0275\u0275ProvidersFeature([{provide:Ee,useExisting:W}])]}),W})(),Oe=(()=>{class W extends Xe{constructor(z,N,he,je,ft,Ft,Ie,Ae){super(z),this._ngZone=N,this._changeDetectorRef=ft,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=Ft.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new y.RippleRenderer(this,N,this._chipRippleTarget,he),this._chipRipple.setupTriggerEvents(z),this.rippleConfig=je||{},this._animationsDisabled="NoopAnimations"===Ie,this.tabIndex=null!=Ae&&parseInt(Ae)||-1}get rippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(z){const N=(0,d.Ig)(z);N!==this._selected&&(this._selected=N,this._dispatchSelectionChange())}get value(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent}set value(z){this._value=z}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(z){this._selectable=(0,d.Ig)(z)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(z){this._disabled=(0,d.Ig)(z)}get removable(){return this._removable}set removable(z){this._removable=(0,d.Ig)(z)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}_addHostClassName(){const z="mat-basic-chip",N=this._elementRef.nativeElement;N.hasAttribute(z)||N.tagName.toLowerCase()===z?N.classList.add(z):N.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(z=!1){return this._selected=!this.selected,this._dispatchSelectionChange(z),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(z){this.disabled&&z.preventDefault()}_handleKeydown(z){if(!this.disabled)switch(z.keyCode){case n.yY:case n.ZH:this.remove(),z.preventDefault();break;case n.L_:this.selectable&&this.toggleSelected(!0),z.preventDefault()}}_blur(){this._ngZone.onStable.pipe((0,m.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(z=!1){this.selectionChange.emit({source:this,isUserInput:z,selected:this._selected})}}return W.\u0275fac=function(z){return new(z||W)(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(r.DOCUMENT),h.\u0275\u0275directiveInject(l.ANIMATION_MODULE_TYPE,8),h.\u0275\u0275injectAttribute("tabindex"))},W.\u0275dir=h.\u0275\u0275defineDirective({type:W,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(z,N,he){if(1&z&&(h.\u0275\u0275contentQuery(he,Te,5),h.\u0275\u0275contentQuery(he,Ee,5),h.\u0275\u0275contentQuery(he,He,5)),2&z){let je;h.\u0275\u0275queryRefresh(je=h.\u0275\u0275loadQuery())&&(N.avatar=je.first),h.\u0275\u0275queryRefresh(je=h.\u0275\u0275loadQuery())&&(N.trailingIcon=je.first),h.\u0275\u0275queryRefresh(je=h.\u0275\u0275loadQuery())&&(N.removeIcon=je.first)}},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(z,N){1&z&&h.\u0275\u0275listener("click",function(je){return N._handleClick(je)})("keydown",function(je){return N._handleKeydown(je)})("focus",function(){return N.focus()})("blur",function(){return N._blur()}),2&z&&(h.\u0275\u0275attribute("tabindex",N.disabled?null:N.tabIndex)("disabled",N.disabled||null)("aria-disabled",N.disabled.toString())("aria-selected",N.ariaSelected),h.\u0275\u0275classProp("mat-chip-selected",N.selected)("mat-chip-with-avatar",N.avatar)("mat-chip-with-trailing-icon",N.trailingIcon||N.removeIcon)("mat-chip-disabled",N.disabled)("_mat-animation-noopable",N._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]}),W})(),ze=(()=>{class W{constructor(z,N){this._parentChip=z,"BUTTON"===N.nativeElement.nodeName&&N.nativeElement.setAttribute("type","button")}_handleClick(z){const N=this._parentChip;N.removable&&!N.disabled&&N.remove(),z.stopPropagation(),z.preventDefault()}}return W.\u0275fac=function(z){return new(z||W)(h.\u0275\u0275directiveInject(Oe),h.\u0275\u0275directiveInject(h.ElementRef))},W.\u0275dir=h.\u0275\u0275defineDirective({type:W,selectors:[["","matChipRemove",""]],hostAttrs:[1,"mat-chip-remove","mat-chip-trailing-icon"],hostBindings:function(z,N){1&z&&h.\u0275\u0275listener("click",function(je){return N._handleClick(je)})},features:[h.\u0275\u0275ProvidersFeature([{provide:He,useExisting:W}])]}),W})();const lt=new h.InjectionToken("mat-chips-default-options");let Tt=0,Ct=(()=>{class W{constructor(z,N){this._elementRef=z,this._defaultOptions=N,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new h.EventEmitter,this.placeholder="",this.id="mat-chip-list-input-"+Tt++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement}set chipList(z){z&&(this._chipList=z,this._chipList.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(z){this._addOnBlur=(0,d.Ig)(z)}get disabled(){return this._disabled||this._chipList&&this._chipList.disabled}set disabled(z){this._disabled=(0,d.Ig)(z)}get empty(){return!this.inputElement.value}ngOnChanges(){this._chipList.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(z){if(z){if(z.keyCode===n.Mf&&!(0,n.Vb)(z,"shiftKey")&&this._chipList._allowFocusEscape(),z.keyCode===n.ZH&&this._focusLastChipOnBackspace)return this._chipList._keyManager.setLastItemActive(),void z.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(z)}_keyup(z){!this._focusLastChipOnBackspace&&z.keyCode===n.ZH&&this.empty&&(this._focusLastChipOnBackspace=!0,z.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(z){!this.inputElement.value&&!!z&&this._chipList._keydown(z),(!z||this._isSeparatorKey(z))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),null==z||z.preventDefault())}_onInput(){this._chipList.stateChanges.next()}focus(z){this.inputElement.focus(z)}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}_isSeparatorKey(z){return!(0,n.Vb)(z)&&new Set(this.separatorKeyCodes).has(z.keyCode)}}return W.\u0275fac=function(z){return new(z||W)(h.\u0275\u0275directiveInject(h.ElementRef),h.\u0275\u0275directiveInject(lt))},W.\u0275dir=h.\u0275\u0275defineDirective({type:W,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(z,N){1&z&&h.\u0275\u0275listener("keydown",function(je){return N._keydown(je)})("keyup",function(je){return N._keyup(je)})("blur",function(){return N._blur()})("focus",function(){return N._focus()})("input",function(){return N._onInput()}),2&z&&(h.\u0275\u0275hostProperty("id",N.id),h.\u0275\u0275attribute("disabled",N.disabled||null)("placeholder",N.placeholder||null)("aria-invalid",N._chipList&&N._chipList.ngControl?N._chipList.ngControl.invalid:null)("aria-required",N._chipList&&N._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]}),W})();const $t=(0,y.mixinErrorState)(class{constructor(W,Y,z,N){this._defaultErrorStateMatcher=W,this._parentForm=Y,this._parentFormGroup=z,this.ngControl=N}});let Mt=0;class Ht{constructor(Y,z){this.source=Y,this.value=z}}let fe=(()=>{class W extends $t{constructor(z,N,he,je,ft,Ft,Ie){super(Ft,je,ft,Ie),this._elementRef=z,this._changeDetectorRef=N,this._dir=he,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new f.x,this._uid="mat-chip-list-"+Mt++,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(Ae,ge)=>Ae===ge,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 z,N;return this.multiple?(null===(z=this._selectionModel)||void 0===z?void 0:z.selected)||[]:null===(N=this._selectionModel)||void 0===N?void 0:N.selected[0]}get role(){return this.empty?null:"listbox"}get multiple(){return this._multiple}set multiple(z){this._multiple=(0,d.Ig)(z),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(z){this._compareWith=z,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(z){this.writeValue(z),this._value=z}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){var z,N,he,je;return null!==(je=null!==(z=this._required)&&void 0!==z?z:null===(he=null===(N=this.ngControl)||void 0===N?void 0:N.control)||void 0===he?void 0:he.hasValidator(S.Validators.required))&&void 0!==je&&je}set required(z){this._required=(0,d.Ig)(z),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(z){this._placeholder=z,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(z){this._disabled=(0,d.Ig)(z),this._syncChipsState()}get selectable(){return this._selectable}set selectable(z){this._selectable=(0,d.Ig)(z),this.chips&&this.chips.forEach(N=>N.chipListSelectable=this._selectable)}set tabIndex(z){this._userTabIndex=z,this._tabIndex=z}get chipSelectionChanges(){return(0,p.T)(...this.chips.map(z=>z.selectionChange))}get chipFocusChanges(){return(0,p.T)(...this.chips.map(z=>z._onFocus))}get chipBlurChanges(){return(0,p.T)(...this.chips.map(z=>z._onBlur))}get chipRemoveChanges(){return(0,p.T)(...this.chips.map(z=>z.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(z=>this._keyManager.withHorizontalOrientation(z)),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(z){this._chipInput=z,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",z.id)}setDescribedByIds(z){this._ariaDescribedby=z.join(" ")}writeValue(z){this.chips&&this._setSelectionByValue(z,!1)}registerOnChange(z){this._onChange=z}registerOnTouched(z){this._onTouched=z}setDisabledState(z){this.disabled=z,this.stateChanges.next()}onContainerClick(z){this._originatesFromChip(z)||this.focus()}focus(z){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(z),this.stateChanges.next()))}_focusInput(z){this._chipInput&&this._chipInput.focus(z)}_keydown(z){const N=z.target;N&&N.classList.contains("mat-chip")&&(this._keyManager.onKeydown(z),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}_updateFocusForDestroyedChips(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){const z=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(z)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(z){return z>=0&&z<this.chips.length}_setSelectionByValue(z,N=!0){if(this._clearSelection(),this.chips.forEach(he=>he.deselect()),Array.isArray(z))z.forEach(he=>this._selectValue(he,N)),this._sortValues();else{const he=this._selectValue(z,N);he&&N&&this._keyManager.setActiveItem(he)}}_selectValue(z,N=!0){const he=this.chips.find(je=>null!=je.value&&this._compareWith(je.value,z));return he&&(N?he.selectViaInteraction():he.select(),this._selectionModel.select(he)),he}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(z){this._selectionModel.clear(),this.chips.forEach(N=>{N!==z&&N.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(z=>{z.selected&&this._selectionModel.select(z)}),this.stateChanges.next())}_propagateChanges(z){let N=null;N=Array.isArray(this.selected)?this.selected.map(he=>he.value):this.selected?this.selected.value:z,this._value=N,this.change.emit(new Ht(this,N)),this.valueChange.emit(N),this._onChange(N),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(z=>{z.source.selected?this._selectionModel.select(z.source):this._selectionModel.deselect(z.source),this.multiple||this.chips.forEach(N=>{!this._selectionModel.isSelected(N)&&N.selected&&N.deselect()}),z.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(z=>{let N=this.chips.toArray().indexOf(z.chip);this._isValidIndex(N)&&this._keyManager.updateActiveItem(N),this.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(()=>{this._blur(),this.stateChanges.next()})}_listenToChipsRemoved(){this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(z=>{const N=z.chip,he=this.chips.toArray().indexOf(z.chip);this._isValidIndex(he)&&N._hasFocus&&(this._lastDestroyedChipIndex=he)})}_originatesFromChip(z){let N=z.target;for(;N&&N!==this._elementRef.nativeElement;){if(N.classList.contains("mat-chip"))return!0;N=N.parentElement}return!1}_hasFocusedChip(){return this.chips&&this.chips.some(z=>z._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(z=>{z._chipListDisabled=this._disabled,z._chipListMultiple=this.multiple})}}return W.\u0275fac=function(z){return new(z||W)(h.\u0275\u0275directiveInject(h.ElementRef),h.\u0275\u0275directiveInject(h.ChangeDetectorRef),h.\u0275\u0275directiveInject(Dt.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))},W.\u0275cmp=h.\u0275\u0275defineComponent({type:W,selectors:[["mat-chip-list"]],contentQueries:function(z,N,he){if(1&z&&h.\u0275\u0275contentQuery(he,Oe,5),2&z){let je;h.\u0275\u0275queryRefresh(je=h.\u0275\u0275loadQuery())&&(N.chips=je)}},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(z,N){1&z&&h.\u0275\u0275listener("focus",function(){return N.focus()})("blur",function(){return N._blur()})("keydown",function(je){return N._keydown(je)}),2&z&&(h.\u0275\u0275hostProperty("id",N._uid),h.\u0275\u0275attribute("tabindex",N.disabled?null:N._tabIndex)("aria-describedby",N._ariaDescribedby||null)("aria-required",N.role?N.required:null)("aria-disabled",N.disabled.toString())("aria-invalid",N.errorState)("aria-multiselectable",N.multiple)("role",N.role)("aria-orientation",N.ariaOrientation),h.\u0275\u0275classProp("mat-chip-list-disabled",N.disabled)("mat-chip-list-invalid",N.errorState)("mat-chip-list-required",N.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:st,useExisting:W}]),h.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Et,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(z,N){1&z&&(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;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;transform:translateZ(0)}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}\n'],encapsulation:2,changeDetection:0}),W})(),k=(()=>{class W{}return W.\u0275fac=function(z){return new(z||W)},W.\u0275mod=h.\u0275\u0275defineNgModule({type:W}),W.\u0275inj=h.\u0275\u0275defineInjector({providers:[y.ErrorStateMatcher,{provide:lt,useValue:{separatorKeyCodes:[n.K5]}}],imports:[[y.MatCommonModule]]}),W})()},508:(G,o,a)=>{"use strict";a.r(o),a.d(o,{AnimationCurves:()=>J,AnimationDurations:()=>Z,DateAdapter:()=>dt,ErrorStateMatcher:()=>pt,MATERIAL_SANITY_CHECKS:()=>U,MAT_DATE_FORMATS:()=>it,MAT_DATE_LOCALE:()=>_e,MAT_DATE_LOCALE_FACTORY:()=>et,MAT_NATIVE_DATE_FORMATS:()=>xe,MAT_OPTGROUP:()=>wt,MAT_OPTION_PARENT_COMPONENT:()=>Ee,MAT_RIPPLE_GLOBAL_OPTIONS:()=>Dt,MatCommonModule:()=>oe,MatLine:()=>ye,MatLineModule:()=>ne,MatNativeDateModule:()=>Le,MatOptgroup:()=>Oe,MatOption:()=>Ct,MatOptionModule:()=>Ht,MatOptionSelectionChange:()=>lt,MatPseudoCheckbox:()=>He,MatPseudoCheckboxModule:()=>Te,MatRipple:()=>Et,MatRippleModule:()=>At,NativeDateAdapter:()=>ht,NativeDateModule:()=>qe,RippleRef:()=>Me,RippleRenderer:()=>Fe,ShowOnDirtyErrorStateMatcher:()=>Ge,VERSION:()=>V,_MatOptgroupBase:()=>rt,_MatOptionBase:()=>Tt,_countGroupLabelsBeforeOption:()=>$t,_getOptionScrollPosition:()=>Mt,defaultRippleAnimationConfig:()=>Ue,mixinColor:()=>Q,mixinDisableRipple:()=>ue,mixinDisabled:()=>We,mixinErrorState:()=>ce,mixinInitialized:()=>de,mixinTabIndex:()=>$,setLines:()=>Se});var n=a(5e3),h=a(226),d=a(9808),r=a(925),l=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(fe,q){if(1&fe&&n.\u0275\u0275element(0,"mat-pseudo-checkbox",4),2&fe){const k=n.\u0275\u0275nextContext();n.\u0275\u0275property("state",k.selected?"checked":"unchecked")("disabled",k.disabled)}}function P(fe,q){if(1&fe&&(n.\u0275\u0275elementStart(0,"span",5),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&fe){const k=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("(",k.group.label,")")}}const I=["*"],V=new n.Version("13.3.6");let J=(()=>{class fe{}return fe.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",fe.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",fe.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",fe.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",fe})(),Z=(()=>{class fe{}return fe.COMPLEX="375ms",fe.ENTERING="225ms",fe.EXITING="195ms",fe})();const U=new n.InjectionToken("mat-sanity-checks",{providedIn:"root",factory:function X(){return!0}});let oe=(()=>{class fe{constructor(k,W,Y){this._sanityChecks=W,this._document=Y,this._hasDoneGlobalChecks=!1,k._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(k){return!(0,r.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[k])}}return fe.\u0275fac=function(k){return new(k||fe)(n.\u0275\u0275inject(l.qm),n.\u0275\u0275inject(U,8),n.\u0275\u0275inject(d.DOCUMENT))},fe.\u0275mod=n.\u0275\u0275defineNgModule({type:fe}),fe.\u0275inj=n.\u0275\u0275defineInjector({imports:[[h.vT],h.vT]}),fe})();function We(fe){return class extends fe{constructor(...q){super(...q),this._disabled=!1}get disabled(){return this._disabled}set disabled(q){this._disabled=(0,f.Ig)(q)}}}function Q(fe,q){return class extends fe{constructor(...k){super(...k),this.defaultColor=q,this.color=q}get color(){return this._color}set color(k){const W=k||this.defaultColor;W!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),W&&this._elementRef.nativeElement.classList.add(`mat-${W}`),this._color=W)}}}function ue(fe){return class extends fe{constructor(...q){super(...q),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(q){this._disableRipple=(0,f.Ig)(q)}}}function $(fe,q=0){return class extends fe{constructor(...k){super(...k),this._tabIndex=q,this.defaultTabIndex=q}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(k){this._tabIndex=null!=k?(0,f.su)(k):this.defaultTabIndex}}}function ce(fe){return class extends fe{constructor(...q){super(...q),this.stateChanges=new p.x,this.errorState=!1}updateErrorState(){const q=this.errorState,z=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);z!==q&&(this.errorState=z,this.stateChanges.next())}}}function de(fe){return class extends fe{constructor(...q){super(...q),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new m.y(k=>{this._isInitialized?this._notifySubscriber(k):this._pendingSubscribers.push(k)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(q){q.next(),q.complete()}}}const _e=new n.InjectionToken("MAT_DATE_LOCALE",{providedIn:"root",factory:et});function et(){return(0,n.inject)(n.LOCALE_ID)}class dt{constructor(){this._localeChanges=new p.x,this.localeChanges=this._localeChanges}getValidDateOrNull(q){return this.isDateInstance(q)&&this.isValid(q)?q:null}deserialize(q){return null==q||this.isDateInstance(q)&&this.isValid(q)?q:this.invalid()}setLocale(q){this.locale=q,this._localeChanges.next()}compareDate(q,k){return this.getYear(q)-this.getYear(k)||this.getMonth(q)-this.getMonth(k)||this.getDate(q)-this.getDate(k)}sameDate(q,k){if(q&&k){let W=this.isValid(q),Y=this.isValid(k);return W&&Y?!this.compareDate(q,k):W==Y}return q==k}clampDate(q,k,W){return k&&this.compareDate(q,k)<0?k:W&&this.compareDate(q,W)>0?W:q}}const it=new n.InjectionToken("mat-date-formats"),st=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Qe(fe,q){const k=Array(fe);for(let W=0;W<fe;W++)k[W]=q(W);return k}let ht=(()=>{class fe extends dt{constructor(k,W){super(),this.useUtcForDisplay=!1,super.setLocale(k)}getYear(k){return k.getFullYear()}getMonth(k){return k.getMonth()}getDate(k){return k.getDate()}getDayOfWeek(k){return k.getDay()}getMonthNames(k){const W=new Intl.DateTimeFormat(this.locale,{month:k,timeZone:"utc"});return Qe(12,Y=>this._format(W,new Date(2017,Y,1)))}getDateNames(){const k=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Qe(31,W=>this._format(k,new Date(2017,0,W+1)))}getDayOfWeekNames(k){const W=new Intl.DateTimeFormat(this.locale,{weekday:k,timeZone:"utc"});return Qe(7,Y=>this._format(W,new Date(2017,0,Y+1)))}getYearName(k){const W=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(W,k)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(k){return this.getDate(this._createDateWithOverflow(this.getYear(k),this.getMonth(k)+1,0))}clone(k){return new Date(k.getTime())}createDate(k,W,Y){let z=this._createDateWithOverflow(k,W,Y);return z.getMonth(),z}today(){return new Date}parse(k){return"number"==typeof k?new Date(k):k?new Date(Date.parse(k)):null}format(k,W){if(!this.isValid(k))throw Error("NativeDateAdapter: Cannot format invalid date.");const Y=new Intl.DateTimeFormat(this.locale,Object.assign(Object.assign({},W),{timeZone:"utc"}));return this._format(Y,k)}addCalendarYears(k,W){return this.addCalendarMonths(k,12*W)}addCalendarMonths(k,W){let Y=this._createDateWithOverflow(this.getYear(k),this.getMonth(k)+W,this.getDate(k));return this.getMonth(Y)!=((this.getMonth(k)+W)%12+12)%12&&(Y=this._createDateWithOverflow(this.getYear(Y),this.getMonth(Y),0)),Y}addCalendarDays(k,W){return this._createDateWithOverflow(this.getYear(k),this.getMonth(k),this.getDate(k)+W)}toIso8601(k){return[k.getUTCFullYear(),this._2digit(k.getUTCMonth()+1),this._2digit(k.getUTCDate())].join("-")}deserialize(k){if("string"==typeof k){if(!k)return null;if(st.test(k)){let W=new Date(k);if(this.isValid(W))return W}}return super.deserialize(k)}isDateInstance(k){return k instanceof Date}isValid(k){return!isNaN(k.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(k,W,Y){const z=new Date;return z.setFullYear(k,W,Y),z.setHours(0,0,0,0),z}_2digit(k){return("00"+k).slice(-2)}_format(k,W){const Y=new Date;return Y.setUTCFullYear(W.getFullYear(),W.getMonth(),W.getDate()),Y.setUTCHours(W.getHours(),W.getMinutes(),W.getSeconds(),W.getMilliseconds()),k.format(Y)}}return fe.\u0275fac=function(k){return new(k||fe)(n.\u0275\u0275inject(_e,8),n.\u0275\u0275inject(r.t4))},fe.\u0275prov=n.\u0275\u0275defineInjectable({token:fe,factory:fe.\u0275fac}),fe})();const xe={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 qe=(()=>{class fe{}return fe.\u0275fac=function(k){return new(k||fe)},fe.\u0275mod=n.\u0275\u0275defineNgModule({type:fe}),fe.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:dt,useClass:ht}]}),fe})(),Le=(()=>{class fe{}return fe.\u0275fac=function(k){return new(k||fe)},fe.\u0275mod=n.\u0275\u0275defineNgModule({type:fe}),fe.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:it,useValue:xe}],imports:[[qe]]}),fe})(),Ge=(()=>{class fe{isErrorState(k,W){return!!(k&&k.invalid&&(k.dirty||W&&W.submitted))}}return fe.\u0275fac=function(k){return new(k||fe)},fe.\u0275prov=n.\u0275\u0275defineInjectable({token:fe,factory:fe.\u0275fac}),fe})(),pt=(()=>{class fe{isErrorState(k,W){return!!(k&&k.invalid&&(k.touched||W&&W.submitted))}}return fe.\u0275fac=function(k){return new(k||fe)},fe.\u0275prov=n.\u0275\u0275defineInjectable({token:fe,factory:fe.\u0275fac,providedIn:"root"}),fe})(),ye=(()=>{class fe{}return fe.\u0275fac=function(k){return new(k||fe)},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),fe})();function Se(fe,q,k="mat"){fe.changes.pipe((0,u.O)(fe)).subscribe(({length:W})=>{j(q,`${k}-2-line`,!1),j(q,`${k}-3-line`,!1),j(q,`${k}-multi-line`,!1),2===W||3===W?j(q,`${k}-${W}-line`,!0):W>3&&j(q,`${k}-multi-line`,!0)})}function j(fe,q,k){fe.nativeElement.classList.toggle(q,k)}let ne=(()=>{class fe{}return fe.\u0275fac=function(k){return new(k||fe)},fe.\u0275mod=n.\u0275\u0275defineNgModule({type:fe}),fe.\u0275inj=n.\u0275\u0275defineInjector({imports:[[oe],oe]}),fe})();class Me{constructor(q,k,W){this._renderer=q,this.element=k,this.config=W,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Ue={enterDuration:225,exitDuration:150},Re=(0,r.i$)({passive:!0}),L=["mousedown","touchstart"],ve=["mouseup","mouseleave","touchend","touchcancel"];class Fe{constructor(q,k,W,Y){this._target=q,this._ngZone=k,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,Y.isBrowser&&(this._containerElement=(0,f.fI)(W))}fadeInRipple(q,k,W={}){const Y=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),z=Object.assign(Object.assign({},Ue),W.animation);W.centered&&(q=Y.left+Y.width/2,k=Y.top+Y.height/2);const N=W.radius||function ot(fe,q,k){const W=Math.max(Math.abs(fe-k.left),Math.abs(fe-k.right)),Y=Math.max(Math.abs(q-k.top),Math.abs(q-k.bottom));return Math.sqrt(W*W+Y*Y)}(q,k,Y),he=q-Y.left,je=k-Y.top,ft=z.enterDuration,Ft=document.createElement("div");Ft.classList.add("mat-ripple-element"),Ft.style.left=he-N+"px",Ft.style.top=je-N+"px",Ft.style.height=2*N+"px",Ft.style.width=2*N+"px",null!=W.color&&(Ft.style.backgroundColor=W.color),Ft.style.transitionDuration=`${ft}ms`,this._containerElement.appendChild(Ft),function Je(fe){window.getComputedStyle(fe).getPropertyValue("opacity")}(Ft),Ft.style.transform="scale(1)";const Ie=new Me(this,Ft,W);return Ie.state=0,this._activeRipples.add(Ie),W.persistent||(this._mostRecentTransientRipple=Ie),this._runTimeoutOutsideZone(()=>{const Ae=Ie===this._mostRecentTransientRipple;Ie.state=1,!W.persistent&&(!Ae||!this._isPointerDown)&&Ie.fadeOut()},ft),Ie}fadeOutRipple(q){const k=this._activeRipples.delete(q);if(q===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!k)return;const W=q.element,Y=Object.assign(Object.assign({},Ue),q.config.animation);W.style.transitionDuration=`${Y.exitDuration}ms`,W.style.opacity="0",q.state=2,this._runTimeoutOutsideZone(()=>{q.state=3,W.remove()},Y.exitDuration)}fadeOutAll(){this._activeRipples.forEach(q=>q.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(q=>{q.config.persistent||q.fadeOut()})}setupTriggerEvents(q){const k=(0,f.fI)(q);!k||k===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=k,this._registerEvents(L))}handleEvent(q){"mousedown"===q.type?this._onMousedown(q):"touchstart"===q.type?this._onTouchStart(q):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(ve),this._pointerUpEventsRegistered=!0)}_onMousedown(q){const k=(0,l.X6)(q),W=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!k&&!W&&(this._isPointerDown=!0,this.fadeInRipple(q.clientX,q.clientY,this._target.rippleConfig))}_onTouchStart(q){if(!this._target.rippleDisabled&&!(0,l.yG)(q)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const k=q.changedTouches;for(let W=0;W<k.length;W++)this.fadeInRipple(k[W].clientX,k[W].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._activeRipples.forEach(q=>{!q.config.persistent&&(1===q.state||q.config.terminateOnPointerUp&&0===q.state)&&q.fadeOut()}))}_runTimeoutOutsideZone(q,k=0){this._ngZone.runOutsideAngular(()=>setTimeout(q,k))}_registerEvents(q){this._ngZone.runOutsideAngular(()=>{q.forEach(k=>{this._triggerElement.addEventListener(k,this,Re)})})}_removeTriggerEvents(){this._triggerElement&&(L.forEach(q=>{this._triggerElement.removeEventListener(q,this,Re)}),this._pointerUpEventsRegistered&&ve.forEach(q=>{this._triggerElement.removeEventListener(q,this,Re)}))}}const Dt=new n.InjectionToken("mat-ripple-global-options");let Et=(()=>{class fe{constructor(k,W,Y,z,N){this._elementRef=k,this._animationMode=N,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=z||{},this._rippleRenderer=new Fe(this,W,k,Y)}get disabled(){return this._disabled}set disabled(k){k&&this.fadeOutAllNonPersistent(),this._disabled=k,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(k){this._trigger=k,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(k,W=0,Y){return"number"==typeof k?this._rippleRenderer.fadeInRipple(k,W,Object.assign(Object.assign({},this.rippleConfig),Y)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),k))}}return fe.\u0275fac=function(k){return new(k||fe)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(r.t4),n.\u0275\u0275directiveInject(Dt,8),n.\u0275\u0275directiveInject(_.ANIMATION_MODULE_TYPE,8))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(k,W){2&k&&n.\u0275\u0275classProp("mat-ripple-unbounded",W.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"]}),fe})(),At=(()=>{class fe{}return fe.\u0275fac=function(k){return new(k||fe)},fe.\u0275mod=n.\u0275\u0275defineNgModule({type:fe}),fe.\u0275inj=n.\u0275\u0275defineInjector({imports:[[oe],oe]}),fe})(),He=(()=>{class fe{constructor(k){this._animationMode=k,this.state="unchecked",this.disabled=!1}}return fe.\u0275fac=function(k){return new(k||fe)(n.\u0275\u0275directiveInject(_.ANIMATION_MODULE_TYPE,8))},fe.\u0275cmp=n.\u0275\u0275defineComponent({type:fe,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(k,W){2&k&&n.\u0275\u0275classProp("mat-pseudo-checkbox-indeterminate","indeterminate"===W.state)("mat-pseudo-checkbox-checked","checked"===W.state)("mat-pseudo-checkbox-disabled",W.disabled)("_mat-animation-noopable","NoopAnimations"===W._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(k,W){},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}),fe})(),Te=(()=>{class fe{}return fe.\u0275fac=function(k){return new(k||fe)},fe.\u0275mod=n.\u0275\u0275defineNgModule({type:fe}),fe.\u0275inj=n.\u0275\u0275defineInjector({imports:[[oe]]}),fe})();const Ee=new n.InjectionToken("MAT_OPTION_PARENT_COMPONENT"),Ye=We(class{});let Xe=0,rt=(()=>{class fe extends Ye{constructor(k){var W;super(),this._labelId="mat-optgroup-label-"+Xe++,this._inert=null!==(W=null==k?void 0:k.inertGroups)&&void 0!==W&&W}}return fe.\u0275fac=function(k){return new(k||fe)(n.\u0275\u0275directiveInject(Ee,8))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,inputs:{label:"label"},features:[n.\u0275\u0275InheritDefinitionFeature]}),fe})();const wt=new n.InjectionToken("MatOptgroup");let Oe=(()=>{class fe extends rt{}return fe.\u0275fac=function(){let q;return function(W){return(q||(q=n.\u0275\u0275getInheritedFactory(fe)))(W||fe)}}(),fe.\u0275cmp=n.\u0275\u0275defineComponent({type:fe,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-optgroup"],hostVars:5,hostBindings:function(k,W){2&k&&(n.\u0275\u0275attribute("role",W._inert?null:"group")("aria-disabled",W._inert?null:W.disabled.toString())("aria-labelledby",W._inert?null:W._labelId),n.\u0275\u0275classProp("mat-optgroup-disabled",W.disabled))},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[n.\u0275\u0275ProvidersFeature([{provide:wt,useExisting:fe}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:T,decls:4,vars:2,consts:[["aria-hidden","true",1,"mat-optgroup-label",3,"id"]],template:function(k,W){1&k&&(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&k&&(n.\u0275\u0275property("id",W._labelId),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("",W.label," "))},styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),fe})(),ze=0;class lt{constructor(q,k=!1){this.source=q,this.isUserInput=k}}let Tt=(()=>{class fe{constructor(k,W,Y,z){this._element=k,this._changeDetectorRef=W,this._parent=Y,this.group=z,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(k){this._disabled=(0,f.Ig)(k)}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(k,W){const Y=this._getHostElement();"function"==typeof Y.focus&&Y.focus(W)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(k){(k.keyCode===v.K5||k.keyCode===v.L_)&&!(0,v.Vb)(k)&&(this._selectViaInteraction(),k.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 k=this.viewValue;k!==this._mostRecentViewValue&&(this._mostRecentViewValue=k,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(k=!1){this.onSelectionChange.emit(new lt(this,k))}}return fe.\u0275fac=function(k){n.\u0275\u0275invalidFactory()},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),fe})(),Ct=(()=>{class fe extends Tt{constructor(k,W,Y,z){super(k,W,Y,z)}}return fe.\u0275fac=function(k){return new(k||fe)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(Ee,8),n.\u0275\u0275directiveInject(wt,8))},fe.\u0275cmp=n.\u0275\u0275defineComponent({type:fe,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(k,W){1&k&&n.\u0275\u0275listener("click",function(){return W._selectViaInteraction()})("keydown",function(z){return W._handleKeydown(z)}),2&k&&(n.\u0275\u0275hostProperty("id",W.id),n.\u0275\u0275attribute("tabindex",W._getTabIndex())("aria-selected",W._getAriaSelected())("aria-disabled",W.disabled.toString()),n.\u0275\u0275classProp("mat-selected",W.selected)("mat-option-multiple",W.multiple)("mat-active",W.active)("mat-option-disabled",W.disabled))},exportAs:["matOption"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:I,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(k,W){1&k&&(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,P,2,1,"span",2),n.\u0275\u0275element(4,"div",3)),2&k&&(n.\u0275\u0275property("ngIf",W.multiple),n.\u0275\u0275advance(3),n.\u0275\u0275property("ngIf",W.group&&W.group._inert),n.\u0275\u0275advance(1),n.\u0275\u0275property("matRippleTrigger",W._getHostElement())("matRippleDisabled",W.disabled||W.disableRipple))},directives:[He,d.NgIf,Et],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;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}),fe})();function $t(fe,q,k){if(k.length){let W=q.toArray(),Y=k.toArray(),z=0;for(let N=0;N<fe+1;N++)W[N].group&&W[N].group===Y[z]&&z++;return z}return 0}function Mt(fe,q,k,W){return fe<k?fe:fe+q>k+W?Math.max(0,fe-W+q):k}let Ht=(()=>{class fe{}return fe.\u0275fac=function(k){return new(k||fe)},fe.\u0275mod=n.\u0275\u0275defineNgModule({type:fe}),fe.\u0275inj=n.\u0275\u0275defineInjector({imports:[[At,d.CommonModule,oe,Te]]}),fe})()},2339:(G,o,a)=>{"use strict";a.r(o),a.d(o,{MAT_DIALOG_DATA:()=>ue,MAT_DIALOG_DEFAULT_OPTIONS:()=>$,MAT_DIALOG_SCROLL_STRATEGY:()=>ce,MAT_DIALOG_SCROLL_STRATEGY_FACTORY:()=>de,MAT_DIALOG_SCROLL_STRATEGY_PROVIDER:()=>et,MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY:()=>_e,MatDialog:()=>it,MatDialogActions:()=>Le,MatDialogClose:()=>ht,MatDialogConfig:()=>X,MatDialogContainer:()=>me,MatDialogContent:()=>qe,MatDialogModule:()=>pt,MatDialogRef:()=>We,MatDialogTitle:()=>xe,_MatDialogBase:()=>dt,_MatDialogContainerBase:()=>le,_closeDialogVia:()=>Q,matDialogAnimations:()=>U,throwMatDialogContentAlreadyAttachedError:()=>oe});var n=a(1314),h=a(7429),y=a(5e3),d=a(508),r=a(226),l=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),P=a(1777),I=a(5664),V=a(1159),J=a(6360);function Z(ye,Se){}class X{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 U={dialogContainer:(0,P.X$)("dialogContainer",[(0,P.SB)("void, exit",(0,P.oB)({opacity:0,transform:"scale(0.7)"})),(0,P.SB)("enter",(0,P.oB)({transform:"none"})),(0,P.eR)("* => enter",(0,P.ru)([(0,P.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,P.oB)({transform:"none",opacity:1})),(0,P.IO)("@*",(0,P.pV)(),{optional:!0})])),(0,P.eR)("* => void, * => exit",(0,P.ru)([(0,P.jt)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,P.oB)({opacity:0})),(0,P.IO)("@*",(0,P.pV)(),{optional:!0})]))])};function oe(){throw Error("Attempting to attach dialog content after content is already attached")}let le=(()=>{class ye extends h.en{constructor(j,ne,Me,Ue,Ke,Re,L,ve){super(),this._elementRef=j,this._focusTrapFactory=ne,this._changeDetectorRef=Me,this._config=Ke,this._interactivityChecker=Re,this._ngZone=L,this._focusMonitor=ve,this._animationStateChanged=new y.EventEmitter,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=Fe=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(Fe)),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(j){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(j)}attachTemplatePortal(j){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(j)}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(j,ne){this._interactivityChecker.isFocusable(j)||(j.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Me=()=>{j.removeEventListener("blur",Me),j.removeEventListener("mousedown",Me),j.removeAttribute("tabindex")};j.addEventListener("blur",Me),j.addEventListener("mousedown",Me)})),j.focus(ne)}_focusByCssSelector(j,ne){let Me=this._elementRef.nativeElement.querySelector(j);Me&&this._forceFocus(Me,ne)}_trapFocus(){const j=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||j.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(ne=>{ne||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 j=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&j&&"function"==typeof j.focus){const ne=(0,T.ht)(),Me=this._elementRef.nativeElement;(!ne||ne===this._document.body||ne===Me||Me.contains(ne))&&(this._focusMonitor?(this._focusMonitor.focusVia(j,this._closeInteractionType),this._closeInteractionType=null):j.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const j=this._elementRef.nativeElement,ne=(0,T.ht)();return j===ne||j.contains(ne)}}return ye.\u0275fac=function(j){return new(j||ye)(y.\u0275\u0275directiveInject(y.ElementRef),y.\u0275\u0275directiveInject(I.qV),y.\u0275\u0275directiveInject(y.ChangeDetectorRef),y.\u0275\u0275directiveInject(S.DOCUMENT,8),y.\u0275\u0275directiveInject(X),y.\u0275\u0275directiveInject(I.ic),y.\u0275\u0275directiveInject(y.NgZone),y.\u0275\u0275directiveInject(I.tE))},ye.\u0275dir=y.\u0275\u0275defineDirective({type:ye,viewQuery:function(j,ne){if(1&j&&y.\u0275\u0275viewQuery(h.Pl,7),2&j){let Me;y.\u0275\u0275queryRefresh(Me=y.\u0275\u0275loadQuery())&&(ne._portalOutlet=Me.first)}},features:[y.\u0275\u0275InheritDefinitionFeature]}),ye})(),me=(()=>{class ye extends le{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:j,totalTime:ne}){"enter"===j?(this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:ne})):"exit"===j&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:ne}))}_onAnimationStart({toState:j,totalTime:ne}){"enter"===j?this._animationStateChanged.next({state:"opening",totalTime:ne}):("exit"===j||"void"===j)&&this._animationStateChanged.next({state:"closing",totalTime:ne})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_initializeWithAttachedContent(){super._initializeWithAttachedContent(),this._config.delayFocusTrap||this._trapFocus()}}return ye.\u0275fac=function(){let Se;return function(ne){return(Se||(Se=y.\u0275\u0275getInheritedFactory(ye)))(ne||ye)}}(),ye.\u0275cmp=y.\u0275\u0275defineComponent({type:ye,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(j,ne){1&j&&y.\u0275\u0275syntheticHostListener("@dialogContainer.start",function(Ue){return ne._onAnimationStart(Ue)})("@dialogContainer.done",function(Ue){return ne._onAnimationDone(Ue)}),2&j&&(y.\u0275\u0275hostProperty("id",ne._id),y.\u0275\u0275attribute("role",ne._config.role)("aria-labelledby",ne._config.ariaLabel?null:ne._ariaLabelledBy)("aria-label",ne._config.ariaLabel)("aria-describedby",ne._config.ariaDescribedBy||null),y.\u0275\u0275syntheticHostProperty("@dialogContainer",ne._state))},features:[y.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(j,ne){1&j&&y.\u0275\u0275template(0,Z,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:[U.dialogContainer]}}),ye})(),De=0;class We{constructor(Se,j,ne="mat-dialog-"+De++){this._overlayRef=Se,this._containerInstance=j,this.id=ne,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new m.x,this._afterClosed=new m.x,this._beforeClosed=new m.x,this._state=0,j._id=ne,j._animationStateChanged.pipe((0,_.h)(Me=>"opened"===Me.state),(0,v.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),j._animationStateChanged.pipe((0,_.h)(Me=>"closed"===Me.state),(0,v.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),Se.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),Se.keydownEvents().pipe((0,_.h)(Me=>Me.keyCode===V.hY&&!this.disableClose&&!(0,V.Vb)(Me))).subscribe(Me=>{Me.preventDefault(),Q(this,"keyboard")}),Se.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():Q(this,"mouse")})}close(Se){this._result=Se,this._containerInstance._animationStateChanged.pipe((0,_.h)(j=>"closing"===j.state),(0,v.q)(1)).subscribe(j=>{this._beforeClosed.next(Se),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),j.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(Se){let j=this._getPositionStrategy();return Se&&(Se.left||Se.right)?Se.left?j.left(Se.left):j.right(Se.right):j.centerHorizontally(),Se&&(Se.top||Se.bottom)?Se.top?j.top(Se.top):j.bottom(Se.bottom):j.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(Se="",j=""){return this._overlayRef.updateSize({width:Se,height:j}),this._overlayRef.updatePosition(),this}addPanelClass(Se){return this._overlayRef.addPanelClass(Se),this}removePanelClass(Se){return this._overlayRef.removePanelClass(Se),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function Q(ye,Se,j){return void 0!==ye._containerInstance&&(ye._containerInstance._closeInteractionType=Se),ye.close(j)}const ue=new y.InjectionToken("MatDialogData"),$=new y.InjectionToken("mat-dialog-default-options"),ce=new y.InjectionToken("mat-dialog-scroll-strategy");function de(ye){return()=>ye.scrollStrategies.block()}function _e(ye){return()=>ye.scrollStrategies.block()}const et={provide:ce,deps:[n.aV],useFactory:_e};let dt=(()=>{class ye{constructor(j,ne,Me,Ue,Ke,Re,L,ve,Fe,Je){this._overlay=j,this._injector=ne,this._defaultOptions=Me,this._parentDialog=Ue,this._overlayContainer=Ke,this._dialogRefConstructor=L,this._dialogContainerType=ve,this._dialogDataToken=Fe,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new m.x,this._afterOpenedAtThisLevel=new m.x,this._ariaHiddenElements=new Map,this.afterAllClosed=function p(ye){return new l.y(Se=>{(0,f.Xf)(ye()).subscribe(Se)})}(()=>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 j=this._parentDialog;return j?j._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(j,ne){ne=function st(ye,Se){return Object.assign(Object.assign({},Se),ye)}(ne,this._defaultOptions||new X),ne.id&&this.getDialogById(ne.id);const Me=this._createOverlay(ne),Ue=this._attachDialogContainer(Me,ne),Ke=this._attachDialogContent(j,Ue,Me,ne);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(j){return this.openDialogs.find(ne=>ne.id===j)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(j){const ne=this._getOverlayConfig(j);return this._overlay.create(ne)}_getOverlayConfig(j){const ne=new n.X_({positionStrategy:this._overlay.position().global(),scrollStrategy:j.scrollStrategy||this._scrollStrategy(),panelClass:j.panelClass,hasBackdrop:j.hasBackdrop,direction:j.direction,minWidth:j.minWidth,minHeight:j.minHeight,maxWidth:j.maxWidth,maxHeight:j.maxHeight,disposeOnNavigation:j.closeOnNavigation});return j.backdropClass&&(ne.backdropClass=j.backdropClass),ne}_attachDialogContainer(j,ne){const Ue=y.Injector.create({parent:ne&&ne.viewContainerRef&&ne.viewContainerRef.injector||this._injector,providers:[{provide:X,useValue:ne}]}),Ke=new h.C5(this._dialogContainerType,ne.viewContainerRef,Ue,ne.componentFactoryResolver);return j.attach(Ke).instance}_attachDialogContent(j,ne,Me,Ue){const Ke=new this._dialogRefConstructor(Me,ne,Ue.id);if(j instanceof y.TemplateRef)ne.attachTemplatePortal(new h.UE(j,null,{$implicit:Ue.data,dialogRef:Ke}));else{const Re=this._createInjector(Ue,Ke,ne),L=ne.attachComponentPortal(new h.C5(j,Ue.viewContainerRef,Re,Ue.componentFactoryResolver));Ke.componentInstance=L.instance}return Ke.updateSize(Ue.width,Ue.height).updatePosition(Ue.position),Ke}_createInjector(j,ne,Me){const Ue=j&&j.viewContainerRef&&j.viewContainerRef.injector,Ke=[{provide:this._dialogContainerType,useValue:Me},{provide:this._dialogDataToken,useValue:j.data},{provide:this._dialogRefConstructor,useValue:ne}];return j.direction&&(!Ue||!Ue.get(r.Is,null,y.InjectFlags.Optional))&&Ke.push({provide:r.Is,useValue:{value:j.direction,change:(0,u.of)()}}),y.Injector.create({parent:Ue||this._injector,providers:Ke})}_removeOpenDialog(j){const ne=this.openDialogs.indexOf(j);ne>-1&&(this.openDialogs.splice(ne,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 j=this._overlayContainer.getContainerElement();if(j.parentElement){const ne=j.parentElement.children;for(let Me=ne.length-1;Me>-1;Me--){let Ue=ne[Me];Ue!==j&&"SCRIPT"!==Ue.nodeName&&"STYLE"!==Ue.nodeName&&!Ue.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(Ue,Ue.getAttribute("aria-hidden")),Ue.setAttribute("aria-hidden","true"))}}}_closeDialogs(j){let ne=j.length;for(;ne--;)j[ne].close()}}return ye.\u0275fac=function(j){y.\u0275\u0275invalidFactory()},ye.\u0275dir=y.\u0275\u0275defineDirective({type:ye}),ye})(),it=(()=>{class ye extends dt{constructor(j,ne,Me,Ue,Ke,Re,L,ve){super(j,ne,Ue,Re,L,Ke,We,me,ue,ve)}}return ye.\u0275fac=function(j){return new(j||ye)(y.\u0275\u0275inject(n.aV),y.\u0275\u0275inject(y.Injector),y.\u0275\u0275inject(S.Location,8),y.\u0275\u0275inject($,8),y.\u0275\u0275inject(ce),y.\u0275\u0275inject(ye,12),y.\u0275\u0275inject(n.Xj),y.\u0275\u0275inject(J.ANIMATION_MODULE_TYPE,8))},ye.\u0275prov=y.\u0275\u0275defineInjectable({token:ye,factory:ye.\u0275fac}),ye})(),Qe=0,ht=(()=>{class ye{constructor(j,ne,Me){this.dialogRef=j,this._elementRef=ne,this._dialog=Me,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=Ge(this._elementRef,this._dialog.openDialogs))}ngOnChanges(j){const ne=j._matDialogClose||j._matDialogCloseResult;ne&&(this.dialogResult=ne.currentValue)}_onButtonClick(j){Q(this.dialogRef,0===j.screenX&&0===j.screenY?"keyboard":"mouse",this.dialogResult)}}return ye.\u0275fac=function(j){return new(j||ye)(y.\u0275\u0275directiveInject(We,8),y.\u0275\u0275directiveInject(y.ElementRef),y.\u0275\u0275directiveInject(it))},ye.\u0275dir=y.\u0275\u0275defineDirective({type:ye,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(j,ne){1&j&&y.\u0275\u0275listener("click",function(Ue){return ne._onButtonClick(Ue)}),2&j&&y.\u0275\u0275attribute("aria-label",ne.ariaLabel||null)("type",ne.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[y.\u0275\u0275NgOnChangesFeature]}),ye})(),xe=(()=>{class ye{constructor(j,ne,Me){this._dialogRef=j,this._elementRef=ne,this._dialog=Me,this.id="mat-dialog-title-"+Qe++}ngOnInit(){this._dialogRef||(this._dialogRef=Ge(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const j=this._dialogRef._containerInstance;j&&!j._ariaLabelledBy&&(j._ariaLabelledBy=this.id)})}}return ye.\u0275fac=function(j){return new(j||ye)(y.\u0275\u0275directiveInject(We,8),y.\u0275\u0275directiveInject(y.ElementRef),y.\u0275\u0275directiveInject(it))},ye.\u0275dir=y.\u0275\u0275defineDirective({type:ye,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(j,ne){2&j&&y.\u0275\u0275hostProperty("id",ne.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),ye})(),qe=(()=>{class ye{}return ye.\u0275fac=function(j){return new(j||ye)},ye.\u0275dir=y.\u0275\u0275defineDirective({type:ye,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),ye})(),Le=(()=>{class ye{}return ye.\u0275fac=function(j){return new(j||ye)},ye.\u0275dir=y.\u0275\u0275defineDirective({type:ye,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),ye})();function Ge(ye,Se){let j=ye.nativeElement.parentElement;for(;j&&!j.classList.contains("mat-dialog-container");)j=j.parentElement;return j?Se.find(ne=>ne.id===j.id):null}let pt=(()=>{class ye{}return ye.\u0275fac=function(j){return new(j||ye)},ye.\u0275mod=y.\u0275\u0275defineNgModule({type:ye}),ye.\u0275inj=y.\u0275\u0275defineInjector({providers:[it,et],imports:[[n.U8,h.eL,d.MatCommonModule],d.MatCommonModule]}),ye})()},3293:(G,o,a)=>{"use strict";a.r(o),a.d(o,{ICON_REGISTRY_PROVIDER:()=>_e,ICON_REGISTRY_PROVIDER_FACTORY:()=>de,MAT_ICON_LOCATION:()=>Qe,MAT_ICON_LOCATION_FACTORY:()=>ht,MatIcon:()=>Ge,MatIconModule:()=>pt,MatIconRegistry:()=>ce,getMatIconFailedToSanitizeLiteralError:()=>ue,getMatIconFailedToSanitizeUrlError:()=>Q,getMatIconNameNotFoundError:()=>De,getMatIconNoHttpProviderError:()=>We});var n=a(5e3),h=a(508),y=a(3191),d=a(9808),r=a(8306),l=a(576),p=a(9646),m=a(4128),u=a(727),_=a(8421),v=a(5403),b=a(4482);function T(ye){return(0,b.e)((Se,j)=>{let Ue,ne=null,Me=!1;ne=Se.subscribe((0,v.x)(j,void 0,void 0,Ke=>{Ue=(0,_.Xf)(ye(Ke,T(ye)(Se))),ne?(ne.unsubscribe(),ne=null,Ue.subscribe(j)):Me=!0})),Me&&(ne.unsubscribe(),ne=null,Ue.subscribe(j))})}var P=a(8505),I=a(4004),V=a(3099),J=a(5698),Z=a(6529),X=a(2313);const U=["*"];let oe;function me(ye){var Se;return(null===(Se=function le(){if(void 0===oe&&(oe=null,"undefined"!=typeof window)){const ye=window;void 0!==ye.trustedTypes&&(oe=ye.trustedTypes.createPolicy("angular#components",{createHTML:Se=>Se}))}return oe}())||void 0===Se?void 0:Se.createHTML(ye))||ye}function De(ye){return Error(`Unable to find icon with the name "${ye}"`)}function We(){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 Q(ye){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${ye}".`)}function ue(ye){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${ye}".`)}class ${constructor(Se,j,ne){this.url=Se,this.svgText=j,this.options=ne}}let ce=(()=>{class ye{constructor(j,ne,Me,Ue){this._httpClient=j,this._sanitizer=ne,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(j,ne,Me){return this.addSvgIconInNamespace("",j,ne,Me)}addSvgIconLiteral(j,ne,Me){return this.addSvgIconLiteralInNamespace("",j,ne,Me)}addSvgIconInNamespace(j,ne,Me,Ue){return this._addSvgIconConfig(j,ne,new $(Me,null,Ue))}addSvgIconResolver(j){return this._resolvers.push(j),this}addSvgIconLiteralInNamespace(j,ne,Me,Ue){const Ke=this._sanitizer.sanitize(n.SecurityContext.HTML,Me);if(!Ke)throw ue(Me);const Re=me(Ke);return this._addSvgIconConfig(j,ne,new $("",Re,Ue))}addSvgIconSet(j,ne){return this.addSvgIconSetInNamespace("",j,ne)}addSvgIconSetLiteral(j,ne){return this.addSvgIconSetLiteralInNamespace("",j,ne)}addSvgIconSetInNamespace(j,ne,Me){return this._addSvgIconSetConfig(j,new $(ne,null,Me))}addSvgIconSetLiteralInNamespace(j,ne,Me){const Ue=this._sanitizer.sanitize(n.SecurityContext.HTML,ne);if(!Ue)throw ue(ne);const Ke=me(Ue);return this._addSvgIconSetConfig(j,new $("",Ke,Me))}registerFontClassAlias(j,ne=j){return this._fontCssClassesByAlias.set(j,ne),this}classNameForFontAlias(j){return this._fontCssClassesByAlias.get(j)||j}setDefaultFontSetClass(j){return this._defaultFontSetClass=j,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(j){const ne=this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,j);if(!ne)throw Q(j);const Me=this._cachedIconsByUrl.get(ne);return Me?(0,p.of)(et(Me)):this._loadSvgIconFromConfig(new $(j,null)).pipe((0,P.b)(Ue=>this._cachedIconsByUrl.set(ne,Ue)),(0,I.U)(Ue=>et(Ue)))}getNamedSvgIcon(j,ne=""){const Me=dt(ne,j);let Ue=this._svgIconConfigs.get(Me);if(Ue)return this._getSvgFromConfig(Ue);if(Ue=this._getIconConfigFromResolvers(ne,j),Ue)return this._svgIconConfigs.set(Me,Ue),this._getSvgFromConfig(Ue);const Ke=this._iconSetConfigs.get(ne);return Ke?this._getSvgFromIconSetConfigs(j,Ke):function f(ye,Se){const j=(0,l.m)(ye)?ye:()=>ye,ne=Me=>Me.error(j());return new r.y(Se?Me=>Se.schedule(ne,0,Me):ne)}(De(Me))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(j){return j.svgText?(0,p.of)(et(this._svgElementFromConfig(j))):this._loadSvgIconFromConfig(j).pipe((0,I.U)(ne=>et(ne)))}_getSvgFromIconSetConfigs(j,ne){const Me=this._extractIconWithNameFromAnySet(j,ne);if(Me)return(0,p.of)(Me);const Ue=ne.filter(Ke=>!Ke.svgText).map(Ke=>this._loadSvgIconSetFromConfig(Ke).pipe(T(Re=>{const ve=`Loading icon set URL: ${this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,Ke.url)} failed: ${Re.message}`;return this._errorHandler.handleError(new Error(ve)),(0,p.of)(null)})));return(0,m.D)(Ue).pipe((0,I.U)(()=>{const Ke=this._extractIconWithNameFromAnySet(j,ne);if(!Ke)throw De(j);return Ke}))}_extractIconWithNameFromAnySet(j,ne){for(let Me=ne.length-1;Me>=0;Me--){const Ue=ne[Me];if(Ue.svgText&&Ue.svgText.toString().indexOf(j)>-1){const Ke=this._svgElementFromConfig(Ue),Re=this._extractSvgIconFromSet(Ke,j,Ue.options);if(Re)return Re}}return null}_loadSvgIconFromConfig(j){return this._fetchIcon(j).pipe((0,P.b)(ne=>j.svgText=ne),(0,I.U)(()=>this._svgElementFromConfig(j)))}_loadSvgIconSetFromConfig(j){return j.svgText?(0,p.of)(null):this._fetchIcon(j).pipe((0,P.b)(ne=>j.svgText=ne))}_extractSvgIconFromSet(j,ne,Me){const Ue=j.querySelector(`[id="${ne}"]`);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(j){const ne=this._document.createElement("DIV");ne.innerHTML=j;const Me=ne.querySelector("svg");if(!Me)throw Error("<svg> tag not found");return Me}_toSvgElement(j){const ne=this._svgElementFromString(me("<svg></svg>")),Me=j.attributes;for(let Ue=0;Ue<Me.length;Ue++){const{name:Ke,value:Re}=Me[Ue];"id"!==Ke&&ne.setAttribute(Ke,Re)}for(let Ue=0;Ue<j.childNodes.length;Ue++)j.childNodes[Ue].nodeType===this._document.ELEMENT_NODE&&ne.appendChild(j.childNodes[Ue].cloneNode(!0));return ne}_setSvgAttributes(j,ne){return j.setAttribute("fit",""),j.setAttribute("height","100%"),j.setAttribute("width","100%"),j.setAttribute("preserveAspectRatio","xMidYMid meet"),j.setAttribute("focusable","false"),ne&&ne.viewBox&&j.setAttribute("viewBox",ne.viewBox),j}_fetchIcon(j){var ne;const{url:Me,options:Ue}=j,Ke=null!==(ne=null==Ue?void 0:Ue.withCredentials)&&void 0!==ne&≠if(!this._httpClient)throw We();if(null==Me)throw Error(`Cannot fetch icon from URL "${Me}".`);const Re=this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,Me);if(!Re)throw Q(Me);const L=this._inProgressUrlFetches.get(Re);if(L)return L;const ve=this._httpClient.get(Re,{responseType:"text",withCredentials:Ke}).pipe((0,I.U)(Fe=>me(Fe)),function S(ye){return(0,b.e)((Se,j)=>{try{Se.subscribe(j)}finally{j.add(ye)}})}(()=>this._inProgressUrlFetches.delete(Re)),(0,V.B)());return this._inProgressUrlFetches.set(Re,ve),ve}_addSvgIconConfig(j,ne,Me){return this._svgIconConfigs.set(dt(j,ne),Me),this}_addSvgIconSetConfig(j,ne){const Me=this._iconSetConfigs.get(j);return Me?Me.push(ne):this._iconSetConfigs.set(j,[ne]),this}_svgElementFromConfig(j){if(!j.svgElement){const ne=this._svgElementFromString(j.svgText);this._setSvgAttributes(ne,j.options),j.svgElement=ne}return j.svgElement}_getIconConfigFromResolvers(j,ne){for(let Me=0;Me<this._resolvers.length;Me++){const Ue=this._resolvers[Me](ne,j);if(Ue)return it(Ue)?new $(Ue.url,null,Ue.options):new $(Ue,null)}}}return ye.\u0275fac=function(j){return new(j||ye)(n.\u0275\u0275inject(Z.HttpClient,8),n.\u0275\u0275inject(X.DomSanitizer),n.\u0275\u0275inject(d.DOCUMENT,8),n.\u0275\u0275inject(n.ErrorHandler))},ye.\u0275prov=n.\u0275\u0275defineInjectable({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})();function de(ye,Se,j,ne,Me){return ye||new ce(Se,j,Me,ne)}const _e={provide:ce,deps:[[new n.Optional,new n.SkipSelf,ce],[new n.Optional,Z.HttpClient],X.DomSanitizer,n.ErrorHandler,[new n.Optional,d.DOCUMENT]],useFactory:de};function et(ye){return ye.cloneNode(!0)}function dt(ye,Se){return ye+":"+Se}function it(ye){return!(!ye.url||!ye.options)}const st=(0,h.mixinColor)(class{constructor(ye){this._elementRef=ye}}),Qe=new n.InjectionToken("mat-icon-location",{providedIn:"root",factory:ht});function ht(){const ye=(0,n.inject)(d.DOCUMENT),Se=ye?ye.location:null;return{getPathname:()=>Se?Se.pathname+Se.search:""}}const xe=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],qe=xe.map(ye=>`[${ye}]`).join(", "),Le=/^url\(['"]?#(.*?)['"]?\)$/;let Ge=(()=>{class ye extends st{constructor(j,ne,Me,Ue,Ke){super(j),this._iconRegistry=ne,this._location=Ue,this._errorHandler=Ke,this._inline=!1,this._currentIconFetch=u.w0.EMPTY,Me||j.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(j){this._inline=(0,y.Ig)(j)}get svgIcon(){return this._svgIcon}set svgIcon(j){j!==this._svgIcon&&(j?this._updateSvgIcon(j):this._svgIcon&&this._clearSvgElement(),this._svgIcon=j)}get fontSet(){return this._fontSet}set fontSet(j){const ne=this._cleanupFontValue(j);ne!==this._fontSet&&(this._fontSet=ne,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(j){const ne=this._cleanupFontValue(j);ne!==this._fontIcon&&(this._fontIcon=ne,this._updateFontIconClasses())}_splitIconName(j){if(!j)return["",""];const ne=j.split(":");switch(ne.length){case 1:return["",ne[0]];case 2:return ne;default:throw Error(`Invalid icon name: "${j}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const j=this._elementsWithExternalReferences;if(j&&j.size){const ne=this._location.getPathname();ne!==this._previousPath&&(this._previousPath=ne,this._prependPathToReferences(ne))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(j){this._clearSvgElement();const ne=this._location.getPathname();this._previousPath=ne,this._cacheChildrenWithExternalReferences(j),this._prependPathToReferences(ne),this._elementRef.nativeElement.appendChild(j)}_clearSvgElement(){const j=this._elementRef.nativeElement;let ne=j.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();ne--;){const Me=j.childNodes[ne];(1!==Me.nodeType||"svg"===Me.nodeName.toLowerCase())&&Me.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const j=this._elementRef.nativeElement,ne=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();ne!=this._previousFontSetClass&&(this._previousFontSetClass&&j.classList.remove(this._previousFontSetClass),ne&&j.classList.add(ne),this._previousFontSetClass=ne),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&j.classList.remove(this._previousFontIconClass),this.fontIcon&&j.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(j){return"string"==typeof j?j.trim().split(" ")[0]:j}_prependPathToReferences(j){const ne=this._elementsWithExternalReferences;ne&&ne.forEach((Me,Ue)=>{Me.forEach(Ke=>{Ue.setAttribute(Ke.name,`url('${j}#${Ke.value}')`)})})}_cacheChildrenWithExternalReferences(j){const ne=j.querySelectorAll(qe),Me=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let Ue=0;Ue<ne.length;Ue++)xe.forEach(Ke=>{const Re=ne[Ue],L=Re.getAttribute(Ke),ve=L?L.match(Le):null;if(ve){let Fe=Me.get(Re);Fe||(Fe=[],Me.set(Re,Fe)),Fe.push({name:Ke,value:ve[1]})}})}_updateSvgIcon(j){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),j){const[ne,Me]=this._splitIconName(j);ne&&(this._svgNamespace=ne),Me&&(this._svgName=Me),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Me,ne).pipe((0,J.q)(1)).subscribe(Ue=>this._setSvgElement(Ue),Ue=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${ne}:${Me}! ${Ue.message}`))})}}}return ye.\u0275fac=function(j){return new(j||ye)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(ce),n.\u0275\u0275injectAttribute("aria-hidden"),n.\u0275\u0275directiveInject(Qe),n.\u0275\u0275directiveInject(n.ErrorHandler))},ye.\u0275cmp=n.\u0275\u0275defineComponent({type:ye,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(j,ne){2&j&&(n.\u0275\u0275attribute("data-mat-icon-type",ne._usingFontIcon()?"font":"svg")("data-mat-icon-name",ne._svgName||ne.fontIcon)("data-mat-icon-namespace",ne._svgNamespace||ne.fontSet),n.\u0275\u0275classProp("mat-icon-inline",ne.inline)("mat-icon-no-color","primary"!==ne.color&&"accent"!==ne.color&&"warn"!==ne.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:U,decls:1,vars:0,template:function(j,ne){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.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}),ye})(),pt=(()=>{class ye{}return ye.\u0275fac=function(j){return new(j||ye)},ye.\u0275mod=n.\u0275\u0275defineNgModule({type:ye}),ye.\u0275inj=n.\u0275\u0275defineInjector({imports:[[h.MatCommonModule],h.MatCommonModule]}),ye})()},5010:(G,o,a)=>{"use strict";a.r(o),a.d(o,{MAT_MENU_CONTENT:()=>Ge,MAT_MENU_DEFAULT_OPTIONS:()=>L,MAT_MENU_PANEL:()=>Ue,MAT_MENU_SCROLL_STRATEGY:()=>Dt,MatMenu:()=>ot,MatMenuContent:()=>ye,MatMenuItem:()=>Re,MatMenuModule:()=>Xe,MatMenuTrigger:()=>Ye,_MatMenuBase:()=>Je,_MatMenuContentBase:()=>pt,_MatMenuTriggerBase:()=>Ee,fadeInItems:()=>qe,matMenuAnimations:()=>xe,transformMenu:()=>Le});var n=a(5664),h=a(3191),y=a(1159),d=a(5e3),r=a(7579),l=a(727),f=a(6451),p=a(9646),m=a(3101),u=a(8421),_=a(4482),v=a(5403);function b(rt,wt){return(0,_.e)((Oe,ze)=>{let lt=null,Tt=0,Ct=!1;const $t=()=>Ct&&!lt&&ze.complete();Oe.subscribe((0,v.x)(ze,Mt=>{null==lt||lt.unsubscribe();let Ht=0;const fe=Tt++;(0,u.Xf)(rt(Mt,fe)).subscribe(lt=(0,v.x)(ze,q=>ze.next(wt?wt(Mt,q,fe,Ht++):q),()=>{lt=null,$t()}))},()=>{Ct=!0,$t()}))})}var T=a(4986),S=a(7272),P=a(5698),I=a(5032),J=a(4004),X=a(5577);function U(rt,wt){return wt?Oe=>(0,S.z)(wt.pipe((0,P.q)(1),function V(){return(0,_.e)((rt,wt)=>{rt.subscribe((0,v.x)(wt,I.Z))})}()),Oe.pipe(U(rt))):(0,X.z)((Oe,ze)=>rt(Oe,ze).pipe((0,P.q)(1),function Z(rt){return(0,J.U)(()=>rt)}(Oe)))}var oe=a(5963);function le(rt,wt=T.z){const Oe=(0,oe.H)(rt,wt);return U(()=>Oe)}var me=a(8675),De=a(2722),We=a(9300),Q=a(1777),ue=a(7429),$=a(9808),ce=a(508),de=a(1314),_e=a(925),et=a(226),dt=a(495);const it=["mat-menu-item",""];function st(rt,wt){1&rt&&(d.\u0275\u0275namespaceSVG(),d.\u0275\u0275elementStart(0,"svg",2),d.\u0275\u0275element(1,"polygon",3),d.\u0275\u0275elementEnd())}const Qe=["*"];function ht(rt,wt){if(1&rt){const Oe=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"div",0),d.\u0275\u0275listener("keydown",function(lt){return d.\u0275\u0275restoreView(Oe),d.\u0275\u0275nextContext()._handleKeydown(lt)})("click",function(){return d.\u0275\u0275restoreView(Oe),d.\u0275\u0275nextContext().closed.emit("click")})("@transformMenu.start",function(lt){return d.\u0275\u0275restoreView(Oe),d.\u0275\u0275nextContext()._onAnimationStart(lt)})("@transformMenu.done",function(lt){return d.\u0275\u0275restoreView(Oe),d.\u0275\u0275nextContext()._onAnimationDone(lt)}),d.\u0275\u0275elementStart(1,"div",1),d.\u0275\u0275projection(2),d.\u0275\u0275elementEnd()()}if(2&rt){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 xe={transformMenu:(0,Q.X$)("transformMenu",[(0,Q.SB)("void",(0,Q.oB)({opacity:0,transform:"scale(0.8)"})),(0,Q.eR)("void => enter",(0,Q.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,Q.oB)({opacity:1,transform:"scale(1)"}))),(0,Q.eR)("* => void",(0,Q.jt)("100ms 25ms linear",(0,Q.oB)({opacity:0})))]),fadeInItems:(0,Q.X$)("fadeInItems",[(0,Q.SB)("showing",(0,Q.oB)({opacity:1})),(0,Q.eR)("void => *",[(0,Q.oB)({opacity:0}),(0,Q.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},qe=xe.fadeInItems,Le=xe.transformMenu,Ge=new d.InjectionToken("MatMenuContent");let pt=(()=>{class rt{constructor(Oe,ze,lt,Tt,Ct,$t,Mt){this._template=Oe,this._componentFactoryResolver=ze,this._appRef=lt,this._injector=Tt,this._viewContainerRef=Ct,this._document=$t,this._changeDetectorRef=Mt,this._attached=new r.x}attach(Oe={}){var ze;this._portal||(this._portal=new ue.UE(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new ue.u0(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));const lt=this._template.elementRef.nativeElement;lt.parentNode.insertBefore(this._outlet.outletElement,lt),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 rt.\u0275fac=function(Oe){return new(Oe||rt)(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($.DOCUMENT),d.\u0275\u0275directiveInject(d.ChangeDetectorRef))},rt.\u0275dir=d.\u0275\u0275defineDirective({type:rt}),rt})(),ye=(()=>{class rt extends pt{}return rt.\u0275fac=function(){let wt;return function(ze){return(wt||(wt=d.\u0275\u0275getInheritedFactory(rt)))(ze||rt)}}(),rt.\u0275dir=d.\u0275\u0275defineDirective({type:rt,selectors:[["ng-template","matMenuContent",""]],features:[d.\u0275\u0275ProvidersFeature([{provide:Ge,useExisting:rt}]),d.\u0275\u0275InheritDefinitionFeature]}),rt})();const Ue=new d.InjectionToken("MAT_MENU_PANEL"),Ke=(0,ce.mixinDisableRipple)((0,ce.mixinDisabled)(class{}));let Re=(()=>{class rt extends Ke{constructor(Oe,ze,lt,Tt,Ct){var $t;super(),this._elementRef=Oe,this._document=ze,this._focusMonitor=lt,this._parentMenu=Tt,this._changeDetectorRef=Ct,this.role="menuitem",this._hovered=new r.x,this._focused=new r.x,this._highlighted=!1,this._triggersSubmenu=!1,null===($t=null==Tt?void 0:Tt.addItem)||void 0===$t||$t.call(Tt,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),lt=ze.querySelectorAll("mat-icon, .material-icons");for(let Tt=0;Tt<lt.length;Tt++)lt[Tt].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 rt.\u0275fac=function(Oe){return new(Oe||rt)(d.\u0275\u0275directiveInject(d.ElementRef),d.\u0275\u0275directiveInject($.DOCUMENT),d.\u0275\u0275directiveInject(n.tE),d.\u0275\u0275directiveInject(Ue,8),d.\u0275\u0275directiveInject(d.ChangeDetectorRef))},rt.\u0275cmp=d.\u0275\u0275defineComponent({type:rt,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:10,hostBindings:function(Oe,ze){1&Oe&&d.\u0275\u0275listener("click",function(Tt){return ze._checkDisabled(Tt)})("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:it,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,st,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:[ce.MatRipple,$.NgIf],encapsulation:2,changeDetection:0}),rt})();const L=new d.InjectionToken("mat-menu-default-options",{providedIn:"root",factory:function ve(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let Fe=0,Je=(()=>{class rt{constructor(Oe,ze,lt,Tt){this._elementRef=Oe,this._ngZone=ze,this._defaultOptions=lt,this._changeDetectorRef=Tt,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new d.QueryList,this._tabSubscription=l.w0.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new r.x,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new d.EventEmitter,this.close=this.closed,this.panelId="mat-menu-panel-"+Fe++}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(lt=>{this._classList[lt]=!1}),this._previousPanelClass=Oe,Oe&&Oe.length&&(Oe.split(" ").forEach(lt=>{this._classList[lt]=!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 lt=this._keyManager;if("enter"===this._panelAnimationState&&(null===(ze=lt.activeItem)||void 0===ze?void 0:ze._hasFocus())){const Tt=Oe.toArray(),Ct=Math.max(0,Math.min(Tt.length-1,lt.activeItemIndex||0));Tt[Ct]&&!Tt[Ct].disabled?lt.setActiveItem(Ct):lt.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(lt=>lt._hovered))))}addItem(Oe){}removeItem(Oe){}_handleKeydown(Oe){const ze=Oe.keyCode,lt=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)&<.setFocusOrigin("keyboard"),void lt.onKeydown(Oe)}Oe.stopPropagation()}focusFirstItem(Oe="program"){this.lazyContent?this._ngZone.onStable.pipe((0,P.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 lt=this._directDescendantItems.first._getHostElement().parentElement;for(;lt;){if("menu"===lt.getAttribute("role")){lt.focus();break}lt=lt.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(Oe){const ze=Math.min(this._baseElevation+Oe,24),lt=`${this._elevationPrefix}${ze}`,Tt=Object.keys(this._classList).find(Ct=>Ct.startsWith(this._elevationPrefix));(!Tt||Tt===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[lt]=!0,this._previousElevation=lt)}setPositionClasses(Oe=this.xPosition,ze=this.yPosition){var lt;const Tt=this._classList;Tt["mat-menu-before"]="before"===Oe,Tt["mat-menu-after"]="after"===Oe,Tt["mat-menu-above"]="above"===ze,Tt["mat-menu-below"]="below"===ze,null===(lt=this._changeDetectorRef)||void 0===lt||lt.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 rt.\u0275fac=function(Oe){return new(Oe||rt)(d.\u0275\u0275directiveInject(d.ElementRef),d.\u0275\u0275directiveInject(d.NgZone),d.\u0275\u0275directiveInject(L),d.\u0275\u0275directiveInject(d.ChangeDetectorRef))},rt.\u0275dir=d.\u0275\u0275defineDirective({type:rt,contentQueries:function(Oe,ze,lt){if(1&Oe&&(d.\u0275\u0275contentQuery(lt,Ge,5),d.\u0275\u0275contentQuery(lt,Re,5),d.\u0275\u0275contentQuery(lt,Re,4)),2&Oe){let Tt;d.\u0275\u0275queryRefresh(Tt=d.\u0275\u0275loadQuery())&&(ze.lazyContent=Tt.first),d.\u0275\u0275queryRefresh(Tt=d.\u0275\u0275loadQuery())&&(ze._allItems=Tt),d.\u0275\u0275queryRefresh(Tt=d.\u0275\u0275loadQuery())&&(ze.items=Tt)}},viewQuery:function(Oe,ze){if(1&Oe&&d.\u0275\u0275viewQuery(d.TemplateRef,5),2&Oe){let lt;d.\u0275\u0275queryRefresh(lt=d.\u0275\u0275loadQuery())&&(ze.templateRef=lt.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"}}),rt})(),ot=(()=>{class rt extends Je{constructor(Oe,ze,lt,Tt){super(Oe,ze,lt,Tt),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return rt.\u0275fac=function(Oe){return new(Oe||rt)(d.\u0275\u0275directiveInject(d.ElementRef),d.\u0275\u0275directiveInject(d.NgZone),d.\u0275\u0275directiveInject(L),d.\u0275\u0275directiveInject(d.ChangeDetectorRef))},rt.\u0275cmp=d.\u0275\u0275defineComponent({type:rt,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:rt}]),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,ht,3,6,"ng-template"))},directives:[$.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;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]::before{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.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:[xe.transformMenu,xe.fadeInItems]},changeDetection:0}),rt})();const Dt=new d.InjectionToken("mat-menu-scroll-strategy"),At={provide:Dt,deps:[de.aV],useFactory:function Et(rt){return()=>rt.scrollStrategies.reposition()}},Te=(0,_e.i$)({passive:!0});let Ee=(()=>{class rt{constructor(Oe,ze,lt,Tt,Ct,$t,Mt,Ht,fe){this._overlay=Oe,this._element=ze,this._viewContainerRef=lt,this._menuItemInstance=$t,this._dir=Mt,this._focusMonitor=Ht,this._ngZone=fe,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=l.w0.EMPTY,this._hoverSubscription=l.w0.EMPTY,this._menuCloseSubscription=l.w0.EMPTY,this._handleTouchStart=q=>{(0,n.yG)(q)||(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=Tt,this._parentMaterialMenu=Ct instanceof Je?Ct:void 0,ze.nativeElement.addEventListener("touchstart",this._handleTouchStart,Te),$t&&($t._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,Te),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(),lt=ze.positionStrategy;this._setPosition(lt),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,De.R)(this.menu.close)).subscribe(()=>{lt.withLockedPosition(!1).reapplyLastPosition(),lt.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,We.h)(lt=>"void"===lt.toState),(0,P.q)(1),(0,De.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 de.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 lt="start"===ze.connectionPair.overlayX?"after":"before",Tt="top"===ze.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>this.menu.setPositionClasses(lt,Tt)):this.menu.setPositionClasses(lt,Tt)})}_setPosition(Oe){let[ze,lt]="before"===this.menu.xPosition?["end","start"]:["start","end"],[Tt,Ct]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[$t,Mt]=[Tt,Ct],[Ht,fe]=[ze,lt],q=0;this.triggersSubmenu()?(fe=ze="before"===this.menu.xPosition?"start":"end",lt=Ht="end"===ze?"start":"end",q="bottom"===Tt?8:-8):this.menu.overlapTrigger||($t="top"===Tt?"bottom":"top",Mt="top"===Ct?"bottom":"top"),Oe.withPositions([{originX:ze,originY:$t,overlayX:Ht,overlayY:Tt,offsetY:q},{originX:lt,originY:$t,overlayX:fe,overlayY:Tt,offsetY:q},{originX:ze,originY:Mt,overlayX:Ht,overlayY:Ct,offsetY:-q},{originX:lt,originY:Mt,overlayX:fe,overlayY:Ct,offsetY:-q}])}_menuClosingActions(){const Oe=this._overlayRef.backdropClick(),ze=this._overlayRef.detachments(),lt=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,p.of)(),Tt=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,We.h)(Ct=>Ct!==this._menuItemInstance),(0,We.h)(()=>this._menuOpen)):(0,p.of)();return(0,f.T)(Oe,lt,Tt,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,We.h)(Oe=>Oe===this._menuItemInstance&&!Oe.disabled),le(0,m.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Je&&this.menu._isAnimating?this.menu._animationDone.pipe((0,P.q)(1),le(0,m.E),(0,De.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new ue.UE(this.menu.templateRef,this._viewContainerRef)),this._portal}}return rt.\u0275fac=function(Oe){return new(Oe||rt)(d.\u0275\u0275directiveInject(de.aV),d.\u0275\u0275directiveInject(d.ElementRef),d.\u0275\u0275directiveInject(d.ViewContainerRef),d.\u0275\u0275directiveInject(Dt),d.\u0275\u0275directiveInject(Ue,8),d.\u0275\u0275directiveInject(Re,10),d.\u0275\u0275directiveInject(et.Is,8),d.\u0275\u0275directiveInject(n.tE),d.\u0275\u0275directiveInject(d.NgZone))},rt.\u0275dir=d.\u0275\u0275defineDirective({type:rt,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(Oe,ze){1&Oe&&d.\u0275\u0275listener("click",function(Tt){return ze._handleClick(Tt)})("mousedown",function(Tt){return ze._handleMousedown(Tt)})("keydown",function(Tt){return ze._handleKeydown(Tt)}),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"}}),rt})(),Ye=(()=>{class rt extends Ee{}return rt.\u0275fac=function(){let wt;return function(ze){return(wt||(wt=d.\u0275\u0275getInheritedFactory(rt)))(ze||rt)}}(),rt.\u0275dir=d.\u0275\u0275defineDirective({type:rt,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[d.\u0275\u0275InheritDefinitionFeature]}),rt})(),Xe=(()=>{class rt{}return rt.\u0275fac=function(Oe){return new(Oe||rt)},rt.\u0275mod=d.\u0275\u0275defineNgModule({type:rt}),rt.\u0275inj=d.\u0275\u0275defineInjector({providers:[At],imports:[[$.CommonModule,ce.MatCommonModule,ce.MatRippleModule,de.U8],dt.ZD,ce.MatCommonModule]}),rt})()},4999:(G,o,a)=>{"use strict";a.r(o),a.d(o,{MatCell:()=>ke,MatCellDef:()=>je,MatColumnDef:()=>Ie,MatFooterCell:()=>ge,MatFooterCellDef:()=>Ft,MatFooterRow:()=>gn,MatFooterRowDef:()=>xt,MatHeaderCell:()=>Ae,MatHeaderCellDef:()=>ft,MatHeaderRow:()=>qt,MatHeaderRowDef:()=>ct,MatNoDataRow:()=>hn,MatRecycleRows:()=>N,MatRow:()=>Nn,MatRowDef:()=>jt,MatTable:()=>he,MatTableDataSource:()=>Yt,MatTableModule:()=>Yn,MatTextColumn:()=>An,_MatTableDataSource:()=>Pt});var n=a(5e3),h=a(3191),y=a(449),d=a(9808),r=a(7579),l=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),P=a(495);const I=[[["caption"]],[["colgroup"],["col"]]],V=["caption","colgroup, col"];function J(ae,Pe){if(1&ae&&(n.\u0275\u0275elementStart(0,"th",3),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&ae){const ie=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",ie.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",ie.headerText," ")}}function Z(ae,Pe){if(1&ae&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&ae){const ie=Pe.$implicit,we=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",we.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",we.dataAccessor(ie,we.name)," ")}}function X(ae){return class extends ae{constructor(...Pe){super(...Pe),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(Pe){const ie=this._sticky;this._sticky=(0,h.Ig)(Pe),this._hasStickyChanged=ie!==this._sticky}hasStickyChanged(){const Pe=this._hasStickyChanged;return this._hasStickyChanged=!1,Pe}resetStickyChanged(){this._hasStickyChanged=!1}}}const U=new n.InjectionToken("CDK_TABLE"),oe=new n.InjectionToken("text-column-options");let le=(()=>{class ae{constructor(ie){this.template=ie}}return ae.\u0275fac=function(ie){return new(ie||ae)(n.\u0275\u0275directiveInject(n.TemplateRef))},ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["","cdkCellDef",""]]}),ae})(),me=(()=>{class ae{constructor(ie){this.template=ie}}return ae.\u0275fac=function(ie){return new(ie||ae)(n.\u0275\u0275directiveInject(n.TemplateRef))},ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["","cdkHeaderCellDef",""]]}),ae})(),De=(()=>{class ae{constructor(ie){this.template=ie}}return ae.\u0275fac=function(ie){return new(ie||ae)(n.\u0275\u0275directiveInject(n.TemplateRef))},ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["","cdkFooterCellDef",""]]}),ae})();class We{}const Q=X(We);let ue=(()=>{class ae extends Q{constructor(ie){super(),this._table=ie,this._stickyEnd=!1}get name(){return this._name}set name(ie){this._setNameInput(ie)}get stickyEnd(){return this._stickyEnd}set stickyEnd(ie){const we=this._stickyEnd;this._stickyEnd=(0,h.Ig)(ie),this._hasStickyChanged=we!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(ie){ie&&(this._name=ie,this.cssClassFriendlyName=ie.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return ae.\u0275fac=function(ie){return new(ie||ae)(n.\u0275\u0275directiveInject(U,8))},ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["","cdkColumnDef",""]],contentQueries:function(ie,we,Ze){if(1&ie&&(n.\u0275\u0275contentQuery(Ze,le,5),n.\u0275\u0275contentQuery(Ze,me,5),n.\u0275\u0275contentQuery(Ze,De,5)),2&ie){let at;n.\u0275\u0275queryRefresh(at=n.\u0275\u0275loadQuery())&&(we.cell=at.first),n.\u0275\u0275queryRefresh(at=n.\u0275\u0275loadQuery())&&(we.headerCell=at.first),n.\u0275\u0275queryRefresh(at=n.\u0275\u0275loadQuery())&&(we.footerCell=at.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[n.\u0275\u0275ProvidersFeature([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:ae}]),n.\u0275\u0275InheritDefinitionFeature]}),ae})();class ${constructor(Pe,ie){ie.nativeElement.classList.add(...Pe._columnCssClassName)}}let ce=(()=>{class ae extends ${constructor(ie,we){super(ie,we)}}return ae.\u0275fac=function(ie){return new(ie||ae)(n.\u0275\u0275directiveInject(ue),n.\u0275\u0275directiveInject(n.ElementRef))},ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),ae})(),de=(()=>{class ae extends ${constructor(ie,we){var Ze;if(super(ie,we),1===(null===(Ze=ie._table)||void 0===Ze?void 0:Ze._elementRef.nativeElement.nodeType)){const at=ie._table._elementRef.nativeElement.getAttribute("role");we.nativeElement.setAttribute("role","grid"===at||"treegrid"===at?"gridcell":"cell")}}}return ae.\u0275fac=function(ie){return new(ie||ae)(n.\u0275\u0275directiveInject(ue),n.\u0275\u0275directiveInject(n.ElementRef))},ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),ae})(),_e=(()=>{class ae extends ${constructor(ie,we){var Ze;if(super(ie,we),1===(null===(Ze=ie._table)||void 0===Ze?void 0:Ze._elementRef.nativeElement.nodeType)){const at=ie._table._elementRef.nativeElement.getAttribute("role");we.nativeElement.setAttribute("role","grid"===at||"treegrid"===at?"gridcell":"cell")}}}return ae.\u0275fac=function(ie){return new(ie||ae)(n.\u0275\u0275directiveInject(ue),n.\u0275\u0275directiveInject(n.ElementRef))},ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),ae})();class et{constructor(){this.tasks=[],this.endTasks=[]}}const dt=new n.InjectionToken("_COALESCED_STYLE_SCHEDULER");let it=(()=>{class ae{constructor(ie){this._ngZone=ie,this._currentSchedule=null,this._destroyed=new r.x}schedule(ie){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(ie)}scheduleEnd(ie){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(ie)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new et,this._getScheduleObservable().pipe((0,v.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const ie=this._currentSchedule;this._currentSchedule=new et;for(const we of ie.tasks)we();for(const we of ie.endTasks)we()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,l.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,b.q)(1))}}return ae.\u0275fac=function(ie){return new(ie||ae)(n.\u0275\u0275inject(n.NgZone))},ae.\u0275prov=n.\u0275\u0275defineInjectable({token:ae,factory:ae.\u0275fac}),ae})(),Qe=(()=>{class ae{constructor(ie,we){this.template=ie,this._differs=we}ngOnChanges(ie){if(!this._columnsDiffer){const we=ie.columns&&ie.columns.currentValue||[];this._columnsDiffer=this._differs.find(we).create(),this._columnsDiffer.diff(we)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(ie){return this instanceof qe?ie.headerCell.template:this instanceof pt?ie.footerCell.template:ie.cell.template}}return ae.\u0275fac=function(ie){return new(ie||ae)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))},ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,features:[n.\u0275\u0275NgOnChangesFeature]}),ae})();class ht extends Qe{}const xe=X(ht);let qe=(()=>{class ae extends xe{constructor(ie,we,Ze){super(ie,we),this._table=Ze}ngOnChanges(ie){super.ngOnChanges(ie)}}return ae.\u0275fac=function(ie){return new(ie||ae)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(U,8))},ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),ae})();class Le extends Qe{}const Ge=X(Le);let pt=(()=>{class ae extends Ge{constructor(ie,we,Ze){super(ie,we),this._table=Ze}ngOnChanges(ie){super.ngOnChanges(ie)}}return ae.\u0275fac=function(ie){return new(ie||ae)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(U,8))},ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),ae})(),ye=(()=>{class ae extends Qe{constructor(ie,we,Ze){super(ie,we),this._table=Ze}}return ae.\u0275fac=function(ie){return new(ie||ae)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(U,8))},ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[n.\u0275\u0275InheritDefinitionFeature]}),ae})(),Se=(()=>{class ae{constructor(ie){this._viewContainer=ie,ae.mostRecentCellOutlet=this}ngOnDestroy(){ae.mostRecentCellOutlet===this&&(ae.mostRecentCellOutlet=null)}}return ae.mostRecentCellOutlet=null,ae.\u0275fac=function(ie){return new(ie||ae)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["","cdkCellOutlet",""]]}),ae})(),j=(()=>{class ae{}return ae.\u0275fac=function(ie){return new(ie||ae)},ae.\u0275cmp=n.\u0275\u0275defineComponent({type:ae,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ie,we){1&ie&&n.\u0275\u0275elementContainer(0,0)},directives:[Se],encapsulation:2}),ae})(),ne=(()=>{class ae{}return ae.\u0275fac=function(ie){return new(ie||ae)},ae.\u0275cmp=n.\u0275\u0275defineComponent({type:ae,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ie,we){1&ie&&n.\u0275\u0275elementContainer(0,0)},directives:[Se],encapsulation:2}),ae})(),Me=(()=>{class ae{}return ae.\u0275fac=function(ie){return new(ie||ae)},ae.\u0275cmp=n.\u0275\u0275defineComponent({type:ae,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ie,we){1&ie&&n.\u0275\u0275elementContainer(0,0)},directives:[Se],encapsulation:2}),ae})(),Ue=(()=>{class ae{constructor(ie){this.templateRef=ie,this._contentClassName="cdk-no-data-row"}}return ae.\u0275fac=function(ie){return new(ie||ae)(n.\u0275\u0275directiveInject(n.TemplateRef))},ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["ng-template","cdkNoDataRow",""]]}),ae})();const Ke=["top","bottom","left","right"];class Re{constructor(Pe,ie,we,Ze,at=!0,St=!0,Ut){this._isNativeHtmlTable=Pe,this._stickCellCss=ie,this.direction=we,this._coalescedStyleScheduler=Ze,this._isBrowser=at,this._needsPositionStickyOnElement=St,this._positionListener=Ut,this._cachedCellWidths=[],this._borderCellCss={top:`${ie}-border-elem-top`,bottom:`${ie}-border-elem-bottom`,left:`${ie}-border-elem-left`,right:`${ie}-border-elem-right`}}clearStickyPositioning(Pe,ie){const we=[];for(const Ze of Pe)if(Ze.nodeType===Ze.ELEMENT_NODE){we.push(Ze);for(let at=0;at<Ze.children.length;at++)we.push(Ze.children[at])}this._coalescedStyleScheduler.schedule(()=>{for(const Ze of we)this._removeStickyStyle(Ze,ie)})}updateStickyColumns(Pe,ie,we,Ze=!0){if(!Pe.length||!this._isBrowser||!ie.some(Xt=>Xt)&&!we.some(Xt=>Xt))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const at=Pe[0],St=at.children.length,Ut=this._getCellWidths(at,Ze),Ot=this._getStickyStartColumnPositions(Ut,ie),pn=this._getStickyEndColumnPositions(Ut,we),ln=ie.lastIndexOf(!0),_n=we.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const Xt="rtl"===this.direction,fn=Xt?"right":"left",zn=Xt?"left":"right";for(const Ln of Pe)for(let mn=0;mn<St;mn++){const nn=Ln.children[mn];ie[mn]&&this._addStickyStyle(nn,fn,Ot[mn],mn===ln),we[mn]&&this._addStickyStyle(nn,zn,pn[mn],mn===_n)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===ln?[]:Ut.slice(0,ln+1).map((Ln,mn)=>ie[mn]?Ln:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===_n?[]:Ut.slice(_n).map((Ln,mn)=>we[mn+_n]?Ln:null).reverse()}))})}stickRows(Pe,ie,we){if(!this._isBrowser)return;const Ze="bottom"===we?Pe.slice().reverse():Pe,at="bottom"===we?ie.slice().reverse():ie,St=[],Ut=[],Ot=[];for(let ln=0,_n=0;ln<Ze.length;ln++){if(!at[ln])continue;St[ln]=_n;const Xt=Ze[ln];Ot[ln]=this._isNativeHtmlTable?Array.from(Xt.children):[Xt];const fn=Xt.getBoundingClientRect().height;_n+=fn,Ut[ln]=fn}const pn=at.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(()=>{var ln,_n;for(let Xt=0;Xt<Ze.length;Xt++){if(!at[Xt])continue;const fn=St[Xt],zn=Xt===pn;for(const Ln of Ot[Xt])this._addStickyStyle(Ln,we,fn,zn)}"top"===we?null===(ln=this._positionListener)||void 0===ln||ln.stickyHeaderRowsUpdated({sizes:Ut,offsets:St,elements:Ot}):null===(_n=this._positionListener)||void 0===_n||_n.stickyFooterRowsUpdated({sizes:Ut,offsets:St,elements:Ot})})}updateStickyFooterContainer(Pe,ie){if(!this._isNativeHtmlTable)return;const we=Pe.querySelector("tfoot");this._coalescedStyleScheduler.schedule(()=>{ie.some(Ze=>!Ze)?this._removeStickyStyle(we,["bottom"]):this._addStickyStyle(we,"bottom",0,!1)})}_removeStickyStyle(Pe,ie){for(const Ze of ie)Pe.style[Ze]="",Pe.classList.remove(this._borderCellCss[Ze]);Ke.some(Ze=>-1===ie.indexOf(Ze)&&Pe.style[Ze])?Pe.style.zIndex=this._getCalculatedZIndex(Pe):(Pe.style.zIndex="",this._needsPositionStickyOnElement&&(Pe.style.position=""),Pe.classList.remove(this._stickCellCss))}_addStickyStyle(Pe,ie,we,Ze){Pe.classList.add(this._stickCellCss),Ze&&Pe.classList.add(this._borderCellCss[ie]),Pe.style[ie]=`${we}px`,Pe.style.zIndex=this._getCalculatedZIndex(Pe),this._needsPositionStickyOnElement&&(Pe.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(Pe){const ie={top:100,bottom:10,left:1,right:1};let we=0;for(const Ze of Ke)Pe.style[Ze]&&(we+=ie[Ze]);return we?`${we}`:""}_getCellWidths(Pe,ie=!0){if(!ie&&this._cachedCellWidths.length)return this._cachedCellWidths;const we=[],Ze=Pe.children;for(let at=0;at<Ze.length;at++)we.push(Ze[at].getBoundingClientRect().width);return this._cachedCellWidths=we,we}_getStickyStartColumnPositions(Pe,ie){const we=[];let Ze=0;for(let at=0;at<Pe.length;at++)ie[at]&&(we[at]=Ze,Ze+=Pe[at]);return we}_getStickyEndColumnPositions(Pe,ie){const we=[];let Ze=0;for(let at=Pe.length;at>0;at--)ie[at]&&(we[at]=Ze,Ze+=Pe[at]);return we}}const He=new n.InjectionToken("CDK_SPL");let Ee=(()=>{class ae{constructor(ie,we){this.viewContainer=ie,this.elementRef=we}}return ae.\u0275fac=function(ie){return new(ie||ae)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["","rowOutlet",""]]}),ae})(),Ye=(()=>{class ae{constructor(ie,we){this.viewContainer=ie,this.elementRef=we}}return ae.\u0275fac=function(ie){return new(ie||ae)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["","headerRowOutlet",""]]}),ae})(),Xe=(()=>{class ae{constructor(ie,we){this.viewContainer=ie,this.elementRef=we}}return ae.\u0275fac=function(ie){return new(ie||ae)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["","footerRowOutlet",""]]}),ae})(),rt=(()=>{class ae{constructor(ie,we){this.viewContainer=ie,this.elementRef=we}}return ae.\u0275fac=function(ie){return new(ie||ae)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["","noDataRowOutlet",""]]}),ae})(),ze=(()=>{class ae{constructor(ie,we,Ze,at,St,Ut,Ot,pn,ln,_n,Xt,fn){this._differs=ie,this._changeDetectorRef=we,this._elementRef=Ze,this._dir=St,this._platform=Ot,this._viewRepeater=pn,this._coalescedStyleScheduler=ln,this._viewportRuler=_n,this._stickyPositioningListener=Xt,this._ngZone=fn,this._onDestroy=new r.x,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new n.EventEmitter,this.viewChange=new 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(ie){this._trackByFn=ie}get dataSource(){return this._dataSource}set dataSource(ie){this._dataSource!==ie&&this._switchDataSource(ie)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(ie){this._multiTemplateDataRows=(0,h.Ig)(ie),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(ie){this._fixedLayout=(0,h.Ig)(ie),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((ie,we)=>this.trackBy?this.trackBy(we.dataIndex,we.data):we),this._viewportRuler.change().pipe((0,v.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const we=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||we,this._forceRecalculateCellWidths=we,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(ie=>{ie.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 ie=this._dataDiffer.diff(this._renderRows);if(!ie)return this._updateNoDataRow(),void this.contentChanged.next();const we=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(ie,we,(Ze,at,St)=>this._getEmbeddedViewArgs(Ze.item,St),Ze=>Ze.item.data,Ze=>{1===Ze.operation&&Ze.context&&this._renderCellTemplateForItem(Ze.record.item.rowDef,Ze.context)}),this._updateRowIndexContext(),ie.forEachIdentityChange(Ze=>{we.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(ie){this._customColumnDefs.add(ie)}removeColumnDef(ie){this._customColumnDefs.delete(ie)}addRowDef(ie){this._customRowDefs.add(ie)}removeRowDef(ie){this._customRowDefs.delete(ie)}addHeaderRowDef(ie){this._customHeaderRowDefs.add(ie),this._headerRowDefChanged=!0}removeHeaderRowDef(ie){this._customHeaderRowDefs.delete(ie),this._headerRowDefChanged=!0}addFooterRowDef(ie){this._customFooterRowDefs.add(ie),this._footerRowDefChanged=!0}removeFooterRowDef(ie){this._customFooterRowDefs.delete(ie),this._footerRowDefChanged=!0}setNoDataRow(ie){this._customNoDataRow=ie}updateStickyHeaderRowStyles(){const ie=this._getRenderedRows(this._headerRowOutlet),Ze=this._elementRef.nativeElement.querySelector("thead");Ze&&(Ze.style.display=ie.length?"":"none");const at=this._headerRowDefs.map(St=>St.sticky);this._stickyStyler.clearStickyPositioning(ie,["top"]),this._stickyStyler.stickRows(ie,at,"top"),this._headerRowDefs.forEach(St=>St.resetStickyChanged())}updateStickyFooterRowStyles(){const ie=this._getRenderedRows(this._footerRowOutlet),Ze=this._elementRef.nativeElement.querySelector("tfoot");Ze&&(Ze.style.display=ie.length?"":"none");const at=this._footerRowDefs.map(St=>St.sticky);this._stickyStyler.clearStickyPositioning(ie,["bottom"]),this._stickyStyler.stickRows(ie,at,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,at),this._footerRowDefs.forEach(St=>St.resetStickyChanged())}updateStickyColumnStyles(){const ie=this._getRenderedRows(this._headerRowOutlet),we=this._getRenderedRows(this._rowOutlet),Ze=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...ie,...we,...Ze],["left","right"]),this._stickyColumnStylesNeedReset=!1),ie.forEach((at,St)=>{this._addStickyColumnStyles([at],this._headerRowDefs[St])}),this._rowDefs.forEach(at=>{const St=[];for(let Ut=0;Ut<we.length;Ut++)this._renderRows[Ut].rowDef===at&&St.push(we[Ut]);this._addStickyColumnStyles(St,at)}),Ze.forEach((at,St)=>{this._addStickyColumnStyles([at],this._footerRowDefs[St])}),Array.from(this._columnDefsByName.values()).forEach(at=>at.resetStickyChanged())}_getAllRenderRows(){const ie=[],we=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let Ze=0;Ze<this._data.length;Ze++){let at=this._data[Ze];const St=this._getRenderRowsForData(at,Ze,we.get(at));this._cachedRenderRowsMap.has(at)||this._cachedRenderRowsMap.set(at,new WeakMap);for(let Ut=0;Ut<St.length;Ut++){let Ot=St[Ut];const pn=this._cachedRenderRowsMap.get(Ot.data);pn.has(Ot.rowDef)?pn.get(Ot.rowDef).push(Ot):pn.set(Ot.rowDef,[Ot]),ie.push(Ot)}}return ie}_getRenderRowsForData(ie,we,Ze){return this._getRowDefs(ie,we).map(St=>{const Ut=Ze&&Ze.has(St)?Ze.get(St):[];if(Ut.length){const Ot=Ut.shift();return Ot.dataIndex=we,Ot}return{data:ie,rowDef:St,dataIndex:we}})}_cacheColumnDefs(){this._columnDefsByName.clear(),lt(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(we=>{this._columnDefsByName.has(we.name),this._columnDefsByName.set(we.name,we)})}_cacheRowDefs(){this._headerRowDefs=lt(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=lt(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=lt(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const ie=this._rowDefs.filter(we=>!we.when);this._defaultRowDef=ie[0]}_renderUpdatedColumns(){const ie=(St,Ut)=>St||!!Ut.getColumnsDiff(),we=this._rowDefs.reduce(ie,!1);we&&this._forceRenderDataRows();const Ze=this._headerRowDefs.reduce(ie,!1);Ze&&this._forceRenderHeaderRows();const at=this._footerRowDefs.reduce(ie,!1);return at&&this._forceRenderFooterRows(),we||Ze||at}_switchDataSource(ie){this._data=[],(0,y.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),ie||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=ie}_observeRenderChanges(){if(!this.dataSource)return;let ie;(0,y.Z9)(this.dataSource)?ie=this.dataSource.connect(this):function u(ae){return!!ae&&(ae instanceof p.y||(0,m.m)(ae.lift)&&(0,m.m)(ae.subscribe))}(this.dataSource)?ie=this.dataSource:Array.isArray(this.dataSource)&&(ie=(0,_.of)(this.dataSource)),this._renderChangeSubscription=ie.pipe((0,v.R)(this._onDestroy)).subscribe(we=>{this._data=we||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((ie,we)=>this._renderRow(this._headerRowOutlet,ie,we)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((ie,we)=>this._renderRow(this._footerRowOutlet,ie,we)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(ie,we){const Ze=Array.from(we.columns||[]).map(Ut=>this._columnDefsByName.get(Ut)),at=Ze.map(Ut=>Ut.sticky),St=Ze.map(Ut=>Ut.stickyEnd);this._stickyStyler.updateStickyColumns(ie,at,St,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(ie){const we=[];for(let Ze=0;Ze<ie.viewContainer.length;Ze++){const at=ie.viewContainer.get(Ze);we.push(at.rootNodes[0])}return we}_getRowDefs(ie,we){if(1==this._rowDefs.length)return[this._rowDefs[0]];let Ze=[];if(this.multiTemplateDataRows)Ze=this._rowDefs.filter(at=>!at.when||at.when(we,ie));else{let at=this._rowDefs.find(St=>St.when&&St.when(we,ie))||this._defaultRowDef;at&&Ze.push(at)}return Ze}_getEmbeddedViewArgs(ie,we){return{templateRef:ie.rowDef.template,context:{$implicit:ie.data},index:we}}_renderRow(ie,we,Ze,at={}){const St=ie.viewContainer.createEmbeddedView(we.template,at,Ze);return this._renderCellTemplateForItem(we,at),St}_renderCellTemplateForItem(ie,we){for(let Ze of this._getCellTemplates(ie))Se.mostRecentCellOutlet&&Se.mostRecentCellOutlet._viewContainer.createEmbeddedView(Ze,we);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const ie=this._rowOutlet.viewContainer;for(let we=0,Ze=ie.length;we<Ze;we++){const St=ie.get(we).context;St.count=Ze,St.first=0===we,St.last=we===Ze-1,St.even=we%2==0,St.odd=!St.even,this.multiTemplateDataRows?(St.dataIndex=this._renderRows[we].dataIndex,St.renderIndex=we):St.index=this._renderRows[we].dataIndex}}_getCellTemplates(ie){return ie&&ie.columns?Array.from(ie.columns,we=>{const Ze=this._columnDefsByName.get(we);return ie.extractCellTemplate(Ze)}):[]}_applyNativeTableSections(){const ie=this._document.createDocumentFragment(),we=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const Ze of we){const at=this._document.createElement(Ze.tag);at.setAttribute("role","rowgroup");for(const St of Ze.outlets)at.appendChild(St.elementRef.nativeElement);ie.appendChild(at)}this._elementRef.nativeElement.appendChild(ie)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const ie=(we,Ze)=>we||Ze.hasStickyChanged();this._headerRowDefs.reduce(ie,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(ie,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(ie,!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(we=>{this._stickyStyler.direction=we,this.updateStickyColumnStyles()})}_getOwnDefs(ie){return ie.filter(we=>!we._table||we._table===this)}_updateNoDataRow(){const ie=this._customNoDataRow||this._noDataRow;if(!ie)return;const we=0===this._rowOutlet.viewContainer.length;if(we===this._isShowingNoDataRow)return;const Ze=this._noDataRowOutlet.viewContainer;if(we){const at=Ze.createEmbeddedView(ie.templateRef),St=at.rootNodes[0];1===at.rootNodes.length&&(null==St?void 0:St.nodeType)===this._document.ELEMENT_NODE&&(St.setAttribute("role","row"),St.classList.add(ie._contentClassName))}else Ze.clear();this._isShowingNoDataRow=we}}return ae.\u0275fac=function(ie){return new(ie||ae)(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(dt),n.\u0275\u0275directiveInject(P.rL),n.\u0275\u0275directiveInject(He,12),n.\u0275\u0275directiveInject(n.NgZone,8))},ae.\u0275cmp=n.\u0275\u0275defineComponent({type:ae,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(ie,we,Ze){if(1&ie&&(n.\u0275\u0275contentQuery(Ze,Ue,5),n.\u0275\u0275contentQuery(Ze,ue,5),n.\u0275\u0275contentQuery(Ze,ye,5),n.\u0275\u0275contentQuery(Ze,qe,5),n.\u0275\u0275contentQuery(Ze,pt,5)),2&ie){let at;n.\u0275\u0275queryRefresh(at=n.\u0275\u0275loadQuery())&&(we._noDataRow=at.first),n.\u0275\u0275queryRefresh(at=n.\u0275\u0275loadQuery())&&(we._contentColumnDefs=at),n.\u0275\u0275queryRefresh(at=n.\u0275\u0275loadQuery())&&(we._contentRowDefs=at),n.\u0275\u0275queryRefresh(at=n.\u0275\u0275loadQuery())&&(we._contentHeaderRowDefs=at),n.\u0275\u0275queryRefresh(at=n.\u0275\u0275loadQuery())&&(we._contentFooterRowDefs=at)}},viewQuery:function(ie,we){if(1&ie&&(n.\u0275\u0275viewQuery(Ee,7),n.\u0275\u0275viewQuery(Ye,7),n.\u0275\u0275viewQuery(Xe,7),n.\u0275\u0275viewQuery(rt,7)),2&ie){let Ze;n.\u0275\u0275queryRefresh(Ze=n.\u0275\u0275loadQuery())&&(we._rowOutlet=Ze.first),n.\u0275\u0275queryRefresh(Ze=n.\u0275\u0275loadQuery())&&(we._headerRowOutlet=Ze.first),n.\u0275\u0275queryRefresh(Ze=n.\u0275\u0275loadQuery())&&(we._footerRowOutlet=Ze.first),n.\u0275\u0275queryRefresh(Ze=n.\u0275\u0275loadQuery())&&(we._noDataRowOutlet=Ze.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(ie,we){2&ie&&n.\u0275\u0275classProp("cdk-table-fixed-layout",we.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:U,useExisting:ae},{provide:y.k,useClass:y.yy},{provide:dt,useClass:it},{provide:He,useValue:null}])],ngContentSelectors:V,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(ie,we){1&ie&&(n.\u0275\u0275projectionDef(I),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1),n.\u0275\u0275elementContainer(2,0)(3,1)(4,2)(5,3))},directives:[Ye,Ee,rt,Xe],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),ae})();function lt(ae,Pe){return ae.concat(Array.from(Pe))}let Tt=(()=>{class ae{constructor(ie,we){this._table=ie,this._options=we,this.justify="start",this._options=we||{}}get name(){return this._name}set name(ie){this._name=ie,this._syncColumnDefName()}ngOnInit(){this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((ie,we)=>ie[we])),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 ie=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(ie):ie[0].toUpperCase()+ie.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}}return ae.\u0275fac=function(ie){return new(ie||ae)(n.\u0275\u0275directiveInject(ze,8),n.\u0275\u0275directiveInject(oe,8))},ae.\u0275cmp=n.\u0275\u0275defineComponent({type:ae,selectors:[["cdk-text-column"]],viewQuery:function(ie,we){if(1&ie&&(n.\u0275\u0275viewQuery(ue,7),n.\u0275\u0275viewQuery(le,7),n.\u0275\u0275viewQuery(me,7)),2&ie){let Ze;n.\u0275\u0275queryRefresh(Ze=n.\u0275\u0275loadQuery())&&(we.columnDef=Ze.first),n.\u0275\u0275queryRefresh(Ze=n.\u0275\u0275loadQuery())&&(we.cell=Ze.first),n.\u0275\u0275queryRefresh(Ze=n.\u0275\u0275loadQuery())&&(we.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(ie,we){1&ie&&(n.\u0275\u0275elementContainerStart(0,0),n.\u0275\u0275template(1,J,2,3,"th",1),n.\u0275\u0275template(2,Z,2,3,"td",2),n.\u0275\u0275elementContainerEnd())},directives:[ue,me,ce,le,_e],encapsulation:2}),ae})(),$t=(()=>{class ae{}return ae.\u0275fac=function(ie){return new(ie||ae)},ae.\u0275mod=n.\u0275\u0275defineNgModule({type:ae}),ae.\u0275inj=n.\u0275\u0275defineInjector({imports:[[P.Cl]]}),ae})();var Mt=a(508),Ht=a(6451),fe=a(9841),q=a(4004);const k=[[["caption"]],[["colgroup"],["col"]]],W=["caption","colgroup, col"];function Y(ae,Pe){if(1&ae&&(n.\u0275\u0275elementStart(0,"th",3),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&ae){const ie=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",ie.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",ie.headerText," ")}}function z(ae,Pe){if(1&ae&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&ae){const ie=Pe.$implicit,we=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",we.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",we.dataAccessor(ie,we.name)," ")}}let N=(()=>{class ae{}return ae.\u0275fac=function(ie){return new(ie||ae)},ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["mat-table","recycleRows",""],["table","mat-table","","recycleRows",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:y.k,useClass:y.eX}])]}),ae})(),he=(()=>{class ae extends ze{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return ae.\u0275fac=function(){let Pe;return function(we){return(Pe||(Pe=n.\u0275\u0275getInheritedFactory(ae)))(we||ae)}}(),ae.\u0275cmp=n.\u0275\u0275defineComponent({type:ae,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(ie,we){2&ie&&n.\u0275\u0275classProp("mat-table-fixed-layout",we.fixedLayout)},exportAs:["matTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:y.k,useClass:y.yy},{provide:ze,useExisting:ae},{provide:U,useExisting:ae},{provide:dt,useClass:it},{provide:He,useValue:null}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:W,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(ie,we){1&ie&&(n.\u0275\u0275projectionDef(k),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1),n.\u0275\u0275elementContainer(2,0)(3,1)(4,2)(5,3))},directives:[Ye,Ee,rt,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:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),ae})(),je=(()=>{class ae extends le{}return ae.\u0275fac=function(){let Pe;return function(we){return(Pe||(Pe=n.\u0275\u0275getInheritedFactory(ae)))(we||ae)}}(),ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["","matCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:le,useExisting:ae}]),n.\u0275\u0275InheritDefinitionFeature]}),ae})(),ft=(()=>{class ae extends me{}return ae.\u0275fac=function(){let Pe;return function(we){return(Pe||(Pe=n.\u0275\u0275getInheritedFactory(ae)))(we||ae)}}(),ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["","matHeaderCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:me,useExisting:ae}]),n.\u0275\u0275InheritDefinitionFeature]}),ae})(),Ft=(()=>{class ae extends De{}return ae.\u0275fac=function(){let Pe;return function(we){return(Pe||(Pe=n.\u0275\u0275getInheritedFactory(ae)))(we||ae)}}(),ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["","matFooterCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:De,useExisting:ae}]),n.\u0275\u0275InheritDefinitionFeature]}),ae})(),Ie=(()=>{class ae extends ue{get name(){return this._name}set name(ie){this._setNameInput(ie)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return ae.\u0275fac=function(){let Pe;return function(we){return(Pe||(Pe=n.\u0275\u0275getInheritedFactory(ae)))(we||ae)}}(),ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[n.\u0275\u0275ProvidersFeature([{provide:ue,useExisting:ae},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:ae}]),n.\u0275\u0275InheritDefinitionFeature]}),ae})(),Ae=(()=>{class ae extends ce{}return ae.\u0275fac=function(){let Pe;return function(we){return(Pe||(Pe=n.\u0275\u0275getInheritedFactory(ae)))(we||ae)}}(),ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),ae})(),ge=(()=>{class ae extends de{}return ae.\u0275fac=function(){let Pe;return function(we){return(Pe||(Pe=n.\u0275\u0275getInheritedFactory(ae)))(we||ae)}}(),ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:["role","gridcell",1,"mat-footer-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),ae})(),ke=(()=>{class ae extends _e{}return ae.\u0275fac=function(){let Pe;return function(we){return(Pe||(Pe=n.\u0275\u0275getInheritedFactory(ae)))(we||ae)}}(),ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),ae})(),ct=(()=>{class ae extends qe{}return ae.\u0275fac=function(){let Pe;return function(we){return(Pe||(Pe=n.\u0275\u0275getInheritedFactory(ae)))(we||ae)}}(),ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[n.\u0275\u0275ProvidersFeature([{provide:qe,useExisting:ae}]),n.\u0275\u0275InheritDefinitionFeature]}),ae})(),xt=(()=>{class ae extends pt{}return ae.\u0275fac=function(){let Pe;return function(we){return(Pe||(Pe=n.\u0275\u0275getInheritedFactory(ae)))(we||ae)}}(),ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[n.\u0275\u0275ProvidersFeature([{provide:pt,useExisting:ae}]),n.\u0275\u0275InheritDefinitionFeature]}),ae})(),jt=(()=>{class ae extends ye{}return ae.\u0275fac=function(){let Pe;return function(we){return(Pe||(Pe=n.\u0275\u0275getInheritedFactory(ae)))(we||ae)}}(),ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[n.\u0275\u0275ProvidersFeature([{provide:ye,useExisting:ae}]),n.\u0275\u0275InheritDefinitionFeature]}),ae})(),qt=(()=>{class ae extends j{}return ae.\u0275fac=function(){let Pe;return function(we){return(Pe||(Pe=n.\u0275\u0275getInheritedFactory(ae)))(we||ae)}}(),ae.\u0275cmp=n.\u0275\u0275defineComponent({type:ae,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:j,useExisting:ae}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ie,we){1&ie&&n.\u0275\u0275elementContainer(0,0)},directives:[Se],encapsulation:2}),ae})(),gn=(()=>{class ae extends ne{}return ae.\u0275fac=function(){let Pe;return function(we){return(Pe||(Pe=n.\u0275\u0275getInheritedFactory(ae)))(we||ae)}}(),ae.\u0275cmp=n.\u0275\u0275defineComponent({type:ae,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-footer-row"],exportAs:["matFooterRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:ne,useExisting:ae}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ie,we){1&ie&&n.\u0275\u0275elementContainer(0,0)},directives:[Se],encapsulation:2}),ae})(),Nn=(()=>{class ae extends Me{}return ae.\u0275fac=function(){let Pe;return function(we){return(Pe||(Pe=n.\u0275\u0275getInheritedFactory(ae)))(we||ae)}}(),ae.\u0275cmp=n.\u0275\u0275defineComponent({type:ae,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:Me,useExisting:ae}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ie,we){1&ie&&n.\u0275\u0275elementContainer(0,0)},directives:[Se],encapsulation:2}),ae})(),hn=(()=>{class ae extends Ue{constructor(){super(...arguments),this._contentClassName="mat-no-data-row"}}return ae.\u0275fac=function(){let Pe;return function(we){return(Pe||(Pe=n.\u0275\u0275getInheritedFactory(ae)))(we||ae)}}(),ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["ng-template","matNoDataRow",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:Ue,useExisting:ae}]),n.\u0275\u0275InheritDefinitionFeature]}),ae})(),An=(()=>{class ae extends Tt{}return ae.\u0275fac=function(){let Pe;return function(we){return(Pe||(Pe=n.\u0275\u0275getInheritedFactory(ae)))(we||ae)}}(),ae.\u0275cmp=n.\u0275\u0275defineComponent({type:ae,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(ie,we){1&ie&&(n.\u0275\u0275elementContainerStart(0,0),n.\u0275\u0275template(1,Y,2,3,"th",1),n.\u0275\u0275template(2,z,2,3,"td",2),n.\u0275\u0275elementContainerEnd())},directives:[Ie,ft,Ae,je,ke],encapsulation:2}),ae})(),Yn=(()=>{class ae{}return ae.\u0275fac=function(ie){return new(ie||ae)},ae.\u0275mod=n.\u0275\u0275defineNgModule({type:ae}),ae.\u0275inj=n.\u0275\u0275defineInjector({imports:[[$t,Mt.MatCommonModule],Mt.MatCommonModule]}),ae})();class Pt extends y.o2{constructor(Pe=[]){super(),this._renderData=new f.X([]),this._filter=new f.X(""),this._internalPageChanges=new r.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(ie,we)=>{const Ze=ie[we];if((0,h.t6)(Ze)){const at=Number(Ze);return at<9007199254740991?at:Ze}return Ze},this.sortData=(ie,we)=>{const Ze=we.active,at=we.direction;return Ze&&""!=at?ie.sort((St,Ut)=>{let Ot=this.sortingDataAccessor(St,Ze),pn=this.sortingDataAccessor(Ut,Ze);const ln=typeof Ot,_n=typeof pn;ln!==_n&&("number"===ln&&(Ot+=""),"number"===_n&&(pn+=""));let Xt=0;return null!=Ot&&null!=pn?Ot>pn?Xt=1:Ot<pn&&(Xt=-1):null!=Ot?Xt=1:null!=pn&&(Xt=-1),Xt*("asc"==at?1:-1)}):ie},this.filterPredicate=(ie,we)=>{const Ze=Object.keys(ie).reduce((St,Ut)=>St+ie[Ut]+"\u25ec","").toLowerCase(),at=we.trim().toLowerCase();return-1!=Ze.indexOf(at)},this._data=new f.X(Pe),this._updateChangeSubscription()}get data(){return this._data.value}set data(Pe){Pe=Array.isArray(Pe)?Pe:[],this._data.next(Pe),this._renderChangesSubscription||this._filterData(Pe)}get filter(){return this._filter.value}set filter(Pe){this._filter.next(Pe),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(Pe){this._sort=Pe,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(Pe){this._paginator=Pe,this._updateChangeSubscription()}_updateChangeSubscription(){var Pe;const ie=this._sort?(0,Ht.T)(this._sort.sortChange,this._sort.initialized):(0,_.of)(null),we=this._paginator?(0,Ht.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,_.of)(null),at=(0,fe.a)([this._data,this._filter]).pipe((0,q.U)(([Ot])=>this._filterData(Ot))),St=(0,fe.a)([at,ie]).pipe((0,q.U)(([Ot])=>this._orderData(Ot))),Ut=(0,fe.a)([St,we]).pipe((0,q.U)(([Ot])=>this._pageData(Ot)));null===(Pe=this._renderChangesSubscription)||void 0===Pe||Pe.unsubscribe(),this._renderChangesSubscription=Ut.subscribe(Ot=>this._renderData.next(Ot))}_filterData(Pe){return this.filteredData=null==this.filter||""===this.filter?Pe:Pe.filter(ie=>this.filterPredicate(ie,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(Pe){return this.sort?this.sortData(Pe.slice(),this.sort):Pe}_pageData(Pe){if(!this.paginator)return Pe;const ie=this.paginator.pageIndex*this.paginator.pageSize;return Pe.slice(ie,ie+this.paginator.pageSize)}_updatePaginator(Pe){Promise.resolve().then(()=>{const ie=this.paginator;if(ie&&(ie.length=Pe,ie.pageIndex>0)){const we=Math.ceil(ie.length/ie.pageSize)-1||0,Ze=Math.min(ie.pageIndex,we);Ze!==ie.pageIndex&&(ie.pageIndex=Ze,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var Pe;null===(Pe=this._renderChangesSubscription)||void 0===Pe||Pe.unsubscribe(),this._renderChangesSubscription=null}}class Yt extends Pt{}},3251:(G,o,a)=>{"use strict";a.r(o),a.d(o,{MAT_TAB:()=>ne,MAT_TABS_CONFIG:()=>ot,MAT_TAB_GROUP:()=>Ke,MatInkBar:()=>pt,MatTab:()=>Re,MatTabBody:()=>Je,MatTabBodyPortal:()=>ve,MatTabChangeEvent:()=>Oe,MatTabContent:()=>Se,MatTabGroup:()=>Tt,MatTabHeader:()=>rt,MatTabLabel:()=>Me,MatTabLabelWrapper:()=>Et,MatTabLink:()=>q,MatTabNav:()=>Mt,MatTabNavPanel:()=>k,MatTabsModule:()=>W,_MAT_INK_BAR_POSITIONER:()=>Le,_MatTabBodyBase:()=>Fe,_MatTabGroupBase:()=>lt,_MatTabHeaderBase:()=>Xe,_MatTabLinkBase:()=>fe,_MatTabNavBase:()=>$t,matTabsAnimations:()=>L});var n=a(5664),h=a(7144),y=a(7429),d=a(9808),r=a(5e3),l=a(508),f=a(6360),p=a(5698),m=a(8675),u=a(1884),_=a(2722),v=a(7579),b=a(727),T=a(4968),S=a(9646),P=a(6451),I=a(5963),V=a(1777),J=a(226),Z=a(3191),X=a(1159),U=a(925),oe=a(495);function le(Y,z){1&Y&&r.\u0275\u0275projection(0)}const me=["*"];function De(Y,z){}const We=function(Y){return{animationDuration:Y}},Q=function(Y,z){return{value:Y,params:z}},ue=["tabListContainer"],$=["tabList"],ce=["tabListInner"],de=["nextPaginator"],_e=["previousPaginator"],et=["tabBodyWrapper"],dt=["tabHeader"];function it(Y,z){}function st(Y,z){if(1&Y&&r.\u0275\u0275template(0,it,0,0,"ng-template",10),2&Y){const N=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275property("cdkPortalOutlet",N.templateLabel)}}function Qe(Y,z){if(1&Y&&r.\u0275\u0275text(0),2&Y){const N=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275textInterpolate(N.textLabel)}}function ht(Y,z){if(1&Y){const N=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"div",6),r.\u0275\u0275listener("click",function(){const je=r.\u0275\u0275restoreView(N),ft=je.$implicit,Ft=je.index,Ie=r.\u0275\u0275nextContext(),Ae=r.\u0275\u0275reference(1);return Ie._handleClick(ft,Ae,Ft)})("cdkFocusChange",function(je){const Ft=r.\u0275\u0275restoreView(N).index;return r.\u0275\u0275nextContext()._tabFocusChanged(je,Ft)}),r.\u0275\u0275elementStart(1,"div",7),r.\u0275\u0275template(2,st,1,1,"ng-template",8),r.\u0275\u0275template(3,Qe,1,1,"ng-template",null,9,r.\u0275\u0275templateRefExtractor),r.\u0275\u0275elementEnd()()}if(2&Y){const N=z.$implicit,he=z.index,je=r.\u0275\u0275reference(4),ft=r.\u0275\u0275nextContext();r.\u0275\u0275classProp("mat-tab-label-active",ft.selectedIndex===he),r.\u0275\u0275property("id",ft._getTabLabelId(he))("ngClass",N.labelClass)("disabled",N.disabled)("matRippleDisabled",N.disabled||ft.disableRipple),r.\u0275\u0275attribute("tabIndex",ft._getTabIndex(N,he))("aria-posinset",he+1)("aria-setsize",ft._tabs.length)("aria-controls",ft._getTabContentId(he))("aria-selected",ft.selectedIndex===he)("aria-label",N.ariaLabel||null)("aria-labelledby",!N.ariaLabel&&N.ariaLabelledby?N.ariaLabelledby:null),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngIf",N.templateLabel)("ngIfElse",je)}}function xe(Y,z){if(1&Y){const N=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-tab-body",11),r.\u0275\u0275listener("_onCentered",function(){return r.\u0275\u0275restoreView(N),r.\u0275\u0275nextContext()._removeTabBodyWrapperHeight()})("_onCentering",function(je){return r.\u0275\u0275restoreView(N),r.\u0275\u0275nextContext()._setTabBodyWrapperHeight(je)}),r.\u0275\u0275elementEnd()}if(2&Y){const N=z.$implicit,he=z.index,je=r.\u0275\u0275nextContext();r.\u0275\u0275classProp("mat-tab-body-active",je.selectedIndex===he),r.\u0275\u0275property("id",je._getTabContentId(he))("ngClass",N.bodyClass)("content",N.content)("position",N.position)("origin",N.origin)("animationDuration",je.animationDuration),r.\u0275\u0275attribute("tabindex",null!=je.contentTabIndex&&je.selectedIndex===he?je.contentTabIndex:null)("aria-labelledby",je._getTabLabelId(he))}}const qe=["mat-tab-nav-bar",""],Le=new r.InjectionToken("MatInkBarPositioner",{providedIn:"root",factory:function Ge(){return z=>({left:z?(z.offsetLeft||0)+"px":"0",width:z?(z.offsetWidth||0)+"px":"0"})}});let pt=(()=>{class Y{constructor(N,he,je,ft){this._elementRef=N,this._ngZone=he,this._inkBarPositioner=je,this._animationMode=ft}alignToElement(N){this.show(),this._ngZone.onStable.pipe((0,p.q)(1)).subscribe(()=>{const he=this._inkBarPositioner(N),je=this._elementRef.nativeElement;je.style.left=he.left,je.style.width=he.width})}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}}return Y.\u0275fac=function(N){return new(N||Y)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(Le),r.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},Y.\u0275dir=r.\u0275\u0275defineDirective({type:Y,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(N,he){2&N&&r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===he._animationMode)}}),Y})();const ye=new r.InjectionToken("MatTabContent");let Se=(()=>{class Y{constructor(N){this.template=N}}return Y.\u0275fac=function(N){return new(N||Y)(r.\u0275\u0275directiveInject(r.TemplateRef))},Y.\u0275dir=r.\u0275\u0275defineDirective({type:Y,selectors:[["","matTabContent",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:ye,useExisting:Y}])]}),Y})();const j=new r.InjectionToken("MatTabLabel"),ne=new r.InjectionToken("MAT_TAB");let Me=(()=>{class Y extends y.ig{constructor(N,he,je){super(N,he),this._closestTab=je}}return Y.\u0275fac=function(N){return new(N||Y)(r.\u0275\u0275directiveInject(r.TemplateRef),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject(ne,8))},Y.\u0275dir=r.\u0275\u0275defineDirective({type:Y,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:j,useExisting:Y}]),r.\u0275\u0275InheritDefinitionFeature]}),Y})();const Ue=(0,l.mixinDisabled)(class{}),Ke=new r.InjectionToken("MAT_TAB_GROUP");let Re=(()=>{class Y extends Ue{constructor(N,he){super(),this._viewContainerRef=N,this._closestTabGroup=he,this.textLabel="",this._contentPortal=null,this._stateChanges=new v.x,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(N){this._setTemplateLabelInput(N)}get content(){return this._contentPortal}ngOnChanges(N){(N.hasOwnProperty("textLabel")||N.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new y.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(N){N&&N._closestTab===this&&(this._templateLabel=N)}}return Y.\u0275fac=function(N){return new(N||Y)(r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject(Ke,8))},Y.\u0275cmp=r.\u0275\u0275defineComponent({type:Y,selectors:[["mat-tab"]],contentQueries:function(N,he,je){if(1&N&&(r.\u0275\u0275contentQuery(je,j,5),r.\u0275\u0275contentQuery(je,ye,7,r.TemplateRef)),2&N){let ft;r.\u0275\u0275queryRefresh(ft=r.\u0275\u0275loadQuery())&&(he.templateLabel=ft.first),r.\u0275\u0275queryRefresh(ft=r.\u0275\u0275loadQuery())&&(he._explicitContent=ft.first)}},viewQuery:function(N,he){if(1&N&&r.\u0275\u0275viewQuery(r.TemplateRef,7),2&N){let je;r.\u0275\u0275queryRefresh(je=r.\u0275\u0275loadQuery())&&(he._implicitContent=je.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[r.\u0275\u0275ProvidersFeature([{provide:ne,useExisting:Y}]),r.\u0275\u0275InheritDefinitionFeature,r.\u0275\u0275NgOnChangesFeature],ngContentSelectors:me,decls:1,vars:0,template:function(N,he){1&N&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275template(0,le,1,0,"ng-template"))},encapsulation:2}),Y})();const L={translateTab:(0,V.X$)("translateTab",[(0,V.SB)("center, void, left-origin-center, right-origin-center",(0,V.oB)({transform:"none"})),(0,V.SB)("left",(0,V.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),(0,V.SB)("right",(0,V.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),(0,V.eR)("* => left, * => right, left => center, right => center",(0,V.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,V.eR)("void => left-origin-center",[(0,V.oB)({transform:"translate3d(-100%, 0, 0)"}),(0,V.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,V.eR)("void => right-origin-center",[(0,V.oB)({transform:"translate3d(100%, 0, 0)"}),(0,V.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let ve=(()=>{class Y extends y.Pl{constructor(N,he,je,ft){super(N,he,ft),this._host=je,this._centeringSub=b.w0.EMPTY,this._leavingSub=b.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,m.O)(this._host._isCenterPosition(this._host._position))).subscribe(N=>{N&&!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 Y.\u0275fac=function(N){return new(N||Y)(r.\u0275\u0275directiveInject(r.ComponentFactoryResolver),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject((0,r.forwardRef)(()=>Je)),r.\u0275\u0275directiveInject(d.DOCUMENT))},Y.\u0275dir=r.\u0275\u0275defineDirective({type:Y,selectors:[["","matTabBodyHost",""]],features:[r.\u0275\u0275InheritDefinitionFeature]}),Y})(),Fe=(()=>{class Y{constructor(N,he,je){this._elementRef=N,this._dir=he,this._dirChangeSubscription=b.w0.EMPTY,this._translateTabComplete=new v.x,this._onCentering=new r.EventEmitter,this._beforeCentering=new r.EventEmitter,this._afterLeavingCenter=new r.EventEmitter,this._onCentered=new r.EventEmitter(!0),this.animationDuration="500ms",he&&(this._dirChangeSubscription=he.change.subscribe(ft=>{this._computePositionAnimationState(ft),je.markForCheck()})),this._translateTabComplete.pipe((0,u.x)((ft,Ft)=>ft.fromState===Ft.fromState&&ft.toState===Ft.toState)).subscribe(ft=>{this._isCenterPosition(ft.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(ft.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(N){this._positionIndex=N,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(N){const he=this._isCenterPosition(N.toState);this._beforeCentering.emit(he),he&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(N){return"center"==N||"left-origin-center"==N||"right-origin-center"==N}_computePositionAnimationState(N=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==N?"left":"right":this._positionIndex>0?"ltr"==N?"right":"left":"center"}_computePositionFromOrigin(N){const he=this._getLayoutDirection();return"ltr"==he&&N<=0||"rtl"==he&&N>0?"left-origin-center":"right-origin-center"}}return Y.\u0275fac=function(N){return new(N||Y)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(J.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Y.\u0275dir=r.\u0275\u0275defineDirective({type:Y,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),Y})(),Je=(()=>{class Y extends Fe{constructor(N,he,je){super(N,he,je)}}return Y.\u0275fac=function(N){return new(N||Y)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(J.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Y.\u0275cmp=r.\u0275\u0275defineComponent({type:Y,selectors:[["mat-tab-body"]],viewQuery:function(N,he){if(1&N&&r.\u0275\u0275viewQuery(y.Pl,5),2&N){let je;r.\u0275\u0275queryRefresh(je=r.\u0275\u0275loadQuery())&&(he._portalHost=je.first)}},hostAttrs:[1,"mat-tab-body"],features:[r.\u0275\u0275InheritDefinitionFeature],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(N,he){1&N&&(r.\u0275\u0275elementStart(0,"div",0,1),r.\u0275\u0275listener("@translateTab.start",function(ft){return he._onTranslateTabStarted(ft)})("@translateTab.done",function(ft){return he._translateTabComplete.next(ft)}),r.\u0275\u0275template(2,De,0,0,"ng-template",2),r.\u0275\u0275elementEnd()),2&N&&r.\u0275\u0275property("@translateTab",r.\u0275\u0275pureFunction2(3,Q,he._position,r.\u0275\u0275pureFunction1(1,We,he.animationDuration)))},directives:[ve],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:[L.translateTab]}}),Y})();const ot=new r.InjectionToken("MAT_TABS_CONFIG"),Dt=(0,l.mixinDisabled)(class{});let Et=(()=>{class Y extends Dt{constructor(N){super(),this.elementRef=N}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return Y.\u0275fac=function(N){return new(N||Y)(r.\u0275\u0275directiveInject(r.ElementRef))},Y.\u0275dir=r.\u0275\u0275defineDirective({type:Y,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(N,he){2&N&&(r.\u0275\u0275attribute("aria-disabled",!!he.disabled),r.\u0275\u0275classProp("mat-tab-disabled",he.disabled))},inputs:{disabled:"disabled"},features:[r.\u0275\u0275InheritDefinitionFeature]}),Y})();const At=(0,U.i$)({passive:!0});let Ye=(()=>{class Y{constructor(N,he,je,ft,Ft,Ie,Ae){this._elementRef=N,this._changeDetectorRef=he,this._viewportRuler=je,this._dir=ft,this._ngZone=Ft,this._platform=Ie,this._animationMode=Ae,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new v.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new v.x,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new r.EventEmitter,this.indexFocused=new r.EventEmitter,Ft.runOutsideAngular(()=>{(0,T.R)(N.nativeElement,"mouseleave").pipe((0,_.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(N){N=(0,Z.su)(N),this._selectedIndex!=N&&(this._selectedIndexChanged=!0,this._selectedIndex=N,this._keyManager&&this._keyManager.updateActiveItem(N))}ngAfterViewInit(){(0,T.R)(this._previousPaginator.nativeElement,"touchstart",At).pipe((0,_.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,T.R)(this._nextPaginator.nativeElement,"touchstart",At).pipe((0,_.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const N=this._dir?this._dir.change:(0,S.of)("ltr"),he=this._viewportRuler.change(150),je=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new n.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,p.q)(1)).subscribe(je),(0,P.T)(N,he,this._items.changes).pipe((0,_.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),je()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe((0,_.R)(this._destroyed)).subscribe(ft=>{this.indexFocused.emit(ft),this._setTabFocus(ft)})}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(N){if(!(0,X.Vb)(N))switch(N.keyCode){case X.K5:case X.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(N));break;default:this._keyManager.onKeydown(N)}}_onContentChanges(){const N=this._elementRef.nativeElement.textContent;N!==this._currentTextContent&&(this._currentTextContent=N||"",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(N){!this._isValidIndex(N)||this.focusIndex===N||!this._keyManager||this._keyManager.setActiveItem(N)}_isValidIndex(N){if(!this._items)return!0;const he=this._items?this._items.toArray()[N]:null;return!!he&&!he.disabled}_setTabFocus(N){if(this._showPaginationControls&&this._scrollToLabel(N),this._items&&this._items.length){this._items.toArray()[N].focus();const he=this._tabListContainer.nativeElement;he.scrollLeft="ltr"==this._getLayoutDirection()?0:he.scrollWidth-he.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const N=this.scrollDistance,he="ltr"===this._getLayoutDirection()?-N:N;this._tabList.nativeElement.style.transform=`translateX(${Math.round(he)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(N){this._scrollTo(N)}_scrollHeader(N){return this._scrollTo(this._scrollDistance+("before"==N?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(N){this._stopInterval(),this._scrollHeader(N)}_scrollToLabel(N){if(this.disablePagination)return;const he=this._items?this._items.toArray()[N]:null;if(!he)return;const je=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:ft,offsetWidth:Ft}=he.elementRef.nativeElement;let Ie,Ae;"ltr"==this._getLayoutDirection()?(Ie=ft,Ae=Ie+Ft):(Ae=this._tabListInner.nativeElement.offsetWidth-ft,Ie=Ae-Ft);const ge=this.scrollDistance,ke=this.scrollDistance+je;Ie<ge?this.scrollDistance-=ge-Ie+60:Ae>ke&&(this.scrollDistance+=Ae-ke+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const N=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;N||(this.scrollDistance=0),N!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=N}}_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 N=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,he=N?N.elementRef.nativeElement:null;he?this._inkBar.alignToElement(he):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(N,he){he&&null!=he.button&&0!==he.button||(this._stopInterval(),(0,I.H)(650,100).pipe((0,_.R)((0,P.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:je,distance:ft}=this._scrollHeader(N);(0===ft||ft>=je)&&this._stopInterval()}))}_scrollTo(N){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const he=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(he,N)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:he,distance:this._scrollDistance}}}return Y.\u0275fac=function(N){return new(N||Y)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(oe.rL),r.\u0275\u0275directiveInject(J.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(U.t4),r.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},Y.\u0275dir=r.\u0275\u0275defineDirective({type:Y,inputs:{disablePagination:"disablePagination"}}),Y})(),Xe=(()=>{class Y extends Ye{constructor(N,he,je,ft,Ft,Ie,Ae){super(N,he,je,ft,Ft,Ie,Ae),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(N){this._disableRipple=(0,Z.Ig)(N)}_itemSelected(N){N.preventDefault()}}return Y.\u0275fac=function(N){return new(N||Y)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(oe.rL),r.\u0275\u0275directiveInject(J.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(U.t4),r.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},Y.\u0275dir=r.\u0275\u0275defineDirective({type:Y,inputs:{disableRipple:"disableRipple"},features:[r.\u0275\u0275InheritDefinitionFeature]}),Y})(),rt=(()=>{class Y extends Xe{constructor(N,he,je,ft,Ft,Ie,Ae){super(N,he,je,ft,Ft,Ie,Ae)}}return Y.\u0275fac=function(N){return new(N||Y)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(oe.rL),r.\u0275\u0275directiveInject(J.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(U.t4),r.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},Y.\u0275cmp=r.\u0275\u0275defineComponent({type:Y,selectors:[["mat-tab-header"]],contentQueries:function(N,he,je){if(1&N&&r.\u0275\u0275contentQuery(je,Et,4),2&N){let ft;r.\u0275\u0275queryRefresh(ft=r.\u0275\u0275loadQuery())&&(he._items=ft)}},viewQuery:function(N,he){if(1&N&&(r.\u0275\u0275viewQuery(pt,7),r.\u0275\u0275viewQuery(ue,7),r.\u0275\u0275viewQuery($,7),r.\u0275\u0275viewQuery(ce,7),r.\u0275\u0275viewQuery(de,5),r.\u0275\u0275viewQuery(_e,5)),2&N){let je;r.\u0275\u0275queryRefresh(je=r.\u0275\u0275loadQuery())&&(he._inkBar=je.first),r.\u0275\u0275queryRefresh(je=r.\u0275\u0275loadQuery())&&(he._tabListContainer=je.first),r.\u0275\u0275queryRefresh(je=r.\u0275\u0275loadQuery())&&(he._tabList=je.first),r.\u0275\u0275queryRefresh(je=r.\u0275\u0275loadQuery())&&(he._tabListInner=je.first),r.\u0275\u0275queryRefresh(je=r.\u0275\u0275loadQuery())&&(he._nextPaginator=je.first),r.\u0275\u0275queryRefresh(je=r.\u0275\u0275loadQuery())&&(he._previousPaginator=je.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(N,he){2&N&&r.\u0275\u0275classProp("mat-tab-header-pagination-controls-enabled",he._showPaginationControls)("mat-tab-header-rtl","rtl"==he._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[r.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:me,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(N,he){1&N&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275elementStart(0,"button",0,1),r.\u0275\u0275listener("click",function(){return he._handlePaginatorClick("before")})("mousedown",function(ft){return he._handlePaginatorPress("before",ft)})("touchend",function(){return he._stopInterval()}),r.\u0275\u0275element(2,"div",2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"div",3,4),r.\u0275\u0275listener("keydown",function(ft){return he._handleKeydown(ft)}),r.\u0275\u0275elementStart(5,"div",5,6),r.\u0275\u0275listener("cdkObserveContent",function(){return he._onContentChanges()}),r.\u0275\u0275elementStart(7,"div",7,8),r.\u0275\u0275projection(9),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(10,"mat-ink-bar"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(11,"button",9,10),r.\u0275\u0275listener("mousedown",function(ft){return he._handlePaginatorPress("after",ft)})("click",function(){return he._handlePaginatorClick("after")})("touchend",function(){return he._stopInterval()}),r.\u0275\u0275element(13,"div",2),r.\u0275\u0275elementEnd()),2&N&&(r.\u0275\u0275classProp("mat-tab-header-pagination-disabled",he._disableScrollBefore),r.\u0275\u0275property("matRippleDisabled",he._disableScrollBefore||he.disableRipple)("disabled",he._disableScrollBefore||null),r.\u0275\u0275advance(5),r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===he._animationMode),r.\u0275\u0275advance(6),r.\u0275\u0275classProp("mat-tab-header-pagination-disabled",he._disableScrollAfter),r.\u0275\u0275property("matRippleDisabled",he._disableScrollAfter||he.disableRipple)("disabled",he._disableScrollAfter||null))},directives:[l.MatRipple,h.wD,pt],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color: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}),Y})(),wt=0;class Oe{}const ze=(0,l.mixinColor)((0,l.mixinDisableRipple)(class{constructor(Y){this._elementRef=Y}}),"primary");let lt=(()=>{class Y extends ze{constructor(N,he,je,ft){var Ft;super(N),this._changeDetectorRef=he,this._animationMode=ft,this._tabs=new r.QueryList,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=b.w0.EMPTY,this._tabLabelSubscription=b.w0.EMPTY,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new r.EventEmitter,this.focusChange=new r.EventEmitter,this.animationDone=new r.EventEmitter,this.selectedTabChange=new r.EventEmitter(!0),this._groupId=wt++,this.animationDuration=je&&je.animationDuration?je.animationDuration:"500ms",this.disablePagination=!(!je||null==je.disablePagination)&&je.disablePagination,this.dynamicHeight=!(!je||null==je.dynamicHeight)&&je.dynamicHeight,this.contentTabIndex=null!==(Ft=null==je?void 0:je.contentTabIndex)&&void 0!==Ft?Ft:null}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(N){this._dynamicHeight=(0,Z.Ig)(N)}get selectedIndex(){return this._selectedIndex}set selectedIndex(N){this._indexToSelect=(0,Z.su)(N,null)}get animationDuration(){return this._animationDuration}set animationDuration(N){this._animationDuration=/^\d+$/.test(N+"")?N+"ms":N}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(N){this._contentTabIndex=(0,Z.su)(N,null)}get backgroundColor(){return this._backgroundColor}set backgroundColor(N){const he=this._elementRef.nativeElement;he.classList.remove(`mat-background-${this.backgroundColor}`),N&&he.classList.add(`mat-background-${N}`),this._backgroundColor=N}ngAfterContentChecked(){const N=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=N){const he=null==this._selectedIndex;if(!he){this.selectedTabChange.emit(this._createChangeEvent(N));const je=this._tabBodyWrapper.nativeElement;je.style.minHeight=je.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((je,ft)=>je.isActive=ft===N),he||(this.selectedIndexChange.emit(N),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((he,je)=>{he.position=je-N,null!=this._selectedIndex&&0==he.position&&!he.origin&&(he.origin=N-this._selectedIndex)}),this._selectedIndex!==N&&(this._selectedIndex=N,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const N=this._clampTabIndex(this._indexToSelect);if(N===this._selectedIndex){const he=this._tabs.toArray();let je;for(let ft=0;ft<he.length;ft++)if(he[ft].isActive){this._indexToSelect=this._selectedIndex=ft,this._lastFocusedTabIndex=null,je=he[ft];break}!je&&he[N]&&Promise.resolve().then(()=>{he[N].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(N))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,m.O)(this._allTabs)).subscribe(N=>{this._tabs.reset(N.filter(he=>he._closestTabGroup===this||!he._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(N){const he=this._tabHeader;he&&(he.focusIndex=N)}_focusChanged(N){this._lastFocusedTabIndex=N,this.focusChange.emit(this._createChangeEvent(N))}_createChangeEvent(N){const he=new Oe;return he.index=N,this._tabs&&this._tabs.length&&(he.tab=this._tabs.toArray()[N]),he}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,P.T)(...this._tabs.map(N=>N._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(N){return Math.min(this._tabs.length-1,Math.max(N||0,0))}_getTabLabelId(N){return`mat-tab-label-${this._groupId}-${N}`}_getTabContentId(N){return`mat-tab-content-${this._groupId}-${N}`}_setTabBodyWrapperHeight(N){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const he=this._tabBodyWrapper.nativeElement;he.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(he.style.height=N+"px")}_removeTabBodyWrapperHeight(){const N=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=N.clientHeight,N.style.height="",this.animationDone.emit()}_handleClick(N,he,je){N.disabled||(this.selectedIndex=he.focusIndex=je)}_getTabIndex(N,he){var je;return N.disabled?null:he===(null!==(je=this._lastFocusedTabIndex)&&void 0!==je?je:this.selectedIndex)?0:-1}_tabFocusChanged(N,he){N&&"mouse"!==N&&"touch"!==N&&(this._tabHeader.focusIndex=he)}}return Y.\u0275fac=function(N){return new(N||Y)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(ot,8),r.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},Y.\u0275dir=r.\u0275\u0275defineDirective({type:Y,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:[r.\u0275\u0275InheritDefinitionFeature]}),Y})(),Tt=(()=>{class Y extends lt{constructor(N,he,je,ft){super(N,he,je,ft)}}return Y.\u0275fac=function(N){return new(N||Y)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(ot,8),r.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},Y.\u0275cmp=r.\u0275\u0275defineComponent({type:Y,selectors:[["mat-tab-group"]],contentQueries:function(N,he,je){if(1&N&&r.\u0275\u0275contentQuery(je,Re,5),2&N){let ft;r.\u0275\u0275queryRefresh(ft=r.\u0275\u0275loadQuery())&&(he._allTabs=ft)}},viewQuery:function(N,he){if(1&N&&(r.\u0275\u0275viewQuery(et,5),r.\u0275\u0275viewQuery(dt,5)),2&N){let je;r.\u0275\u0275queryRefresh(je=r.\u0275\u0275loadQuery())&&(he._tabBodyWrapper=je.first),r.\u0275\u0275queryRefresh(je=r.\u0275\u0275loadQuery())&&(he._tabHeader=je.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(N,he){2&N&&r.\u0275\u0275classProp("mat-tab-group-dynamic-height",he.dynamicHeight)("mat-tab-group-inverted-header","below"===he.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[r.\u0275\u0275ProvidersFeature([{provide:Ke,useExisting:Y}]),r.\u0275\u0275InheritDefinitionFeature],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","ngClass","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","ngClass","content","position","origin","animationDuration","_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(N,he){1&N&&(r.\u0275\u0275elementStart(0,"mat-tab-header",0,1),r.\u0275\u0275listener("indexFocused",function(ft){return he._focusChanged(ft)})("selectFocusedIndex",function(ft){return he.selectedIndex=ft}),r.\u0275\u0275template(2,ht,5,15,"div",2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"div",3,4),r.\u0275\u0275template(5,xe,1,10,"mat-tab-body",5),r.\u0275\u0275elementEnd()),2&N&&(r.\u0275\u0275property("selectedIndex",he.selectedIndex||0)("disableRipple",he.disableRipple)("disablePagination",he.disablePagination),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngForOf",he._tabs),r.\u0275\u0275advance(1),r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===he._animationMode),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngForOf",he._tabs))},directives:[rt,Je,d.NgForOf,Et,l.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}),Y})(),Ct=0,$t=(()=>{class Y extends Ye{constructor(N,he,je,ft,Ft,Ie,Ae){super(N,ft,Ft,he,je,Ie,Ae),this._disableRipple=!1,this.color="primary"}get backgroundColor(){return this._backgroundColor}set backgroundColor(N){const he=this._elementRef.nativeElement.classList;he.remove(`mat-background-${this.backgroundColor}`),N&&he.add(`mat-background-${N}`),this._backgroundColor=N}get disableRipple(){return this._disableRipple}set disableRipple(N){this._disableRipple=(0,Z.Ig)(N)}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe((0,m.O)(null),(0,_.R)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(){if(!this._items)return;const N=this._items.toArray();for(let he=0;he<N.length;he++)if(N[he].active)return this.selectedIndex=he,this._changeDetectorRef.markForCheck(),void(this.tabPanel&&(this.tabPanel._activeTabId=N[he].id));this.selectedIndex=-1,this._inkBar.hide()}_getRole(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")}}return Y.\u0275fac=function(N){return new(N||Y)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(J.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(oe.rL),r.\u0275\u0275directiveInject(U.t4),r.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},Y.\u0275dir=r.\u0275\u0275defineDirective({type:Y,inputs:{backgroundColor:"backgroundColor",disableRipple:"disableRipple",color:"color",tabPanel:"tabPanel"},features:[r.\u0275\u0275InheritDefinitionFeature]}),Y})(),Mt=(()=>{class Y extends $t{constructor(N,he,je,ft,Ft,Ie,Ae){super(N,he,je,ft,Ft,Ie,Ae)}}return Y.\u0275fac=function(N){return new(N||Y)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(J.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(oe.rL),r.\u0275\u0275directiveInject(U.t4),r.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},Y.\u0275cmp=r.\u0275\u0275defineComponent({type:Y,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(N,he,je){if(1&N&&r.\u0275\u0275contentQuery(je,q,5),2&N){let ft;r.\u0275\u0275queryRefresh(ft=r.\u0275\u0275loadQuery())&&(he._items=ft)}},viewQuery:function(N,he){if(1&N&&(r.\u0275\u0275viewQuery(pt,7),r.\u0275\u0275viewQuery(ue,7),r.\u0275\u0275viewQuery($,7),r.\u0275\u0275viewQuery(ce,7),r.\u0275\u0275viewQuery(de,5),r.\u0275\u0275viewQuery(_e,5)),2&N){let je;r.\u0275\u0275queryRefresh(je=r.\u0275\u0275loadQuery())&&(he._inkBar=je.first),r.\u0275\u0275queryRefresh(je=r.\u0275\u0275loadQuery())&&(he._tabListContainer=je.first),r.\u0275\u0275queryRefresh(je=r.\u0275\u0275loadQuery())&&(he._tabList=je.first),r.\u0275\u0275queryRefresh(je=r.\u0275\u0275loadQuery())&&(he._tabListInner=je.first),r.\u0275\u0275queryRefresh(je=r.\u0275\u0275loadQuery())&&(he._nextPaginator=je.first),r.\u0275\u0275queryRefresh(je=r.\u0275\u0275loadQuery())&&(he._previousPaginator=je.first)}},hostAttrs:[1,"mat-tab-nav-bar","mat-tab-header"],hostVars:11,hostBindings:function(N,he){2&N&&(r.\u0275\u0275attribute("role",he._getRole()),r.\u0275\u0275classProp("mat-tab-header-pagination-controls-enabled",he._showPaginationControls)("mat-tab-header-rtl","rtl"==he._getLayoutDirection())("mat-primary","warn"!==he.color&&"accent"!==he.color)("mat-accent","accent"===he.color)("mat-warn","warn"===he.color))},inputs:{color:"color"},exportAs:["matTabNavBar","matTabNav"],features:[r.\u0275\u0275InheritDefinitionFeature],attrs:qe,ngContentSelectors:me,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(N,he){1&N&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275elementStart(0,"button",0,1),r.\u0275\u0275listener("click",function(){return he._handlePaginatorClick("before")})("mousedown",function(ft){return he._handlePaginatorPress("before",ft)})("touchend",function(){return he._stopInterval()}),r.\u0275\u0275element(2,"div",2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"div",3,4),r.\u0275\u0275listener("keydown",function(ft){return he._handleKeydown(ft)}),r.\u0275\u0275elementStart(5,"div",5,6),r.\u0275\u0275listener("cdkObserveContent",function(){return he._onContentChanges()}),r.\u0275\u0275elementStart(7,"div",7,8),r.\u0275\u0275projection(9),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(10,"mat-ink-bar"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(11,"button",9,10),r.\u0275\u0275listener("mousedown",function(ft){return he._handlePaginatorPress("after",ft)})("click",function(){return he._handlePaginatorClick("after")})("touchend",function(){return he._stopInterval()}),r.\u0275\u0275element(13,"div",2),r.\u0275\u0275elementEnd()),2&N&&(r.\u0275\u0275classProp("mat-tab-header-pagination-disabled",he._disableScrollBefore),r.\u0275\u0275property("matRippleDisabled",he._disableScrollBefore||he.disableRipple)("disabled",he._disableScrollBefore||null),r.\u0275\u0275advance(5),r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===he._animationMode),r.\u0275\u0275advance(6),r.\u0275\u0275classProp("mat-tab-header-pagination-disabled",he._disableScrollAfter),r.\u0275\u0275property("matRippleDisabled",he._disableScrollAfter||he.disableRipple)("disabled",he._disableScrollAfter||null))},directives:[l.MatRipple,h.wD,pt],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color: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}),Y})();const Ht=(0,l.mixinTabIndex)((0,l.mixinDisableRipple)((0,l.mixinDisabled)(class{})));let fe=(()=>{class Y extends Ht{constructor(N,he,je,ft,Ft,Ie){super(),this._tabNavBar=N,this.elementRef=he,this._focusMonitor=Ft,this._isActive=!1,this.id="mat-tab-link-"+Ct++,this.rippleConfig=je||{},this.tabIndex=parseInt(ft)||0,"NoopAnimations"===Ie&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get active(){return this._isActive}set active(N){const he=(0,Z.Ig)(N);he!==this._isActive&&(this._isActive=he,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(N){this._tabNavBar.tabPanel&&N.keyCode===X.L_&&this.elementRef.nativeElement.click()}_getAriaControls(){var N;return this._tabNavBar.tabPanel?null===(N=this._tabNavBar.tabPanel)||void 0===N?void 0:N.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 Y.\u0275fac=function(N){return new(N||Y)(r.\u0275\u0275directiveInject($t),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(l.MAT_RIPPLE_GLOBAL_OPTIONS,8),r.\u0275\u0275injectAttribute("tabindex"),r.\u0275\u0275directiveInject(n.tE),r.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},Y.\u0275dir=r.\u0275\u0275defineDirective({type:Y,inputs:{active:"active",id:"id"},features:[r.\u0275\u0275InheritDefinitionFeature]}),Y})(),q=(()=>{class Y extends fe{constructor(N,he,je,ft,Ft,Ie,Ae,ge){super(N,he,Ft,Ie,Ae,ge),this._tabLinkRipple=new l.RippleRenderer(this,je,he,ft),this._tabLinkRipple.setupTriggerEvents(he.nativeElement)}ngOnDestroy(){super.ngOnDestroy(),this._tabLinkRipple._removeTriggerEvents()}}return Y.\u0275fac=function(N){return new(N||Y)(r.\u0275\u0275directiveInject(Mt),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(U.t4),r.\u0275\u0275directiveInject(l.MAT_RIPPLE_GLOBAL_OPTIONS,8),r.\u0275\u0275injectAttribute("tabindex"),r.\u0275\u0275directiveInject(n.tE),r.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},Y.\u0275dir=r.\u0275\u0275defineDirective({type:Y,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mat-tab-link","mat-focus-indicator"],hostVars:11,hostBindings:function(N,he){1&N&&r.\u0275\u0275listener("focus",function(){return he._handleFocus()})("keydown",function(ft){return he._handleKeydown(ft)}),2&N&&(r.\u0275\u0275attribute("aria-controls",he._getAriaControls())("aria-current",he._getAriaCurrent())("aria-disabled",he.disabled)("aria-selected",he._getAriaSelected())("id",he.id)("tabIndex",he._getTabIndex())("role",he._getRole()),r.\u0275\u0275classProp("mat-tab-disabled",he.disabled)("mat-tab-label-active",he.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matTabLink"],features:[r.\u0275\u0275InheritDefinitionFeature]}),Y})(),k=(()=>{class Y{constructor(){this.id="mat-tab-nav-panel-"+Ct++}}return Y.\u0275fac=function(N){return new(N||Y)},Y.\u0275cmp=r.\u0275\u0275defineComponent({type:Y,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-tab-nav-panel"],hostVars:2,hostBindings:function(N,he){2&N&&r.\u0275\u0275attribute("aria-labelledby",he._activeTabId)("id",he.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:me,decls:1,vars:0,template:function(N,he){1&N&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),Y})(),W=(()=>{class Y{}return Y.\u0275fac=function(N){return new(N||Y)},Y.\u0275mod=r.\u0275\u0275defineNgModule({type:Y}),Y.\u0275inj=r.\u0275\u0275defineInjector({imports:[[d.CommonModule,l.MatCommonModule,y.eL,l.MatRippleModule,h.Q8,n.rt],l.MatCommonModule]}),Y})()},7238:(G,o,a)=>{"use strict";a.r(o),a.d(o,{MAT_TOOLTIP_DEFAULT_OPTIONS:()=>Q,MAT_TOOLTIP_DEFAULT_OPTIONS_FACTORY:()=>ue,MAT_TOOLTIP_SCROLL_STRATEGY:()=>me,MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY:()=>De,MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>We,MatTooltip:()=>ce,MatTooltipModule:()=>et,SCROLL_THROTTLE_MS:()=>J,TOOLTIP_PANEL_CLASS:()=>Z,TooltipComponent:()=>_e,_MatTooltipBase:()=>$,_TooltipComponentBase:()=>de,getMatTooltipInvalidPositionError:()=>le,matTooltipAnimations:()=>dt});var n=a(1314),h=a(5664),y=a(9808),d=a(5e3),r=a(508),l=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),P=a(226),I=a(1777);const V=["tooltip"],J=20,Z="mat-tooltip-panel",X="tooltip-panel",U=(0,u.i$)({passive:!0});function le(it){return Error(`Tooltip position "${it}" is invalid.`)}const me=new d.InjectionToken("mat-tooltip-scroll-strategy");function De(it){return()=>it.scrollStrategies.reposition({scrollThrottle:J})}const We={provide:me,deps:[n.aV],useFactory:De},Q=new d.InjectionToken("mat-tooltip-default-options",{providedIn:"root",factory:ue});function ue(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}let $=(()=>{class it{constructor(Qe,ht,xe,qe,Le,Ge,pt,ye,Se,j,ne,Me){this._overlay=Qe,this._elementRef=ht,this._scrollDispatcher=xe,this._viewContainerRef=qe,this._ngZone=Le,this._platform=Ge,this._ariaDescriber=pt,this._focusMonitor=ye,this._dir=j,this._defaultOptions=ne,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=Se,this._document=Me,ne&&(ne.position&&(this.position=ne.position),ne.touchGestures&&(this.touchGestures=ne.touchGestures)),j.change.pipe((0,T.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(Qe){var ht;Qe!==this._position&&(this._position=Qe,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(ht=this._tooltipInstance)||void 0===ht||ht.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(([ht,xe])=>{Qe.removeEventListener(ht,xe,U)}),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 ht=this._createOverlay();this._detach(),this._portal=this._portal||new _.C5(this._tooltipComponent,this._viewContainerRef);const xe=this._tooltipInstance=ht.attach(this._portal).instance;xe._triggerElement=this._elementRef.nativeElement,xe._mouseLeaveHideDelay=this._hideDelay,xe.afterHidden().pipe((0,T.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),xe.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 ht=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),xe=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(ht);return xe.positionChanges.pipe((0,T.R)(this._destroyed)).subscribe(qe=>{this._updateCurrentPositionClass(qe.connectionPair),this._tooltipInstance&&qe.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:xe,panelClass:`${this._cssClassPrefix}-${X}`,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 qe;return null===(qe=this._tooltipInstance)||void 0===qe?void 0:qe._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe((0,T.R)(this._destroyed)).subscribe(qe=>{this._isTooltipVisible()&&qe.keyCode===p.hY&&!(0,p.Vb)(qe)&&(qe.preventDefault(),qe.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 ht=Qe.getConfig().positionStrategy,xe=this._getOrigin(),qe=this._getOverlayPosition();ht.withPositions([this._addOffset(Object.assign(Object.assign({},xe.main),qe.main)),this._addOffset(Object.assign(Object.assign({},xe.fallback),qe.fallback))])}_addOffset(Qe){return Qe}_getOrigin(){const Qe=!this._dir||"ltr"==this._dir.value,ht=this.position;let xe;"above"==ht||"below"==ht?xe={originX:"center",originY:"above"==ht?"top":"bottom"}:"before"==ht||"left"==ht&&Qe||"right"==ht&&!Qe?xe={originX:"start",originY:"center"}:("after"==ht||"right"==ht&&Qe||"left"==ht&&!Qe)&&(xe={originX:"end",originY:"center"});const{x:qe,y:Le}=this._invertPosition(xe.originX,xe.originY);return{main:xe,fallback:{originX:qe,originY:Le}}}_getOverlayPosition(){const Qe=!this._dir||"ltr"==this._dir.value,ht=this.position;let xe;"above"==ht?xe={overlayX:"center",overlayY:"bottom"}:"below"==ht?xe={overlayX:"center",overlayY:"top"}:"before"==ht||"left"==ht&&Qe||"right"==ht&&!Qe?xe={overlayX:"end",overlayY:"center"}:("after"==ht||"right"==ht&&Qe||"left"==ht&&!Qe)&&(xe={overlayX:"start",overlayY:"center"});const{x:qe,y:Le}=this._invertPosition(xe.overlayX,xe.overlayY);return{main:xe,fallback:{overlayX:qe,overlayY:Le}}}_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,ht){return"above"===this.position||"below"===this.position?"top"===ht?ht="bottom":"bottom"===ht&&(ht="top"):"end"===Qe?Qe="start":"start"===Qe&&(Qe="end"),{x:Qe,y:ht}}_updateCurrentPositionClass(Qe){const{overlayY:ht,originX:xe,originY:qe}=Qe;let Le;if(Le="center"===ht?this._dir&&"rtl"===this._dir.value?"end"===xe?"left":"right":"start"===xe?"left":"right":"bottom"===ht&&"top"===qe?"above":"below",Le!==this._currentPosition){const Ge=this._overlayRef;if(Ge){const pt=`${this._cssClassPrefix}-${X}-`;Ge.removePanelClass(pt+this._currentPosition),Ge.addPanelClass(pt+Le)}this._currentPosition=Le}}_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",ht=>{var xe;const qe=ht.relatedTarget;(!qe||!(null===(xe=this._overlayRef)||void 0===xe?void 0:xe.overlayElement.contains(qe)))&&this.hide()}],["wheel",ht=>this._wheelListener(ht)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const ht=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};Qe.push(["touchend",ht],["touchcancel",ht])}this._addListeners(Qe),this._passiveListeners.push(...Qe)}_addListeners(Qe){Qe.forEach(([ht,xe])=>{this._elementRef.nativeElement.addEventListener(ht,xe,U)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(Qe){if(this._isTooltipVisible()){const ht=this._document.elementFromPoint(Qe.clientX,Qe.clientY),xe=this._elementRef.nativeElement;ht!==xe&&!xe.contains(ht)&&this.hide()}}_disableNativeGesturesIfNecessary(){const Qe=this.touchGestures;if("off"!==Qe){const ht=this._elementRef.nativeElement,xe=ht.style;("on"===Qe||"INPUT"!==ht.nodeName&&"TEXTAREA"!==ht.nodeName)&&(xe.userSelect=xe.msUserSelect=xe.webkitUserSelect=xe.MozUserSelect="none"),("on"===Qe||!ht.draggable)&&(xe.webkitUserDrag="none"),xe.touchAction="none",xe.webkitTapHighlightColor="transparent"}}}return it.\u0275fac=function(Qe){d.\u0275\u0275invalidFactory()},it.\u0275dir=d.\u0275\u0275defineDirective({type:it,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),it})(),ce=(()=>{class it extends ${constructor(Qe,ht,xe,qe,Le,Ge,pt,ye,Se,j,ne,Me){super(Qe,ht,xe,qe,Le,Ge,pt,ye,Se,j,ne,Me),this._tooltipComponent=_e}}return it.\u0275fac=function(Qe){return new(Qe||it)(d.\u0275\u0275directiveInject(n.aV),d.\u0275\u0275directiveInject(d.ElementRef),d.\u0275\u0275directiveInject(l.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(P.Is,8),d.\u0275\u0275directiveInject(Q,8),d.\u0275\u0275directiveInject(y.DOCUMENT))},it.\u0275dir=d.\u0275\u0275defineDirective({type:it,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[d.\u0275\u0275InheritDefinitionFeature]}),it})(),de=(()=>{class it{constructor(Qe,ht){this._changeDetectorRef=Qe,this._visibility="initial",this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new b.x,this._animationsDisabled="NoopAnimations"===ht}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 ht=this._tooltip.nativeElement,xe=this._showAnimation,qe=this._hideAnimation;if(ht.classList.remove(Qe?qe:xe),ht.classList.add(Qe?xe:qe),this._isVisible=Qe,Qe&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const Le=getComputedStyle(ht);("0s"===Le.getPropertyValue("animation-duration")||"none"===Le.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}Qe&&this._onShow(),this._animationsDisabled&&(ht.classList.add("_mat-animation-noopable"),this._finalizeAnimation(Qe))}}return it.\u0275fac=function(Qe){return new(Qe||it)(d.\u0275\u0275directiveInject(d.ChangeDetectorRef),d.\u0275\u0275directiveInject(v.ANIMATION_MODULE_TYPE,8))},it.\u0275dir=d.\u0275\u0275defineDirective({type:it}),it})(),_e=(()=>{class it extends de{constructor(Qe,ht,xe){super(Qe,xe),this._breakpointObserver=ht,this._isHandset=this._breakpointObserver.observe(m.Breakpoints.Handset),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide"}}return it.\u0275fac=function(Qe){return new(Qe||it)(d.\u0275\u0275directiveInject(d.ChangeDetectorRef),d.\u0275\u0275directiveInject(m.BreakpointObserver),d.\u0275\u0275directiveInject(v.ANIMATION_MODULE_TYPE,8))},it.\u0275cmp=d.\u0275\u0275defineComponent({type:it,selectors:[["mat-tooltip-component"]],viewQuery:function(Qe,ht){if(1&Qe&&d.\u0275\u0275viewQuery(V,7),2&Qe){let xe;d.\u0275\u0275queryRefresh(xe=d.\u0275\u0275loadQuery())&&(ht._tooltip=xe.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(Qe,ht){1&Qe&&d.\u0275\u0275listener("mouseleave",function(qe){return ht._handleMouseLeave(qe)}),2&Qe&&d.\u0275\u0275styleProp("zoom",ht.isVisible()?1:null)},features:[d.\u0275\u0275InheritDefinitionFeature],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(Qe,ht){if(1&Qe&&(d.\u0275\u0275elementStart(0,"div",0,1),d.\u0275\u0275listener("animationend",function(qe){return ht._handleAnimationEnd(qe)}),d.\u0275\u0275pipe(2,"async"),d.\u0275\u0275text(3),d.\u0275\u0275elementEnd()),2&Qe){let xe;d.\u0275\u0275classProp("mat-tooltip-handset",null==(xe=d.\u0275\u0275pipeBind1(2,4,ht._isHandset))?null:xe.matches),d.\u0275\u0275property("ngClass",ht.tooltipClass),d.\u0275\u0275advance(3),d.\u0275\u0275textInterpolate(ht.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}),it})(),et=(()=>{class it{}return it.\u0275fac=function(Qe){return new(Qe||it)},it.\u0275mod=d.\u0275\u0275defineNgModule({type:it}),it.\u0275inj=d.\u0275\u0275defineInjector({providers:[We],imports:[[h.rt,y.CommonModule,n.U8,r.MatCommonModule],r.MatCommonModule,l.ZD]}),it})();const dt={tooltipState:(0,I.X$)("state",[(0,I.SB)("initial, void, hidden",(0,I.oB)({opacity:0,transform:"scale(0)"})),(0,I.SB)("visible",(0,I.oB)({transform:"scale(1)"})),(0,I.eR)("* => visible",(0,I.jt)("200ms cubic-bezier(0, 0, 0.2, 1)",(0,I.F4)([(0,I.oB)({opacity:0,transform:"scale(0)",offset:0}),(0,I.oB)({opacity:.5,transform:"scale(0.99)",offset:.5}),(0,I.oB)({opacity:1,transform:"scale(1)",offset:1})]))),(0,I.eR)("* => hidden",(0,I.jt)("100ms cubic-bezier(0, 0, 0.2, 1)",(0,I.oB)({opacity:0})))])}},6360:(G,o,a)=>{"use strict";a.r(o),a.d(o,{ANIMATION_MODULE_TYPE:()=>Zo,BrowserAnimationsModule:()=>er,NoopAnimationsModule:()=>Rs,\u0275AnimationRenderer:()=>Qo,\u0275AnimationRendererFactory:()=>Ko,\u0275BrowserAnimationBuilder:()=>Sn,\u0275BrowserAnimationFactory:()=>li,\u0275InjectableAnimationEngine:()=>oo});var n=a(5e3),h=a(2313),y=a(1777);const d=!1;function l(K){return new n.\u0275RuntimeError(3e3,d)}function Le(){return"undefined"!=typeof window&&void 0!==window.document}function Ge(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function pt(K){switch(K.length){case 0:return new y.ZN;case 1:return K[0];default:return new y.ZE(K)}}function ye(K,E,D,A,ee={},be={}){const Ne=[],Be=[];let nt=-1,vt=null;if(A.forEach(kt=>{const zt=kt.offset,Jt=zt==nt,an=Jt&&vt||{};Object.keys(kt).forEach(Kt=>{let tn=Kt,En=kt[Kt];if("offset"!==Kt)switch(tn=E.normalizePropertyName(tn,Ne),En){case y.k1:En=ee[Kt];break;case y.l3:En=be[Kt];break;default:En=E.normalizeStyleValue(Kt,tn,En,Ne)}an[tn]=En}),Jt||Be.push(an),vt=an,nt=zt}),Ne.length)throw function $(K){return new n.\u0275RuntimeError(3502,d)}();return Be}function Se(K,E,D,A){switch(E){case"start":K.onStart(()=>A(D&&j(D,"start",K)));break;case"done":K.onDone(()=>A(D&&j(D,"done",K)));break;case"destroy":K.onDestroy(()=>A(D&&j(D,"destroy",K)))}}function j(K,E,D){const A=D.totalTime,be=ne(K.element,K.triggerName,K.fromState,K.toState,E||K.phaseName,null==A?K.totalTime:A,!!D.disabled),Ne=K._data;return null!=Ne&&(be._data=Ne),be}function ne(K,E,D,A,ee="",be=0,Ne){return{element:K,triggerName:E,fromState:D,toState:A,phaseName:ee,totalTime:be,disabled:!!Ne}}function Me(K,E,D){let A;return K instanceof Map?(A=K.get(E),A||K.set(E,A=D)):(A=K[E],A||(A=K[E]=D)),A}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)=>[],L=null;function ve(K){const E=K.parentNode||K.host;return E===L?null:E}(Ge()||"undefined"!=typeof Element)&&(Le()?(L=(()=>document.documentElement)(),Ke=(K,E)=>{for(;E;){if(E===K)return!0;E=ve(E)}return!1}):Ke=(K,E)=>K.contains(E),Re=(K,E,D)=>{if(D)return Array.from(K.querySelectorAll(E));const A=K.querySelector(E);return A?[A]:[]});let ot=null,Dt=!1;function Et(K){ot||(ot=function At(){return"undefined"!=typeof document?document.body:null}()||{},Dt=!!ot.style&&"WebkitAppearance"in ot.style);let E=!0;return ot.style&&!function Je(K){return"ebkit"==K.substring(1,6)}(K)&&(E=K in ot.style,!E&&Dt&&(E="Webkit"+K.charAt(0).toUpperCase()+K.substr(1)in ot.style)),E}const He=Ke,Te=Re;let Ye=(()=>{class K{validateStyleProperty(D){return Et(D)}matchesElement(D,A){return!1}containsElement(D,A){return He(D,A)}getParentElement(D){return ve(D)}query(D,A,ee){return Te(D,A,ee)}computeStyle(D,A,ee){return ee||""}animate(D,A,ee,be,Ne,Be=[],nt){return new y.ZN(ee,be)}}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",lt="ng-leave",Tt="ng-trigger",Ct=".ng-trigger",$t="ng-animating",Mt=".ng-animating";function Ht(K){if("number"==typeof K)return K;const E=K.match(/^(-?[\.\d]+)(m?s)/);return!E||E.length<2?0:fe(parseFloat(E[1]),E[2])}function fe(K,E){return"s"===E?1e3*K:K}function q(K,E,D){return K.hasOwnProperty("duration")?K:function k(K,E,D){let ee,be=0,Ne="";if("string"==typeof K){const Be=K.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Be)return E.push(l()),{duration:0,delay:0,easing:""};ee=fe(parseFloat(Be[1]),Be[2]);const nt=Be[3];null!=nt&&(be=fe(parseFloat(nt),Be[4]));const vt=Be[5];vt&&(Ne=vt)}else ee=K;if(!D){let Be=!1,nt=E.length;ee<0&&(E.push(function f(){return new n.\u0275RuntimeError(3100,d)}()),Be=!0),be<0&&(E.push(function p(){return new n.\u0275RuntimeError(3101,d)}()),Be=!0),Be&&E.splice(nt,0,l())}return{duration:ee,delay:be,easing:Ne}}(K,E,D)}function W(K,E={}){return Object.keys(K).forEach(D=>{E[D]=K[D]}),E}function z(K,E,D={}){if(E)for(let A in K)D[A]=K[A];else W(K,D);return D}function N(K,E,D){return D?E+":"+D+";":""}function he(K){let E="";for(let D=0;D<K.style.length;D++){const A=K.style.item(D);E+=N(0,A,K.style.getPropertyValue(A))}for(const D in K.style)K.style.hasOwnProperty(D)&&!D.startsWith("_")&&(E+=N(0,qt(D),K.style[D]));K.setAttribute("style",E)}function je(K,E,D){K.style&&(Object.keys(E).forEach(A=>{const ee=jt(A);D&&!D.hasOwnProperty(A)&&(D[A]=K.style[ee]),K.style[ee]=E[A]}),Ge()&&he(K))}function ft(K,E){K.style&&(Object.keys(E).forEach(D=>{const A=jt(D);K.style[A]=""}),Ge()&&he(K))}function Ft(K){return Array.isArray(K)?1==K.length?K[0]:(0,y.vP)(K):K}const Ae=new RegExp("{{\\s*(.+?)\\s*}}","g");function ge(K){let E=[];if("string"==typeof K){let D;for(;D=Ae.exec(K);)E.push(D[1]);Ae.lastIndex=0}return E}function ke(K,E,D){const A=K.toString(),ee=A.replace(Ae,(be,Ne)=>{let Be=E[Ne];return E.hasOwnProperty(Ne)||(D.push(function u(K){return new n.\u0275RuntimeError(3003,d)}()),Be=""),Be.toString()});return ee==A?K:ee}function ct(K){const E=[];let D=K.next();for(;!D.done;)E.push(D.value),D=K.next();return E}const xt=/-+([a-z0-9])/g;function jt(K){return K.replace(xt,(...E)=>E[1].toUpperCase())}function qt(K){return K.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function hn(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 An(K,E){return window.getComputedStyle(K)[E]}function we(K,E){const D=[];return"string"==typeof K?K.split(/\s*,\s*/).forEach(A=>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,A)=>parseFloat(A)>parseFloat(D);case":decrement":return(D,A)=>parseFloat(A)<parseFloat(D);default:return E.push(function De(K){return new n.\u0275RuntimeError(3016,d)}()),"* => *"}}(K,D);if("function"==typeof nt)return void E.push(nt);K=nt}const A=K.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==A||A.length<4)return D.push(function me(K){return new n.\u0275RuntimeError(3015,d)}()),E;const ee=A[1],be=A[2],Ne=A[3];E.push(Ot(ee,Ne));"<"==be[0]&&!("*"==ee&&"*"==Ne)&&E.push(Ot(Ne,ee))}(A,D,E)):D.push(K),D}const St=new Set(["true","1"]),Ut=new Set(["false","0"]);function Ot(K,E){const D=St.has(K)||Ut.has(K),A=St.has(E)||Ut.has(E);return(ee,be)=>{let Ne="*"==K||K==ee,Be="*"==E||E==be;return!Ne&&D&&"boolean"==typeof ee&&(Ne=ee?St.has(K):Ut.has(K)),!Be&&A&&"boolean"==typeof be&&(Be=be?St.has(E):Ut.has(E)),Ne&&Be}}const ln=new RegExp("s*:selfs*,?","g");function _n(K,E,D,A){return new fn(K).build(E,D,A)}class fn{constructor(E){this._driver=E}build(E,D,A){const ee=new mn(D);this._resetContextStyleTimingState(ee);const be=hn(this,Ft(E),ee);return ee.unsupportedCSSPropertiesFound.size&&ee.unsupportedCSSPropertiesFound.keys(),be}_resetContextStyleTimingState(E){E.currentQuerySelector="",E.collectedStyles={},E.collectedStyles[""]={},E.currentTime=0}visitTrigger(E,D){let A=D.queryCount=0,ee=D.depCount=0;const be=[],Ne=[];return"@"==E.name.charAt(0)&&D.errors.push(function b(){return new n.\u0275RuntimeError(3006,d)}()),E.definitions.forEach(Be=>{if(this._resetContextStyleTimingState(D),0==Be.type){const nt=Be,vt=nt.name;vt.toString().split(/\s*,\s*/).forEach(kt=>{nt.name=kt,be.push(this.visitState(nt,D))}),nt.name=vt}else if(1==Be.type){const nt=this.visitTransition(Be,D);A+=nt.queryCount,ee+=nt.depCount,Ne.push(nt)}else D.errors.push(function T(){return new n.\u0275RuntimeError(3007,d)}())}),{type:7,name:E.name,states:be,transitions:Ne,queryCount:A,depCount:ee,options:null}}visitState(E,D){const A=this.visitStyle(E.styles,D),ee=E.options&&E.options.params||null;if(A.containsDynamicStyles){const be=new Set,Ne=ee||{};A.styles.forEach(Be=>{if(hi(Be)){const nt=Be;Object.keys(nt).forEach(vt=>{ge(nt[vt]).forEach(kt=>{Ne.hasOwnProperty(kt)||be.add(kt)})})}}),be.size&&(ct(be.values()),D.errors.push(function S(K,E){return new n.\u0275RuntimeError(3008,d)}()))}return{type:0,name:E.name,style:A,options:ee?{params:ee}:null}}visitTransition(E,D){D.queryCount=0,D.depCount=0;const A=hn(this,Ft(E.animation),D);return{type:1,matchers:we(E.expr,D.errors),animation:A,queryCount:D.queryCount,depCount:D.depCount,options:Mn(E.options)}}visitSequence(E,D){return{type:2,steps:E.steps.map(A=>hn(this,A,D)),options:Mn(E.options)}}visitGroup(E,D){const A=D.currentTime;let ee=0;const be=E.steps.map(Ne=>{D.currentTime=A;const Be=hn(this,Ne,D);return ee=Math.max(ee,D.currentTime),Be});return D.currentTime=ee,{type:3,steps:be,options:Mn(E.options)}}visitAnimate(E,D){const A=function Di(K,E){if(K.hasOwnProperty("duration"))return K;if("number"==typeof K)return jn(q(K,E).duration,0,"");const D=K;if(D.split(/\s+/).some(be=>"{"==be.charAt(0)&&"{"==be.charAt(1))){const be=jn(0,0,"");return be.dynamic=!0,be.strValue=D,be}const ee=q(D,E);return jn(ee.duration,ee.delay,ee.easing)}(E.timings,D.errors);D.currentAnimateTimings=A;let ee,be=E.styles?E.styles:(0,y.oB)({});if(5==be.type)ee=this.visitKeyframes(be,D);else{let Ne=E.styles,Be=!1;if(!Ne){Be=!0;const vt={};A.easing&&(vt.easing=A.easing),Ne=(0,y.oB)(vt)}D.currentTime+=A.duration+A.delay;const nt=this.visitStyle(Ne,D);nt.isEmptyStep=Be,ee=nt}return D.currentAnimateTimings=null,{type:4,timings:A,style:ee,options:null}}visitStyle(E,D){const A=this._makeStyleAst(E,D);return this._validateStyleAst(A,D),A}_makeStyleAst(E,D){const A=[];Array.isArray(E.styles)?E.styles.forEach(Ne=>{"string"==typeof Ne?Ne==y.l3?A.push(Ne):D.errors.push(function P(K){return new n.\u0275RuntimeError(3002,d)}()):A.push(Ne)}):A.push(E.styles);let ee=!1,be=null;return A.forEach(Ne=>{if(hi(Ne)){const Be=Ne,nt=Be.easing;if(nt&&(be=nt,delete Be.easing),!ee)for(let vt in Be)if(Be[vt].toString().indexOf("{{")>=0){ee=!0;break}}}),{type:6,styles:A,easing:be,offset:E.offset,containsDynamicStyles:ee,options:null}}_validateStyleAst(E,D){const A=D.currentAnimateTimings;let ee=D.currentTime,be=D.currentTime;A&&be>0&&(be-=A.duration+A.delay),E.styles.forEach(Ne=>{"string"!=typeof Ne&&Object.keys(Ne).forEach(Be=>{if(!this._driver.validateStyleProperty(Be))return delete Ne[Be],void D.unsupportedCSSPropertiesFound.add(Be);const nt=D.collectedStyles[D.currentQuerySelector],vt=nt[Be];let kt=!0;vt&&(be!=ee&&be>=vt.startTime&&ee<=vt.endTime&&(D.errors.push(function V(K,E,D,A,ee){return new n.\u0275RuntimeError(3010,d)}()),kt=!1),be=vt.startTime),kt&&(nt[Be]={startTime:be,endTime:ee}),D.options&&function Ie(K,E,D){const A=E.params||{},ee=ge(K);ee.length&&ee.forEach(be=>{A.hasOwnProperty(be)||D.push(function m(K){return new n.\u0275RuntimeError(3001,d)}())})}(Ne[Be],D.options,D.errors)})})}visitKeyframes(E,D){const A={type:5,styles:[],options:null};if(!D.currentAnimateTimings)return D.errors.push(function J(){return new n.\u0275RuntimeError(3011,d)}()),A;let be=0;const Ne=[];let Be=!1,nt=!1,vt=0;const kt=E.steps.map(Fn=>{const Qn=this._makeStyleAst(Fn,D);let oi=null!=Qn.offset?Qn.offset:function nn(K){if("string"==typeof K)return null;let E=null;if(Array.isArray(K))K.forEach(D=>{if(hi(D)&&D.hasOwnProperty("offset")){const A=D;E=parseFloat(A.offset),delete A.offset}});else if(hi(K)&&K.hasOwnProperty("offset")){const D=K;E=parseFloat(D.offset),delete D.offset}return E}(Qn.styles),vn=0;return null!=oi&&(be++,vn=Qn.offset=oi),nt=nt||vn<0||vn>1,Be=Be||vn<vt,vt=vn,Ne.push(vn),Qn});nt&&D.errors.push(function Z(){return new n.\u0275RuntimeError(3012,d)}()),Be&&D.errors.push(function X(){return new n.\u0275RuntimeError(3200,d)}());const zt=E.steps.length;let Jt=0;be>0&&be<zt?D.errors.push(function U(){return new n.\u0275RuntimeError(3202,d)}()):0==be&&(Jt=1/(zt-1));const an=zt-1,Kt=D.currentTime,tn=D.currentAnimateTimings,En=tn.duration;return kt.forEach((Fn,Qn)=>{const oi=Jt>0?Qn==an?1:Jt*Qn:Ne[Qn],vn=oi*En;D.currentTime=Kt+tn.delay+vn,tn.duration=vn,this._validateStyleAst(Fn,D),Fn.offset=oi,A.styles.push(Fn)}),A}visitReference(E,D){return{type:8,animation:hn(this,Ft(E.animation),D),options:Mn(E.options)}}visitAnimateChild(E,D){return D.depCount++,{type:9,options:Mn(E.options)}}visitAnimateRef(E,D){return{type:10,animation:this.visitReference(E.animation,D),options:Mn(E.options)}}visitQuery(E,D){const A=D.currentQuerySelector,ee=E.options||{};D.queryCount++,D.currentQuery=E;const[be,Ne]=function zn(K){const E=!!K.split(/\s*,\s*/).find(D=>":self"==D);return E&&(K=K.replace(ln,"")),K=K.replace(/@\*/g,Ct).replace(/@\w+/g,D=>Ct+"-"+D.substr(1)).replace(/:animating/g,Mt),[K,E]}(E.selector);D.currentQuerySelector=A.length?A+" "+be:be,Me(D.collectedStyles,D.currentQuerySelector,{});const Be=hn(this,Ft(E.animation),D);return D.currentQuery=null,D.currentQuerySelector=A,{type:11,selector:be,limit:ee.limit||0,optional:!!ee.optional,includeSelf:Ne,animation:Be,originalSelector:E.selector,options:Mn(E.options)}}visitStagger(E,D){D.currentQuery||D.errors.push(function oe(){return new n.\u0275RuntimeError(3013,d)}());const A="full"===E.timings?{duration:0,delay:0,easing:"full"}:q(E.timings,D.errors,!0);return{type:12,animation:hn(this,Ft(E.animation),D),timings:A,options:null}}}class mn{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 hi(K){return!Array.isArray(K)&&"object"==typeof K}function Mn(K){return K?(K=W(K)).params&&(K.params=function Ln(K){return K?W(K):null}(K.params)):K={},K}function jn(K,E,D){return{duration:K,delay:E,easing:D}}function pi(K,E,D,A,ee,be,Ne=null,Be=!1){return{type:1,element:K,keyframes:E,preStyleProps:D,postStyleProps:A,duration:ee,delay:be,totalTime:ee+be,easing:Ne,subTimeline:Be}}class ai{constructor(){this._map=new Map}get(E){return this._map.get(E)||[]}append(E,D){let A=this._map.get(E);A||this._map.set(E,A=[]),A.push(...D)}has(E){return this._map.has(E)}clear(){this._map.clear()}}const ki=new RegExp(":enter","g"),zr=new RegExp(":leave","g");function Bn(K,E,D,A,ee,be={},Ne={},Be,nt,vt=[]){return(new xr).buildKeyframes(K,E,D,A,ee,be,Ne,Be,nt,vt)}class xr{buildKeyframes(E,D,A,ee,be,Ne,Be,nt,vt,kt=[]){vt=vt||new ai;const zt=new cr(E,D,vt,ee,be,kt,[]);zt.options=nt,zt.currentTimeline.setStyles([Ne],null,zt.errors,nt),hn(this,A,zt);const Jt=zt.timelines.filter(an=>an.containsAnimation());if(Object.keys(Be).length){let an;for(let Kt=Jt.length-1;Kt>=0;Kt--){const tn=Jt[Kt];if(tn.element===D){an=tn;break}}an&&!an.allowOnlyTimelineStyles()&&an.setStyles([Be],null,zt.errors,nt)}return Jt.length?Jt.map(an=>an.buildKeyframes()):[pi(D,[],[],[],0,0,"",!1)]}visitTrigger(E,D){}visitState(E,D){}visitTransition(E,D){}visitAnimateChild(E,D){const A=D.subInstructions.get(D.element);if(A){const ee=D.createSubContext(E.options),be=D.currentTimeline.currentTime,Ne=this._visitSubInstructions(A,ee,ee.options);be!=Ne&&D.transformIntoNewTimeline(Ne)}D.previousNode=E}visitAnimateRef(E,D){const A=D.createSubContext(E.options);A.transformIntoNewTimeline(),this.visitReference(E.animation,A),D.transformIntoNewTimeline(A.currentTimeline.currentTime),D.previousNode=E}_visitSubInstructions(E,D,A){let be=D.currentTimeline.currentTime;const Ne=null!=A.duration?Ht(A.duration):null,Be=null!=A.delay?Ht(A.delay):null;return 0!==Ne&&E.forEach(nt=>{const vt=D.appendInstructionToTimeline(nt,Ne,Be);be=Math.max(be,vt.duration+vt.delay)}),be}visitReference(E,D){D.updateOptions(E.options,!0),hn(this,E.animation,D),D.previousNode=E}visitSequence(E,D){const A=D.subContextCount;let ee=D;const be=E.options;if(be&&(be.params||be.delay)&&(ee=D.createSubContext(be),ee.transformIntoNewTimeline(),null!=be.delay)){6==ee.previousNode.type&&(ee.currentTimeline.snapshotCurrentStyles(),ee.previousNode=wi);const Ne=Ht(be.delay);ee.delayNextStep(Ne)}E.steps.length&&(E.steps.forEach(Ne=>hn(this,Ne,ee)),ee.currentTimeline.applyStylesToKeyframe(),ee.subContextCount>A&&ee.transformIntoNewTimeline()),D.previousNode=E}visitGroup(E,D){const A=[];let ee=D.currentTimeline.currentTime;const be=E.options&&E.options.delay?Ht(E.options.delay):0;E.steps.forEach(Ne=>{const Be=D.createSubContext(E.options);be&&Be.delayNextStep(be),hn(this,Ne,Be),ee=Math.max(ee,Be.currentTimeline.currentTime),A.push(Be.currentTimeline)}),A.forEach(Ne=>D.currentTimeline.mergeTimelineCollectedStyles(Ne)),D.transformIntoNewTimeline(ee),D.previousNode=E}_visitTiming(E,D){if(E.dynamic){const A=E.strValue;return q(D.params?ke(A,D.params,D.errors):A,D.errors)}return{duration:E.duration,delay:E.delay,easing:E.easing}}visitAnimate(E,D){const A=D.currentAnimateTimings=this._visitTiming(E.timings,D),ee=D.currentTimeline;A.delay&&(D.incrementTime(A.delay),ee.snapshotCurrentStyles());const be=E.style;5==be.type?this.visitKeyframes(be,D):(D.incrementTime(A.duration),this.visitStyle(be,D),ee.applyStylesToKeyframe()),D.currentAnimateTimings=null,D.previousNode=E}visitStyle(E,D){const A=D.currentTimeline,ee=D.currentAnimateTimings;!ee&&A.getCurrentStyleProperties().length&&A.forwardFrame();const be=ee&&ee.easing||E.easing;E.isEmptyStep?A.applyEmptyStep(be):A.setStyles(E.styles,be,D.errors,D.options),D.previousNode=E}visitKeyframes(E,D){const A=D.currentAnimateTimings,ee=D.currentTimeline.duration,be=A.duration,Be=D.createSubContext().currentTimeline;Be.easing=A.easing,E.styles.forEach(nt=>{Be.forwardTime((nt.offset||0)*be),Be.setStyles(nt.styles,nt.easing,D.errors,D.options),Be.applyStylesToKeyframe()}),D.currentTimeline.mergeTimelineCollectedStyles(Be),D.transformIntoNewTimeline(ee+be),D.previousNode=E}visitQuery(E,D){const A=D.currentTimeline.currentTime,ee=E.options||{},be=ee.delay?Ht(ee.delay):0;be&&(6===D.previousNode.type||0==A&&D.currentTimeline.getCurrentStyleProperties().length)&&(D.currentTimeline.snapshotCurrentStyles(),D.previousNode=wi);let Ne=A;const Be=D.invokeQuery(E.selector,E.originalSelector,E.limit,E.includeSelf,!!ee.optional,D.errors);D.currentQueryTotal=Be.length;let nt=null;Be.forEach((vt,kt)=>{D.currentQueryIndex=kt;const zt=D.createSubContext(E.options,vt);be&&zt.delayNextStep(be),vt===D.element&&(nt=zt.currentTimeline),hn(this,E.animation,zt),zt.currentTimeline.applyStylesToKeyframe(),Ne=Math.max(Ne,zt.currentTimeline.currentTime)}),D.currentQueryIndex=0,D.currentQueryTotal=0,D.transformIntoNewTimeline(Ne),nt&&(D.currentTimeline.mergeTimelineCollectedStyles(nt),D.currentTimeline.snapshotCurrentStyles()),D.previousNode=E}visitStagger(E,D){const A=D.parentContext,ee=D.currentTimeline,be=E.timings,Ne=Math.abs(be.duration),Be=Ne*(D.currentQueryTotal-1);let nt=Ne*D.currentQueryIndex;switch(be.duration<0?"reverse":be.easing){case"reverse":nt=Be-nt;break;case"full":nt=A.currentStaggerTime}const kt=D.currentTimeline;nt&&kt.delayNextStep(nt);const zt=kt.currentTime;hn(this,E.animation,D),D.previousNode=E,A.currentStaggerTime=ee.currentTime-zt+(ee.startTime-A.currentTimeline.startTime)}}const wi={};class cr{constructor(E,D,A,ee,be,Ne,Be,nt){this._driver=E,this.element=D,this.subInstructions=A,this._enterClassName=ee,this._leaveClassName=be,this.errors=Ne,this.timelines=Be,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=wi,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=nt||new Mi(this._driver,D,0),Be.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(E,D){if(!E)return;const A=E;let ee=this.options;null!=A.duration&&(ee.duration=Ht(A.duration)),null!=A.delay&&(ee.delay=Ht(A.delay));const be=A.params;if(be){let Ne=ee.params;Ne||(Ne=this.options.params={}),Object.keys(be).forEach(Be=>{(!D||!Ne.hasOwnProperty(Be))&&(Ne[Be]=ke(be[Be],Ne,this.errors))})}}_copyOptions(){const E={};if(this.options){const D=this.options.params;if(D){const A=E.params={};Object.keys(D).forEach(ee=>{A[ee]=D[ee]})}}return E}createSubContext(E=null,D,A){const ee=D||this.element,be=new cr(this._driver,ee,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(ee,A||0));return be.previousNode=this.previousNode,be.currentAnimateTimings=this.currentAnimateTimings,be.options=this._copyOptions(),be.updateOptions(E),be.currentQueryIndex=this.currentQueryIndex,be.currentQueryTotal=this.currentQueryTotal,be.parentContext=this,this.subContextCount++,be}transformIntoNewTimeline(E){return this.previousNode=wi,this.currentTimeline=this.currentTimeline.fork(this.element,E),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(E,D,A){const ee={duration:null!=D?D:E.duration,delay:this.currentTimeline.currentTime+(null!=A?A:0)+E.delay,easing:""},be=new Yi(this._driver,E.element,E.keyframes,E.preStyleProps,E.postStyleProps,ee,E.stretchStartingKeyframe);return this.timelines.push(be),ee}incrementTime(E){this.currentTimeline.forwardTime(this.currentTimeline.duration+E)}delayNextStep(E){E>0&&this.currentTimeline.delayNextStep(E)}invokeQuery(E,D,A,ee,be,Ne){let Be=[];if(ee&&Be.push(this.element),E.length>0){E=(E=E.replace(ki,"."+this._enterClassName)).replace(zr,"."+this._leaveClassName);let vt=this._driver.query(this.element,E,1!=A);0!==A&&(vt=A<0?vt.slice(vt.length+A,vt.length):vt.slice(0,A)),Be.push(...vt)}return!be&&0==Be.length&&Ne.push(function le(K){return new n.\u0275RuntimeError(3014,d)}()),Be}}class Mi{constructor(E,D,A,ee){this._driver=E,this.element=D,this.startTime=A,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 Mi(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,A,ee){D&&(this._previousKeyframe.easing=D);const be=ee&&ee.params||{},Ne=function dr(K,E){const D={};let A;return K.forEach(ee=>{"*"===ee?(A=A||Object.keys(E),A.forEach(be=>{D[be]=y.l3})):z(ee,!1,D)}),D}(E,this._globalTimelineStyles);Object.keys(Ne).forEach(Be=>{const nt=ke(Ne[Be],be,A);this._pendingStyles[Be]=nt,this._localTimelineStyles.hasOwnProperty(Be)||(this._backFill[Be]=this._globalTimelineStyles.hasOwnProperty(Be)?this._globalTimelineStyles[Be]:y.l3),this._updateStyle(Be,nt)})}applyStylesToKeyframe(){const E=this._pendingStyles,D=Object.keys(E);0!=D.length&&(this._pendingStyles={},D.forEach(A=>{this._currentKeyframe[A]=E[A]}),Object.keys(this._localTimelineStyles).forEach(A=>{this._currentKeyframe.hasOwnProperty(A)||(this._currentKeyframe[A]=this._localTimelineStyles[A])}))}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 A=this._styleSummary[D],ee=E._styleSummary[D];(!A||ee.time>A.time)&&this._updateStyle(D,ee.value)})}buildKeyframes(){this.applyStylesToKeyframe();const E=new Set,D=new Set,A=1===this._keyframes.size&&0===this.duration;let ee=[];this._keyframes.forEach((Be,nt)=>{const vt=z(Be,!0);Object.keys(vt).forEach(kt=>{const zt=vt[kt];zt==y.k1?E.add(kt):zt==y.l3&&D.add(kt)}),A||(vt.offset=nt/this.duration),ee.push(vt)});const be=E.size?ct(E.values()):[],Ne=D.size?ct(D.values()):[];if(A){const Be=ee[0],nt=W(Be);Be.offset=0,nt.offset=1,ee=[Be,nt]}return pi(this.element,ee,be,Ne,this.duration,this.startTime,this.easing,!1)}}class Yi extends Mi{constructor(E,D,A,ee,be,Ne,Be=!1){super(E,D,Ne.delay),this.keyframes=A,this.preStyleProps=ee,this.postStyleProps=be,this._stretchStartingKeyframe=Be,this.timings={duration:Ne.duration,delay:Ne.delay,easing:Ne.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let E=this.keyframes,{delay:D,duration:A,easing:ee}=this.timings;if(this._stretchStartingKeyframe&&D){const be=[],Ne=A+D,Be=D/Ne,nt=z(E[0],!1);nt.offset=0,be.push(nt);const vt=z(E[0],!1);vt.offset=ur(Be),be.push(vt);const kt=E.length-1;for(let zt=1;zt<=kt;zt++){let Jt=z(E[zt],!1);Jt.offset=ur((D+Jt.offset*A)/Ne),be.push(Jt)}A=Ne,D=0,ee="",E=be}return pi(this.element,E,this.preStyleProps,this.postStyleProps,A,D,ee,!0)}}function ur(K,E=3){const D=Math.pow(10,E-1);return Math.round(K*D)/D}class _i{}class Ni extends _i{normalizePropertyName(E,D){return jt(E)}normalizeStyleValue(E,D,A,ee){let be="";const Ne=A.toString().trim();if(Nr[D]&&0!==A&&"0"!==A)if("number"==typeof A)be="px";else{const Be=A.match(/^[+-]?[\d\.]+([a-z]*)$/);Be&&0==Be[1].length&&ee.push(function v(K,E){return new n.\u0275RuntimeError(3005,d)}())}return Ne+be}}const Nr=(()=>function Li(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 Zi(K,E,D,A,ee,be,Ne,Be,nt,vt,kt,zt,Jt){return{type:0,element:K,triggerName:E,isRemovalTransition:ee,fromState:D,fromStyles:be,toState:A,toStyles:Ne,timelines:Be,queriedElements:nt,preStyleProps:vt,postStyleProps:kt,totalTime:zt,errors:Jt}}const Si={};class bi{constructor(E,D,A){this._triggerName=E,this.ast=D,this._stateStyles=A}match(E,D,A,ee){return function wr(K,E,D,A,ee){return K.some(be=>be(E,D,A,ee))}(this.ast.matchers,E,D,A,ee)}buildStyles(E,D,A){const ee=this._stateStyles["*"],be=this._stateStyles[E],Ne=ee?ee.buildStyles(D,A):{};return be?be.buildStyles(D,A):Ne}build(E,D,A,ee,be,Ne,Be,nt,vt,kt){const zt=[],Jt=this.ast.options&&this.ast.options.params||Si,Kt=this.buildStyles(A,Be&&Be.params||Si,zt),tn=nt&&nt.params||Si,En=this.buildStyles(ee,tn,zt),Fn=new Set,Qn=new Map,oi=new Map,vn="void"===ee,gi={params:Object.assign(Object.assign({},Jt),tn)},yn=kt?[]:Bn(E,D,this.ast.animation,be,Ne,Kt,En,gi,vt,zt);let ri=0;if(yn.forEach(Ui=>{ri=Math.max(Ui.duration+Ui.delay,ri)}),zt.length)return Zi(D,this._triggerName,A,ee,vn,Kt,En,[],[],Qn,oi,ri,zt);yn.forEach(Ui=>{const tr=Ui.element,xs=Me(Qn,tr,{});Ui.preStyleProps.forEach(zi=>xs[zi]=!0);const Qr=Me(oi,tr,{});Ui.postStyleProps.forEach(zi=>Qr[zi]=!0),tr!==D&&Fn.add(tr)});const Hi=ct(Fn.values());return Zi(D,this._triggerName,A,ee,vn,Kt,En,yn,Hi,Qn,oi,ri)}}class fr{constructor(E,D,A){this.styles=E,this.defaultParams=D,this.normalizer=A}buildStyles(E,D){const A={},ee=W(this.defaultParams);return Object.keys(E).forEach(be=>{const Ne=E[be];null!=Ne&&(ee[be]=Ne)}),this.styles.styles.forEach(be=>{if("string"!=typeof be){const Ne=be;Object.keys(Ne).forEach(Be=>{let nt=Ne[Be];nt.length>1&&(nt=ke(nt,ee,D));const vt=this.normalizer.normalizePropertyName(Be,D);nt=this.normalizer.normalizeStyleValue(Be,vt,nt,D),A[vt]=nt})}}),A}}class Zn{constructor(E,D,A){this.name=E,this.ast=D,this._normalizer=A,this.transitionFactories=[],this.states={},D.states.forEach(ee=>{this.states[ee.name]=new fr(ee.style,ee.options&&ee.options.params||{},A)}),Ci(this.states,"true","1"),Ci(this.states,"false","0"),D.transitions.forEach(ee=>{this.transitionFactories.push(new bi(E,ee,this.states))}),this.fallbackTransition=function ji(K,E,D){return new bi(K,{type:1,animation:{type:2,steps:[],options:null},matchers:[(Ne,Be)=>!0],options:null,queryCount:0,depCount:0},E)}(E,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(E,D,A,ee){return this.transitionFactories.find(Ne=>Ne.match(E,D,A,ee))||null}matchStyles(E,D,A){return this.fallbackTransition.buildStyles(E,D,A)}}function Ci(K,E,D){K.hasOwnProperty(E)?K.hasOwnProperty(D)||(K[D]=K[E]):K.hasOwnProperty(D)&&(K[E]=K[D])}const Oi=new ai;class hr{constructor(E,D,A){this.bodyNode=E,this._driver=D,this._normalizer=A,this._animations={},this._playersById={},this.players=[]}register(E,D){const A=[],be=_n(this._driver,D,A,[]);if(A.length)throw function ce(K){return new n.\u0275RuntimeError(3503,d)}();this._animations[E]=be}_buildPlayer(E,D,A){const ee=E.element,be=ye(0,this._normalizer,0,E.keyframes,D,A);return this._driver.animate(ee,be,E.duration,E.delay,E.easing,[],!0)}create(E,D,A={}){const ee=[],be=this._animations[E];let Ne;const Be=new Map;if(be?(Ne=Bn(this._driver,D,be,ze,lt,{},{},A,Oi,ee),Ne.forEach(kt=>{const zt=Me(Be,kt.element,{});kt.postStyleProps.forEach(Jt=>zt[Jt]=null)})):(ee.push(function de(){return new n.\u0275RuntimeError(3300,d)}()),Ne=[]),ee.length)throw function _e(K){return new n.\u0275RuntimeError(3504,d)}();Be.forEach((kt,zt)=>{Object.keys(kt).forEach(Jt=>{kt[Jt]=this._driver.computeStyle(zt,Jt,y.l3)})});const vt=pt(Ne.map(kt=>{const zt=Be.get(kt.element);return this._buildPlayer(kt,{},zt)}));return this._playersById[E]=vt,vt.onDestroy(()=>this.destroy(E)),this.players.push(vt),vt}destroy(E){const D=this._getPlayer(E);D.destroy(),delete this._playersById[E];const A=this.players.indexOf(D);A>=0&&this.players.splice(A,1)}_getPlayer(E){const D=this._playersById[E];if(!D)throw function et(K){return new n.\u0275RuntimeError(3301,d)}();return D}listen(E,D,A,ee){const be=ne(D,"","","");return Se(this._getPlayer(E),A,be,ee),()=>{}}command(E,D,A,ee){if("register"==A)return void this.register(E,ee[0]);if("create"==A)return void this.create(E,D,ee[0]||{});const be=this._getPlayer(E);switch(A){case"play":be.play();break;case"pause":be.pause();break;case"reset":be.reset();break;case"restart":be.restart();break;case"finish":be.finish();break;case"init":be.init();break;case"setPosition":be.setPosition(parseFloat(ee[0]));break;case"destroy":this.destroy(E)}}}const Lr="ng-animate-queued",Ei="ng-animate-disabled",Pn=[],Vi={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},qi={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Vn="__ng_removed";class Pi{constructor(E,D=""){this.namespaceId=D;const A=E&&E.hasOwnProperty("value");if(this.value=function F(K){return null!=K?K:null}(A?E.value:E),A){const be=W(E);delete be.value,this.options=be}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(E){const D=E.params;if(D){const A=this.options.params;Object.keys(D).forEach(ee=>{null==A[ee]&&(A[ee]=D[ee])})}}}const ti="void",ni=new Pi(ti);class Wn{constructor(E,D,A){this.id=E,this.hostElement=D,this._engine=A,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+E,yt(D,this._hostClassName)}listen(E,D,A,ee){if(!this._triggers.hasOwnProperty(D))throw function dt(K,E){return new n.\u0275RuntimeError(3302,d)}();if(null==A||0==A.length)throw function it(K){return new n.\u0275RuntimeError(3303,d)}();if(!function x(K){return"start"==K||"done"==K}(A))throw function st(K,E){return new n.\u0275RuntimeError(3400,d)}();const be=Me(this._elementListeners,E,[]),Ne={name:D,phase:A,callback:ee};be.push(Ne);const Be=Me(this._engine.statesByElement,E,{});return Be.hasOwnProperty(D)||(yt(E,Tt),yt(E,Tt+"-"+D),Be[D]=ni),()=>{this._engine.afterFlush(()=>{const nt=be.indexOf(Ne);nt>=0&&be.splice(nt,1),this._triggers[D]||delete Be[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,A,ee=!0){const be=this._getTrigger(D),Ne=new jr(this.id,D,E);let Be=this._engine.statesByElement.get(E);Be||(yt(E,Tt),yt(E,Tt+"-"+D),this._engine.statesByElement.set(E,Be={}));let nt=Be[D];const vt=new Pi(A,this.id);if(!(A&&A.hasOwnProperty("value"))&&nt&&vt.absorbOptions(nt.options),Be[D]=vt,nt||(nt=ni),vt.value!==ti&&nt.value===vt.value){if(!function sn(K,E){const D=Object.keys(K),A=Object.keys(E);if(D.length!=A.length)return!1;for(let ee=0;ee<D.length;ee++){const be=D[ee];if(!E.hasOwnProperty(be)||K[be]!==E[be])return!1}return!0}(nt.params,vt.params)){const tn=[],En=be.matchStyles(nt.value,nt.params,tn),Fn=be.matchStyles(vt.value,vt.params,tn);tn.length?this._engine.reportError(tn):this._engine.afterFlush(()=>{ft(E,En),je(E,Fn)})}return}const Jt=Me(this._engine.playersByElement,E,[]);Jt.forEach(tn=>{tn.namespaceId==this.id&&tn.triggerName==D&&tn.queued&&tn.destroy()});let an=be.matchTransition(nt.value,vt.value,E,vt.params),Kt=!1;if(!an){if(!ee)return;an=be.fallbackTransition,Kt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:E,triggerName:D,transition:an,fromState:nt,toState:vt,player:Ne,isFallbackTransition:Kt}),Kt||(yt(E,Lr),Ne.onStart(()=>{Lt(E,Lr)})),Ne.onDone(()=>{let tn=this.players.indexOf(Ne);tn>=0&&this.players.splice(tn,1);const En=this._engine.playersByElement.get(E);if(En){let Fn=En.indexOf(Ne);Fn>=0&&En.splice(Fn,1)}}),this.players.push(Ne),Jt.push(Ne),Ne}deregister(E){delete this._triggers[E],this._engine.statesByElement.forEach((D,A)=>{delete D[E]}),this._elementListeners.forEach((D,A)=>{this._elementListeners.set(A,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(A=>A.destroy()),this._engine.playersByElement.delete(E))}_signalRemovalForInnerTriggers(E,D){const A=this._engine.driver.query(E,Ct,!0);A.forEach(ee=>{if(ee[Vn])return;const be=this._engine.fetchNamespacesByElement(ee);be.size?be.forEach(Ne=>Ne.triggerLeaveAnimation(ee,D,!1,!0)):this.clearElementCache(ee)}),this._engine.afterFlushAnimationsDone(()=>A.forEach(ee=>this.clearElementCache(ee)))}triggerLeaveAnimation(E,D,A,ee){const be=this._engine.statesByElement.get(E),Ne=new Map;if(be){const Be=[];if(Object.keys(be).forEach(nt=>{if(Ne.set(nt,be[nt].value),this._triggers[nt]){const vt=this.trigger(E,nt,ti,ee);vt&&Be.push(vt)}}),Be.length)return this._engine.markElementAsRemoved(this.id,E,!0,D,Ne),A&&pt(Be).onDone(()=>this._engine.processLeaveNode(E)),!0}return!1}prepareLeaveAnimationListeners(E){const D=this._elementListeners.get(E),A=this._engine.statesByElement.get(E);if(D&&A){const ee=new Set;D.forEach(be=>{const Ne=be.name;if(ee.has(Ne))return;ee.add(Ne);const nt=this._triggers[Ne].fallbackTransition,vt=A[Ne]||ni,kt=new Pi(ti),zt=new jr(this.id,Ne,E);this._engine.totalQueuedPlayers++,this._queue.push({element:E,triggerName:Ne,transition:nt,fromState:vt,toState:kt,player:zt,isFallbackTransition:!0})})}}removeNode(E,D){const A=this._engine;if(E.childElementCount&&this._signalRemovalForInnerTriggers(E,D),this.triggerLeaveAnimation(E,D,!0))return;let ee=!1;if(A.totalAnimations){const be=A.players.length?A.playersByQueriedElement.get(E):[];if(be&&be.length)ee=!0;else{let Ne=E;for(;Ne=Ne.parentNode;)if(A.statesByElement.get(Ne)){ee=!0;break}}}if(this.prepareLeaveAnimationListeners(E),ee)A.markElementAsRemoved(this.id,E,!1,D);else{const be=E[Vn];(!be||be===Vi)&&(A.afterFlush(()=>this.clearElementCache(E)),A.destroyInnerAnimations(E),A._onRemovalComplete(E,D))}}insertNode(E,D){yt(E,this._hostClassName)}drainQueuedTransitions(E){const D=[];return this._queue.forEach(A=>{const ee=A.player;if(ee.destroyed)return;const be=A.element,Ne=this._elementListeners.get(be);Ne&&Ne.forEach(Be=>{if(Be.name==A.triggerName){const nt=ne(be,A.triggerName,A.fromState.value,A.toState.value);nt._data=E,Se(A.player,Be.phase,nt,Be.callback)}}),ee.markedForDestroy?this._engine.afterFlush(()=>{ee.destroy()}):D.push(A)}),this._queue=[],D.sort((A,ee)=>{const be=A.transition.ast.depCount,Ne=ee.transition.ast.depCount;return 0==be||0==Ne?be-Ne:this._engine.driver.containsElement(A.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(A=>A.element===E)||D,D}}class Jn{constructor(E,D,A){this.bodyNode=E,this.driver=D,this._normalizer=A,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,be)=>{}}_onRemovalComplete(E,D){this.onRemovalComplete(E,D)}get queuedPlayers(){const E=[];return this._namespaceList.forEach(D=>{D.players.forEach(A=>{A.queued&&E.push(A)})}),E}createNamespace(E,D){const A=new Wn(E,D,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,D)?this._balanceNamespaceList(A,D):(this.newHostElements.set(D,A),this.collectEnterElement(D)),this._namespaceLookup[E]=A}_balanceNamespaceList(E,D){const A=this._namespaceList,ee=this.namespacesByHostElement,be=A.length-1;if(be>=0){let Ne=!1;if(void 0!==this.driver.getParentElement){let Be=this.driver.getParentElement(D);for(;Be;){const nt=ee.get(Be);if(nt){const vt=A.indexOf(nt);A.splice(vt+1,0,E),Ne=!0;break}Be=this.driver.getParentElement(Be)}}else for(let Be=be;Be>=0;Be--)if(this.driver.containsElement(A[Be].hostElement,D)){A.splice(Be+1,0,E),Ne=!0;break}Ne||A.unshift(E)}else A.push(E);return ee.set(D,E),E}register(E,D){let A=this._namespaceLookup[E];return A||(A=this.createNamespace(E,D)),A}registerTrigger(E,D,A){let ee=this._namespaceLookup[E];ee&&ee.register(D,A)&&this.totalAnimations++}destroy(E,D){if(!E)return;const A=this._fetchNamespace(E);this.afterFlush(()=>{this.namespacesByHostElement.delete(A.hostElement),delete this._namespaceLookup[E];const ee=this._namespaceList.indexOf(A);ee>=0&&this._namespaceList.splice(ee,1)}),this.afterFlushAnimationsDone(()=>A.destroy(D))}_fetchNamespace(E){return this._namespaceLookup[E]}fetchNamespacesByElement(E){const D=new Set,A=this.statesByElement.get(E);if(A){const ee=Object.keys(A);for(let be=0;be<ee.length;be++){const Ne=A[ee[be]].namespaceId;if(Ne){const Be=this._fetchNamespace(Ne);Be&&D.add(Be)}}}return D}trigger(E,D,A,ee){if(re(D)){const be=this._fetchNamespace(E);if(be)return be.trigger(D,A,ee),!0}return!1}insertNode(E,D,A,ee){if(!re(D))return;const be=D[Vn];if(be&&be.setForRemoval){be.setForRemoval=!1,be.setForMove=!0;const Ne=this.collectedLeaveElements.indexOf(D);Ne>=0&&this.collectedLeaveElements.splice(Ne,1)}if(E){const Ne=this._fetchNamespace(E);Ne&&Ne.insertNode(D,A)}ee&&this.collectEnterElement(D)}collectEnterElement(E){this.collectedEnterElements.push(E)}markElementAsDisabled(E,D){D?this.disabledNodes.has(E)||(this.disabledNodes.add(E),yt(E,Ei)):this.disabledNodes.has(E)&&(this.disabledNodes.delete(E),Lt(E,Ei))}removeNode(E,D,A,ee){if(re(D)){const be=E?this._fetchNamespace(E):null;if(be?be.removeNode(D,ee):this.markElementAsRemoved(E,D,!1,ee),A){const Ne=this.namespacesByHostElement.get(D);Ne&&Ne.id!==E&&Ne.removeNode(D,ee)}}else this._onRemovalComplete(D,ee)}markElementAsRemoved(E,D,A,ee,be){this.collectedLeaveElements.push(D),D[Vn]={namespaceId:E,setForRemoval:ee,hasAnimation:A,removedBeforeQueried:!1,previousTriggersValues:be}}listen(E,D,A,ee,be){return re(D)?this._fetchNamespace(E).listen(D,A,ee,be):()=>{}}_buildInstruction(E,D,A,ee,be){return E.transition.build(this.driver,E.element,E.fromState.value,E.toState.value,A,ee,E.fromState.options,E.toState.options,D,be)}destroyInnerAnimations(E){let D=this.driver.query(E,Ct,!0);D.forEach(A=>this.destroyActiveAnimationsForElement(A)),0!=this.playersByQueriedElement.size&&(D=this.driver.query(E,Mt,!0),D.forEach(A=>this.finishActiveQueriedAnimationOnElement(A)))}destroyActiveAnimationsForElement(E){const D=this.playersByElement.get(E);D&&D.forEach(A=>{A.queued?A.markedForDestroy=!0:A.destroy()})}finishActiveQueriedAnimationOnElement(E){const D=this.playersByQueriedElement.get(E);D&&D.forEach(A=>A.finish())}whenRenderingDone(){return new Promise(E=>{if(this.players.length)return pt(this.players).onDone(()=>E());E()})}processLeaveNode(E){var D;const A=E[Vn];if(A&&A.setForRemoval){if(E[Vn]=Vi,A.namespaceId){this.destroyInnerAnimations(E);const ee=this._fetchNamespace(A.namespaceId);ee&&ee.clearElementCache(E)}this._onRemovalComplete(E,A.setForRemoval)}(null===(D=E.classList)||void 0===D?void 0:D.contains(Ei))&&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((A,ee)=>this._balanceNamespaceList(A,ee)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let A=0;A<this.collectedEnterElements.length;A++)yt(this.collectedEnterElements[A],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const A=[];try{D=this._flushAnimations(A,E)}finally{for(let ee=0;ee<A.length;ee++)A[ee]()}}else for(let A=0;A<this.collectedLeaveElements.length;A++)this.processLeaveNode(this.collectedLeaveElements[A]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(A=>A()),this._flushFns=[],this._whenQuietFns.length){const A=this._whenQuietFns;this._whenQuietFns=[],D.length?pt(D).onDone(()=>{A.forEach(ee=>ee())}):A.forEach(ee=>ee())}}reportError(E){throw function ht(K){return new n.\u0275RuntimeError(3402,d)}()}_flushAnimations(E,D){const A=new ai,ee=[],be=new Map,Ne=[],Be=new Map,nt=new Map,vt=new Map,kt=new Set;this.disabledNodes.forEach(Bt=>{kt.add(Bt);const Wt=this.driver.query(Bt,".ng-animate-queued",!0);for(let Zt=0;Zt<Wt.length;Zt++)kt.add(Wt[Zt])});const zt=this.bodyNode,Jt=Array.from(this.statesByElement.keys()),an=ut(Jt,this.collectedEnterElements),Kt=new Map;let tn=0;an.forEach((Bt,Wt)=>{const Zt=ze+tn++;Kt.set(Wt,Zt),Bt.forEach(on=>yt(on,Zt))});const En=[],Fn=new Set,Qn=new Set;for(let Bt=0;Bt<this.collectedLeaveElements.length;Bt++){const Wt=this.collectedLeaveElements[Bt],Zt=Wt[Vn];Zt&&Zt.setForRemoval&&(En.push(Wt),Fn.add(Wt),Zt.hasAnimation?this.driver.query(Wt,".ng-star-inserted",!0).forEach(on=>Fn.add(on)):Qn.add(Wt))}const oi=new Map,vn=ut(Jt,Array.from(Fn));vn.forEach((Bt,Wt)=>{const Zt=lt+tn++;oi.set(Wt,Zt),Bt.forEach(on=>yt(on,Zt))}),E.push(()=>{an.forEach((Bt,Wt)=>{const Zt=Kt.get(Wt);Bt.forEach(on=>Lt(on,Zt))}),vn.forEach((Bt,Wt)=>{const Zt=oi.get(Wt);Bt.forEach(on=>Lt(on,Zt))}),En.forEach(Bt=>{this.processLeaveNode(Bt)})});const gi=[],yn=[];for(let Bt=this._namespaceList.length-1;Bt>=0;Bt--)this._namespaceList[Bt].drainQueuedTransitions(D).forEach(Zt=>{const on=Zt.player,kn=Zt.element;if(gi.push(on),this.collectedEnterElements.length){const ci=kn[Vn];if(ci&&ci.setForMove){if(ci.previousTriggersValues&&ci.previousTriggersValues.has(Zt.triggerName)){const Br=ci.previousTriggersValues.get(Zt.triggerName),Ai=this.statesByElement.get(Zt.element);Ai&&Ai[Zt.triggerName]&&(Ai[Zt.triggerName].value=Br)}return void on.destroy()}}const Wi=!zt||!this.driver.containsElement(zt,kn),vi=oi.get(kn),Ti=Kt.get(kn),In=this._buildInstruction(Zt,A,Ti,vi,Wi);if(In.errors&&In.errors.length)return void yn.push(In);if(Wi)return on.onStart(()=>ft(kn,In.fromStyles)),on.onDestroy(()=>je(kn,In.toStyles)),void ee.push(on);if(Zt.isFallbackTransition)return on.onStart(()=>ft(kn,In.fromStyles)),on.onDestroy(()=>je(kn,In.toStyles)),void ee.push(on);const Fs=[];In.timelines.forEach(ci=>{ci.stretchStartingKeyframe=!0,this.disabledNodes.has(ci.element)||Fs.push(ci)}),In.timelines=Fs,A.append(kn,In.timelines),Ne.push({instruction:In,player:on,element:kn}),In.queriedElements.forEach(ci=>Me(Be,ci,[]).push(on)),In.preStyleProps.forEach((ci,Br)=>{const Ai=Object.keys(ci);if(Ai.length){let pr=nt.get(Br);pr||nt.set(Br,pr=new Set),Ai.forEach(Jr=>pr.add(Jr))}}),In.postStyleProps.forEach((ci,Br)=>{const Ai=Object.keys(ci);let pr=vt.get(Br);pr||vt.set(Br,pr=new Set),Ai.forEach(Jr=>pr.add(Jr))})});if(yn.length){const Bt=[];yn.forEach(Wt=>{Bt.push(function qe(K,E){return new n.\u0275RuntimeError(3505,d)}())}),gi.forEach(Wt=>Wt.destroy()),this.reportError(Bt)}const ri=new Map,Hi=new Map;Ne.forEach(Bt=>{const Wt=Bt.element;A.has(Wt)&&(Hi.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 Ui=En.filter(Bt=>xn(Bt,nt,vt)),tr=new Map;$e(tr,this.driver,Qn,vt,y.l3).forEach(Bt=>{xn(Bt,nt,vt)&&Ui.push(Bt)});const Qr=new Map;an.forEach((Bt,Wt)=>{$e(Qr,this.driver,new Set(Bt),nt,y.k1)}),Ui.forEach(Bt=>{const Wt=tr.get(Bt),Zt=Qr.get(Bt);tr.set(Bt,Object.assign(Object.assign({},Wt),Zt))});const zi=[],Yr=[],Zr={};Ne.forEach(Bt=>{const{element:Wt,player:Zt,instruction:on}=Bt;if(A.has(Wt)){if(kt.has(Wt))return Zt.onDestroy(()=>je(Wt,on.toStyles)),Zt.disabled=!0,Zt.overrideTotalTime(on.totalTime),void ee.push(Zt);let kn=Zr;if(Hi.size>1){let vi=Wt;const Ti=[];for(;vi=vi.parentNode;){const In=Hi.get(vi);if(In){kn=In;break}Ti.push(vi)}Ti.forEach(In=>Hi.set(In,kn))}const Wi=this._buildAnimation(Zt.namespaceId,on,ri,be,Qr,tr);if(Zt.setRealPlayer(Wi),kn===Zr)zi.push(Zt);else{const vi=this.playersByElement.get(kn);vi&&vi.length&&(Zt.parentPlayer=pt(vi)),ee.push(Zt)}}else ft(Wt,on.fromStyles),Zt.onDestroy(()=>je(Wt,on.toStyles)),Yr.push(Zt),kt.has(Wt)&&ee.push(Zt)}),Yr.forEach(Bt=>{const Wt=be.get(Bt.element);if(Wt&&Wt.length){const Zt=pt(Wt);Bt.setRealPlayer(Zt)}}),ee.forEach(Bt=>{Bt.parentPlayer?Bt.syncPlayerEvents(Bt.parentPlayer):Bt.destroy()});for(let Bt=0;Bt<En.length;Bt++){const Wt=En[Bt],Zt=Wt[Vn];if(Lt(Wt,lt),Zt&&Zt.hasAnimation)continue;let on=[];if(Be.size){let Wi=Be.get(Wt);Wi&&Wi.length&&on.push(...Wi);let vi=this.driver.query(Wt,Mt,!0);for(let Ti=0;Ti<vi.length;Ti++){let In=Be.get(vi[Ti]);In&&In.length&&on.push(...In)}}const kn=on.filter(Wi=>!Wi.destroyed);kn.length?Cn(this,Wt,kn):this.processLeaveNode(Wt)}return En.length=0,zi.forEach(Bt=>{this.players.push(Bt),Bt.onDone(()=>{Bt.destroy();const Wt=this.players.indexOf(Bt);this.players.splice(Wt,1)}),Bt.play()}),zi}elementContainsData(E,D){let A=!1;const ee=D[Vn];return ee&&ee.setForRemoval&&(A=!0),this.playersByElement.has(D)&&(A=!0),this.playersByQueriedElement.has(D)&&(A=!0),this.statesByElement.has(D)&&(A=!0),this._fetchNamespace(E).elementContainsData(D)||A}afterFlush(E){this._flushFns.push(E)}afterFlushAnimationsDone(E){this._whenQuietFns.push(E)}_getPreviousPlayers(E,D,A,ee,be){let Ne=[];if(D){const Be=this.playersByQueriedElement.get(E);Be&&(Ne=Be)}else{const Be=this.playersByElement.get(E);if(Be){const nt=!be||be==ti;Be.forEach(vt=>{vt.queued||!nt&&vt.triggerName!=ee||Ne.push(vt)})}}return(A||ee)&&(Ne=Ne.filter(Be=>!(A&&A!=Be.namespaceId||ee&&ee!=Be.triggerName))),Ne}_beforeAnimationBuild(E,D,A){const be=D.element,Ne=D.isRemovalTransition?void 0:E,Be=D.isRemovalTransition?void 0:D.triggerName;for(const nt of D.timelines){const vt=nt.element,kt=vt!==be,zt=Me(A,vt,[]);this._getPreviousPlayers(vt,kt,Ne,Be,D.toState).forEach(an=>{const Kt=an.getRealPlayer();Kt.beforeDestroy&&Kt.beforeDestroy(),an.destroy(),zt.push(an)})}ft(be,D.fromStyles)}_buildAnimation(E,D,A,ee,be,Ne){const Be=D.triggerName,nt=D.element,vt=[],kt=new Set,zt=new Set,Jt=D.timelines.map(Kt=>{const tn=Kt.element;kt.add(tn);const En=tn[Vn];if(En&&En.removedBeforeQueried)return new y.ZN(Kt.duration,Kt.delay);const Fn=tn!==nt,Qn=function cn(K){const E=[];return rn(K,E),E}((A.get(tn)||Pn).map(ri=>ri.getRealPlayer())).filter(ri=>!!ri.element&&ri.element===tn),oi=be.get(tn),vn=Ne.get(tn),gi=ye(0,this._normalizer,0,Kt.keyframes,oi,vn),yn=this._buildPlayer(Kt,gi,Qn);if(Kt.subTimeline&&ee&&zt.add(tn),Fn){const ri=new jr(E,Be,tn);ri.setRealPlayer(yn),vt.push(ri)}return yn});vt.forEach(Kt=>{Me(this.playersByQueriedElement,Kt.element,[]).push(Kt),Kt.onDone(()=>function Tn(K,E,D){let A;if(K instanceof Map){if(A=K.get(E),A){if(A.length){const ee=A.indexOf(D);A.splice(ee,1)}0==A.length&&K.delete(E)}}else if(A=K[E],A){if(A.length){const ee=A.indexOf(D);A.splice(ee,1)}0==A.length&&delete K[E]}return A}(this.playersByQueriedElement,Kt.element,Kt))}),kt.forEach(Kt=>yt(Kt,$t));const an=pt(Jt);return an.onDestroy(()=>{kt.forEach(Kt=>Lt(Kt,$t)),je(nt,D.toStyles)}),zt.forEach(Kt=>{Me(ee,Kt,[]).push(an)}),an}_buildPlayer(E,D,A){return D.length>0?this.driver.animate(E.element,D,E.duration,E.delay,E.easing,A):new y.ZN(E.duration,E.delay)}}class jr{constructor(E,D,A){this.namespaceId=E,this.triggerName=D,this.element=A,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(A=>Se(E,D,void 0,A))}),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 pe(K,E){const D=K.style.display;return K.style.display=null!=E?E:"none",D}function $e(K,E,D,A,ee){const be=[];D.forEach(nt=>be.push(pe(nt)));const Ne=[];A.forEach((nt,vt)=>{const kt={};nt.forEach(zt=>{const Jt=kt[zt]=E.computeStyle(vt,zt,ee);(!Jt||0==Jt.length)&&(vt[Vn]=qi,Ne.push(vt))}),K.set(vt,kt)});let Be=0;return D.forEach(nt=>pe(nt,be[Be++])),Ne}function ut(K,E){const D=new Map;if(K.forEach(Be=>D.set(Be,[])),0==E.length)return D;const ee=new Set(E),be=new Map;function Ne(Be){if(!Be)return 1;let nt=be.get(Be);if(nt)return nt;const vt=Be.parentNode;return nt=D.has(vt)?vt:ee.has(vt)?1:Ne(vt),be.set(Be,nt),nt}return E.forEach(Be=>{const nt=Ne(Be);1!==nt&&D.get(nt).push(Be)}),D}function yt(K,E){var D;null===(D=K.classList)||void 0===D||D.add(E)}function Lt(K,E){var D;null===(D=K.classList)||void 0===D||D.remove(E)}function Cn(K,E,D){pt(D).onDone(()=>K.processLeaveNode(E))}function rn(K,E){for(let D=0;D<K.length;D++){const A=K[D];A instanceof y.ZE?rn(A.players,E):E.push(A)}}function xn(K,E,D){const A=D.get(K);if(!A)return!1;let ee=E.get(K);return ee?A.forEach(be=>ee.add(be)):E.set(K,A),D.delete(K),!0}class bn{constructor(E,D,A){this.bodyNode=E,this._driver=D,this._normalizer=A,this._triggerCache={},this.onRemovalComplete=(ee,be)=>{},this._transitionEngine=new Jn(E,D,A),this._timelineEngine=new hr(E,D,A),this._transitionEngine.onRemovalComplete=(ee,be)=>this.onRemovalComplete(ee,be)}registerTrigger(E,D,A,ee,be){const Ne=E+"-"+ee;let Be=this._triggerCache[Ne];if(!Be){const nt=[],kt=_n(this._driver,be,nt,[]);if(nt.length)throw function ue(K,E){return new n.\u0275RuntimeError(3404,d)}();Be=function Mr(K,E,D){return new Zn(K,E,D)}(ee,kt,this._normalizer),this._triggerCache[Ne]=Be}this._transitionEngine.registerTrigger(D,ee,Be)}register(E,D){this._transitionEngine.register(E,D)}destroy(E,D){this._transitionEngine.destroy(E,D)}onInsert(E,D,A,ee){this._transitionEngine.insertNode(E,D,A,ee)}onRemove(E,D,A,ee){this._transitionEngine.removeNode(E,D,ee||!1,A)}disableAnimations(E,D){this._transitionEngine.markElementAsDisabled(E,D)}process(E,D,A,ee){if("@"==A.charAt(0)){const[be,Ne]=Ue(A);this._timelineEngine.command(be,D,Ne,ee)}else this._transitionEngine.trigger(E,D,A,ee)}listen(E,D,A,ee,be){if("@"==A.charAt(0)){const[Ne,Be]=Ue(A);return this._timelineEngine.listen(Ne,D,Be,be)}return this._transitionEngine.listen(E,D,A,ee,be)}flush(E=-1){this._transitionEngine.flush(E)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let B=(()=>{class K{constructor(D,A,ee){this._element=D,this._startStyles=A,this._endStyles=ee,this._state=0;let be=K.initialStylesByElement.get(D);be||K.initialStylesByElement.set(D,be={}),this._initialStyles=be}start(){this._state<1&&(this._startStyles&&je(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(je(this._element,this._initialStyles),this._endStyles&&(je(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(K.initialStylesByElement.delete(this._element),this._startStyles&&(ft(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ft(this._element,this._endStyles),this._endStyles=null),je(this._element,this._initialStyles),this._state=3)}}return K.initialStylesByElement=new WeakMap,K})();function R(K){let E=null;const D=Object.keys(K);for(let A=0;A<D.length;A++){const ee=D[A];M(ee)&&(E=E||{},E[ee]=K[ee])}return E}function M(K){return"display"===K||"position"===K}class se{constructor(E,D,A,ee){this.element=E,this.keyframes=D,this.options=A,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=A.duration,this._delay=A.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,A){return E.animate(D,A)}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(A=>{"offset"!=A&&(E[A]=this._finished?D[A]:An(this.element,A))})}this.currentSnapshot=E}triggerCallback(E){const D="start"==E?this._onStartFns:this._onDoneFns;D.forEach(A=>A()),D.length=0}}class mt{validateStyleProperty(E){return Et(E)}matchesElement(E,D){return!1}containsElement(E,D){return He(E,D)}getParentElement(E){return ve(E)}query(E,D,A){return Te(E,D,A)}computeStyle(E,D,A){return window.getComputedStyle(E)[D]}animate(E,D,A,ee,be,Ne=[]){const nt={duration:A,delay:ee,fill:0==ee?"both":"forwards"};be&&(nt.easing=be);const vt={},kt=Ne.filter(Jt=>Jt instanceof se);(function gn(K,E){return 0===K||0===E})(A,ee)&&kt.forEach(Jt=>{let an=Jt.currentSnapshot;Object.keys(an).forEach(Kt=>vt[Kt]=an[Kt])}),D=function Nn(K,E,D){const A=Object.keys(D);if(A.length&&E.length){let be=E[0],Ne=[];if(A.forEach(Be=>{be.hasOwnProperty(Be)||Ne.push(Be),be[Be]=D[Be]}),Ne.length)for(var ee=1;ee<E.length;ee++){let Be=E[ee];Ne.forEach(function(nt){Be[nt]=An(K,nt)})}}return E}(E,D=D.map(Jt=>z(Jt,!1)),vt);const zt=function On(K,E){let D=null,A=null;return Array.isArray(E)&&E.length?(D=R(E[0]),E.length>1&&(A=R(E[E.length-1]))):E&&(D=R(E)),D||A?new B(K,D,A):null}(E,D);return new se(E,D,nt,zt)}}var Nt=a(9808);let Sn=(()=>{class K extends y._j{constructor(D,A){super(),this._nextAnimationId=0,this._renderer=D.createRenderer(A.body,{id:"0",encapsulation:n.ViewEncapsulation.None,styles:[],data:{animation:[]}})}build(D){const A=this._nextAnimationId.toString();this._nextAnimationId++;const ee=Array.isArray(D)?(0,y.vP)(D):D;return Or(this._renderer,null,A,"register",[ee]),new li(A,this._renderer)}}return K.\u0275fac=function(D){return new(D||K)(n.\u0275\u0275inject(n.RendererFactory2),n.\u0275\u0275inject(Nt.DOCUMENT))},K.\u0275prov=n.\u0275\u0275defineInjectable({token:K,factory:K.\u0275fac}),K})();class li extends y.LC{constructor(E,D){super(),this._id=E,this._renderer=D}create(E,D){return new Sr(this._id,E,D||{},this._renderer)}}class Sr{constructor(E,D,A,ee){this.id=E,this.element=D,this._renderer=ee,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",A)}_listen(E,D){return this._renderer.listen(this.element,`@@${this.id}:${E}`,D)}_command(E,...D){return Or(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 Or(K,E,D,A,ee){return K.setProperty(E,`@@${D}:${A}`,ee)}const un="@.disabled";let Ko=(()=>{class K{constructor(D,A,ee){this.delegate=D,this.engine=A,this._zone=ee,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),A.onRemovalComplete=(be,Ne)=>{const Be=null==Ne?void 0:Ne.parentNode(be);Be&&Ne.removeChild(Be,be)}}createRenderer(D,A){const be=this.delegate.createRenderer(D,A);if(!(D&&A&&A.data&&A.data.animation)){let kt=this._rendererCache.get(be);return kt||(kt=new $n("",be,this.engine),this._rendererCache.set(be,kt)),kt}const Ne=A.id,Be=A.id+"-"+this._currentId;this._currentId++,this.engine.register(Be,D);const nt=kt=>{Array.isArray(kt)?kt.forEach(nt):this.engine.registerTrigger(Ne,Be,D,kt.name,kt)};return A.data.animation.forEach(nt),new Qo(this,Be,be,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(D,A,ee){D>=0&&D<this._microtaskId?this._zone.run(()=>A(ee)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(be=>{const[Ne,Be]=be;Ne(Be)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([A,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(bn),n.\u0275\u0275inject(n.NgZone))},K.\u0275prov=n.\u0275\u0275defineInjectable({token:K,factory:K.\u0275fac}),K})();class $n{constructor(E,D,A){this.namespaceId=E,this.delegate=D,this.engine=A,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,A,ee=!0){this.delegate.insertBefore(E,D,A),this.engine.onInsert(this.namespaceId,D,E,ee)}removeChild(E,D,A){this.engine.onRemove(this.namespaceId,D,this.delegate,A)}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,A,ee){this.delegate.setAttribute(E,D,A,ee)}removeAttribute(E,D,A){this.delegate.removeAttribute(E,D,A)}addClass(E,D){this.delegate.addClass(E,D)}removeClass(E,D){this.delegate.removeClass(E,D)}setStyle(E,D,A,ee){this.delegate.setStyle(E,D,A,ee)}removeStyle(E,D,A){this.delegate.removeStyle(E,D,A)}setProperty(E,D,A){"@"==D.charAt(0)&&D==un?this.disableAnimations(E,!!A):this.delegate.setProperty(E,D,A)}setValue(E,D){this.delegate.setValue(E,D)}listen(E,D,A){return this.delegate.listen(E,D,A)}disableAnimations(E,D){this.engine.disableAnimations(E,D)}}class Qo extends $n{constructor(E,D,A,ee){super(D,A,ee),this.factory=E,this.namespaceId=D}setProperty(E,D,A){"@"==D.charAt(0)?"."==D.charAt(1)&&D==un?this.disableAnimations(E,A=void 0===A||!!A):this.engine.process(this.namespaceId,E,D.substr(1),A):this.delegate.setProperty(E,D,A)}listen(E,D,A){if("@"==D.charAt(0)){const ee=function Wr(K){switch(K){case"body":return document.body;case"document":return document;case"window":return window;default:return K}}(E);let be=D.substr(1),Ne="";return"@"!=be.charAt(0)&&([be,Ne]=function $i(K){const E=K.indexOf(".");return[K.substring(0,E),K.substr(E+1)]}(be)),this.engine.listen(this.namespaceId,ee,be,Ne,Be=>{this.factory.scheduleListenerCallback(Be._data||-1,A,Be)})}return this.delegate.listen(E,D,A)}}let oo=(()=>{class K extends bn{constructor(D,A,ee){super(D.body,A,ee)}ngOnDestroy(){this.flush()}}return K.\u0275fac=function(D){return new(D||K)(n.\u0275\u0275inject(Nt.DOCUMENT),n.\u0275\u0275inject(Xe),n.\u0275\u0275inject(_i))},K.\u0275prov=n.\u0275\u0275defineInjectable({token:K,factory:K.\u0275fac}),K})();const Zo=new n.InjectionToken("AnimationModuleType"),Gr=[{provide:y._j,useClass:Sn},{provide:_i,useFactory:function Yo(){return new Ni}},{provide:bn,useClass:oo},{provide:n.RendererFactory2,useFactory:function Gu(K,E,D){return new Ko(K,E,D)},deps:[h.\u0275DomRendererFactory2,bn,n.NgZone]}],Kr=[{provide:Xe,useFactory:()=>new mt},{provide:Zo,useValue:"BrowserAnimations"},...Gr],ii=[{provide:Xe,useClass:Ye},{provide:Zo,useValue:"NoopAnimations"},...Gr];let er=(()=>{class K{static withConfig(D){return{ngModule:K,providers:D.disableAnimations?ii:Kr}}}return K.\u0275fac=function(D){return new(D||K)},K.\u0275mod=n.\u0275\u0275defineNgModule({type:K}),K.\u0275inj=n.\u0275\u0275defineInjector({providers:Kr,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,o,a)=>{"use strict";a.r(o),a.d(o,{BrowserModule:()=>Ke,BrowserTransferStateModule:()=>Mt,By:()=>Ht,DomSanitizer:()=>he,EVENT_MANAGER_PLUGINS:()=>T,EventManager:()=>S,HAMMER_GESTURE_CONFIG:()=>k,HAMMER_LOADER:()=>W,HammerGestureConfig:()=>Y,HammerModule:()=>N,Meta:()=>L,Title:()=>Je,TransferState:()=>Ct,VERSION:()=>Ft,disableDebugTools:()=>Oe,enableDebugTools:()=>wt,makeStateKey:()=>Tt,platformBrowser:()=>Me,\u0275BrowserDomAdapter:()=>d,\u0275BrowserGetTestability:()=>v,\u0275DomEventsPlugin:()=>st,\u0275DomRendererFactory2:()=>ce,\u0275DomSanitizerImpl:()=>ft,\u0275DomSharedStylesHost:()=>V,\u0275HammerGesturesPlugin:()=>z,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>ne,\u0275KeyEventsPlugin:()=>Ge,\u0275NAMESPACE_URIS:()=>Z,\u0275SharedStylesHost:()=>I,\u0275TRANSITION_ID:()=>m,\u0275escapeHtml:()=>ze,\u0275flattenStyles:()=>Q,\u0275getDOM:()=>n.\u0275getDOM,\u0275initDomAdapter:()=>ye,\u0275shimContentAttribute:()=>De,\u0275shimHostAttribute:()=>We});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(Ae,ge,ke){return Ae.addEventListener(ge,ke,!1),()=>{Ae.removeEventListener(ge,ke,!1)}}dispatchEvent(Ae,ge){Ae.dispatchEvent(ge)}remove(Ae){Ae.parentNode&&Ae.parentNode.removeChild(Ae)}createElement(Ae,ge){return(ge=ge||this.getDefaultDocument()).createElement(Ae)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Ae){return Ae.nodeType===Node.ELEMENT_NODE}isShadowRoot(Ae){return Ae instanceof DocumentFragment}getGlobalEventTarget(Ae,ge){return"window"===ge?window:"document"===ge?Ae:"body"===ge?Ae.body:null}getBaseHref(Ae){const ge=function l(){return r=r||document.querySelector("base"),r?r.getAttribute("href"):null}();return null==ge?null:function p(Ie){f=f||document.createElement("a"),f.setAttribute("href",Ie);const Ae=f.pathname;return"/"===Ae.charAt(0)?Ae:`/${Ae}`}(ge)}resetBaseElement(){r=null}getUserAgent(){return window.navigator.userAgent}getCookie(Ae){return(0,n.\u0275parseCookieValue)(document.cookie,Ae)}}let f,r=null;const m=new h.InjectionToken("TRANSITION_ID"),_=[{provide:h.APP_INITIALIZER,useFactory:function u(Ie,Ae,ge){return()=>{ge.get(h.ApplicationInitStatus).donePromise.then(()=>{const ke=(0,n.\u0275getDOM)(),ct=Ae.querySelectorAll(`style[ng-transition="${Ie}"]`);for(let xt=0;xt<ct.length;xt++)ke.remove(ct[xt])})}},deps:[m,n.DOCUMENT,h.Injector],multi:!0}];class v{static init(){(0,h.setTestabilityGetter)(new v)}addToWindow(Ae){h.\u0275global.getAngularTestability=(ke,ct=!0)=>{const xt=Ae.findTestabilityInTree(ke,ct);if(null==xt)throw new Error("Could not find testability for element.");return xt},h.\u0275global.getAllAngularTestabilities=()=>Ae.getAllTestabilities(),h.\u0275global.getAllAngularRootElements=()=>Ae.getAllRootElements(),h.\u0275global.frameworkStabilizers||(h.\u0275global.frameworkStabilizers=[]),h.\u0275global.frameworkStabilizers.push(ke=>{const ct=h.\u0275global.getAllAngularTestabilities();let xt=ct.length,jt=!1;const qt=function(gn){jt=jt||gn,xt--,0==xt&&ke(jt)};ct.forEach(function(gn){gn.whenStable(qt)})})}findTestabilityInTree(Ae,ge,ke){if(null==ge)return null;const ct=Ae.getTestability(ge);return null!=ct?ct:ke?(0,n.\u0275getDOM)().isShadowRoot(ge)?this.findTestabilityInTree(Ae,ge.host,!0):this.findTestabilityInTree(Ae,ge.parentElement,!0):null}}let b=(()=>{class Ie{build(){return new XMLHttpRequest}}return Ie.\u0275fac=function(ge){return new(ge||Ie)},Ie.\u0275prov=h.\u0275\u0275defineInjectable({token:Ie,factory:Ie.\u0275fac}),Ie})();const T=new h.InjectionToken("EventManagerPlugins");let S=(()=>{class Ie{constructor(ge,ke){this._zone=ke,this._eventNameToPlugin=new Map,ge.forEach(ct=>ct.manager=this),this._plugins=ge.slice().reverse()}addEventListener(ge,ke,ct){return this._findPluginFor(ke).addEventListener(ge,ke,ct)}addGlobalEventListener(ge,ke,ct){return this._findPluginFor(ke).addGlobalEventListener(ge,ke,ct)}getZone(){return this._zone}_findPluginFor(ge){const ke=this._eventNameToPlugin.get(ge);if(ke)return ke;const ct=this._plugins;for(let xt=0;xt<ct.length;xt++){const jt=ct[xt];if(jt.supports(ge))return this._eventNameToPlugin.set(ge,jt),jt}throw new Error(`No event manager plugin found for event ${ge}`)}}return Ie.\u0275fac=function(ge){return new(ge||Ie)(h.\u0275\u0275inject(T),h.\u0275\u0275inject(h.NgZone))},Ie.\u0275prov=h.\u0275\u0275defineInjectable({token:Ie,factory:Ie.\u0275fac}),Ie})();class P{constructor(Ae){this._doc=Ae}addGlobalEventListener(Ae,ge,ke){const ct=(0,n.\u0275getDOM)().getGlobalEventTarget(this._doc,Ae);if(!ct)throw new Error(`Unsupported event target ${ct} for event ${ge}`);return this.addEventListener(ct,ge,ke)}}let I=(()=>{class Ie{constructor(){this._stylesSet=new Set}addStyles(ge){const ke=new Set;ge.forEach(ct=>{this._stylesSet.has(ct)||(this._stylesSet.add(ct),ke.add(ct))}),this.onStylesAdded(ke)}onStylesAdded(ge){}getAllStyles(){return Array.from(this._stylesSet)}}return Ie.\u0275fac=function(ge){return new(ge||Ie)},Ie.\u0275prov=h.\u0275\u0275defineInjectable({token:Ie,factory:Ie.\u0275fac}),Ie})(),V=(()=>{class Ie extends I{constructor(ge){super(),this._doc=ge,this._hostNodes=new Map,this._hostNodes.set(ge.head,[])}_addStylesToHost(ge,ke,ct){ge.forEach(xt=>{const jt=this._doc.createElement("style");jt.textContent=xt,ct.push(ke.appendChild(jt))})}addHost(ge){const ke=[];this._addStylesToHost(this._stylesSet,ge,ke),this._hostNodes.set(ge,ke)}removeHost(ge){const ke=this._hostNodes.get(ge);ke&&ke.forEach(J),this._hostNodes.delete(ge)}onStylesAdded(ge){this._hostNodes.forEach((ke,ct)=>{this._addStylesToHost(ge,ct,ke)})}ngOnDestroy(){this._hostNodes.forEach(ge=>ge.forEach(J))}}return Ie.\u0275fac=function(ge){return new(ge||Ie)(h.\u0275\u0275inject(n.DOCUMENT))},Ie.\u0275prov=h.\u0275\u0275defineInjectable({token:Ie,factory:Ie.\u0275fac}),Ie})();function J(Ie){(0,n.\u0275getDOM)().remove(Ie)}const Z={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/"},X=/%COMP%/g;function De(Ie){return"_ngcontent-%COMP%".replace(X,Ie)}function We(Ie){return"_nghost-%COMP%".replace(X,Ie)}function Q(Ie,Ae,ge){for(let ke=0;ke<Ae.length;ke++){let ct=Ae[ke];Array.isArray(ct)?Q(Ie,ct,ge):(ct=ct.replace(X,Ie),ge.push(ct))}return ge}function ue(Ie){return Ae=>{if("__ngUnwrap__"===Ae)return Ie;!1===Ie(Ae)&&(Ae.preventDefault(),Ae.returnValue=!1)}}let ce=(()=>{class Ie{constructor(ge,ke,ct){this.eventManager=ge,this.sharedStylesHost=ke,this.appId=ct,this.rendererByCompId=new Map,this.defaultRenderer=new de(ge)}createRenderer(ge,ke){if(!ge||!ke)return this.defaultRenderer;switch(ke.encapsulation){case h.ViewEncapsulation.Emulated:{let ct=this.rendererByCompId.get(ke.id);return ct||(ct=new dt(this.eventManager,this.sharedStylesHost,ke,this.appId),this.rendererByCompId.set(ke.id,ct)),ct.applyToHost(ge),ct}case 1:case h.ViewEncapsulation.ShadowDom:return new it(this.eventManager,this.sharedStylesHost,ge,ke);default:if(!this.rendererByCompId.has(ke.id)){const ct=Q(ke.id,ke.styles,[]);this.sharedStylesHost.addStyles(ct),this.rendererByCompId.set(ke.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return Ie.\u0275fac=function(ge){return new(ge||Ie)(h.\u0275\u0275inject(S),h.\u0275\u0275inject(V),h.\u0275\u0275inject(h.APP_ID))},Ie.\u0275prov=h.\u0275\u0275defineInjectable({token:Ie,factory:Ie.\u0275fac}),Ie})();class de{constructor(Ae){this.eventManager=Ae,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(Ae,ge){return ge?document.createElementNS(Z[ge]||ge,Ae):document.createElement(Ae)}createComment(Ae){return document.createComment(Ae)}createText(Ae){return document.createTextNode(Ae)}appendChild(Ae,ge){Ae.appendChild(ge)}insertBefore(Ae,ge,ke){Ae&&Ae.insertBefore(ge,ke)}removeChild(Ae,ge){Ae&&Ae.removeChild(ge)}selectRootElement(Ae,ge){let ke="string"==typeof Ae?document.querySelector(Ae):Ae;if(!ke)throw new Error(`The selector "${Ae}" did not match any elements`);return ge||(ke.textContent=""),ke}parentNode(Ae){return Ae.parentNode}nextSibling(Ae){return Ae.nextSibling}setAttribute(Ae,ge,ke,ct){if(ct){ge=ct+":"+ge;const xt=Z[ct];xt?Ae.setAttributeNS(xt,ge,ke):Ae.setAttribute(ge,ke)}else Ae.setAttribute(ge,ke)}removeAttribute(Ae,ge,ke){if(ke){const ct=Z[ke];ct?Ae.removeAttributeNS(ct,ge):Ae.removeAttribute(`${ke}:${ge}`)}else Ae.removeAttribute(ge)}addClass(Ae,ge){Ae.classList.add(ge)}removeClass(Ae,ge){Ae.classList.remove(ge)}setStyle(Ae,ge,ke,ct){ct&(h.RendererStyleFlags2.DashCase|h.RendererStyleFlags2.Important)?Ae.style.setProperty(ge,ke,ct&h.RendererStyleFlags2.Important?"important":""):Ae.style[ge]=ke}removeStyle(Ae,ge,ke){ke&h.RendererStyleFlags2.DashCase?Ae.style.removeProperty(ge):Ae.style[ge]=""}setProperty(Ae,ge,ke){Ae[ge]=ke}setValue(Ae,ge){Ae.nodeValue=ge}listen(Ae,ge,ke){return"string"==typeof Ae?this.eventManager.addGlobalEventListener(Ae,ge,ue(ke)):this.eventManager.addEventListener(Ae,ge,ue(ke))}}class dt extends de{constructor(Ae,ge,ke,ct){super(Ae),this.component=ke;const xt=Q(ct+"-"+ke.id,ke.styles,[]);ge.addStyles(xt),this.contentAttr=De(ct+"-"+ke.id),this.hostAttr=We(ct+"-"+ke.id)}applyToHost(Ae){super.setAttribute(Ae,this.hostAttr,"")}createElement(Ae,ge){const ke=super.createElement(Ae,ge);return super.setAttribute(ke,this.contentAttr,""),ke}}class it extends de{constructor(Ae,ge,ke,ct){super(Ae),this.sharedStylesHost=ge,this.hostEl=ke,this.shadowRoot=ke.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const xt=Q(ct.id,ct.styles,[]);for(let jt=0;jt<xt.length;jt++){const qt=document.createElement("style");qt.textContent=xt[jt],this.shadowRoot.appendChild(qt)}}nodeOrShadowRoot(Ae){return Ae===this.hostEl?this.shadowRoot:Ae}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(Ae,ge){return super.appendChild(this.nodeOrShadowRoot(Ae),ge)}insertBefore(Ae,ge,ke){return super.insertBefore(this.nodeOrShadowRoot(Ae),ge,ke)}removeChild(Ae,ge){return super.removeChild(this.nodeOrShadowRoot(Ae),ge)}parentNode(Ae){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Ae)))}}let st=(()=>{class Ie extends P{constructor(ge){super(ge)}supports(ge){return!0}addEventListener(ge,ke,ct){return ge.addEventListener(ke,ct,!1),()=>this.removeEventListener(ge,ke,ct)}removeEventListener(ge,ke,ct){return ge.removeEventListener(ke,ct)}}return Ie.\u0275fac=function(ge){return new(ge||Ie)(h.\u0275\u0275inject(n.DOCUMENT))},Ie.\u0275prov=h.\u0275\u0275defineInjectable({token:Ie,factory:Ie.\u0275fac}),Ie})();const Qe=["alt","control","meta","shift"],xe={"\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"},qe={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"},Le={alt:Ie=>Ie.altKey,control:Ie=>Ie.ctrlKey,meta:Ie=>Ie.metaKey,shift:Ie=>Ie.shiftKey};let Ge=(()=>{class Ie extends P{constructor(ge){super(ge)}supports(ge){return null!=Ie.parseEventName(ge)}addEventListener(ge,ke,ct){const xt=Ie.parseEventName(ke),jt=Ie.eventCallback(xt.fullKey,ct,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,n.\u0275getDOM)().onAndCancel(ge,xt.domEventName,jt))}static parseEventName(ge){const ke=ge.toLowerCase().split("."),ct=ke.shift();if(0===ke.length||"keydown"!==ct&&"keyup"!==ct)return null;const xt=Ie._normalizeKey(ke.pop());let jt="";if(Qe.forEach(gn=>{const Nn=ke.indexOf(gn);Nn>-1&&(ke.splice(Nn,1),jt+=gn+".")}),jt+=xt,0!=ke.length||0===xt.length)return null;const qt={};return qt.domEventName=ct,qt.fullKey=jt,qt}static getEventFullKey(ge){let ke="",ct=function pt(Ie){let Ae=Ie.key;if(null==Ae){if(Ae=Ie.keyIdentifier,null==Ae)return"Unidentified";Ae.startsWith("U+")&&(Ae=String.fromCharCode(parseInt(Ae.substring(2),16)),3===Ie.location&&qe.hasOwnProperty(Ae)&&(Ae=qe[Ae]))}return xe[Ae]||Ae}(ge);return ct=ct.toLowerCase()," "===ct?ct="space":"."===ct&&(ct="dot"),Qe.forEach(xt=>{xt!=ct&&Le[xt](ge)&&(ke+=xt+".")}),ke+=ct,ke}static eventCallback(ge,ke,ct){return xt=>{Ie.getEventFullKey(xt)===ge&&ct.runGuarded(()=>ke(xt))}}static _normalizeKey(ge){return"esc"===ge?"escape":ge}}return Ie.\u0275fac=function(ge){return new(ge||Ie)(h.\u0275\u0275inject(n.DOCUMENT))},Ie.\u0275prov=h.\u0275\u0275defineInjectable({token:Ie,factory:Ie.\u0275fac}),Ie})();function ye(){d.makeCurrent(),v.init()}const ne=[{provide:h.PLATFORM_ID,useValue:n.\u0275PLATFORM_BROWSER_ID},{provide:h.PLATFORM_INITIALIZER,useValue:ye,multi:!0},{provide:n.DOCUMENT,useFactory:function j(){return(0,h.\u0275setDocument)(document),document},deps:[]}],Me=(0,h.createPlatformFactory)(h.platformCore,"browser",ne),Ue=[{provide:h.\u0275INJECTOR_SCOPE,useValue:"root"},{provide:h.ErrorHandler,useFactory:function Se(){return new h.ErrorHandler},deps:[]},{provide:T,useClass:st,multi:!0,deps:[n.DOCUMENT,h.NgZone,h.PLATFORM_ID]},{provide:T,useClass:Ge,multi:!0,deps:[n.DOCUMENT]},{provide:ce,useClass:ce,deps:[S,V,h.APP_ID]},{provide:h.RendererFactory2,useExisting:ce},{provide:I,useExisting:V},{provide:V,useClass:V,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 Ie{constructor(ge){if(ge)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(ge){return{ngModule:Ie,providers:[{provide:h.APP_ID,useValue:ge.appId},{provide:m,useExisting:h.APP_ID},_]}}}return Ie.\u0275fac=function(ge){return new(ge||Ie)(h.\u0275\u0275inject(Ie,12))},Ie.\u0275mod=h.\u0275\u0275defineNgModule({type:Ie}),Ie.\u0275inj=h.\u0275\u0275defineInjector({providers:Ue,imports:[n.CommonModule,h.ApplicationModule]}),Ie})(),L=(()=>{class Ie{constructor(ge){this._doc=ge,this._dom=(0,n.\u0275getDOM)()}addTag(ge,ke=!1){return ge?this._getOrCreateElement(ge,ke):null}addTags(ge,ke=!1){return ge?ge.reduce((ct,xt)=>(xt&&ct.push(this._getOrCreateElement(xt,ke)),ct),[]):[]}getTag(ge){return ge&&this._doc.querySelector(`meta[${ge}]`)||null}getTags(ge){if(!ge)return[];const ke=this._doc.querySelectorAll(`meta[${ge}]`);return ke?[].slice.call(ke):[]}updateTag(ge,ke){if(!ge)return null;ke=ke||this._parseSelector(ge);const ct=this.getTag(ke);return ct?this._setMetaElementAttributes(ge,ct):this._getOrCreateElement(ge,!0)}removeTag(ge){this.removeTagElement(this.getTag(ge))}removeTagElement(ge){ge&&this._dom.remove(ge)}_getOrCreateElement(ge,ke=!1){if(!ke){const jt=this._parseSelector(ge),qt=this.getTags(jt).filter(gn=>this._containsAttributes(ge,gn))[0];if(void 0!==qt)return qt}const ct=this._dom.createElement("meta");return this._setMetaElementAttributes(ge,ct),this._doc.getElementsByTagName("head")[0].appendChild(ct),ct}_setMetaElementAttributes(ge,ke){return Object.keys(ge).forEach(ct=>ke.setAttribute(this._getMetaKeyMap(ct),ge[ct])),ke}_parseSelector(ge){const ke=ge.name?"name":"property";return`${ke}="${ge[ke]}"`}_containsAttributes(ge,ke){return Object.keys(ge).every(ct=>ke.getAttribute(this._getMetaKeyMap(ct))===ge[ct])}_getMetaKeyMap(ge){return ve[ge]||ge}}return Ie.\u0275fac=function(ge){return new(ge||Ie)(h.\u0275\u0275inject(n.DOCUMENT))},Ie.\u0275prov=h.\u0275\u0275defineInjectable({token:Ie,factory:function(ge){let ke=null;return ke=ge?new ge:function Re(){return new L((0,h.\u0275\u0275inject)(n.DOCUMENT))}(),ke},providedIn:"root"}),Ie})();const ve={httpEquiv:"http-equiv"};let Je=(()=>{class Ie{constructor(ge){this._doc=ge}getTitle(){return this._doc.title}setTitle(ge){this._doc.title=ge||""}}return Ie.\u0275fac=function(ge){return new(ge||Ie)(h.\u0275\u0275inject(n.DOCUMENT))},Ie.\u0275prov=h.\u0275\u0275defineInjectable({token:Ie,factory:function(ge){let ke=null;return ke=ge?new ge:function Fe(){return new Je((0,h.\u0275\u0275inject)(n.DOCUMENT))}(),ke},providedIn:"root"}),Ie})();function He(Ie,Ae){"undefined"!=typeof COMPILED&&COMPILED||((h.\u0275global.ng=h.\u0275global.ng||{})[Ie]=Ae)}const Te="undefined"!=typeof window&&window||{};class Ee{constructor(Ae,ge){this.msPerTick=Ae,this.numTicks=ge}}class Ye{constructor(Ae){this.appRef=Ae.injector.get(h.ApplicationRef)}timeChangeDetection(Ae){const ge=Ae&&Ae.record,ke="Change Detection",ct=null!=Te.console.profile;ge&&ct&&Te.console.profile(ke);const xt=Xe();let jt=0;for(;jt<5||Xe()-xt<500;)this.appRef.tick(),jt++;const qt=Xe();ge&&ct&&Te.console.profileEnd(ke);const gn=(qt-xt)/jt;return Te.console.log(`ran ${jt} change detection cycles`),Te.console.log(`${gn.toFixed(2)} ms per check`),new Ee(gn,jt)}}function Xe(){return Te.performance&&Te.performance.now?Te.performance.now():(new Date).getTime()}const rt="profiler";function wt(Ie){return He(rt,new Ye(Ie)),Ie}function Oe(){He(rt,null)}function ze(Ie){const Ae={"&":"&a;",'"':"&q;","'":"&s;","<":"&l;",">":"&g;"};return Ie.replace(/[&"'<>]/g,ge=>Ae[ge])}function Tt(Ie){return Ie}let Ct=(()=>{class Ie{constructor(){this.store={},this.onSerializeCallbacks={}}static init(ge){const ke=new Ie;return ke.store=ge,ke}get(ge,ke){return void 0!==this.store[ge]?this.store[ge]:ke}set(ge,ke){this.store[ge]=ke}remove(ge){delete this.store[ge]}hasKey(ge){return this.store.hasOwnProperty(ge)}onSerialize(ge,ke){this.onSerializeCallbacks[ge]=ke}toJson(){for(const ge in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(ge))try{this.store[ge]=this.onSerializeCallbacks[ge]()}catch(ke){console.warn("Exception in onSerialize callback: ",ke)}return JSON.stringify(this.store)}}return Ie.\u0275fac=function(ge){return new(ge||Ie)},Ie.\u0275prov=h.\u0275\u0275defineInjectable({token:Ie,factory:Ie.\u0275fac}),Ie})();function $t(Ie,Ae){const ge=Ie.getElementById(Ae+"-state");let ke={};if(ge&&ge.textContent)try{ke=JSON.parse(function lt(Ie){const Ae={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return Ie.replace(/&[^;]+;/g,ge=>Ae[ge])}(ge.textContent))}catch(ct){console.warn("Exception while restoring TransferState for app "+Ae,ct)}return Ct.init(ke)}let Mt=(()=>{class Ie{}return Ie.\u0275fac=function(ge){return new(ge||Ie)},Ie.\u0275mod=h.\u0275\u0275defineNgModule({type:Ie}),Ie.\u0275inj=h.\u0275\u0275defineInjector({providers:[{provide:Ct,useFactory:$t,deps:[n.DOCUMENT,h.APP_ID]}]}),Ie})();class Ht{static all(){return()=>!0}static css(Ae){return ge=>null!=ge.nativeElement&&function fe(Ie,Ae){return!!(0,n.\u0275getDOM)().isElementNode(Ie)&&(Ie.matches&&Ie.matches(Ae)||Ie.msMatchesSelector&&Ie.msMatchesSelector(Ae)||Ie.webkitMatchesSelector&&Ie.webkitMatchesSelector(Ae))}(ge.nativeElement,Ae)}static directive(Ae){return ge=>-1!==ge.providerTokens.indexOf(Ae)}}const q={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},k=new h.InjectionToken("HammerGestureConfig"),W=new h.InjectionToken("HammerLoader");let Y=(()=>{class Ie{constructor(){this.events=[],this.overrides={}}buildHammer(ge){const ke=new Hammer(ge,this.options);ke.get("pinch").set({enable:!0}),ke.get("rotate").set({enable:!0});for(const ct in this.overrides)ke.get(ct).set(this.overrides[ct]);return ke}}return Ie.\u0275fac=function(ge){return new(ge||Ie)},Ie.\u0275prov=h.\u0275\u0275defineInjectable({token:Ie,factory:Ie.\u0275fac}),Ie})(),z=(()=>{class Ie extends P{constructor(ge,ke,ct,xt){super(ge),this._config=ke,this.console=ct,this.loader=xt,this._loaderPromise=null}supports(ge){return!(!q.hasOwnProperty(ge.toLowerCase())&&!this.isCustomEvent(ge)||!window.Hammer&&!this.loader)}addEventListener(ge,ke,ct){const xt=this.manager.getZone();if(ke=ke.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||this.loader();let jt=!1,qt=()=>{jt=!0};return this._loaderPromise.then(()=>{window.Hammer?jt||(qt=this.addEventListener(ge,ke,ct)):qt=()=>{}}).catch(()=>{qt=()=>{}}),()=>{qt()}}return xt.runOutsideAngular(()=>{const jt=this._config.buildHammer(ge),qt=function(gn){xt.runGuarded(function(){ct(gn)})};return jt.on(ke,qt),()=>{jt.off(ke,qt),"function"==typeof jt.destroy&&jt.destroy()}})}isCustomEvent(ge){return this._config.events.indexOf(ge)>-1}}return Ie.\u0275fac=function(ge){return new(ge||Ie)(h.\u0275\u0275inject(n.DOCUMENT),h.\u0275\u0275inject(k),h.\u0275\u0275inject(h.\u0275Console),h.\u0275\u0275inject(W,8))},Ie.\u0275prov=h.\u0275\u0275defineInjectable({token:Ie,factory:Ie.\u0275fac}),Ie})(),N=(()=>{class Ie{}return Ie.\u0275fac=function(ge){return new(ge||Ie)},Ie.\u0275mod=h.\u0275\u0275defineNgModule({type:Ie}),Ie.\u0275inj=h.\u0275\u0275defineInjector({providers:[{provide:T,useClass:z,multi:!0,deps:[n.DOCUMENT,k,h.\u0275Console,[new h.Optional,W]]},{provide:k,useClass:Y,deps:[]}]}),Ie})(),he=(()=>{class Ie{}return Ie.\u0275fac=function(ge){return new(ge||Ie)},Ie.\u0275prov=h.\u0275\u0275defineInjectable({token:Ie,factory:function(ge){let ke=null;return ke=ge?new(ge||Ie):h.\u0275\u0275inject(ft),ke},providedIn:"root"}),Ie})(),ft=(()=>{class Ie extends he{constructor(ge){super(),this._doc=ge}sanitize(ge,ke){if(null==ke)return null;switch(ge){case h.SecurityContext.NONE:return ke;case h.SecurityContext.HTML:return(0,h.\u0275allowSanitizationBypassAndThrow)(ke,"HTML")?(0,h.\u0275unwrapSafeValue)(ke):(0,h.\u0275_sanitizeHtml)(this._doc,String(ke)).toString();case h.SecurityContext.STYLE:return(0,h.\u0275allowSanitizationBypassAndThrow)(ke,"Style")?(0,h.\u0275unwrapSafeValue)(ke):ke;case h.SecurityContext.SCRIPT:if((0,h.\u0275allowSanitizationBypassAndThrow)(ke,"Script"))return(0,h.\u0275unwrapSafeValue)(ke);throw new Error("unsafe value used in a script context");case h.SecurityContext.URL:return(0,h.\u0275getSanitizationBypassType)(ke),(0,h.\u0275allowSanitizationBypassAndThrow)(ke,"URL")?(0,h.\u0275unwrapSafeValue)(ke):(0,h.\u0275_sanitizeUrl)(String(ke));case h.SecurityContext.RESOURCE_URL:if((0,h.\u0275allowSanitizationBypassAndThrow)(ke,"ResourceURL"))return(0,h.\u0275unwrapSafeValue)(ke);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${ge} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(ge){return(0,h.\u0275bypassSanitizationTrustHtml)(ge)}bypassSecurityTrustStyle(ge){return(0,h.\u0275bypassSanitizationTrustStyle)(ge)}bypassSecurityTrustScript(ge){return(0,h.\u0275bypassSanitizationTrustScript)(ge)}bypassSecurityTrustUrl(ge){return(0,h.\u0275bypassSanitizationTrustUrl)(ge)}bypassSecurityTrustResourceUrl(ge){return(0,h.\u0275bypassSanitizationTrustResourceUrl)(ge)}}return Ie.\u0275fac=function(ge){return new(ge||Ie)(h.\u0275\u0275inject(n.DOCUMENT))},Ie.\u0275prov=h.\u0275\u0275defineInjectable({token:Ie,factory:function(ge){let ke=null;return ke=ge?new ge:function je(Ie){return new ft(Ie.get(n.DOCUMENT))}(h.\u0275\u0275inject(h.Injector)),ke},providedIn:"root"}),Ie})();const Ft=new h.Version("13.3.6")},107:(G,o,a)=>{"use strict";a.r(o),a.d(o,{MONACO_PATH:()=>v,MonacoDiffEditorComponent:()=>P,MonacoEditorComponent:()=>S,MonacoEditorLoaderDirective:()=>T,MonacoEditorLoaderService:()=>b,MonacoEditorModule:()=>I});var n=a(5e3),h=a(2722),y=a(9300),d=a(5698),r=a(1135),l=a(7579),f=a(655),p=a(3075);const m=["editor"],u=["diffEditor"],v="MONACO_PATH";let b=(()=>{class V{constructor(Z,X){this.ngZone=Z,this.monacoPathConfig=X,this.isMonacoLoaded$=new r.X(!1),this._monacoPath="assets/monaco-editor/min/vs",window.monacoEditorAlreadyInitialized?Z.run(()=>this.isMonacoLoaded$.next(!0)):(window.monacoEditorAlreadyInitialized=!0,this.monacoPathConfig&&(this.monacoPath=this.monacoPathConfig),this.loadMonaco())}set monacoPath(Z){Z&&(this._monacoPath=Z)}loadMonaco(){const Z=()=>{let le=this._monacoPath;window.amdRequire=window.require;const me=!!this.nodeRequire,De=le.includes("http");me&&(window.require=this.nodeRequire,De||(le=window.require("path").resolve(window.__dirname,this._monacoPath))),window.amdRequire.config({paths:{vs:le}}),window.amdRequire(["vs/editor/editor.main"],()=>{this.ngZone.run(()=>this.isMonacoLoaded$.next(!0))},We=>console.error("Error loading monaco-editor: ",We))};if(window.amdRequire)return Z();window.require&&(this.addElectronFixScripts(),this.nodeRequire=window.require);const oe=document.createElement("script");oe.type="text/javascript",oe.src=`${this._monacoPath}/loader.js`,oe.addEventListener("load",Z),document.body.appendChild(oe)}addElectronFixScripts(){const Z=document.createElement("script"),X=document.createTextNode("self.module = undefined;"),U=document.createTextNode("self.process.browser = true;");Z.appendChild(X),Z.appendChild(U),document.body.appendChild(Z)}}return V.\u0275fac=function(Z){return new(Z||V)(n.\u0275\u0275inject(n.NgZone),n.\u0275\u0275inject(v,8))},V.\u0275prov=n.\u0275\u0275defineInjectable({token:V,factory:V.\u0275fac,providedIn:"root"}),V})(),T=(()=>{class V{constructor(Z,X,U){this.templateRef=Z,this.viewContainer=X,this.monacoEditorLoaderService=U,this.isMonacoLoaded$=this.monacoEditorLoaderService.isMonacoLoaded$.asObservable(),this.destroyed$=new l.x}ngOnInit(){this.isMonacoLoaded$.pipe((0,h.R)(this.destroyed$)).subscribe(Z=>{if(!Z)return this.viewContainer.clear();this.viewContainer.createEmbeddedView(this.templateRef)})}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}}return V.\u0275fac=function(Z){return new(Z||V)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(b))},V.\u0275dir=n.\u0275\u0275defineDirective({type:V,selectors:[["","ngxLoadMonacoEditor",""]]}),V})(),S=(()=>{class V{constructor(Z){this.monacoLoader=Z,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)(Z=>Z),(0,d.q)(1)).subscribe(()=>{this.initEditor()})}ngOnChanges(Z){if(this.editor&&Z.options&&!Z.options.firstChange){const X=Z.options.currentValue,{language:U,theme:oe}=X,le=(0,f.__rest)(X,["language","theme"]),{language:me,theme:De}=Z.options.previousValue;me!==U&&monaco.editor.setModelLanguage(this.editor.getModel(),this.options&&this.options.language?this.options.language:"text"),De!==oe&&monaco.editor.setTheme(oe),this.editor.updateOptions(le)}if(this.editor&&Z.uri){const X=Z.uri.currentValue,U=Z.uri.previousValue;if(U&&!X||!U&&X||X&&U&&X.path!==U.path){const oe=this.editor.getValue();let le;this.modelUriInstance&&this.modelUriInstance.dispose(),X&&(le=monaco.editor.getModels().find(me=>me.uri.path===X.path)),this.modelUriInstance=le||monaco.editor.createModel(oe,this.options.language||"text",this.uri),this.editor.setModel(this.modelUriInstance)}}}writeValue(Z){this.value=Z,this.editor&&Z?this.editor.setValue(Z):this.editor&&this.editor.setValue("")}registerOnChange(Z){this.propagateChange=Z}registerOnTouched(Z){this.onTouched=Z}validate(){return this.parsedError?{monaco:{value:this.parsedError.split("|")}}:null}registerOnValidatorChange(Z){this.onErrorStatusChange=Z}initEditor(){const Z={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({},Z),this.options):Z),this.registerEditorListeners(),this.init.emit(this.editor)}registerEditorListeners(){this.editor.onDidChangeModelContent(()=>{this.propagateChange(this.editor.getValue())}),this.editor.onDidChangeModelDecorations(()=>{const Z=this.modelMarkers.map(({message:U})=>U).join("|");this.parsedError!==Z&&(this.parsedError=Z,this.onErrorStatusChange())}),this.editor.onDidBlurEditorText(()=>{this.onTouched()})}ngOnDestroy(){this.editor&&this.editor.dispose()}}return V.\u0275fac=function(Z){return new(Z||V)(n.\u0275\u0275directiveInject(b))},V.\u0275cmp=n.\u0275\u0275defineComponent({type:V,selectors:[["ngx-monaco-editor"]],viewQuery:function(Z,X){if(1&Z&&n.\u0275\u0275viewQuery(m,7),2&Z){let U;n.\u0275\u0275queryRefresh(U=n.\u0275\u0275loadQuery())&&(X.editorContent=U.first)}},inputs:{options:"options",uri:"uri"},outputs:{init:"init"},features:[n.\u0275\u0275ProvidersFeature([{provide:p.NG_VALUE_ACCESSOR,useExisting:(0,n.forwardRef)(()=>V),multi:!0},{provide:p.NG_VALIDATORS,useExisting:(0,n.forwardRef)(()=>V),multi:!0}]),n.\u0275\u0275NgOnChangesFeature],decls:4,vars:0,consts:[["fxFlex","",1,"editor-container"],["container",""],[1,"monaco-editor"],["editor",""]],template:function(Z,X){1&Z&&(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}),V})(),P=(()=>{class V{constructor(Z){this.monacoLoader=Z,this.init=new n.EventEmitter}ngOnInit(){this.container=this.editorContent.nativeElement,this.monacoLoader.isMonacoLoaded$.pipe((0,y.h)(Z=>Z),(0,d.q)(1)).subscribe(()=>{this.initMonaco()})}ngOnChanges(Z){if(this.editor&&(Z.code&&!Z.code.firstChange||Z.modified&&!Z.modified.firstChange)){const X=monaco.editor.createModel(this.modified),U=monaco.editor.createModel(this.original);this.editor.setModel({original:U,modified:X})}this.editor&&Z.options&&!Z.options.firstChange&&(Z.options.previousValue.theme!==Z.options.currentValue.theme&&monaco.editor.setTheme(Z.options.currentValue.theme),this.editor.updateOptions(Z.options.currentValue))}initMonaco(){let Z={readOnly:!0,automaticLayout:!0,theme:"vc"};this.options&&(Z=Object.assign({},Z,this.options)),this.editor=monaco.editor.createDiffEditor(this.container,Z);const X=monaco.editor.createModel(this.original),U=monaco.editor.createModel(this.modified);this.editor.setModel({original:X,modified:U}),this.editor.layout(),this.init.emit(this.editor)}ngOnDestroy(){this.editor&&this.editor.dispose()}}return V.\u0275fac=function(Z){return new(Z||V)(n.\u0275\u0275directiveInject(b))},V.\u0275cmp=n.\u0275\u0275defineComponent({type:V,selectors:[["ngx-monaco-diff-editor"]],viewQuery:function(Z,X){if(1&Z&&n.\u0275\u0275viewQuery(u,7),2&Z){let U;n.\u0275\u0275queryRefresh(U=n.\u0275\u0275loadQuery())&&(X.editorContent=U.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(Z,X){1&Z&&(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}),V})(),I=(()=>{class V{}return V.\u0275fac=function(Z){return new(Z||V)},V.\u0275mod=n.\u0275\u0275defineNgModule({type:V}),V.\u0275inj=n.\u0275\u0275defineInjector({imports:[[]]}),V})()},1430:(G,o,a)=>{"use strict";a.r(o),a.d(o,{ANGULAR_SPLIT_DEFAULT_OPTIONS:()=>le,AngularSplitModule:()=>We,SplitAreaDirective:()=>De,SplitComponent:()=>me});var n=a(5e3),h=a(9808),y=a(7579),d=a(8306),r=a(8372);const l=["gutterEls"];function f(Q,ue){if(1&Q){const $=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"div",2,3),n.\u0275\u0275listener("keydown",function(de){n.\u0275\u0275restoreView($);const _e=n.\u0275\u0275nextContext().index;return n.\u0275\u0275nextContext().startKeyboardDrag(de,2*_e+1,_e+1)})("mousedown",function(de){n.\u0275\u0275restoreView($);const _e=n.\u0275\u0275nextContext().index;return n.\u0275\u0275nextContext().startMouseDrag(de,2*_e+1,_e+1)})("touchstart",function(de){n.\u0275\u0275restoreView($);const _e=n.\u0275\u0275nextContext().index;return n.\u0275\u0275nextContext().startMouseDrag(de,2*_e+1,_e+1)})("mouseup",function(de){n.\u0275\u0275restoreView($);const _e=n.\u0275\u0275nextContext().index;return n.\u0275\u0275nextContext().clickGutter(de,_e+1)})("touchend",function(de){n.\u0275\u0275restoreView($);const _e=n.\u0275\u0275nextContext().index;return n.\u0275\u0275nextContext().clickGutter(de,_e+1)}),n.\u0275\u0275element(2,"div",4),n.\u0275\u0275elementEnd()}if(2&Q){const $=n.\u0275\u0275nextContext(),ce=$.index,de=$.$implicit,_e=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("flex-basis",_e.gutterSize,"px")("order",2*ce+1),n.\u0275\u0275attribute("aria-label",_e.gutterAriaLabel)("aria-orientation",_e.direction)("aria-valuemin",de.minSize)("aria-valuemax",de.maxSize)("aria-valuenow",de.size)("aria-valuetext",_e.getAriaAreaSizeText(de.size))}}function p(Q,ue){1&Q&&n.\u0275\u0275template(0,f,3,10,"div",1),2&Q&&n.\u0275\u0275property("ngIf",!1===ue.last)}const m=["*"];function u(Q){if(void 0!==Q.changedTouches&&Q.changedTouches.length>0)return{x:Q.changedTouches[0].clientX,y:Q.changedTouches[0].clientY};if(void 0!==Q.clientX&&void 0!==Q.clientY)return{x:Q.clientX,y:Q.clientY};if(void 0!==Q.currentTarget){const ue=Q.currentTarget;return{x:ue.offsetLeft,y:ue.offsetTop}}return null}function _(Q,ue,$){return Math.abs(Q.x-ue.x)<=$&&Math.abs(Q.y-ue.y)<=$}function b(Q,ue){const $=Q.nativeElement.getBoundingClientRect();return"horizontal"===ue?$.width:$.height}function T(Q){return"boolean"==typeof Q?Q:"false"!==Q}function S(Q,ue){return null==Q?ue:(Q=Number(Q),!isNaN(Q)&&Q>=0?Q:ue)}function P(Q,ue){if("percent"===Q){const $=ue.reduce((ce,de)=>null!==de?ce+de:ce,0);return ue.every(ce=>null!==ce)&&$>99.9&&$<100.1}if("pixel"===Q)return 1===ue.filter($=>null===$).length}function I(Q){return null===Q.size?null:!0===Q.component.lockSize?Q.size:null===Q.component.minSize?null:Q.component.minSize>Q.size?Q.size:Q.component.minSize}function V(Q){return null===Q.size?null:!0===Q.component.lockSize?Q.size:null===Q.component.maxSize?null:Q.component.maxSize<Q.size?Q.size:Q.component.maxSize}function J(Q,ue,$,ce){return ue.reduce((de,_e)=>{const et=function Z(Q,ue,$,ce){return 0===$?{areaSnapshot:ue,pixelAbsorb:0,percentAfterAbsorption:ue.sizePercentAtStart,pixelRemain:0}:0===ue.sizePixelAtStart&&$<0?{areaSnapshot:ue,pixelAbsorb:0,percentAfterAbsorption:0,pixelRemain:$}:"percent"===Q?function X(Q,ue,$){const de=(Q.sizePixelAtStart+ue)/$*100;if(ue>0){if(null!==Q.area.maxSize&&de>Q.area.maxSize){const _e=Q.area.maxSize/100*$;return{areaSnapshot:Q,pixelAbsorb:_e,percentAfterAbsorption:Q.area.maxSize,pixelRemain:Q.sizePixelAtStart+ue-_e}}return{areaSnapshot:Q,pixelAbsorb:ue,percentAfterAbsorption:de>100?100:de,pixelRemain:0}}if(ue<0){if(null!==Q.area.minSize&&de<Q.area.minSize){const _e=Q.area.minSize/100*$;return{areaSnapshot:Q,pixelAbsorb:_e,percentAfterAbsorption:Q.area.minSize,pixelRemain:Q.sizePixelAtStart+ue-_e}}return de<0?{areaSnapshot:Q,pixelAbsorb:-Q.sizePixelAtStart,percentAfterAbsorption:0,pixelRemain:ue+Q.sizePixelAtStart}:{areaSnapshot:Q,pixelAbsorb:ue,percentAfterAbsorption:de,pixelRemain:0}}}(ue,$,ce):"pixel"===Q?function U(Q,ue,$){const ce=Q.sizePixelAtStart+ue;return ue>0?null!==Q.area.maxSize&&ce>Q.area.maxSize?{areaSnapshot:Q,pixelAbsorb:Q.area.maxSize-Q.sizePixelAtStart,percentAfterAbsorption:-1,pixelRemain:ce-Q.area.maxSize}:{areaSnapshot:Q,pixelAbsorb:ue,percentAfterAbsorption:-1,pixelRemain:0}:ue<0?null!==Q.area.minSize&&ce<Q.area.minSize?{areaSnapshot:Q,pixelAbsorb:Q.area.minSize+ue-ce,percentAfterAbsorption:-1,pixelRemain:ce-Q.area.minSize}:ce<0?{areaSnapshot:Q,pixelAbsorb:-Q.sizePixelAtStart,percentAfterAbsorption:-1,pixelRemain:ue+Q.sizePixelAtStart}:{areaSnapshot:Q,pixelAbsorb:ue,percentAfterAbsorption:-1,pixelRemain:0}:void 0}(ue,$):void 0}(Q,_e,de.remain,ce);return de.list.push(et),de.remain=et.pixelRemain,de},{remain:$,list:[]})}function oe(Q,ue){"percent"===Q?ue.areaSnapshot.area.size=ue.percentAfterAbsorption:"pixel"===Q&&null!==ue.areaSnapshot.area.size&&(ue.areaSnapshot.area.size=ue.areaSnapshot.sizePixelAtStart+ue.pixelAbsorb)}const le=new n.InjectionToken("angular-split-global-config");let me=(()=>{class Q{constructor($,ce,de,_e,et){this.ngZone=$,this.elRef=ce,this.cdRef=de,this.renderer=_e,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=et?Object.assign(this._config,et):this._config,Object.keys(this._config).forEach(dt=>{this[dt]=this._config[dt]})}set direction($){this._direction="vertical"===$?"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($){this._unit="pixel"===$?"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($){this._gutterSize=S($,11),this.build(!1,!1)}get gutterSize(){return this._gutterSize}set gutterStep($){this._gutterStep=S($,1)}get gutterStep(){return this._gutterStep}set restrictMove($){this._restrictMove=T($)}get restrictMove(){return this._restrictMove}set useTransition($){this._useTransition=T($),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($){this._disabled=T($),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($){this._dir="rtl"===$?"rtl":"ltr",this.renderer.setAttribute(this.elRef.nativeElement,"dir",this._dir)}get dir(){return this._dir}set gutterDblClickDuration($){this._gutterDblClickDuration=S($,0)}get gutterDblClickDuration(){return this._gutterDblClickDuration}get transitionEnd(){return new d.y($=>this.transitionEndSubscriber=$).pipe((0,r.b)(20))}ngAfterViewInit(){this.ngZone.runOutsideAngular(()=>{setTimeout(()=>this.renderer.addClass(this.elRef.nativeElement,"as-init"))})}getNbGutters(){return 0===this.displayedAreas.length?0:this.displayedAreas.length-1}addArea($){const ce={component:$,order:0,size:0,minSize:null,maxSize:null,sizeBeforeCollapse:null,gutterBeforeCollapse:0};!0===$.visible?(this.displayedAreas.push(ce),this.build(!0,!0)):this.hiddenAreas.push(ce)}removeArea($){if(this.displayedAreas.some(ce=>ce.component===$)){const ce=this.displayedAreas.find(de=>de.component===$);this.displayedAreas.splice(this.displayedAreas.indexOf(ce),1),this.build(!0,!0)}else if(this.hiddenAreas.some(ce=>ce.component===$)){const ce=this.hiddenAreas.find(de=>de.component===$);this.hiddenAreas.splice(this.hiddenAreas.indexOf(ce),1)}}updateArea($,ce,de){!0===$.visible&&this.build(ce,de)}showArea($){const ce=this.hiddenAreas.find(_e=>_e.component===$);if(void 0===ce)return;const de=this.hiddenAreas.splice(this.hiddenAreas.indexOf(ce),1);this.displayedAreas.push(...de),this.build(!0,!0)}hideArea($){const ce=this.displayedAreas.find(_e=>_e.component===$);if(void 0===ce)return;const de=this.displayedAreas.splice(this.displayedAreas.indexOf(ce),1);de.forEach(_e=>{_e.order=0,_e.size=0}),this.hiddenAreas.push(...de),this.build(!0,!0)}getVisibleAreaSizes(){return this.displayedAreas.map($=>null===$.size?"*":$.size)}setVisibleAreaSizes($){if($.length!==this.displayedAreas.length)return!1;const ce=$.map(_e=>S(_e,null));return!1!==P(this.unit,ce)&&(this.displayedAreas.forEach((_e,et)=>_e.component._size=ce[et]),this.build(!1,!0),!0)}build($,ce){if(this.stopDragging(),!0===$&&(this.displayedAreas.every(de=>null!==de.component.order)&&this.displayedAreas.sort((de,_e)=>de.component.order-_e.component.order),this.displayedAreas.forEach((de,_e)=>{de.order=2*_e,de.component.setStyleOrder(de.order)})),!0===ce){const de=P(this.unit,this.displayedAreas.map(_e=>_e.component.size));switch(this.unit){case"percent":{const _e=100/this.displayedAreas.length;this.displayedAreas.forEach(et=>{et.size=de?et.component.size:_e,et.minSize=I(et),et.maxSize=V(et)});break}case"pixel":if(de)this.displayedAreas.forEach(_e=>{_e.size=_e.component.size,_e.minSize=I(_e),_e.maxSize=V(_e)});else{const _e=this.displayedAreas.filter(et=>null===et.component.size);if(0===_e.length&&this.displayedAreas.length>0)this.displayedAreas.forEach((et,dt)=>{et.size=0===dt?null:et.component.size,et.minSize=0===dt?null:I(et),et.maxSize=0===dt?null:V(et)});else if(_e.length>1){let et=!1;this.displayedAreas.forEach(dt=>{null===dt.component.size?!1===et?(dt.size=null,dt.minSize=null,dt.maxSize=null,et=!0):(dt.size=100,dt.minSize=null,dt.maxSize=null):(dt.size=dt.component.size,dt.minSize=I(dt),dt.maxSize=V(dt))})}}}}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 $=this.getNbGutters()*this.gutterSize;this.displayedAreas.forEach(ce=>{ce.component.setStyleFlex(0,0,`calc( ${ce.size}% - ${ce.size/100*$}px )`,null!==ce.minSize&&ce.minSize===ce.size,null!==ce.maxSize&&ce.maxSize===ce.size)})}else"pixel"===this.unit&&this.displayedAreas.forEach($=>{null===$.size?$.component.setStyleFlex(1,1,1===this.displayedAreas.length?"100%":"auto",!1,!1):1===this.displayedAreas.length?$.component.setStyleFlex(0,0,"100%",!1,!1):$.component.setStyleFlex(0,0,`${$.size}px`,null!==$.minSize&&$.minSize===$.size,null!==$.maxSize&&$.maxSize===$.size)})}clickGutter($,ce){const de=u($);this.startPoint&&_(this.startPoint,de,this.gutterClickDeltaPx)&&(!this.isDragging||this.isWaitingInitialMove)&&(null!==this._clickTimeout?(window.clearTimeout(this._clickTimeout),this._clickTimeout=null,this.notify("dblclick",ce),this.stopDragging()):this._clickTimeout=window.setTimeout(()=>{this._clickTimeout=null,this.notify("click",ce),this.stopDragging()},this.gutterDblClickDuration))}startKeyboardDrag($,ce,de){if(!0===this.disabled||!0===this.isWaitingClear)return;const _e=function v(Q,ue){if("horizontal"===ue)switch(Q.key){case"ArrowLeft":case"ArrowRight":case"PageUp":case"PageDown":break;default:return null}if("vertical"===ue)switch(Q.key){case"ArrowUp":case"ArrowDown":case"PageUp":case"PageDown":break;default:return null}const $=Q.currentTarget,ce="PageUp"===Q.key||"PageDown"===Q.key?500:50;let de=$.offsetLeft,_e=$.offsetTop;switch(Q.key){case"ArrowLeft":de-=ce;break;case"ArrowRight":de+=ce;break;case"ArrowUp":_e-=ce;break;case"ArrowDown":_e+=ce;break;case"PageUp":"vertical"===ue?_e-=ce:de+=ce;break;case"PageDown":"vertical"===ue?_e+=ce:de-=ce;break;default:return null}return{x:de,y:_e}}($,this.direction);null!==_e&&(this.endPoint=_e,this.startPoint=u($),$.preventDefault(),$.stopPropagation(),this.setupForDragEvent(ce,de),this.startDragging(),this.drag(),this.stopDragging())}startMouseDrag($,ce,de){$.preventDefault(),$.stopPropagation(),this.startPoint=u($),null!==this.startPoint&&!0!==this.disabled&&!0!==this.isWaitingClear&&(this.setupForDragEvent(ce,de),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($,ce){this.snapshot={gutterNum:ce,lastSteppedOffset:0,allAreasSizePixel:b(this.elRef,this.direction)-this.getNbGutters()*this.gutterSize,allInvolvedAreasSizePercent:100,areasBeforeGutter:[],areasAfterGutter:[]},this.displayedAreas.forEach(de=>{const _e={area:de,sizePixelAtStart:b(de.component.elRef,this.direction),sizePercentAtStart:"percent"===this.unit?de.size:-1};de.order<$?!0===this.restrictMove?this.snapshot.areasBeforeGutter=[_e]:this.snapshot.areasBeforeGutter.unshift(_e):de.order>$&&(!0===this.restrictMove?0===this.snapshot.areasAfterGutter.length&&(this.snapshot.areasAfterGutter=[_e]):this.snapshot.areasAfterGutter.push(_e))}),this.snapshot.allInvolvedAreasSizePercent=[...this.snapshot.areasBeforeGutter,...this.snapshot.areasAfterGutter].reduce((de,_e)=>de+_e.sizePercentAtStart,0)}startDragging(){this.displayedAreas.forEach($=>$.component.lockEvents()),this.isDragging=!0,this.isWaitingInitialMove=!0}mouseDragEvent($){$.preventDefault(),$.stopPropagation();const ce=u($);null!==this._clickTimeout&&!_(this.startPoint,ce,this.gutterClickDeltaPx)&&(window.clearTimeout(this._clickTimeout),this._clickTimeout=null),!1!==this.isDragging&&(this.endPoint=u($),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 $="horizontal"===this.direction?this.startPoint.x-this.endPoint.x:this.startPoint.y-this.endPoint.y;"rtl"===this.dir&&($=-$);const ce=Math.round($/this.gutterStep)*this.gutterStep;if(ce===this.snapshot.lastSteppedOffset)return;this.snapshot.lastSteppedOffset=ce;let de=J(this.unit,this.snapshot.areasBeforeGutter,-ce,this.snapshot.allAreasSizePixel),_e=J(this.unit,this.snapshot.areasAfterGutter,ce,this.snapshot.allAreasSizePixel);if(0!==de.remain&&0!==_e.remain?Math.abs(de.remain)===Math.abs(_e.remain)||(Math.abs(de.remain)>Math.abs(_e.remain)?_e=J(this.unit,this.snapshot.areasAfterGutter,ce+de.remain,this.snapshot.allAreasSizePixel):de=J(this.unit,this.snapshot.areasBeforeGutter,-(ce-_e.remain),this.snapshot.allAreasSizePixel)):0!==de.remain?_e=J(this.unit,this.snapshot.areasAfterGutter,ce+de.remain,this.snapshot.allAreasSizePixel):0!==_e.remain&&(de=J(this.unit,this.snapshot.areasBeforeGutter,-(ce-_e.remain),this.snapshot.allAreasSizePixel)),"percent"===this.unit){const et=[...de.list,..._e.list],dt=et.find(it=>0!==it.percentAfterAbsorption&&it.percentAfterAbsorption!==it.areaSnapshot.area.minSize&&it.percentAfterAbsorption!==it.areaSnapshot.area.maxSize);dt&&(dt.percentAfterAbsorption=this.snapshot.allInvolvedAreasSizePercent-et.filter(it=>it!==dt).reduce((it,st)=>it+st.percentAfterAbsorption,0))}de.list.forEach(et=>oe(this.unit,et)),_e.list.forEach(et=>oe(this.unit,et)),this.refreshStyleSizes(),this.notify("progress",this.snapshot.gutterNum)}stopDragging($){if($&&($.preventDefault(),$.stopPropagation()),!1!==this.isDragging){for(this.displayedAreas.forEach(ce=>ce.component.unlockEvents());this.dragListeners.length>0;){const ce=this.dragListeners.pop();ce&&ce()}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($,ce){const de=this.getVisibleAreaSizes();"start"===$?this.dragStart.emit({gutterNum:ce,sizes:de}):"end"===$?this.dragEnd.emit({gutterNum:ce,sizes:de}):"click"===$?this.gutterClick.emit({gutterNum:ce,sizes:de}):"dblclick"===$?this.gutterDblClick.emit({gutterNum:ce,sizes:de}):"transitionEnd"===$?this.transitionEndSubscriber&&this.ngZone.run(()=>this.transitionEndSubscriber.next(de)):"progress"===$&&this.dragProgressSubject.next({gutterNum:ce,sizes:de})}ngOnDestroy(){this.stopDragging()}collapseArea($,ce,de){const _e=this.displayedAreas.find(it=>it.component===$);if(void 0===_e)return;const et="right"===de?1:-1;_e.sizeBeforeCollapse||(_e.sizeBeforeCollapse=_e.size,_e.gutterBeforeCollapse=et),_e.size=ce;const dt=this.gutterEls.find(it=>it.nativeElement.style.order===`${_e.order+et}`);dt&&this.renderer.addClass(dt.nativeElement,"as-split-gutter-collapsed"),this.updateArea($,!1,!1)}expandArea($){const ce=this.displayedAreas.find(_e=>_e.component===$);if(void 0===ce||!ce.sizeBeforeCollapse)return;ce.size=ce.sizeBeforeCollapse,ce.sizeBeforeCollapse=null;const de=this.gutterEls.find(_e=>_e.nativeElement.style.order===`${ce.order+ce.gutterBeforeCollapse}`);de&&this.renderer.removeClass(de.nativeElement,"as-split-gutter-collapsed"),this.updateArea($,!1,!1)}getAriaAreaSizeText($){return null===$?null:$.toFixed(0)+" "+this.unit}}return Q.\u0275fac=function($){return new($||Q)(n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(le,8))},Q.\u0275cmp=n.\u0275\u0275defineComponent({type:Q,selectors:[["as-split"]],viewQuery:function($,ce){if(1&$&&n.\u0275\u0275viewQuery(l,5),2&$){let de;n.\u0275\u0275queryRefresh(de=n.\u0275\u0275loadQuery())&&(ce.gutterEls=de)}},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($,ce){1&$&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0),n.\u0275\u0275template(1,p,1,1,"ng-template",0)),2&$&&(n.\u0275\u0275advance(1),n.\u0275\u0275property("ngForOf",ce.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}),Q})(),De=(()=>{class Q{constructor($,ce,de,_e){this.ngZone=$,this.elRef=ce,this.renderer=de,this.split=_e,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($){this._order=S($,null),this.split.updateArea(this,!0,!1)}get order(){return this._order}set size($){this._size=S($,null),this.split.updateArea(this,!1,!0)}get size(){return this._size}set minSize($){this._minSize=S($,null),this.split.updateArea(this,!1,!0)}get minSize(){return this._minSize}set maxSize($){this._maxSize=S($,null),this.split.updateArea(this,!1,!0)}get maxSize(){return this._maxSize}set lockSize($){this._lockSize=T($),this.split.updateArea(this,!1,!0)}get lockSize(){return this._lockSize}set visible($){this._visible=T($),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",$=>{"flex-basis"===$.propertyName&&this.split.notify("transitionEnd",-1)})})}setStyleOrder($){this.renderer.setStyle(this.elRef.nativeElement,"order",$)}setStyleFlex($,ce,de,_e,et){this.renderer.setStyle(this.elRef.nativeElement,"flex-grow",$),this.renderer.setStyle(this.elRef.nativeElement,"flex-shrink",ce),this.renderer.setStyle(this.elRef.nativeElement,"flex-basis",de),!0===_e?this.renderer.addClass(this.elRef.nativeElement,"as-min"):this.renderer.removeClass(this.elRef.nativeElement,"as-min"),!0===et?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 $=this.lockListeners.pop();$&&$()}}ngOnDestroy(){this.unlockEvents(),this.transitionListener&&this.transitionListener(),this.split.removeArea(this)}collapse($=0,ce="right"){this.split.collapseArea(this,$,ce)}expand(){this.split.expandArea(this)}}return Q.\u0275fac=function($){return new($||Q)(n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(me))},Q.\u0275dir=n.\u0275\u0275defineDirective({type:Q,selectors:[["as-split-area"],["","as-split-area",""]],inputs:{order:"order",size:"size",minSize:"minSize",maxSize:"maxSize",lockSize:"lockSize",visible:"visible"},exportAs:["asSplitArea"]}),Q})(),We=(()=>{class Q{static forRoot(){return console.warn("AngularSplitModule.forRoot() is deprecated and will be removed in v6"),{ngModule:Q,providers:[]}}static forChild(){return console.warn("AngularSplitModule.forChild() is deprecated and will be removed in v6"),{ngModule:Q,providers:[]}}}return Q.\u0275fac=function($){return new($||Q)},Q.\u0275mod=n.\u0275\u0275defineNgModule({type:Q}),Q.\u0275inj=n.\u0275\u0275defineInjector({imports:[[h.CommonModule]]}),Q})()},2290:(G,o,a)=>{"use strict";a.r(o),a.d(o,{BasePortalHost:()=>U,ComponentPortal:()=>X,DefaultGlobalConfig:()=>et,DefaultNoAnimationsGlobalConfig:()=>Qe,DefaultNoComponentGlobalConfig:()=>le,Overlay:()=>ce,OverlayContainer:()=>$,OverlayRef:()=>ue,TOAST_CONFIG:()=>me,Toast:()=>_e,ToastContainerDirective:()=>J,ToastContainerModule:()=>Z,ToastInjector:()=>We,ToastNoAnimation:()=>st,ToastNoAnimationModule:()=>ht,ToastPackage:()=>oe,ToastRef:()=>De,ToastrComponentlessModule:()=>it,ToastrModule:()=>dt,ToastrService:()=>de});var n=a(5e3),h=a(1777),y=a(7579),d=a(9808),r=a(2313);const l=["toast-component",""];function f(xe,qe){if(1&xe){const Le=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"button",5),n.\u0275\u0275listener("click",function(){return n.\u0275\u0275restoreView(Le),n.\u0275\u0275nextContext().remove()}),n.\u0275\u0275elementStart(1,"span",6),n.\u0275\u0275text(2,"\xd7"),n.\u0275\u0275elementEnd()()}}function p(xe,qe){if(1&xe&&(n.\u0275\u0275elementContainerStart(0),n.\u0275\u0275text(1),n.\u0275\u0275elementContainerEnd()),2&xe){const Le=n.\u0275\u0275nextContext(2);n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("[",Le.duplicatesCount+1,"]")}}function m(xe,qe){if(1&xe&&(n.\u0275\u0275elementStart(0,"div"),n.\u0275\u0275text(1),n.\u0275\u0275template(2,p,2,1,"ng-container",4),n.\u0275\u0275elementEnd()),2&xe){const Le=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(Le.options.titleClass),n.\u0275\u0275attribute("aria-label",Le.title),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Le.title," "),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Le.duplicatesCount)}}function u(xe,qe){if(1&xe&&n.\u0275\u0275element(0,"div",7),2&xe){const Le=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(Le.options.messageClass),n.\u0275\u0275property("innerHTML",Le.message,n.\u0275\u0275sanitizeHtml)}}function _(xe,qe){if(1&xe&&(n.\u0275\u0275elementStart(0,"div",8),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&xe){const Le=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(Le.options.messageClass),n.\u0275\u0275attribute("aria-label",Le.message),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Le.message," ")}}function v(xe,qe){if(1&xe&&(n.\u0275\u0275elementStart(0,"div"),n.\u0275\u0275element(1,"div",9),n.\u0275\u0275elementEnd()),2&xe){const Le=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275styleProp("width",Le.width+"%")}}function b(xe,qe){if(1&xe){const Le=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"button",5),n.\u0275\u0275listener("click",function(){return n.\u0275\u0275restoreView(Le),n.\u0275\u0275nextContext().remove()}),n.\u0275\u0275elementStart(1,"span",6),n.\u0275\u0275text(2,"\xd7"),n.\u0275\u0275elementEnd()()}}function T(xe,qe){if(1&xe&&(n.\u0275\u0275elementContainerStart(0),n.\u0275\u0275text(1),n.\u0275\u0275elementContainerEnd()),2&xe){const Le=n.\u0275\u0275nextContext(2);n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("[",Le.duplicatesCount+1,"]")}}function S(xe,qe){if(1&xe&&(n.\u0275\u0275elementStart(0,"div"),n.\u0275\u0275text(1),n.\u0275\u0275template(2,T,2,1,"ng-container",4),n.\u0275\u0275elementEnd()),2&xe){const Le=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(Le.options.titleClass),n.\u0275\u0275attribute("aria-label",Le.title),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Le.title," "),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Le.duplicatesCount)}}function P(xe,qe){if(1&xe&&n.\u0275\u0275element(0,"div",7),2&xe){const Le=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(Le.options.messageClass),n.\u0275\u0275property("innerHTML",Le.message,n.\u0275\u0275sanitizeHtml)}}function I(xe,qe){if(1&xe&&(n.\u0275\u0275elementStart(0,"div",8),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&xe){const Le=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(Le.options.messageClass),n.\u0275\u0275attribute("aria-label",Le.message),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Le.message," ")}}function V(xe,qe){if(1&xe&&(n.\u0275\u0275elementStart(0,"div"),n.\u0275\u0275element(1,"div",9),n.\u0275\u0275elementEnd()),2&xe){const Le=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275styleProp("width",Le.width+"%")}}let J=(()=>{class xe{constructor(Le){this.el=Le}getContainerElement(){return this.el.nativeElement}}return xe.\u0275fac=function(Le){return new(Le||xe)(n.\u0275\u0275directiveInject(n.ElementRef))},xe.\u0275dir=n.\u0275\u0275defineDirective({type:xe,selectors:[["","toastContainer",""]],exportAs:["toastContainer"]}),xe})(),Z=(()=>{class xe{}return xe.\u0275fac=function(Le){return new(Le||xe)},xe.\u0275mod=n.\u0275\u0275defineNgModule({type:xe}),xe.\u0275inj=n.\u0275\u0275defineInjector({}),xe})();class X{constructor(qe,Le){this.component=qe,this.injector=Le}attach(qe,Le){return this._attachedHost=qe,qe.attach(this,Le)}detach(){const qe=this._attachedHost;if(qe)return this._attachedHost=void 0,qe.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(qe){this._attachedHost=qe}}class U{attach(qe,Le){return this._attachedPortal=qe,this.attachComponentPortal(qe,Le)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(qe){this._disposeFn=qe}}class oe{constructor(qe,Le,Ge,pt,ye,Se){this.toastId=qe,this.config=Le,this.message=Ge,this.title=pt,this.toastType=ye,this.toastRef=Se,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(qe){this._onAction.next(qe)}onAction(){return this._onAction.asObservable()}}const le={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 De{constructor(qe){this._overlayRef=qe,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(qe,Le){qe&&this._resetTimeout.next(),Le&&this._countDuplicate.next(++this.duplicatesCount)}}class We{constructor(qe,Le){this._toastPackage=qe,this._parentInjector=Le}get(qe,Le,Ge){return qe===oe?this._toastPackage:this._parentInjector.get(qe,Le,Ge)}}class Q extends U{constructor(qe,Le,Ge){super(),this._hostDomElement=qe,this._componentFactoryResolver=Le,this._appRef=Ge}attachComponentPortal(qe,Le){const Ge=this._componentFactoryResolver.resolveComponentFactory(qe.component);let pt;return pt=Ge.create(qe.injector),this._appRef.attachView(pt.hostView),this.setDisposeFn(()=>{this._appRef.detachView(pt.hostView),pt.destroy()}),Le?this._hostDomElement.insertBefore(this._getComponentRootNode(pt),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(pt)),pt}_getComponentRootNode(qe){return qe.hostView.rootNodes[0]}}class ue{constructor(qe){this._portalHost=qe}attach(qe,Le=!0){return this._portalHost.attach(qe,Le)}detach(){return this._portalHost.detach()}}let $=(()=>{class xe{constructor(Le){this._document=Le}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Le=this._document.createElement("div");Le.classList.add("overlay-container"),Le.setAttribute("aria-live","polite"),this._document.body.appendChild(Le),this._containerElement=Le}}return xe.\u0275fac=function(Le){return new(Le||xe)(n.\u0275\u0275inject(d.DOCUMENT))},xe.\u0275prov=n.\u0275\u0275defineInjectable({token:xe,factory:xe.\u0275fac,providedIn:"root"}),xe})(),ce=(()=>{class xe{constructor(Le,Ge,pt,ye){this._overlayContainer=Le,this._componentFactoryResolver=Ge,this._appRef=pt,this._document=ye,this._paneElements=new Map}create(Le,Ge){return this._createOverlayRef(this.getPaneElement(Le,Ge))}getPaneElement(Le="",Ge){return this._paneElements.get(Ge)||this._paneElements.set(Ge,{}),this._paneElements.get(Ge)[Le]||(this._paneElements.get(Ge)[Le]=this._createPaneElement(Le,Ge)),this._paneElements.get(Ge)[Le]}_createPaneElement(Le,Ge){const pt=this._document.createElement("div");return pt.id="toast-container",pt.classList.add(Le),pt.classList.add("toast-container"),Ge?Ge.getContainerElement().appendChild(pt):this._overlayContainer.getContainerElement().appendChild(pt),pt}_createPortalHost(Le){return new Q(Le,this._componentFactoryResolver,this._appRef)}_createOverlayRef(Le){return new ue(this._createPortalHost(Le))}}return xe.\u0275fac=function(Le){return new(Le||xe)(n.\u0275\u0275inject($),n.\u0275\u0275inject(n.ComponentFactoryResolver),n.\u0275\u0275inject(n.ApplicationRef),n.\u0275\u0275inject(d.DOCUMENT))},xe.\u0275prov=n.\u0275\u0275defineInjectable({token:xe,factory:xe.\u0275fac,providedIn:"root"}),xe})(),de=(()=>{class xe{constructor(Le,Ge,pt,ye,Se){this.overlay=Ge,this._injector=pt,this.sanitizer=ye,this.ngZone=Se,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig=Object.assign(Object.assign({},Le.default),Le.config),Le.config.iconClasses&&(this.toastrConfig.iconClasses=Object.assign(Object.assign({},Le.default.iconClasses),Le.config.iconClasses))}show(Le,Ge,pt={},ye=""){return this._preBuildNotification(ye,Le,Ge,this.applyConfig(pt))}success(Le,Ge,pt={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",Le,Ge,this.applyConfig(pt))}error(Le,Ge,pt={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",Le,Ge,this.applyConfig(pt))}info(Le,Ge,pt={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",Le,Ge,this.applyConfig(pt))}warning(Le,Ge,pt={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",Le,Ge,this.applyConfig(pt))}clear(Le){for(const Ge of this.toasts)if(void 0!==Le){if(Ge.toastId===Le)return void Ge.toastRef.manualClose()}else Ge.toastRef.manualClose()}remove(Le){const Ge=this._findToast(Le);if(!Ge||(Ge.activeToast.toastRef.close(),this.toasts.splice(Ge.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 pt=this.toasts[this.currentlyActive].toastRef;pt.isInactive()||(this.currentlyActive=this.currentlyActive+1,pt.activate())}return!0}findDuplicate(Le="",Ge="",pt,ye){const{includeTitleDuplicates:Se}=this.toastrConfig;for(const j of this.toasts){const ne=Se&&j.title===Le;if((!Se||ne)&&j.message===Ge)return j.toastRef.onDuplicate(pt,ye),j}return null}applyConfig(Le={}){return Object.assign(Object.assign({},this.toastrConfig),Le)}_findToast(Le){for(let Ge=0;Ge<this.toasts.length;Ge++)if(this.toasts[Ge].toastId===Le)return{index:Ge,activeToast:this.toasts[Ge]};return null}_preBuildNotification(Le,Ge,pt,ye){return ye.onActivateTick?this.ngZone.run(()=>this._buildNotification(Le,Ge,pt,ye)):this._buildNotification(Le,Ge,pt,ye)}_buildNotification(Le,Ge,pt,ye){if(!ye.toastComponent)throw new Error("toastComponent required");const Se=this.findDuplicate(pt,Ge,this.toastrConfig.resetTimeoutOnDuplicate&&ye.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&pt||Ge)&&this.toastrConfig.preventDuplicates&&null!==Se)return Se;this.previousToastMessage=Ge;let j=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(j=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const ne=this.overlay.create(ye.positionClass,this.overlayContainer);this.index=this.index+1;let Me=Ge;Ge&&ye.enableHtml&&(Me=this.sanitizer.sanitize(n.SecurityContext.HTML,Ge));const Ue=new De(ne),Ke=new oe(this.index,ye,Me,pt,Le,Ue),Re=new We(Ke,this._injector),L=new X(ye.toastComponent,Re),ve=ne.attach(L,this.toastrConfig.newestOnTop);Ue.componentInstance=ve.instance;const Fe={toastId:this.index,title:pt||"",message:Ge||"",toastRef:Ue,onShown:Ue.afterActivate(),onHidden:Ue.afterClosed(),onTap:Ke.onTap(),onAction:Ke.onAction(),portal:ve};return j||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{Fe.toastRef.activate()})),this.toasts.push(Fe),Fe}}return xe.\u0275fac=function(Le){return new(Le||xe)(n.\u0275\u0275inject(me),n.\u0275\u0275inject(ce),n.\u0275\u0275inject(n.Injector),n.\u0275\u0275inject(r.DomSanitizer),n.\u0275\u0275inject(n.NgZone))},xe.\u0275prov=n.\u0275\u0275defineInjectable({token:xe,factory:xe.\u0275fac,providedIn:"root"}),xe})(),_e=(()=>{class xe{constructor(Le,Ge,pt){this.toastrService=Le,this.toastPackage=Ge,this.ngZone=pt,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=Ge.message,this.title=Ge.title,this.options=Ge.config,this.originalTimeout=Ge.config.timeOut,this.toastClasses=`${Ge.toastType} ${Ge.config.toastClass}`,this.sub=Ge.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=Ge.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=Ge.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=Ge.toastRef.countDuplicate().subscribe(ye=>{this.duplicatesCount=ye})}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 Le=(new Date).getTime();this.width=(this.hideTime-Le)/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(Le,Ge){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(Le),Ge)):this.timeout=setTimeout(()=>Le(),Ge)}outsideInterval(Le,Ge){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(Le),Ge)):this.intervalId=setInterval(()=>Le(),Ge)}runInsideAngular(Le){this.ngZone?this.ngZone.run(()=>Le()):Le()}}return xe.\u0275fac=function(Le){return new(Le||xe)(n.\u0275\u0275directiveInject(de),n.\u0275\u0275directiveInject(oe),n.\u0275\u0275directiveInject(n.NgZone))},xe.\u0275cmp=n.\u0275\u0275defineComponent({type:xe,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(Le,Ge){1&Le&&n.\u0275\u0275listener("click",function(){return Ge.tapToast()})("mouseenter",function(){return Ge.stickAround()})("mouseleave",function(){return Ge.delayedHideToast()}),2&Le&&(n.\u0275\u0275syntheticHostProperty("@flyInOut",Ge.state),n.\u0275\u0275classMap(Ge.toastClasses),n.\u0275\u0275styleProp("display",Ge.displayStyle))},attrs:l,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(Le,Ge){1&Le&&(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&Le&&(n.\u0275\u0275property("ngIf",Ge.options.closeButton),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Ge.title),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Ge.message&&Ge.options.enableHtml),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Ge.message&&!Ge.options.enableHtml),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Ge.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 }}"))])]}}),xe})();const et=Object.assign(Object.assign({},le),{toastComponent:_e});let dt=(()=>{class xe{static forRoot(Le={}){return{ngModule:xe,providers:[{provide:me,useValue:{default:et,config:Le}}]}}}return xe.\u0275fac=function(Le){return new(Le||xe)},xe.\u0275mod=n.\u0275\u0275defineNgModule({type:xe}),xe.\u0275inj=n.\u0275\u0275defineInjector({imports:[[d.CommonModule]]}),xe})(),it=(()=>{class xe{static forRoot(Le={}){return{ngModule:dt,providers:[{provide:me,useValue:{default:le,config:Le}}]}}}return xe.\u0275fac=function(Le){return new(Le||xe)},xe.\u0275mod=n.\u0275\u0275defineNgModule({type:xe}),xe.\u0275inj=n.\u0275\u0275defineInjector({imports:[[d.CommonModule]]}),xe})(),st=(()=>{class xe{constructor(Le,Ge,pt){this.toastrService=Le,this.toastPackage=Ge,this.appRef=pt,this.width=-1,this.toastClasses="",this.state="inactive",this.message=Ge.message,this.title=Ge.title,this.options=Ge.config,this.originalTimeout=Ge.config.timeOut,this.toastClasses=`${Ge.toastType} ${Ge.config.toastClass}`,this.sub=Ge.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=Ge.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=Ge.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=Ge.toastRef.countDuplicate().subscribe(ye=>{this.duplicatesCount=ye})}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 Le=(new Date).getTime();this.width=(this.hideTime-Le)/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 xe.\u0275fac=function(Le){return new(Le||xe)(n.\u0275\u0275directiveInject(de),n.\u0275\u0275directiveInject(oe),n.\u0275\u0275directiveInject(n.ApplicationRef))},xe.\u0275cmp=n.\u0275\u0275defineComponent({type:xe,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(Le,Ge){1&Le&&n.\u0275\u0275listener("click",function(){return Ge.tapToast()})("mouseenter",function(){return Ge.stickAround()})("mouseleave",function(){return Ge.delayedHideToast()}),2&Le&&(n.\u0275\u0275classMap(Ge.toastClasses),n.\u0275\u0275styleProp("display",Ge.displayStyle))},attrs:l,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(Le,Ge){1&Le&&(n.\u0275\u0275template(0,b,3,0,"button",0),n.\u0275\u0275template(1,S,3,5,"div",1),n.\u0275\u0275template(2,P,1,3,"div",2),n.\u0275\u0275template(3,I,2,4,"div",3),n.\u0275\u0275template(4,V,2,2,"div",4)),2&Le&&(n.\u0275\u0275property("ngIf",Ge.options.closeButton),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Ge.title),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Ge.message&&Ge.options.enableHtml),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Ge.message&&!Ge.options.enableHtml),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Ge.options.progressBar))},directives:[d.NgIf],encapsulation:2}),xe})();const Qe=Object.assign(Object.assign({},le),{toastComponent:st});let ht=(()=>{class xe{static forRoot(Le={}){return{ngModule:xe,providers:[{provide:me,useValue:{default:Qe,config:Le}}]}}}return xe.\u0275fac=function(Le){return new(Le||xe)},xe.\u0275mod=n.\u0275\u0275defineNgModule({type:xe}),xe.\u0275inj=n.\u0275\u0275defineInjector({imports:[[d.CommonModule]]}),xe})()},4147:G=>{"use strict";G.exports=JSON.parse('{"name":"@sdkgen/playground","version":"2.1.0","description":"","main":"index.js","types":"index.d.ts","repository":{"type":"git","url":"git+https://github.com/sdkgen/sdkgen.git"},"publishConfig":{"access":"public"},"scripts":{"eslint:fix":"eslint --fix \'src/**/*.{t,j}s\'","eslint:check":"eslint \'src/**/*.{t,j}s\'","ng":"ng","start":"ng serve","build":"ng build","build:stats":"ng build --stats-json","analyze":"webpack-bundle-analyzer dist/stats.json","watch":"ng build --watch --configuration development"},"dependencies":{},"devDependencies":{"@angular-devkit/build-angular":"~13.3.5","@angular/animations":"~13.3.6","@angular/cdk":"~13.3.6","@angular/cli":"~13.3.5","@angular/common":"~13.3.6","@angular/compiler":"~13.3.6","@angular/compiler-cli":"~13.3.6","@angular/core":"~13.3.6","@angular/forms":"~13.3.6","@angular/material":"~13.3.6","@angular/platform-browser":"~13.3.6","@angular/platform-browser-dynamic":"~13.3.6","@angular/router":"~13.3.6","@cubos/eslint-config":"^1.0.614034","@materia-ui/ngx-monaco-editor":"^6.0.0","@sdkgen/browser-runtime":"file:../browser-runtime","@sdkgen/csharp-generator":"file:../csharp-generator","@sdkgen/dart-generator":"file:../dart-generator","@sdkgen/fsharp-generator":"file:../fsharp-generator","@sdkgen/kotlin-generator":"file:../kotlin-generator","@sdkgen/parser":"file:../parser","@sdkgen/swift-generator":"file:../swift-generator","@sdkgen/typescript-generator":"file:../typescript-generator","@types/file-saver":"^2.0.5","@types/node":"^16.0.0","angular-split":"^13.2.0","file-saver":"^2.0.5","json":"^11.0.0","monaco-editor":"^0.33.0","ngx-json-viewer":"^3.0.2","ngx-toastr":"^14.3.0","rxjs":"~7.5.5","tslib":"^2.2.0","typescript":"~4.6.4","webpack-bundle-analyzer":"^4.5.0","zone.js":"~0.11.5"}}')}},G=>{G(G.s=4431)}]);
|