-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpolyfills.a7474d1ae75a7675.js
1 lines (1 loc) · 61.5 KB
/
polyfills.a7474d1ae75a7675.js
1
(self.webpackChunkBM=self.webpackChunkBM||[]).push([[429],{5565:(qt,gt,Le)=>{"use strict";Error;const Vo=function(s,...e){if(Vo.translate){const n=Vo.translate(s,e);s=n[0],e=n[1]}let t=Wl(s[0],s.raw[0]);for(let n=1;n<s.length;n++)t+=e[n-1]+Wl(s[n],s.raw[n]);return t};function Wl(s,e){return":"===e.charAt(0)?s.substring(function ql(s,e){for(let t=1,n=1;t<s.length;t++,n++)if("\\"===e[n])n++;else if(":"===s[t])return t;throw new Error(`Unterminated $localize metadata block in "${e}".`)}(s,e)+1):s}(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)().$localize=Vo,Le(8583),window.global=window,window.global.Buffer=window.global.Buffer||Le(3172).lW},5343:(qt,gt)=>{"use strict";gt.byteLength=function Ie(J){var le=Ae(J),et=le[1];return 3*(le[0]+et)/4-et},gt.toByteArray=function at(J){var le,tt,de=Ae(J),et=de[0],ut=de[1],ve=new We(function y(J,le,de){return 3*(le+de)/4-de}(0,et,ut)),Oe=0,wt=ut>0?et-4:et;for(tt=0;tt<wt;tt+=4)le=ne[J.charCodeAt(tt)]<<18|ne[J.charCodeAt(tt+1)]<<12|ne[J.charCodeAt(tt+2)]<<6|ne[J.charCodeAt(tt+3)],ve[Oe++]=le>>16&255,ve[Oe++]=le>>8&255,ve[Oe++]=255≤return 2===ut&&(le=ne[J.charCodeAt(tt)]<<2|ne[J.charCodeAt(tt+1)]>>4,ve[Oe++]=255&le),1===ut&&(le=ne[J.charCodeAt(tt)]<<10|ne[J.charCodeAt(tt+1)]<<4|ne[J.charCodeAt(tt+2)]>>2,ve[Oe++]=le>>8&255,ve[Oe++]=255&le),ve},gt.fromByteArray=function me(J){for(var le,de=J.length,et=de%3,ut=[],Oe=0,wt=de-et;Oe<wt;Oe+=16383)ut.push(Ke(J,Oe,Oe+16383>wt?wt:Oe+16383));return 1===et?ut.push(Le[(le=J[de-1])>>2]+Le[le<<4&63]+"=="):2===et&&ut.push(Le[(le=(J[de-2]<<8)+J[de-1])>>10]+Le[le>>4&63]+Le[le<<2&63]+"="),ut.join("")};for(var Le=[],ne=[],We=typeof Uint8Array<"u"?Uint8Array:Array,Ge="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Me=0,qe=Ge.length;Me<qe;++Me)Le[Me]=Ge[Me],ne[Ge.charCodeAt(Me)]=Me;function Ae(J){var le=J.length;if(le%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var de=J.indexOf("=");return-1===de&&(de=le),[de,de===le?0:4-de%4]}function Fe(J){return Le[J>>18&63]+Le[J>>12&63]+Le[J>>6&63]+Le[63&J]}function Ke(J,le,de){for(var ut=[],ve=le;ve<de;ve+=3)ut.push(Fe((J[ve]<<16&16711680)+(J[ve+1]<<8&65280)+(255&J[ve+2])));return ut.join("")}ne["-".charCodeAt(0)]=62,ne["_".charCodeAt(0)]=63},3172:(qt,gt,Le)=>{"use strict";const We=Le(5343),Ge=Le(8461),Me="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;gt.lW=y,gt.h2=50;const qe=2147483647;function Ie(h){if(h>qe)throw new RangeError('The value "'+h+'" is invalid for option "size"');const a=new Uint8Array(h);return Object.setPrototypeOf(a,y.prototype),a}function y(h,a,u){if("number"==typeof h){if("string"==typeof a)throw new TypeError('The "string" argument must be of type string. Received type number');return me(h)}return at(h,a,u)}function at(h,a,u){if("string"==typeof h)return function J(h,a){if(("string"!=typeof a||""===a)&&(a="utf8"),!y.isEncoding(a))throw new TypeError("Unknown encoding: "+a);const u=0|wt(h,a);let d=Ie(u);const g=d.write(h,a);return g!==u&&(d=d.slice(0,g)),d}(h,a);if(ArrayBuffer.isView(h))return function de(h){if(b(h,Uint8Array)){const a=new Uint8Array(h);return et(a.buffer,a.byteOffset,a.byteLength)}return le(h)}(h);if(null==h)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof h);if(b(h,ArrayBuffer)||h&&b(h.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(b(h,SharedArrayBuffer)||h&&b(h.buffer,SharedArrayBuffer)))return et(h,a,u);if("number"==typeof h)throw new TypeError('The "value" argument must not be of type number. Received type number');const d=h.valueOf&&h.valueOf();if(null!=d&&d!==h)return y.from(d,a,u);const g=function ut(h){if(y.isBuffer(h)){const a=0|ve(h.length),u=Ie(a);return 0===u.length||h.copy(u,0,0,a),u}return void 0!==h.length?"number"!=typeof h.length||I(h.length)?Ie(0):le(h):"Buffer"===h.type&&Array.isArray(h.data)?le(h.data):void 0}(h);if(g)return g;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof h[Symbol.toPrimitive])return y.from(h[Symbol.toPrimitive]("string"),a,u);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof h)}function Fe(h){if("number"!=typeof h)throw new TypeError('"size" argument must be of type number');if(h<0)throw new RangeError('The value "'+h+'" is invalid for option "size"')}function me(h){return Fe(h),Ie(h<0?0:0|ve(h))}function le(h){const a=h.length<0?0:0|ve(h.length),u=Ie(a);for(let d=0;d<a;d+=1)u[d]=255&h[d];return u}function et(h,a,u){if(a<0||h.byteLength<a)throw new RangeError('"offset" is outside of buffer bounds');if(h.byteLength<a+(u||0))throw new RangeError('"length" is outside of buffer bounds');let d;return d=void 0===a&&void 0===u?new Uint8Array(h):void 0===u?new Uint8Array(h,a):new Uint8Array(h,a,u),Object.setPrototypeOf(d,y.prototype),d}function ve(h){if(h>=qe)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+qe.toString(16)+" bytes");return 0|h}function wt(h,a){if(y.isBuffer(h))return h.length;if(ArrayBuffer.isView(h)||b(h,ArrayBuffer))return h.byteLength;if("string"!=typeof h)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof h);const u=h.length,d=arguments.length>2&&!0===arguments[2];if(!d&&0===u)return 0;let g=!1;for(;;)switch(a){case"ascii":case"latin1":case"binary":return u;case"utf8":case"utf-8":return es(h).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*u;case"hex":return u>>>1;case"base64":return E(h).length;default:if(g)return d?-1:es(h).length;a=(""+a).toLowerCase(),g=!0}}function tt(h,a,u){let d=!1;if((void 0===a||a<0)&&(a=0),a>this.length||((void 0===u||u>this.length)&&(u=this.length),u<=0)||(u>>>=0)<=(a>>>=0))return"";for(h||(h="utf8");;)switch(h){case"hex":return Bn(this,a,u);case"utf8":case"utf-8":return _s(this,a,u);case"ascii":return kn(this,a,u);case"latin1":case"binary":return qs(this,a,u);case"base64":return Lt(this,a,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return dn(this,a,u);default:if(d)throw new TypeError("Unknown encoding: "+h);h=(h+"").toLowerCase(),d=!0}}function Rt(h,a,u){const d=h[a];h[a]=h[u],h[u]=d}function _e(h,a,u,d,g){if(0===h.length)return-1;if("string"==typeof u?(d=u,u=0):u>2147483647?u=2147483647:u<-2147483648&&(u=-2147483648),I(u=+u)&&(u=g?0:h.length-1),u<0&&(u=h.length+u),u>=h.length){if(g)return-1;u=h.length-1}else if(u<0){if(!g)return-1;u=0}if("string"==typeof a&&(a=y.from(a,d)),y.isBuffer(a))return 0===a.length?-1:rt(h,a,u,d,g);if("number"==typeof a)return a&=255,"function"==typeof Uint8Array.prototype.indexOf?g?Uint8Array.prototype.indexOf.call(h,a,u):Uint8Array.prototype.lastIndexOf.call(h,a,u):rt(h,[a],u,d,g);throw new TypeError("val must be string, number or Buffer")}function rt(h,a,u,d,g){let Ee,w=1,C=h.length,K=a.length;if(void 0!==d&&("ucs2"===(d=String(d).toLowerCase())||"ucs-2"===d||"utf16le"===d||"utf-16le"===d)){if(h.length<2||a.length<2)return-1;w=2,C/=2,K/=2,u/=2}function ae(he,U){return 1===w?he[U]:he.readUInt16BE(U*w)}if(g){let he=-1;for(Ee=u;Ee<C;Ee++)if(ae(h,Ee)===ae(a,-1===he?0:Ee-he)){if(-1===he&&(he=Ee),Ee-he+1===K)return he*w}else-1!==he&&(Ee-=Ee-he),he=-1}else for(u+K>C&&(u=C-K),Ee=u;Ee>=0;Ee--){let he=!0;for(let U=0;U<K;U++)if(ae(h,Ee+U)!==ae(a,U)){he=!1;break}if(he)return Ee}return-1}function vs(h,a,u,d){u=Number(u)||0;const g=h.length-u;d?(d=Number(d))>g&&(d=g):d=g;const w=a.length;let C;for(d>w/2&&(d=w/2),C=0;C<d;++C){const K=parseInt(a.substr(2*C,2),16);if(I(K))return C;h[u+C]=K}return C}function Es(h,a,u,d){return T(es(a,h.length-u),h,u,d)}function ys(h,a,u,d){return T(function Hs(h){const a=[];for(let u=0;u<h.length;++u)a.push(255&h.charCodeAt(u));return a}(a),h,u,d)}function dt(h,a,u,d){return T(E(a),h,u,d)}function Pn(h,a,u,d){return T(function js(h,a){let u,d,g;const w=[];for(let C=0;C<h.length&&!((a-=2)<0);++C)u=h.charCodeAt(C),d=u>>8,g=u%256,w.push(g),w.push(d);return w}(a,h.length-u),h,u,d)}function Lt(h,a,u){return We.fromByteArray(0===a&&u===h.length?h:h.slice(a,u))}function _s(h,a,u){u=Math.min(h.length,u);const d=[];let g=a;for(;g<u;){const w=h[g];let C=null,K=w>239?4:w>223?3:w>191?2:1;if(g+K<=u){let ae,Ee,he,U;switch(K){case 1:w<128&&(C=w);break;case 2:ae=h[g+1],128==(192&ae)&&(U=(31&w)<<6|63&ae,U>127&&(C=U));break;case 3:ae=h[g+1],Ee=h[g+2],128==(192&ae)&&128==(192&Ee)&&(U=(15&w)<<12|(63&ae)<<6|63&Ee,U>2047&&(U<55296||U>57343)&&(C=U));break;case 4:ae=h[g+1],Ee=h[g+2],he=h[g+3],128==(192&ae)&&128==(192&Ee)&&128==(192&he)&&(U=(15&w)<<18|(63&ae)<<12|(63&Ee)<<6|63&he,U>65535&&U<1114112&&(C=U))}}null===C?(C=65533,K=1):C>65535&&(C-=65536,d.push(C>>>10&1023|55296),C=56320|1023&C),d.push(C),g+=K}return function ws(h){const a=h.length;if(a<=4096)return String.fromCharCode.apply(String,h);let u="",d=0;for(;d<a;)u+=String.fromCharCode.apply(String,h.slice(d,d+=4096));return u}(d)}function kn(h,a,u){let d="";u=Math.min(h.length,u);for(let g=a;g<u;++g)d+=String.fromCharCode(127&h[g]);return d}function qs(h,a,u){let d="";u=Math.min(h.length,u);for(let g=a;g<u;++g)d+=String.fromCharCode(h[g]);return d}function Bn(h,a,u){const d=h.length;(!a||a<0)&&(a=0),(!u||u<0||u>d)&&(u=d);let g="";for(let w=a;w<u;++w)g+=N[h[w]];return g}function dn(h,a,u){const d=h.slice(a,u);let g="";for(let w=0;w<d.length-1;w+=2)g+=String.fromCharCode(d[w]+256*d[w+1]);return g}function Xe(h,a,u){if(h%1!=0||h<0)throw new RangeError("offset is not uint");if(h+a>u)throw new RangeError("Trying to access beyond buffer length")}function Be(h,a,u,d,g,w){if(!y.isBuffer(h))throw new TypeError('"buffer" argument must be a Buffer instance');if(a>g||a<w)throw new RangeError('"value" argument is out of bounds');if(u+d>h.length)throw new RangeError("Index out of range")}function Kn(h,a,u,d,g){fn(a,d,g,h,u,7);let w=Number(a&BigInt(4294967295));h[u++]=w,w>>=8,h[u++]=w,w>>=8,h[u++]=w,w>>=8,h[u++]=w;let C=Number(a>>BigInt(32)&BigInt(4294967295));return h[u++]=C,C>>=8,h[u++]=C,C>>=8,h[u++]=C,C>>=8,h[u++]=C,u}function Ht(h,a,u,d,g){fn(a,d,g,h,u,7);let w=Number(a&BigInt(4294967295));h[u+7]=w,w>>=8,h[u+6]=w,w>>=8,h[u+5]=w,w>>=8,h[u+4]=w;let C=Number(a>>BigInt(32)&BigInt(4294967295));return h[u+3]=C,C>>=8,h[u+2]=C,C>>=8,h[u+1]=C,C>>=8,h[u]=C,u+8}function Zn(h,a,u,d,g,w){if(u+d>h.length)throw new RangeError("Index out of range");if(u<0)throw new RangeError("Index out of range")}function Xn(h,a,u,d,g){return a=+a,u>>>=0,g||Zn(h,0,u,4),Ge.write(h,a,u,d,23,4),u+4}function Qt(h,a,u,d,g){return a=+a,u>>>=0,g||Zn(h,0,u,8),Ge.write(h,a,u,d,52,8),u+8}!(y.TYPED_ARRAY_SUPPORT=function Ae(){try{const h=new Uint8Array(1),a={foo:function(){return 42}};return Object.setPrototypeOf(a,Uint8Array.prototype),Object.setPrototypeOf(h,a),42===h.foo()}catch{return!1}}())&&typeof console<"u"&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(y.prototype,"parent",{enumerable:!0,get:function(){if(y.isBuffer(this))return this.buffer}}),Object.defineProperty(y.prototype,"offset",{enumerable:!0,get:function(){if(y.isBuffer(this))return this.byteOffset}}),y.poolSize=8192,y.from=function(h,a,u){return at(h,a,u)},Object.setPrototypeOf(y.prototype,Uint8Array.prototype),Object.setPrototypeOf(y,Uint8Array),y.alloc=function(h,a,u){return function Ke(h,a,u){return Fe(h),h<=0?Ie(h):void 0!==a?"string"==typeof u?Ie(h).fill(a,u):Ie(h).fill(a):Ie(h)}(h,a,u)},y.allocUnsafe=function(h){return me(h)},y.allocUnsafeSlow=function(h){return me(h)},y.isBuffer=function(a){return null!=a&&!0===a._isBuffer&&a!==y.prototype},y.compare=function(a,u){if(b(a,Uint8Array)&&(a=y.from(a,a.offset,a.byteLength)),b(u,Uint8Array)&&(u=y.from(u,u.offset,u.byteLength)),!y.isBuffer(a)||!y.isBuffer(u))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(a===u)return 0;let d=a.length,g=u.length;for(let w=0,C=Math.min(d,g);w<C;++w)if(a[w]!==u[w]){d=a[w],g=u[w];break}return d<g?-1:g<d?1:0},y.isEncoding=function(a){switch(String(a).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},y.concat=function(a,u){if(!Array.isArray(a))throw new TypeError('"list" argument must be an Array of Buffers');if(0===a.length)return y.alloc(0);let d;if(void 0===u)for(u=0,d=0;d<a.length;++d)u+=a[d].length;const g=y.allocUnsafe(u);let w=0;for(d=0;d<a.length;++d){let C=a[d];if(b(C,Uint8Array))w+C.length>g.length?(y.isBuffer(C)||(C=y.from(C)),C.copy(g,w)):Uint8Array.prototype.set.call(g,C,w);else{if(!y.isBuffer(C))throw new TypeError('"list" argument must be an Array of Buffers');C.copy(g,w)}w+=C.length}return g},y.byteLength=wt,y.prototype._isBuffer=!0,y.prototype.swap16=function(){const a=this.length;if(a%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let u=0;u<a;u+=2)Rt(this,u,u+1);return this},y.prototype.swap32=function(){const a=this.length;if(a%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let u=0;u<a;u+=4)Rt(this,u,u+3),Rt(this,u+1,u+2);return this},y.prototype.swap64=function(){const a=this.length;if(a%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let u=0;u<a;u+=8)Rt(this,u,u+7),Rt(this,u+1,u+6),Rt(this,u+2,u+5),Rt(this,u+3,u+4);return this},y.prototype.toLocaleString=y.prototype.toString=function(){const a=this.length;return 0===a?"":0===arguments.length?_s(this,0,a):tt.apply(this,arguments)},y.prototype.equals=function(a){if(!y.isBuffer(a))throw new TypeError("Argument must be a Buffer");return this===a||0===y.compare(this,a)},y.prototype.inspect=function(){let a="";const u=gt.h2;return a=this.toString("hex",0,u).replace(/(.{2})/g,"$1 ").trim(),this.length>u&&(a+=" ... "),"<Buffer "+a+">"},Me&&(y.prototype[Me]=y.prototype.inspect),y.prototype.compare=function(a,u,d,g,w){if(b(a,Uint8Array)&&(a=y.from(a,a.offset,a.byteLength)),!y.isBuffer(a))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof a);if(void 0===u&&(u=0),void 0===d&&(d=a?a.length:0),void 0===g&&(g=0),void 0===w&&(w=this.length),u<0||d>a.length||g<0||w>this.length)throw new RangeError("out of range index");if(g>=w&&u>=d)return 0;if(g>=w)return-1;if(u>=d)return 1;if(this===a)return 0;let C=(w>>>=0)-(g>>>=0),K=(d>>>=0)-(u>>>=0);const ae=Math.min(C,K),Ee=this.slice(g,w),he=a.slice(u,d);for(let U=0;U<ae;++U)if(Ee[U]!==he[U]){C=Ee[U],K=he[U];break}return C<K?-1:K<C?1:0},y.prototype.includes=function(a,u,d){return-1!==this.indexOf(a,u,d)},y.prototype.indexOf=function(a,u,d){return _e(this,a,u,d,!0)},y.prototype.lastIndexOf=function(a,u,d){return _e(this,a,u,d,!1)},y.prototype.write=function(a,u,d,g){if(void 0===u)g="utf8",d=this.length,u=0;else if(void 0===d&&"string"==typeof u)g=u,d=this.length,u=0;else{if(!isFinite(u))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");u>>>=0,isFinite(d)?(d>>>=0,void 0===g&&(g="utf8")):(g=d,d=void 0)}const w=this.length-u;if((void 0===d||d>w)&&(d=w),a.length>0&&(d<0||u<0)||u>this.length)throw new RangeError("Attempt to write outside buffer bounds");g||(g="utf8");let C=!1;for(;;)switch(g){case"hex":return vs(this,a,u,d);case"utf8":case"utf-8":return Es(this,a,u,d);case"ascii":case"latin1":case"binary":return ys(this,a,u,d);case"base64":return dt(this,a,u,d);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Pn(this,a,u,d);default:if(C)throw new TypeError("Unknown encoding: "+g);g=(""+g).toLowerCase(),C=!0}},y.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},y.prototype.slice=function(a,u){const d=this.length;(a=~~a)<0?(a+=d)<0&&(a=0):a>d&&(a=d),(u=void 0===u?d:~~u)<0?(u+=d)<0&&(u=0):u>d&&(u=d),u<a&&(u=a);const g=this.subarray(a,u);return Object.setPrototypeOf(g,y.prototype),g},y.prototype.readUintLE=y.prototype.readUIntLE=function(a,u,d){a>>>=0,u>>>=0,d||Xe(a,u,this.length);let g=this[a],w=1,C=0;for(;++C<u&&(w*=256);)g+=this[a+C]*w;return g},y.prototype.readUintBE=y.prototype.readUIntBE=function(a,u,d){a>>>=0,u>>>=0,d||Xe(a,u,this.length);let g=this[a+--u],w=1;for(;u>0&&(w*=256);)g+=this[a+--u]*w;return g},y.prototype.readUint8=y.prototype.readUInt8=function(a,u){return a>>>=0,u||Xe(a,1,this.length),this[a]},y.prototype.readUint16LE=y.prototype.readUInt16LE=function(a,u){return a>>>=0,u||Xe(a,2,this.length),this[a]|this[a+1]<<8},y.prototype.readUint16BE=y.prototype.readUInt16BE=function(a,u){return a>>>=0,u||Xe(a,2,this.length),this[a]<<8|this[a+1]},y.prototype.readUint32LE=y.prototype.readUInt32LE=function(a,u){return a>>>=0,u||Xe(a,4,this.length),(this[a]|this[a+1]<<8|this[a+2]<<16)+16777216*this[a+3]},y.prototype.readUint32BE=y.prototype.readUInt32BE=function(a,u){return a>>>=0,u||Xe(a,4,this.length),16777216*this[a]+(this[a+1]<<16|this[a+2]<<8|this[a+3])},y.prototype.readBigUInt64LE=k(function(a){Mt(a>>>=0,"offset");const u=this[a],d=this[a+7];(void 0===u||void 0===d)&&on(a,this.length-8);const g=u+256*this[++a]+65536*this[++a]+this[++a]*2**24,w=this[++a]+256*this[++a]+65536*this[++a]+d*2**24;return BigInt(g)+(BigInt(w)<<BigInt(32))}),y.prototype.readBigUInt64BE=k(function(a){Mt(a>>>=0,"offset");const u=this[a],d=this[a+7];(void 0===u||void 0===d)&&on(a,this.length-8);const g=u*2**24+65536*this[++a]+256*this[++a]+this[++a],w=this[++a]*2**24+65536*this[++a]+256*this[++a]+d;return(BigInt(g)<<BigInt(32))+BigInt(w)}),y.prototype.readIntLE=function(a,u,d){a>>>=0,u>>>=0,d||Xe(a,u,this.length);let g=this[a],w=1,C=0;for(;++C<u&&(w*=256);)g+=this[a+C]*w;return w*=128,g>=w&&(g-=Math.pow(2,8*u)),g},y.prototype.readIntBE=function(a,u,d){a>>>=0,u>>>=0,d||Xe(a,u,this.length);let g=u,w=1,C=this[a+--g];for(;g>0&&(w*=256);)C+=this[a+--g]*w;return w*=128,C>=w&&(C-=Math.pow(2,8*u)),C},y.prototype.readInt8=function(a,u){return a>>>=0,u||Xe(a,1,this.length),128&this[a]?-1*(255-this[a]+1):this[a]},y.prototype.readInt16LE=function(a,u){a>>>=0,u||Xe(a,2,this.length);const d=this[a]|this[a+1]<<8;return 32768&d?4294901760|d:d},y.prototype.readInt16BE=function(a,u){a>>>=0,u||Xe(a,2,this.length);const d=this[a+1]|this[a]<<8;return 32768&d?4294901760|d:d},y.prototype.readInt32LE=function(a,u){return a>>>=0,u||Xe(a,4,this.length),this[a]|this[a+1]<<8|this[a+2]<<16|this[a+3]<<24},y.prototype.readInt32BE=function(a,u){return a>>>=0,u||Xe(a,4,this.length),this[a]<<24|this[a+1]<<16|this[a+2]<<8|this[a+3]},y.prototype.readBigInt64LE=k(function(a){Mt(a>>>=0,"offset");const u=this[a],d=this[a+7];return(void 0===u||void 0===d)&&on(a,this.length-8),(BigInt(this[a+4]+256*this[a+5]+65536*this[a+6]+(d<<24))<<BigInt(32))+BigInt(u+256*this[++a]+65536*this[++a]+this[++a]*2**24)}),y.prototype.readBigInt64BE=k(function(a){Mt(a>>>=0,"offset");const u=this[a],d=this[a+7];(void 0===u||void 0===d)&&on(a,this.length-8);const g=(u<<24)+65536*this[++a]+256*this[++a]+this[++a];return(BigInt(g)<<BigInt(32))+BigInt(this[++a]*2**24+65536*this[++a]+256*this[++a]+d)}),y.prototype.readFloatLE=function(a,u){return a>>>=0,u||Xe(a,4,this.length),Ge.read(this,a,!0,23,4)},y.prototype.readFloatBE=function(a,u){return a>>>=0,u||Xe(a,4,this.length),Ge.read(this,a,!1,23,4)},y.prototype.readDoubleLE=function(a,u){return a>>>=0,u||Xe(a,8,this.length),Ge.read(this,a,!0,52,8)},y.prototype.readDoubleBE=function(a,u){return a>>>=0,u||Xe(a,8,this.length),Ge.read(this,a,!1,52,8)},y.prototype.writeUintLE=y.prototype.writeUIntLE=function(a,u,d,g){a=+a,u>>>=0,d>>>=0,g||Be(this,a,u,d,Math.pow(2,8*d)-1,0);let w=1,C=0;for(this[u]=255&a;++C<d&&(w*=256);)this[u+C]=a/w&255;return u+d},y.prototype.writeUintBE=y.prototype.writeUIntBE=function(a,u,d,g){a=+a,u>>>=0,d>>>=0,g||Be(this,a,u,d,Math.pow(2,8*d)-1,0);let w=d-1,C=1;for(this[u+w]=255&a;--w>=0&&(C*=256);)this[u+w]=a/C&255;return u+d},y.prototype.writeUint8=y.prototype.writeUInt8=function(a,u,d){return a=+a,u>>>=0,d||Be(this,a,u,1,255,0),this[u]=255&a,u+1},y.prototype.writeUint16LE=y.prototype.writeUInt16LE=function(a,u,d){return a=+a,u>>>=0,d||Be(this,a,u,2,65535,0),this[u]=255&a,this[u+1]=a>>>8,u+2},y.prototype.writeUint16BE=y.prototype.writeUInt16BE=function(a,u,d){return a=+a,u>>>=0,d||Be(this,a,u,2,65535,0),this[u]=a>>>8,this[u+1]=255&a,u+2},y.prototype.writeUint32LE=y.prototype.writeUInt32LE=function(a,u,d){return a=+a,u>>>=0,d||Be(this,a,u,4,4294967295,0),this[u+3]=a>>>24,this[u+2]=a>>>16,this[u+1]=a>>>8,this[u]=255&a,u+4},y.prototype.writeUint32BE=y.prototype.writeUInt32BE=function(a,u,d){return a=+a,u>>>=0,d||Be(this,a,u,4,4294967295,0),this[u]=a>>>24,this[u+1]=a>>>16,this[u+2]=a>>>8,this[u+3]=255&a,u+4},y.prototype.writeBigUInt64LE=k(function(a,u=0){return Kn(this,a,u,BigInt(0),BigInt("0xffffffffffffffff"))}),y.prototype.writeBigUInt64BE=k(function(a,u=0){return Ht(this,a,u,BigInt(0),BigInt("0xffffffffffffffff"))}),y.prototype.writeIntLE=function(a,u,d,g){if(a=+a,u>>>=0,!g){const ae=Math.pow(2,8*d-1);Be(this,a,u,d,ae-1,-ae)}let w=0,C=1,K=0;for(this[u]=255&a;++w<d&&(C*=256);)a<0&&0===K&&0!==this[u+w-1]&&(K=1),this[u+w]=(a/C>>0)-K&255;return u+d},y.prototype.writeIntBE=function(a,u,d,g){if(a=+a,u>>>=0,!g){const ae=Math.pow(2,8*d-1);Be(this,a,u,d,ae-1,-ae)}let w=d-1,C=1,K=0;for(this[u+w]=255&a;--w>=0&&(C*=256);)a<0&&0===K&&0!==this[u+w+1]&&(K=1),this[u+w]=(a/C>>0)-K&255;return u+d},y.prototype.writeInt8=function(a,u,d){return a=+a,u>>>=0,d||Be(this,a,u,1,127,-128),a<0&&(a=255+a+1),this[u]=255&a,u+1},y.prototype.writeInt16LE=function(a,u,d){return a=+a,u>>>=0,d||Be(this,a,u,2,32767,-32768),this[u]=255&a,this[u+1]=a>>>8,u+2},y.prototype.writeInt16BE=function(a,u,d){return a=+a,u>>>=0,d||Be(this,a,u,2,32767,-32768),this[u]=a>>>8,this[u+1]=255&a,u+2},y.prototype.writeInt32LE=function(a,u,d){return a=+a,u>>>=0,d||Be(this,a,u,4,2147483647,-2147483648),this[u]=255&a,this[u+1]=a>>>8,this[u+2]=a>>>16,this[u+3]=a>>>24,u+4},y.prototype.writeInt32BE=function(a,u,d){return a=+a,u>>>=0,d||Be(this,a,u,4,2147483647,-2147483648),a<0&&(a=4294967295+a+1),this[u]=a>>>24,this[u+1]=a>>>16,this[u+2]=a>>>8,this[u+3]=255&a,u+4},y.prototype.writeBigInt64LE=k(function(a,u=0){return Kn(this,a,u,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),y.prototype.writeBigInt64BE=k(function(a,u=0){return Ht(this,a,u,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),y.prototype.writeFloatLE=function(a,u,d){return Xn(this,a,u,!0,d)},y.prototype.writeFloatBE=function(a,u,d){return Xn(this,a,u,!1,d)},y.prototype.writeDoubleLE=function(a,u,d){return Qt(this,a,u,!0,d)},y.prototype.writeDoubleBE=function(a,u,d){return Qt(this,a,u,!1,d)},y.prototype.copy=function(a,u,d,g){if(!y.isBuffer(a))throw new TypeError("argument should be a Buffer");if(d||(d=0),!g&&0!==g&&(g=this.length),u>=a.length&&(u=a.length),u||(u=0),g>0&&g<d&&(g=d),g===d||0===a.length||0===this.length)return 0;if(u<0)throw new RangeError("targetStart out of bounds");if(d<0||d>=this.length)throw new RangeError("Index out of range");if(g<0)throw new RangeError("sourceEnd out of bounds");g>this.length&&(g=this.length),a.length-u<g-d&&(g=a.length-u+d);const w=g-d;return this===a&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(u,d,g):Uint8Array.prototype.set.call(a,this.subarray(d,g),u),w},y.prototype.fill=function(a,u,d,g){if("string"==typeof a){if("string"==typeof u?(g=u,u=0,d=this.length):"string"==typeof d&&(g=d,d=this.length),void 0!==g&&"string"!=typeof g)throw new TypeError("encoding must be a string");if("string"==typeof g&&!y.isEncoding(g))throw new TypeError("Unknown encoding: "+g);if(1===a.length){const C=a.charCodeAt(0);("utf8"===g&&C<128||"latin1"===g)&&(a=C)}}else"number"==typeof a?a&=255:"boolean"==typeof a&&(a=Number(a));if(u<0||this.length<u||this.length<d)throw new RangeError("Out of range index");if(d<=u)return this;let w;if(u>>>=0,d=void 0===d?this.length:d>>>0,a||(a=0),"number"==typeof a)for(w=u;w<d;++w)this[w]=a;else{const C=y.isBuffer(a)?a:y.from(a,g),K=C.length;if(0===K)throw new TypeError('The value "'+a+'" is invalid for argument "value"');for(w=0;w<d-u;++w)this[w+u]=C[w%K]}return this};const jt={};function Yn(h,a,u){jt[h]=class extends u{constructor(){super(),Object.defineProperty(this,"message",{value:a.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${h}]`,delete this.name}get code(){return h}set code(g){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:g,writable:!0})}toString(){return`${this.name} [${h}]: ${this.message}`}}}function Qn(h){let a="",u=h.length;const d="-"===h[0]?1:0;for(;u>=d+4;u-=3)a=`_${h.slice(u-3,u)}${a}`;return`${h.slice(0,u)}${a}`}function fn(h,a,u,d,g,w){if(h>u||h<a){const C="bigint"==typeof a?"n":"";let K;throw K=w>3?0===a||a===BigInt(0)?`>= 0${C} and < 2${C} ** ${8*(w+1)}${C}`:`>= -(2${C} ** ${8*(w+1)-1}${C}) and < 2 ** ${8*(w+1)-1}${C}`:`>= ${a}${C} and <= ${u}${C}`,new jt.ERR_OUT_OF_RANGE("value",K,h)}!function Jn(h,a,u){Mt(a,"offset"),(void 0===h[a]||void 0===h[a+u])&&on(a,h.length-(u+1))}(d,g,w)}function Mt(h,a){if("number"!=typeof h)throw new jt.ERR_INVALID_ARG_TYPE(a,"number",h)}function on(h,a,u){throw Math.floor(h)!==h?(Mt(h,u),new jt.ERR_OUT_OF_RANGE(u||"offset","an integer",h)):a<0?new jt.ERR_BUFFER_OUT_OF_BOUNDS:new jt.ERR_OUT_OF_RANGE(u||"offset",`>= ${u?1:0} and <= ${a}`,h)}Yn("ERR_BUFFER_OUT_OF_BOUNDS",function(h){return h?`${h} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Yn("ERR_INVALID_ARG_TYPE",function(h,a){return`The "${h}" argument must be of type number. Received type ${typeof a}`},TypeError),Yn("ERR_OUT_OF_RANGE",function(h,a,u){let d=`The value of "${h}" is out of range.`,g=u;return Number.isInteger(u)&&Math.abs(u)>2**32?g=Qn(String(u)):"bigint"==typeof u&&(g=String(u),(u>BigInt(2)**BigInt(32)||u<-(BigInt(2)**BigInt(32)))&&(g=Qn(g)),g+="n"),d+=` It must be ${a}. Received ${g}`,d},RangeError);const Rn=/[^+/0-9A-Za-z-_]/g;function es(h,a){let u;a=a||1/0;const d=h.length;let g=null;const w=[];for(let C=0;C<d;++C){if(u=h.charCodeAt(C),u>55295&&u<57344){if(!g){if(u>56319){(a-=3)>-1&&w.push(239,191,189);continue}if(C+1===d){(a-=3)>-1&&w.push(239,191,189);continue}g=u;continue}if(u<56320){(a-=3)>-1&&w.push(239,191,189),g=u;continue}u=65536+(g-55296<<10|u-56320)}else g&&(a-=3)>-1&&w.push(239,191,189);if(g=null,u<128){if((a-=1)<0)break;w.push(u)}else if(u<2048){if((a-=2)<0)break;w.push(u>>6|192,63&u|128)}else if(u<65536){if((a-=3)<0)break;w.push(u>>12|224,u>>6&63|128,63&u|128)}else{if(!(u<1114112))throw new Error("Invalid code point");if((a-=4)<0)break;w.push(u>>18|240,u>>12&63|128,u>>6&63|128,63&u|128)}}return w}function E(h){return We.toByteArray(function an(h){if((h=(h=h.split("=")[0]).trim().replace(Rn,"")).length<2)return"";for(;h.length%4!=0;)h+="=";return h}(h))}function T(h,a,u,d){let g;for(g=0;g<d&&!(g+u>=a.length||g>=h.length);++g)a[g+u]=h[g];return g}function b(h,a){return h instanceof a||null!=h&&null!=h.constructor&&null!=h.constructor.name&&h.constructor.name===a.name}function I(h){return h!=h}const N=function(){const h="0123456789abcdef",a=new Array(256);for(let u=0;u<16;++u){const d=16*u;for(let g=0;g<16;++g)a[d+g]=h[u]+h[g]}return a}();function k(h){return typeof BigInt>"u"?X:h}function X(){throw new Error("BigInt not supported")}},8461:(qt,gt)=>{gt.read=function(Le,ne,We,Ge,Me){var qe,Ae,Ie=8*Me-Ge-1,y=(1<<Ie)-1,at=y>>1,Fe=-7,Ke=We?Me-1:0,me=We?-1:1,J=Le[ne+Ke];for(Ke+=me,qe=J&(1<<-Fe)-1,J>>=-Fe,Fe+=Ie;Fe>0;qe=256*qe+Le[ne+Ke],Ke+=me,Fe-=8);for(Ae=qe&(1<<-Fe)-1,qe>>=-Fe,Fe+=Ge;Fe>0;Ae=256*Ae+Le[ne+Ke],Ke+=me,Fe-=8);if(0===qe)qe=1-at;else{if(qe===y)return Ae?NaN:1/0*(J?-1:1);Ae+=Math.pow(2,Ge),qe-=at}return(J?-1:1)*Ae*Math.pow(2,qe-Ge)},gt.write=function(Le,ne,We,Ge,Me,qe){var Ae,Ie,y,at=8*qe-Me-1,Fe=(1<<at)-1,Ke=Fe>>1,me=23===Me?Math.pow(2,-24)-Math.pow(2,-77):0,J=Ge?0:qe-1,le=Ge?1:-1,de=ne<0||0===ne&&1/ne<0?1:0;for(ne=Math.abs(ne),isNaN(ne)||ne===1/0?(Ie=isNaN(ne)?1:0,Ae=Fe):(Ae=Math.floor(Math.log(ne)/Math.LN2),ne*(y=Math.pow(2,-Ae))<1&&(Ae--,y*=2),(ne+=Ae+Ke>=1?me/y:me*Math.pow(2,1-Ke))*y>=2&&(Ae++,y/=2),Ae+Ke>=Fe?(Ie=0,Ae=Fe):Ae+Ke>=1?(Ie=(ne*y-1)*Math.pow(2,Me),Ae+=Ke):(Ie=ne*Math.pow(2,Ke-1)*Math.pow(2,Me),Ae=0));Me>=8;Le[We+J]=255&Ie,J+=le,Ie/=256,Me-=8);for(Ae=Ae<<Me|Ie,at+=Me;at>0;Le[We+J]=255&Ae,J+=le,Ae/=256,at-=8);Le[We+J-le]|=128*de}},8583:()=>{"use strict";!function(E){const T=E.performance;function b(Te){T&&T.mark&&T.mark(Te)}function I(Te,Y){T&&T.measure&&T.measure(Te,Y)}b("Zone");const N=E.__Zone_symbol_prefix||"__zone_symbol__";function k(Te){return N+Te}const X=!0===E[k("forceDuplicateZoneCheck")];if(E.Zone){if(X||"function"!=typeof E.Zone.__symbol__)throw new Error("Zone already loaded.");return E.Zone}let h=(()=>{class Te{constructor(v,x){this._parent=v,this._name=x?x.name||"unnamed":"<root>",this._properties=x&&x.properties||{},this._zoneDelegate=new u(this,this._parent&&this._parent._zoneDelegate,x)}static assertZonePatched(){if(E.Promise!==Et.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=Te.current;for(;v.parent;)v=v.parent;return v}static get current(){return Qe.zone}static get currentTask(){return it}static __load_patch(v,x,ie=!1){if(Et.hasOwnProperty(v)){if(!ie&&X)throw Error("Already loaded patch: "+v)}else if(!E["__Zone_disable_"+v]){const pe="Zone:"+v;b(pe),Et[v]=x(E,Te,Ye),I(pe,pe)}}get parent(){return this._parent}get name(){return this._name}get(v){const x=this.getZoneWith(v);if(x)return x._properties[v]}getZoneWith(v){let x=this;for(;x;){if(x._properties.hasOwnProperty(v))return x;x=x._parent}return null}fork(v){if(!v)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,v)}wrap(v,x){if("function"!=typeof v)throw new Error("Expecting function got: "+v);const ie=this._zoneDelegate.intercept(this,v,x),pe=this;return function(){return pe.runGuarded(ie,this,arguments,x)}}run(v,x,ie,pe){Qe={parent:Qe,zone:this};try{return this._zoneDelegate.invoke(this,v,x,ie,pe)}finally{Qe=Qe.parent}}runGuarded(v,x=null,ie,pe){Qe={parent:Qe,zone:this};try{try{return this._zoneDelegate.invoke(this,v,x,ie,pe)}catch(W){if(this._zoneDelegate.handleError(this,W))throw W}}finally{Qe=Qe.parent}}runTask(v,x,ie){if(v.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(v.zone||nt).name+"; Execution: "+this.name+")");if(v.state===se&&(v.type===vt||v.type===ce))return;const pe=v.state!=ee;pe&&v._transitionTo(ee,we),v.runCount++;const W=it;it=v,Qe={parent:Qe,zone:this};try{v.type==ce&&v.data&&!v.data.isPeriodic&&(v.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,v,x,ie)}catch(M){if(this._zoneDelegate.handleError(this,M))throw M}}finally{v.state!==se&&v.state!==q&&(v.type==vt||v.data&&v.data.isPeriodic?pe&&v._transitionTo(we,ee):(v.runCount=0,this._updateTaskCount(v,-1),pe&&v._transitionTo(se,ee,se))),Qe=Qe.parent,it=W}}scheduleTask(v){if(v.zone&&v.zone!==this){let ie=this;for(;ie;){if(ie===v.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${v.zone.name}`);ie=ie.parent}}v._transitionTo(Re,se);const x=[];v._zoneDelegates=x,v._zone=this;try{v=this._zoneDelegate.scheduleTask(this,v)}catch(ie){throw v._transitionTo(q,Re,se),this._zoneDelegate.handleError(this,ie),ie}return v._zoneDelegates===x&&this._updateTaskCount(v,1),v.state==Re&&v._transitionTo(we,Re),v}scheduleMicroTask(v,x,ie,pe){return this.scheduleTask(new d(ue,v,x,ie,pe,void 0))}scheduleMacroTask(v,x,ie,pe,W){return this.scheduleTask(new d(ce,v,x,ie,pe,W))}scheduleEventTask(v,x,ie,pe,W){return this.scheduleTask(new d(vt,v,x,ie,pe,W))}cancelTask(v){if(v.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(v.zone||nt).name+"; Execution: "+this.name+")");v._transitionTo(Ve,we,ee);try{this._zoneDelegate.cancelTask(this,v)}catch(x){throw v._transitionTo(q,Ve),this._zoneDelegate.handleError(this,x),x}return this._updateTaskCount(v,-1),v._transitionTo(se,Ve),v.runCount=0,v}_updateTaskCount(v,x){const ie=v._zoneDelegates;-1==x&&(v._zoneDelegates=null);for(let pe=0;pe<ie.length;pe++)ie[pe]._updateTaskCount(v.type,x)}}return Te.__symbol__=k,Te})();const a={name:"",onHasTask:(Te,Y,v,x)=>Te.hasTask(v,x),onScheduleTask:(Te,Y,v,x)=>Te.scheduleTask(v,x),onInvokeTask:(Te,Y,v,x,ie,pe)=>Te.invokeTask(v,x,ie,pe),onCancelTask:(Te,Y,v,x)=>Te.cancelTask(v,x)};class u{constructor(Y,v,x){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=Y,this._parentDelegate=v,this._forkZS=x&&(x&&x.onFork?x:v._forkZS),this._forkDlgt=x&&(x.onFork?v:v._forkDlgt),this._forkCurrZone=x&&(x.onFork?this.zone:v._forkCurrZone),this._interceptZS=x&&(x.onIntercept?x:v._interceptZS),this._interceptDlgt=x&&(x.onIntercept?v:v._interceptDlgt),this._interceptCurrZone=x&&(x.onIntercept?this.zone:v._interceptCurrZone),this._invokeZS=x&&(x.onInvoke?x:v._invokeZS),this._invokeDlgt=x&&(x.onInvoke?v:v._invokeDlgt),this._invokeCurrZone=x&&(x.onInvoke?this.zone:v._invokeCurrZone),this._handleErrorZS=x&&(x.onHandleError?x:v._handleErrorZS),this._handleErrorDlgt=x&&(x.onHandleError?v:v._handleErrorDlgt),this._handleErrorCurrZone=x&&(x.onHandleError?this.zone:v._handleErrorCurrZone),this._scheduleTaskZS=x&&(x.onScheduleTask?x:v._scheduleTaskZS),this._scheduleTaskDlgt=x&&(x.onScheduleTask?v:v._scheduleTaskDlgt),this._scheduleTaskCurrZone=x&&(x.onScheduleTask?this.zone:v._scheduleTaskCurrZone),this._invokeTaskZS=x&&(x.onInvokeTask?x:v._invokeTaskZS),this._invokeTaskDlgt=x&&(x.onInvokeTask?v:v._invokeTaskDlgt),this._invokeTaskCurrZone=x&&(x.onInvokeTask?this.zone:v._invokeTaskCurrZone),this._cancelTaskZS=x&&(x.onCancelTask?x:v._cancelTaskZS),this._cancelTaskDlgt=x&&(x.onCancelTask?v:v._cancelTaskDlgt),this._cancelTaskCurrZone=x&&(x.onCancelTask?this.zone:v._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const ie=x&&x.onHasTask;(ie||v&&v._hasTaskZS)&&(this._hasTaskZS=ie?x:a,this._hasTaskDlgt=v,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=Y,x.onScheduleTask||(this._scheduleTaskZS=a,this._scheduleTaskDlgt=v,this._scheduleTaskCurrZone=this.zone),x.onInvokeTask||(this._invokeTaskZS=a,this._invokeTaskDlgt=v,this._invokeTaskCurrZone=this.zone),x.onCancelTask||(this._cancelTaskZS=a,this._cancelTaskDlgt=v,this._cancelTaskCurrZone=this.zone))}fork(Y,v){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,Y,v):new h(Y,v)}intercept(Y,v,x){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,Y,v,x):v}invoke(Y,v,x,ie,pe){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,Y,v,x,ie,pe):v.apply(x,ie)}handleError(Y,v){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,Y,v)}scheduleTask(Y,v){let x=v;if(this._scheduleTaskZS)this._hasTaskZS&&x._zoneDelegates.push(this._hasTaskDlgtOwner),x=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,Y,v),x||(x=v);else if(v.scheduleFn)v.scheduleFn(v);else{if(v.type!=ue)throw new Error("Task is missing scheduleFn.");U(v)}return x}invokeTask(Y,v,x,ie){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,Y,v,x,ie):v.callback.apply(x,ie)}cancelTask(Y,v){let x;if(this._cancelTaskZS)x=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,Y,v);else{if(!v.cancelFn)throw Error("Task is not cancelable");x=v.cancelFn(v)}return x}hasTask(Y,v){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,Y,v)}catch(x){this.handleError(Y,x)}}_updateTaskCount(Y,v){const x=this._taskCounts,ie=x[Y],pe=x[Y]=ie+v;if(pe<0)throw new Error("More tasks executed then were scheduled.");0!=ie&&0!=pe||this.hasTask(this.zone,{microTask:x.microTask>0,macroTask:x.macroTask>0,eventTask:x.eventTask>0,change:Y})}}class d{constructor(Y,v,x,ie,pe,W){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=Y,this.source=v,this.data=ie,this.scheduleFn=pe,this.cancelFn=W,!x)throw new Error("callback is not defined");this.callback=x;const M=this;this.invoke=Y===vt&&ie&&ie.useG?d.invokeTask:function(){return d.invokeTask.call(E,M,this,arguments)}}static invokeTask(Y,v,x){Y||(Y=this),He++;try{return Y.runCount++,Y.zone.runTask(Y,v,x)}finally{1==He&&j(),He--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(se,Re)}_transitionTo(Y,v,x){if(this._state!==v&&this._state!==x)throw new Error(`${this.type} '${this.source}': can not transition to '${Y}', expecting state '${v}'${x?" or '"+x+"'":""}, was '${this._state}'.`);this._state=Y,Y==se&&(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 g=k("setTimeout"),w=k("Promise"),C=k("then");let Ee,K=[],ae=!1;function he(Te){if(Ee||E[w]&&(Ee=E[w].resolve(0)),Ee){let Y=Ee[C];Y||(Y=Ee.then),Y.call(Ee,Te)}else E[g](Te,0)}function U(Te){0===He&&0===K.length&&he(j),Te&&K.push(Te)}function j(){if(!ae){for(ae=!0;K.length;){const Te=K;K=[];for(let Y=0;Y<Te.length;Y++){const v=Te[Y];try{v.zone.runTask(v,null,null)}catch(x){Ye.onUnhandledError(x)}}}Ye.microtaskDrainDone(),ae=!1}}const nt={name:"NO ZONE"},se="notScheduled",Re="scheduling",we="scheduled",ee="running",Ve="canceling",q="unknown",ue="microTask",ce="macroTask",vt="eventTask",Et={},Ye={symbol:k,currentZoneFrame:()=>Qe,onUnhandledError:B,microtaskDrainDone:B,scheduleMicroTask:U,showUncaughtError:()=>!h[k("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:B,patchMethod:()=>B,bindArguments:()=>[],patchThen:()=>B,patchMacroTask:()=>B,patchEventPrototype:()=>B,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>B,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>B,wrapWithCurrentZone:()=>B,filterProperties:()=>[],attachOriginToPatched:()=>B,_redefineProperty:()=>B,patchCallbacks:()=>B,nativeScheduleMicroTask:he};let Qe={parent:null,zone:new h(null,null)},it=null,He=0;function B(){}I("Zone","Zone"),E.Zone=h}(typeof window<"u"&&window||typeof self<"u"&&self||global);const qt=Object.getOwnPropertyDescriptor,gt=Object.defineProperty,Le=Object.getPrototypeOf,ne=Object.create,We=Array.prototype.slice,Ge="addEventListener",Me="removeEventListener",qe=Zone.__symbol__(Ge),Ae=Zone.__symbol__(Me),Ie="true",y="false",at=Zone.__symbol__("");function Fe(E,T){return Zone.current.wrap(E,T)}function Ke(E,T,b,I,N){return Zone.current.scheduleMacroTask(E,T,b,I,N)}const me=Zone.__symbol__,J=typeof window<"u",le=J?window:void 0,de=J&&le||"object"==typeof self&&self||global;function ut(E,T){for(let b=E.length-1;b>=0;b--)"function"==typeof E[b]&&(E[b]=Fe(E[b],T+"_"+b));return E}function Oe(E){return!E||!1!==E.writable&&!("function"==typeof E.get&&typeof E.set>"u")}const wt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,tt=!("nw"in de)&&typeof de.process<"u"&&"[object process]"==={}.toString.call(de.process),Rt=!tt&&!wt&&!(!J||!le.HTMLElement),_e=typeof de.process<"u"&&"[object process]"==={}.toString.call(de.process)&&!wt&&!(!J||!le.HTMLElement),rt={},vs=function(E){if(!(E=E||de.event))return;let T=rt[E.type];T||(T=rt[E.type]=me("ON_PROPERTY"+E.type));const b=this||E.target||de,I=b[T];let N;if(Rt&&b===le&&"error"===E.type){const k=E;N=I&&I.call(this,k.message,k.filename,k.lineno,k.colno,k.error),!0===N&&E.preventDefault()}else N=I&&I.apply(this,arguments),null!=N&&!N&&E.preventDefault();return N};function Es(E,T,b){let I=qt(E,T);if(!I&&b&&qt(b,T)&&(I={enumerable:!0,configurable:!0}),!I||!I.configurable)return;const N=me("on"+T+"patched");if(E.hasOwnProperty(N)&&E[N])return;delete I.writable,delete I.value;const k=I.get,X=I.set,h=T.slice(2);let a=rt[h];a||(a=rt[h]=me("ON_PROPERTY"+h)),I.set=function(u){let d=this;!d&&E===de&&(d=de),d&&("function"==typeof d[a]&&d.removeEventListener(h,vs),X&&X.call(d,null),d[a]=u,"function"==typeof u&&d.addEventListener(h,vs,!1))},I.get=function(){let u=this;if(!u&&E===de&&(u=de),!u)return null;const d=u[a];if(d)return d;if(k){let g=k.call(this);if(g)return I.set.call(this,g),"function"==typeof u.removeAttribute&&u.removeAttribute(T),g}return null},gt(E,T,I),E[N]=!0}function ys(E,T,b){if(T)for(let I=0;I<T.length;I++)Es(E,"on"+T[I],b);else{const I=[];for(const N in E)"on"==N.slice(0,2)&&I.push(N);for(let N=0;N<I.length;N++)Es(E,I[N],b)}}const dt=me("originalInstance");function Pn(E){const T=de[E];if(!T)return;de[me(E)]=T,de[E]=function(){const N=ut(arguments,E);switch(N.length){case 0:this[dt]=new T;break;case 1:this[dt]=new T(N[0]);break;case 2:this[dt]=new T(N[0],N[1]);break;case 3:this[dt]=new T(N[0],N[1],N[2]);break;case 4:this[dt]=new T(N[0],N[1],N[2],N[3]);break;default:throw new Error("Arg list too long.")}},bt(de[E],T);const b=new T(function(){});let I;for(I in b)"XMLHttpRequest"===E&&"responseBlob"===I||function(N){"function"==typeof b[N]?de[E].prototype[N]=function(){return this[dt][N].apply(this[dt],arguments)}:gt(de[E].prototype,N,{set:function(k){"function"==typeof k?(this[dt][N]=Fe(k,E+"."+N),bt(this[dt][N],k)):this[dt][N]=k},get:function(){return this[dt][N]}})}(I);for(I in T)"prototype"!==I&&T.hasOwnProperty(I)&&(de[E][I]=T[I])}function Lt(E,T,b){let I=E;for(;I&&!I.hasOwnProperty(T);)I=Le(I);!I&&E[T]&&(I=E);const N=me(T);let k=null;if(I&&(!(k=I[N])||!I.hasOwnProperty(N))&&(k=I[N]=I[T],Oe(I&&qt(I,T)))){const h=b(k,N,T);I[T]=function(){return h(this,arguments)},bt(I[T],k)}return k}function _s(E,T,b){let I=null;function N(k){const X=k.data;return X.args[X.cbIdx]=function(){k.invoke.apply(this,arguments)},I.apply(X.target,X.args),k}I=Lt(E,T,k=>function(X,h){const a=b(X,h);return a.cbIdx>=0&&"function"==typeof h[a.cbIdx]?Ke(a.name,h[a.cbIdx],a,N):k.apply(X,h)})}function bt(E,T){E[me("OriginalDelegate")]=T}let ws=!1,kn=!1;function Bn(){if(ws)return kn;ws=!0;try{const E=le.navigator.userAgent;(-1!==E.indexOf("MSIE ")||-1!==E.indexOf("Trident/")||-1!==E.indexOf("Edge/"))&&(kn=!0)}catch{}return kn}Zone.__load_patch("ZoneAwarePromise",(E,T,b)=>{const I=Object.getOwnPropertyDescriptor,N=Object.defineProperty,X=b.symbol,h=[],a=!0===E[X("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],u=X("Promise"),d=X("then");b.onUnhandledError=M=>{if(b.showUncaughtError()){const O=M&&M.rejection;O?console.error("Unhandled Promise rejection:",O instanceof Error?O.message:O,"; Zone:",M.zone.name,"; Task:",M.task&&M.task.source,"; Value:",O,O instanceof Error?O.stack:void 0):console.error(M)}},b.microtaskDrainDone=()=>{for(;h.length;){const M=h.shift();try{M.zone.runGuarded(()=>{throw M.throwOriginal?M.rejection:M})}catch(O){C(O)}}};const w=X("unhandledPromiseRejectionHandler");function C(M){b.onUnhandledError(M);try{const O=T[w];"function"==typeof O&&O.call(this,M)}catch{}}function K(M){return M&&M.then}function ae(M){return M}function Ee(M){return v.reject(M)}const he=X("state"),U=X("value"),j=X("finally"),nt=X("parentPromiseValue"),se=X("parentPromiseState"),we=null,Ve=!1;function ue(M,O){return P=>{try{Ye(M,O,P)}catch(F){Ye(M,!1,F)}}}const ce=function(){let M=!1;return function(P){return function(){M||(M=!0,P.apply(null,arguments))}}},Et=X("currentTaskTrace");function Ye(M,O,P){const F=ce();if(M===P)throw new TypeError("Promise resolved with itself");if(M[he]===we){let Q=null;try{("object"==typeof P||"function"==typeof P)&&(Q=P&&P.then)}catch(oe){return F(()=>{Ye(M,!1,oe)})(),M}if(O!==Ve&&P instanceof v&&P.hasOwnProperty(he)&&P.hasOwnProperty(U)&&P[he]!==we)it(P),Ye(M,P[he],P[U]);else if(O!==Ve&&"function"==typeof Q)try{Q.call(P,F(ue(M,O)),F(ue(M,!1)))}catch(oe){F(()=>{Ye(M,!1,oe)})()}else{M[he]=O;const oe=M[U];if(M[U]=P,M[j]===j&&!0===O&&(M[he]=M[se],M[U]=M[nt]),O===Ve&&P instanceof Error){const H=T.currentTask&&T.currentTask.data&&T.currentTask.data.__creationTrace__;H&&N(P,Et,{configurable:!0,enumerable:!1,writable:!0,value:H})}for(let H=0;H<oe.length;)He(M,oe[H++],oe[H++],oe[H++],oe[H++]);if(0==oe.length&&O==Ve){M[he]=0;let H=P;try{throw new Error("Uncaught (in promise): "+function k(M){return M&&M.toString===Object.prototype.toString?(M.constructor&&M.constructor.name||"")+": "+JSON.stringify(M):M?M.toString():Object.prototype.toString.call(M)}(P)+(P&&P.stack?"\n"+P.stack:""))}catch(ge){H=ge}a&&(H.throwOriginal=!0),H.rejection=P,H.promise=M,H.zone=T.current,H.task=T.currentTask,h.push(H),b.scheduleMicroTask()}}}return M}const Qe=X("rejectionHandledHandler");function it(M){if(0===M[he]){try{const O=T[Qe];O&&"function"==typeof O&&O.call(this,{rejection:M[U],promise:M})}catch{}M[he]=Ve;for(let O=0;O<h.length;O++)M===h[O].promise&&h.splice(O,1)}}function He(M,O,P,F,Q){it(M);const oe=M[he],H=oe?"function"==typeof F?F:ae:"function"==typeof Q?Q:Ee;O.scheduleMicroTask("Promise.then",()=>{try{const ge=M[U],ye=!!P&&j===P[j];ye&&(P[nt]=ge,P[se]=oe);const fe=O.run(H,void 0,ye&&H!==Ee&&H!==ae?[]:[ge]);Ye(P,!0,fe)}catch(ge){Ye(P,!1,ge)}},P)}const Te=function(){},Y=E.AggregateError;class v{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(O){return Ye(new this(null),!0,O)}static reject(O){return Ye(new this(null),Ve,O)}static any(O){if(!O||"function"!=typeof O[Symbol.iterator])return Promise.reject(new Y([],"All promises were rejected"));const P=[];let F=0;try{for(let H of O)F++,P.push(v.resolve(H))}catch{return Promise.reject(new Y([],"All promises were rejected"))}if(0===F)return Promise.reject(new Y([],"All promises were rejected"));let Q=!1;const oe=[];return new v((H,ge)=>{for(let ye=0;ye<P.length;ye++)P[ye].then(fe=>{Q||(Q=!0,H(fe))},fe=>{oe.push(fe),F--,0===F&&(Q=!0,ge(new Y(oe,"All promises were rejected")))})})}static race(O){let P,F,Q=new this((ge,ye)=>{P=ge,F=ye});function oe(ge){P(ge)}function H(ge){F(ge)}for(let ge of O)K(ge)||(ge=this.resolve(ge)),ge.then(oe,H);return Q}static all(O){return v.allWithCallback(O)}static allSettled(O){return(this&&this.prototype instanceof v?this:v).allWithCallback(O,{thenCallback:F=>({status:"fulfilled",value:F}),errorCallback:F=>({status:"rejected",reason:F})})}static allWithCallback(O,P){let F,Q,oe=new this((fe,ke)=>{F=fe,Q=ke}),H=2,ge=0;const ye=[];for(let fe of O){K(fe)||(fe=this.resolve(fe));const ke=ge;try{fe.then(Ue=>{ye[ke]=P?P.thenCallback(Ue):Ue,H--,0===H&&F(ye)},Ue=>{P?(ye[ke]=P.errorCallback(Ue),H--,0===H&&F(ye)):Q(Ue)})}catch(Ue){Q(Ue)}H++,ge++}return H-=2,0===H&&F(ye),oe}constructor(O){const P=this;if(!(P instanceof v))throw new Error("Must be an instanceof Promise.");P[he]=we,P[U]=[];try{const F=ce();O&&O(F(ue(P,!0)),F(ue(P,Ve)))}catch(F){Ye(P,!1,F)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return v}then(O,P){var F;let Q=null===(F=this.constructor)||void 0===F?void 0:F[Symbol.species];(!Q||"function"!=typeof Q)&&(Q=this.constructor||v);const oe=new Q(Te),H=T.current;return this[he]==we?this[U].push(H,oe,O,P):He(this,H,oe,O,P),oe}catch(O){return this.then(null,O)}finally(O){var P;let F=null===(P=this.constructor)||void 0===P?void 0:P[Symbol.species];(!F||"function"!=typeof F)&&(F=v);const Q=new F(Te);Q[j]=j;const oe=T.current;return this[he]==we?this[U].push(oe,Q,O,O):He(this,oe,Q,O,O),Q}}v.resolve=v.resolve,v.reject=v.reject,v.race=v.race,v.all=v.all;const x=E[u]=E.Promise;E.Promise=v;const ie=X("thenPatched");function pe(M){const O=M.prototype,P=I(O,"then");if(P&&(!1===P.writable||!P.configurable))return;const F=O.then;O[d]=F,M.prototype.then=function(Q,oe){return new v((ge,ye)=>{F.call(this,ge,ye)}).then(Q,oe)},M[ie]=!0}return b.patchThen=pe,x&&(pe(x),Lt(E,"fetch",M=>function W(M){return function(O,P){let F=M.apply(O,P);if(F instanceof v)return F;let Q=F.constructor;return Q[ie]||pe(Q),F}}(M))),Promise[T.__symbol__("uncaughtPromiseErrors")]=h,v}),Zone.__load_patch("toString",E=>{const T=Function.prototype.toString,b=me("OriginalDelegate"),I=me("Promise"),N=me("Error"),k=function(){if("function"==typeof this){const u=this[b];if(u)return"function"==typeof u?T.call(u):Object.prototype.toString.call(u);if(this===Promise){const d=E[I];if(d)return T.call(d)}if(this===Error){const d=E[N];if(d)return T.call(d)}}return T.call(this)};k[b]=T,Function.prototype.toString=k;const X=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":X.call(this)}});let dn=!1;if(typeof window<"u")try{const E=Object.defineProperty({},"passive",{get:function(){dn=!0}});window.addEventListener("test",E,E),window.removeEventListener("test",E,E)}catch{dn=!1}const Xe={useG:!0},Be={},Kn={},Ht=new RegExp("^"+at+"(\\w+)(true|false)$"),Zn=me("propagationStopped");function Xn(E,T){const b=(T?T(E):E)+y,I=(T?T(E):E)+Ie,N=at+b,k=at+I;Be[E]={},Be[E][y]=N,Be[E][Ie]=k}function Qt(E,T,b,I){const N=I&&I.add||Ge,k=I&&I.rm||Me,X=I&&I.listeners||"eventListeners",h=I&&I.rmAll||"removeAllListeners",a=me(N),u="."+N+":",w=function(U,j,nt){if(U.isRemoved)return;const se=U.callback;let Re;"object"==typeof se&&se.handleEvent&&(U.callback=ee=>se.handleEvent(ee),U.originalDelegate=se);try{U.invoke(U,j,[nt])}catch(ee){Re=ee}const we=U.options;return we&&"object"==typeof we&&we.once&&j[k].call(j,nt.type,U.originalDelegate?U.originalDelegate:U.callback,we),Re};function C(U,j,nt){if(!(j=j||E.event))return;const se=U||j.target||E,Re=se[Be[j.type][nt?Ie:y]];if(Re){const we=[];if(1===Re.length){const ee=w(Re[0],se,j);ee&&we.push(ee)}else{const ee=Re.slice();for(let Ve=0;Ve<ee.length&&(!j||!0!==j[Zn]);Ve++){const q=w(ee[Ve],se,j);q&&we.push(q)}}if(1===we.length)throw we[0];for(let ee=0;ee<we.length;ee++){const Ve=we[ee];T.nativeScheduleMicroTask(()=>{throw Ve})}}}const K=function(U){return C(this,U,!1)},ae=function(U){return C(this,U,!0)};function Ee(U,j){if(!U)return!1;let nt=!0;j&&void 0!==j.useG&&(nt=j.useG);const se=j&&j.vh;let Re=!0;j&&void 0!==j.chkDup&&(Re=j.chkDup);let we=!1;j&&void 0!==j.rt&&(we=j.rt);let ee=U;for(;ee&&!ee.hasOwnProperty(N);)ee=Le(ee);if(!ee&&U[N]&&(ee=U),!ee||ee[a])return!1;const Ve=j&&j.eventNameToString,q={},ue=ee[a]=ee[N],ce=ee[me(k)]=ee[k],vt=ee[me(X)]=ee[X],Et=ee[me(h)]=ee[h];let Ye;function Qe(P,F){return!dn&&"object"==typeof P&&P?!!P.capture:dn&&F?"boolean"==typeof P?{capture:P,passive:!0}:P?"object"==typeof P&&!1!==P.passive?Object.assign(Object.assign({},P),{passive:!0}):P:{passive:!0}:P}j&&j.prepend&&(Ye=ee[me(j.prepend)]=ee[j.prepend]);const v=nt?function(P){if(!q.isExisting)return ue.call(q.target,q.eventName,q.capture?ae:K,q.options)}:function(P){return ue.call(q.target,q.eventName,P.invoke,q.options)},x=nt?function(P){if(!P.isRemoved){const F=Be[P.eventName];let Q;F&&(Q=F[P.capture?Ie:y]);const oe=Q&&P.target[Q];if(oe)for(let H=0;H<oe.length;H++)if(oe[H]===P){oe.splice(H,1),P.isRemoved=!0,0===oe.length&&(P.allRemoved=!0,P.target[Q]=null);break}}if(P.allRemoved)return ce.call(P.target,P.eventName,P.capture?ae:K,P.options)}:function(P){return ce.call(P.target,P.eventName,P.invoke,P.options)},pe=j&&j.diff?j.diff:function(P,F){const Q=typeof F;return"function"===Q&&P.callback===F||"object"===Q&&P.originalDelegate===F},W=Zone[me("UNPATCHED_EVENTS")],M=E[me("PASSIVE_EVENTS")],O=function(P,F,Q,oe,H=!1,ge=!1){return function(){const ye=this||E;let fe=arguments[0];j&&j.transferEventName&&(fe=j.transferEventName(fe));let ke=arguments[1];if(!ke)return P.apply(this,arguments);if(tt&&"uncaughtException"===fe)return P.apply(this,arguments);let Ue=!1;if("function"!=typeof ke){if(!ke.handleEvent)return P.apply(this,arguments);Ue=!0}if(se&&!se(P,ke,ye,arguments))return;const Jt=dn&&!!M&&-1!==M.indexOf(fe),Wt=Qe(arguments[2],Jt);if(W)for(let Ft=0;Ft<W.length;Ft++)if(fe===W[Ft])return Jt?P.call(ye,fe,ke,Wt):P.apply(this,arguments);const xs=!!Wt&&("boolean"==typeof Wt||Wt.capture),ts=!(!Wt||"object"!=typeof Wt)&&Wt.once,di=Zone.current;let Ws=Be[fe];Ws||(Xn(fe,Ve),Ws=Be[fe]);const Ss=Ws[xs?Ie:y];let Ts,mn=ye[Ss],Ln=!1;if(mn){if(Ln=!0,Re)for(let Ft=0;Ft<mn.length;Ft++)if(pe(mn[Ft],ke))return}else mn=ye[Ss]=[];const ns=ye.constructor.name,ss=Kn[ns];ss&&(Ts=ss[fe]),Ts||(Ts=ns+F+(Ve?Ve(fe):fe)),q.options=Wt,ts&&(q.options.once=!1),q.target=ye,q.capture=xs,q.eventName=fe,q.isExisting=Ln;const lt=nt?Xe:void 0;lt&&(lt.taskData=q);const xt=di.scheduleEventTask(Ts,ke,lt,Q,oe);return q.target=null,lt&&(lt.taskData=null),ts&&(Wt.once=!0),!dn&&"boolean"==typeof xt.options||(xt.options=Wt),xt.target=ye,xt.capture=xs,xt.eventName=fe,Ue&&(xt.originalDelegate=ke),ge?mn.unshift(xt):mn.push(xt),H?ye:void 0}};return ee[N]=O(ue,u,v,x,we),Ye&&(ee.prependListener=O(Ye,".prependListener:",function(P){return Ye.call(q.target,q.eventName,P.invoke,q.options)},x,we,!0)),ee[k]=function(){const P=this||E;let F=arguments[0];j&&j.transferEventName&&(F=j.transferEventName(F));const Q=arguments[2],oe=!!Q&&("boolean"==typeof Q||Q.capture),H=arguments[1];if(!H)return ce.apply(this,arguments);if(se&&!se(ce,H,P,arguments))return;const ge=Be[F];let ye;ge&&(ye=ge[oe?Ie:y]);const fe=ye&&P[ye];if(fe)for(let ke=0;ke<fe.length;ke++){const Ue=fe[ke];if(pe(Ue,H))return fe.splice(ke,1),Ue.isRemoved=!0,0===fe.length&&(Ue.allRemoved=!0,P[ye]=null,"string"==typeof F)&&(P[at+"ON_PROPERTY"+F]=null),Ue.zone.cancelTask(Ue),we?P:void 0}return ce.apply(this,arguments)},ee[X]=function(){const P=this||E;let F=arguments[0];j&&j.transferEventName&&(F=j.transferEventName(F));const Q=[],oe=jt(P,Ve?Ve(F):F);for(let H=0;H<oe.length;H++){const ge=oe[H];Q.push(ge.originalDelegate?ge.originalDelegate:ge.callback)}return Q},ee[h]=function(){const P=this||E;let F=arguments[0];if(F){j&&j.transferEventName&&(F=j.transferEventName(F));const Q=Be[F];if(Q){const ge=P[Q[y]],ye=P[Q[Ie]];if(ge){const fe=ge.slice();for(let ke=0;ke<fe.length;ke++){const Ue=fe[ke];this[k].call(this,F,Ue.originalDelegate?Ue.originalDelegate:Ue.callback,Ue.options)}}if(ye){const fe=ye.slice();for(let ke=0;ke<fe.length;ke++){const Ue=fe[ke];this[k].call(this,F,Ue.originalDelegate?Ue.originalDelegate:Ue.callback,Ue.options)}}}}else{const Q=Object.keys(P);for(let oe=0;oe<Q.length;oe++){const ge=Ht.exec(Q[oe]);let ye=ge&&ge[1];ye&&"removeListener"!==ye&&this[h].call(this,ye)}this[h].call(this,"removeListener")}if(we)return this},bt(ee[N],ue),bt(ee[k],ce),Et&&bt(ee[h],Et),vt&&bt(ee[X],vt),!0}let he=[];for(let U=0;U<b.length;U++)he[U]=Ee(b[U],I);return he}function jt(E,T){if(!T){const k=[];for(let X in E){const h=Ht.exec(X);let a=h&&h[1];if(a&&(!T||a===T)){const u=E[X];if(u)for(let d=0;d<u.length;d++)k.push(u[d])}}return k}let b=Be[T];b||(Xn(T),b=Be[T]);const I=E[b[y]],N=E[b[Ie]];return I?N?I.concat(N):I.slice():N?N.slice():[]}function Yn(E,T){const b=E.Event;b&&b.prototype&&T.patchMethod(b.prototype,"stopImmediatePropagation",I=>function(N,k){N[Zn]=!0,I&&I.apply(N,k)})}function Qn(E,T,b,I,N){const k=Zone.__symbol__(I);if(T[k])return;const X=T[k]=T[I];T[I]=function(h,a,u){return a&&a.prototype&&N.forEach(function(d){const g=`${b}.${I}::`+d,w=a.prototype;try{if(w.hasOwnProperty(d)){const C=E.ObjectGetOwnPropertyDescriptor(w,d);C&&C.value?(C.value=E.wrapWithCurrentZone(C.value,g),E._redefineProperty(a.prototype,d,C)):w[d]&&(w[d]=E.wrapWithCurrentZone(w[d],g))}else w[d]&&(w[d]=E.wrapWithCurrentZone(w[d],g))}catch{}}),X.call(T,h,a,u)},E.attachOriginToPatched(T[I],X)}function Jn(E,T,b){if(!b||0===b.length)return T;const I=b.filter(k=>k.target===E);if(!I||0===I.length)return T;const N=I[0].ignoreProperties;return T.filter(k=>-1===N.indexOf(k))}function fn(E,T,b,I){E&&ys(E,Jn(E,T,b),I)}function Mt(E){return Object.getOwnPropertyNames(E).filter(T=>T.startsWith("on")&&T.length>2).map(T=>T.substring(2))}Zone.__load_patch("util",(E,T,b)=>{const I=Mt(E);b.patchOnProperties=ys,b.patchMethod=Lt,b.bindArguments=ut,b.patchMacroTask=_s;const N=T.__symbol__("BLACK_LISTED_EVENTS"),k=T.__symbol__("UNPATCHED_EVENTS");E[k]&&(E[N]=E[k]),E[N]&&(T[N]=T[k]=E[N]),b.patchEventPrototype=Yn,b.patchEventTarget=Qt,b.isIEOrEdge=Bn,b.ObjectDefineProperty=gt,b.ObjectGetOwnPropertyDescriptor=qt,b.ObjectCreate=ne,b.ArraySlice=We,b.patchClass=Pn,b.wrapWithCurrentZone=Fe,b.filterProperties=Jn,b.attachOriginToPatched=bt,b._redefineProperty=Object.defineProperty,b.patchCallbacks=Qn,b.getGlobalObjects=()=>({globalSources:Kn,zoneSymbolEventNames:Be,eventNames:I,isBrowser:Rt,isMix:_e,isNode:tt,TRUE_STR:Ie,FALSE_STR:y,ZONE_SYMBOL_PREFIX:at,ADD_EVENT_LISTENER_STR:Ge,REMOVE_EVENT_LISTENER_STR:Me})});const Rn=me("zoneTask");function an(E,T,b,I){let N=null,k=null;b+=I;const X={};function h(u){const d=u.data;return d.args[0]=function(){return u.invoke.apply(this,arguments)},d.handleId=N.apply(E,d.args),u}function a(u){return k.call(E,u.data.handleId)}N=Lt(E,T+=I,u=>function(d,g){if("function"==typeof g[0]){const w={isPeriodic:"Interval"===I,delay:"Timeout"===I||"Interval"===I?g[1]||0:void 0,args:g},C=g[0];g[0]=function(){try{return C.apply(this,arguments)}finally{w.isPeriodic||("number"==typeof w.handleId?delete X[w.handleId]:w.handleId&&(w.handleId[Rn]=null))}};const K=Ke(T,g[0],w,h,a);if(!K)return K;const ae=K.data.handleId;return"number"==typeof ae?X[ae]=K:ae&&(ae[Rn]=K),ae&&ae.ref&&ae.unref&&"function"==typeof ae.ref&&"function"==typeof ae.unref&&(K.ref=ae.ref.bind(ae),K.unref=ae.unref.bind(ae)),"number"==typeof ae||ae?ae:K}return u.apply(E,g)}),k=Lt(E,b,u=>function(d,g){const w=g[0];let C;"number"==typeof w?C=X[w]:(C=w&&w[Rn],C||(C=w)),C&&"string"==typeof C.type?"notScheduled"!==C.state&&(C.cancelFn&&C.data.isPeriodic||0===C.runCount)&&("number"==typeof w?delete X[w]:w&&(w[Rn]=null),C.zone.cancelTask(C)):u.apply(E,g)})}Zone.__load_patch("legacy",E=>{const T=E[Zone.__symbol__("legacyPatch")];T&&T()}),Zone.__load_patch("queueMicrotask",(E,T,b)=>{b.patchMethod(E,"queueMicrotask",I=>function(N,k){T.current.scheduleMicroTask("queueMicrotask",k[0])})}),Zone.__load_patch("timers",E=>{const T="set",b="clear";an(E,T,b,"Timeout"),an(E,T,b,"Interval"),an(E,T,b,"Immediate")}),Zone.__load_patch("requestAnimationFrame",E=>{an(E,"request","cancel","AnimationFrame"),an(E,"mozRequest","mozCancel","AnimationFrame"),an(E,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(E,T)=>{const b=["alert","prompt","confirm"];for(let I=0;I<b.length;I++)Lt(E,b[I],(k,X,h)=>function(a,u){return T.current.run(k,E,u,h)})}),Zone.__load_patch("EventTarget",(E,T,b)=>{(function js(E,T){T.patchEventPrototype(E,T)})(E,b),function Hs(E,T){if(Zone[T.symbol("patchEventTarget")])return;const{eventNames:b,zoneSymbolEventNames:I,TRUE_STR:N,FALSE_STR:k,ZONE_SYMBOL_PREFIX:X}=T.getGlobalObjects();for(let a=0;a<b.length;a++){const u=b[a],w=X+(u+k),C=X+(u+N);I[u]={},I[u][k]=w,I[u][N]=C}const h=E.EventTarget;h&&h.prototype&&T.patchEventTarget(E,T,[h&&h.prototype])}(E,b);const I=E.XMLHttpRequestEventTarget;I&&I.prototype&&b.patchEventTarget(E,b,[I.prototype])}),Zone.__load_patch("MutationObserver",(E,T,b)=>{Pn("MutationObserver"),Pn("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(E,T,b)=>{Pn("IntersectionObserver")}),Zone.__load_patch("FileReader",(E,T,b)=>{Pn("FileReader")}),Zone.__load_patch("on_property",(E,T,b)=>{!function on(E,T){if(tt&&!_e||Zone[E.symbol("patchEvents")])return;const b=T.__Zone_ignore_on_properties;let I=[];if(Rt){const N=window;I=I.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const k=function qs(){try{const E=le.navigator.userAgent;if(-1!==E.indexOf("MSIE ")||-1!==E.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:N,ignoreProperties:["error"]}]:[];fn(N,Mt(N),b&&b.concat(k),Le(N))}I=I.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let N=0;N<I.length;N++){const k=T[I[N]];k&&k.prototype&&fn(k.prototype,Mt(k.prototype),b)}}(b,E)}),Zone.__load_patch("customElements",(E,T,b)=>{!function es(E,T){const{isBrowser:b,isMix:I}=T.getGlobalObjects();(b||I)&&E.customElements&&"customElements"in E&&T.patchCallbacks(T,E.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(E,b)}),Zone.__load_patch("XHR",(E,T)=>{!function a(u){const d=u.XMLHttpRequest;if(!d)return;const g=d.prototype;let C=g[qe],K=g[Ae];if(!C){const q=u.XMLHttpRequestEventTarget;if(q){const ue=q.prototype;C=ue[qe],K=ue[Ae]}}const ae="readystatechange",Ee="scheduled";function he(q){const ue=q.data,ce=ue.target;ce[k]=!1,ce[h]=!1;const vt=ce[N];C||(C=ce[qe],K=ce[Ae]),vt&&K.call(ce,ae,vt);const Et=ce[N]=()=>{if(ce.readyState===ce.DONE)if(!ue.aborted&&ce[k]&&q.state===Ee){const Qe=ce[T.__symbol__("loadfalse")];if(0!==ce.status&&Qe&&Qe.length>0){const it=q.invoke;q.invoke=function(){const He=ce[T.__symbol__("loadfalse")];for(let B=0;B<He.length;B++)He[B]===q&&He.splice(B,1);!ue.aborted&&q.state===Ee&&it.call(q)},Qe.push(q)}else q.invoke()}else!ue.aborted&&!1===ce[k]&&(ce[h]=!0)};return C.call(ce,ae,Et),ce[b]||(ce[b]=q),ee.apply(ce,ue.args),ce[k]=!0,q}function U(){}function j(q){const ue=q.data;return ue.aborted=!0,Ve.apply(ue.target,ue.args)}const nt=Lt(g,"open",()=>function(q,ue){return q[I]=0==ue[2],q[X]=ue[1],nt.apply(q,ue)}),Re=me("fetchTaskAborting"),we=me("fetchTaskScheduling"),ee=Lt(g,"send",()=>function(q,ue){if(!0===T.current[we]||q[I])return ee.apply(q,ue);{const ce={target:q,url:q[X],isPeriodic:!1,args:ue,aborted:!1},vt=Ke("XMLHttpRequest.send",U,ce,he,j);q&&!0===q[h]&&!ce.aborted&&vt.state===Ee&&vt.invoke()}}),Ve=Lt(g,"abort",()=>function(q,ue){const ce=function w(q){return q[b]}(q);if(ce&&"string"==typeof ce.type){if(null==ce.cancelFn||ce.data&&ce.data.aborted)return;ce.zone.cancelTask(ce)}else if(!0===T.current[Re])return Ve.apply(q,ue)})}(E);const b=me("xhrTask"),I=me("xhrSync"),N=me("xhrListener"),k=me("xhrScheduled"),X=me("xhrURL"),h=me("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",E=>{E.navigator&&E.navigator.geolocation&&function ve(E,T){const b=E.constructor.name;for(let I=0;I<T.length;I++){const N=T[I],k=E[N];if(k){if(!Oe(qt(E,N)))continue;E[N]=(h=>{const a=function(){return h.apply(this,ut(arguments,b+"."+N))};return bt(a,h),a})(k)}}}(E.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(E,T)=>{function b(I){return function(N){jt(E,I).forEach(X=>{const h=E.PromiseRejectionEvent;if(h){const a=new h(I,{promise:N.promise,reason:N.rejection});X.invoke(a)}})}}E.PromiseRejectionEvent&&(T[me("unhandledPromiseRejectionHandler")]=b("unhandledrejection"),T[me("rejectionHandledHandler")]=b("rejectionhandled"))})}},qt=>{qt(qt.s=5565)}]);