You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
RTL/frontend/polyfills.277648f7b3e820e3.js

1 line
59 KiB
JavaScript

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