Viewing File: /usr/local/cpanel/base/frontend/jupiter/koality/signup/vendor-6b948b9f.74e553bcbb20db3d.js
(self.webpackChunkkoality_signup=self.webpackChunkkoality_signup||[]).push([[781],{4536:(d,f,n)=>{var e=n(9177),r=n(4074),a=n(4599),h=n(2681),c=n(7981);function i(p){var l=-1,m=null==p?0:p.length;for(this.clear();++l<m;){var g=p[l];this.set(g[0],g[1])}}i.prototype.clear=e,i.prototype.delete=r,i.prototype.get=a,i.prototype.has=h,i.prototype.set=c,d.exports=i},1789:(d,f,n)=>{var e=n(7699),r=n(8621),a=n(1288),h=n(1866),c=n(6719);function i(p){var l=-1,m=null==p?0:p.length;for(this.clear();++l<m;){var g=p[l];this.set(g[0],g[1])}}i.prototype.clear=e,i.prototype.delete=r,i.prototype.get=a,i.prototype.has=h,i.prototype.set=c,d.exports=i},9281:(d,f,n)=>{var a=n(3045)(n(9905),"Map");d.exports=a},6671:(d,f,n)=>{var e=n(5838),r=n(9318),a=n(2967),h=n(1220),c=n(128);function i(p){var l=-1,m=null==p?0:p.length;for(this.clear();++l<m;){var g=p[l];this.set(g[0],g[1])}}i.prototype.clear=e,i.prototype.delete=r,i.prototype.get=a,i.prototype.has=h,i.prototype.set=c,d.exports=i},3e3:(d,f,n)=>{var a=n(3045)(n(9905),"Set");d.exports=a},6774:(d,f,n)=>{var e=n(6671),r=n(3543),a=n(3463);function h(c){var i=-1,p=null==c?0:c.length;for(this.__data__=new e;++i<p;)this.add(c[i])}h.prototype.add=h.prototype.push=r,h.prototype.has=a,d.exports=h},4030:(d,f,n)=>{var e=n(9905);d.exports=e.Symbol},1693:d=>{d.exports=function f(n,e,r){switch(r.length){case 0:return n.call(e);case 1:return n.call(e,r[0]);case 2:return n.call(e,r[0],r[1]);case 3:return n.call(e,r[0],r[1],r[2])}return n.apply(e,r)}},4393:(d,f,n)=>{var e=n(1763);d.exports=function r(a,h){return!(null==a||!a.length)&&e(a,h,0)>-1}},5914:d=>{d.exports=function f(n,e,r){for(var a=-1,h=null==n?0:n.length;++a<h;)if(r(e,n[a]))return!0;return!1}},6548:(d,f,n)=>{var e=n(2029),r=n(7155),a=n(7985),h=n(8340),c=n(9241),i=n(7852),l=Object.prototype.hasOwnProperty;d.exports=function m(g,_){var T=a(g),E=!T&&r(g),x=!T&&!E&&h(g),C=!T&&!E&&!x&&i(g),S=T||E||x||C,L=S?e(g.length,String):[],U=L.length;for(var F in g)(_||l.call(g,F))&&(!S||!("length"==F||x&&("offset"==F||"parent"==F)||C&&("buffer"==F||"byteLength"==F||"byteOffset"==F)||c(F,U)))&&L.push(F);return L}},4170:d=>{d.exports=function f(n,e){for(var r=-1,a=null==n?0:n.length,h=Array(a);++r<a;)h[r]=e(n[r],r,n);return h}},2915:d=>{d.exports=function f(n,e,r,a){var h=-1,c=null==n?0:n.length;for(a&&c&&(r=n[++h]);++h<c;)r=e(r,n[h],h,n);return r}},4317:d=>{var f=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;d.exports=function n(e){return e.match(f)||[]}},47:(d,f,n)=>{var e=n(7795),r=n(4987),h=Object.prototype.hasOwnProperty;d.exports=function c(i,p,l){var m=i[p];(!h.call(i,p)||!r(m,l)||void 0===l&&!(p in i))&&e(i,p,l)}},6523:(d,f,n)=>{var e=n(4987);d.exports=function r(a,h){for(var c=a.length;c--;)if(e(a[c][0],h))return c;return-1}},7795:(d,f,n)=>{var e=n(1222);d.exports=function r(a,h,c){"__proto__"==h&&e?e(a,h,{configurable:!0,enumerable:!0,value:c,writable:!0}):a[h]=c}},2802:d=>{d.exports=function f(n,e,r,a){for(var h=n.length,c=r+(a?1:-1);a?c--:++c<h;)if(e(n[c],c,n))return c;return-1}},8286:(d,f,n)=>{var e=n(4030),r=n(4985),a=n(1050),i=e?e.toStringTag:void 0;d.exports=function p(l){return null==l?void 0===l?"[object Undefined]":"[object Null]":i&&i in Object(l)?r(l):a(l)}},1763:(d,f,n)=>{var e=n(2802),r=n(2929),a=n(5772);d.exports=function h(c,i,p){return i==i?a(c,i,p):e(c,r,p)}},6584:(d,f,n)=>{var e=n(8286),r=n(8419);d.exports=function h(c){return r(c)&&"[object Arguments]"==e(c)}},2929:d=>{d.exports=function f(n){return n!=n}},1219:(d,f,n)=>{var e=n(801),r=n(5157),a=n(4842),h=n(8039),i=/^\[object .+?Constructor\]$/,_=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");d.exports=function T(E){return!(!a(E)||r(E))&&(e(E)?_:i).test(h(E))}},7908:(d,f,n)=>{var e=n(8286),r=n(8161),a=n(8419),re={};re["[object Float32Array]"]=re["[object Float64Array]"]=re["[object Int8Array]"]=re["[object Int16Array]"]=re["[object Int32Array]"]=re["[object Uint8Array]"]=re["[object Uint8ClampedArray]"]=re["[object Uint16Array]"]=re["[object Uint32Array]"]=!0,re["[object Arguments]"]=re["[object Array]"]=re["[object ArrayBuffer]"]=re["[object Boolean]"]=re["[object DataView]"]=re["[object Date]"]=re["[object Error]"]=re["[object Function]"]=re["[object Map]"]=re["[object Number]"]=re["[object Object]"]=re["[object RegExp]"]=re["[object Set]"]=re["[object String]"]=re["[object WeakMap]"]=!1,d.exports=function ze(Se){return a(Se)&&r(Se.length)&&!!re[e(Se)]}},7564:(d,f,n)=>{var e=n(4842),r=n(8078),a=n(1392),c=Object.prototype.hasOwnProperty;d.exports=function i(p){if(!e(p))return a(p);var l=r(p),m=[];for(var g in p)"constructor"==g&&(l||!c.call(p,g))||m.push(g);return m}},7680:d=>{d.exports=function f(n){return function(e){return null==n?void 0:n[e]}}},6607:(d,f,n)=>{var e=n(665),r=n(3224),a=n(5724);d.exports=function h(c,i){return a(r(c,i,e),c+"")}},9449:(d,f,n)=>{var e=n(9153),r=n(1222),a=n(665);d.exports=r?function(c,i){return r(c,"toString",{configurable:!0,enumerable:!1,value:e(i),writable:!0})}:a},2029:d=>{d.exports=function f(n,e){for(var r=-1,a=Array(n);++r<n;)a[r]=e(r);return a}},4225:(d,f,n)=>{var e=n(4030),r=n(4170),a=n(7985),h=n(744),i=e?e.prototype:void 0,p=i?i.toString:void 0;d.exports=function l(m){if("string"==typeof m)return m;if(a(m))return r(m,l)+"";if(h(m))return p?p.call(m):"";var g=m+"";return"0"==g&&1/m==-1/0?"-0":g}},8292:d=>{d.exports=function f(n){return function(e){return n(e)}}},5857:(d,f,n)=>{var e=n(6774),r=n(4393),a=n(5914),h=n(6736),c=n(2605),i=n(6633);d.exports=function l(m,g,_){var T=-1,E=r,x=m.length,C=!0,S=[],L=S;if(_)C=!1,E=a;else if(x>=200){var U=g?null:c(m);if(U)return i(U);C=!1,E=h,L=new e}else L=g?[]:S;e:for(;++T<x;){var F=m[T],ne=g?g(F):F;if(F=_||0!==F?F:0,C&&ne==ne){for(var Ce=L.length;Ce--;)if(L[Ce]===ne)continue e;g&&L.push(ne),S.push(F)}else E(L,ne,_)||(L!==S&&L.push(ne),S.push(F))}return S}},6736:d=>{d.exports=function f(n,e){return n.has(e)}},5782:(d,f,n)=>{var e=n(47),r=n(7795);d.exports=function a(h,c,i,p){var l=!i;i||(i={});for(var m=-1,g=c.length;++m<g;){var _=c[m],T=p?p(i[_],h[_],_,i,h):void 0;void 0===T&&(T=h[_]),l?r(i,_,T):e(i,_,T)}return i}},842:(d,f,n)=>{var e=n(9905);d.exports=e["__core-js_shared__"]},5587:(d,f,n)=>{var e=n(6607),r=n(2850);d.exports=function a(h){return e(function(c,i){var p=-1,l=i.length,m=l>1?i[l-1]:void 0,g=l>2?i[2]:void 0;for(m=h.length>3&&"function"==typeof m?(l--,m):void 0,g&&r(i[0],i[1],g)&&(m=l<3?void 0:m,l=1),c=Object(c);++p<l;){var _=i[p];_&&h(c,_,p,m)}return c})}},8275:(d,f,n)=>{var e=n(2915),r=n(259),a=n(8653),c=RegExp("['\u2019]","g");d.exports=function i(p){return function(l){return e(a(r(l).replace(c,"")),p,"")}}},2605:(d,f,n)=>{var e=n(3e3),r=n(7004),a=n(6633),c=e&&1/a(new e([,-0]))[1]==1/0?function(i){return new e(i)}:r;d.exports=c},7943:(d,f,n)=>{var a=n(7680)({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"});d.exports=a},1222:(d,f,n)=>{var e=n(3045),r=function(){try{var a=e(Object,"defineProperty");return a({},"",{}),a}catch{}}();d.exports=r},3493:d=>{var f="object"==typeof global&&global&&global.Object===Object&&global;d.exports=f},4387:(d,f,n)=>{var e=n(1292);d.exports=function r(a,h){var c=a.__data__;return e(h)?c["string"==typeof h?"string":"hash"]:c.map}},3045:(d,f,n)=>{var e=n(1219),r=n(1385);d.exports=function a(h,c){var i=r(h,c);return e(i)?i:void 0}},7768:(d,f,n)=>{var r=n(2041)(Object.getPrototypeOf,Object);d.exports=r},4985:(d,f,n)=>{var e=n(4030),r=Object.prototype,a=r.hasOwnProperty,h=r.toString,c=e?e.toStringTag:void 0;d.exports=function i(p){var l=a.call(p,c),m=p[c];try{p[c]=void 0;var g=!0}catch{}var _=h.call(p);return g&&(l?p[c]=m:delete p[c]),_}},1385:d=>{d.exports=function f(n,e){return null==n?void 0:n[e]}},1009:d=>{var f=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;d.exports=function n(e){return f.test(e)}},9177:(d,f,n)=>{var e=n(4414);d.exports=function r(){this.__data__=e?e(null):{},this.size=0}},4074:d=>{d.exports=function f(n){var e=this.has(n)&&delete this.__data__[n];return this.size-=e?1:0,e}},4599:(d,f,n)=>{var e=n(4414),h=Object.prototype.hasOwnProperty;d.exports=function c(i){var p=this.__data__;if(e){var l=p[i];return"__lodash_hash_undefined__"===l?void 0:l}return h.call(p,i)?p[i]:void 0}},2681:(d,f,n)=>{var e=n(4414),a=Object.prototype.hasOwnProperty;d.exports=function h(c){var i=this.__data__;return e?void 0!==i[c]:a.call(i,c)}},7981:(d,f,n)=>{var e=n(4414);d.exports=function a(h,c){var i=this.__data__;return this.size+=this.has(h)?0:1,i[h]=e&&void 0===c?"__lodash_hash_undefined__":c,this}},9241:d=>{var n=/^(?:0|[1-9]\d*)$/;d.exports=function e(r,a){var h=typeof r;return!!(a=a??9007199254740991)&&("number"==h||"symbol"!=h&&n.test(r))&&r>-1&&r%1==0&&r<a}},2850:(d,f,n)=>{var e=n(4987),r=n(4260),a=n(9241),h=n(4842);d.exports=function c(i,p,l){if(!h(l))return!1;var m=typeof p;return!!("number"==m?r(l)&&a(p,l.length):"string"==m&&p in l)&&e(l[p],i)}},1292:d=>{d.exports=function f(n){var e=typeof n;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==n:null===n}},5157:(d,f,n)=>{var h,e=n(842),r=(h=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||""))?"Symbol(src)_1."+h:"";d.exports=function a(h){return!!r&&r in h}},8078:d=>{var f=Object.prototype;d.exports=function n(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||f)}},7699:d=>{d.exports=function f(){this.__data__=[],this.size=0}},8621:(d,f,n)=>{var e=n(6523),a=Array.prototype.splice;d.exports=function h(c){var i=this.__data__,p=e(i,c);return!(p<0||(p==i.length-1?i.pop():a.call(i,p,1),--this.size,0))}},1288:(d,f,n)=>{var e=n(6523);d.exports=function r(a){var h=this.__data__,c=e(h,a);return c<0?void 0:h[c][1]}},1866:(d,f,n)=>{var e=n(6523);d.exports=function r(a){return e(this.__data__,a)>-1}},6719:(d,f,n)=>{var e=n(6523);d.exports=function r(a,h){var c=this.__data__,i=e(c,a);return i<0?(++this.size,c.push([a,h])):c[i][1]=h,this}},5838:(d,f,n)=>{var e=n(4536),r=n(1789),a=n(9281);d.exports=function h(){this.size=0,this.__data__={hash:new e,map:new(a||r),string:new e}}},9318:(d,f,n)=>{var e=n(4387);d.exports=function r(a){var h=e(this,a).delete(a);return this.size-=h?1:0,h}},2967:(d,f,n)=>{var e=n(4387);d.exports=function r(a){return e(this,a).get(a)}},1220:(d,f,n)=>{var e=n(4387);d.exports=function r(a){return e(this,a).has(a)}},128:(d,f,n)=>{var e=n(4387);d.exports=function r(a,h){var c=e(this,a),i=c.size;return c.set(a,h),this.size+=c.size==i?0:1,this}},4414:(d,f,n)=>{var r=n(3045)(Object,"create");d.exports=r},1392:d=>{d.exports=function f(n){var e=[];if(null!=n)for(var r in Object(n))e.push(r);return e}},322:(d,f,n)=>{d=n.nmd(d);var e=n(3493),r=f&&!f.nodeType&&f,a=r&&d&&!d.nodeType&&d,c=a&&a.exports===r&&e.process,i=function(){try{return a&&a.require&&a.require("util").types||c&&c.binding&&c.binding("util")}catch{}}();d.exports=i},1050:d=>{var n=Object.prototype.toString;d.exports=function e(r){return n.call(r)}},2041:d=>{d.exports=function f(n,e){return function(r){return n(e(r))}}},3224:(d,f,n)=>{var e=n(1693),r=Math.max;d.exports=function a(h,c,i){return c=r(void 0===c?h.length-1:c,0),function(){for(var p=arguments,l=-1,m=r(p.length-c,0),g=Array(m);++l<m;)g[l]=p[c+l];l=-1;for(var _=Array(c+1);++l<c;)_[l]=p[l];return _[c]=i(g),e(h,this,_)}}},9905:(d,f,n)=>{var e=n(3493),r="object"==typeof self&&self&&self.Object===Object&&self,a=e||r||Function("return this")();d.exports=a},3543:d=>{d.exports=function n(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},3463:d=>{d.exports=function f(n){return this.__data__.has(n)}},6633:d=>{d.exports=function f(n){var e=-1,r=Array(n.size);return n.forEach(function(a){r[++e]=a}),r}},5724:(d,f,n)=>{var e=n(9449),a=n(5378)(e);d.exports=a},5378:d=>{var e=Date.now;d.exports=function r(a){var h=0,c=0;return function(){var i=e(),p=16-(i-c);if(c=i,p>0){if(++h>=800)return arguments[0]}else h=0;return a.apply(void 0,arguments)}}},5772:d=>{d.exports=function f(n,e,r){for(var a=r-1,h=n.length;++a<h;)if(n[a]===e)return a;return-1}},8039:d=>{var n=Function.prototype.toString;d.exports=function e(r){if(null!=r){try{return n.call(r)}catch{}try{return r+""}catch{}}return""}},5616:d=>{var f="\\ud800-\\udfff",h="\\u2700-\\u27bf",c="a-z\\xdf-\\xf6\\xf8-\\xff",g="A-Z\\xc0-\\xd6\\xd8-\\xde",T="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",x="["+T+"]",S="\\d+",L="["+h+"]",U="["+c+"]",F="[^"+f+T+S+h+c+g+"]",Le="(?:\\ud83c[\\udde6-\\uddff]){2}",We="[\\ud800-\\udbff][\\udc00-\\udfff]",Ne="["+g+"]",Ge="(?:"+U+"|"+F+")",re="(?:"+Ne+"|"+F+")",ze="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Se="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Z="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",Q="[\\ufe0e\\ufe0f]?",Ae=Q+Z+"(?:\\u200d(?:"+["[^"+f+"]",Le,We].join("|")+")"+Q+Z+")*",Ue="(?:"+[L,Le,We].join("|")+")"+Ae,ke=RegExp([Ne+"?"+U+"+"+ze+"(?="+[x,Ne,"$"].join("|")+")",re+"+"+Se+"(?="+[x,Ne+Ge,"$"].join("|")+")",Ne+"?"+Ge+"+"+ze,Ne+"+"+Se,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",S,Ue].join("|"),"g");d.exports=function ye(Re){return Re.match(ke)||[]}},1049:(d,f,n)=>{var e=n(5782),r=n(5587),a=n(225),h=r(function(c,i){e(i,a(i),c)});d.exports=h},9153:d=>{d.exports=function f(n){return function(){return n}}},259:(d,f,n)=>{var e=n(7943),r=n(283),a=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,m=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");d.exports=function g(_){return(_=r(_))&&_.replace(a,e).replace(m,"")}},4987:d=>{d.exports=function f(n,e){return n===e||n!=n&&e!=e}},586:(d,f,n)=>{d.exports=n(1049)},665:d=>{d.exports=function f(n){return n}},7155:(d,f,n)=>{var e=n(6584),r=n(8419),a=Object.prototype,h=a.hasOwnProperty,c=a.propertyIsEnumerable,i=e(function(){return arguments}())?e:function(p){return r(p)&&h.call(p,"callee")&&!c.call(p,"callee")};d.exports=i},7985:d=>{d.exports=Array.isArray},4260:(d,f,n)=>{var e=n(801),r=n(8161);d.exports=function a(h){return null!=h&&r(h.length)&&!e(h)}},3446:(d,f,n)=>{var e=n(8286),r=n(8419);d.exports=function h(c){return!0===c||!1===c||r(c)&&"[object Boolean]"==e(c)}},8340:(d,f,n)=>{d=n.nmd(d);var e=n(9905),r=n(9349),a=f&&!f.nodeType&&f,h=a&&d&&!d.nodeType&&d,i=h&&h.exports===a?e.Buffer:void 0;d.exports=(i?i.isBuffer:void 0)||r},801:(d,f,n)=>{var e=n(8286),r=n(4842);d.exports=function p(l){if(!r(l))return!1;var m=e(l);return"[object Function]"==m||"[object GeneratorFunction]"==m||"[object AsyncFunction]"==m||"[object Proxy]"==m}},8161:d=>{d.exports=function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},7547:d=>{d.exports=function f(n){return null===n}},6138:(d,f,n)=>{var e=n(8286),r=n(8419);d.exports=function h(c){return"number"==typeof c||r(c)&&"[object Number]"==e(c)}},4842:d=>{d.exports=function f(n){var e=typeof n;return null!=n&&("object"==e||"function"==e)}},8419:d=>{d.exports=function f(n){return null!=n&&"object"==typeof n}},4875:(d,f,n)=>{var e=n(8286),r=n(7768),a=n(8419),p=Function.prototype.toString,l=Object.prototype.hasOwnProperty,m=p.call(Object);d.exports=function g(_){if(!a(_)||"[object Object]"!=e(_))return!1;var T=r(_);if(null===T)return!0;var E=l.call(T,"constructor")&&T.constructor;return"function"==typeof E&&E instanceof E&&p.call(E)==m}},3373:(d,f,n)=>{var e=n(8286),r=n(7985),a=n(8419);d.exports=function c(i){return"string"==typeof i||!r(i)&&a(i)&&"[object String]"==e(i)}},744:(d,f,n)=>{var e=n(8286),r=n(8419);d.exports=function h(c){return"symbol"==typeof c||r(c)&&"[object Symbol]"==e(c)}},7852:(d,f,n)=>{var e=n(7908),r=n(8292),a=n(322),h=a&&a.isTypedArray,c=h?r(h):e;d.exports=c},1812:d=>{d.exports=function f(n){return void 0===n}},225:(d,f,n)=>{var e=n(6548),r=n(7564),a=n(4260);d.exports=function h(c){return a(c)?e(c,!0):r(c)}},7004:d=>{d.exports=function f(){}},1173:(d,f,n)=>{var r=n(8275)(function(a,h,c){return a+(c?"_":"")+h.toLowerCase()});d.exports=r},9349:d=>{d.exports=function f(){return!1}},283:(d,f,n)=>{var e=n(4225);d.exports=function r(a){return null==a?"":e(a)}},2682:(d,f,n)=>{var e=n(5857);d.exports=function r(a){return a&&a.length?e(a):[]}},8653:(d,f,n)=>{var e=n(4317),r=n(1009),a=n(283),h=n(5616);d.exports=function c(i,p,l){return i=a(i),void 0===(p=l?void 0:p)?r(i)?h(i):e(i):i.match(p)||[]}},2633:(d,f,n)=>{"use strict";n.r(f),n.d(f,{decode:()=>Ne,default:()=>Se,encode:()=>Be,toASCII:()=>re,toUnicode:()=>Ge,ucs2decode:()=>ne,ucs2encode:()=>Ce});const e=2147483647,r=36,g=/^xn--/,_=/[^\0-\x7E]/,T=/[\x2E\u3002\uFF0E\uFF61]/g,E={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},C=Math.floor,S=String.fromCharCode;function L(Z){throw new RangeError(E[Z])}function F(Z,Q){const ve=Z.split("@");let q="";ve.length>1&&(q=ve[0]+"@",Z=ve[1]);const Ae=function U(Z,Q){const ve=[];let q=Z.length;for(;q--;)ve[q]=Q(Z[q]);return ve}((Z=Z.replace(T,".")).split("."),Q).join(".");return q+Ae}function ne(Z){const Q=[];let ve=0;const q=Z.length;for(;ve<q;){const be=Z.charCodeAt(ve++);if(be>=55296&&be<=56319&&ve<q){const Ae=Z.charCodeAt(ve++);56320==(64512&Ae)?Q.push(((1023&be)<<10)+(1023&Ae)+65536):(Q.push(be),ve--)}else Q.push(be)}return Q}const Ce=Z=>String.fromCodePoint(...Z),Ve=function(Z){return Z-48<10?Z-22:Z-65<26?Z-65:Z-97<26?Z-97:r},Le=function(Z,Q){return Z+22+75*(Z<26)-((0!=Q)<<5)},We=function(Z,Q,ve){let q=0;for(Z=ve?C(Z/700):Z>>1,Z+=C(Z/Q);Z>455;q+=r)Z=C(Z/35);return C(q+36*Z/(Z+38))},Ne=function(Z){const Q=[],ve=Z.length;let q=0,be=128,Ae=72,Ue=Z.lastIndexOf("-");Ue<0&&(Ue=0);for(let ke=0;ke<Ue;++ke)Z.charCodeAt(ke)>=128&&L("not-basic"),Q.push(Z.charCodeAt(ke));for(let ke=Ue>0?Ue+1:0;ke<ve;){let ye=q;for(let me=1,Pe=r;;Pe+=r){ke>=ve&&L("invalid-input");const je=Ve(Z.charCodeAt(ke++));(je>=r||je>C((e-q)/me))&&L("overflow"),q+=je*me;const Ke=Pe<=Ae?1:Pe>=Ae+26?26:Pe-Ae;if(je<Ke)break;const Je=r-Ke;me>C(e/Je)&&L("overflow"),me*=Je}const Re=Q.length+1;Ae=We(q-ye,Re,0==ye),C(q/Re)>e-be&&L("overflow"),be+=C(q/Re),q%=Re,Q.splice(q++,0,be)}return String.fromCodePoint(...Q)},Be=function(Z){const Q=[];let ve=(Z=ne(Z)).length,q=128,be=0,Ae=72;for(const ye of Z)ye<128&&Q.push(S(ye));let Ue=Q.length,ke=Ue;for(Ue&&Q.push("-");ke<ve;){let ye=e;for(const me of Z)me>=q&&me<ye&&(ye=me);const Re=ke+1;ye-q>C((e-be)/Re)&&L("overflow"),be+=(ye-q)*Re,q=ye;for(const me of Z)if(me<q&&++be>e&&L("overflow"),me==q){let Pe=be;for(let je=r;;je+=r){const Ke=je<=Ae?1:je>=Ae+26?26:je-Ae;if(Pe<Ke)break;const Je=Pe-Ke,$e=r-Ke;Q.push(S(Le(Ke+Je%$e,0))),Pe=C(Je/$e)}Q.push(S(Le(Pe,0))),Ae=We(be,Re,ke==Ue),be=0,++ke}++be,++q}return Q.join("")},Ge=function(Z){return F(Z,function(Q){return g.test(Q)?Ne(Q.slice(4).toLowerCase()):Q})},re=function(Z){return F(Z,function(Q){return _.test(Q)?"xn--"+Be(Q):Q})},Se={version:"2.1.0",ucs2:{decode:ne,encode:Ce},decode:Ne,encode:Be,toASCII:re,toUnicode:Ge}},4505:(d,f,n)=>{"use strict";n.d(f,{X:()=>a});var e=n(7806),r=n(9086);class a extends e.xQ{constructor(c){super(),this._value=c}get value(){return this.getValue()}_subscribe(c){const i=super._subscribe(c);return i&&!i.closed&&c.next(this._value),i}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new r.N;return this._value}next(c){super.next(this._value=c)}}},5901:(d,f,n)=>{"use strict";n.d(f,{y:()=>_});var e=n(14),a=n(1482),h=n(9957),i=n(6831),p=n(1356);var g=n(146);let _=(()=>{class E{constructor(C){this._isScalar=!1,C&&(this._subscribe=C)}lift(C){const S=new E;return S.source=this,S.operator=C,S}subscribe(C,S,L){const{operator:U}=this,F=function c(E,x,C){if(E){if(E instanceof e.L)return E;if(E[a.b])return E[a.b]()}return E||x||C?new e.L(E,x,C):new e.L(h.c)}(C,S,L);if(F.add(U?U.call(F,this.source):this.source||g.v.useDeprecatedSynchronousErrorHandling&&!F.syncErrorThrowable?this._subscribe(F):this._trySubscribe(F)),g.v.useDeprecatedSynchronousErrorHandling&&F.syncErrorThrowable&&(F.syncErrorThrowable=!1,F.syncErrorThrown))throw F.syncErrorValue;return F}_trySubscribe(C){try{return this._subscribe(C)}catch(S){g.v.useDeprecatedSynchronousErrorHandling&&(C.syncErrorThrown=!0,C.syncErrorValue=S),function r(E){for(;E;){const{closed:x,destination:C,isStopped:S}=E;if(x||S)return!1;E=C&&C instanceof e.L?C:null}return!0}(C)?C.error(S):console.warn(S)}}forEach(C,S){return new(S=T(S))((L,U)=>{let F;F=this.subscribe(ne=>{try{C(ne)}catch(Ce){U(Ce),F&&F.unsubscribe()}},U,L)})}_subscribe(C){const{source:S}=this;return S&&S.subscribe(C)}[i.L](){return this}pipe(...C){return 0===C.length?this:function m(E){return 0===E.length?p.y:1===E.length?E[0]:function(C){return E.reduce((S,L)=>L(S),C)}}(C)(this)}toPromise(C){return new(C=T(C))((S,L)=>{let U;this.subscribe(F=>U=F,F=>L(F),()=>S(U))})}}return E.create=x=>new E(x),E})();function T(E){if(E||(E=g.v.Promise||Promise),!E)throw new Error("no Promise impl found");return E}},9957:(d,f,n)=>{"use strict";n.d(f,{c:()=>a});var e=n(146),r=n(8897);const a={closed:!0,next(h){},error(h){if(e.v.useDeprecatedSynchronousErrorHandling)throw h;(0,r.z)(h)},complete(){}}},7806:(d,f,n)=>{"use strict";n.d(f,{xQ:()=>l,Yc:()=>p});var e=n(5901),r=n(14),a=n(6957),h=n(9086);class c extends a.w{constructor(_,T){super(),this.subject=_,this.subscriber=T,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const _=this.subject,T=_.observers;if(this.subject=null,!T||0===T.length||_.isStopped||_.closed)return;const E=T.indexOf(this.subscriber);-1!==E&&T.splice(E,1)}}var i=n(1482);class p extends r.L{constructor(_){super(_),this.destination=_}}let l=(()=>{class g extends e.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[i.b](){return new p(this)}lift(T){const E=new m(this,this);return E.operator=T,E}next(T){if(this.closed)throw new h.N;if(!this.isStopped){const{observers:E}=this,x=E.length,C=E.slice();for(let S=0;S<x;S++)C[S].next(T)}}error(T){if(this.closed)throw new h.N;this.hasError=!0,this.thrownError=T,this.isStopped=!0;const{observers:E}=this,x=E.length,C=E.slice();for(let S=0;S<x;S++)C[S].error(T);this.observers.length=0}complete(){if(this.closed)throw new h.N;this.isStopped=!0;const{observers:T}=this,E=T.length,x=T.slice();for(let C=0;C<E;C++)x[C].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(T){if(this.closed)throw new h.N;return super._trySubscribe(T)}_subscribe(T){if(this.closed)throw new h.N;return this.hasError?(T.error(this.thrownError),a.w.EMPTY):this.isStopped?(T.complete(),a.w.EMPTY):(this.observers.push(T),new c(this,T))}asObservable(){const T=new e.y;return T.source=this,T}}return g.create=(_,T)=>new m(_,T),g})();class m extends l{constructor(_,T){super(),this.destination=_,this.source=T}next(_){const{destination:T}=this;T&&T.next&&T.next(_)}error(_){const{destination:T}=this;T&&T.error&&this.destination.error(_)}complete(){const{destination:_}=this;_&&_.complete&&this.destination.complete()}_subscribe(_){const{source:T}=this;return T?this.source.subscribe(_):a.w.EMPTY}}},14:(d,f,n)=>{"use strict";n.d(f,{L:()=>p});var e=n(1900),r=n(9957),a=n(6957),h=n(1482),c=n(146),i=n(8897);class p extends a.w{constructor(g,_,T){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=r.c;break;case 1:if(!g){this.destination=r.c;break}if("object"==typeof g){g instanceof p?(this.syncErrorThrowable=g.syncErrorThrowable,this.destination=g,g.add(this)):(this.syncErrorThrowable=!0,this.destination=new l(this,g));break}default:this.syncErrorThrowable=!0,this.destination=new l(this,g,_,T)}}[h.b](){return this}static create(g,_,T){const E=new p(g,_,T);return E.syncErrorThrowable=!1,E}next(g){this.isStopped||this._next(g)}error(g){this.isStopped||(this.isStopped=!0,this._error(g))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(g){this.destination.next(g)}_error(g){this.destination.error(g),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:g}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=g,this}}class l extends p{constructor(g,_,T,E){super(),this._parentSubscriber=g;let x,C=this;(0,e.m)(_)?x=_:_&&(x=_.next,T=_.error,E=_.complete,_!==r.c&&(C=Object.create(_),(0,e.m)(C.unsubscribe)&&this.add(C.unsubscribe.bind(C)),C.unsubscribe=this.unsubscribe.bind(this))),this._context=C,this._next=x,this._error=T,this._complete=E}next(g){if(!this.isStopped&&this._next){const{_parentSubscriber:_}=this;c.v.useDeprecatedSynchronousErrorHandling&&_.syncErrorThrowable?this.__tryOrSetError(_,this._next,g)&&this.unsubscribe():this.__tryOrUnsub(this._next,g)}}error(g){if(!this.isStopped){const{_parentSubscriber:_}=this,{useDeprecatedSynchronousErrorHandling:T}=c.v;if(this._error)T&&_.syncErrorThrowable?(this.__tryOrSetError(_,this._error,g),this.unsubscribe()):(this.__tryOrUnsub(this._error,g),this.unsubscribe());else if(_.syncErrorThrowable)T?(_.syncErrorValue=g,_.syncErrorThrown=!0):(0,i.z)(g),this.unsubscribe();else{if(this.unsubscribe(),T)throw g;(0,i.z)(g)}}}complete(){if(!this.isStopped){const{_parentSubscriber:g}=this;if(this._complete){const _=()=>this._complete.call(this._context);c.v.useDeprecatedSynchronousErrorHandling&&g.syncErrorThrowable?(this.__tryOrSetError(g,_),this.unsubscribe()):(this.__tryOrUnsub(_),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(g,_){try{g.call(this._context,_)}catch(T){if(this.unsubscribe(),c.v.useDeprecatedSynchronousErrorHandling)throw T;(0,i.z)(T)}}__tryOrSetError(g,_,T){if(!c.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{_.call(this._context,T)}catch(E){return c.v.useDeprecatedSynchronousErrorHandling?(g.syncErrorValue=E,g.syncErrorThrown=!0,!0):((0,i.z)(E),!0)}return!1}_unsubscribe(){const{_parentSubscriber:g}=this;this._context=null,this._parentSubscriber=null,g.unsubscribe()}}},6957:(d,f,n)=>{"use strict";n.d(f,{w:()=>i});var e=n(4327),r=n(6549),a=n(1900);const c=(()=>{function l(m){return Error.call(this),this.message=m?`${m.length} errors occurred during unsubscription:\n${m.map((g,_)=>`${_+1}) ${g.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=m,this}return l.prototype=Object.create(Error.prototype),l})();class i{constructor(m){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,m&&(this._ctorUnsubscribe=!0,this._unsubscribe=m)}unsubscribe(){let m;if(this.closed)return;let{_parentOrParents:g,_ctorUnsubscribe:_,_unsubscribe:T,_subscriptions:E}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,g instanceof i)g.remove(this);else if(null!==g)for(let x=0;x<g.length;++x)g[x].remove(this);if((0,a.m)(T)){_&&(this._unsubscribe=void 0);try{T.call(this)}catch(x){m=x instanceof c?p(x.errors):[x]}}if((0,e.k)(E)){let x=-1,C=E.length;for(;++x<C;){const S=E[x];if((0,r.K)(S))try{S.unsubscribe()}catch(L){m=m||[],L instanceof c?m=m.concat(p(L.errors)):m.push(L)}}}if(m)throw new c(m)}add(m){let g=m;if(!m)return i.EMPTY;switch(typeof m){case"function":g=new i(m);case"object":if(g===this||g.closed||"function"!=typeof g.unsubscribe)return g;if(this.closed)return g.unsubscribe(),g;if(!(g instanceof i)){const E=g;g=new i,g._subscriptions=[E]}break;default:throw new Error("unrecognized teardown "+m+" added to Subscription.")}let{_parentOrParents:_}=g;if(null===_)g._parentOrParents=this;else if(_ instanceof i){if(_===this)return g;g._parentOrParents=[_,this]}else{if(-1!==_.indexOf(this))return g;_.push(this)}const T=this._subscriptions;return null===T?this._subscriptions=[g]:T.push(g),g}remove(m){const g=this._subscriptions;if(g){const _=g.indexOf(m);-1!==_&&g.splice(_,1)}}}var l;function p(l){return l.reduce((m,g)=>m.concat(g instanceof c?g.errors:g),[])}i.EMPTY=((l=new i).closed=!0,l)},146:(d,f,n)=>{"use strict";n.d(f,{v:()=>r});let e=!1;const r={Promise:void 0,set useDeprecatedSynchronousErrorHandling(a){if(a){const h=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+h.stack)}else e&&console.log("RxJS: Back to a better error behavior. Thank you. <3");e=a},get useDeprecatedSynchronousErrorHandling(){return e}}},2831:(d,f,n)=>{"use strict";n.d(f,{Ds:()=>i,IY:()=>h,ft:()=>l});var e=n(14),r=n(5901),a=n(3956);class h extends e.L{constructor(g){super(),this.parent=g}_next(g){this.parent.notifyNext(g)}_error(g){this.parent.notifyError(g),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class i extends e.L{notifyNext(g){this.destination.next(g)}notifyError(g){this.destination.error(g)}notifyComplete(){this.destination.complete()}}function l(m,g){if(g.closed)return;if(m instanceof r.y)return m.subscribe(g);let _;try{_=(0,a.s)(m)(g)}catch(T){g.error(T)}return _}},4483:(d,f,n)=>{"use strict";n.d(f,{N:()=>i,c:()=>c});var e=n(7806),r=n(5901),a=n(6957),h=n(8331);class c extends r.y{constructor(_,T){super(),this.source=_,this.subjectFactory=T,this._refCount=0,this._isComplete=!1}_subscribe(_){return this.getSubject().subscribe(_)}getSubject(){const _=this._subject;return(!_||_.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let _=this._connection;return _||(this._isComplete=!1,_=this._connection=new a.w,_.add(this.source.subscribe(new p(this.getSubject(),this))),_.closed&&(this._connection=null,_=a.w.EMPTY)),_}refCount(){return(0,h.x)()(this)}}const i=(()=>{const g=c.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:g._subscribe},_isComplete:{value:g._isComplete,writable:!0},getSubject:{value:g.getSubject},connect:{value:g.connect},refCount:{value:g.refCount}}})();class p extends e.Yc{constructor(_,T){super(_),this.connectable=T}_error(_){this._unsubscribe(),super._error(_)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const _=this.connectable;if(_){this.connectable=null;const T=_._connection;_._refCount=0,_._subject=null,_._connection=null,T&&T.unsubscribe()}}}},7716:(d,f,n)=>{"use strict";n.d(f,{aj:()=>_});var e=n(7507),r=n(4327),a=n(14);class h extends a.L{notifyNext(C,S,L,U,F){this.destination.next(S)}notifyError(C,S){this.destination.error(C)}notifyComplete(C){this.destination.complete()}}class c extends a.L{constructor(C,S,L){super(),this.parent=C,this.outerValue=S,this.outerIndex=L,this.index=0}_next(C){this.parent.notifyNext(this.outerValue,C,this.outerIndex,this.index++,this)}_error(C){this.parent.notifyError(C,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var i=n(3956),p=n(5901);function l(x,C,S,L,U=new c(x,S,L)){if(!U.closed)return C instanceof p.y?C.subscribe(U):(0,i.s)(C)(U)}var m=n(8005);const g={};function _(...x){let C,S;return(0,e.K)(x[x.length-1])&&(S=x.pop()),"function"==typeof x[x.length-1]&&(C=x.pop()),1===x.length&&(0,r.k)(x[0])&&(x=x[0]),(0,m.n)(x,S).lift(new T(C))}class T{constructor(C){this.resultSelector=C}call(C,S){return S.subscribe(new E(C,this.resultSelector))}}class E extends h{constructor(C,S){super(C),this.resultSelector=S,this.active=0,this.values=[],this.observables=[]}_next(C){this.values.push(g),this.observables.push(C)}_complete(){const C=this.observables,S=C.length;if(0===S)this.destination.complete();else{this.active=S,this.toRespond=S;for(let L=0;L<S;L++)this.add(l(this,C[L],void 0,L))}}notifyComplete(C){0==(this.active-=1)&&this.destination.complete()}notifyNext(C,S,L){const U=this.values,ne=this.toRespond?U[L]===g?--this.toRespond:this.toRespond:0;U[L]=S,0===ne&&(this.resultSelector?this._tryResultSelector(U):this.destination.next(U.slice()))}_tryResultSelector(C){let S;try{S=this.resultSelector.apply(this,C)}catch(L){return void this.destination.error(L)}this.destination.next(S)}}},7283:(d,f,n)=>{"use strict";n.d(f,{z:()=>h});var e=n(4139),r=n(6675);function h(...c){return function a(){return(0,r.J)(1)}()((0,e.of)(...c))}},1635:(d,f,n)=>{"use strict";n.d(f,{P:()=>h});var e=n(5901),r=n(4858),a=n(6439);function h(c){return new e.y(i=>{let p;try{p=c()}catch(m){return void i.error(m)}return(p?(0,r.D)(p):(0,a.c)()).subscribe(i)})}},6439:(d,f,n)=>{"use strict";n.d(f,{E:()=>r,c:()=>a});var e=n(5901);const r=new e.y(c=>c.complete());function a(c){return c?function h(c){return new e.y(i=>c.schedule(()=>i.complete()))}(c):r}},4350:(d,f,n)=>{"use strict";n.d(f,{D:()=>i});var e=n(5901),r=n(4327),a=n(6942),h=n(6549),c=n(4858);function i(...l){if(1===l.length){const m=l[0];if((0,r.k)(m))return p(m,null);if((0,h.K)(m)&&Object.getPrototypeOf(m)===Object.prototype){const g=Object.keys(m);return p(g.map(_=>m[_]),g)}}if("function"==typeof l[l.length-1]){const m=l.pop();return p(l=1===l.length&&(0,r.k)(l[0])?l[0]:l,null).pipe((0,a.U)(g=>m(...g)))}return p(l,null)}function p(l,m){return new e.y(g=>{const _=l.length;if(0===_)return void g.complete();const T=new Array(_);let E=0,x=0;for(let C=0;C<_;C++){const S=(0,c.D)(l[C]);let L=!1;g.add(S.subscribe({next:U=>{L||(L=!0,x++),T[C]=U},error:U=>g.error(U),complete:()=>{E++,(E===_||!L)&&(x===_&&g.next(m?m.reduce((U,F,ne)=>(U[F]=T[ne],U),{}):T),g.complete())}}))}})}},4858:(d,f,n)=>{"use strict";n.d(f,{D:()=>C});var e=n(5901),r=n(3956),a=n(6957),h=n(6831),p=n(8403),l=n(2803),_=n(5192),T=n(5122);function C(S,L){return L?function x(S,L){if(null!=S){if(function g(S){return S&&"function"==typeof S[h.L]}(S))return function c(S,L){return new e.y(U=>{const F=new a.w;return F.add(L.schedule(()=>{const ne=S[h.L]();F.add(ne.subscribe({next(Ce){F.add(L.schedule(()=>U.next(Ce)))},error(Ce){F.add(L.schedule(()=>U.error(Ce)))},complete(){F.add(L.schedule(()=>U.complete()))}}))})),F})}(S,L);if((0,_.t)(S))return function i(S,L){return new e.y(U=>{const F=new a.w;return F.add(L.schedule(()=>S.then(ne=>{F.add(L.schedule(()=>{U.next(ne),F.add(L.schedule(()=>U.complete()))}))},ne=>{F.add(L.schedule(()=>U.error(ne)))}))),F})}(S,L);if((0,T.z)(S))return(0,p.r)(S,L);if(function E(S){return S&&"function"==typeof S[l.hZ]}(S)||"string"==typeof S)return function m(S,L){if(!S)throw new Error("Iterable cannot be null");return new e.y(U=>{const F=new a.w;let ne;return F.add(()=>{ne&&"function"==typeof ne.return&&ne.return()}),F.add(L.schedule(()=>{ne=S[l.hZ](),F.add(L.schedule(function(){if(U.closed)return;let Ce,Ve;try{const Le=ne.next();Ce=Le.value,Ve=Le.done}catch(Le){return void U.error(Le)}Ve?U.complete():(U.next(Ce),this.schedule())}))})),F})}(S,L)}throw new TypeError((null!==S&&typeof S||S)+" is not observable")}(S,L):S instanceof e.y?S:new e.y((0,r.s)(S))}},8005:(d,f,n)=>{"use strict";n.d(f,{n:()=>h});var e=n(5901),r=n(5414),a=n(8403);function h(c,i){return i?(0,a.r)(c,i):new e.y((0,r.V)(c))}},6312:(d,f,n)=>{"use strict";n.d(f,{R:()=>i});var e=n(5901),r=n(4327),a=n(1900),h=n(6942);function i(_,T,E,x){return(0,a.m)(E)&&(x=E,E=void 0),x?i(_,T,E).pipe((0,h.U)(C=>(0,r.k)(C)?x(...C):x(C))):new e.y(C=>{p(_,T,function S(L){C.next(arguments.length>1?Array.prototype.slice.call(arguments):L)},C,E)})}function p(_,T,E,x,C){let S;if(function g(_){return _&&"function"==typeof _.addEventListener&&"function"==typeof _.removeEventListener}(_)){const L=_;_.addEventListener(T,E,C),S=()=>L.removeEventListener(T,E,C)}else if(function m(_){return _&&"function"==typeof _.on&&"function"==typeof _.off}(_)){const L=_;_.on(T,E),S=()=>L.off(T,E)}else if(function l(_){return _&&"function"==typeof _.addListener&&"function"==typeof _.removeListener}(_)){const L=_;_.addListener(T,E),S=()=>L.removeListener(T,E)}else{if(!_||!_.length)throw new TypeError("Invalid event target");for(let L=0,U=_.length;L<U;L++)p(_[L],T,E,x,C)}x.add(S)}},3491:(d,f,n)=>{"use strict";n.d(f,{F:()=>h});var e=n(5901),r=n(328),a=n(7269);function h(i=0,p=r.P){return(!(0,a.k)(i)||i<0)&&(i=0),(!p||"function"!=typeof p.schedule)&&(p=r.P),new e.y(l=>(l.add(p.schedule(c,i,{subscriber:l,counter:0,period:i})),l))}function c(i){const{subscriber:p,counter:l,period:m}=i;p.next(l),this.schedule({subscriber:p,counter:l+1,period:m},m)}},8623:(d,f,n)=>{"use strict";n.d(f,{T:()=>c});var e=n(5901),r=n(7507),a=n(6675),h=n(8005);function c(...i){let p=Number.POSITIVE_INFINITY,l=null,m=i[i.length-1];return(0,r.K)(m)?(l=i.pop(),i.length>1&&"number"==typeof i[i.length-1]&&(p=i.pop())):"number"==typeof m&&(p=i.pop()),null===l&&1===i.length&&i[0]instanceof e.y?i[0]:(0,a.J)(p)((0,h.n)(i,l))}},4139:(d,f,n)=>{"use strict";n.d(f,{of:()=>h});var e=n(7507),r=n(8005),a=n(8403);function h(...c){let i=c[c.length-1];return(0,e.K)(i)?(c.pop(),(0,a.r)(c,i)):(0,r.n)(c)}},6587:(d,f,n)=>{"use strict";n.d(f,{_:()=>r});var e=n(5901);function r(h,c){return new e.y(c?i=>c.schedule(a,0,{error:h,subscriber:i}):i=>i.error(h))}function a({error:h,subscriber:c}){c.error(h)}},9727:(d,f,n)=>{"use strict";n.d(f,{$R:()=>i});var e=n(8005),r=n(4327),a=n(14),h=n(2803),c=n(2831);function i(...T){const E=T[T.length-1];return"function"==typeof E&&T.pop(),(0,e.n)(T,void 0).lift(new p(E))}class p{constructor(E){this.resultSelector=E}call(E,x){return x.subscribe(new l(E,this.resultSelector))}}class l extends a.L{constructor(E,x,C=Object.create(null)){super(E),this.resultSelector=x,this.iterators=[],this.active=0,this.resultSelector="function"==typeof x?x:void 0}_next(E){const x=this.iterators;(0,r.k)(E)?x.push(new g(E)):x.push("function"==typeof E[h.hZ]?new m(E[h.hZ]()):new _(this.destination,this,E))}_complete(){const E=this.iterators,x=E.length;if(this.unsubscribe(),0!==x){this.active=x;for(let C=0;C<x;C++){let S=E[C];S.stillUnsubscribed?this.destination.add(S.subscribe()):this.active--}}else this.destination.complete()}notifyInactive(){this.active--,0===this.active&&this.destination.complete()}checkIterators(){const E=this.iterators,x=E.length,C=this.destination;for(let U=0;U<x;U++){let F=E[U];if("function"==typeof F.hasValue&&!F.hasValue())return}let S=!1;const L=[];for(let U=0;U<x;U++){let F=E[U],ne=F.next();if(F.hasCompleted()&&(S=!0),ne.done)return void C.complete();L.push(ne.value)}this.resultSelector?this._tryresultSelector(L):C.next(L),S&&C.complete()}_tryresultSelector(E){let x;try{x=this.resultSelector.apply(this,E)}catch(C){return void this.destination.error(C)}this.destination.next(x)}}class m{constructor(E){this.iterator=E,this.nextResult=E.next()}hasValue(){return!0}next(){const E=this.nextResult;return this.nextResult=this.iterator.next(),E}hasCompleted(){const E=this.nextResult;return Boolean(E&&E.done)}}class g{constructor(E){this.array=E,this.index=0,this.length=0,this.length=E.length}[h.hZ](){return this}next(E){const x=this.index++;return x<this.length?{value:this.array[x],done:!1}:{value:null,done:!0}}hasValue(){return this.array.length>this.index}hasCompleted(){return this.array.length===this.index}}class _ extends c.Ds{constructor(E,x,C){super(E),this.parent=x,this.observable=C,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}[h.hZ](){return this}next(){const E=this.buffer;return 0===E.length&&this.isComplete?{value:null,done:!0}:{value:E.shift(),done:!1}}hasValue(){return this.buffer.length>0}hasCompleted(){return 0===this.buffer.length&&this.isComplete}notifyComplete(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}notifyNext(E){this.buffer.push(E),this.parent.checkIterators()}subscribe(){return(0,c.ft)(this.observable,new c.IY(this))}}},7418:(d,f,n)=>{"use strict";n.d(f,{K:()=>r});var e=n(2831);function r(c){return function(p){const l=new a(c),m=p.lift(l);return l.caught=m}}class a{constructor(i){this.selector=i}call(i,p){return p.subscribe(new h(i,this.selector,this.caught))}}class h extends e.Ds{constructor(i,p,l){super(i),this.selector=p,this.caught=l}error(i){if(!this.isStopped){let p;try{p=this.selector(i,this.caught)}catch(g){return void super.error(g)}this._unsubscribeAndRecycle();const l=new e.IY(this);this.add(l);const m=(0,e.ft)(p,l);m!==l&&this.add(m)}}}},1133:(d,f,n)=>{"use strict";n.d(f,{b:()=>r});var e=n(522);function r(a,h){return(0,e.zg)(a,h,1)}},9701:(d,f,n)=>{"use strict";n.d(f,{d:()=>r});var e=n(14);function r(c=null){return i=>i.lift(new a(c))}class a{constructor(i){this.defaultValue=i}call(i,p){return p.subscribe(new h(i,this.defaultValue))}}class h extends e.L{constructor(i,p){super(i),this.defaultValue=p,this.isEmpty=!0}_next(i){this.isEmpty=!1,this.destination.next(i)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},5152:(d,f,n)=>{"use strict";n.d(f,{g:()=>m});var e=n(328),a=n(14),h=n(6439),c=n(4139),i=n(6587);class l{constructor(x,C,S){this.kind=x,this.value=C,this.error=S,this.hasValue="N"===x}observe(x){switch(this.kind){case"N":return x.next&&x.next(this.value);case"E":return x.error&&x.error(this.error);case"C":return x.complete&&x.complete()}}do(x,C,S){switch(this.kind){case"N":return x&&x(this.value);case"E":return C&&C(this.error);case"C":return S&&S()}}accept(x,C,S){return x&&"function"==typeof x.next?this.observe(x):this.do(x,C,S)}toObservable(){switch(this.kind){case"N":return(0,c.of)(this.value);case"E":return(0,i._)(this.error);case"C":return(0,h.c)()}throw new Error("unexpected notification kind value")}static createNext(x){return typeof x<"u"?new l("N",x):l.undefinedValueNotification}static createError(x){return new l("E",void 0,x)}static createComplete(){return l.completeNotification}}function m(E,x=e.P){const S=function r(E){return E instanceof Date&&!isNaN(+E)}(E)?+E-x.now():Math.abs(E);return L=>L.lift(new g(S,x))}l.completeNotification=new l("C"),l.undefinedValueNotification=new l("N",void 0);class g{constructor(x,C){this.delay=x,this.scheduler=C}call(x,C){return C.subscribe(new _(x,this.delay,this.scheduler))}}class _ extends a.L{constructor(x,C,S){super(x),this.delay=C,this.scheduler=S,this.queue=[],this.active=!1,this.errored=!1}static dispatch(x){const C=x.source,S=C.queue,L=x.scheduler,U=x.destination;for(;S.length>0&&S[0].time-L.now()<=0;)S.shift().notification.observe(U);if(S.length>0){const F=Math.max(0,S[0].time-L.now());this.schedule(x,F)}else this.unsubscribe(),C.active=!1}_schedule(x){this.active=!0,this.destination.add(x.schedule(_.dispatch,this.delay,{source:this,destination:this.destination,scheduler:x}))}scheduleNotification(x){if(!0===this.errored)return;const C=this.scheduler,S=new T(C.now()+this.delay,x);this.queue.push(S),!1===this.active&&this._schedule(C)}_next(x){this.scheduleNotification(l.createNext(x))}_error(x){this.errored=!0,this.queue=[],this.destination.error(x),this.unsubscribe()}_complete(){this.scheduleNotification(l.createComplete()),this.unsubscribe()}}class T{constructor(x,C){this.time=x,this.notification=C}}},9151:(d,f,n)=>{"use strict";n.d(f,{h:()=>r});var e=n(14);function r(c,i){return function(l){return l.lift(new a(c,i))}}class a{constructor(i,p){this.predicate=i,this.thisArg=p}call(i,p){return p.subscribe(new h(i,this.predicate,this.thisArg))}}class h extends e.L{constructor(i,p,l){super(i),this.predicate=p,this.thisArg=l,this.count=0}_next(i){let p;try{p=this.predicate.call(this.thisArg,i,this.count++)}catch(l){return void this.destination.error(l)}p&&this.destination.next(i)}}},4661:(d,f,n)=>{"use strict";n.d(f,{x:()=>a});var e=n(14),r=n(6957);function a(i){return p=>p.lift(new h(i))}class h{constructor(p){this.callback=p}call(p,l){return l.subscribe(new c(p,this.callback))}}class c extends e.L{constructor(p,l){super(p),this.add(new r.w(l))}}},5670:(d,f,n)=>{"use strict";n.d(f,{P:()=>p});var e=n(213),r=n(9151),a=n(3910),h=n(9701),c=n(2013),i=n(1356);function p(l,m){const g=arguments.length>=2;return _=>_.pipe(l?(0,r.h)((T,E)=>l(T,E,_)):i.y,(0,a.q)(1),g?(0,h.d)(m):(0,c.T)(()=>new e.K))}},5690:(d,f,n)=>{"use strict";n.d(f,{Z:()=>p});var e=n(213),r=n(9151),a=n(2160),h=n(2013),c=n(9701),i=n(1356);function p(l,m){const g=arguments.length>=2;return _=>_.pipe(l?(0,r.h)((T,E)=>l(T,E,_)):i.y,(0,a.h)(1),g?(0,c.d)(m):(0,h.T)(()=>new e.K))}},6942:(d,f,n)=>{"use strict";n.d(f,{U:()=>r});var e=n(14);function r(c,i){return function(l){if("function"!=typeof c)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return l.lift(new a(c,i))}}class a{constructor(i,p){this.project=i,this.thisArg=p}call(i,p){return p.subscribe(new h(i,this.project,this.thisArg))}}class h extends e.L{constructor(i,p,l){super(i),this.project=p,this.count=0,this.thisArg=l||this}_next(i){let p;try{p=this.project.call(this.thisArg,i,this.count++)}catch(l){return void this.destination.error(l)}this.destination.next(p)}}},6675:(d,f,n)=>{"use strict";n.d(f,{J:()=>a});var e=n(522),r=n(1356);function a(h=Number.POSITIVE_INFINITY){return(0,e.zg)(r.y,h)}},522:(d,f,n)=>{"use strict";n.d(f,{zg:()=>h});var e=n(6942),r=n(4858),a=n(2831);function h(l,m,g=Number.POSITIVE_INFINITY){return"function"==typeof m?_=>_.pipe(h((T,E)=>(0,r.D)(l(T,E)).pipe((0,e.U)((x,C)=>m(T,x,E,C))),g)):("number"==typeof m&&(g=m),_=>_.lift(new c(l,g)))}class c{constructor(m,g=Number.POSITIVE_INFINITY){this.project=m,this.concurrent=g}call(m,g){return g.subscribe(new i(m,this.project,this.concurrent))}}class i extends a.Ds{constructor(m,g,_=Number.POSITIVE_INFINITY){super(m),this.project=g,this.concurrent=_,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(m){this.active<this.concurrent?this._tryNext(m):this.buffer.push(m)}_tryNext(m){let g;const _=this.index++;try{g=this.project(m,_)}catch(T){return void this.destination.error(T)}this.active++,this._innerSub(g)}_innerSub(m){const g=new a.IY(this),_=this.destination;_.add(g);const T=(0,a.ft)(m,g);T!==g&&_.add(T)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(m){this.destination.next(m)}notifyComplete(){const m=this.buffer;this.active--,m.length>0?this._next(m.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},8331:(d,f,n)=>{"use strict";n.d(f,{x:()=>r});var e=n(14);function r(){return function(i){return i.lift(new a(i))}}class a{constructor(i){this.connectable=i}call(i,p){const{connectable:l}=this;l._refCount++;const m=new h(i,l),g=p.subscribe(m);return m.closed||(m.connection=l.connect()),g}}class h extends e.L{constructor(i,p){super(i),this.connectable=p}_unsubscribe(){const{connectable:i}=this;if(!i)return void(this.connection=null);this.connectable=null;const p=i._refCount;if(p<=0)return void(this.connection=null);if(i._refCount=p-1,p>1)return void(this.connection=null);const{connection:l}=this,m=i._connection;this.connection=null,m&&(!l||m===l)&&m.unsubscribe()}}},2647:(d,f,n)=>{"use strict";n.d(f,{R:()=>r});var e=n(14);function r(c,i){let p=!1;return arguments.length>=2&&(p=!0),function(m){return m.lift(new a(c,i,p))}}class a{constructor(i,p,l=!1){this.accumulator=i,this.seed=p,this.hasSeed=l}call(i,p){return p.subscribe(new h(i,this.accumulator,this.seed,this.hasSeed))}}class h extends e.L{constructor(i,p,l,m){super(i),this.accumulator=p,this._seed=l,this.hasSeed=m,this.index=0}get seed(){return this._seed}set seed(i){this.hasSeed=!0,this._seed=i}_next(i){if(this.hasSeed)return this._tryNext(i);this.seed=i,this.destination.next(i)}_tryNext(i){const p=this.index++;let l;try{l=this.accumulator(this.seed,i,p)}catch(m){this.destination.error(m)}this.seed=l,this.destination.next(l)}}},4043:(d,f,n)=>{"use strict";n.d(f,{B:()=>p});var e=n(4483);class a{constructor(m,g){this.subjectFactory=m,this.selector=g}call(m,g){const{selector:_}=this,T=this.subjectFactory(),E=_(T).subscribe(m);return E.add(g.subscribe(T)),E}}var h=n(8331),c=n(7806);function i(){return new c.xQ}function p(){return l=>(0,h.x)()(function r(l,m){return function(_){let T;if(T="function"==typeof l?l:function(){return l},"function"==typeof m)return _.lift(new a(T,m));const E=Object.create(_,e.N);return E.source=_,E.subjectFactory=T,E}}(i)(l))}},4671:(d,f,n)=>{"use strict";n.d(f,{n:()=>r});var e=n(14);function r(c){return i=>i.lift(new a(c))}class a{constructor(i){this.predicate=i}call(i,p){return p.subscribe(new h(i,this.predicate))}}class h extends e.L{constructor(i,p){super(i),this.predicate=p,this.skipping=!0,this.index=0}_next(i){const p=this.destination;this.skipping&&this.tryCallPredicate(i),this.skipping||p.next(i)}tryCallPredicate(i){try{const p=this.predicate(i,this.index++);this.skipping=Boolean(p)}catch(p){this.destination.error(p)}}}},5722:(d,f,n)=>{"use strict";n.d(f,{O:()=>a});var e=n(7283),r=n(7507);function a(...h){const c=h[h.length-1];return(0,r.K)(c)?(h.pop(),i=>(0,e.z)(h,i,c)):i=>(0,e.z)(h,i)}},9095:(d,f,n)=>{"use strict";n.d(f,{w:()=>h});var e=n(6942),r=n(4858),a=n(2831);function h(p,l){return"function"==typeof l?m=>m.pipe(h((g,_)=>(0,r.D)(p(g,_)).pipe((0,e.U)((T,E)=>l(g,T,_,E))))):m=>m.lift(new c(p))}class c{constructor(l){this.project=l}call(l,m){return m.subscribe(new i(l,this.project))}}class i extends a.Ds{constructor(l,m){super(l),this.project=m,this.index=0}_next(l){let m;const g=this.index++;try{m=this.project(l,g)}catch(_){return void this.destination.error(_)}this._innerSub(m)}_innerSub(l){const m=this.innerSubscription;m&&m.unsubscribe();const g=new a.IY(this),_=this.destination;_.add(g),this.innerSubscription=(0,a.ft)(l,g),this.innerSubscription!==g&&_.add(this.innerSubscription)}_complete(){const{innerSubscription:l}=this;(!l||l.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(l){this.destination.next(l)}}},3910:(d,f,n)=>{"use strict";n.d(f,{q:()=>h});var e=n(14),r=n(2846),a=n(6439);function h(p){return l=>0===p?(0,a.c)():l.lift(new c(p))}class c{constructor(l){if(this.total=l,this.total<0)throw new r.W}call(l,m){return m.subscribe(new i(l,this.total))}}class i extends e.L{constructor(l,m){super(l),this.total=m,this.count=0}_next(l){const m=this.total,g=++this.count;g<=m&&(this.destination.next(l),g===m&&(this.destination.complete(),this.unsubscribe()))}}},2160:(d,f,n)=>{"use strict";n.d(f,{h:()=>h});var e=n(14),r=n(2846),a=n(6439);function h(p){return function(m){return 0===p?(0,a.c)():m.lift(new c(p))}}class c{constructor(l){if(this.total=l,this.total<0)throw new r.W}call(l,m){return m.subscribe(new i(l,this.total))}}class i extends e.L{constructor(l,m){super(l),this.total=m,this.ring=new Array,this.count=0}_next(l){const m=this.ring,g=this.total,_=this.count++;m.length<g?m.push(l):m[_%g]=l}_complete(){const l=this.destination;let m=this.count;if(m>0){const g=this.count>=this.total?this.total:this.count,_=this.ring;for(let T=0;T<g;T++){const E=m++%g;l.next(_[E])}}l.complete()}}},2692:(d,f,n)=>{"use strict";n.d(f,{b:()=>h});var e=n(14);function r(){}var a=n(1900);function h(p,l,m){return function(_){return _.lift(new c(p,l,m))}}class c{constructor(l,m,g){this.nextOrObserver=l,this.error=m,this.complete=g}call(l,m){return m.subscribe(new i(l,this.nextOrObserver,this.error,this.complete))}}class i extends e.L{constructor(l,m,g,_){super(l),this._tapNext=r,this._tapError=r,this._tapComplete=r,this._tapError=g||r,this._tapComplete=_||r,(0,a.m)(m)?(this._context=this,this._tapNext=m):m&&(this._context=m,this._tapNext=m.next||r,this._tapError=m.error||r,this._tapComplete=m.complete||r)}_next(l){try{this._tapNext.call(this._context,l)}catch(m){return void this.destination.error(m)}this.destination.next(l)}_error(l){try{this._tapError.call(this._context,l)}catch(m){return void this.destination.error(m)}this.destination.error(l)}_complete(){try{this._tapComplete.call(this._context)}catch(l){return void this.destination.error(l)}return this.destination.complete()}}},2013:(d,f,n)=>{"use strict";n.d(f,{T:()=>a});var e=n(213),r=n(14);function a(p=i){return l=>l.lift(new h(p))}class h{constructor(l){this.errorFactory=l}call(l,m){return m.subscribe(new c(l,this.errorFactory))}}class c extends r.L{constructor(l,m){super(l),this.errorFactory=m,this.hasValue=!1}_next(l){this.hasValue=!0,this.destination.next(l)}_complete(){if(this.hasValue)return this.destination.complete();{let l;try{l=this.errorFactory()}catch(m){l=m}this.destination.error(l)}}}function i(){return new e.K}},8403:(d,f,n)=>{"use strict";n.d(f,{r:()=>a});var e=n(5901),r=n(6957);function a(h,c){return new e.y(i=>{const p=new r.w;let l=0;return p.add(c.schedule(function(){l!==h.length?(i.next(h[l++]),i.closed||p.add(this.schedule())):i.complete()})),p})}},8881:(d,f,n)=>{"use strict";n.d(f,{o:()=>a});var e=n(6957);class r extends e.w{constructor(c,i){super()}schedule(c,i=0){return this}}class a extends r{constructor(c,i){super(c,i),this.scheduler=c,this.work=i,this.pending=!1}schedule(c,i=0){if(this.closed)return this;this.state=c;const p=this.id,l=this.scheduler;return null!=p&&(this.id=this.recycleAsyncId(l,p,i)),this.pending=!0,this.delay=i,this.id=this.id||this.requestAsyncId(l,this.id,i),this}requestAsyncId(c,i,p=0){return setInterval(c.flush.bind(c,this),p)}recycleAsyncId(c,i,p=0){if(null!==p&&this.delay===p&&!1===this.pending)return i;clearInterval(i)}execute(c,i){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const p=this._execute(c,i);if(p)return p;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(c,i){let l,p=!1;try{this.work(c)}catch(m){p=!0,l=!!m&&m||new Error(m)}if(p)return this.unsubscribe(),l}_unsubscribe(){const c=this.id,i=this.scheduler,p=i.actions,l=p.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==l&&p.splice(l,1),null!=c&&(this.id=this.recycleAsyncId(i,c,null)),this.delay=null}}},9054:(d,f,n)=>{"use strict";n.d(f,{v:()=>r});let e=(()=>{class a{constructor(c,i=a.now){this.SchedulerAction=c,this.now=i}schedule(c,i=0,p){return new this.SchedulerAction(this,c).schedule(p,i)}}return a.now=()=>Date.now(),a})();class r extends e{constructor(h,c=e.now){super(h,()=>r.delegate&&r.delegate!==this?r.delegate.now():c()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(h,c=0,i){return r.delegate&&r.delegate!==this?r.delegate.schedule(h,c,i):super.schedule(h,c,i)}flush(h){const{actions:c}=this;if(this.active)return void c.push(h);let i;this.active=!0;do{if(i=h.execute(h.state,h.delay))break}while(h=c.shift());if(this.active=!1,i){for(;h=c.shift();)h.unsubscribe();throw i}}}},8310:(d,f,n)=>{"use strict";n.d(f,{Z:()=>c});var e=n(8881),a=n(9054);const c=new class h extends a.v{flush(l){this.active=!0,this.scheduled=void 0;const{actions:m}=this;let g,_=-1,T=m.length;l=l||m.shift();do{if(g=l.execute(l.state,l.delay))break}while(++_<T&&(l=m.shift()));if(this.active=!1,g){for(;++_<T&&(l=m.shift());)l.unsubscribe();throw g}}}(class r extends e.o{constructor(l,m){super(l,m),this.scheduler=l,this.work=m}requestAsyncId(l,m,g=0){return null!==g&&g>0?super.requestAsyncId(l,m,g):(l.actions.push(this),l.scheduled||(l.scheduled=requestAnimationFrame(()=>l.flush(null))))}recycleAsyncId(l,m,g=0){if(null!==g&&g>0||null===g&&this.delay>0)return super.recycleAsyncId(l,m,g);0===l.actions.length&&(cancelAnimationFrame(m),l.scheduled=void 0)}})},328:(d,f,n)=>{"use strict";n.d(f,{P:()=>h});var e=n(8881);const h=new(n(9054).v)(e.o)},2803:(d,f,n)=>{"use strict";n.d(f,{hZ:()=>r});const r=function e(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},6831:(d,f,n)=>{"use strict";n.d(f,{L:()=>e});const e="function"==typeof Symbol&&Symbol.observable||"@@observable"},1482:(d,f,n)=>{"use strict";n.d(f,{b:()=>e});const e="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},2846:(d,f,n)=>{"use strict";n.d(f,{W:()=>r});const r=(()=>{function a(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return a.prototype=Object.create(Error.prototype),a})()},213:(d,f,n)=>{"use strict";n.d(f,{K:()=>r});const r=(()=>{function a(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return a.prototype=Object.create(Error.prototype),a})()},9086:(d,f,n)=>{"use strict";n.d(f,{N:()=>r});const r=(()=>{function a(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return a.prototype=Object.create(Error.prototype),a})()},8897:(d,f,n)=>{"use strict";function e(r){setTimeout(()=>{throw r},0)}n.d(f,{z:()=>e})},1356:(d,f,n)=>{"use strict";function e(r){return r}n.d(f,{y:()=>e})},4327:(d,f,n)=>{"use strict";n.d(f,{k:()=>e});const e=Array.isArray||(r=>r&&"number"==typeof r.length)},5122:(d,f,n)=>{"use strict";n.d(f,{z:()=>e});const e=r=>r&&"number"==typeof r.length&&"function"!=typeof r},1900:(d,f,n)=>{"use strict";function e(r){return"function"==typeof r}n.d(f,{m:()=>e})},7269:(d,f,n)=>{"use strict";n.d(f,{k:()=>r});var e=n(4327);function r(a){return!(0,e.k)(a)&&a-parseFloat(a)+1>=0}},6549:(d,f,n)=>{"use strict";function e(r){return null!==r&&"object"==typeof r}n.d(f,{K:()=>e})},5192:(d,f,n)=>{"use strict";function e(r){return!!r&&"function"!=typeof r.subscribe&&"function"==typeof r.then}n.d(f,{t:()=>e})},7507:(d,f,n)=>{"use strict";function e(r){return r&&"function"==typeof r.schedule}n.d(f,{K:()=>e})},3956:(d,f,n)=>{"use strict";n.d(f,{s:()=>_});var e=n(5414),r=n(8897),h=n(2803),i=n(6831),l=n(5122),m=n(5192),g=n(6549);const _=T=>{if(T&&"function"==typeof T[i.L])return(T=>E=>{const x=T[i.L]();if("function"!=typeof x.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return x.subscribe(E)})(T);if((0,l.z)(T))return(0,e.V)(T);if((0,m.t)(T))return(T=>E=>(T.then(x=>{E.closed||(E.next(x),E.complete())},x=>E.error(x)).then(null,r.z),E))(T);if(T&&"function"==typeof T[h.hZ])return(T=>E=>{const x=T[h.hZ]();for(;;){let C;try{C=x.next()}catch(S){return E.error(S),E}if(C.done){E.complete();break}if(E.next(C.value),E.closed)break}return"function"==typeof x.return&&E.add(()=>{x.return&&x.return()}),E})(T);{const x=`You provided ${(0,g.K)(T)?"an invalid object":`'${T}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(x)}}},5414:(d,f,n)=>{"use strict";n.d(f,{V:()=>e});const e=r=>a=>{for(let h=0,c=r.length;h<c&&!a.closed;h++)a.next(r[h]);a.complete()}},4924:()=>{"use strict";!function(y){const O=y.performance;function D(ae){O&&O.mark&&O.mark(ae)}function A(ae,W){O&&O.measure&&O.measure(ae,W)}D("Zone");const M=y.__Zone_symbol_prefix||"__zone_symbol__";function k(ae){return M+ae}const B=!0===y[k("forceDuplicateZoneCheck")];if(y.Zone){if(B||"function"!=typeof y.Zone.__symbol__)throw new Error("Zone already loaded.");return y.Zone}let V=(()=>{class ae{constructor(v,I){this._parent=v,this._name=I?I.name||"unnamed":"<root>",this._properties=I&&I.properties||{},this._zoneDelegate=new R(this,this._parent&&this._parent._zoneDelegate,I)}static assertZonePatched(){if(y.Promise!==Ee.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let v=ae.current;for(;v.parent;)v=v.parent;return v}static get current(){return pe.zone}static get currentTask(){return Ze}static __load_patch(v,I,Y=!1){if(Ee.hasOwnProperty(v)){if(!Y&&B)throw Error("Already loaded patch: "+v)}else if(!y["__Zone_disable_"+v]){const X="Zone:"+v;D(X),Ee[v]=I(y,ae,Ye),A(X,X)}}get parent(){return this._parent}get name(){return this._name}get(v){const I=this.getZoneWith(v);if(I)return I._properties[v]}getZoneWith(v){let I=this;for(;I;){if(I._properties.hasOwnProperty(v))return I;I=I._parent}return null}fork(v){if(!v)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,v)}wrap(v,I){if("function"!=typeof v)throw new Error("Expecting function got: "+v);const Y=this._zoneDelegate.intercept(this,v,I),X=this;return function(){return X.runGuarded(Y,this,arguments,I)}}run(v,I,Y,X){pe={parent:pe,zone:this};try{return this._zoneDelegate.invoke(this,v,I,Y,X)}finally{pe=pe.parent}}runGuarded(v,I=null,Y,X){pe={parent:pe,zone:this};try{try{return this._zoneDelegate.invoke(this,v,I,Y,X)}catch(Fe){if(this._zoneDelegate.handleError(this,Fe))throw Fe}}finally{pe=pe.parent}}runTask(v,I,Y){if(v.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(v.zone||ge).name+"; Execution: "+this.name+")");if(v.state===de&&(v.type===ee||v.type===se))return;const X=v.state!=Me;X&&v._transitionTo(Me,oe),v.runCount++;const Fe=Ze;Ze=v,pe={parent:pe,zone:this};try{v.type==se&&v.data&&!v.data.isPeriodic&&(v.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,v,I,Y)}catch(u){if(this._zoneDelegate.handleError(this,u))throw u}}finally{v.state!==de&&v.state!==De&&(v.type==ee||v.data&&v.data.isPeriodic?X&&v._transitionTo(oe,Me):(v.runCount=0,this._updateTaskCount(v,-1),X&&v._transitionTo(de,Me,de))),pe=pe.parent,Ze=Fe}}scheduleTask(v){if(v.zone&&v.zone!==this){let Y=this;for(;Y;){if(Y===v.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${v.zone.name}`);Y=Y.parent}}v._transitionTo(Ie,de);const I=[];v._zoneDelegates=I,v._zone=this;try{v=this._zoneDelegate.scheduleTask(this,v)}catch(Y){throw v._transitionTo(De,Ie,de),this._zoneDelegate.handleError(this,Y),Y}return v._zoneDelegates===I&&this._updateTaskCount(v,1),v.state==Ie&&v._transitionTo(oe,Ie),v}scheduleMicroTask(v,I,Y,X){return this.scheduleTask(new H(J,v,I,Y,X,void 0))}scheduleMacroTask(v,I,Y,X,Fe){return this.scheduleTask(new H(se,v,I,Y,X,Fe))}scheduleEventTask(v,I,Y,X,Fe){return this.scheduleTask(new H(ee,v,I,Y,X,Fe))}cancelTask(v){if(v.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(v.zone||ge).name+"; Execution: "+this.name+")");v._transitionTo(ce,oe,Me);try{this._zoneDelegate.cancelTask(this,v)}catch(I){throw v._transitionTo(De,ce),this._zoneDelegate.handleError(this,I),I}return this._updateTaskCount(v,-1),v._transitionTo(de,ce),v.runCount=0,v}_updateTaskCount(v,I){const Y=v._zoneDelegates;-1==I&&(v._zoneDelegates=null);for(let X=0;X<Y.length;X++)Y[X]._updateTaskCount(v.type,I)}}return ae.__symbol__=k,ae})();const z={name:"",onHasTask:(ae,W,v,I)=>ae.hasTask(v,I),onScheduleTask:(ae,W,v,I)=>ae.scheduleTask(v,I),onInvokeTask:(ae,W,v,I,Y,X)=>ae.invokeTask(v,I,Y,X),onCancelTask:(ae,W,v,I)=>ae.cancelTask(v,I)};class R{constructor(W,v,I){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=W,this._parentDelegate=v,this._forkZS=I&&(I&&I.onFork?I:v._forkZS),this._forkDlgt=I&&(I.onFork?v:v._forkDlgt),this._forkCurrZone=I&&(I.onFork?this.zone:v._forkCurrZone),this._interceptZS=I&&(I.onIntercept?I:v._interceptZS),this._interceptDlgt=I&&(I.onIntercept?v:v._interceptDlgt),this._interceptCurrZone=I&&(I.onIntercept?this.zone:v._interceptCurrZone),this._invokeZS=I&&(I.onInvoke?I:v._invokeZS),this._invokeDlgt=I&&(I.onInvoke?v:v._invokeDlgt),this._invokeCurrZone=I&&(I.onInvoke?this.zone:v._invokeCurrZone),this._handleErrorZS=I&&(I.onHandleError?I:v._handleErrorZS),this._handleErrorDlgt=I&&(I.onHandleError?v:v._handleErrorDlgt),this._handleErrorCurrZone=I&&(I.onHandleError?this.zone:v._handleErrorCurrZone),this._scheduleTaskZS=I&&(I.onScheduleTask?I:v._scheduleTaskZS),this._scheduleTaskDlgt=I&&(I.onScheduleTask?v:v._scheduleTaskDlgt),this._scheduleTaskCurrZone=I&&(I.onScheduleTask?this.zone:v._scheduleTaskCurrZone),this._invokeTaskZS=I&&(I.onInvokeTask?I:v._invokeTaskZS),this._invokeTaskDlgt=I&&(I.onInvokeTask?v:v._invokeTaskDlgt),this._invokeTaskCurrZone=I&&(I.onInvokeTask?this.zone:v._invokeTaskCurrZone),this._cancelTaskZS=I&&(I.onCancelTask?I:v._cancelTaskZS),this._cancelTaskDlgt=I&&(I.onCancelTask?v:v._cancelTaskDlgt),this._cancelTaskCurrZone=I&&(I.onCancelTask?this.zone:v._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const Y=I&&I.onHasTask;(Y||v&&v._hasTaskZS)&&(this._hasTaskZS=Y?I:z,this._hasTaskDlgt=v,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=W,I.onScheduleTask||(this._scheduleTaskZS=z,this._scheduleTaskDlgt=v,this._scheduleTaskCurrZone=this.zone),I.onInvokeTask||(this._invokeTaskZS=z,this._invokeTaskDlgt=v,this._invokeTaskCurrZone=this.zone),I.onCancelTask||(this._cancelTaskZS=z,this._cancelTaskDlgt=v,this._cancelTaskCurrZone=this.zone))}fork(W,v){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,W,v):new V(W,v)}intercept(W,v,I){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,W,v,I):v}invoke(W,v,I,Y,X){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,W,v,I,Y,X):v.apply(I,Y)}handleError(W,v){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,W,v)}scheduleTask(W,v){let I=v;if(this._scheduleTaskZS)this._hasTaskZS&&I._zoneDelegates.push(this._hasTaskDlgtOwner),I=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,W,v),I||(I=v);else if(v.scheduleFn)v.scheduleFn(v);else{if(v.type!=J)throw new Error("Task is missing scheduleFn.");j(v)}return I}invokeTask(W,v,I,Y){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,W,v,I,Y):v.callback.apply(I,Y)}cancelTask(W,v){let I;if(this._cancelTaskZS)I=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,W,v);else{if(!v.cancelFn)throw Error("Task is not cancelable");I=v.cancelFn(v)}return I}hasTask(W,v){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,W,v)}catch(I){this.handleError(W,I)}}_updateTaskCount(W,v){const I=this._taskCounts,Y=I[W],X=I[W]=Y+v;if(X<0)throw new Error("More tasks executed then were scheduled.");0!=Y&&0!=X||this.hasTask(this.zone,{microTask:I.microTask>0,macroTask:I.macroTask>0,eventTask:I.eventTask>0,change:W})}}class H{constructor(W,v,I,Y,X,Fe){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=W,this.source=v,this.data=Y,this.scheduleFn=X,this.cancelFn=Fe,!I)throw new Error("callback is not defined");this.callback=I;const u=this;this.invoke=W===ee&&Y&&Y.useG?H.invokeTask:function(){return H.invokeTask.call(y,u,this,arguments)}}static invokeTask(W,v,I){W||(W=this),He++;try{return W.runCount++,W.zone.runTask(W,v,I)}finally{1==He&&le(),He--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(de,Ie)}_transitionTo(W,v,I){if(this._state!==v&&this._state!==I)throw new Error(`${this.type} '${this.source}': can not transition to '${W}', expecting state '${v}'${I?" or '"+I+"'":""}, was '${this._state}'.`);this._state=W,W==de&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const ie=k("setTimeout"),te=k("Promise"),ue=k("then");let K,Te=[],fe=!1;function j(ae){if(0===He&&0===Te.length)if(K||y[te]&&(K=y[te].resolve(0)),K){let W=K[ue];W||(W=K.then),W.call(K,le)}else y[ie](le,0);ae&&Te.push(ae)}function le(){if(!fe){for(fe=!0;Te.length;){const ae=Te;Te=[];for(let W=0;W<ae.length;W++){const v=ae[W];try{v.zone.runTask(v,null,null)}catch(I){Ye.onUnhandledError(I)}}}Ye.microtaskDrainDone(),fe=!1}}const ge={name:"NO ZONE"},de="notScheduled",Ie="scheduling",oe="scheduled",Me="running",ce="canceling",De="unknown",J="microTask",se="macroTask",ee="eventTask",Ee={},Ye={symbol:k,currentZoneFrame:()=>pe,onUnhandledError:xe,microtaskDrainDone:xe,scheduleMicroTask:j,showUncaughtError:()=>!V[k("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:xe,patchMethod:()=>xe,bindArguments:()=>[],patchThen:()=>xe,patchMacroTask:()=>xe,patchEventPrototype:()=>xe,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>xe,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>xe,wrapWithCurrentZone:()=>xe,filterProperties:()=>[],attachOriginToPatched:()=>xe,_redefineProperty:()=>xe,patchCallbacks:()=>xe};let pe={parent:null,zone:new V(null,null)},Ze=null,He=0;function xe(){}A("Zone","Zone"),y.Zone=V}(typeof window<"u"&&window||typeof self<"u"&&self||global);const f=Object.getOwnPropertyDescriptor,n=Object.defineProperty,e=Object.getPrototypeOf,r=Object.create,a=Array.prototype.slice,h="addEventListener",c="removeEventListener",i=Zone.__symbol__(h),p=Zone.__symbol__(c),l="true",m="false",g=Zone.__symbol__("");function _(y,O){return Zone.current.wrap(y,O)}function T(y,O,D,A,M){return Zone.current.scheduleMacroTask(y,O,D,A,M)}const E=Zone.__symbol__,x=typeof window<"u",C=x?window:void 0,S=x&&C||"object"==typeof self&&self||global,U=[null];function F(y,O){for(let D=y.length-1;D>=0;D--)"function"==typeof y[D]&&(y[D]=_(y[D],O+"_"+D));return y}function Ce(y){return!y||!1!==y.writable&&!("function"==typeof y.get&&typeof y.set>"u")}const Ve=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Le=!("nw"in S)&&typeof S.process<"u"&&"[object process]"==={}.toString.call(S.process),We=!Le&&!Ve&&!(!x||!C.HTMLElement),Ne=typeof S.process<"u"&&"[object process]"==={}.toString.call(S.process)&&!Ve&&!(!x||!C.HTMLElement),Be={},Ge=function(y){if(!(y=y||S.event))return;let O=Be[y.type];O||(O=Be[y.type]=E("ON_PROPERTY"+y.type));const D=this||y.target||S,A=D[O];let M;if(We&&D===C&&"error"===y.type){const k=y;M=A&&A.call(this,k.message,k.filename,k.lineno,k.colno,k.error),!0===M&&y.preventDefault()}else M=A&&A.apply(this,arguments),null!=M&&!M&&y.preventDefault();return M};function re(y,O,D){let A=f(y,O);if(!A&&D&&f(D,O)&&(A={enumerable:!0,configurable:!0}),!A||!A.configurable)return;const M=E("on"+O+"patched");if(y.hasOwnProperty(M)&&y[M])return;delete A.writable,delete A.value;const k=A.get,B=A.set,V=O.substr(2);let z=Be[V];z||(z=Be[V]=E("ON_PROPERTY"+V)),A.set=function(R){let H=this;!H&&y===S&&(H=S),H&&(H[z]&&H.removeEventListener(V,Ge),B&&B.apply(H,U),"function"==typeof R?(H[z]=R,H.addEventListener(V,Ge,!1)):H[z]=null)},A.get=function(){let R=this;if(!R&&y===S&&(R=S),!R)return null;const H=R[z];if(H)return H;if(k){let ie=k&&k.call(this);if(ie)return A.set.call(this,ie),"function"==typeof R.removeAttribute&&R.removeAttribute(O),ie}return null},n(y,O,A),y[M]=!0}function ze(y,O,D){if(O)for(let A=0;A<O.length;A++)re(y,"on"+O[A],D);else{const A=[];for(const M in y)"on"==M.substr(0,2)&&A.push(M);for(let M=0;M<A.length;M++)re(y,A[M],D)}}const Se=E("originalInstance");function Z(y){const O=S[y];if(!O)return;S[E(y)]=O,S[y]=function(){const M=F(arguments,y);switch(M.length){case 0:this[Se]=new O;break;case 1:this[Se]=new O(M[0]);break;case 2:this[Se]=new O(M[0],M[1]);break;case 3:this[Se]=new O(M[0],M[1],M[2]);break;case 4:this[Se]=new O(M[0],M[1],M[2],M[3]);break;default:throw new Error("Arg list too long.")}},q(S[y],O);const D=new O(function(){});let A;for(A in D)"XMLHttpRequest"===y&&"responseBlob"===A||function(M){"function"==typeof D[M]?S[y].prototype[M]=function(){return this[Se][M].apply(this[Se],arguments)}:n(S[y].prototype,M,{set:function(k){"function"==typeof k?(this[Se][M]=_(k,y+"."+M),q(this[Se][M],k)):this[Se][M]=k},get:function(){return this[Se][M]}})}(A);for(A in O)"prototype"!==A&&O.hasOwnProperty(A)&&(S[y][A]=O[A])}function Q(y,O,D){let A=y;for(;A&&!A.hasOwnProperty(O);)A=e(A);!A&&y[O]&&(A=y);const M=E(O);let k=null;if(A&&(!(k=A[M])||!A.hasOwnProperty(M))&&(k=A[M]=A[O],Ce(A&&f(A,O)))){const V=D(k,M,O);A[O]=function(){return V(this,arguments)},q(A[O],k)}return k}function ve(y,O,D){let A=null;function M(k){const B=k.data;return B.args[B.cbIdx]=function(){k.invoke.apply(this,arguments)},A.apply(B.target,B.args),k}A=Q(y,O,k=>function(B,V){const z=D(B,V);return z.cbIdx>=0&&"function"==typeof V[z.cbIdx]?T(z.name,V[z.cbIdx],z,M):k.apply(B,V)})}function q(y,O){y[E("OriginalDelegate")]=O}let be=!1,Ae=!1;function ke(){if(be)return Ae;be=!0;try{const y=C.navigator.userAgent;(-1!==y.indexOf("MSIE ")||-1!==y.indexOf("Trident/")||-1!==y.indexOf("Edge/"))&&(Ae=!0)}catch{}return Ae}Zone.__load_patch("ZoneAwarePromise",(y,O,D)=>{const A=Object.getOwnPropertyDescriptor,M=Object.defineProperty,B=D.symbol,V=[],z=!0===y[B("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],R=B("Promise"),H=B("then");D.onUnhandledError=u=>{if(D.showUncaughtError()){const s=u&&u.rejection;s?console.error("Unhandled Promise rejection:",s instanceof Error?s.message:s,"; Zone:",u.zone.name,"; Task:",u.task&&u.task.source,"; Value:",s,s instanceof Error?s.stack:void 0):console.error(u)}},D.microtaskDrainDone=()=>{for(;V.length;){const u=V.shift();try{u.zone.runGuarded(()=>{throw u.throwOriginal?u.rejection:u})}catch(s){ue(s)}}};const te=B("unhandledPromiseRejectionHandler");function ue(u){D.onUnhandledError(u);try{const s=O[te];"function"==typeof s&&s.call(this,u)}catch{}}function Te(u){return u&&u.then}function fe(u){return u}function K(u){return v.reject(u)}const j=B("state"),le=B("value"),ge=B("finally"),de=B("parentPromiseValue"),Ie=B("parentPromiseState"),Me=null,De=!1;function se(u,s){return t=>{try{pe(u,s,t)}catch(o){pe(u,!1,o)}}}const Ye=B("currentTaskTrace");function pe(u,s,t){const o=function(){let u=!1;return function(t){return function(){u||(u=!0,t.apply(null,arguments))}}}();if(u===t)throw new TypeError("Promise resolved with itself");if(u[j]===Me){let b=null;try{("object"==typeof t||"function"==typeof t)&&(b=t&&t.then)}catch(w){return o(()=>{pe(u,!1,w)})(),u}if(s!==De&&t instanceof v&&t.hasOwnProperty(j)&&t.hasOwnProperty(le)&&t[j]!==Me)He(t),pe(u,t[j],t[le]);else if(s!==De&&"function"==typeof b)try{b.call(t,o(se(u,s)),o(se(u,!1)))}catch(w){o(()=>{pe(u,!1,w)})()}else{u[j]=s;const w=u[le];if(u[le]=t,u[ge]===ge&&!0===s&&(u[j]=u[Ie],u[le]=u[de]),s===De&&t instanceof Error){const P=O.currentTask&&O.currentTask.data&&O.currentTask.data.__creationTrace__;P&&M(t,Ye,{configurable:!0,enumerable:!1,writable:!0,value:P})}for(let P=0;P<w.length;)xe(u,w[P++],w[P++],w[P++],w[P++]);if(0==w.length&&s==De){u[j]=0;let P=t;try{throw new Error("Uncaught (in promise): "+function k(u){return u&&u.toString===Object.prototype.toString?(u.constructor&&u.constructor.name||"")+": "+JSON.stringify(u):u?u.toString():Object.prototype.toString.call(u)}(t)+(t&&t.stack?"\n"+t.stack:""))}catch(N){P=N}z&&(P.throwOriginal=!0),P.rejection=t,P.promise=u,P.zone=O.current,P.task=O.currentTask,V.push(P),D.scheduleMicroTask()}}}return u}const Ze=B("rejectionHandledHandler");function He(u){if(0===u[j]){try{const s=O[Ze];s&&"function"==typeof s&&s.call(this,{rejection:u[le],promise:u})}catch{}u[j]=De;for(let s=0;s<V.length;s++)u===V[s].promise&&V.splice(s,1)}}function xe(u,s,t,o,b){He(u);const w=u[j],P=w?"function"==typeof o?o:fe:"function"==typeof b?b:K;s.scheduleMicroTask("Promise.then",()=>{try{const N=u[le],G=!!t&&ge===t[ge];G&&(t[de]=N,t[Ie]=w);const $=s.run(P,void 0,G&&P!==K&&P!==fe?[]:[N]);pe(t,!0,$)}catch(N){pe(t,!1,N)}},t)}const W=function(){};class v{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(s){return pe(new this(null),!0,s)}static reject(s){return pe(new this(null),De,s)}static race(s){let t,o,b=new this((N,G)=>{t=N,o=G});function w(N){t(N)}function P(N){o(N)}for(let N of s)Te(N)||(N=this.resolve(N)),N.then(w,P);return b}static all(s){return v.allWithCallback(s)}static allSettled(s){return(this&&this.prototype instanceof v?this:v).allWithCallback(s,{thenCallback:o=>({status:"fulfilled",value:o}),errorCallback:o=>({status:"rejected",reason:o})})}static allWithCallback(s,t){let o,b,w=new this(($,he)=>{o=$,b=he}),P=2,N=0;const G=[];for(let $ of s){Te($)||($=this.resolve($));const he=N;try{$.then(_e=>{G[he]=t?t.thenCallback(_e):_e,P--,0===P&&o(G)},_e=>{t?(G[he]=t.errorCallback(_e),P--,0===P&&o(G)):b(_e)})}catch(_e){b(_e)}P++,N++}return P-=2,0===P&&o(G),w}constructor(s){const t=this;if(!(t instanceof v))throw new Error("Must be an instanceof Promise.");t[j]=Me,t[le]=[];try{s&&s(se(t,!0),se(t,De))}catch(o){pe(t,!1,o)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return v}then(s,t){let o=this.constructor[Symbol.species];(!o||"function"!=typeof o)&&(o=this.constructor||v);const b=new o(W),w=O.current;return this[j]==Me?this[le].push(w,b,s,t):xe(this,w,b,s,t),b}catch(s){return this.then(null,s)}finally(s){let t=this.constructor[Symbol.species];(!t||"function"!=typeof t)&&(t=v);const o=new t(W);o[ge]=ge;const b=O.current;return this[j]==Me?this[le].push(b,o,s,s):xe(this,b,o,s,s),o}}v.resolve=v.resolve,v.reject=v.reject,v.race=v.race,v.all=v.all;const I=y[R]=y.Promise;y.Promise=v;const Y=B("thenPatched");function X(u){const s=u.prototype,t=A(s,"then");if(t&&(!1===t.writable||!t.configurable))return;const o=s.then;s[H]=o,u.prototype.then=function(b,w){return new v((N,G)=>{o.call(this,N,G)}).then(b,w)},u[Y]=!0}return D.patchThen=X,I&&(X(I),Q(y,"fetch",u=>function Fe(u){return function(s,t){let o=u.apply(s,t);if(o instanceof v)return o;let b=o.constructor;return b[Y]||X(b),o}}(u))),Promise[O.__symbol__("uncaughtPromiseErrors")]=V,v}),Zone.__load_patch("toString",y=>{const O=Function.prototype.toString,D=E("OriginalDelegate"),A=E("Promise"),M=E("Error"),k=function(){if("function"==typeof this){const R=this[D];if(R)return"function"==typeof R?O.call(R):Object.prototype.toString.call(R);if(this===Promise){const H=y[A];if(H)return O.call(H)}if(this===Error){const H=y[M];if(H)return O.call(H)}}return O.call(this)};k[D]=O,Function.prototype.toString=k;const B=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":B.call(this)}});let ye=!1;if(typeof window<"u")try{const y=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",y,y),window.removeEventListener("test",y,y)}catch{ye=!1}const Re={useG:!0},me={},Pe={},je=new RegExp("^"+g+"(\\w+)(true|false)$"),Ke=E("propagationStopped");function Je(y,O){const D=(O?O(y):y)+m,A=(O?O(y):y)+l,M=g+D,k=g+A;me[y]={},me[y][m]=M,me[y][l]=k}function $e(y,O,D){const A=D&&D.add||h,M=D&&D.rm||c,k=D&&D.listeners||"eventListeners",B=D&&D.rmAll||"removeAllListeners",V=E(A),z="."+A+":",ie=function(K,j,le){if(K.isRemoved)return;const ge=K.callback;"object"==typeof ge&&ge.handleEvent&&(K.callback=Ie=>ge.handleEvent(Ie),K.originalDelegate=ge),K.invoke(K,j,[le]);const de=K.options;de&&"object"==typeof de&&de.once&&j[M].call(j,le.type,K.originalDelegate?K.originalDelegate:K.callback,de)},te=function(K){if(!(K=K||y.event))return;const j=this||K.target||y,le=j[me[K.type][m]];if(le)if(1===le.length)ie(le[0],j,K);else{const ge=le.slice();for(let de=0;de<ge.length&&(!K||!0!==K[Ke]);de++)ie(ge[de],j,K)}},ue=function(K){if(!(K=K||y.event))return;const j=this||K.target||y,le=j[me[K.type][l]];if(le)if(1===le.length)ie(le[0],j,K);else{const ge=le.slice();for(let de=0;de<ge.length&&(!K||!0!==K[Ke]);de++)ie(ge[de],j,K)}};function Te(K,j){if(!K)return!1;let le=!0;j&&void 0!==j.useG&&(le=j.useG);const ge=j&&j.vh;let de=!0;j&&void 0!==j.chkDup&&(de=j.chkDup);let Ie=!1;j&&void 0!==j.rt&&(Ie=j.rt);let oe=K;for(;oe&&!oe.hasOwnProperty(A);)oe=e(oe);if(!oe&&K[A]&&(oe=K),!oe||oe[V])return!1;const Me=j&&j.eventNameToString,ce={},De=oe[V]=oe[A],J=oe[E(M)]=oe[M],se=oe[E(k)]=oe[k],ee=oe[E(B)]=oe[B];let Ee;function Ye(s,t){return!ye&&"object"==typeof s&&s?!!s.capture:ye&&t?"boolean"==typeof s?{capture:s,passive:!0}:s?"object"==typeof s&&!1!==s.passive?Object.assign(Object.assign({},s),{passive:!0}):s:{passive:!0}:s}j&&j.prepend&&(Ee=oe[E(j.prepend)]=oe[j.prepend]);const W=le?function(s){if(!ce.isExisting)return De.call(ce.target,ce.eventName,ce.capture?ue:te,ce.options)}:function(s){return De.call(ce.target,ce.eventName,s.invoke,ce.options)},v=le?function(s){if(!s.isRemoved){const t=me[s.eventName];let o;t&&(o=t[s.capture?l:m]);const b=o&&s.target[o];if(b)for(let w=0;w<b.length;w++)if(b[w]===s){b.splice(w,1),s.isRemoved=!0,0===b.length&&(s.allRemoved=!0,s.target[o]=null);break}}if(s.allRemoved)return J.call(s.target,s.eventName,s.capture?ue:te,s.options)}:function(s){return J.call(s.target,s.eventName,s.invoke,s.options)},Y=j&&j.diff?j.diff:function(s,t){const o=typeof t;return"function"===o&&s.callback===t||"object"===o&&s.originalDelegate===t},X=Zone[E("UNPATCHED_EVENTS")],Fe=y[E("PASSIVE_EVENTS")],u=function(s,t,o,b,w=!1,P=!1){return function(){const N=this||y;let G=arguments[0];j&&j.transferEventName&&(G=j.transferEventName(G));let $=arguments[1];if(!$)return s.apply(this,arguments);if(Le&&"uncaughtException"===G)return s.apply(this,arguments);let he=!1;if("function"!=typeof $){if(!$.handleEvent)return s.apply(this,arguments);he=!0}if(ge&&!ge(s,$,N,arguments))return;const _e=ye&&!!Fe&&-1!==Fe.indexOf(G),we=Ye(arguments[2],_e);if(X)for(let nt=0;nt<X.length;nt++)if(G===X[nt])return _e?s.call(N,G,$,we):s.apply(this,arguments);const et=!!we&&("boolean"==typeof we||we.capture),Pt=!(!we||"object"!=typeof we)&&we.once,Nt=Zone.current;let Dt=me[G];Dt||(Je(G,Me),Dt=me[G]);const Mt=Dt[et?l:m];let ft,rt=N[Mt],Lt=!1;if(rt){if(Lt=!0,de)for(let nt=0;nt<rt.length;nt++)if(Y(rt[nt],$))return}else rt=N[Mt]=[];const kt=N.constructor.name,Ft=Pe[kt];Ft&&(ft=Ft[G]),ft||(ft=kt+t+(Me?Me(G):G)),ce.options=we,Pt&&(ce.options.once=!1),ce.target=N,ce.capture=et,ce.eventName=G,ce.isExisting=Lt;const ot=le?Re:void 0;ot&&(ot.taskData=ce);const tt=Nt.scheduleEventTask(ft,$,ot,o,b);return ce.target=null,ot&&(ot.taskData=null),Pt&&(we.once=!0),!ye&&"boolean"==typeof tt.options||(tt.options=we),tt.target=N,tt.capture=et,tt.eventName=G,he&&(tt.originalDelegate=$),P?rt.unshift(tt):rt.push(tt),w?N:void 0}};return oe[A]=u(De,z,W,v,Ie),Ee&&(oe.prependListener=u(Ee,".prependListener:",function(s){return Ee.call(ce.target,ce.eventName,s.invoke,ce.options)},v,Ie,!0)),oe[M]=function(){const s=this||y;let t=arguments[0];j&&j.transferEventName&&(t=j.transferEventName(t));const o=arguments[2],b=!!o&&("boolean"==typeof o||o.capture),w=arguments[1];if(!w)return J.apply(this,arguments);if(ge&&!ge(J,w,s,arguments))return;const P=me[t];let N;P&&(N=P[b?l:m]);const G=N&&s[N];if(G)for(let $=0;$<G.length;$++){const he=G[$];if(Y(he,w))return G.splice($,1),he.isRemoved=!0,0===G.length&&(he.allRemoved=!0,s[N]=null,"string"==typeof t)&&(s[g+"ON_PROPERTY"+t]=null),he.zone.cancelTask(he),Ie?s:void 0}return J.apply(this,arguments)},oe[k]=function(){const s=this||y;let t=arguments[0];j&&j.transferEventName&&(t=j.transferEventName(t));const o=[],b=ut(s,Me?Me(t):t);for(let w=0;w<b.length;w++){const P=b[w];o.push(P.originalDelegate?P.originalDelegate:P.callback)}return o},oe[B]=function(){const s=this||y;let t=arguments[0];if(t){j&&j.transferEventName&&(t=j.transferEventName(t));const o=me[t];if(o){const P=s[o[m]],N=s[o[l]];if(P){const G=P.slice();for(let $=0;$<G.length;$++){const he=G[$];this[M].call(this,t,he.originalDelegate?he.originalDelegate:he.callback,he.options)}}if(N){const G=N.slice();for(let $=0;$<G.length;$++){const he=G[$];this[M].call(this,t,he.originalDelegate?he.originalDelegate:he.callback,he.options)}}}}else{const o=Object.keys(s);for(let b=0;b<o.length;b++){const P=je.exec(o[b]);let N=P&&P[1];N&&"removeListener"!==N&&this[B].call(this,N)}this[B].call(this,"removeListener")}if(Ie)return this},q(oe[A],De),q(oe[M],J),ee&&q(oe[B],ee),se&&q(oe[k],se),!0}let fe=[];for(let K=0;K<O.length;K++)fe[K]=Te(O[K],D);return fe}function ut(y,O){if(!O){const k=[];for(let B in y){const V=je.exec(B);let z=V&&V[1];if(z&&(!O||z===O)){const R=y[B];if(R)for(let H=0;H<R.length;H++)k.push(R[H])}}return k}let D=me[O];D||(Je(O),D=me[O]);const A=y[D[m]],M=y[D[l]];return A?M?A.concat(M):A.slice():M?M.slice():[]}function pt(y,O){const D=y.Event;D&&D.prototype&&O.patchMethod(D.prototype,"stopImmediatePropagation",A=>function(M,k){M[Ke]=!0,A&&A.apply(M,k)})}function at(y,O,D,A,M){const k=Zone.__symbol__(A);if(O[k])return;const B=O[k]=O[A];O[A]=function(V,z,R){return z&&z.prototype&&M.forEach(function(H){const ie=`${D}.${A}::`+H,te=z.prototype;if(te.hasOwnProperty(H)){const ue=y.ObjectGetOwnPropertyDescriptor(te,H);ue&&ue.value?(ue.value=y.wrapWithCurrentZone(ue.value,ie),y._redefineProperty(z.prototype,H,ue)):te[H]&&(te[H]=y.wrapWithCurrentZone(te[H],ie))}else te[H]&&(te[H]=y.wrapWithCurrentZone(te[H],ie))}),B.call(O,V,z,R)},y.attachOriginToPatched(O[A],B)}const it=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],Et=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],lt=["load"],ct=["blur","error","focus","load","resize","scroll","messageerror"],xt=["bounce","finish","start"],ht=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],Qe=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],Ct=["close","error","open","message"],St=["error","message"],Xe=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],it,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function dt(y,O,D){if(!D||0===D.length)return O;const A=D.filter(k=>k.target===y);if(!A||0===A.length)return O;const M=A[0].ignoreProperties;return O.filter(k=>-1===M.indexOf(k))}function Oe(y,O,D,A){y&&ze(y,dt(y,O,D),A)}Zone.__load_patch("util",(y,O,D)=>{D.patchOnProperties=ze,D.patchMethod=Q,D.bindArguments=F,D.patchMacroTask=ve;const A=O.__symbol__("BLACK_LISTED_EVENTS"),M=O.__symbol__("UNPATCHED_EVENTS");y[M]&&(y[A]=y[M]),y[A]&&(O[A]=O[M]=y[A]),D.patchEventPrototype=pt,D.patchEventTarget=$e,D.isIEOrEdge=ke,D.ObjectDefineProperty=n,D.ObjectGetOwnPropertyDescriptor=f,D.ObjectCreate=r,D.ArraySlice=a,D.patchClass=Z,D.wrapWithCurrentZone=_,D.filterProperties=dt,D.attachOriginToPatched=q,D._redefineProperty=Object.defineProperty,D.patchCallbacks=at,D.getGlobalObjects=()=>({globalSources:Pe,zoneSymbolEventNames:me,eventNames:Xe,isBrowser:We,isMix:Ne,isNode:Le,TRUE_STR:l,FALSE_STR:m,ZONE_SYMBOL_PREFIX:g,ADD_EVENT_LISTENER_STR:h,REMOVE_EVENT_LISTENER_STR:c})});const st=E("zoneTask");function qe(y,O,D,A){let M=null,k=null;D+=A;const B={};function V(R){const H=R.data;return H.args[0]=function(){return R.invoke.apply(this,arguments)},H.handleId=M.apply(y,H.args),R}function z(R){return k.call(y,R.data.handleId)}M=Q(y,O+=A,R=>function(H,ie){if("function"==typeof ie[0]){const te={isPeriodic:"Interval"===A,delay:"Timeout"===A||"Interval"===A?ie[1]||0:void 0,args:ie},ue=ie[0];ie[0]=function(){try{return ue.apply(this,arguments)}finally{te.isPeriodic||("number"==typeof te.handleId?delete B[te.handleId]:te.handleId&&(te.handleId[st]=null))}};const Te=T(O,ie[0],te,V,z);if(!Te)return Te;const fe=Te.data.handleId;return"number"==typeof fe?B[fe]=Te:fe&&(fe[st]=Te),fe&&fe.ref&&fe.unref&&"function"==typeof fe.ref&&"function"==typeof fe.unref&&(Te.ref=fe.ref.bind(fe),Te.unref=fe.unref.bind(fe)),"number"==typeof fe||fe?fe:Te}return R.apply(y,ie)}),k=Q(y,D,R=>function(H,ie){const te=ie[0];let ue;"number"==typeof te?ue=B[te]:(ue=te&&te[st],ue||(ue=te)),ue&&"string"==typeof ue.type?"notScheduled"!==ue.state&&(ue.cancelFn&&ue.data.isPeriodic||0===ue.runCount)&&("number"==typeof te?delete B[te]:te&&(te[st]=null),ue.zone.cancelTask(ue)):R.apply(y,ie)})}Zone.__load_patch("legacy",y=>{const O=y[Zone.__symbol__("legacyPatch")];O&&O()}),Zone.__load_patch("queueMicrotask",(y,O,D)=>{D.patchMethod(y,"queueMicrotask",A=>function(M,k){O.current.scheduleMicroTask("queueMicrotask",k[0])})}),Zone.__load_patch("timers",y=>{const O="set",D="clear";qe(y,O,D,"Timeout"),qe(y,O,D,"Interval"),qe(y,O,D,"Immediate")}),Zone.__load_patch("requestAnimationFrame",y=>{qe(y,"request","cancel","AnimationFrame"),qe(y,"mozRequest","mozCancel","AnimationFrame"),qe(y,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(y,O)=>{const D=["alert","prompt","confirm"];for(let A=0;A<D.length;A++)Q(y,D[A],(k,B,V)=>function(z,R){return O.current.run(k,y,R,V)})}),Zone.__load_patch("EventTarget",(y,O,D)=>{(function It(y,O){O.patchEventPrototype(y,O)})(y,D),function At(y,O){if(Zone[O.symbol("patchEventTarget")])return;const{eventNames:D,zoneSymbolEventNames:A,TRUE_STR:M,FALSE_STR:k,ZONE_SYMBOL_PREFIX:B}=O.getGlobalObjects();for(let z=0;z<D.length;z++){const R=D[z],te=B+(R+k),ue=B+(R+M);A[R]={},A[R][k]=te,A[R][M]=ue}const V=y.EventTarget;V&&V.prototype&&O.patchEventTarget(y,[V&&V.prototype])}(y,D);const A=y.XMLHttpRequestEventTarget;A&&A.prototype&&D.patchEventTarget(y,[A.prototype])}),Zone.__load_patch("MutationObserver",(y,O,D)=>{Z("MutationObserver"),Z("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(y,O,D)=>{Z("IntersectionObserver")}),Zone.__load_patch("FileReader",(y,O,D)=>{Z("FileReader")}),Zone.__load_patch("on_property",(y,O,D)=>{!function Ot(y,O){if(Le&&!Ne||Zone[y.symbol("patchEvents")])return;const D=typeof WebSocket<"u",A=O.__Zone_ignore_on_properties;if(We){const B=window,V=function Ue(){try{const y=C.navigator.userAgent;if(-1!==y.indexOf("MSIE ")||-1!==y.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:B,ignoreProperties:["error"]}]:[];Oe(B,Xe.concat(["messageerror"]),A&&A.concat(V),e(B)),Oe(Document.prototype,Xe,A),typeof B.SVGElement<"u"&&Oe(B.SVGElement.prototype,Xe,A),Oe(Element.prototype,Xe,A),Oe(HTMLElement.prototype,Xe,A),Oe(HTMLMediaElement.prototype,Et,A),Oe(HTMLFrameSetElement.prototype,it.concat(ct),A),Oe(HTMLBodyElement.prototype,it.concat(ct),A),Oe(HTMLFrameElement.prototype,lt,A),Oe(HTMLIFrameElement.prototype,lt,A);const z=B.HTMLMarqueeElement;z&&Oe(z.prototype,xt,A);const R=B.Worker;R&&Oe(R.prototype,St,A)}const M=O.XMLHttpRequest;M&&Oe(M.prototype,ht,A);const k=O.XMLHttpRequestEventTarget;k&&Oe(k&&k.prototype,ht,A),typeof IDBIndex<"u"&&(Oe(IDBIndex.prototype,Qe,A),Oe(IDBRequest.prototype,Qe,A),Oe(IDBOpenDBRequest.prototype,Qe,A),Oe(IDBDatabase.prototype,Qe,A),Oe(IDBTransaction.prototype,Qe,A),Oe(IDBCursor.prototype,Qe,A)),D&&Oe(WebSocket.prototype,Ct,A)}(D,y)}),Zone.__load_patch("customElements",(y,O,D)=>{!function wt(y,O){const{isBrowser:D,isMix:A}=O.getGlobalObjects();(D||A)&&y.customElements&&"customElements"in y&&O.patchCallbacks(O,y.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(y,D)}),Zone.__load_patch("XHR",(y,O)=>{!function z(R){const H=R.XMLHttpRequest;if(!H)return;const ie=H.prototype;let ue=ie[i],Te=ie[p];if(!ue){const J=R.XMLHttpRequestEventTarget;if(J){const se=J.prototype;ue=se[i],Te=se[p]}}const fe="readystatechange",K="scheduled";function j(J){const se=J.data,ee=se.target;ee[k]=!1,ee[V]=!1;const Ee=ee[M];ue||(ue=ee[i],Te=ee[p]),Ee&&Te.call(ee,fe,Ee);const Ye=ee[M]=()=>{if(ee.readyState===ee.DONE)if(!se.aborted&&ee[k]&&J.state===K){const Ze=ee[O.__symbol__("loadfalse")];if(0!==ee.status&&Ze&&Ze.length>0){const He=J.invoke;J.invoke=function(){const xe=ee[O.__symbol__("loadfalse")];for(let ae=0;ae<xe.length;ae++)xe[ae]===J&&xe.splice(ae,1);!se.aborted&&J.state===K&&He.call(J)},Ze.push(J)}else J.invoke()}else!se.aborted&&!1===ee[k]&&(ee[V]=!0)};return ue.call(ee,fe,Ye),ee[D]||(ee[D]=J),ce.apply(ee,se.args),ee[k]=!0,J}function le(){}function ge(J){const se=J.data;return se.aborted=!0,De.apply(se.target,se.args)}const de=Q(ie,"open",()=>function(J,se){return J[A]=0==se[2],J[B]=se[1],de.apply(J,se)}),oe=E("fetchTaskAborting"),Me=E("fetchTaskScheduling"),ce=Q(ie,"send",()=>function(J,se){if(!0===O.current[Me]||J[A])return ce.apply(J,se);{const ee={target:J,url:J[B],isPeriodic:!1,args:se,aborted:!1},Ee=T("XMLHttpRequest.send",le,ee,j,ge);J&&!0===J[V]&&!ee.aborted&&Ee.state===K&&Ee.invoke()}}),De=Q(ie,"abort",()=>function(J,se){const ee=function te(J){return J[D]}(J);if(ee&&"string"==typeof ee.type){if(null==ee.cancelFn||ee.data&&ee.data.aborted)return;ee.zone.cancelTask(ee)}else if(!0===O.current[oe])return De.apply(J,se)})}(y);const D=E("xhrTask"),A=E("xhrSync"),M=E("xhrListener"),k=E("xhrScheduled"),B=E("xhrURL"),V=E("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",y=>{y.navigator&&y.navigator.geolocation&&function ne(y,O){const D=y.constructor.name;for(let A=0;A<O.length;A++){const M=O[A],k=y[M];if(k){if(!Ce(f(y,M)))continue;y[M]=(V=>{const z=function(){return V.apply(this,F(arguments,D+"."+M))};return q(z,V),z})(k)}}}(y.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(y,O)=>{function D(A){return function(M){ut(y,A).forEach(B=>{const V=y.PromiseRejectionEvent;if(V){const z=new V(A,{promise:M.promise,reason:M.rejection});B.invoke(z)}})}}y.PromiseRejectionEvent&&(O[E("unhandledPromiseRejectionHandler")]=D("unhandledrejection"),O[E("rejectionHandledHandler")]=D("rejectionhandled"))})},1154:(d,f,n)=>{"use strict";n.d(f,{w9:()=>I,A0:()=>Fe});var e=n(2560),r=n(2508),a=n(2831);function h(u){return s=>s.lift(new c(u))}class c{constructor(s){this.notifier=s}call(s,t){const o=new i(s),b=(0,a.ft)(this.notifier,new a.IY(o));return b&&!o.seenValue?(o.add(b),t.subscribe(o)):o}}class i extends a.Ds{constructor(s){super(s),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}var p=n(328);class m{constructor(s){this.durationSelector=s}call(s,t){return t.subscribe(new g(s,this.durationSelector))}}class g extends a.Ds{constructor(s,t){super(s),this.durationSelector=t,this.hasValue=!1}_next(s){if(this.value=s,this.hasValue=!0,!this.throttled){let t;try{const{durationSelector:b}=this;t=b(s)}catch(b){return this.destination.error(b)}const o=(0,a.ft)(t,new a.IY(this));!o||o.closed?this.clearThrottle():this.add(this.throttled=o)}}clearThrottle(){const{value:s,hasValue:t,throttled:o}=this;o&&(this.remove(o),this.throttled=void 0,o.unsubscribe()),t&&(this.value=void 0,this.hasValue=!1,this.destination.next(s))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var _=n(5901),T=n(7269),E=n(7507);function C(u){const{index:s,period:t,subscriber:o}=u;if(o.next(s),!o.closed){if(-1===t)return o.complete();u.index=s+1,this.schedule(u,t)}}var L=n(14);class F{constructor(s,t){this.dueTime=s,this.scheduler=t}call(s,t){return t.subscribe(new ne(s,this.dueTime,this.scheduler))}}class ne extends L.L{constructor(s,t,o){super(s),this.dueTime=t,this.scheduler=o,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(s){this.clearDebounce(),this.lastValue=s,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(Ce,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:s}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(s)}}clearDebounce(){const s=this.debouncedSubscription;null!==s&&(this.remove(s),s.unsubscribe(),this.debouncedSubscription=null)}}function Ce(u){u.debouncedNext()}var Ve=n(5722),Le=n(2692),We=n(9151),Ne=n(6942);let Be=1;const Ge=Promise.resolve(),re={};function ze(u){return u in re&&(delete re[u],!0)}const Se={setImmediate(u){const s=Be++;return re[s]=!0,Ge.then(()=>ze(s)&&u()),s},clearImmediate(u){ze(u)}};var Q=n(8881),q=n(9054);const Ae=new class be extends q.v{flush(s){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let o,b=-1,w=t.length;s=s||t.shift();do{if(o=s.execute(s.state,s.delay))break}while(++b<w&&(s=t.shift()));if(this.active=!1,o){for(;++b<w&&(s=t.shift());)s.unsubscribe();throw o}}}(class ve extends Q.o{constructor(s,t){super(s,t),this.scheduler=s,this.work=t}requestAsyncId(s,t,o=0){return null!==o&&o>0?super.requestAsyncId(s,t,o):(s.actions.push(this),s.scheduled||(s.scheduled=Se.setImmediate(s.flush.bind(s,null))))}recycleAsyncId(s,t,o=0){if(null!==o&&o>0||null===o&&this.delay>0)return super.recycleAsyncId(s,t,o);0===s.actions.length&&(Se.clearImmediate(t),s.scheduled=void 0)}});var ke=n(8310),ye=n(7806),Re=n(6312),me=n(8623),Pe=n(4666);const je=["content"],Ke=["scroll"],Je=["padding"],$e=function(u){return{searchTerm:u}};function ut(u,s){if(1&u&&(e.TgZ(0,"div",6),e.GkF(1,7),e.qZA()),2&u){const t=e.oxw();e.xp6(1),e.Q6J("ngTemplateOutlet",t.headerTemplate)("ngTemplateOutletContext",e.VKq(2,$e,t.filterValue))}}function pt(u,s){if(1&u&&(e.TgZ(0,"div",8),e.GkF(1,7),e.qZA()),2&u){const t=e.oxw();e.xp6(1),e.Q6J("ngTemplateOutlet",t.footerTemplate)("ngTemplateOutletContext",e.VKq(2,$e,t.filterValue))}}const at=["*"],mt=["searchInput"];function gt(u,s){if(1&u){const t=e.EpF();e.TgZ(0,"span",15),e.NdJ("click",function(){e.CHM(t);const b=e.oxw().$implicit;return e.oxw(2).unselect(b)}),e._uU(1,"\xd7"),e.qZA(),e._UZ(2,"span",16)}if(2&u){const t=e.oxw().$implicit,o=e.oxw(2);e.xp6(2),e.Q6J("ngItemLabel",t.label)("escape",o.escapeHTML)}}function it(u,s){}const _t=function(u,s,t){return{item:u,clear:s,label:t}};function Et(u,s){if(1&u&&(e.TgZ(0,"div",12),e.YNc(1,gt,3,2,"ng-template",null,13,e.W1O),e.YNc(3,it,0,0,"ng-template",14),e.qZA()),2&u){const t=s.$implicit,o=e.MAs(2),b=e.oxw(2);e.ekj("ng-value-disabled",t.disabled),e.xp6(3),e.Q6J("ngTemplateOutlet",b.labelTemplate||o)("ngTemplateOutletContext",e.kEZ(4,_t,t.value,b.clearItem,t.label))}}function bt(u,s){if(1&u&&(e.ynx(0),e.YNc(1,Et,4,8,"div",11),e.BQk()),2&u){const t=e.oxw();e.xp6(1),e.Q6J("ngForOf",t.selectedItems)("ngForTrackBy",t.trackByOption)}}function vt(u,s){}const yt=function(u,s){return{items:u,clear:s}};function Tt(u,s){if(1&u&&e.YNc(0,vt,0,0,"ng-template",14),2&u){const t=e.oxw();e.Q6J("ngTemplateOutlet",t.multiLabelTemplate)("ngTemplateOutletContext",e.WLB(2,yt,t.selectedValues,t.clearItem))}}function lt(u,s){1&u&&e._UZ(0,"div",19)}function ct(u,s){}function xt(u,s){if(1&u&&(e.ynx(0),e.YNc(1,lt,1,0,"ng-template",null,17,e.W1O),e.YNc(3,ct,0,0,"ng-template",18),e.BQk()),2&u){const t=e.MAs(2),o=e.oxw();e.xp6(3),e.Q6J("ngTemplateOutlet",o.loadingSpinnerTemplate||t)}}function ht(u,s){if(1&u&&(e.TgZ(0,"span",20)(1,"span",21),e._uU(2,"\xd7"),e.qZA()()),2&u){const t=e.oxw();e.s9C("title",t.clearAllText)}}function Qe(u,s){if(1&u&&e._UZ(0,"span",27),2&u){const t=e.oxw().$implicit,o=e.oxw(2);e.Q6J("ngItemLabel",t.label)("escape",o.escapeHTML)}}function Ct(u,s){}const St=function(u,s,t,o){return{item:u,item$:s,index:t,searchTerm:o}};function Xe(u,s){if(1&u){const t=e.EpF();e.TgZ(0,"div",25),e.NdJ("click",function(){const w=e.CHM(t).$implicit;return e.oxw(2).toggleItem(w)})("mouseover",function(){const w=e.CHM(t).$implicit;return e.oxw(2).onItemHover(w)}),e.YNc(1,Qe,1,2,"ng-template",null,26,e.W1O),e.YNc(3,Ct,0,0,"ng-template",14),e.qZA()}if(2&u){const t=s.$implicit,o=e.MAs(2),b=e.oxw(2);e.ekj("ng-option-disabled",t.disabled)("ng-option-selected",t.selected)("ng-optgroup",t.children)("ng-option",!t.children)("ng-option-child",!!t.parent)("ng-option-marked",t===b.itemsList.markedItem),e.uIk("role",t.children?"group":"option")("aria-selected",t.selected)("id",null==t?null:t.htmlId),e.xp6(3),e.Q6J("ngTemplateOutlet",t.children?b.optgroupTemplate||o:b.optionTemplate||o)("ngTemplateOutletContext",e.l5B(17,St,t.value,t,t.index,b.searchTerm))}}function dt(u,s){if(1&u&&(e.TgZ(0,"span")(1,"span",30),e._uU(2),e.qZA(),e._uU(3),e.qZA()),2&u){const t=e.oxw(3);e.xp6(2),e.Oqu(t.addTagText),e.xp6(1),e.hij('"',t.searchTerm,'"')}}function Oe(u,s){}function Ot(u,s){if(1&u){const t=e.EpF();e.TgZ(0,"div",28),e.NdJ("mouseover",function(){return e.CHM(t),e.oxw(2).itemsList.unmarkItem()})("click",function(){return e.CHM(t),e.oxw(2).selectTag()}),e.YNc(1,dt,4,2,"ng-template",null,29,e.W1O),e.YNc(3,Oe,0,0,"ng-template",14),e.qZA()}if(2&u){const t=e.MAs(2),o=e.oxw(2);e.ekj("ng-option-marked",!o.itemsList.markedItem),e.xp6(3),e.Q6J("ngTemplateOutlet",o.tagTemplate||t)("ngTemplateOutletContext",e.VKq(4,$e,o.searchTerm))}}function st(u,s){if(1&u&&(e.TgZ(0,"div",32),e._uU(1),e.qZA()),2&u){const t=e.oxw(3);e.xp6(1),e.Oqu(t.notFoundText)}}function qe(u,s){}function wt(u,s){if(1&u&&(e.ynx(0),e.YNc(1,st,2,1,"ng-template",null,31,e.W1O),e.YNc(3,qe,0,0,"ng-template",14),e.BQk()),2&u){const t=e.MAs(2),o=e.oxw(2);e.xp6(3),e.Q6J("ngTemplateOutlet",o.notFoundTemplate||t)("ngTemplateOutletContext",e.VKq(2,$e,o.searchTerm))}}function At(u,s){if(1&u&&(e.TgZ(0,"div",32),e._uU(1),e.qZA()),2&u){const t=e.oxw(3);e.xp6(1),e.Oqu(t.typeToSearchText)}}function It(u,s){}function y(u,s){if(1&u&&(e.ynx(0),e.YNc(1,At,2,1,"ng-template",null,33,e.W1O),e.YNc(3,It,0,0,"ng-template",18),e.BQk()),2&u){const t=e.MAs(2),o=e.oxw(2);e.xp6(3),e.Q6J("ngTemplateOutlet",o.typeToSearchTemplate||t)}}function O(u,s){if(1&u&&(e.TgZ(0,"div",32),e._uU(1),e.qZA()),2&u){const t=e.oxw(3);e.xp6(1),e.Oqu(t.loadingText)}}function D(u,s){}function A(u,s){if(1&u&&(e.ynx(0),e.YNc(1,O,2,1,"ng-template",null,34,e.W1O),e.YNc(3,D,0,0,"ng-template",14),e.BQk()),2&u){const t=e.MAs(2),o=e.oxw(2);e.xp6(3),e.Q6J("ngTemplateOutlet",o.loadingTextTemplate||t)("ngTemplateOutletContext",e.VKq(2,$e,o.searchTerm))}}function M(u,s){if(1&u){const t=e.EpF();e.TgZ(0,"ng-dropdown-panel",22),e.NdJ("update",function(b){return e.CHM(t),e.oxw().viewPortItems=b})("scroll",function(b){return e.CHM(t),e.oxw().scroll.emit(b)})("scrollToEnd",function(b){return e.CHM(t),e.oxw().scrollToEnd.emit(b)})("outsideClick",function(){return e.CHM(t),e.oxw().close()}),e.ynx(1),e.YNc(2,Xe,4,22,"div",23),e.YNc(3,Ot,4,6,"div",24),e.BQk(),e.YNc(4,wt,4,4,"ng-container",3),e.YNc(5,y,4,1,"ng-container",3),e.YNc(6,A,4,4,"ng-container",3),e.qZA()}if(2&u){const t=e.oxw();e.ekj("ng-select-multiple",t.multiple),e.Q6J("virtualScroll",t.virtualScroll)("bufferAmount",t.bufferAmount)("appendTo",t.appendTo)("position",t.dropdownPosition)("headerTemplate",t.headerTemplate)("footerTemplate",t.footerTemplate)("filterValue",t.searchTerm)("items",t.itemsList.filteredItems)("markedItem",t.itemsList.markedItem)("ngClass",t.appendTo?t.classes:null)("id",t.dropdownId),e.xp6(2),e.Q6J("ngForOf",t.viewPortItems)("ngForTrackBy",t.trackByOption),e.xp6(1),e.Q6J("ngIf",t.showAddTag),e.xp6(1),e.Q6J("ngIf",t.showNoItemsFound()),e.xp6(1),e.Q6J("ngIf",t.showTypeToSearch()),e.xp6(1),e.Q6J("ngIf",t.loading&&0===t.itemsList.filteredItems.length)}}const k=/[&<>"']/g,B=RegExp(k.source),V={"&":"&","<":"<",">":">",'"':""","'":"'"};function R(u){return null!=u}function H(u){return"object"==typeof u&&R(u)}function te(u){return u instanceof Function}let ue=(()=>{class u{constructor(t){this.element=t,this.escape=!0}ngOnChanges(t){this.element.nativeElement.innerHTML=this.escape?function z(u){return u&&B.test(u)?u.replace(k,s=>V[s]):u}(this.ngItemLabel):this.ngItemLabel}}return u.\u0275fac=function(t){return new(t||u)(e.Y36(e.SBq))},u.\u0275dir=e.lG2({type:u,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:"ngItemLabel",escape:"escape"},features:[e.TTD]}),u})(),Te=(()=>{class u{constructor(t){this.template=t}}return u.\u0275fac=function(t){return new(t||u)(e.Y36(e.Rgc))},u.\u0275dir=e.lG2({type:u,selectors:[["","ng-option-tmp",""]]}),u})(),fe=(()=>{class u{constructor(t){this.template=t}}return u.\u0275fac=function(t){return new(t||u)(e.Y36(e.Rgc))},u.\u0275dir=e.lG2({type:u,selectors:[["","ng-optgroup-tmp",""]]}),u})(),K=(()=>{class u{constructor(t){this.template=t}}return u.\u0275fac=function(t){return new(t||u)(e.Y36(e.Rgc))},u.\u0275dir=e.lG2({type:u,selectors:[["","ng-label-tmp",""]]}),u})(),j=(()=>{class u{constructor(t){this.template=t}}return u.\u0275fac=function(t){return new(t||u)(e.Y36(e.Rgc))},u.\u0275dir=e.lG2({type:u,selectors:[["","ng-multi-label-tmp",""]]}),u})(),le=(()=>{class u{constructor(t){this.template=t}}return u.\u0275fac=function(t){return new(t||u)(e.Y36(e.Rgc))},u.\u0275dir=e.lG2({type:u,selectors:[["","ng-header-tmp",""]]}),u})(),ge=(()=>{class u{constructor(t){this.template=t}}return u.\u0275fac=function(t){return new(t||u)(e.Y36(e.Rgc))},u.\u0275dir=e.lG2({type:u,selectors:[["","ng-footer-tmp",""]]}),u})(),de=(()=>{class u{constructor(t){this.template=t}}return u.\u0275fac=function(t){return new(t||u)(e.Y36(e.Rgc))},u.\u0275dir=e.lG2({type:u,selectors:[["","ng-notfound-tmp",""]]}),u})(),Ie=(()=>{class u{constructor(t){this.template=t}}return u.\u0275fac=function(t){return new(t||u)(e.Y36(e.Rgc))},u.\u0275dir=e.lG2({type:u,selectors:[["","ng-typetosearch-tmp",""]]}),u})(),oe=(()=>{class u{constructor(t){this.template=t}}return u.\u0275fac=function(t){return new(t||u)(e.Y36(e.Rgc))},u.\u0275dir=e.lG2({type:u,selectors:[["","ng-loadingtext-tmp",""]]}),u})(),Me=(()=>{class u{constructor(t){this.template=t}}return u.\u0275fac=function(t){return new(t||u)(e.Y36(e.Rgc))},u.\u0275dir=e.lG2({type:u,selectors:[["","ng-tag-tmp",""]]}),u})(),ce=(()=>{class u{constructor(t){this.template=t}}return u.\u0275fac=function(t){return new(t||u)(e.Y36(e.Rgc))},u.\u0275dir=e.lG2({type:u,selectors:[["","ng-loadingspinner-tmp",""]]}),u})();function De(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(16*Math.random()|0).toString(16))}const J={"\u24b6":"A",\uff21:"A",\u00c0:"A",\u00c1:"A",\u00c2:"A",\u1ea6:"A",\u1ea4:"A",\u1eaa:"A",\u1ea8:"A",\u00c3:"A",\u0100:"A",\u0102:"A",\u1eb0:"A",\u1eae:"A",\u1eb4:"A",\u1eb2:"A",\u0226:"A",\u01e0:"A",\u00c4:"A",\u01de:"A",\u1ea2:"A",\u00c5:"A",\u01fa:"A",\u01cd:"A",\u0200:"A",\u0202:"A",\u1ea0:"A",\u1eac:"A",\u1eb6:"A",\u1e00:"A",\u0104:"A",\u023a:"A",\u2c6f:"A",\ua732:"AA",\u00c6:"AE",\u01fc:"AE",\u01e2:"AE",\ua734:"AO",\ua736:"AU",\ua738:"AV",\ua73a:"AV",\ua73c:"AY","\u24b7":"B",\uff22:"B",\u1e02:"B",\u1e04:"B",\u1e06:"B",\u0243:"B",\u0182:"B",\u0181:"B","\u24b8":"C",\uff23:"C",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u00c7:"C",\u1e08:"C",\u0187:"C",\u023b:"C",\ua73e:"C","\u24b9":"D",\uff24:"D",\u1e0a:"D",\u010e:"D",\u1e0c:"D",\u1e10:"D",\u1e12:"D",\u1e0e:"D",\u0110:"D",\u018b:"D",\u018a:"D",\u0189:"D",\ua779:"D",\u01f1:"DZ",\u01c4:"DZ",\u01f2:"Dz",\u01c5:"Dz","\u24ba":"E",\uff25:"E",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u1ec0:"E",\u1ebe:"E",\u1ec4:"E",\u1ec2:"E",\u1ebc:"E",\u0112:"E",\u1e14:"E",\u1e16:"E",\u0114:"E",\u0116:"E",\u00cb:"E",\u1eba:"E",\u011a:"E",\u0204:"E",\u0206:"E",\u1eb8:"E",\u1ec6:"E",\u0228:"E",\u1e1c:"E",\u0118:"E",\u1e18:"E",\u1e1a:"E",\u0190:"E",\u018e:"E","\u24bb":"F",\uff26:"F",\u1e1e:"F",\u0191:"F",\ua77b:"F","\u24bc":"G",\uff27:"G",\u01f4:"G",\u011c:"G",\u1e20:"G",\u011e:"G",\u0120:"G",\u01e6:"G",\u0122:"G",\u01e4:"G",\u0193:"G",\ua7a0:"G",\ua77d:"G",\ua77e:"G","\u24bd":"H",\uff28:"H",\u0124:"H",\u1e22:"H",\u1e26:"H",\u021e:"H",\u1e24:"H",\u1e28:"H",\u1e2a:"H",\u0126:"H",\u2c67:"H",\u2c75:"H",\ua78d:"H","\u24be":"I",\uff29:"I",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u0128:"I",\u012a:"I",\u012c:"I",\u0130:"I",\u00cf:"I",\u1e2e:"I",\u1ec8:"I",\u01cf:"I",\u0208:"I",\u020a:"I",\u1eca:"I",\u012e:"I",\u1e2c:"I",\u0197:"I","\u24bf":"J",\uff2a:"J",\u0134:"J",\u0248:"J","\u24c0":"K",\uff2b:"K",\u1e30:"K",\u01e8:"K",\u1e32:"K",\u0136:"K",\u1e34:"K",\u0198:"K",\u2c69:"K",\ua740:"K",\ua742:"K",\ua744:"K",\ua7a2:"K","\u24c1":"L",\uff2c:"L",\u013f:"L",\u0139:"L",\u013d:"L",\u1e36:"L",\u1e38:"L",\u013b:"L",\u1e3c:"L",\u1e3a:"L",\u0141:"L",\u023d:"L",\u2c62:"L",\u2c60:"L",\ua748:"L",\ua746:"L",\ua780:"L",\u01c7:"LJ",\u01c8:"Lj","\u24c2":"M",\uff2d:"M",\u1e3e:"M",\u1e40:"M",\u1e42:"M",\u2c6e:"M",\u019c:"M","\u24c3":"N",\uff2e:"N",\u01f8:"N",\u0143:"N",\u00d1:"N",\u1e44:"N",\u0147:"N",\u1e46:"N",\u0145:"N",\u1e4a:"N",\u1e48:"N",\u0220:"N",\u019d:"N",\ua790:"N",\ua7a4:"N",\u01ca:"NJ",\u01cb:"Nj","\u24c4":"O",\uff2f:"O",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u1ed2:"O",\u1ed0:"O",\u1ed6:"O",\u1ed4:"O",\u00d5:"O",\u1e4c:"O",\u022c:"O",\u1e4e:"O",\u014c:"O",\u1e50:"O",\u1e52:"O",\u014e:"O",\u022e:"O",\u0230:"O",\u00d6:"O",\u022a:"O",\u1ece:"O",\u0150:"O",\u01d1:"O",\u020c:"O",\u020e:"O",\u01a0:"O",\u1edc:"O",\u1eda:"O",\u1ee0:"O",\u1ede:"O",\u1ee2:"O",\u1ecc:"O",\u1ed8:"O",\u01ea:"O",\u01ec:"O",\u00d8:"O",\u01fe:"O",\u0186:"O",\u019f:"O",\ua74a:"O",\ua74c:"O",\u01a2:"OI",\ua74e:"OO",\u0222:"OU","\u24c5":"P",\uff30:"P",\u1e54:"P",\u1e56:"P",\u01a4:"P",\u2c63:"P",\ua750:"P",\ua752:"P",\ua754:"P","\u24c6":"Q",\uff31:"Q",\ua756:"Q",\ua758:"Q",\u024a:"Q","\u24c7":"R",\uff32:"R",\u0154:"R",\u1e58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1e5a:"R",\u1e5c:"R",\u0156:"R",\u1e5e:"R",\u024c:"R",\u2c64:"R",\ua75a:"R",\ua7a6:"R",\ua782:"R","\u24c8":"S",\uff33:"S",\u1e9e:"S",\u015a:"S",\u1e64:"S",\u015c:"S",\u1e60:"S",\u0160:"S",\u1e66:"S",\u1e62:"S",\u1e68:"S",\u0218:"S",\u015e:"S",\u2c7e:"S",\ua7a8:"S",\ua784:"S","\u24c9":"T",\uff34:"T",\u1e6a:"T",\u0164:"T",\u1e6c:"T",\u021a:"T",\u0162:"T",\u1e70:"T",\u1e6e:"T",\u0166:"T",\u01ac:"T",\u01ae:"T",\u023e:"T",\ua786:"T",\ua728:"TZ","\u24ca":"U",\uff35:"U",\u00d9:"U",\u00da:"U",\u00db:"U",\u0168:"U",\u1e78:"U",\u016a:"U",\u1e7a:"U",\u016c:"U",\u00dc:"U",\u01db:"U",\u01d7:"U",\u01d5:"U",\u01d9:"U",\u1ee6:"U",\u016e:"U",\u0170:"U",\u01d3:"U",\u0214:"U",\u0216:"U",\u01af:"U",\u1eea:"U",\u1ee8:"U",\u1eee:"U",\u1eec:"U",\u1ef0:"U",\u1ee4:"U",\u1e72:"U",\u0172:"U",\u1e76:"U",\u1e74:"U",\u0244:"U","\u24cb":"V",\uff36:"V",\u1e7c:"V",\u1e7e:"V",\u01b2:"V",\ua75e:"V",\u0245:"V",\ua760:"VY","\u24cc":"W",\uff37:"W",\u1e80:"W",\u1e82:"W",\u0174:"W",\u1e86:"W",\u1e84:"W",\u1e88:"W",\u2c72:"W","\u24cd":"X",\uff38:"X",\u1e8a:"X",\u1e8c:"X","\u24ce":"Y",\uff39:"Y",\u1ef2:"Y",\u00dd:"Y",\u0176:"Y",\u1ef8:"Y",\u0232:"Y",\u1e8e:"Y",\u0178:"Y",\u1ef6:"Y",\u1ef4:"Y",\u01b3:"Y",\u024e:"Y",\u1efe:"Y","\u24cf":"Z",\uff3a:"Z",\u0179:"Z",\u1e90:"Z",\u017b:"Z",\u017d:"Z",\u1e92:"Z",\u1e94:"Z",\u01b5:"Z",\u0224:"Z",\u2c7f:"Z",\u2c6b:"Z",\ua762:"Z","\u24d0":"a",\uff41:"a",\u1e9a:"a",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u1ea7:"a",\u1ea5:"a",\u1eab:"a",\u1ea9:"a",\u00e3:"a",\u0101:"a",\u0103:"a",\u1eb1:"a",\u1eaf:"a",\u1eb5:"a",\u1eb3:"a",\u0227:"a",\u01e1:"a",\u00e4:"a",\u01df:"a",\u1ea3:"a",\u00e5:"a",\u01fb:"a",\u01ce:"a",\u0201:"a",\u0203:"a",\u1ea1:"a",\u1ead:"a",\u1eb7:"a",\u1e01:"a",\u0105:"a",\u2c65:"a",\u0250:"a",\ua733:"aa",\u00e6:"ae",\u01fd:"ae",\u01e3:"ae",\ua735:"ao",\ua737:"au",\ua739:"av",\ua73b:"av",\ua73d:"ay","\u24d1":"b",\uff42:"b",\u1e03:"b",\u1e05:"b",\u1e07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24d2":"c",\uff43:"c",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u00e7:"c",\u1e09:"c",\u0188:"c",\u023c:"c",\ua73f:"c",\u2184:"c","\u24d3":"d",\uff44:"d",\u1e0b:"d",\u010f:"d",\u1e0d:"d",\u1e11:"d",\u1e13:"d",\u1e0f:"d",\u0111:"d",\u018c:"d",\u0256:"d",\u0257:"d",\ua77a:"d",\u01f3:"dz",\u01c6:"dz","\u24d4":"e",\uff45:"e",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u1ec1:"e",\u1ebf:"e",\u1ec5:"e",\u1ec3:"e",\u1ebd:"e",\u0113:"e",\u1e15:"e",\u1e17:"e",\u0115:"e",\u0117:"e",\u00eb:"e",\u1ebb:"e",\u011b:"e",\u0205:"e",\u0207:"e",\u1eb9:"e",\u1ec7:"e",\u0229:"e",\u1e1d:"e",\u0119:"e",\u1e19:"e",\u1e1b:"e",\u0247:"e",\u025b:"e",\u01dd:"e","\u24d5":"f",\uff46:"f",\u1e1f:"f",\u0192:"f",\ua77c:"f","\u24d6":"g",\uff47:"g",\u01f5:"g",\u011d:"g",\u1e21:"g",\u011f:"g",\u0121:"g",\u01e7:"g",\u0123:"g",\u01e5:"g",\u0260:"g",\ua7a1:"g",\u1d79:"g",\ua77f:"g","\u24d7":"h",\uff48:"h",\u0125:"h",\u1e23:"h",\u1e27:"h",\u021f:"h",\u1e25:"h",\u1e29:"h",\u1e2b:"h",\u1e96:"h",\u0127:"h",\u2c68:"h",\u2c76:"h",\u0265:"h",\u0195:"hv","\u24d8":"i",\uff49:"i",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u0129:"i",\u012b:"i",\u012d:"i",\u00ef:"i",\u1e2f:"i",\u1ec9:"i",\u01d0:"i",\u0209:"i",\u020b:"i",\u1ecb:"i",\u012f:"i",\u1e2d:"i",\u0268:"i",\u0131:"i","\u24d9":"j",\uff4a:"j",\u0135:"j",\u01f0:"j",\u0249:"j","\u24da":"k",\uff4b:"k",\u1e31:"k",\u01e9:"k",\u1e33:"k",\u0137:"k",\u1e35:"k",\u0199:"k",\u2c6a:"k",\ua741:"k",\ua743:"k",\ua745:"k",\ua7a3:"k","\u24db":"l",\uff4c:"l",\u0140:"l",\u013a:"l",\u013e:"l",\u1e37:"l",\u1e39:"l",\u013c:"l",\u1e3d:"l",\u1e3b:"l",\u017f:"l",\u0142:"l",\u019a:"l",\u026b:"l",\u2c61:"l",\ua749:"l",\ua781:"l",\ua747:"l",\u01c9:"lj","\u24dc":"m",\uff4d:"m",\u1e3f:"m",\u1e41:"m",\u1e43:"m",\u0271:"m",\u026f:"m","\u24dd":"n",\uff4e:"n",\u01f9:"n",\u0144:"n",\u00f1:"n",\u1e45:"n",\u0148:"n",\u1e47:"n",\u0146:"n",\u1e4b:"n",\u1e49:"n",\u019e:"n",\u0272:"n",\u0149:"n",\ua791:"n",\ua7a5:"n",\u01cc:"nj","\u24de":"o",\uff4f:"o",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u1ed3:"o",\u1ed1:"o",\u1ed7:"o",\u1ed5:"o",\u00f5:"o",\u1e4d:"o",\u022d:"o",\u1e4f:"o",\u014d:"o",\u1e51:"o",\u1e53:"o",\u014f:"o",\u022f:"o",\u0231:"o",\u00f6:"o",\u022b:"o",\u1ecf:"o",\u0151:"o",\u01d2:"o",\u020d:"o",\u020f:"o",\u01a1:"o",\u1edd:"o",\u1edb:"o",\u1ee1:"o",\u1edf:"o",\u1ee3:"o",\u1ecd:"o",\u1ed9:"o",\u01eb:"o",\u01ed:"o",\u00f8:"o",\u01ff:"o",\u0254:"o",\ua74b:"o",\ua74d:"o",\u0275:"o",\u01a3:"oi",\u0223:"ou",\ua74f:"oo","\u24df":"p",\uff50:"p",\u1e55:"p",\u1e57:"p",\u01a5:"p",\u1d7d:"p",\ua751:"p",\ua753:"p",\ua755:"p","\u24e0":"q",\uff51:"q",\u024b:"q",\ua757:"q",\ua759:"q","\u24e1":"r",\uff52:"r",\u0155:"r",\u1e59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1e5b:"r",\u1e5d:"r",\u0157:"r",\u1e5f:"r",\u024d:"r",\u027d:"r",\ua75b:"r",\ua7a7:"r",\ua783:"r","\u24e2":"s",\uff53:"s",\u00df:"s",\u015b:"s",\u1e65:"s",\u015d:"s",\u1e61:"s",\u0161:"s",\u1e67:"s",\u1e63:"s",\u1e69:"s",\u0219:"s",\u015f:"s",\u023f:"s",\ua7a9:"s",\ua785:"s",\u1e9b:"s","\u24e3":"t",\uff54:"t",\u1e6b:"t",\u1e97:"t",\u0165:"t",\u1e6d:"t",\u021b:"t",\u0163:"t",\u1e71:"t",\u1e6f:"t",\u0167:"t",\u01ad:"t",\u0288:"t",\u2c66:"t",\ua787:"t",\ua729:"tz","\u24e4":"u",\uff55:"u",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u0169:"u",\u1e79:"u",\u016b:"u",\u1e7b:"u",\u016d:"u",\u00fc:"u",\u01dc:"u",\u01d8:"u",\u01d6:"u",\u01da:"u",\u1ee7:"u",\u016f:"u",\u0171:"u",\u01d4:"u",\u0215:"u",\u0217:"u",\u01b0:"u",\u1eeb:"u",\u1ee9:"u",\u1eef:"u",\u1eed:"u",\u1ef1:"u",\u1ee5:"u",\u1e73:"u",\u0173:"u",\u1e77:"u",\u1e75:"u",\u0289:"u","\u24e5":"v",\uff56:"v",\u1e7d:"v",\u1e7f:"v",\u028b:"v",\ua75f:"v",\u028c:"v",\ua761:"vy","\u24e6":"w",\uff57:"w",\u1e81:"w",\u1e83:"w",\u0175:"w",\u1e87:"w",\u1e85:"w",\u1e98:"w",\u1e89:"w",\u2c73:"w","\u24e7":"x",\uff58:"x",\u1e8b:"x",\u1e8d:"x","\u24e8":"y",\uff59:"y",\u1ef3:"y",\u00fd:"y",\u0177:"y",\u1ef9:"y",\u0233:"y",\u1e8f:"y",\u00ff:"y",\u1ef7:"y",\u1e99:"y",\u1ef5:"y",\u01b4:"y",\u024f:"y",\u1eff:"y","\u24e9":"z",\uff5a:"z",\u017a:"z",\u1e91:"z",\u017c:"z",\u017e:"z",\u1e93:"z",\u1e95:"z",\u01b6:"z",\u0225:"z",\u0240:"z",\u2c6c:"z",\ua763:"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038a:"\u0399",\u03aa:"\u0399",\u038c:"\u039f",\u038e:"\u03a5",\u03ab:"\u03a5",\u038f:"\u03a9",\u03ac:"\u03b1",\u03ad:"\u03b5",\u03ae:"\u03b7",\u03af:"\u03b9",\u03ca:"\u03b9",\u0390:"\u03b9",\u03cc:"\u03bf",\u03cd:"\u03c5",\u03cb:"\u03c5",\u03b0:"\u03c5",\u03c9:"\u03c9",\u03c2:"\u03c3"};function se(u){return u.replace(/[^\u0000-\u007E]/g,t=>J[t]||t)}class ee{constructor(s,t){this._ngSelect=s,this._selectionModel=t,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this.selectedItems.length}get lastSelectedItem(){let s=this.selectedItems.length-1;for(;s>=0;s--){const t=this.selectedItems[s];if(!t.disabled)return t}return null}setItems(s){this._items=s.map((t,o)=>this.mapItem(t,o)),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(s){if(s.selected||this.maxItemsSelected)return;const t=this._ngSelect.multiple;t||this.clearSelected(),this._selectionModel.select(s,t,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(s)}unselect(s){!s.selected||(this._selectionModel.unselect(s,this._ngSelect.multiple),this._ngSelect.hideSelected&&R(s.index)&&this._ngSelect.multiple&&this._showSelected(s))}findItem(s){let t;return t=this._ngSelect.compareWith?o=>this._ngSelect.compareWith(o.value,s):this._ngSelect.bindValue?o=>!o.children&&this.resolveNested(o.value,this._ngSelect.bindValue)===s:o=>o.value===s||!o.children&&o.label&&o.label===this.resolveNested(s,this._ngSelect.bindLabel),this._items.find(o=>t(o))}addItem(s){const t=this.mapItem(s,this._items.length);return this._items.push(t),this._filteredItems.push(t),t}clearSelected(s=!1){this._selectionModel.clear(s),this._items.forEach(t=>{t.selected=s&&t.selected&&t.disabled,t.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(s){return s=se(s).toLocaleLowerCase(),this.filteredItems.find(t=>se(t.label).toLocaleLowerCase().substr(0,s.length)===s)}filter(s){if(!s)return void this.resetFilteredItems();this._filteredItems=[],s=this._ngSelect.searchFn?s:se(s).toLocaleLowerCase();const t=this._ngSelect.searchFn||this._defaultSearchFn,o=this._ngSelect.hideSelected;for(const b of Array.from(this._groups.keys())){const w=[];for(const P of this._groups.get(b))o&&(P.parent&&P.parent.selected||P.selected)||t(s,this._ngSelect.searchFn?P.value:P)&&w.push(P);if(w.length>0){const[P]=w.slice(-1);if(P.parent){const N=this._items.find(G=>G===P.parent);this._filteredItems.push(N)}this._filteredItems.push(...w)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._filteredItems=this._ngSelect.hideSelected&&this.selectedItems.length>0?this._items.filter(s=>!s.selected):this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(s){this._markedIndex=this._filteredItems.indexOf(s)}markSelectedOrDefault(s){if(0===this._filteredItems.length)return;const t=this._getLastMarkedIndex();this._markedIndex=t>-1?t:s?this.filteredItems.findIndex(o=>!o.disabled):-1}resolveNested(s,t){if(!H(s))return s;if(-1===t.indexOf("."))return s[t];{const o=t.split(".");let b=s;for(let w=0,P=o.length;w<P;++w){if(null==b)return null;b=b[o[w]]}return b}}mapItem(s,t){const o=R(s.$ngOptionLabel)?s.$ngOptionLabel:this.resolveNested(s,this._ngSelect.bindLabel),b=R(s.$ngOptionValue)?s.$ngOptionValue:s;return{index:t,label:R(o)?o.toString():"",value:b,disabled:s.disabled,htmlId:`${this._ngSelect.dropdownId}-${t}`}}mapSelectedItems(){const s=this._ngSelect.multiple;for(const t of this.selectedItems){const o=this._ngSelect.bindValue?this.resolveNested(t.value,this._ngSelect.bindValue):t.value,b=R(o)?this.findItem(o):null;this._selectionModel.unselect(t,s),this._selectionModel.select(b||t,s,this._ngSelect.selectableGroupAsModel)}this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter(t=>-1===this.selectedItems.indexOf(t)))}_showSelected(s){if(this._filteredItems.push(s),s.parent){const t=s.parent;this._filteredItems.find(b=>b===t)||this._filteredItems.push(t)}else if(s.children)for(const t of s.children)t.selected=!1,this._filteredItems.push(t);this._filteredItems=[...this._filteredItems.sort((t,o)=>t.index-o.index)]}_hideSelected(s){this._filteredItems=this._filteredItems.filter(t=>t!==s),s.parent?s.parent.children.every(o=>o.selected)&&(this._filteredItems=this._filteredItems.filter(o=>o!==s.parent)):s.children&&(this._filteredItems=this.filteredItems.filter(t=>t.parent!==s))}_defaultSearchFn(s,t){return se(t.label).toLocaleLowerCase().indexOf(s)>-1}_getNextItemIndex(s){return s>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(s){0===this._filteredItems.length||this._filteredItems.every(t=>t.disabled)||(this._markedIndex=this._getNextItemIndex(s),this.markedItem.disabled&&this._stepToItem(s))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected||this._markedIndex>-1&&void 0===this.markedItem)return-1;const s=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&s<0?-1:Math.max(this.markedIndex,s)}_groupBy(s,t){const o=new Map;if(0===s.length)return o;if(Array.isArray(s[0].value[t])){for(const P of s){const N=(P.value[t]||[]).map((G,$)=>this.mapItem(G,$));o.set(P,N)}return o}const b=te(this._ngSelect.groupBy),w=P=>{const N=b?t(P.value):P.value[t];return R(N)?N:void 0};for(const P of s){const N=w(P),G=o.get(N);G?G.push(P):o.set(N,[P])}return o}_flatten(s){const t=te(this._ngSelect.groupBy),o=[];for(const b of Array.from(s.keys())){let w=o.length;if(void 0===b){const _e=s.get(void 0)||[];o.push(..._e.map(we=>(we.index=w++,we)));continue}const P=H(b),N={label:P?"":String(b),children:void 0,parent:null,index:w++,disabled:!this._ngSelect.selectableGroup,htmlId:De()},G=t?this._ngSelect.bindLabel:this._ngSelect.groupBy,$=this._ngSelect.groupValue||(()=>P?b.value:{[G]:b}),he=s.get(b).map(_e=>(_e.parent=N,_e.children=void 0,_e.index=w++,_e));N.children=he,N.value=$(b,he.map(_e=>_e.value)),o.push(N),o.push(...he)}return o}}var Ee=(()=>{return(u=Ee||(Ee={}))[u.Tab=9]="Tab",u[u.Enter=13]="Enter",u[u.Esc=27]="Esc",u[u.Space=32]="Space",u[u.ArrowUp=38]="ArrowUp",u[u.ArrowDown=40]="ArrowDown",u[u.Backspace=8]="Backspace",Ee;var u})();let Ye=(()=>{class u{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(t,o,b){const w=this._dimensions,P=w.itemHeight*o,G=Math.max(0,t)/P*o;let $=Math.min(o,Math.ceil(G)+(w.itemsPerViewport+1));const _e=Math.max(0,$-w.itemsPerViewport);let we=Math.min(_e,Math.floor(G)),et=w.itemHeight*Math.ceil(we)-w.itemHeight*Math.min(we,b);return et=isNaN(et)?0:et,we=isNaN(we)?-1:we,$=isNaN($)?-1:$,we-=b,we=Math.max(0,we),$+=b,$=Math.min(o,$),{topPadding:et,scrollHeight:P,start:we,end:$}}setDimensions(t,o){const b=Math.max(1,Math.floor(o/t));this._dimensions={itemHeight:t,panelHeight:o,itemsPerViewport:b}}getScrollTo(t,o,b){const{panelHeight:w}=this.dimensions,P=t+o,G=b+w;return w>=P&&b===t?null:P>G?b+P-G:t<=b?t:null}}return u.\u0275fac=function(t){return new(t||u)},u.\u0275prov=e.Yz7({token:u,factory:u.\u0275fac}),u})();const pe=["top","right","bottom","left"],Ze=typeof requestAnimationFrame<"u"?ke.Z:Ae;let He=(()=>{class u{constructor(t,o,b,w,P){this._renderer=t,this._zone=o,this._panelService=b,this._document=P,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new e.vpe,this.scroll=new e.vpe,this.scrollToEnd=new e.vpe,this.outsideClick=new e.vpe,this._destroy$=new ye.xQ,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=w.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(t){t!==this._itemsLength&&(this._itemsLength=t,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){const{itemHeight:t,panelHeight:o}=this._panelService.dimensions,b=this.markedItem.index*t;return o>b?0:b}return 0}ngOnInit(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener()}ngOnChanges(t){if(t.items){const o=t.items;this._onItemsChange(o.currentValue,o.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(t,o=!1){if(!t)return;const b=this.items.indexOf(t);if(b<0||b>=this.itemsLength)return;let w;if(this.virtualScroll){const P=this._panelService.dimensions.itemHeight;w=this._panelService.getScrollTo(b*P,P,this._lastScrollPosition)}else{const P=this._dropdown.querySelector(`#${t.htmlId}`);w=this._panelService.getScrollTo(P.offsetTop,P.clientHeight,o?P.offsetTop:this._lastScrollPosition)}R(w)&&(this._scrollablePanel.scrollTop=w)}scrollToTag(){const t=this._scrollablePanel;t.scrollTop=t.scrollHeight-t.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),pe.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(t){pe.forEach(b=>{const w=`ng-select-${b}`;this._renderer.removeClass(this._dropdown,w),this._renderer.removeClass(this._select,w)});const o=`ng-select-${t}`;this._renderer.addClass(this._dropdown,o),this._renderer.addClass(this._select,o)}_handleScroll(){this._zone.runOutsideAngular(()=>{(0,Re.R)(this.scrollElementRef.nativeElement,"scroll").pipe(h(this._destroy$),function S(u,s=p.P){return function l(u){return function(t){return t.lift(new m(u))}}(()=>function x(u=0,s,t){let o=-1;return(0,T.k)(s)?o=Number(s)<1?1:Number(s):(0,E.K)(s)&&(t=s),(0,E.K)(t)||(t=p.P),new _.y(b=>{const w=(0,T.k)(u)?u:+u-t.now();return t.schedule(C,w,{index:0,period:o,subscriber:b})})}(u,s))}(0,Ze)).subscribe(t=>{const o=t.path||t.composedPath&&t.composedPath();this._onContentScrolled(o&&0!==o.length?o[0].scrollTop:t.target.scrollTop)})})}_handleOutsideClick(){!this._document||this._zone.runOutsideAngular(()=>{(0,me.T)((0,Re.R)(this._document,"touchstart",{capture:!0}),(0,Re.R)(this._document,"mousedown",{capture:!0})).pipe(h(this._destroy$)).subscribe(t=>this._checkToClose(t))})}_checkToClose(t){if(this._select.contains(t.target)||this._dropdown.contains(t.target))return;const o=t.path||t.composedPath&&t.composedPath();t.target&&t.target.shadowRoot&&o&&o[0]&&this._select.contains(o[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(t,o){this.items=t||[],this._scrollToEndFired=!1,this.itemsLength=t.length,this.virtualScroll?this._updateItemsRange(o):(this._setVirtualHeight(),this._updateItems(o))}_updateItems(t){this.update.emit(this.items),!1!==t&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._panelService.setDimensions(0,this._scrollablePanel.clientHeight),this._handleDropdownPosition(),this.scrollTo(this.markedItem,t)})})}_updateItemsRange(t){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{t?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(t){this.virtualScroll&&this._renderItemsRange(t),this._lastScrollPosition=t,this._fireScrollToEnd(t)}_updateVirtualHeight(t){this._updateScrollHeight&&(this._virtualPadding.style.height=`${t}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){!this._virtualPadding||(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(t=null){if(t&&this._lastScrollPosition===t)return;const o=this._panelService.calculateItems(t=t||this._scrollablePanel.scrollTop,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(o.scrollHeight),this._contentPanel.style.transform=`translateY(${o.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(o.start,o.end)),this.scroll.emit({start:o.start,end:o.end})}),R(t)&&0===this._lastScrollPosition&&(this._scrollablePanel.scrollTop=t,this._lastScrollPosition=t)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||0===this.itemsLength)return Promise.resolve(this._panelService.dimensions);const[t]=this.items;return this.update.emit([t]),Promise.resolve().then(()=>{const b=this._dropdown.querySelector(`#${t.htmlId}`).clientHeight;return this._virtualPadding.style.height=b*this.itemsLength+"px",this._panelService.setDimensions(b,this._scrollablePanel.clientHeight),this._panelService.dimensions})}_fireScrollToEnd(t){this._scrollToEndFired||0===t||t+this._dropdown.clientHeight>=(this.virtualScroll?this._virtualPadding:this._contentPanel).clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(t){if("auto"!==this.position)return this.position;const o=this._select.getBoundingClientRect(),b=document.documentElement.scrollTop||document.body.scrollTop;return o.top+window.pageYOffset+o.height+t.getBoundingClientRect().height>b+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo){if(this._parent=document.querySelector(this.appendTo),!this._parent)throw new Error(`appendTo selector ${this.appendTo} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){const t=this._select.getBoundingClientRect(),o=this._parent.getBoundingClientRect();this._dropdown.style.left=t.left-o.left+"px",this._dropdown.style.width=t.width+"px",this._dropdown.style.minWidth=t.width+"px"}_updateYPosition(){const t=this._select.getBoundingClientRect(),o=this._parent.getBoundingClientRect(),b=t.height;"top"===this._currentPosition?(this._dropdown.style.bottom=o.bottom-t.bottom+b+"px",this._dropdown.style.top="auto"):"bottom"===this._currentPosition&&(this._dropdown.style.top=t.top-o.top+b+"px",this._dropdown.style.bottom="auto")}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{(0,Re.R)(this._dropdown,"mousedown").pipe(h(this._destroy$)).subscribe(t=>{"INPUT"!==t.target.tagName&&t.preventDefault()})})}}return u.\u0275fac=function(t){return new(t||u)(e.Y36(e.Qsj),e.Y36(e.R0b),e.Y36(Ye),e.Y36(e.SBq),e.Y36(Pe.K0,8))},u.\u0275cmp=e.Xpm({type:u,selectors:[["ng-dropdown-panel"]],viewQuery:function(t,o){if(1&t&&(e.Gf(je,7,e.SBq),e.Gf(Ke,7,e.SBq),e.Gf(Je,7,e.SBq)),2&t){let b;e.iGM(b=e.CRH())&&(o.contentElementRef=b.first),e.iGM(b=e.CRH())&&(o.scrollElementRef=b.first),e.iGM(b=e.CRH())&&(o.paddingElementRef=b.first)}},inputs:{items:"items",markedItem:"markedItem",position:"position",appendTo:"appendTo",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",headerTemplate:"headerTemplate",footerTemplate:"footerTemplate",filterValue:"filterValue"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[e.TTD],ngContentSelectors:at,decls:9,vars:6,consts:[["class","ng-dropdown-header",4,"ngIf"],[1,"ng-dropdown-panel-items","scroll-host"],["scroll",""],["padding",""],["content",""],["class","ng-dropdown-footer",4,"ngIf"],[1,"ng-dropdown-header"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-dropdown-footer"]],template:function(t,o){1&t&&(e.F$t(),e.YNc(0,ut,2,4,"div",0),e.TgZ(1,"div",1,2),e._UZ(3,"div",null,3),e.TgZ(5,"div",null,4),e.Hsn(7),e.qZA()(),e.YNc(8,pt,2,4,"div",5)),2&t&&(e.Q6J("ngIf",o.headerTemplate),e.xp6(3),e.ekj("total-padding",o.virtualScroll),e.xp6(2),e.ekj("scrollable-content",o.virtualScroll&&o.items.length),e.xp6(3),e.Q6J("ngIf",o.footerTemplate))},directives:[Pe.O5,Pe.tP],encapsulation:2,changeDetection:0}),u})(),xe=(()=>{class u{constructor(t){this.elementRef=t,this.stateChange$=new ye.xQ,this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=this._isDisabled(t)}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(t){t.disabled&&this.stateChange$.next({value:this.value,disabled:this._disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this._disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}_isDisabled(t){return null!=t&&"false"!=`${t}`}}return u.\u0275fac=function(t){return new(t||u)(e.Y36(e.SBq))},u.\u0275cmp=e.Xpm({type:u,selectors:[["ng-option"]],inputs:{value:"value",disabled:"disabled"},features:[e.TTD],ngContentSelectors:at,decls:1,vars:0,template:function(t,o){1&t&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0}),u})(),ae=(()=>{class u{constructor(){this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline"}}return u.\u0275fac=function(t){return new(t||u)},u.\u0275prov=e.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})(),W=(()=>{class u{warn(t){console.warn(t)}}return u.\u0275fac=function(t){return new(t||u)},u.\u0275prov=e.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();const v=new e.OlP("ng-select-selection-model");let I=(()=>{class u{constructor(t,o,b,w,P,N,G){this.classes=t,this.autoFocus=o,this.config=b,this._cd=N,this._console=G,this.markFirst=!0,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.trackByFn=null,this.clearOnBackspace=!0,this.labelForId=null,this.inputAttrs={},this.readonly=!1,this.searchWhileComposing=!0,this.minTermLength=0,this.editableSearchTerm=!1,this.keyDownFn=$=>!0,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new e.vpe,this.focusEvent=new e.vpe,this.changeEvent=new e.vpe,this.openEvent=new e.vpe,this.closeEvent=new e.vpe,this.searchEvent=new e.vpe,this.clearEvent=new e.vpe,this.addEvent=new e.vpe,this.removeEvent=new e.vpe,this.scroll=new e.vpe,this.scrollToEnd=new e.vpe,this.useDefaultClass=!0,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=De(),this.escapeHTML=!0,this._items=[],this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new ye.xQ,this._keyPress$=new ye.xQ,this._onChange=$=>{},this._onTouched=()=>{},this.clearItem=$=>{const he=this.selectedItems.find(_e=>_e.value===$);this.unselect(he)},this.trackByOption=($,he)=>this.trackByFn?this.trackByFn(he.value):he,this._mergeGlobalConfig(b),this.itemsList=new ee(this,w()),this.element=P.nativeElement}get items(){return this._items}set items(t){null===t&&(t=[]),this._itemsAreUsed=!0,this._items=t}get compareWith(){return this._compareWith}set compareWith(t){if(null!=t&&!te(t))throw Error("`compareWith` must be a function.");this._compareWith=t}get clearSearchOnAdd(){return R(this._clearSearchOnAdd)?this._clearSearchOnAdd:R(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(t){this._clearSearchOnAdd=t}get disabled(){return this.readonly||this._disabled}get filtered(){return!!this.searchTerm&&this.searchable||this._isComposing}get single(){return!this.multiple}get _editableSearchTerm(){return this.editableSearchTerm&&!this.multiple}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(t=>t.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(t){t.multiple&&this.itemsList.clearSelected(),t.items&&this._setItems(t.items.currentValue||[]),t.isOpen&&(this._manualOpen=R(t.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),R(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(t){if(Ee[t.which]){if(!1===this.keyDownFn(t))return;this.handleKeyCode(t)}else t.key&&1===t.key.length&&this._keyPress$.next(t.key.toLocaleLowerCase())}handleKeyCode(t){switch(t.which){case Ee.ArrowDown:this._handleArrowDown(t);break;case Ee.ArrowUp:this._handleArrowUp(t);break;case Ee.Space:this._handleSpace(t);break;case Ee.Enter:this._handleEnter(t);break;case Ee.Tab:this._handleTab(t);break;case Ee.Esc:this.close(),t.preventDefault();break;case Ee.Backspace:this._handleBackspace()}}handleMousedown(t){const o=t.target;"INPUT"!==o.tagName&&t.preventDefault(),o.classList.contains("ng-clear-wrapper")?this.handleClearClick():o.classList.contains("ng-arrow-wrapper")?this.handleArrowClick():o.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())}handleArrowClick(){this.isOpen?this.close():this.open()}handleClearClick(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){!this.clearable||(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(t){this.itemsList.clearSelected(),this._handleWriteValue(t),this._cd.markForCheck()}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this._disabled=t,this._cd.markForCheck()}toggle(){this.isOpen?this.close():this.open()}open(){this.disabled||this.isOpen||this._manualOpen||!this._isTypeahead&&!this.addTag&&this.itemsList.noItemsToSelect||(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen||this._manualOpen||(this.isOpen=!1,this._isComposing=!1,this._editableSearchTerm?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(t){!t||t.disabled||this.disabled||(this.multiple&&t.selected?this.unselect(t):this.select(t),this._editableSearchTerm&&this._setSearchTermFromItems(),this._onSelectionChanged())}select(t){t.selected||(this.itemsList.select(t),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(t.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close()}focus(){this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(t){!t||(this.itemsList.unselect(t),this.focus(),this._updateNgModel(),this.removeEvent.emit(t))}selectTag(){let t;t=te(this.addTag)?this.addTag(this.searchTerm):this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};const o=b=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(b,null):this.itemsList.addItem(b);!function ie(u){return u instanceof Promise}(t)?t&&this.select(o(t)):t.then(b=>this.select(o(b))).catch(()=>{})}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}get showAddTag(){if(!this._validTerm)return!1;const t=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(o=>o.label.toLowerCase()===t)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(o=>o.label.toLowerCase()===t))&&!this.loading}showNoItemsFound(){const t=0===this.itemsList.filteredItems.length;return(t&&!this._isTypeahead&&!this.loading||t&&this._isTypeahead&&this._validTerm&&!this.loading)&&!this.showAddTag}showTypeToSearch(){return 0===this.itemsList.filteredItems.length&&this._isTypeahead&&!this._validTerm&&!this.loading}onCompositionStart(){this._isComposing=!0}onCompositionEnd(t){this._isComposing=!1,!this.searchWhileComposing&&this.filter(t)}filter(t){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=t,this._isTypeahead&&(this._validTerm||0===this.minTermLength)&&this.typeahead.next(t),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:t,items:this.itemsList.filteredItems.map(o=>o.value)}),this.open())}onInputFocus(t){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(t),this.focused=!0)}onInputBlur(t){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(t),!this.isOpen&&!this.disabled&&this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(t){t.disabled||this.itemsList.markItem(t)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){const t=this.selectedItems&&this.selectedItems[0];this.searchTerm=t&&t.label||null}_setItems(t){const o=t[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=R(o)?!H(o):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(t),t.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&R(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){const t=b=>{this.items=b.map(w=>({$ngOptionValue:w.value,$ngOptionLabel:w.elementRef.nativeElement.innerHTML,disabled:w.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},o=()=>{const b=(0,me.T)(this.ngOptions.changes,this._destroy$);(0,me.T)(...this.ngOptions.map(w=>w.stateChange$)).pipe(h(b)).subscribe(w=>{const P=this.itemsList.findItem(w.value);P.disabled=w.disabled,P.label=w.label||P.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe((0,Ve.O)(this.ngOptions),h(this._destroy$)).subscribe(b=>{this.bindLabel=this._defaultLabel,t(b),o()})}_isValidWriteValue(t){if(!R(t)||this.multiple&&""===t||Array.isArray(t)&&0===t.length)return!1;const o=b=>!(!R(this.compareWith)&&H(b)&&this.bindValue&&(this._console.warn(`Setting object(${JSON.stringify(b)}) as your model with bindValue is not allowed unless [compareWith] is used.`),1));return this.multiple?Array.isArray(t)?t.every(b=>o(b)):(this._console.warn("Multiple select ngModel should be array."),!1):o(t)}_handleWriteValue(t){if(!this._isValidWriteValue(t))return;const o=b=>{let w=this.itemsList.findItem(b);if(w)this.itemsList.select(w);else{const P=H(b),N=!P&&!this.bindValue;P||N?this.itemsList.select(this.itemsList.mapItem(b,null)):this.bindValue&&(w={[this.bindLabel]:null,[this.bindValue]:b},this.itemsList.select(this.itemsList.mapItem(w,null)))}};this.multiple?t.forEach(b=>o(b)):o(t)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe(h(this._destroy$),(0,Le.b)(t=>this._pressedKeys.push(t)),function U(u,s=p.P){return t=>t.lift(new F(u,s))}(200),(0,We.h)(()=>this._pressedKeys.length>0),(0,Ne.U)(()=>this._pressedKeys.join(""))).subscribe(t=>{const o=this.itemsList.findByLabel(t);o&&(this.isOpen?(this.itemsList.markItem(o),this._scrollToMarked(),this._cd.markForCheck()):this.select(o)),this._pressedKeys=[]})}_setInputAttributes(){const t=this.searchInput.nativeElement,o={type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId,...this.inputAttrs};for(const b of Object.keys(o))t.setAttribute(b,o[b])}_updateNgModel(){const t=[];for(const b of this.selectedItems)if(this.bindValue){let w=null;w=b.children?b.value[(this.groupValue?this.bindValue:this.groupBy)||this.groupBy]:this.itemsList.resolveNested(b.value,this.bindValue),t.push(w)}else t.push(b.value);const o=this.selectedItems.map(b=>b.value);this.multiple?(this._onChange(t),this.changeEvent.emit(o)):(this._onChange(R(t[0])?t[0]:null),this.changeEvent.emit(o[0])),this._cd.markForCheck()}_clearSearch(){!this.searchTerm||(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(t){this.searchTerm=t,this._isTypeahead&&this.typeahead.next(t)}_scrollToMarked(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollToTag()}_onSelectionChanged(){this.isOpen&&this.multiple&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())}_handleTab(t){!1===this.isOpen&&!this.addTag||(this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),t.preventDefault()):this.showAddTag?(this.selectTag(),t.preventDefault()):this.close():this.close())}_handleEnter(t){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else{if(!this.openOnEnter)return;this.open()}t.preventDefault()}_handleSpace(t){this.isOpen||this._manualOpen||(this.open(),t.preventDefault())}_handleArrowDown(t){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),t.preventDefault()}_handleArrowUp(t){!this.isOpen||(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),t.preventDefault())}_nextItemIsTag(t){const o=this.itemsList.markedIndex+t;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(o<0||o===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable||!this.clearOnBackspace||!this.hasValue||(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}get _isTypeahead(){return this.typeahead&&this.typeahead.observers.length>0}get _validTerm(){const t=this.searchTerm&&this.searchTerm.trim();return t&&t.length>=this.minTermLength}_mergeGlobalConfig(t){this.placeholder=this.placeholder||t.placeholder,this.notFoundText=this.notFoundText||t.notFoundText,this.typeToSearchText=this.typeToSearchText||t.typeToSearchText,this.addTagText=this.addTagText||t.addTagText,this.loadingText=this.loadingText||t.loadingText,this.clearAllText=this.clearAllText||t.clearAllText,this.virtualScroll=R(this.virtualScroll)?this.virtualScroll:!!R(t.disableVirtualScroll)&&!t.disableVirtualScroll,this.openOnEnter=R(this.openOnEnter)?this.openOnEnter:t.openOnEnter,this.appendTo=this.appendTo||t.appendTo,this.bindValue=this.bindValue||t.bindValue,this.bindLabel=this.bindLabel||t.bindLabel,this.appearance=this.appearance||t.appearance}}return u.\u0275fac=function(t){return new(t||u)(e.$8M("class"),e.$8M("autofocus"),e.Y36(ae),e.Y36(v),e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(W))},u.\u0275cmp=e.Xpm({type:u,selectors:[["ng-select"]],contentQueries:function(t,o,b){if(1&t&&(e.Suo(b,Te,5,e.Rgc),e.Suo(b,fe,5,e.Rgc),e.Suo(b,K,5,e.Rgc),e.Suo(b,j,5,e.Rgc),e.Suo(b,le,5,e.Rgc),e.Suo(b,ge,5,e.Rgc),e.Suo(b,de,5,e.Rgc),e.Suo(b,Ie,5,e.Rgc),e.Suo(b,oe,5,e.Rgc),e.Suo(b,Me,5,e.Rgc),e.Suo(b,ce,5,e.Rgc),e.Suo(b,xe,5)),2&t){let w;e.iGM(w=e.CRH())&&(o.optionTemplate=w.first),e.iGM(w=e.CRH())&&(o.optgroupTemplate=w.first),e.iGM(w=e.CRH())&&(o.labelTemplate=w.first),e.iGM(w=e.CRH())&&(o.multiLabelTemplate=w.first),e.iGM(w=e.CRH())&&(o.headerTemplate=w.first),e.iGM(w=e.CRH())&&(o.footerTemplate=w.first),e.iGM(w=e.CRH())&&(o.notFoundTemplate=w.first),e.iGM(w=e.CRH())&&(o.typeToSearchTemplate=w.first),e.iGM(w=e.CRH())&&(o.loadingTextTemplate=w.first),e.iGM(w=e.CRH())&&(o.tagTemplate=w.first),e.iGM(w=e.CRH())&&(o.loadingSpinnerTemplate=w.first),e.iGM(w=e.CRH())&&(o.ngOptions=w)}},viewQuery:function(t,o){if(1&t&&(e.Gf(He,5),e.Gf(mt,7)),2&t){let b;e.iGM(b=e.CRH())&&(o.dropdownPanel=b.first),e.iGM(b=e.CRH())&&(o.searchInput=b.first)}},hostVars:20,hostBindings:function(t,o){1&t&&e.NdJ("keydown",function(w){return o.handleKeyDown(w)}),2&t&&e.ekj("ng-select-typeahead",o.typeahead)("ng-select-multiple",o.multiple)("ng-select-taggable",o.addTag)("ng-select-searchable",o.searchable)("ng-select-clearable",o.clearable)("ng-select-opened",o.isOpen)("ng-select",o.useDefaultClass)("ng-select-disabled",o.disabled)("ng-select-filtered",o.filtered)("ng-select-single",o.single)},inputs:{bindLabel:"bindLabel",bindValue:"bindValue",markFirst:"markFirst",placeholder:"placeholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",appearance:"appearance",dropdownPosition:"dropdownPosition",appendTo:"appendTo",loading:"loading",closeOnSelect:"closeOnSelect",hideSelected:"hideSelected",selectOnTab:"selectOnTab",openOnEnter:"openOnEnter",maxSelectedItems:"maxSelectedItems",groupBy:"groupBy",groupValue:"groupValue",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",selectableGroup:"selectableGroup",selectableGroupAsModel:"selectableGroupAsModel",searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:"clearOnBackspace",labelForId:"labelForId",inputAttrs:"inputAttrs",tabIndex:"tabIndex",readonly:"readonly",searchWhileComposing:"searchWhileComposing",minTermLength:"minTermLength",editableSearchTerm:"editableSearchTerm",keyDownFn:"keyDownFn",typeahead:"typeahead",multiple:"multiple",addTag:"addTag",searchable:"searchable",clearable:"clearable",isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},features:[e._Bn([{provide:r.JU,useExisting:(0,e.Gpc)(()=>u),multi:!0},Ye]),e.TTD],decls:14,vars:19,consts:[[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[1,"ng-placeholder"],[4,"ngIf"],["role","combobox","aria-haspopup","listbox",1,"ng-input"],["aria-autocomplete","list",3,"readOnly","disabled","value","input","compositionstart","compositionend","focus","blur","change"],["searchInput",""],["class","ng-clear-wrapper",3,"title",4,"ngIf"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],["class","ng-dropdown-panel","role","listbox","aria-label","Options list",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id","update","scroll","scrollToEnd","outsideClick",4,"ngIf"],["class","ng-value",3,"ng-value-disabled",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ng-value"],["defaultLabelTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],["defaultLoadingSpinnerTemplate",""],[3,"ngTemplateOutlet"],[1,"ng-spinner-loader"],[1,"ng-clear-wrapper",3,"title"],["aria-hidden","true",1,"ng-clear"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ngClass","id","update","scroll","scrollToEnd","outsideClick"],["class","ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked","click","mouseover",4,"ngFor","ngForOf","ngForTrackBy"],["class","ng-option","role","option",3,"ng-option-marked","mouseover","click",4,"ngIf"],[1,"ng-option",3,"click","mouseover"],["defaultOptionTemplate",""],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],["defaultTagTemplate",""],[1,"ng-tag-label"],["defaultNotFoundTemplate",""],[1,"ng-option","ng-option-disabled"],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""]],template:function(t,o){if(1&t){const b=e.EpF();e.TgZ(0,"div",0),e.NdJ("mousedown",function(P){return o.handleMousedown(P)}),e.TgZ(1,"div",1)(2,"div",2),e._uU(3),e.qZA(),e.YNc(4,bt,2,2,"ng-container",3),e.YNc(5,Tt,1,5,null,3),e.TgZ(6,"div",4)(7,"input",5,6),e.NdJ("input",function(){e.CHM(b);const P=e.MAs(8);return o.filter(P.value)})("compositionstart",function(){return o.onCompositionStart()})("compositionend",function(){e.CHM(b);const P=e.MAs(8);return o.onCompositionEnd(P.value)})("focus",function(P){return o.onInputFocus(P)})("blur",function(P){return o.onInputBlur(P)})("change",function(P){return P.stopPropagation()}),e.qZA()()(),e.YNc(9,xt,4,1,"ng-container",3),e.YNc(10,ht,3,1,"span",7),e.TgZ(11,"span",8),e._UZ(12,"span",9),e.qZA()(),e.YNc(13,M,7,19,"ng-dropdown-panel",10)}2&t&&(e.ekj("ng-appearance-outline","outline"===o.appearance)("ng-has-value",o.hasValue),e.xp6(3),e.Oqu(o.placeholder),e.xp6(1),e.Q6J("ngIf",(!o.multiLabelTemplate||!o.multiple)&&o.selectedItems.length>0),e.xp6(1),e.Q6J("ngIf",o.multiple&&o.multiLabelTemplate&&o.selectedValues.length>0),e.xp6(1),e.uIk("aria-expanded",o.isOpen)("aria-owns",o.isOpen?o.dropdownId:null),e.xp6(1),e.Q6J("readOnly",!o.searchable||o.itemsList.maxItemsSelected)("disabled",o.disabled)("value",o.searchTerm?o.searchTerm:""),e.uIk("id",o.labelForId)("tabindex",o.tabIndex)("aria-activedescendant",o.isOpen?null==o.itemsList||null==o.itemsList.markedItem?null:o.itemsList.markedItem.htmlId:null)("aria-controls",o.isOpen?o.dropdownId:null),e.xp6(2),e.Q6J("ngIf",o.loading),e.xp6(1),e.Q6J("ngIf",o.showClear()),e.xp6(3),e.Q6J("ngIf",o.isOpen))},directives:[He,Pe.O5,Pe.sg,ue,Pe.tP,Pe.mk],styles:['@charset "UTF-8";.ng-select{position:relative;display:block;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:none;user-select:none;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@keyframes load8{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}\n'],encapsulation:2,changeDetection:0}),u})();function Y(){return new X}class X{constructor(){this._selected=[]}get value(){return this._selected}select(s,t,o){if(s.selected=!0,(!s.children||!t&&o)&&this._selected.push(s),t)if(s.parent){const b=s.parent.children.length,w=s.parent.children.filter(P=>P.selected).length;s.parent.selected=b===w}else s.children&&(this._setChildrenSelectedState(s.children,!0),this._removeChildren(s),this._selected=o&&this._activeChildren(s)?[...this._selected.filter(b=>b.parent!==s),s]:[...this._selected,...s.children.filter(b=>!b.disabled)])}unselect(s,t){if(this._selected=this._selected.filter(o=>o!==s),s.selected=!1,t)if(s.parent&&s.parent.selected){const o=s.parent.children;this._removeParent(s.parent),this._removeChildren(s.parent),this._selected.push(...o.filter(b=>b!==s&&!b.disabled)),s.parent.selected=!1}else s.children&&(this._setChildrenSelectedState(s.children,!1),this._removeChildren(s))}clear(s){this._selected=s?this._selected.filter(t=>t.disabled):[]}_setChildrenSelectedState(s,t){for(const o of s)o.disabled||(o.selected=t)}_removeChildren(s){this._selected=[...this._selected.filter(t=>t.parent!==s),...s.children.filter(t=>t.parent===s&&t.disabled&&t.selected)]}_removeParent(s){this._selected=this._selected.filter(t=>t!==s)}_activeChildren(s){return s.children.every(t=>!t.disabled||t.selected)}}let Fe=(()=>{class u{}return u.\u0275fac=function(t){return new(t||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({providers:[{provide:v,useValue:Y}],imports:[[Pe.ez]]}),u})()}}]);
//# sourceMappingURL=vendor-6b948b9f.74e553bcbb20db3d.js.map
Back to Directory
File Manager