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