mirror of
https://github.com/Ride-The-Lightning/RTL
synced 2024-10-31 09:20:27 +00:00
bea5980c6f
Release 0.12.0
1 line
60 KiB
JavaScript
1 line
60 KiB
JavaScript
(self.webpackChunkRTLApp=self.webpackChunkRTLApp||[]).push([[429],{7435:(qe,me,K)=>{"use strict";K(8583),window.global=window,window.global.Buffer=window.global.Buffer||K(3172).Buffer},5343:(qe,me)=>{"use strict";me.byteLength=function(g){var Z=L(g),j=Z[1];return 3*(Z[0]+j)/4-j},me.toByteArray=function(g){var Z,fe,q=L(g),j=q[0],Ie=q[1],_e=new Ce(function(g,Z,q){return 3*(Z+q)/4-q}(0,j,Ie)),ve=0,je=Ie>0?j-4:j;for(fe=0;fe<je;fe+=4)Z=N[g.charCodeAt(fe)]<<18|N[g.charCodeAt(fe+1)]<<12|N[g.charCodeAt(fe+2)]<<6|N[g.charCodeAt(fe+3)],_e[ve++]=Z>>16&255,_e[ve++]=Z>>8&255,_e[ve++]=255&Z;return 2===Ie&&(Z=N[g.charCodeAt(fe)]<<2|N[g.charCodeAt(fe+1)]>>4,_e[ve++]=255&Z),1===Ie&&(Z=N[g.charCodeAt(fe)]<<10|N[g.charCodeAt(fe+1)]<<4|N[g.charCodeAt(fe+2)]>>2,_e[ve++]=Z>>8&255,_e[ve++]=255&Z),_e},me.fromByteArray=function(g){for(var Z,q=g.length,j=q%3,Ie=[],ve=0,je=q-j;ve<je;ve+=16383)Ie.push(le(g,ve,ve+16383>je?je:ve+16383));return 1===j?Ie.push(K[(Z=g[q-1])>>2]+K[Z<<4&63]+"=="):2===j&&Ie.push(K[(Z=(g[q-2]<<8)+g[q-1])>>10]+K[Z>>4&63]+K[Z<<2&63]+"="),Ie.join("")};for(var K=[],N=[],Ce="undefined"!=typeof Uint8Array?Uint8Array:Array,Ae="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ie=0,ye=Ae.length;ie<ye;++ie)K[ie]=Ae[ie],N[Ae.charCodeAt(ie)]=ie;function L(g){var Z=g.length;if(Z%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var q=g.indexOf("=");return-1===q&&(q=Z),[q,q===Z?0:4-q%4]}function ce(g){return K[g>>18&63]+K[g>>12&63]+K[g>>6&63]+K[63&g]}function le(g,Z,q){for(var Ie=[],_e=Z;_e<q;_e+=3)Ie.push(ce((g[_e]<<16&16711680)+(g[_e+1]<<8&65280)+(255&g[_e+2])));return Ie.join("")}N["-".charCodeAt(0)]=62,N["_".charCodeAt(0)]=63},3172:(qe,me,K)=>{"use strict";var N=K(5343),Ce=K(8461),Ae="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;me.Buffer=l,me.SlowBuffer=function(r){return+r!=r&&(r=0),l.alloc(+r)},me.INSPECT_MAX_BYTES=50;var ie=2147483647;function L(r){if(r>ie)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 le(r)}return ue(r,e,t)}function ue(r,e,t){if("string"==typeof r)return function(r,e){if(("string"!=typeof e||""===e)&&(e="utf8"),!l.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var t=0|ve(r,e),n=L(t),s=n.write(r,e);return s!==t&&(n=n.slice(0,s)),n}(r,e);if(ArrayBuffer.isView(r))return function(r){if(Le(r,Uint8Array)){var e=new Uint8Array(r);return q(e.buffer,e.byteOffset,e.byteLength)}return g(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(Le(r,ArrayBuffer)||r&&Le(r.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(Le(r,SharedArrayBuffer)||r&&Le(r.buffer,SharedArrayBuffer)))return q(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 s=function(r){if(l.isBuffer(r)){var e=0|Ie(r.length),t=L(e);return 0===t.length||r.copy(t,0,0,e),t}return void 0!==r.length?"number"!=typeof r.length||at(r.length)?L(0):g(r):"Buffer"===r.type&&Array.isArray(r.data)?g(r.data):void 0}(r);if(s)return s;if("undefined"!=typeof Symbol&&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 Ee(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 le(r){return Ee(r),L(r<0?0:0|Ie(r))}function g(r){for(var e=r.length<0?0:0|Ie(r.length),t=L(e),n=0;n<e;n+=1)t[n]=255&r[n];return t}function q(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 Ie(r){if(r>=ie)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ie.toString(16)+" bytes");return 0|r}function ve(r,e){if(l.isBuffer(r))return r.length;if(ArrayBuffer.isView(r)||Le(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 s=!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 st(r).length;default:if(s)return n?-1:$e(r).length;e=(""+e).toLowerCase(),s=!0}}function je(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 pt(this,e,t);case"utf8":case"utf-8":return Be(this,e,t);case"ascii":return wt(this,e,t);case"latin1":case"binary":return Ze(this,e,t);case"base64":return ht(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return it(this,e,t);default:if(n)throw new TypeError("Unknown encoding: "+r);r=(r+"").toLowerCase(),n=!0}}function fe(r,e,t){var n=r[e];r[e]=r[t],r[t]=n}function nt(r,e,t,n,s){if(0===r.length)return-1;if("string"==typeof t?(n=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),at(t=+t)&&(t=s?0:r.length-1),t<0&&(t=r.length+t),t>=r.length){if(s)return-1;t=r.length-1}else if(t<0){if(!s)return-1;t=0}if("string"==typeof e&&(e=l.from(e,n)),l.isBuffer(e))return 0===e.length?-1:Ye(r,e,t,n,s);if("number"==typeof e)return e&=255,"function"==typeof Uint8Array.prototype.indexOf?s?Uint8Array.prototype.indexOf.call(r,e,t):Uint8Array.prototype.lastIndexOf.call(r,e,t):Ye(r,[e],t,n,s);throw new TypeError("val must be string, number or Buffer")}function Ye(r,e,t,n,s){var ae,d=1,E=r.length,G=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,G/=2,t/=2}function Q(_t,Ve){return 1===d?_t[Ve]:_t.readUInt16BE(Ve*d)}if(s){var ke=-1;for(ae=t;ae<E;ae++)if(Q(r,ae)===Q(e,-1===ke?0:ae-ke)){if(-1===ke&&(ke=ae),ae-ke+1===G)return ke*d}else-1!==ke&&(ae-=ae-ke),ke=-1}else for(t+G>E&&(t=E-G),ae=t;ae>=0;ae--){for(var re=!0,et=0;et<G;et++)if(Q(r,ae+et)!==Q(e,et)){re=!1;break}if(re)return ae}return-1}function ot(r,e,t,n){t=Number(t)||0;var s=r.length-t;n?(n=Number(n))>s&&(n=s):n=s;var d=e.length;n>d/2&&(n=d/2);for(var E=0;E<n;++E){var G=parseInt(e.substr(2*E,2),16);if(at(G))return E;r[t+E]=G}return E}function ut(r,e,t,n){return Qe($e(e,r.length-t),r,t,n)}function Ke(r,e,t,n){return Qe(function(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 Qe(st(e),r,t,n)}function ft(r,e,t,n){return Qe(function(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 ht(r,e,t){return N.fromByteArray(0===e&&t===r.length?r:r.slice(e,t))}function Be(r,e,t){t=Math.min(r.length,t);for(var n=[],s=e;s<t;){var Q,ae,ke,re,d=r[s],E=null,G=d>239?4:d>223?3:d>191?2:1;if(s+G<=t)switch(G){case 1:d<128&&(E=d);break;case 2:128==(192&(Q=r[s+1]))&&(re=(31&d)<<6|63&Q)>127&&(E=re);break;case 3:ae=r[s+2],128==(192&(Q=r[s+1]))&&128==(192&ae)&&(re=(15&d)<<12|(63&Q)<<6|63&ae)>2047&&(re<55296||re>57343)&&(E=re);break;case 4:ae=r[s+2],ke=r[s+3],128==(192&(Q=r[s+1]))&&128==(192&ae)&&128==(192&ke)&&(re=(15&d)<<18|(63&Q)<<12|(63&ae)<<6|63&ke)>65535&&re<1114112&&(E=re)}null===E?(E=65533,G=1):E>65535&&(n.push((E-=65536)>>>10&1023|55296),E=56320|1023&E),n.push(E),s+=G}return function(r){var e=r.length;if(e<=4096)return String.fromCharCode.apply(String,r);for(var t="",n=0;n<e;)t+=String.fromCharCode.apply(String,r.slice(n,n+=4096));return t}(n)}function wt(r,e,t){var n="";t=Math.min(r.length,t);for(var s=e;s<t;++s)n+=String.fromCharCode(127&r[s]);return n}function Ze(r,e,t){var n="";t=Math.min(r.length,t);for(var s=e;s<t;++s)n+=String.fromCharCode(r[s]);return n}function pt(r,e,t){var n=r.length;(!e||e<0)&&(e=0),(!t||t<0||t>n)&&(t=n);for(var s="",d=e;d<t;++d)s+=kt[r[d]];return s}function it(r,e,t){for(var n=r.slice(e,t),s="",d=0;d<n.length-1;d+=2)s+=String.fromCharCode(n[d]+256*n[d+1]);return s}function Te(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,s,d){if(!l.isBuffer(r))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>s||e<d)throw new RangeError('"value" argument is out of bounds');if(t+n>r.length)throw new RangeError("Index out of range")}function Ge(r,e,t,n,s,d){if(t+n>r.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function dt(r,e,t,n,s){return e=+e,t>>>=0,s||Ge(r,0,t,4),Ce.write(r,e,t,n,23,4),t+4}function De(r,e,t,n,s){return e=+e,t>>>=0,s||Ge(r,0,t,8),Ce.write(r,e,t,n,52,8),t+8}me.kMaxLength=ie,!(l.TYPED_ARRAY_SUPPORT=function(){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(t){return!1}}())&&"undefined"!=typeof console&&"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 ue(r,e,t)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array),l.alloc=function(r,e,t){return function(r,e,t){return Ee(r),r<=0?L(r):void 0!==e?"string"==typeof t?L(r).fill(e,t):L(r).fill(e):L(r)}(r,e,t)},l.allocUnsafe=function(r){return le(r)},l.allocUnsafeSlow=function(r){return le(r)},l.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==l.prototype},l.compare=function(e,t){if(Le(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),Le(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,s=t.length,d=0,E=Math.min(n,s);d<E;++d)if(e[d]!==t[d]){n=e[d],s=t[d];break}return n<s?-1:s<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 s=l.allocUnsafe(t),d=0;for(n=0;n<e.length;++n){var E=e[n];if(Le(E,Uint8Array))d+E.length>s.length?l.from(E).copy(s,d):Uint8Array.prototype.set.call(s,E,d);else{if(!l.isBuffer(E))throw new TypeError('"list" argument must be an Array of Buffers');E.copy(s,d)}d+=E.length}return s},l.byteLength=ve,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)fe(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)fe(this,t,t+3),fe(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)fe(this,t,t+7),fe(this,t+1,t+6),fe(this,t+2,t+5),fe(this,t+3,t+4);return this},l.prototype.toLocaleString=l.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?Be(this,0,e):je.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=me.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"},Ae&&(l.prototype[Ae]=l.prototype.inspect),l.prototype.compare=function(e,t,n,s,d){if(Le(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===s&&(s=0),void 0===d&&(d=this.length),t<0||n>e.length||s<0||d>this.length)throw new RangeError("out of range index");if(s>=d&&t>=n)return 0;if(s>=d)return-1;if(t>=n)return 1;if(this===e)return 0;for(var E=(d>>>=0)-(s>>>=0),G=(n>>>=0)-(t>>>=0),Q=Math.min(E,G),ae=this.slice(s,d),ke=e.slice(t,n),re=0;re<Q;++re)if(ae[re]!==ke[re]){E=ae[re],G=ke[re];break}return E<G?-1:G<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 nt(this,e,t,n,!0)},l.prototype.lastIndexOf=function(e,t,n){return nt(this,e,t,n,!1)},l.prototype.write=function(e,t,n,s){if(void 0===t)s="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)s=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===s&&(s="utf8")):(s=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");s||(s="utf8");for(var E=!1;;)switch(s){case"hex":return ot(this,e,t,n);case"utf8":case"utf-8":return ut(this,e,t,n);case"ascii":case"latin1":case"binary":return Ke(this,e,t,n);case"base64":return lt(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ft(this,e,t,n);default:if(E)throw new TypeError("Unknown encoding: "+s);s=(""+s).toLowerCase(),E=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},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 s=this.subarray(e,t);return Object.setPrototypeOf(s,l.prototype),s},l.prototype.readUintLE=l.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||Te(e,t,this.length);for(var s=this[e],d=1,E=0;++E<t&&(d*=256);)s+=this[e+E]*d;return s},l.prototype.readUintBE=l.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||Te(e,t,this.length);for(var s=this[e+--t],d=1;t>0&&(d*=256);)s+=this[e+--t]*d;return s},l.prototype.readUint8=l.prototype.readUInt8=function(e,t){return e>>>=0,t||Te(e,1,this.length),this[e]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||Te(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||Te(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,t){return e>>>=0,t||Te(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||Te(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||Te(e,t,this.length);for(var s=this[e],d=1,E=0;++E<t&&(d*=256);)s+=this[e+E]*d;return s>=(d*=128)&&(s-=Math.pow(2,8*t)),s},l.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||Te(e,t,this.length);for(var s=t,d=1,E=this[e+--s];s>0&&(d*=256);)E+=this[e+--s]*d;return E>=(d*=128)&&(E-=Math.pow(2,8*t)),E},l.prototype.readInt8=function(e,t){return e>>>=0,t||Te(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||Te(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||Te(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||Te(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||Te(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||Te(e,4,this.length),Ce.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||Te(e,4,this.length),Ce.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||Te(e,8,this.length),Ce.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||Te(e,8,this.length),Ce.read(this,e,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,t,n,s){e=+e,t>>>=0,n>>>=0,s||Se(this,e,t,n,Math.pow(2,8*n)-1,0);var E=1,G=0;for(this[t]=255&e;++G<n&&(E*=256);)this[t+G]=e/E&255;return t+n},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(e,t,n,s){e=+e,t>>>=0,n>>>=0,s||Se(this,e,t,n,Math.pow(2,8*n)-1,0);var E=n-1,G=1;for(this[t+E]=255&e;--E>=0&&(G*=256);)this[t+E]=e/G&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,s){if(e=+e,t>>>=0,!s){var d=Math.pow(2,8*n-1);Se(this,e,t,n,d-1,-d)}var E=0,G=1,Q=0;for(this[t]=255&e;++E<n&&(G*=256);)e<0&&0===Q&&0!==this[t+E-1]&&(Q=1),this[t+E]=(e/G>>0)-Q&255;return t+n},l.prototype.writeIntBE=function(e,t,n,s){if(e=+e,t>>>=0,!s){var d=Math.pow(2,8*n-1);Se(this,e,t,n,d-1,-d)}var E=n-1,G=1,Q=0;for(this[t+E]=255&e;--E>=0&&(G*=256);)e<0&&0===Q&&0!==this[t+E+1]&&(Q=1),this[t+E]=(e/G>>0)-Q&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 dt(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return dt(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return De(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return De(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,s){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!s&&0!==s&&(s=this.length),t>=e.length&&(t=e.length),t||(t=0),s>0&&s<n&&(s=n),s===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(s<0)throw new RangeError("sourceEnd out of bounds");s>this.length&&(s=this.length),e.length-t<s-n&&(s=e.length-t+n);var d=s-n;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,s):Uint8Array.prototype.set.call(e,this.subarray(n,s),t),d},l.prototype.fill=function(e,t,n,s){if("string"==typeof e){if("string"==typeof t?(s=t,t=0,n=this.length):"string"==typeof n&&(s=n,n=this.length),void 0!==s&&"string"!=typeof s)throw new TypeError("encoding must be a string");if("string"==typeof s&&!l.isEncoding(s))throw new TypeError("Unknown encoding: "+s);if(1===e.length){var d=e.charCodeAt(0);("utf8"===s&&d<128||"latin1"===s)&&(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 G=l.isBuffer(e)?e:l.from(e,s),Q=G.length;if(0===Q)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(E=0;E<n-t;++E)this[E+t]=G[E%Q]}return this};var yt=/[^+/0-9A-Za-z-_]/g;function $e(r,e){e=e||1/0;for(var t,n=r.length,s=null,d=[],E=0;E<n;++E){if((t=r.charCodeAt(E))>55295&&t<57344){if(!s){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}s=t;continue}if(t<56320){(e-=3)>-1&&d.push(239,191,189),s=t;continue}t=65536+(s-55296<<10|t-56320)}else s&&(e-=3)>-1&&d.push(239,191,189);if(s=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 st(r){return N.toByteArray(function(r){if((r=(r=r.split("=")[0]).trim().replace(yt,"")).length<2)return"";for(;r.length%4!=0;)r+="=";return r}(r))}function Qe(r,e,t,n){for(var s=0;s<n&&!(s+t>=e.length||s>=r.length);++s)e[s+t]=r[s];return s}function Le(r,e){return r instanceof e||null!=r&&null!=r.constructor&&null!=r.constructor.name&&r.constructor.name===e.name}function at(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,s=0;s<16;++s)e[n+s]=r[t]+r[s];return e}()},8461:(qe,me)=>{me.read=function(K,N,Ce,Ae,ie){var ye,L,l=8*ie-Ae-1,ue=(1<<l)-1,Ee=ue>>1,ce=-7,le=Ce?ie-1:0,Pe=Ce?-1:1,g=K[N+le];for(le+=Pe,ye=g&(1<<-ce)-1,g>>=-ce,ce+=l;ce>0;ye=256*ye+K[N+le],le+=Pe,ce-=8);for(L=ye&(1<<-ce)-1,ye>>=-ce,ce+=Ae;ce>0;L=256*L+K[N+le],le+=Pe,ce-=8);if(0===ye)ye=1-Ee;else{if(ye===ue)return L?NaN:1/0*(g?-1:1);L+=Math.pow(2,Ae),ye-=Ee}return(g?-1:1)*L*Math.pow(2,ye-Ae)},me.write=function(K,N,Ce,Ae,ie,ye){var L,l,ue,Ee=8*ye-ie-1,ce=(1<<Ee)-1,le=ce>>1,Pe=23===ie?Math.pow(2,-24)-Math.pow(2,-77):0,g=Ae?0:ye-1,Z=Ae?1:-1,q=N<0||0===N&&1/N<0?1:0;for(N=Math.abs(N),isNaN(N)||N===1/0?(l=isNaN(N)?1:0,L=ce):(L=Math.floor(Math.log(N)/Math.LN2),N*(ue=Math.pow(2,-L))<1&&(L--,ue*=2),(N+=L+le>=1?Pe/ue:Pe*Math.pow(2,1-le))*ue>=2&&(L++,ue/=2),L+le>=ce?(l=0,L=ce):L+le>=1?(l=(N*ue-1)*Math.pow(2,ie),L+=le):(l=N*Math.pow(2,le-1)*Math.pow(2,ie),L=0));ie>=8;K[Ce+g]=255&l,g+=Z,l/=256,ie-=8);for(L=L<<ie|l,Ee+=ie;Ee>0;K[Ce+g]=255&L,g+=Z,L/=256,Ee-=8);K[Ce+g-Z]|=128*q}},8583:()=>{"use strict";!function(o){const a=o.performance;function h(X){a&&a.mark&&a.mark(X)}function c(X,x){a&&a.measure&&a.measure(X,x)}h("Zone");const p=o.__Zone_symbol_prefix||"__zone_symbol__";function _(X){return p+X}const T=!0===o[_("forceDuplicateZoneCheck")];if(o.Zone){if(T||"function"!=typeof o.Zone.__symbol__)throw new Error("Zone already loaded.");return o.Zone}let k=(()=>{class X{constructor(i,u){this._parent=i,this._name=u?u.name||"unnamed":"<root>",this._properties=u&&u.properties||{},this._zoneDelegate=new I(this,this._parent&&this._parent._zoneDelegate,u)}static assertZonePatched(){if(o.Promise!==Fe.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 oe.zone}static get currentTask(){return Me}static __load_patch(i,u,R=!1){if(Fe.hasOwnProperty(i)){if(!R&&T)throw Error("Already loaded patch: "+i)}else if(!o["__Zone_disable_"+i]){const B="Zone:"+i;h(B),Fe[i]=u(o,X,ze),c(B,B)}}get parent(){return this._parent}get name(){return this._name}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 R=this._zoneDelegate.intercept(this,i,u),B=this;return function(){return B.runGuarded(R,this,arguments,u)}}run(i,u,R,B){oe={parent:oe,zone:this};try{return this._zoneDelegate.invoke(this,i,u,R,B)}finally{oe=oe.parent}}runGuarded(i,u=null,R,B){oe={parent:oe,zone:this};try{try{return this._zoneDelegate.invoke(this,i,u,R,B)}catch(Re){if(this._zoneDelegate.handleError(this,Re))throw Re}}finally{oe=oe.parent}}runTask(i,u,R){if(i.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(i.zone||se).name+"; Execution: "+this.name+")");if(i.state===ee&&(i.type===M||i.type===$))return;const B=i.state!=xe;B&&i._transitionTo(xe,z),i.runCount++;const Re=Me;Me=i,oe={parent:oe,zone:this};try{i.type==$&&i.data&&!i.data.isPeriodic&&(i.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,i,u,R)}catch(m){if(this._zoneDelegate.handleError(this,m))throw m}}finally{i.state!==ee&&i.state!==be&&(i.type==M||i.data&&i.data.isPeriodic?B&&i._transitionTo(z,xe):(i.runCount=0,this._updateTaskCount(i,-1),B&&i._transitionTo(ee,xe,ee))),oe=oe.parent,Me=Re}}scheduleTask(i){if(i.zone&&i.zone!==this){let R=this;for(;R;){if(R===i.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${i.zone.name}`);R=R.parent}}i._transitionTo(we,ee);const u=[];i._zoneDelegates=u,i._zone=this;try{i=this._zoneDelegate.scheduleTask(this,i)}catch(R){throw i._transitionTo(be,we,ee),this._zoneDelegate.handleError(this,R),R}return i._zoneDelegates===u&&this._updateTaskCount(i,1),i.state==we&&i._transitionTo(z,we),i}scheduleMicroTask(i,u,R,B){return this.scheduleTask(new b(D,i,u,R,B,void 0))}scheduleMacroTask(i,u,R,B,Re){return this.scheduleTask(new b($,i,u,R,B,Re))}scheduleEventTask(i,u,R,B,Re){return this.scheduleTask(new b(M,i,u,R,B,Re))}cancelTask(i){if(i.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(i.zone||se).name+"; Execution: "+this.name+")");i._transitionTo(J,z,xe);try{this._zoneDelegate.cancelTask(this,i)}catch(u){throw i._transitionTo(be,J),this._zoneDelegate.handleError(this,u),u}return this._updateTaskCount(i,-1),i._transitionTo(ee,J),i.runCount=0,i}_updateTaskCount(i,u){const R=i._zoneDelegates;-1==u&&(i._zoneDelegates=null);for(let B=0;B<R.length;B++)R[B]._updateTaskCount(i.type,u)}}return X.__symbol__=_,X})();const A={name:"",onHasTask:(X,x,i,u)=>X.hasTask(i,u),onScheduleTask:(X,x,i,u)=>X.scheduleTask(i,u),onInvokeTask:(X,x,i,u,R,B)=>X.invokeTask(i,u,R,B),onCancelTask:(X,x,i,u)=>X.cancelTask(i,u)};class I{constructor(x,i,u){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=x,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 R=u&&u.onHasTask;(R||i&&i._hasTaskZS)&&(this._hasTaskZS=R?u:A,this._hasTaskDlgt=i,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=x,u.onScheduleTask||(this._scheduleTaskZS=A,this._scheduleTaskDlgt=i,this._scheduleTaskCurrZone=this.zone),u.onInvokeTask||(this._invokeTaskZS=A,this._invokeTaskDlgt=i,this._invokeTaskCurrZone=this.zone),u.onCancelTask||(this._cancelTaskZS=A,this._cancelTaskDlgt=i,this._cancelTaskCurrZone=this.zone))}fork(x,i){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,x,i):new k(x,i)}intercept(x,i,u){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,x,i,u):i}invoke(x,i,u,R,B){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,x,i,u,R,B):i.apply(u,R)}handleError(x,i){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,x,i)}scheduleTask(x,i){let u=i;if(this._scheduleTaskZS)this._hasTaskZS&&u._zoneDelegates.push(this._hasTaskDlgtOwner),u=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,x,i),u||(u=i);else if(i.scheduleFn)i.scheduleFn(i);else{if(i.type!=D)throw new Error("Task is missing scheduleFn.");v(i)}return u}invokeTask(x,i,u,R){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,x,i,u,R):i.callback.apply(u,R)}cancelTask(x,i){let u;if(this._cancelTaskZS)u=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,x,i);else{if(!i.cancelFn)throw Error("Task is not cancelable");u=i.cancelFn(i)}return u}hasTask(x,i){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,x,i)}catch(u){this.handleError(x,u)}}_updateTaskCount(x,i){const u=this._taskCounts,R=u[x],B=u[x]=R+i;if(B<0)throw new Error("More tasks executed then were scheduled.");0!=R&&0!=B||this.hasTask(this.zone,{microTask:u.microTask>0,macroTask:u.macroTask>0,eventTask:u.eventTask>0,change:x})}}class b{constructor(x,i,u,R,B,Re){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=x,this.source=i,this.data=R,this.scheduleFn=B,this.cancelFn=Re,!u)throw new Error("callback is not defined");this.callback=u;const m=this;this.invoke=x===M&&R&&R.useG?b.invokeTask:function(){return b.invokeTask.call(o,m,this,arguments)}}static invokeTask(x,i,u){x||(x=this),Ue++;try{return x.runCount++,x.zone.runTask(x,i,u)}finally{1==Ue&&Y(),Ue--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(ee,we)}_transitionTo(x,i,u){if(this._state!==i&&this._state!==u)throw new Error(`${this.type} '${this.source}': can not transition to '${x}', expecting state '${i}'${u?" or '"+u+"'":""}, was '${this._state}'.`);this._state=x,x==ee&&(this._zoneDelegates=null)}toString(){return this.data&&void 0!==this.data.handleId?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 V=_("setTimeout"),H=_("Promise"),W=_("then");let C,he=[],ne=!1;function v(X){if(0===Ue&&0===he.length)if(C||o[H]&&(C=o[H].resolve(0)),C){let x=C[W];x||(x=C.then),x.call(C,Y)}else o[V](Y,0);X&&he.push(X)}function Y(){if(!ne){for(ne=!0;he.length;){const X=he;he=[];for(let x=0;x<X.length;x++){const i=X[x];try{i.zone.runTask(i,null,null)}catch(u){ze.onUnhandledError(u)}}}ze.microtaskDrainDone(),ne=!1}}const se={name:"NO ZONE"},ee="notScheduled",we="scheduling",z="scheduled",xe="running",J="canceling",be="unknown",D="microTask",$="macroTask",M="eventTask",Fe={},ze={symbol:_,currentZoneFrame:()=>oe,onUnhandledError:pe,microtaskDrainDone:pe,scheduleMicroTask:v,showUncaughtError:()=>!k[_("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:pe,patchMethod:()=>pe,bindArguments:()=>[],patchThen:()=>pe,patchMacroTask:()=>pe,patchEventPrototype:()=>pe,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>pe,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>pe,wrapWithCurrentZone:()=>pe,filterProperties:()=>[],attachOriginToPatched:()=>pe,_redefineProperty:()=>pe,patchCallbacks:()=>pe};let oe={parent:null,zone:new k(null,null)},Me=null,Ue=0;function pe(){}c("Zone","Zone"),o.Zone=k}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);const me=Object.getOwnPropertyDescriptor,K=Object.defineProperty,N=Object.getPrototypeOf,Ce=Object.create,Ae=Array.prototype.slice,ie="addEventListener",ye="removeEventListener",L=Zone.__symbol__(ie),l=Zone.__symbol__(ye),ue="true",Ee="false",ce=Zone.__symbol__("");function le(o,a){return Zone.current.wrap(o,a)}function Pe(o,a,h,c,p){return Zone.current.scheduleMacroTask(o,a,h,c,p)}const g=Zone.__symbol__,Z="undefined"!=typeof window,q=Z?window:void 0,j=Z&&q||"object"==typeof self&&self||global,_e=[null];function ve(o,a){for(let h=o.length-1;h>=0;h--)"function"==typeof o[h]&&(o[h]=le(o[h],a+"_"+h));return o}function fe(o){return!o||!1!==o.writable&&!("function"==typeof o.get&&void 0===o.set)}const nt="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,Ye=!("nw"in j)&&void 0!==j.process&&"[object process]"==={}.toString.call(j.process),ot=!Ye&&!nt&&!(!Z||!q.HTMLElement),ut=void 0!==j.process&&"[object process]"==={}.toString.call(j.process)&&!nt&&!(!Z||!q.HTMLElement),Ke={},lt=function(o){if(!(o=o||j.event))return;let a=Ke[o.type];a||(a=Ke[o.type]=g("ON_PROPERTY"+o.type));const h=this||o.target||j,c=h[a];let p;if(ot&&h===q&&"error"===o.type){const _=o;p=c&&c.call(this,_.message,_.filename,_.lineno,_.colno,_.error),!0===p&&o.preventDefault()}else p=c&&c.apply(this,arguments),null!=p&&!p&&o.preventDefault();return p};function ft(o,a,h){let c=me(o,a);if(!c&&h&&me(h,a)&&(c={enumerable:!0,configurable:!0}),!c||!c.configurable)return;const p=g("on"+a+"patched");if(o.hasOwnProperty(p)&&o[p])return;delete c.writable,delete c.value;const _=c.get,T=c.set,k=a.substr(2);let A=Ke[k];A||(A=Ke[k]=g("ON_PROPERTY"+k)),c.set=function(I){let b=this;!b&&o===j&&(b=j),b&&(b[A]&&b.removeEventListener(k,lt),T&&T.apply(b,_e),"function"==typeof I?(b[A]=I,b.addEventListener(k,lt,!1)):b[A]=null)},c.get=function(){let I=this;if(!I&&o===j&&(I=j),!I)return null;const b=I[A];if(b)return b;if(_){let V=_&&_.call(this);if(V)return c.set.call(this,V),"function"==typeof I.removeAttribute&&I.removeAttribute(a),V}return null},K(o,a,c),o[p]=!0}function ht(o,a,h){if(a)for(let c=0;c<a.length;c++)ft(o,"on"+a[c],h);else{const c=[];for(const p in o)"on"==p.substr(0,2)&&c.push(p);for(let p=0;p<c.length;p++)ft(o,c[p],h)}}const Be=g("originalInstance");function We(o){const a=j[o];if(!a)return;j[g(o)]=a,j[o]=function(){const p=ve(arguments,o);switch(p.length){case 0:this[Be]=new a;break;case 1:this[Be]=new a(p[0]);break;case 2:this[Be]=new a(p[0],p[1]);break;case 3:this[Be]=new a(p[0],p[1],p[2]);break;case 4:this[Be]=new a(p[0],p[1],p[2],p[3]);break;default:throw new Error("Arg list too long.")}},Ze(j[o],a);const h=new a(function(){});let c;for(c in h)"XMLHttpRequest"===o&&"responseBlob"===c||function(p){"function"==typeof h[p]?j[o].prototype[p]=function(){return this[Be][p].apply(this[Be],arguments)}:K(j[o].prototype,p,{set:function(_){"function"==typeof _?(this[Be][p]=le(_,o+"."+p),Ze(this[Be][p],_)):this[Be][p]=_},get:function(){return this[Be][p]}})}(c);for(c in a)"prototype"!==c&&a.hasOwnProperty(c)&&(j[o][c]=a[c])}function Oe(o,a,h){let c=o;for(;c&&!c.hasOwnProperty(a);)c=N(c);!c&&o[a]&&(c=o);const p=g(a);let _=null;if(c&&(!(_=c[p])||!c.hasOwnProperty(p))&&(_=c[p]=c[a],fe(c&&me(c,a)))){const k=h(_,p,a);c[a]=function(){return k(this,arguments)},Ze(c[a],_)}return _}function wt(o,a,h){let c=null;function p(_){const T=_.data;return T.args[T.cbIdx]=function(){_.invoke.apply(this,arguments)},c.apply(T.target,T.args),_}c=Oe(o,a,_=>function(T,k){const A=h(T,k);return A.cbIdx>=0&&"function"==typeof k[A.cbIdx]?Pe(A.name,k[A.cbIdx],A,p):_.apply(T,k)})}function Ze(o,a){o[g("OriginalDelegate")]=a}let pt=!1,it=!1;function Se(){if(pt)return it;pt=!0;try{const o=q.navigator.userAgent;(-1!==o.indexOf("MSIE ")||-1!==o.indexOf("Trident/")||-1!==o.indexOf("Edge/"))&&(it=!0)}catch(o){}return it}Zone.__load_patch("ZoneAwarePromise",(o,a,h)=>{const c=Object.getOwnPropertyDescriptor,p=Object.defineProperty,T=h.symbol,k=[],A=!0===o[T("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],I=T("Promise"),b=T("then");h.onUnhandledError=m=>{if(h.showUncaughtError()){const f=m&&m.rejection;f?console.error("Unhandled Promise rejection:",f instanceof Error?f.message:f,"; Zone:",m.zone.name,"; Task:",m.task&&m.task.source,"; Value:",f,f instanceof Error?f.stack:void 0):console.error(m)}},h.microtaskDrainDone=()=>{for(;k.length;){const m=k.shift();try{m.zone.runGuarded(()=>{throw m.throwOriginal?m.rejection:m})}catch(f){W(f)}}};const H=T("unhandledPromiseRejectionHandler");function W(m){h.onUnhandledError(m);try{const f=a[H];"function"==typeof f&&f.call(this,m)}catch(f){}}function he(m){return m&&m.then}function ne(m){return m}function C(m){return i.reject(m)}const v=T("state"),Y=T("value"),se=T("finally"),ee=T("parentPromiseValue"),we=T("parentPromiseState"),xe=null,J=!0,be=!1;function $(m,f){return y=>{try{oe(m,f,y)}catch(w){oe(m,!1,w)}}}const ze=T("currentTaskTrace");function oe(m,f,y){const w=function(){let m=!1;return function(y){return function(){m||(m=!0,y.apply(null,arguments))}}}();if(m===y)throw new TypeError("Promise resolved with itself");if(m[v]===xe){let P=null;try{("object"==typeof y||"function"==typeof y)&&(P=y&&y.then)}catch(O){return w(()=>{oe(m,!1,O)})(),m}if(f!==be&&y instanceof i&&y.hasOwnProperty(v)&&y.hasOwnProperty(Y)&&y[v]!==xe)Ue(y),oe(m,y[v],y[Y]);else if(f!==be&&"function"==typeof P)try{P.call(y,w($(m,f)),w($(m,!1)))}catch(O){w(()=>{oe(m,!1,O)})()}else{m[v]=f;const O=m[Y];if(m[Y]=y,m[se]===se&&f===J&&(m[v]=m[we],m[Y]=m[ee]),f===be&&y instanceof Error){const S=a.currentTask&&a.currentTask.data&&a.currentTask.data.__creationTrace__;S&&p(y,ze,{configurable:!0,enumerable:!1,writable:!0,value:S})}for(let S=0;S<O.length;)pe(m,O[S++],O[S++],O[S++],O[S++]);if(0==O.length&&f==be){m[v]=0;let S=y;try{throw new Error("Uncaught (in promise): "+function(m){return m&&m.toString===Object.prototype.toString?(m.constructor&&m.constructor.name||"")+": "+JSON.stringify(m):m?m.toString():Object.prototype.toString.call(m)}(y)+(y&&y.stack?"\n"+y.stack:""))}catch(F){S=F}A&&(S.throwOriginal=!0),S.rejection=y,S.promise=m,S.zone=a.current,S.task=a.currentTask,k.push(S),h.scheduleMicroTask()}}}return m}const Me=T("rejectionHandledHandler");function Ue(m){if(0===m[v]){try{const f=a[Me];f&&"function"==typeof f&&f.call(this,{rejection:m[Y],promise:m})}catch(f){}m[v]=be;for(let f=0;f<k.length;f++)m===k[f].promise&&k.splice(f,1)}}function pe(m,f,y,w,P){Ue(m);const O=m[v],S=O?"function"==typeof w?w:ne:"function"==typeof P?P:C;f.scheduleMicroTask("Promise.then",()=>{try{const F=m[Y],U=!!y&&se===y[se];U&&(y[ee]=F,y[we]=O);const te=f.run(S,void 0,U&&S!==C&&S!==ne?[]:[F]);oe(y,!0,te)}catch(F){oe(y,!1,F)}},y)}const x=function(){};class i{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(f){return oe(new this(null),J,f)}static reject(f){return oe(new this(null),be,f)}static race(f){let y,w,P=new this((F,U)=>{y=F,w=U});function O(F){y(F)}function S(F){w(F)}for(let F of f)he(F)||(F=this.resolve(F)),F.then(O,S);return P}static all(f){return i.allWithCallback(f)}static allSettled(f){return(this&&this.prototype instanceof i?this:i).allWithCallback(f,{thenCallback:w=>({status:"fulfilled",value:w}),errorCallback:w=>({status:"rejected",reason:w})})}static allWithCallback(f,y){let w,P,O=new this((te,de)=>{w=te,P=de}),S=2,F=0;const U=[];for(let te of f){he(te)||(te=this.resolve(te));const de=F;try{te.then(Ne=>{U[de]=y?y.thenCallback(Ne):Ne,S--,0===S&&w(U)},Ne=>{y?(U[de]=y.errorCallback(Ne),S--,0===S&&w(U)):P(Ne)})}catch(Ne){P(Ne)}S++,F++}return S-=2,0===S&&w(U),O}constructor(f){const y=this;if(!(y instanceof i))throw new Error("Must be an instanceof Promise.");y[v]=xe,y[Y]=[];try{f&&f($(y,J),$(y,be))}catch(w){oe(y,!1,w)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return i}then(f,y){let w=this.constructor[Symbol.species];(!w||"function"!=typeof w)&&(w=this.constructor||i);const P=new w(x),O=a.current;return this[v]==xe?this[Y].push(O,P,f,y):pe(this,O,P,f,y),P}catch(f){return this.then(null,f)}finally(f){let y=this.constructor[Symbol.species];(!y||"function"!=typeof y)&&(y=i);const w=new y(x);w[se]=se;const P=a.current;return this[v]==xe?this[Y].push(P,w,f,f):pe(this,P,w,f,f),w}}i.resolve=i.resolve,i.reject=i.reject,i.race=i.race,i.all=i.all;const u=o[I]=o.Promise;o.Promise=i;const R=T("thenPatched");function B(m){const f=m.prototype,y=c(f,"then");if(y&&(!1===y.writable||!y.configurable))return;const w=f.then;f[b]=w,m.prototype.then=function(P,O){return new i((F,U)=>{w.call(this,F,U)}).then(P,O)},m[R]=!0}return h.patchThen=B,u&&(B(u),Oe(o,"fetch",m=>function(m){return function(f,y){let w=m.apply(f,y);if(w instanceof i)return w;let P=w.constructor;return P[R]||B(P),w}}(m))),Promise[a.__symbol__("uncaughtPromiseErrors")]=k,i}),Zone.__load_patch("toString",o=>{const a=Function.prototype.toString,h=g("OriginalDelegate"),c=g("Promise"),p=g("Error"),_=function(){if("function"==typeof this){const I=this[h];if(I)return"function"==typeof I?a.call(I):Object.prototype.toString.call(I);if(this===Promise){const b=o[c];if(b)return a.call(b)}if(this===Error){const b=o[p];if(b)return a.call(b)}}return a.call(this)};_[h]=a,Function.prototype.toString=_;const T=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":T.call(this)}});let Ge=!1;if("undefined"!=typeof window)try{const o=Object.defineProperty({},"passive",{get:function(){Ge=!0}});window.addEventListener("test",o,o),window.removeEventListener("test",o,o)}catch(o){Ge=!1}const dt={useG:!0},De={},yt={},Et=new RegExp("^"+ce+"(\\w+)(true|false)$"),$e=g("propagationStopped");function mt(o,a){const h=(a?a(o):o)+Ee,c=(a?a(o):o)+ue,p=ce+h,_=ce+c;De[o]={},De[o][Ee]=p,De[o][ue]=_}function vt(o,a,h){const c=h&&h.add||ie,p=h&&h.rm||ye,_=h&&h.listeners||"eventListeners",T=h&&h.rmAll||"removeAllListeners",k=g(c),A="."+c+":",V=function(C,v,Y){if(C.isRemoved)return;const se=C.callback;"object"==typeof se&&se.handleEvent&&(C.callback=we=>se.handleEvent(we),C.originalDelegate=se),C.invoke(C,v,[Y]);const ee=C.options;ee&&"object"==typeof ee&&ee.once&&v[p].call(v,Y.type,C.originalDelegate?C.originalDelegate:C.callback,ee)},H=function(C){if(!(C=C||o.event))return;const v=this||C.target||o,Y=v[De[C.type][Ee]];if(Y)if(1===Y.length)V(Y[0],v,C);else{const se=Y.slice();for(let ee=0;ee<se.length&&(!C||!0!==C[$e]);ee++)V(se[ee],v,C)}},W=function(C){if(!(C=C||o.event))return;const v=this||C.target||o,Y=v[De[C.type][ue]];if(Y)if(1===Y.length)V(Y[0],v,C);else{const se=Y.slice();for(let ee=0;ee<se.length&&(!C||!0!==C[$e]);ee++)V(se[ee],v,C)}};function he(C,v){if(!C)return!1;let Y=!0;v&&void 0!==v.useG&&(Y=v.useG);const se=v&&v.vh;let ee=!0;v&&void 0!==v.chkDup&&(ee=v.chkDup);let we=!1;v&&void 0!==v.rt&&(we=v.rt);let z=C;for(;z&&!z.hasOwnProperty(c);)z=N(z);if(!z&&C[c]&&(z=C),!z||z[k])return!1;const xe=v&&v.eventNameToString,J={},be=z[k]=z[c],D=z[g(p)]=z[p],$=z[g(_)]=z[_],M=z[g(T)]=z[T];let Fe;function ze(f,y){return!Ge&&"object"==typeof f&&f?!!f.capture:Ge&&y?"boolean"==typeof f?{capture:f,passive:!0}:f?"object"==typeof f&&!1!==f.passive?Object.assign(Object.assign({},f),{passive:!0}):f:{passive:!0}:f}v&&v.prepend&&(Fe=z[g(v.prepend)]=z[v.prepend]);const x=Y?function(f){if(!J.isExisting)return be.call(J.target,J.eventName,J.capture?W:H,J.options)}:function(f){return be.call(J.target,J.eventName,f.invoke,J.options)},i=Y?function(f){if(!f.isRemoved){const y=De[f.eventName];let w;y&&(w=y[f.capture?ue:Ee]);const P=w&&f.target[w];if(P)for(let O=0;O<P.length;O++)if(P[O]===f){P.splice(O,1),f.isRemoved=!0,0===P.length&&(f.allRemoved=!0,f.target[w]=null);break}}if(f.allRemoved)return D.call(f.target,f.eventName,f.capture?W:H,f.options)}:function(f){return D.call(f.target,f.eventName,f.invoke,f.options)},R=v&&v.diff?v.diff:function(f,y){const w=typeof y;return"function"===w&&f.callback===y||"object"===w&&f.originalDelegate===y},B=Zone[g("UNPATCHED_EVENTS")],Re=o[g("PASSIVE_EVENTS")],m=function(f,y,w,P,O=!1,S=!1){return function(){const F=this||o;let U=arguments[0];v&&v.transferEventName&&(U=v.transferEventName(U));let te=arguments[1];if(!te)return f.apply(this,arguments);if(Ye&&"uncaughtException"===U)return f.apply(this,arguments);let de=!1;if("function"!=typeof te){if(!te.handleEvent)return f.apply(this,arguments);de=!0}if(se&&!se(f,te,F,arguments))return;const Ne=Ge&&!!Re&&-1!==Re.indexOf(U),He=ze(arguments[2],Ne);if(B)for(let Je=0;Je<B.length;Je++)if(U===B[Je])return Ne?f.call(F,U,te,He):f.apply(this,arguments);const xt=!!He&&("boolean"==typeof He||He.capture),It=!(!He||"object"!=typeof He)&&He.once,Lt=Zone.current;let bt=De[U];bt||(mt(U,xe),bt=De[U]);const Rt=bt[xt?ue:Ee];let Tt,rt=F[Rt],At=!1;if(rt){if(At=!0,ee)for(let Je=0;Je<rt.length;Je++)if(R(rt[Je],te))return}else rt=F[Rt]=[];const St=F.constructor.name,Dt=yt[St];Dt&&(Tt=Dt[U]),Tt||(Tt=St+y+(xe?xe(U):U)),J.options=He,It&&(J.options.once=!1),J.target=F,J.capture=xt,J.eventName=U,J.isExisting=At;const ct=Y?dt:void 0;ct&&(ct.taskData=J);const Xe=Lt.scheduleEventTask(Tt,te,ct,w,P);return J.target=null,ct&&(ct.taskData=null),It&&(He.once=!0),!Ge&&"boolean"==typeof Xe.options||(Xe.options=He),Xe.target=F,Xe.capture=xt,Xe.eventName=U,de&&(Xe.originalDelegate=te),S?rt.unshift(Xe):rt.push(Xe),O?F:void 0}};return z[c]=m(be,A,x,i,we),Fe&&(z.prependListener=m(Fe,".prependListener:",function(f){return Fe.call(J.target,J.eventName,f.invoke,J.options)},i,we,!0)),z[p]=function(){const f=this||o;let y=arguments[0];v&&v.transferEventName&&(y=v.transferEventName(y));const w=arguments[2],P=!!w&&("boolean"==typeof w||w.capture),O=arguments[1];if(!O)return D.apply(this,arguments);if(se&&!se(D,O,f,arguments))return;const S=De[y];let F;S&&(F=S[P?ue:Ee]);const U=F&&f[F];if(U)for(let te=0;te<U.length;te++){const de=U[te];if(R(de,O))return U.splice(te,1),de.isRemoved=!0,0===U.length&&(de.allRemoved=!0,f[F]=null,"string"==typeof y)&&(f[ce+"ON_PROPERTY"+y]=null),de.zone.cancelTask(de),we?f:void 0}return D.apply(this,arguments)},z[_]=function(){const f=this||o;let y=arguments[0];v&&v.transferEventName&&(y=v.transferEventName(y));const w=[],P=st(f,xe?xe(y):y);for(let O=0;O<P.length;O++){const S=P[O];w.push(S.originalDelegate?S.originalDelegate:S.callback)}return w},z[T]=function(){const f=this||o;let y=arguments[0];if(y){v&&v.transferEventName&&(y=v.transferEventName(y));const w=De[y];if(w){const S=f[w[Ee]],F=f[w[ue]];if(S){const U=S.slice();for(let te=0;te<U.length;te++){const de=U[te];this[p].call(this,y,de.originalDelegate?de.originalDelegate:de.callback,de.options)}}if(F){const U=F.slice();for(let te=0;te<U.length;te++){const de=U[te];this[p].call(this,y,de.originalDelegate?de.originalDelegate:de.callback,de.options)}}}}else{const w=Object.keys(f);for(let P=0;P<w.length;P++){const S=Et.exec(w[P]);let F=S&&S[1];F&&"removeListener"!==F&&this[T].call(this,F)}this[T].call(this,"removeListener")}if(we)return this},Ze(z[c],be),Ze(z[p],D),M&&Ze(z[T],M),$&&Ze(z[_],$),!0}let ne=[];for(let C=0;C<a.length;C++)ne[C]=he(a[C],h);return ne}function st(o,a){if(!a){const _=[];for(let T in o){const k=Et.exec(T);let A=k&&k[1];if(A&&(!a||A===a)){const I=o[T];if(I)for(let b=0;b<I.length;b++)_.push(I[b])}}return _}let h=De[a];h||(mt(a),h=De[a]);const c=o[h[Ee]],p=o[h[ue]];return c?p?c.concat(p):c.slice():p?p.slice():[]}function Qe(o,a){const h=o.Event;h&&h.prototype&&a.patchMethod(h.prototype,"stopImmediatePropagation",c=>function(p,_){p[$e]=!0,c&&c.apply(p,_)})}function Le(o,a,h,c,p){const _=Zone.__symbol__(c);if(a[_])return;const T=a[_]=a[c];a[c]=function(k,A,I){return A&&A.prototype&&p.forEach(function(b){const V=`${h}.${c}::`+b,H=A.prototype;if(H.hasOwnProperty(b)){const W=o.ObjectGetOwnPropertyDescriptor(H,b);W&&W.value?(W.value=o.wrapWithCurrentZone(W.value,V),o._redefineProperty(A.prototype,b,W)):H[b]&&(H[b]=o.wrapWithCurrentZone(H[b],V))}else H[b]&&(H[b]=o.wrapWithCurrentZone(H[b],V))}),T.call(a,k,A,I)},o.attachOriginToPatched(a[c],T)}const r=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],t=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],G=["load"],Q=["blur","error","focus","load","resize","scroll","messageerror"],ae=["bounce","finish","start"],ke=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],re=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],et=["close","error","open","message"],_t=["error","message"],Ve=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],r,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function Ct(o,a,h){if(!h||0===h.length)return a;const c=h.filter(_=>_.target===o);if(!c||0===c.length)return a;const p=c[0].ignoreProperties;return a.filter(_=>-1===p.indexOf(_))}function ge(o,a,h,c){o&&ht(o,Ct(o,a,h),c)}Zone.__load_patch("util",(o,a,h)=>{h.patchOnProperties=ht,h.patchMethod=Oe,h.bindArguments=ve,h.patchMacroTask=wt;const c=a.__symbol__("BLACK_LISTED_EVENTS"),p=a.__symbol__("UNPATCHED_EVENTS");o[p]&&(o[c]=o[p]),o[c]&&(a[c]=a[p]=o[c]),h.patchEventPrototype=Qe,h.patchEventTarget=vt,h.isIEOrEdge=Se,h.ObjectDefineProperty=K,h.ObjectGetOwnPropertyDescriptor=me,h.ObjectCreate=Ce,h.ArraySlice=Ae,h.patchClass=We,h.wrapWithCurrentZone=le,h.filterProperties=Ct,h.attachOriginToPatched=Ze,h._redefineProperty=Object.defineProperty,h.patchCallbacks=Le,h.getGlobalObjects=()=>({globalSources:yt,zoneSymbolEventNames:De,eventNames:Ve,isBrowser:ot,isMix:ut,isNode:Ye,TRUE_STR:ue,FALSE_STR:Ee,ZONE_SYMBOL_PREFIX:ce,ADD_EVENT_LISTENER_STR:ie,REMOVE_EVENT_LISTENER_STR:ye})});const gt=g("zoneTask");function tt(o,a,h,c){let p=null,_=null;h+=c;const T={};function k(I){const b=I.data;return b.args[0]=function(){return I.invoke.apply(this,arguments)},b.handleId=p.apply(o,b.args),I}function A(I){return _.call(o,I.data.handleId)}p=Oe(o,a+=c,I=>function(b,V){if("function"==typeof V[0]){const H={isPeriodic:"Interval"===c,delay:"Timeout"===c||"Interval"===c?V[1]||0:void 0,args:V},W=V[0];V[0]=function(){try{return W.apply(this,arguments)}finally{H.isPeriodic||("number"==typeof H.handleId?delete T[H.handleId]:H.handleId&&(H.handleId[gt]=null))}};const he=Pe(a,V[0],H,k,A);if(!he)return he;const ne=he.data.handleId;return"number"==typeof ne?T[ne]=he:ne&&(ne[gt]=he),ne&&ne.ref&&ne.unref&&"function"==typeof ne.ref&&"function"==typeof ne.unref&&(he.ref=ne.ref.bind(ne),he.unref=ne.unref.bind(ne)),"number"==typeof ne||ne?ne:he}return I.apply(o,V)}),_=Oe(o,h,I=>function(b,V){const H=V[0];let W;"number"==typeof H?W=T[H]:(W=H&&H[gt],W||(W=H)),W&&"string"==typeof W.type?"notScheduled"!==W.state&&(W.cancelFn&&W.data.isPeriodic||0===W.runCount)&&("number"==typeof H?delete T[H]:H&&(H[gt]=null),W.zone.cancelTask(W)):I.apply(o,V)})}Zone.__load_patch("legacy",o=>{const a=o[Zone.__symbol__("legacyPatch")];a&&a()}),Zone.__load_patch("queueMicrotask",(o,a,h)=>{h.patchMethod(o,"queueMicrotask",c=>function(p,_){a.current.scheduleMicroTask("queueMicrotask",_[0])})}),Zone.__load_patch("timers",o=>{const a="set",h="clear";tt(o,a,h,"Timeout"),tt(o,a,h,"Interval"),tt(o,a,h,"Immediate")}),Zone.__load_patch("requestAnimationFrame",o=>{tt(o,"request","cancel","AnimationFrame"),tt(o,"mozRequest","mozCancel","AnimationFrame"),tt(o,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(o,a)=>{const h=["alert","prompt","confirm"];for(let c=0;c<h.length;c++)Oe(o,h[c],(_,T,k)=>function(A,I){return a.current.run(_,o,I,k)})}),Zone.__load_patch("EventTarget",(o,a,h)=>{(function(o,a){a.patchEventPrototype(o,a)})(o,h),function(o,a){if(Zone[a.symbol("patchEventTarget")])return;const{eventNames:h,zoneSymbolEventNames:c,TRUE_STR:p,FALSE_STR:_,ZONE_SYMBOL_PREFIX:T}=a.getGlobalObjects();for(let A=0;A<h.length;A++){const I=h[A],H=T+(I+_),W=T+(I+p);c[I]={},c[I][_]=H,c[I][p]=W}const k=o.EventTarget;k&&k.prototype&&a.patchEventTarget(o,[k&&k.prototype])}(o,h);const c=o.XMLHttpRequestEventTarget;c&&c.prototype&&h.patchEventTarget(o,[c.prototype])}),Zone.__load_patch("MutationObserver",(o,a,h)=>{We("MutationObserver"),We("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(o,a,h)=>{We("IntersectionObserver")}),Zone.__load_patch("FileReader",(o,a,h)=>{We("FileReader")}),Zone.__load_patch("on_property",(o,a,h)=>{!function(o,a){if(Ye&&!ut||Zone[o.symbol("patchEvents")])return;const h="undefined"!=typeof WebSocket,c=a.__Zone_ignore_on_properties;if(ot){const T=window,k=function(){try{const o=q.navigator.userAgent;if(-1!==o.indexOf("MSIE ")||-1!==o.indexOf("Trident/"))return!0}catch(o){}return!1}()?[{target:T,ignoreProperties:["error"]}]:[];ge(T,Ve.concat(["messageerror"]),c&&c.concat(k),N(T)),ge(Document.prototype,Ve,c),void 0!==T.SVGElement&&ge(T.SVGElement.prototype,Ve,c),ge(Element.prototype,Ve,c),ge(HTMLElement.prototype,Ve,c),ge(HTMLMediaElement.prototype,t,c),ge(HTMLFrameSetElement.prototype,r.concat(Q),c),ge(HTMLBodyElement.prototype,r.concat(Q),c),ge(HTMLFrameElement.prototype,G,c),ge(HTMLIFrameElement.prototype,G,c);const A=T.HTMLMarqueeElement;A&&ge(A.prototype,ae,c);const I=T.Worker;I&&ge(I.prototype,_t,c)}const p=a.XMLHttpRequest;p&&ge(p.prototype,ke,c);const _=a.XMLHttpRequestEventTarget;_&&ge(_&&_.prototype,ke,c),"undefined"!=typeof IDBIndex&&(ge(IDBIndex.prototype,re,c),ge(IDBRequest.prototype,re,c),ge(IDBOpenDBRequest.prototype,re,c),ge(IDBDatabase.prototype,re,c),ge(IDBTransaction.prototype,re,c),ge(IDBCursor.prototype,re,c)),h&&ge(WebSocket.prototype,et,c)}(h,o)}),Zone.__load_patch("customElements",(o,a,h)=>{!function(o,a){const{isBrowser:h,isMix:c}=a.getGlobalObjects();(h||c)&&o.customElements&&"customElements"in o&&a.patchCallbacks(a,o.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(o,h)}),Zone.__load_patch("XHR",(o,a)=>{!function(I){const b=I.XMLHttpRequest;if(!b)return;const V=b.prototype;let W=V[L],he=V[l];if(!W){const D=I.XMLHttpRequestEventTarget;if(D){const $=D.prototype;W=$[L],he=$[l]}}const ne="readystatechange",C="scheduled";function v(D){const $=D.data,M=$.target;M[_]=!1,M[k]=!1;const Fe=M[p];W||(W=M[L],he=M[l]),Fe&&he.call(M,ne,Fe);const ze=M[p]=()=>{if(M.readyState===M.DONE)if(!$.aborted&&M[_]&&D.state===C){const Me=M[a.__symbol__("loadfalse")];if(0!==M.status&&Me&&Me.length>0){const Ue=D.invoke;D.invoke=function(){const pe=M[a.__symbol__("loadfalse")];for(let X=0;X<pe.length;X++)pe[X]===D&&pe.splice(X,1);!$.aborted&&D.state===C&&Ue.call(D)},Me.push(D)}else D.invoke()}else!$.aborted&&!1===M[_]&&(M[k]=!0)};return W.call(M,ne,ze),M[h]||(M[h]=D),J.apply(M,$.args),M[_]=!0,D}function Y(){}function se(D){const $=D.data;return $.aborted=!0,be.apply($.target,$.args)}const ee=Oe(V,"open",()=>function(D,$){return D[c]=0==$[2],D[T]=$[1],ee.apply(D,$)}),z=g("fetchTaskAborting"),xe=g("fetchTaskScheduling"),J=Oe(V,"send",()=>function(D,$){if(!0===a.current[xe]||D[c])return J.apply(D,$);{const M={target:D,url:D[T],isPeriodic:!1,args:$,aborted:!1},Fe=Pe("XMLHttpRequest.send",Y,M,v,se);D&&!0===D[k]&&!M.aborted&&Fe.state===C&&Fe.invoke()}}),be=Oe(V,"abort",()=>function(D,$){const M=function(D){return D[h]}(D);if(M&&"string"==typeof M.type){if(null==M.cancelFn||M.data&&M.data.aborted)return;M.zone.cancelTask(M)}else if(!0===a.current[z])return be.apply(D,$)})}(o);const h=g("xhrTask"),c=g("xhrSync"),p=g("xhrListener"),_=g("xhrScheduled"),T=g("xhrURL"),k=g("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",o=>{o.navigator&&o.navigator.geolocation&&function(o,a){const h=o.constructor.name;for(let c=0;c<a.length;c++){const p=a[c],_=o[p];if(_){if(!fe(me(o,p)))continue;o[p]=(k=>{const A=function(){return k.apply(this,ve(arguments,h+"."+p))};return Ze(A,k),A})(_)}}}(o.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(o,a)=>{function h(c){return function(p){st(o,c).forEach(T=>{const k=o.PromiseRejectionEvent;if(k){const A=new k(c,{promise:p.promise,reason:p.rejection});T.invoke(A)}})}}o.PromiseRejectionEvent&&(a[g("unhandledPromiseRejectionHandler")]=h("unhandledrejection"),a[g("rejectionHandledHandler")]=h("rejectionhandled"))})}},qe=>{qe(qe.s=7435)}]); |