(function(e){var t={};function r(n){if(t[n]){return t[n].exports}var i=t[n]={i:n,l:false,exports:{}};e[n].call(i.exports,i,i.exports,r);i.l=true;return i.exports}r.m=e;r.c=t;r.d=function(e,t,n){if(!r.o(e,t)){Object.defineProperty(e,t,{enumerable:true,get:n})}};r.r=function(e){if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(e,"__esModule",{value:true})};r.t=function(e,t){if(t&1)e=r(e);if(t&8)return e;if(t&4&&typeof e==="object"&&e&&e.__esModule)return e;var n=Object.create(null);r.r(n);Object.defineProperty(n,"default",{enumerable:true,value:e});if(t&2&&typeof e!="string")for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n};r.n=function(e){var t=e&&e.__esModule?function t(){return e["default"]}:function t(){return e};r.d(t,"a",t);return t};r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};r.p="";return r(r.s=418)})({10:function(e,t,r){try{var n=r(7);if(typeof n.inherits!=="function")throw"";e.exports=n.inherits}catch(t){e.exports=r(11)}},108:function(e,t,r){(function(e){var n=typeof e!=="undefined"&&e||typeof self!=="undefined"&&self||window;var i=Function.prototype.apply;t.setTimeout=function(){return new o(i.call(setTimeout,n,arguments),clearTimeout)};t.setInterval=function(){return new o(i.call(setInterval,n,arguments),clearInterval)};t.clearTimeout=t.clearInterval=function(e){if(e){e.close()}};function o(e,t){this._id=e;this._clearFn=t}o.prototype.unref=o.prototype.ref=function(){};o.prototype.close=function(){this._clearFn.call(n,this._id)};t.enroll=function(e,t){clearTimeout(e._idleTimeoutId);e._idleTimeout=t};t.unenroll=function(e){clearTimeout(e._idleTimeoutId);e._idleTimeout=-1};t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;if(t>=0){e._idleTimeoutId=setTimeout((function t(){if(e._onTimeout)e._onTimeout()}),t)}};r(109);t.setImmediate=typeof self!=="undefined"&&self.setImmediate||typeof e!=="undefined"&&e.setImmediate||this&&this.setImmediate;t.clearImmediate=typeof self!=="undefined"&&self.clearImmediate||typeof e!=="undefined"&&e.clearImmediate||this&&this.clearImmediate}).call(this,r(6))},109:function(e,t,r){(function(e,t){(function(e,r){"use strict";if(e.setImmediate){return}var n=1;var i={};var o=false;var a=e.document;var s;function f(e){if(typeof e!=="function"){e=new Function(""+e)}var t=new Array(arguments.length-1);for(var r=0;r * @license MIT */function i(e,t){if(e===t){return 0}var r=e.length;var n=t.length;for(var i=0,o=Math.min(r,n);i=0){var s=i.indexOf("\n",a+1);i=i.substring(s+1)}this.stack=i}}};a.inherits(p.AssertionError,Error);function m(e,t){if(typeof e==="string"){return e.length=0;c--){if(s[c]!==u[c])return false}for(c=s.length-1;c>=0;c--){l=s[c];if(!b(e[l],t[l],r,n))return false}return true}p.notDeepEqual=function e(t,r,n){if(b(t,r,false)){v(t,r,n,"notDeepEqual",p.notDeepEqual)}};p.notDeepStrictEqual=_;function _(e,t,r){if(b(e,t,true)){v(e,t,r,"notDeepStrictEqual",_)}}p.strictEqual=function e(t,r,n){if(t!==r){v(t,r,n,"===",p.strictEqual)}};p.notStrictEqual=function e(t,r,n){if(t===r){v(t,r,n,"!==",p.notStrictEqual)}};function k(e,t){if(!e||!t){return false}if(Object.prototype.toString.call(t)=="[object RegExp]"){return t.test(e)}try{if(e instanceof t){return true}}catch(e){}if(Error.isPrototypeOf(t)){return false}return t.call({},e)===true}function S(e){var t;try{e()}catch(e){t=e}return t}function T(e,t,r,n){var i;if(typeof t!=="function"){throw new TypeError('"block" argument must be a function')}if(typeof r==="string"){n=r;r=null}i=S(t);n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:".");if(e&&!i){v(i,r,"Missing expected exception"+n)}var o=typeof n==="string";var s=!e&&a.isError(i);var f=!e&&i&&!r;if(s&&o&&k(i,r)||f){v(i,r,"Got unwanted exception"+n)}if(e&&i&&r&&!k(i,r)||!e&&i){throw i}}p.throws=function(e,t,r){T(true,e,t,r)};p.doesNotThrow=function(e,t,r){T(false,e,t,r)};p.ifError=function(e){if(e)throw e};function C(e,t){if(!e)v(e,true,t,"==",C)}p.strict=n(C,p,{equal:p.strictEqual,deepEqual:p.deepStrictEqual,notEqual:p.notStrictEqual,notDeepEqual:p.notDeepStrictEqual});p.strict.strict=p.strict;var O=Object.keys||function(e){var t=[];for(var r in e){if(s.call(e,r))t.push(r)}return t}}).call(this,r(6))},13:function(e,t,r){"use strict"; /* object-assign (c) Sindre Sorhus @license MIT */var n=Object.getOwnPropertySymbols;var i=Object.prototype.hasOwnProperty;var o=Object.prototype.propertyIsEnumerable;function a(e){if(e===null||e===undefined){throw new TypeError("Object.assign cannot be called with null or undefined")}return Object(e)}function s(){try{if(!Object.assign){return false}var e=new String("abc");e[5]="de";if(Object.getOwnPropertyNames(e)[0]==="5"){return false}var t={};for(var r=0;r<10;r++){t["_"+String.fromCharCode(r)]=r}var n=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if(n.join("")!=="0123456789"){return false}var i={};"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e}));if(Object.keys(Object.assign({},i)).join("")!=="abcdefghijklmnopqrst"){return false}return true}catch(e){return false}}e.exports=s()?Object.assign:function(e,t){var r;var s=a(e);var f;for(var u=1;u{const n=new FileReader;n.addEventListener("loadend",e=>{let r=e.target.result;if(r instanceof ArrayBuffer){r=i(new Uint8Array(e.target.result))}t(r)});n.addEventListener("error",e=>{r(new Error(e.message))});n.addEventListener("abort",e=>{r(new Error(e.type))});n.readAsArrayBuffer(e)})}Object.assign(e.exports,o,{fromStream:a,fromBlob:s})},420:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(421);class i extends n.Readable{constructor(e){super();this.bytesRead=0;this.released=false;this.reader=e.getReader()}async _read(){if(this.released){this.push(null);return}this.pendingRead=this.reader.read();const e=await this.pendingRead;delete this.pendingRead;if(e.done||this.released){this.push(null)}else{this.bytesRead+=e.value.length;this.push(e.value)}}async waitForReadToComplete(){if(this.pendingRead){await this.pendingRead}}async close(){await this.syncAndRelease()}async syncAndRelease(){this.released=true;await this.waitForReadToComplete();await this.reader.releaseLock()}}t.ReadableWebToNodeStream=i},421:function(e,t,r){e.exports=o;var n=r(422).EventEmitter;var i=r(10);i(o,n);o.Readable=r(423);o.Writable=r(443);o.Duplex=r(444);o.Transform=r(445);o.PassThrough=r(446);o.Stream=o;function o(){n.call(this)}o.prototype.pipe=function(e,t){var r=this;function i(t){if(e.writable){if(false===e.write(t)&&r.pause){r.pause()}}}r.on("data",i);function o(){if(r.readable&&r.resume){r.resume()}}e.on("drain",o);if(!e._isStdio&&(!t||t.end!==false)){r.on("end",s);r.on("close",f)}var a=false;function s(){if(a)return;a=true;e.end()}function f(){if(a)return;a=true;if(typeof e.destroy==="function")e.destroy()}function u(e){l();if(n.listenerCount(this,"error")===0){throw e}}r.on("error",u);e.on("error",u);function l(){r.removeListener("data",i);e.removeListener("drain",o);r.removeListener("end",s);r.removeListener("close",f);r.removeListener("error",u);e.removeListener("error",u);r.removeListener("end",l);r.removeListener("close",l);e.removeListener("close",l)}r.on("end",l);r.on("close",l);e.on("close",l);e.emit("pipe",r);return e}},422:function(e,t,r){"use strict";(function(t){var r=typeof Reflect==="object"?Reflect:null;var n=r&&typeof r.apply==="function"?r.apply:function e(t,r,n){return Function.prototype.apply.call(t,r,n)};var i;if(r&&typeof r.ownKeys==="function"){i=r.ownKeys}else if(Object.getOwnPropertySymbols){i=function e(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}}else{i=function e(t){return Object.getOwnPropertyNames(t)}}function o(e){if(t&&t.warn)t.warn(e)}var a=Number.isNaN||function e(t){return t!==t};function s(){s.init.call(this)}e.exports=s;s.EventEmitter=s;s.prototype._events=undefined;s.prototype._eventsCount=0;s.prototype._maxListeners=undefined;var f=10;function u(e){if(typeof e!=="function"){throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}}Object.defineProperty(s,"defaultMaxListeners",{enumerable:true,get:function(){return f},set:function(e){if(typeof e!=="number"||e<0||a(e)){throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".")}f=e}});s.init=function(){if(this._events===undefined||this._events===Object.getPrototypeOf(this)._events){this._events=Object.create(null);this._eventsCount=0}this._maxListeners=this._maxListeners||undefined};s.prototype.setMaxListeners=function e(t){if(typeof t!=="number"||t<0||a(t)){throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".")}this._maxListeners=t;return this};function l(e){if(e._maxListeners===undefined)return s.defaultMaxListeners;return e._maxListeners}s.prototype.getMaxListeners=function e(){return l(this)};s.prototype.emit=function e(t){var r=[];for(var i=1;i0)s=r[0];if(s instanceof Error){throw s}var f=new Error("Unhandled error."+(s?" ("+s.message+")":""));f.context=s;throw f}var u=a[t];if(u===undefined)return false;if(typeof u==="function"){n(u,this,r)}else{var l=u.length;var c=g(u,l);for(var i=0;i0&&s.length>i&&!s.warned){s.warned=true;var f=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners "+"added. Use emitter.setMaxListeners() to "+"increase limit");f.name="MaxListenersExceededWarning";f.emitter=e;f.type=t;f.count=s.length;o(f)}}return e}s.prototype.addListener=function e(t,r){return c(this,t,r,false)};s.prototype.on=s.prototype.addListener;s.prototype.prependListener=function e(t,r){return c(this,t,r,true)};function p(){if(!this.fired){this.target.removeListener(this.type,this.wrapFn);this.fired=true;if(arguments.length===0)return this.listener.call(this.target);return this.listener.apply(this.target,arguments)}}function h(e,t,r){var n={fired:false,wrapFn:undefined,target:e,type:t,listener:r};var i=p.bind(n);i.listener=r;n.wrapFn=i;return i}s.prototype.once=function e(t,r){u(r);this.on(t,h(this,t,r));return this};s.prototype.prependOnceListener=function e(t,r){u(r);this.prependListener(t,h(this,t,r));return this};s.prototype.removeListener=function e(t,r){var n,i,o,a,s;u(r);i=this._events;if(i===undefined)return this;n=i[t];if(n===undefined)return this;if(n===r||n.listener===r){if(--this._eventsCount===0)this._events=Object.create(null);else{delete i[t];if(i.removeListener)this.emit("removeListener",t,n.listener||r)}}else if(typeof n!=="function"){o=-1;for(a=n.length-1;a>=0;a--){if(n[a]===r||n[a].listener===r){s=n[a].listener;o=a;break}}if(o<0)return this;if(o===0)n.shift();else{y(n,o)}if(n.length===1)i[t]=n[0];if(i.removeListener!==undefined)this.emit("removeListener",t,s||r)}return this};s.prototype.off=s.prototype.removeListener;s.prototype.removeAllListeners=function e(t){var r,n,i;n=this._events;if(n===undefined)return this;if(n.removeListener===undefined){if(arguments.length===0){this._events=Object.create(null);this._eventsCount=0}else if(n[t]!==undefined){if(--this._eventsCount===0)this._events=Object.create(null);else delete n[t]}return this}if(arguments.length===0){var o=Object.keys(n);var a;for(i=0;i=0;i--){this.removeListener(t,r[i])}}return this};function d(e,t,r){var n=e._events;if(n===undefined)return[];var i=n[t];if(i===undefined)return[];if(typeof i==="function")return r?[i.listener||i]:[i];return r?v(i):g(i,i.length)}s.prototype.listeners=function e(t){return d(this,t,true)};s.prototype.rawListeners=function e(t){return d(this,t,false)};s.listenerCount=function(e,t){if(typeof e.listenerCount==="function"){return e.listenerCount(t)}else{return m.call(e,t)}};s.prototype.listenerCount=m;function m(e){var t=this._events;if(t!==undefined){var r=t[e];if(typeof r==="function"){return 1}else if(r!==undefined){return r.length}}return 0}s.prototype.eventNames=function e(){return this._eventsCount>0?i(this._events):[]};function g(e,t){var r=new Array(t);for(var n=0;n0){if(typeof t!=="string"&&!o.objectMode&&Object.getPrototypeOf(t)!==l.prototype){t=p(t)}if(n){if(o.endEmitted)e.emit("error",new Error("stream.unshift() after end event"));else S(e,o,t,true)}else if(o.ended){e.emit("error",new Error("stream.push() after EOF"))}else{o.reading=false;if(o.decoder&&!r){t=o.decoder.write(t);if(o.objectMode||t.length!==0)S(e,o,t,false);else M(e,o)}else{S(e,o,t,false)}}}else if(!n){o.reading=false}}return C(o)}function S(e,t,r,n){if(t.flowing&&t.length===0&&!t.sync){e.emit("data",r);e.read(0)}else{t.length+=t.objectMode?1:r.length;if(n)t.buffer.unshift(r);else t.buffer.push(r);if(t.needReadable)j(e)}M(e,t)}function T(e,t){var r;if(!h(t)&&typeof t!=="string"&&t!==undefined&&!e.objectMode){r=new TypeError("Invalid non-string/buffer chunk")}return r}function C(e){return!e.ended&&(e.needReadable||e.length=O){e=O}else{e--;e|=e>>>1;e|=e>>>2;e|=e>>>4;e|=e>>>8;e|=e>>>16;e++}return e}function R(e,t){if(e<=0||t.length===0&&t.ended)return 0;if(t.objectMode)return 1;if(e!==e){if(t.flowing&&t.length)return t.buffer.head.data.length;else return t.length}if(e>t.highWaterMark)t.highWaterMark=B(e);if(e<=t.length)return e;if(!t.ended){t.needReadable=true;return 0}return t.length}_.prototype.read=function(e){g("read",e);e=parseInt(e,10);var t=this._readableState;var r=e;if(e!==0)t.emittedReadable=false;if(e===0&&t.needReadable&&(t.length>=t.highWaterMark||t.ended)){g("read: emitReadable",t.length,t.ended);if(t.length===0&&t.ended)H(this);else j(this);return null}e=R(e,t);if(e===0&&t.ended){if(t.length===0)H(this);return null}var n=t.needReadable;g("need readable",n);if(t.length===0||t.length-e0)i=z(e,t);else i=null;if(i===null){t.needReadable=true;e=0}else{t.length-=e}if(t.length===0){if(!t.ended)t.needReadable=true;if(r!==e&&t.ended)H(this)}if(i!==null)this.emit("data",i);return i};function A(e,t){if(t.ended)return;if(t.decoder){var r=t.decoder.end();if(r&&r.length){t.buffer.push(r);t.length+=t.objectMode?1:r.length}}t.ended=true;j(e)}function j(e){var t=e._readableState;t.needReadable=false;if(!t.emittedReadable){g("emitReadable",t.flowing);t.emittedReadable=true;if(t.sync)i.nextTick(I,e);else I(e)}}function I(e){g("emit readable");e.emit("readable");N(e)}function M(e,t){if(!t.readingMore){t.readingMore=true;i.nextTick(L,e,t)}}function L(e,t){var r=t.length;while(!t.reading&&!t.flowing&&!t.ended&&t.length1&&V(o.pipes,e)!==-1)&&!p){g("false write response, pause",r._readableState.awaitDrain);r._readableState.awaitDrain++;d=true}r.pause()}}function y(t){g("onerror",t);b();e.removeListener("error",y);if(f(e,"error")===0)e.emit("error",t)}x(e,"error",y);function v(){e.removeListener("finish",w);b()}e.once("close",v);function w(){g("onfinish");e.removeListener("close",v);b()}e.once("finish",w);function b(){g("unpipe");r.unpipe(e)}e.emit("pipe",r);if(!o.flowing){g("pipe resume");r.resume()}return e};function P(e){return function(){var t=e._readableState;g("pipeOnDrain",t.awaitDrain);if(t.awaitDrain)t.awaitDrain--;if(t.awaitDrain===0&&f(e,"data")){t.flowing=true;N(e)}}}_.prototype.unpipe=function(e){var t=this._readableState;var r={hasUnpiped:false};if(t.pipesCount===0)return this;if(t.pipesCount===1){if(e&&e!==t.pipes)return this;if(!e)e=t.pipes;t.pipes=null;t.pipesCount=0;t.flowing=false;if(e)e.emit("unpipe",this,r);return this}if(!e){var n=t.pipes;var i=t.pipesCount;t.pipes=null;t.pipesCount=0;t.flowing=false;for(var o=0;o=t.length){if(t.decoder)r=t.buffer.join("");else if(t.buffer.length===1)r=t.buffer.head.data;else r=t.buffer.concat(t.length);t.buffer.clear()}else{r=D(e,t.buffer,t.decoder)}return r}function D(e,t,r){var n;if(eo.length?o.length:e;if(a===o.length)i+=o;else i+=o.slice(0,e);e-=a;if(e===0){if(a===o.length){++n;if(r.next)t.head=r.next;else t.head=t.tail=null}else{t.head=r;r.data=o.slice(a)}break}++n}t.length-=n;return i}function W(e,t){var r=l.allocUnsafe(e);var n=t.head;var i=1;n.data.copy(r);e-=n.data.length;while(n=n.next){var o=n.data;var a=e>o.length?o.length:e;o.copy(r,r.length-e,0,a);e-=a;if(e===0){if(a===o.length){++i;if(n.next)t.head=n.next;else t.head=t.tail=null}else{t.head=n;n.data=o.slice(a)}break}++i}t.length-=i;return r}function H(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');if(!t.endEmitted){t.ended=true;i.nextTick($,t,e)}}function $(e,t){if(!e.endEmitted&&e.length===0){e.endEmitted=true;t.readable=false;t.emit("end")}}function V(e,t){for(var r=0,n=e.length;r * @license MIT */ var n=r(430);var i=r(431);var o=r(426);t.Buffer=u;t.SlowBuffer=w;t.INSPECT_MAX_BYTES=50;u.TYPED_ARRAY_SUPPORT=e.TYPED_ARRAY_SUPPORT!==undefined?e.TYPED_ARRAY_SUPPORT:a();t.kMaxLength=s();function a(){try{var e=new Uint8Array(1);e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}};return e.foo()===42&&typeof e.subarray==="function"&&e.subarray(1,1).byteLength===0}catch(e){return false}}function s(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function f(e,t){if(s()=s()){throw new RangeError("Attempt to allocate Buffer larger than maximum "+"size: 0x"+s().toString(16)+" bytes")}return e|0}function w(e){if(+e!=e){e=0}return u.alloc(+e)}u.isBuffer=function e(t){return!!(t!=null&&t._isBuffer)};u.compare=function e(t,r){if(!u.isBuffer(t)||!u.isBuffer(r)){throw new TypeError("Arguments must be Buffers")}if(t===r)return 0;var n=t.length;var i=r.length;for(var o=0,a=Math.min(n,i);o>>1;case"base64":return K(e).length;default:if(n)return Z(e).length;t=(""+t).toLowerCase();n=true}}}u.byteLength=b;function x(e,t,r){var n=false;if(t===undefined||t<0){t=0}if(t>this.length){return""}if(r===undefined||r>this.length){r=this.length}if(r<=0){return""}r>>>=0;t>>>=0;if(r<=t){return""}if(!e)e="utf8";while(true){switch(e){case"hex":return F(this,t,r);case"utf8":case"utf-8":return j(this,t,r);case"ascii":return L(this,t,r);case"latin1":case"binary":return P(this,t,r);case"base64":return A(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return U(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase();n=true}}}u.prototype._isBuffer=true;function E(e,t,r){var n=e[t];e[t]=e[r];e[r]=n}u.prototype.swap16=function e(){var t=this.length;if(t%2!==0){throw new RangeError("Buffer size must be a multiple of 16-bits")}for(var r=0;r0){r=this.toString("hex",0,n).match(/.{2}/g).join(" ");if(this.length>n)r+=" ... "}return""};u.prototype.compare=function e(t,r,n,i,o){if(!u.isBuffer(t)){throw new TypeError("Argument must be a Buffer")}if(r===undefined){r=0}if(n===undefined){n=t?t.length:0}if(i===undefined){i=0}if(o===undefined){o=this.length}if(r<0||n>t.length||i<0||o>this.length){throw new RangeError("out of range index")}if(i>=o&&r>=n){return 0}if(i>=o){return-1}if(r>=n){return 1}r>>>=0;n>>>=0;i>>>=0;o>>>=0;if(this===t)return 0;var a=o-i;var s=n-r;var f=Math.min(a,s);var l=this.slice(i,o);var c=t.slice(r,n);for(var p=0;p2147483647){r=2147483647}else if(r<-2147483648){r=-2147483648}r=+r;if(isNaN(r)){r=i?0:e.length-1}if(r<0)r=e.length+r;if(r>=e.length){if(i)return-1;else r=e.length-1}else if(r<0){if(i)r=0;else return-1}if(typeof t==="string"){t=u.from(t,n)}if(u.isBuffer(t)){if(t.length===0){return-1}return k(e,t,r,n,i)}else if(typeof t==="number"){t=t&255;if(u.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf==="function"){if(i){return Uint8Array.prototype.indexOf.call(e,t,r)}else{return Uint8Array.prototype.lastIndexOf.call(e,t,r)}}return k(e,[t],r,n,i)}throw new TypeError("val must be string, number or Buffer")}function k(e,t,r,n,i){var o=1;var a=e.length;var s=t.length;if(n!==undefined){n=String(n).toLowerCase();if(n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le"){if(e.length<2||t.length<2){return-1}o=2;a/=2;s/=2;r/=2}}function f(e,t){if(o===1){return e[t]}else{return e.readUInt16BE(t*o)}}var u;if(i){var l=-1;for(u=r;ua)r=a-s;for(u=r;u>=0;u--){var c=true;for(var p=0;pi){n=i}}var o=t.length;if(o%2!==0)throw new TypeError("Invalid hex string");if(n>o/2){n=o/2}for(var a=0;ao)n=o;if(t.length>0&&(n<0||r<0)||r>this.length){throw new RangeError("Attempt to write outside buffer bounds")}if(!i)i="utf8";var a=false;for(;;){switch(i){case"hex":return S(this,t,r,n);case"utf8":case"utf-8":return T(this,t,r,n);case"ascii":return C(this,t,r,n);case"latin1":case"binary":return O(this,t,r,n);case"base64":return B(this,t,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,t,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase();a=true}}};u.prototype.toJSON=function e(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function A(e,t,r){if(t===0&&r===e.length){return n.fromByteArray(e)}else{return n.fromByteArray(e.slice(t,r))}}function j(e,t,r){r=Math.min(e.length,r);var n=[];var i=t;while(i239?4:o>223?3:o>191?2:1;if(i+s<=r){var f,u,l,c;switch(s){case 1:if(o<128){a=o}break;case 2:f=e[i+1];if((f&192)===128){c=(o&31)<<6|f&63;if(c>127){a=c}}break;case 3:f=e[i+1];u=e[i+2];if((f&192)===128&&(u&192)===128){c=(o&15)<<12|(f&63)<<6|u&63;if(c>2047&&(c<55296||c>57343)){a=c}}break;case 4:f=e[i+1];u=e[i+2];l=e[i+3];if((f&192)===128&&(u&192)===128&&(l&192)===128){c=(o&15)<<18|(f&63)<<12|(u&63)<<6|l&63;if(c>65535&&c<1114112){a=c}}}}if(a===null){a=65533;s=1}else if(a>65535){a-=65536;n.push(a>>>10&1023|55296);a=56320|a&1023}n.push(a);i+=s}return M(n)}var I=4096;function M(e){var t=e.length;if(t<=I){return String.fromCharCode.apply(String,e)}var r="";var n=0;while(nn)r=n;var i="";for(var o=t;on){t=n}if(r<0){r+=n;if(r<0)r=0}else if(r>n){r=n}if(rr)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUIntLE=function e(t,r,n){t=t|0;r=r|0;if(!n)q(t,r,this.length);var i=this[t];var o=1;var a=0;while(++a0&&(o*=256)){i+=this[t+--r]*o}return i};u.prototype.readUInt8=function e(t,r){if(!r)q(t,1,this.length);return this[t]};u.prototype.readUInt16LE=function e(t,r){if(!r)q(t,2,this.length);return this[t]|this[t+1]<<8};u.prototype.readUInt16BE=function e(t,r){if(!r)q(t,2,this.length);return this[t]<<8|this[t+1]};u.prototype.readUInt32LE=function e(t,r){if(!r)q(t,4,this.length);return(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};u.prototype.readUInt32BE=function e(t,r){if(!r)q(t,4,this.length);return this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};u.prototype.readIntLE=function e(t,r,n){t=t|0;r=r|0;if(!n)q(t,r,this.length);var i=this[t];var o=1;var a=0;while(++a=o)i-=Math.pow(2,8*r);return i};u.prototype.readIntBE=function e(t,r,n){t=t|0;r=r|0;if(!n)q(t,r,this.length);var i=r;var o=1;var a=this[t+--i];while(i>0&&(o*=256)){a+=this[t+--i]*o}o*=128;if(a>=o)a-=Math.pow(2,8*r);return a};u.prototype.readInt8=function e(t,r){if(!r)q(t,1,this.length);if(!(this[t]&128))return this[t];return(255-this[t]+1)*-1};u.prototype.readInt16LE=function e(t,r){if(!r)q(t,2,this.length);var n=this[t]|this[t+1]<<8;return n&32768?n|4294901760:n};u.prototype.readInt16BE=function e(t,r){if(!r)q(t,2,this.length);var n=this[t+1]|this[t]<<8;return n&32768?n|4294901760:n};u.prototype.readInt32LE=function e(t,r){if(!r)q(t,4,this.length);return this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};u.prototype.readInt32BE=function e(t,r){if(!r)q(t,4,this.length);return this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};u.prototype.readFloatLE=function e(t,r){if(!r)q(t,4,this.length);return i.read(this,t,true,23,4)};u.prototype.readFloatBE=function e(t,r){if(!r)q(t,4,this.length);return i.read(this,t,false,23,4)};u.prototype.readDoubleLE=function e(t,r){if(!r)q(t,8,this.length);return i.read(this,t,true,52,8)};u.prototype.readDoubleBE=function e(t,r){if(!r)q(t,8,this.length);return i.read(this,t,false,52,8)};function N(e,t,r,n,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}u.prototype.writeUIntLE=function e(t,r,n,i){t=+t;r=r|0;n=n|0;if(!i){var o=Math.pow(2,8*n)-1;N(this,t,r,n,o,0)}var a=1;var s=0;this[r]=t&255;while(++s=0&&(s*=256)){this[r+a]=t/s&255}return r+n};u.prototype.writeUInt8=function e(t,r,n){t=+t;r=r|0;if(!n)N(this,t,r,1,255,0);if(!u.TYPED_ARRAY_SUPPORT)t=Math.floor(t);this[r]=t&255;return r+1};function z(e,t,r,n){if(t<0)t=65535+t+1;for(var i=0,o=Math.min(e.length-r,2);i>>(n?i:1-i)*8}}u.prototype.writeUInt16LE=function e(t,r,n){t=+t;r=r|0;if(!n)N(this,t,r,2,65535,0);if(u.TYPED_ARRAY_SUPPORT){this[r]=t&255;this[r+1]=t>>>8}else{z(this,t,r,true)}return r+2};u.prototype.writeUInt16BE=function e(t,r,n){t=+t;r=r|0;if(!n)N(this,t,r,2,65535,0);if(u.TYPED_ARRAY_SUPPORT){this[r]=t>>>8;this[r+1]=t&255}else{z(this,t,r,false)}return r+2};function D(e,t,r,n){if(t<0)t=4294967295+t+1;for(var i=0,o=Math.min(e.length-r,4);i>>(n?i:3-i)*8&255}}u.prototype.writeUInt32LE=function e(t,r,n){t=+t;r=r|0;if(!n)N(this,t,r,4,4294967295,0);if(u.TYPED_ARRAY_SUPPORT){this[r+3]=t>>>24;this[r+2]=t>>>16;this[r+1]=t>>>8;this[r]=t&255}else{D(this,t,r,true)}return r+4};u.prototype.writeUInt32BE=function e(t,r,n){t=+t;r=r|0;if(!n)N(this,t,r,4,4294967295,0);if(u.TYPED_ARRAY_SUPPORT){this[r]=t>>>24;this[r+1]=t>>>16;this[r+2]=t>>>8;this[r+3]=t&255}else{D(this,t,r,false)}return r+4};u.prototype.writeIntLE=function e(t,r,n,i){t=+t;r=r|0;if(!i){var o=Math.pow(2,8*n-1);N(this,t,r,n,o-1,-o)}var a=0;var s=1;var f=0;this[r]=t&255;while(++a>0)-f&255}return r+n};u.prototype.writeIntBE=function e(t,r,n,i){t=+t;r=r|0;if(!i){var o=Math.pow(2,8*n-1);N(this,t,r,n,o-1,-o)}var a=n-1;var s=1;var f=0;this[r+a]=t&255;while(--a>=0&&(s*=256)){if(t<0&&f===0&&this[r+a+1]!==0){f=1}this[r+a]=(t/s>>0)-f&255}return r+n};u.prototype.writeInt8=function e(t,r,n){t=+t;r=r|0;if(!n)N(this,t,r,1,127,-128);if(!u.TYPED_ARRAY_SUPPORT)t=Math.floor(t);if(t<0)t=255+t+1;this[r]=t&255;return r+1};u.prototype.writeInt16LE=function e(t,r,n){t=+t;r=r|0;if(!n)N(this,t,r,2,32767,-32768);if(u.TYPED_ARRAY_SUPPORT){this[r]=t&255;this[r+1]=t>>>8}else{z(this,t,r,true)}return r+2};u.prototype.writeInt16BE=function e(t,r,n){t=+t;r=r|0;if(!n)N(this,t,r,2,32767,-32768);if(u.TYPED_ARRAY_SUPPORT){this[r]=t>>>8;this[r+1]=t&255}else{z(this,t,r,false)}return r+2};u.prototype.writeInt32LE=function e(t,r,n){t=+t;r=r|0;if(!n)N(this,t,r,4,2147483647,-2147483648);if(u.TYPED_ARRAY_SUPPORT){this[r]=t&255;this[r+1]=t>>>8;this[r+2]=t>>>16;this[r+3]=t>>>24}else{D(this,t,r,true)}return r+4};u.prototype.writeInt32BE=function e(t,r,n){t=+t;r=r|0;if(!n)N(this,t,r,4,2147483647,-2147483648);if(t<0)t=4294967295+t+1;if(u.TYPED_ARRAY_SUPPORT){this[r]=t>>>24;this[r+1]=t>>>16;this[r+2]=t>>>8;this[r+3]=t&255}else{D(this,t,r,false)}return r+4};function Y(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function W(e,t,r,n,o){if(!o){Y(e,t,r,4,34028234663852886e22,-34028234663852886e22)}i.write(e,t,r,n,23,4);return r+4}u.prototype.writeFloatLE=function e(t,r,n){return W(this,t,r,true,n)};u.prototype.writeFloatBE=function e(t,r,n){return W(this,t,r,false,n)};function H(e,t,r,n,o){if(!o){Y(e,t,r,8,17976931348623157e292,-17976931348623157e292)}i.write(e,t,r,n,52,8);return r+8}u.prototype.writeDoubleLE=function e(t,r,n){return H(this,t,r,true,n)};u.prototype.writeDoubleBE=function e(t,r,n){return H(this,t,r,false,n)};u.prototype.copy=function e(t,r,n,i){if(!n)n=0;if(!i&&i!==0)i=this.length;if(r>=t.length)r=t.length;if(!r)r=0;if(i>0&&i=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");if(i>this.length)i=this.length;if(t.length-r=0;--a){t[a+r]=this[a+n]}}else if(o<1e3||!u.TYPED_ARRAY_SUPPORT){for(a=0;a>>0;n=n===undefined?this.length:n>>>0;if(!t)t=0;var a;if(typeof t==="number"){for(a=r;a55295&&r<57344){if(!i){if(r>56319){if((t-=3)>-1)o.push(239,191,189);continue}else if(a+1===n){if((t-=3)>-1)o.push(239,191,189);continue}i=r;continue}if(r<56320){if((t-=3)>-1)o.push(239,191,189);i=r;continue}r=(i-55296<<10|r-56320)+65536}else if(i){if((t-=3)>-1)o.push(239,191,189)}i=null;if(r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else{throw new Error("Invalid code point")}}return o}function Q(e){var t=[];for(var r=0;r>8;i=r%256;o.push(i);o.push(n)}return o}function K(e){return n.toByteArray(V(e))}function ee(e,t,r,n){for(var i=0;i=t.length||i>=e.length)break;t[i+r]=e[i]}return i}function te(e){return e!==e}}).call(this,r(6))},430:function(e,t,r){"use strict";t.byteLength=l;t.toByteArray=p;t.fromByteArray=m;var n=[];var i=[];var o=typeof Uint8Array!=="undefined"?Uint8Array:Array;var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var s=0,f=a.length;s0){throw new Error("Invalid string. Length must be a multiple of 4")}var r=e.indexOf("=");if(r===-1)r=t;var n=r===t?0:4-r%4;return[r,n]}function l(e){var t=u(e);var r=t[0];var n=t[1];return(r+n)*3/4-n}function c(e,t,r){return(t+r)*3/4-r}function p(e){var t;var r=u(e);var n=r[0];var a=r[1];var s=new o(c(e,n,a));var f=0;var l=a>0?n-4:n;var p;for(p=0;p>16&255;s[f++]=t>>8&255;s[f++]=t&255}if(a===2){t=i[e.charCodeAt(p)]<<2|i[e.charCodeAt(p+1)]>>4;s[f++]=t&255}if(a===1){t=i[e.charCodeAt(p)]<<10|i[e.charCodeAt(p+1)]<<4|i[e.charCodeAt(p+2)]>>2;s[f++]=t>>8&255;s[f++]=t&255}return s}function h(e){return n[e>>18&63]+n[e>>12&63]+n[e>>6&63]+n[e&63]}function d(e,t,r){var n;var i=[];for(var o=t;of?f:s+a))}if(i===1){t=e[r-1];o.push(n[t>>2]+n[t<<4&63]+"==")}else if(i===2){t=(e[r-2]<<8)+e[r-1];o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"=")}return o.join("")}},431:function(e,t){t.read=function(e,t,r,n,i){var o,a;var s=i*8-n-1;var f=(1<>1;var l=-7;var c=r?i-1:0;var p=r?-1:1;var h=e[t+c];c+=p;o=h&(1<<-l)-1;h>>=-l;l+=s;for(;l>0;o=o*256+e[t+c],c+=p,l-=8){}a=o&(1<<-l)-1;o>>=-l;l+=n;for(;l>0;a=a*256+e[t+c],c+=p,l-=8){}if(o===0){o=1-u}else if(o===f){return a?NaN:(h?-1:1)*Infinity}else{a=a+Math.pow(2,n);o=o-u}return(h?-1:1)*a*Math.pow(2,o-n)};t.write=function(e,t,r,n,i,o){var a,s,f;var u=o*8-i-1;var l=(1<>1;var p=i===23?Math.pow(2,-24)-Math.pow(2,-77):0;var h=n?0:o-1;var d=n?1:-1;var m=t<0||t===0&&1/t<0?1:0;t=Math.abs(t);if(isNaN(t)||t===Infinity){s=isNaN(t)?1:0;a=l}else{a=Math.floor(Math.log(t)/Math.LN2);if(t*(f=Math.pow(2,-a))<1){a--;f*=2}if(a+c>=1){t+=p/f}else{t+=p*Math.pow(2,1-c)}if(t*f>=2){a++;f/=2}if(a+c>=l){s=0;a=l}else if(a+c>=1){s=(t*f-1)*Math.pow(2,i);a=a+c}else{s=t*Math.pow(2,c-1)*Math.pow(2,i);a=0}}for(;i>=8;e[r+h]=s&255,h+=d,s/=256,i-=8){}a=a<0;e[r+h]=a&255,h+=d,a/=256,u-=8){}e[r+h-d]|=m*128}},432:function(e,t,r){(function(e){function r(e){if(Array.isArray){return Array.isArray(e)}return g(e)==="[object Array]"}t.isArray=r;function n(e){return typeof e==="boolean"}t.isBoolean=n;function i(e){return e===null}t.isNull=i;function o(e){return e==null}t.isNullOrUndefined=o;function a(e){return typeof e==="number"}t.isNumber=a;function s(e){return typeof e==="string"}t.isString=s;function f(e){return typeof e==="symbol"}t.isSymbol=f;function u(e){return e===void 0}t.isUndefined=u;function l(e){return g(e)==="[object RegExp]"}t.isRegExp=l;function c(e){return typeof e==="object"&&e!==null}t.isObject=c;function p(e){return g(e)==="[object Date]"}t.isDate=p;function h(e){return g(e)==="[object Error]"||e instanceof Error}t.isError=h;function d(e){return typeof e==="function"}t.isFunction=d;function m(e){return e===null||typeof e==="boolean"||typeof e==="number"||typeof e==="string"||typeof e==="symbol"||typeof e==="undefined"}t.isPrimitive=m;t.isBuffer=e.isBuffer;function g(e){return Object.prototype.toString.call(e)}}).call(this,r(429).Buffer)},433:function(e,t){},434:function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}var i=r(428).Buffer;var o=r(435);function a(e,t,r){e.copy(t,r)}e.exports=function(){function e(){n(this,e);this.head=null;this.tail=null;this.length=0}e.prototype.push=function e(t){var r={data:t,next:null};if(this.length>0)this.tail.next=r;else this.head=r;this.tail=r;++this.length};e.prototype.unshift=function e(t){var r={data:t,next:this.head};if(this.length===0)this.tail=r;this.head=r;++this.length};e.prototype.shift=function e(){if(this.length===0)return;var t=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;--this.length;return t};e.prototype.clear=function e(){this.head=this.tail=null;this.length=0};e.prototype.join=function e(t){if(this.length===0)return"";var r=this.head;var n=""+r.data;while(r=r.next){n+=t+r.data}return n};e.prototype.concat=function e(t){if(this.length===0)return i.alloc(0);if(this.length===1)return this.head.data;var r=i.allocUnsafe(t>>>0);var n=this.head;var o=0;while(n){a(n.data,r,o);o+=n.data.length;n=n.next}return r};return e}();if(o&&o.inspect&&o.inspect.custom){e.exports.prototype[o.inspect.custom]=function(){var e=o.inspect({length:this.length});return this.constructor.name+" "+e}}},435:function(e,t){},436:function(e,t,r){"use strict";var n=r(425);function i(e,t){var r=this;var i=this._readableState&&this._readableState.destroyed;var o=this._writableState&&this._writableState.destroyed;if(i||o){if(t){t(e)}else if(e&&(!this._writableState||!this._writableState.errorEmitted)){n.nextTick(a,this,e)}return this}if(this._readableState){this._readableState.destroyed=true}if(this._writableState){this._writableState.destroyed=true}this._destroy(e||null,(function(e){if(!t&&e){n.nextTick(a,r,e);if(r._writableState){r._writableState.errorEmitted=true}}else if(t){t(e)}}));return this}function o(){if(this._readableState){this._readableState.destroyed=false;this._readableState.reading=false;this._readableState.ended=false;this._readableState.endEmitted=false}if(this._writableState){this._writableState.destroyed=false;this._writableState.ended=false;this._writableState.ending=false;this._writableState.finished=false;this._writableState.errorEmitted=false}}function a(e,t){e.emit("error",t)}e.exports={destroy:i,undestroy:o}},437:function(e,t,r){"use strict";var n=r(425);var i=Object.keys||function(e){var t=[];for(var r in e){t.push(r)}return t};e.exports=c;var o=r(432);o.inherits=r(10);var a=r(424);var s=r(438);o.inherits(c,a);{var f=i(s.prototype);for(var u=0;u-1?n:o.nextTick;var u;x.WritableState=w;var l=r(432);l.inherits=r(10);var c={deprecate:r(439)};var p=r(427);var h=r(428).Buffer;var d=i.Uint8Array||function(){};function m(e){return h.from(e)}function g(e){return h.isBuffer(e)||e instanceof d}var y=r(436);l.inherits(x,p);function v(){}function w(e,t){u=u||r(437);e=e||{};var n=t instanceof u;this.objectMode=!!e.objectMode;if(n)this.objectMode=this.objectMode||!!e.writableObjectMode;var i=e.highWaterMark;var o=e.writableHighWaterMark;var a=this.objectMode?16:16*1024;if(i||i===0)this.highWaterMark=i;else if(n&&(o||o===0))this.highWaterMark=o;else this.highWaterMark=a;this.highWaterMark=Math.floor(this.highWaterMark);this.finalCalled=false;this.needDrain=false;this.ending=false;this.ended=false;this.finished=false;this.destroyed=false;var f=e.decodeStrings===false;this.decodeStrings=!f;this.defaultEncoding=e.defaultEncoding||"utf8";this.length=0;this.writing=false;this.corked=0;this.sync=true;this.bufferProcessing=false;this.onwrite=function(e){B(t,e)};this.writecb=null;this.writelen=0;this.bufferedRequest=null;this.lastBufferedRequest=null;this.pendingcb=0;this.prefinished=false;this.errorEmitted=false;this.bufferedRequestCount=0;this.corkedRequestsFree=new s(this)}w.prototype.getBuffer=function e(){var t=this.bufferedRequest;var r=[];while(t){r.push(t);t=t.next}return r};(function(){try{Object.defineProperty(w.prototype,"buffer",{get:c.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer "+"instead.","DEP0003")})}catch(e){}})();var b;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function"){b=Function.prototype[Symbol.hasInstance];Object.defineProperty(x,Symbol.hasInstance,{value:function(e){if(b.call(this,e))return true;if(this!==x)return false;return e&&e._writableState instanceof w}})}else{b=function(e){return e instanceof this}}function x(e){u=u||r(437);if(!b.call(x,this)&&!(this instanceof u)){return new x(e)}this._writableState=new w(e,this);this.writable=true;if(e){if(typeof e.write==="function")this._write=e.write;if(typeof e.writev==="function")this._writev=e.writev;if(typeof e.destroy==="function")this._destroy=e.destroy;if(typeof e.final==="function")this._final=e.final}p.call(this)}x.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function E(e,t){var r=new Error("write after end");e.emit("error",r);o.nextTick(t,r)}function _(e,t,r,n){var i=true;var a=false;if(r===null){a=new TypeError("May not write null values to stream")}else if(typeof r!=="string"&&r!==undefined&&!t.objectMode){a=new TypeError("Invalid non-string/buffer chunk")}if(a){e.emit("error",a);o.nextTick(n,a);i=false}return i}x.prototype.write=function(e,t,r){var n=this._writableState;var i=false;var o=!n.objectMode&&g(e);if(o&&!h.isBuffer(e)){e=m(e)}if(typeof t==="function"){r=t;t=null}if(o)t="buffer";else if(!t)t=n.defaultEncoding;if(typeof r!=="function")r=v;if(n.ended)E(this,r);else if(o||_(this,n,e,r)){n.pendingcb++;i=S(this,n,o,e,t,r)}return i};x.prototype.cork=function(){var e=this._writableState;e.corked++};x.prototype.uncork=function(){var e=this._writableState;if(e.corked){e.corked--;if(!e.writing&&!e.corked&&!e.finished&&!e.bufferProcessing&&e.bufferedRequest)j(this,e)}};x.prototype.setDefaultEncoding=function e(t){if(typeof t==="string")t=t.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+t);this._writableState.defaultEncoding=t;return this};function k(e,t,r){if(!e.objectMode&&e.decodeStrings!==false&&typeof t==="string"){t=h.from(t,r)}return t}Object.defineProperty(x.prototype,"writableHighWaterMark",{enumerable:false,get:function(){return this._writableState.highWaterMark}});function S(e,t,r,n,i,o){if(!r){var a=k(t,n,i);if(n!==a){r=true;i="buffer";n=a}}var s=t.objectMode?1:n.length;t.length+=s;var f=t.length>5===6)return 2;else if(e>>4===14)return 3;else if(e>>3===30)return 4;return e>>6===2?-1:-2}function u(e,t,r){var n=t.length-1;if(n=0){if(i>0)e.lastNeed=i-1;return i}if(--n=0){if(i>0)e.lastNeed=i-2;return i}if(--n=0){if(i>0){if(i===2)i=0;else e.lastNeed=i-3}return i}return 0}function l(e,t,r){if((t[0]&192)!==128){e.lastNeed=0;return"�"}if(e.lastNeed>1&&t.length>1){if((t[1]&192)!==128){e.lastNeed=1;return"�"}if(e.lastNeed>2&&t.length>2){if((t[2]&192)!==128){e.lastNeed=2;return"�"}}}}function c(e){var t=this.lastTotal-this.lastNeed;var r=l(this,e,t);if(r!==undefined)return r;if(this.lastNeed<=e.length){e.copy(this.lastChar,t,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}e.copy(this.lastChar,t,0,e.length);this.lastNeed-=e.length}function p(e,t){var r=u(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);e.copy(this.lastChar,0,n);return e.toString("utf8",t,n)}function h(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed)return t+"�";return t}function d(e,t){if((e.length-t)%2===0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319){this.lastNeed=2;this.lastTotal=4;this.lastChar[0]=e[e.length-2];this.lastChar[1]=e[e.length-1];return r.slice(0,-1)}}return r}this.lastNeed=1;this.lastTotal=2;this.lastChar[0]=e[e.length-1];return e.toString("utf16le",t,e.length-1)}function m(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function g(e,t){var r=(e.length-t)%3;if(r===0)return e.toString("base64",t);this.lastNeed=3-r;this.lastTotal=3;if(r===1){this.lastChar[0]=e[e.length-1]}else{this.lastChar[0]=e[e.length-2];this.lastChar[1]=e[e.length-1]}return e.toString("base64",t,e.length-r)}function y(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed)return t+this.lastChar.toString("base64",0,3-this.lastNeed);return t}function v(e){return e.toString(this.encoding)}function w(e){return e&&e.length?this.write(e):""}},441:function(e,t,r){"use strict";e.exports=a;var n=r(437);var i=r(432);i.inherits=r(10);i.inherits(a,n);function o(e,t){var r=this._transformState;r.transforming=false;var n=r.writecb;if(!n){return this.emit("error",new Error("write callback called multiple times"))}r.writechunk=null;r.writecb=null;if(t!=null)this.push(t);n(e);var i=this._readableState;i.reading=false;if(i.needReadable||i.length1)){return}const r=strtok3.fromBuffer(t);return fromTokenizer(r)}function _check(e,t,r){r={offset:0,...r};for(const[n,i]of t.entries()){if(r.mask){if(i!==(r.mask[n]&e[n+r.offset])){return false}}else if(i!==e[n+r.offset]){return false}}return true}async function _checkSequence(e,t,r){const n=Buffer.alloc(minimumBytes);await t.ignore(r);await t.peekBuffer(n,{mayBeLess:true});return n.includes(Buffer.from(e))}async function fromTokenizer(e){try{return _fromTokenizer(e)}catch(e){if(!(e instanceof strtok3.EndOfStreamError)){throw e}}}async function _fromTokenizer(e){let t=Buffer.alloc(minimumBytes);const r=12;const n=(e,r)=>_check(t,e,r);const i=(e,t)=>n(stringToBytes(e),t);const o=(t,r)=>_checkSequence(t,e,r);if(!e.fileInfo.size){e.fileInfo.size=Number.MAX_SAFE_INTEGER}await e.peekBuffer(t,{length:r,mayBeLess:true});if(n([66,77])){return{ext:"bmp",mime:"image/bmp"}}if(n([11,119])){return{ext:"ac3",mime:"audio/vnd.dolby.dd-raw"}}if(n([120,1])){return{ext:"dmg",mime:"application/x-apple-diskimage"}}if(n([77,90])){return{ext:"exe",mime:"application/x-msdownload"}}if(n([37,33])){await e.peekBuffer(t,{length:24,mayBeLess:true});if(i("PS-Adobe-",{offset:2})&&i(" EPSF-",{offset:14})){return{ext:"eps",mime:"application/eps"}}return{ext:"ps",mime:"application/postscript"}}if(n([31,160])||n([31,157])){return{ext:"Z",mime:"application/x-compress"}}if(n([255,216,255])){return{ext:"jpg",mime:"image/jpeg"}}if(n([73,73,188])){return{ext:"jxr",mime:"image/vnd.ms-photo"}}if(n([31,139,8])){return{ext:"gz",mime:"application/gzip"}}if(n([66,90,104])){return{ext:"bz2",mime:"application/x-bzip2"}}if(i("ID3")){await e.ignore(6);const t=await e.readToken(uint32SyncSafeToken);if(e.position+t>e.fileInfo.size){return{ext:"mp3",mime:"audio/mpeg"}}await e.ignore(t);return fromTokenizer(e)}if(i("MP+")){return{ext:"mpc",mime:"audio/x-musepack"}}if((t[0]===67||t[0]===70)&&n([87,83],{offset:1})){return{ext:"swf",mime:"application/x-shockwave-flash"}}if(n([71,73,70])){return{ext:"gif",mime:"image/gif"}}if(i("FLIF")){return{ext:"flif",mime:"image/flif"}}if(i("8BPS")){return{ext:"psd",mime:"image/vnd.adobe.photoshop"}}if(i("WEBP",{offset:8})){return{ext:"webp",mime:"image/webp"}}if(i("MPCK")){return{ext:"mpc",mime:"audio/x-musepack"}}if(i("FORM")){return{ext:"aif",mime:"audio/aiff"}}if(i("icns",{offset:0})){return{ext:"icns",mime:"image/icns"}}if(n([80,75,3,4])){try{while(e.position+30>=1}const i=Buffer.alloc(n+1);await e.readBuffer(i);return i}async function s(){const e=await a();const t=await a();t[0]^=128>>t.length-1;const r=Math.min(6,t.length);return{id:e.readUIntBE(0,e.length),len:t.readUIntBE(t.length-r,r)}}async function f(t,r){while(r>0){const t=await s();if(t.id===17026){return e.readToken(new Token.StringType(t.len,"utf-8"))}await e.ignore(t.len);--r}}const t=await s();const r=await f(1,t.len);switch(r){case"webm":return{ext:"webm",mime:"video/webm"};case"matroska":return{ext:"mkv",mime:"video/x-matroska"};default:return}}if(n([82,73,70,70])){if(n([65,86,73],{offset:8})){return{ext:"avi",mime:"video/vnd.avi"}}if(n([87,65,86,69],{offset:8})){return{ext:"wav",mime:"audio/vnd.wave"}}if(n([81,76,67,77],{offset:8})){return{ext:"qcp",mime:"audio/qcelp"}}}if(i("SQLi")){return{ext:"sqlite",mime:"application/x-sqlite3"}}if(n([78,69,83,26])){return{ext:"nes",mime:"application/x-nintendo-nes-rom"}}if(i("Cr24")){return{ext:"crx",mime:"application/x-google-chrome-extension"}}if(i("MSCF")||i("ISc(")){return{ext:"cab",mime:"application/vnd.ms-cab-compressed"}}if(n([237,171,238,219])){return{ext:"rpm",mime:"application/x-rpm"}}if(n([197,208,211,198])){return{ext:"eps",mime:"application/eps"}}if(n([79,84,84,79,0])){return{ext:"otf",mime:"font/otf"}}if(i("#!AMR")){return{ext:"amr",mime:"audio/amr"}}if(i("{\\rtf")){return{ext:"rtf",mime:"application/rtf"}}if(n([70,76,86,1])){return{ext:"flv",mime:"video/x-flv"}}if(i("IMPM")){return{ext:"it",mime:"audio/x-it"}}if(i("-lh0-",{offset:2})||i("-lh1-",{offset:2})||i("-lh2-",{offset:2})||i("-lh3-",{offset:2})||i("-lh4-",{offset:2})||i("-lh5-",{offset:2})||i("-lh6-",{offset:2})||i("-lh7-",{offset:2})||i("-lzs-",{offset:2})||i("-lz4-",{offset:2})||i("-lz5-",{offset:2})||i("-lhd-",{offset:2})){return{ext:"lzh",mime:"application/x-lzh-compressed"}}if(n([0,0,1,186])){if(n([33],{offset:4,mask:[241]})){return{ext:"mpg",mime:"video/MP1S"}}if(n([68],{offset:4,mask:[196]})){return{ext:"mpg",mime:"video/MP2P"}}}if(n([253,55,122,88,90,0])){return{ext:"xz",mime:"application/x-xz"}}if(i("")){await e.ignore(8);const t=await e.readToken(new Token.StringType(13,"ascii"));if(t==="debian-binary"){return{ext:"deb",mime:"application/x-deb"}}return{ext:"ar",mime:"application/x-unix-archive"}}if(n([137,80,78,71,13,10,26,10])){await e.ignore(8);async function u(){return{length:await e.readToken(Token.INT32_BE),type:await e.readToken(new Token.StringType(4,"binary"))}}do{const t=await u();switch(t.type){case"IDAT":return{ext:"png",mime:"image/png"};case"acTL":return{ext:"apng",mime:"image/apng"};default:await e.ignore(t.length+4)}}while(e.position=e+2&&n([255,224],{offset:e,mask:[255,224]})){if(n([16],{offset:e+1,mask:[22]})){if(n([8],{offset:e+1,mask:[8]})){return{ext:"aac",mime:"audio/aac"}}return{ext:"aac",mime:"audio/aac"}}if(n([2],{offset:e+1,mask:[6]})){return{ext:"mp3",mime:"audio/mpeg"}}if(n([4],{offset:e+1,mask:[6]})){return{ext:"mp2",mime:"audio/mpeg"}}if(n([6],{offset:e+1,mask:[6]})){return{ext:"mp1",mime:"audio/mpeg"}}}}}const stream=readableStream=>new Promise((resolve,reject)=>{const stream=eval("require")("stream");readableStream.on("error",reject);readableStream.once("readable",async()=>{const e=new stream.PassThrough;let t;if(stream.pipeline){t=stream.pipeline(readableStream,e,()=>{})}else{t=readableStream.pipe(e)}const r=readableStream.read(minimumBytes)||readableStream.read()||Buffer.alloc(0);try{const t=await fromBuffer(r);e.fileType=t}catch(e){reject(e)}resolve(t)})});const fileType={fromStream:fromStream,fromTokenizer:fromTokenizer,fromBuffer:fromBuffer,stream:stream};Object.defineProperty(fileType,"extensions",{get(){return new Set(supported.extensions)}});Object.defineProperty(fileType,"mimeTypes",{get(){return new Set(supported.mimeTypes)}});module.exports=fileType}).call(this,__webpack_require__(429).Buffer)},450:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(12);const i=r(431);t.UINT8={len:1,get(e,t){return e.readUInt8(t)},put(e,t,r){n.equal(typeof t,"number");n.equal(typeof r,"number");n.ok(r>=0&&r<=255);n.ok(t>=0);n.ok(this.len<=e.length);return e.writeUInt8(r,t)}};t.UINT16_LE={len:2,get(e,t){return e.readUInt16LE(t)},put(e,t,r){n.equal(typeof t,"number");n.equal(typeof r,"number");n.ok(r>=0&&r<=65535);n.ok(t>=0);n.ok(this.len<=e.length);return e.writeUInt16LE(r,t)}};t.UINT16_BE={len:2,get(e,t){return e.readUInt16BE(t)},put(e,t,r){n.equal(typeof t,"number");n.equal(typeof r,"number");n.ok(r>=0&&r<=65535);n.ok(t>=0);n.ok(this.len<=e.length);return e.writeUInt16BE(r,t)}};t.UINT24_LE={len:3,get(e,t){return e.readUIntLE(t,3)},put(e,t,r){n.equal(typeof t,"number");n.equal(typeof r,"number");n.ok(r>=0&&r<=16777215);n.ok(t>=0);n.ok(this.len<=e.length);return e.writeUIntLE(r,t,3)}};t.UINT24_BE={len:3,get(e,t){return e.readUIntBE(t,3)},put(e,t,r){n.equal(typeof t,"number");n.equal(typeof r,"number");n.ok(r>=0&&r<=16777215);n.ok(t>=0);n.ok(this.len<=e.length);return e.writeUIntBE(r,t,3)}};t.UINT32_LE={len:4,get(e,t){return e.readUInt32LE(t)},put(e,t,r){n.equal(typeof t,"number");n.equal(typeof r,"number");n.ok(r>=0&&r<=4294967295);n.ok(t>=0);n.ok(this.len<=e.length);return e.writeUInt32LE(r,t)}};t.UINT32_BE={len:4,get(e,t){return e.readUInt32BE(t)},put(e,t,r){n.equal(typeof t,"number");n.equal(typeof r,"number");n.ok(r>=0&&r<=4294967295);n.ok(t>=0);n.ok(this.len<=e.length);return e.writeUInt32BE(r,t)}};t.INT8={len:1,get(e,t){return e.readInt8(t)},put(e,t,r){n.equal(typeof t,"number");n.equal(typeof r,"number");n.ok(r>=-128&&r<=127);n.ok(t>=0);n.ok(this.len<=e.length);return e.writeInt8(r,t)}};t.INT16_BE={len:2,get(e,t){return e.readInt16BE(t)},put(e,t,r){n.equal(typeof t,"number");n.equal(typeof r,"number");n.ok(r>=-32768&&r<=32767);n.ok(t>=0);n.ok(this.len<=e.length);return e.writeInt16BE(r,t)}};t.INT16_LE={len:2,get(e,t){return e.readInt16LE(t)},put(e,t,r){n.equal(typeof t,"number");n.equal(typeof r,"number");n.ok(r>=-32768&&r<=32767);n.ok(t>=0);n.ok(this.len<=e.length);return e.writeInt16LE(r,t)}};t.INT24_LE={len:3,get(e,t){return e.readIntLE(t,3)},put(e,t,r){n.equal(typeof t,"number");n.equal(typeof r,"number");n.ok(r>=-8388608&&r<=8388607);n.ok(t>=0);n.ok(this.len<=e.length);return e.writeIntLE(r,t,3)}};t.INT24_BE={len:3,get(e,t){return e.readIntBE(t,3)},put(e,t,r){n.equal(typeof t,"number");n.equal(typeof r,"number");n.ok(r>=-8388608&&r<=8388607);n.ok(t>=0);n.ok(this.len<=e.length);return e.writeIntBE(r,t,3)}};t.INT32_BE={len:4,get(e,t){return e.readInt32BE(t)},put(e,t,r){n.equal(typeof t,"number");n.equal(typeof r,"number");n.ok(r>=-2147483648&&r<=2147483647);n.ok(t>=0);n.ok(this.len<=e.length);return e.writeInt32BE(r,t)}};t.INT32_LE={len:4,get(e,t){return e.readInt32LE(t)},put(e,t,r){n.equal(typeof t,"number");n.equal(typeof r,"number");n.ok(r>=-2147483648&&r<=2147483647);n.ok(t>=0);n.ok(this.len<=e.length);return e.writeInt32LE(r,t)}};t.UINT64_LE={len:8,get(e,t){return u(e,t,this.len)},put(e,t,r){return l(e,r,t,this.len)}};t.INT64_LE={len:8,get(e,t){return c(e,t,this.len)},put(e,t,r){return p(e,r,t,this.len)}};t.UINT64_BE={len:8,get(e,t){return h(e,t,this.len)},put(e,t,r){return d(e,r,t,this.len)}};t.INT64_BE={len:8,get(e,t){return m(e,t,this.len)},put(e,t,r){return g(e,r,t,this.len)}};t.Float16_BE={len:2,get(e,t){return i.read(e,t,false,10,this.len)},put(e,t,r){return i.write(e,r,t,false,10,this.len)}};t.Float16_LE={len:2,get(e,t){return i.read(e,t,true,10,this.len)},put(e,t,r){return i.write(e,r,t,true,10,this.len)}};t.Float32_BE={len:4,get(e,t){return e.readFloatBE(t)},put(e,t,r){return e.writeFloatBE(r,t)}};t.Float32_LE={len:4,get(e,t){return e.readFloatLE(t)},put(e,t,r){return e.writeFloatLE(r,t)}};t.Float64_BE={len:8,get(e,t){return e.readDoubleBE(t)},put(e,t,r){return e.writeDoubleBE(r,t)}};t.Float64_LE={len:8,get(e,t){return e.readDoubleLE(t)},put(e,t,r){return e.writeDoubleLE(r,t)}};t.Float80_BE={len:10,get(e,t){return i.read(e,t,false,63,this.len)},put(e,t,r){return i.write(e,r,t,false,63,this.len)}};t.Float80_LE={len:10,get(e,t){return i.read(e,t,true,63,this.len)},put(e,t,r){return i.write(e,r,t,true,63,this.len)}};class o{constructor(e){this.len=e}get(e,t){}}t.IgnoreType=o;class a{constructor(e){this.len=e}get(e,t){return e.slice(t,t+this.len)}}t.BufferType=a;class s{constructor(e,t){this.len=e;this.encoding=t}get(e,t){return e.toString(this.encoding,t,t+this.len)}}t.StringType=s;class f{constructor(e){this.len=e}static decode(e,t,r){let n="";for(let i=t;i>10)+55296,(e&1023)+56320)}}static singleByteDecoder(e){if(f.inRange(e,0,127)){return e}const t=f.windows1252[e-128];if(t===null){throw Error("invaliding encoding")}return t}get(e,t=0){return f.decode(e,t,t+this.len)}}t.AnsiStringType=f;f.windows1252=[8364,129,8218,402,8222,8230,8224,8225,710,8240,352,8249,338,141,381,143,144,8216,8217,8220,8221,8226,8211,8212,732,8482,353,8250,339,157,382,376,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255];function u(e,t,r){t=t>>>0;r=r>>>0;let n=e[t];let i=1;let o=0;while(++o>>0;n=n>>>0;let i=1;let o=0;e[r]=t&255;while(++o>>0;r=r>>>0;let n=e[t];let i=1;let o=0;while(++o=i)n-=Math.pow(2,8*r);return n}function p(e,t,r,n){t=+t;r=r>>>0;let i=0;let o=1;let a=0;e[r]=t&255;while(++i>0)-a&255}return r+n}t.writeIntLE=p;function h(e,t,r){t=t>>>0;r=r>>>0;let n=e[t+--r];let i=1;while(r>0&&(i*=256)){n+=e[t+--r]*i}return n}t.readUIntBE=h;function d(e,t,r,n){t=+t;r=r>>>0;n=n>>>0;let i=n-1;let o=1;e[r+i]=t&255;while(--i>=0&&(o*=256)){e[r+i]=t/o&255}return r+n}t.writeUIntBE=d;function m(e,t,r){t=t>>>0;r=r>>>0;let n=r;let i=1;let o=e[t+--n];while(n>0&&(i*=256)){o+=e[t+--n]*i}i*=128;if(o>=i)o-=Math.pow(2,8*r);return o}t.readIntBE=m;function g(e,t,r,n){t=+t;r=r>>>0;let i=n-1;let o=1;let a=0;e[r+i]=t&255;while(--i>=0&&(o*=256)){if(t<0&&a===0&&e[r+i+1]!==0){a=1}e[r+i]=(t/o>>0)-a&255}return r+n}t.writeIntBE=g},451:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(452);const i=r(465);var o=r(454);t.EndOfStreamError=o.EndOfStreamError;function a(e,t){t=t?t:{};return new n.ReadStreamTokenizer(e,t)}t.fromStream=a;function s(e,t){return new i.BufferTokenizer(e,t)}t.fromBuffer=s},452:function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:true});const n=r(453);const i=r(454);const o=r(456);const a=o("strtok3:ReadStreamTokenizer");const s=1*1e3*1e3;class f extends n.AbstractTokenizer{constructor(e,t){super(t);this.streamReader=new i.StreamReader(e)}async getFileInfo(){return this.fileInfo}async readBuffer(e,t){let r=0;let n=e.length;if(t){if(Number.isInteger(t.length)){n=t.length}else{n-=t.offset||0}if(t.position){const r=t.position-this.position;if(r>0){await this.ignore(r);return this.readBuffer(e,t)}else if(r<0){throw new Error("`options.position` can be less than `tokenizer.position`")}}if(t.offset){r=t.offset}}if(n===0){return 0}const o=await this.streamReader.read(e,r,n);this.position+=o;if((!t||!t.mayBeLess)&&o0){const s=e.alloc(a+i);o=await this.peekBuffer(s,{mayBeLess:r.mayBeLess});s.copy(t,n,i);return o-i}else if(i<0){throw new Error("Cannot peek from a negative offset in a stream")}}}o=await this.streamReader.peek(t,n,a);if((!r||!r.mayBeLess)&&o{this.reject=t;this.resolve=e})}}const s=1*1024*1024;class f{constructor(e){this.s=e;this.endOfStream=false;this.peekQueue=[];if(!e.read||!e.once){throw new Error("Expected an instance of stream.Readable")}this.s.once("end",()=>this.reject(new i.EndOfStreamError));this.s.once("error",e=>this.reject(e));this.s.once("close",()=>this.reject(new Error("Stream closed")))}async peek(e,t,r){const n=await this.read(e,t,r);this.peekQueue.push(e.slice(t,t+n));return n}async read(e,t,r){if(r===0){return 0}if(this.peekQueue.length===0&&this.endOfStream){throw new i.EndOfStreamError}let n=r;let o=0;while(this.peekQueue.length>0&&n>0){const r=this.peekQueue.pop();const i=Math.min(r.length,n);r.copy(e,t+o,0,i);o+=i;n-=i;if(i0&&!this.endOfStream){const r=Math.min(n,s);const i=await this._read(e,t+o,r);o+=i;if(i{this.tryRead()});return this.request.deferred.promise.then(e=>{this.request=null;return e},e=>{this.request=null;throw e})}}tryRead(){const e=this.s.read(this.request.length);if(e){e.copy(this.request.buffer,this.request.offset);this.request.deferred.resolve(e.length)}else{this.s.once("readable",()=>{this.tryRead()})}}reject(e){this.endOfStream=true;if(this.request){this.request.deferred.reject(e);this.request=null}}}t.StreamReader=f},455:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.defaultMessages="End-Of-Stream";class n extends Error{constructor(){super(t.defaultMessages)}}t.EndOfStreamError=n},456:function(e,t,r){(function(t){if(typeof t==="undefined"||t.type==="renderer"||t.browser===true||t.__nwjs){e.exports=r(457)}else{e.exports=r(460)}}).call(this,r(8))},457:function(e,t,r){(function(n,i){t.log=s;t.formatArgs=a;t.save=f;t.load=u;t.useColors=o;t.storage=l();t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function o(){if(typeof window!=="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)){return true}if(typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)){return false}return typeof document!=="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function a(t){t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff);if(!this.useColors){return}const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0;let i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{if(e==="%%"){return}n++;if(e==="%c"){i=n}});t.splice(i,0,r)}function s(...e){return typeof n==="object"&&n.log&&n.log(...e)}function f(e){try{if(e){t.storage.setItem("debug",e)}else{t.storage.removeItem("debug")}}catch(e){}}function u(){let e;try{e=t.storage.getItem("debug")}catch(e){}if(!e&&typeof i!=="undefined"&&"env"in i){e=i.env.DEBUG}return e}function l(){try{return localStorage}catch(e){}}e.exports=r(458)(t);const{formatters:c}=e.exports;c.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}).call(this,r(5),r(8))},458:function(e,t,r){function n(e){n.debug=n;n.default=n;n.coerce=l;n.disable=s;n.enable=a;n.enabled=f;n.humanize=r(459);Object.keys(e).forEach(t=>{n[t]=e[t]});n.instances=[];n.names=[];n.skips=[];n.formatters={};function t(e){let t=0;for(let r=0;r{if(r==="%%"){return r}s++;const o=n.formatters[i];if(typeof o==="function"){const n=e[s];r=o.call(t,n);e.splice(s,1);s--}return r});n.formatArgs.call(t,e);const f=t.log||n.log;f.apply(t,e)}a.namespace=e;a.enabled=n.enabled(e);a.useColors=n.useColors();a.color=t(e);a.destroy=i;a.extend=o;if(typeof n.init==="function"){n.init(a)}n.instances.push(a);return a}function i(){const e=n.instances.indexOf(this);if(e!==-1){n.instances.splice(e,1);return true}return false}function o(e,t){const r=n(this.namespace+(typeof t==="undefined"?":":t)+e);r.log=this.log;return r}function a(e){n.save(e);n.names=[];n.skips=[];let t;const r=(typeof e==="string"?e:"").split(/[\s,]+/);const i=r.length;for(t=0;t"-"+e)].join(",");n.enable("");return e}function f(e){if(e[e.length-1]==="*"){return true}let t;let r;for(t=0,r=n.skips.length;t0){return f(e)}else if(r==="number"&&isFinite(e)){return t.long?l(e):u(e)}throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function f(e){e=String(e);if(e.length>100){return}var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t){return}var f=parseFloat(t[1]);var u=(t[2]||"ms").toLowerCase();switch(u){case"years":case"year":case"yrs":case"yr":case"y":return f*s;case"weeks":case"week":case"w":return f*a;case"days":case"day":case"d":return f*o;case"hours":case"hour":case"hrs":case"hr":case"h":return f*i;case"minutes":case"minute":case"mins":case"min":case"m":return f*n;case"seconds":case"second":case"secs":case"sec":case"s":return f*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return f;default:return undefined}}function u(e){var t=Math.abs(e);if(t>=o){return Math.round(e/o)+"d"}if(t>=i){return Math.round(e/i)+"h"}if(t>=n){return Math.round(e/n)+"m"}if(t>=r){return Math.round(e/r)+"s"}return e+"ms"}function l(e){var t=Math.abs(e);if(t>=o){return c(e,t,o,"day")}if(t>=i){return c(e,t,i,"hour")}if(t>=n){return c(e,t,n,"minute")}if(t>=r){return c(e,t,r,"second")}return e+" ms"}function c(e,t,r,n){var i=t>=r*1.5;return Math.round(e/r)+" "+n+(i?"s":"")}},460:function(e,t,r){(function(n){const i=r(461);const o=r(7);t.init=p;t.log=u;t.formatArgs=s;t.save=l;t.load=c;t.useColors=a;t.colors=[6,2,3,4,5,1];try{const e=r(462);if(e&&(e.stderr||e).level>=2){t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}}catch(e){}t.inspectOpts=Object.keys(n.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{const r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(e,t)=>t.toUpperCase());let i=n.env[t];if(/^(yes|on|true|enabled)$/i.test(i)){i=true}else if(/^(no|off|false|disabled)$/i.test(i)){i=false}else if(i==="null"){i=null}else{i=Number(i)}e[r]=i;return e},{});function a(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):i.isatty(n.stderr.fd)}function s(t){const{namespace:r,useColors:n}=this;if(n){const n=this.color;const i="[3"+(n<8?n:"8;5;"+n);const o=` ${i};1m${r} `;t[0]=o+t[0].split("\n").join("\n"+o);t.push(i+"m+"+e.exports.humanize(this.diff)+"")}else{t[0]=f()+r+" "+t[0]}}function f(){if(t.inspectOpts.hideDate){return""}return(new Date).toISOString()+" "}function u(...e){return n.stderr.write(o.format(...e)+"\n")}function l(e){if(e){n.env.DEBUG=e}else{delete n.env.DEBUG}}function c(){return n.env.DEBUG}function p(e){e.inspectOpts={};const r=Object.keys(t.inspectOpts);for(let n=0;n=2,has16m:e>=3}}function f(e){if(a===false){return 0}if(i("color=16m")||i("color=full")||i("color=truecolor")){return 3}if(i("color=256")){return 2}if(e&&!e.isTTY&&a!==true){return 0}const r=a?1:0;if(t.platform==="win32"){const e=n.release().split(".");if(Number(t.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586){return Number(e[2])>=14931?3:2}return 1}if("CI"in o){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(e=>e in o)||o.CI_NAME==="codeship"){return 1}return r}if("TEAMCITY_VERSION"in o){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(o.TEAMCITY_VERSION)?1:0}if(o.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in o){const e=parseInt((o.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(o.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(o.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(o.TERM)){return 1}if("COLORTERM"in o){return 1}if(o.TERM==="dumb"){return r}return r}function u(e){const t=f(e);return s(t)}e.exports={supportsColor:u,stdout:u(t.stdout),stderr:u(t.stderr)}}).call(this,r(8))},463:function(e,t){t.endianness=function(){return"LE"};t.hostname=function(){if(typeof location!=="undefined"){return location.hostname}else return""};t.loadavg=function(){return[]};t.uptime=function(){return 0};t.freemem=function(){return Number.MAX_VALUE};t.totalmem=function(){return Number.MAX_VALUE};t.cpus=function(){return[]};t.type=function(){return"Browser"};t.release=function(){if(typeof navigator!=="undefined"){return navigator.appVersion}return""};t.networkInterfaces=t.getNetworkInterfaces=function(){return{}};t.arch=function(){return"javascript"};t.platform=function(){return"browser"};t.tmpdir=t.tmpDir=function(){return"/tmp"};t.EOL="\n";t.homedir=function(){return"/"}},464:function(e,t,r){"use strict";(function(t){e.exports=(e,r)=>{r=r||t.argv;const n=e.startsWith("-")?"":e.length===1?"-":"--";const i=r.indexOf(n+e);const o=r.indexOf("--");return i!==-1&&(o===-1?true:i{this.position+=e;return e})}async peekBuffer(e,t){let r=0;let i=e.length;let o=this.position;if(t){if(t.position){if(t.position[...e].map(e=>e.charCodeAt(0));const n=(e,t,r)=>String.fromCharCode(...e.slice(t,r));t.tarHeaderChecksumMatches=e=>{if(e.length<512){return false}const t=128;let r=256;let i=0;for(let n=0;n<148;n++){const o=e[n];r+=o;i+=o&t}for(let n=156;n<512;n++){const o=e[n];r+=o;i+=o&t}const o=parseInt(n(e,148,154),8);return o===r||o===r-(i<<1)};t.uint8ArrayUtf8ByteString=n;t.uint32SyncSafeToken={get:(e,t)=>e[t+3]&127|e[t+2]<<7|e[t+1]<<14|e[t]<<21,len:4}},467:function(e,t,r){"use strict";e.exports={extensions:["jpg","png","apng","gif","webp","flif","cr2","cr3","orf","arw","dng","nef","rw2","raf","tif","bmp","icns","jxr","psd","zip","tar","rar","gz","bz2","7z","dmg","mp4","mid","mkv","webm","mov","avi","mpg","mp2","mp3","m4a","oga","ogg","ogv","opus","flac","wav","spx","amr","pdf","epub","exe","swf","rtf","wasm","woff","woff2","eot","ttf","otf","ico","flv","ps","xz","sqlite","nes","crx","xpi","cab","deb","ar","rpm","Z","lz","msi","mxf","mts","blend","bpg","docx","pptx","xlsx","3gp","3g2","jp2","jpm","jpx","mj2","aif","qcp","odt","ods","odp","xml","mobi","heic","cur","ktx","ape","wv","wmv","wma","dcm","ics","glb","pcap","dsf","lnk","alias","voc","ac3","m4v","m4p","m4b","f4v","f4p","f4b","f4a","mie","asf","ogm","ogx","mpc","arrow","shp","aac","mp1","it","s3m","xm","ai","skp","avif","eps","lzh"],mimeTypes:["image/jpeg","image/png","image/gif","image/webp","image/flif","image/x-canon-cr2","image/x-canon-cr3","image/tiff","image/bmp","image/vnd.ms-photo","image/vnd.adobe.photoshop","application/epub+zip","application/x-xpinstall","application/vnd.oasis.opendocument.text","application/vnd.oasis.opendocument.spreadsheet","application/vnd.oasis.opendocument.presentation","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.openxmlformats-officedocument.presentationml.presentation","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/zip","application/x-tar","application/x-rar-compressed","application/gzip","application/x-bzip2","application/x-7z-compressed","application/x-apple-diskimage","application/x-apache-arrow","video/mp4","audio/midi","video/x-matroska","video/webm","video/quicktime","video/vnd.avi","audio/vnd.wave","audio/qcelp","audio/x-ms-wma","video/x-ms-asf","application/vnd.ms-asf","video/mpeg","video/3gpp","audio/mpeg","audio/mp4","audio/opus","video/ogg","audio/ogg","application/ogg","audio/x-flac","audio/ape","audio/wavpack","audio/amr","application/pdf","application/x-msdownload","application/x-shockwave-flash","application/rtf","application/wasm","font/woff","font/woff2","application/vnd.ms-fontobject","font/ttf","font/otf","image/x-icon","video/x-flv","application/postscript","application/eps","application/x-xz","application/x-sqlite3","application/x-nintendo-nes-rom","application/x-google-chrome-extension","application/vnd.ms-cab-compressed","application/x-deb","application/x-unix-archive","application/x-rpm","application/x-compress","application/x-lzip","application/x-msi","application/x-mie","application/mxf","video/mp2t","application/x-blender","image/bpg","image/jp2","image/jpx","image/jpm","image/mj2","audio/aiff","application/xml","application/x-mobipocket-ebook","image/heif","image/heif-sequence","image/heic","image/heic-sequence","image/icns","image/ktx","application/dicom","audio/x-musepack","text/calendar","model/gltf-binary","application/vnd.tcpdump.pcap","audio/x-dsf","application/x.ms.shortcut","application/x.apple.alias","audio/x-voc","audio/vnd.dolby.dd-raw","audio/x-m4a","image/apng","image/x-olympus-orf","image/x-sony-arw","image/x-adobe-dng","image/x-nikon-nef","image/x-panasonic-rw2","image/x-fujifilm-raf","video/x-m4v","video/3gpp2","application/x-esri-shape","audio/aac","audio/x-it","audio/x-s3m","audio/x-xm","video/MP1S","video/MP2P","application/vnd.sketchup.skp","image/avif","application/x-lzh-compressed"]}},5:function(e,t,r){(function(t){var n=r(7);var i=r(12);function o(){return(new Date).getTime()}var a=Array.prototype.slice;var s;var f={};if(typeof t!=="undefined"&&t.console){s=t.console}else if(typeof window!=="undefined"&&window.console){s=window.console}else{s={}}var u=[[d,"log"],[m,"info"],[g,"warn"],[y,"error"],[v,"time"],[w,"timeEnd"],[b,"trace"],[x,"dir"],[E,"assert"]];for(var l=0;l=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}}));for(var s=n[r];r=3)n.depth=arguments[2];if(arguments.length>=4)n.colors=arguments[3];if(w(r)){n.showHidden=r}else if(r){t._extend(n,r)}if(S(n.showHidden))n.showHidden=false;if(S(n.depth))n.depth=2;if(S(n.colors))n.colors=false;if(S(n.customInspect))n.customInspect=true;if(n.colors)n.stylize=u;return p(n,e,n.depth)}t.inspect=f;f.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};f.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function u(e,t){var r=f.styles[t];if(r){return"["+f.colors[r][0]+"m"+e+"["+f.colors[r][1]+"m"}else{return e}}function l(e,t){return e}function c(e){var t={};e.forEach((function(e,r){t[e]=true}));return t}function p(e,r,n){if(e.customInspect&&r&&R(r.inspect)&&r.inspect!==t.inspect&&!(r.constructor&&r.constructor.prototype===r)){var i=r.inspect(n,e);if(!_(i)){i=p(e,i,n)}return i}var o=h(e,r);if(o){return o}var a=Object.keys(r);var s=c(a);if(e.showHidden){a=Object.getOwnPropertyNames(r)}if(B(r)&&(a.indexOf("message")>=0||a.indexOf("description")>=0)){return d(r)}if(a.length===0){if(R(r)){var f=r.name?": "+r.name:"";return e.stylize("[Function"+f+"]","special")}if(T(r)){return e.stylize(RegExp.prototype.toString.call(r),"regexp")}if(O(r)){return e.stylize(Date.prototype.toString.call(r),"date")}if(B(r)){return d(r)}}var u="",l=false,w=["{","}"];if(v(r)){l=true;w=["[","]"]}if(R(r)){var b=r.name?": "+r.name:"";u=" [Function"+b+"]"}if(T(r)){u=" "+RegExp.prototype.toString.call(r)}if(O(r)){u=" "+Date.prototype.toUTCString.call(r)}if(B(r)){u=" "+d(r)}if(a.length===0&&(!l||r.length==0)){return w[0]+u+w[1]}if(n<0){if(T(r)){return e.stylize(RegExp.prototype.toString.call(r),"regexp")}else{return e.stylize("[Object]","special")}}e.seen.push(r);var x;if(l){x=m(e,r,n,s,a)}else{x=a.map((function(t){return g(e,r,n,s,t,l)}))}e.seen.pop();return y(x,u,w)}function h(e,t){if(S(t))return e.stylize("undefined","undefined");if(_(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(E(t))return e.stylize(""+t,"number");if(w(t))return e.stylize(""+t,"boolean");if(b(t))return e.stylize("null","null")}function d(e){return"["+Error.prototype.toString.call(e)+"]"}function m(e,t,r,n,i){var o=[];for(var a=0,s=t.length;a-1){if(o){s=s.split("\n").map((function(e){return" "+e})).join("\n").substr(2)}else{s="\n"+s.split("\n").map((function(e){return" "+e})).join("\n")}}}else{s=e.stylize("[Circular]","special")}}if(S(a)){if(o&&i.match(/^\d+$/)){return s}a=JSON.stringify(""+i);if(a.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)){a=a.substr(1,a.length-2);a=e.stylize(a,"name")}else{a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'");a=e.stylize(a,"string")}}return a+": "+s}function y(e,t,r){var n=0;var i=e.reduce((function(e,t){n++;if(t.indexOf("\n")>=0)n++;return e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0);if(i>60){return r[0]+(t===""?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]}return r[0]+t+" "+e.join(", ")+" "+r[1]}function v(e){return Array.isArray(e)}t.isArray=v;function w(e){return typeof e==="boolean"}t.isBoolean=w;function b(e){return e===null}t.isNull=b;function x(e){return e==null}t.isNullOrUndefined=x;function E(e){return typeof e==="number"}t.isNumber=E;function _(e){return typeof e==="string"}t.isString=_;function k(e){return typeof e==="symbol"}t.isSymbol=k;function S(e){return e===void 0}t.isUndefined=S;function T(e){return C(e)&&j(e)==="[object RegExp]"}t.isRegExp=T;function C(e){return typeof e==="object"&&e!==null}t.isObject=C;function O(e){return C(e)&&j(e)==="[object Date]"}t.isDate=O;function B(e){return C(e)&&(j(e)==="[object Error]"||e instanceof Error)}t.isError=B;function R(e){return typeof e==="function"}t.isFunction=R;function A(e){return e===null||typeof e==="boolean"||typeof e==="number"||typeof e==="string"||typeof e==="symbol"||typeof e==="undefined"}t.isPrimitive=A;t.isBuffer=r(9);function j(e){return Object.prototype.toString.call(e)}function I(e){return e<10?"0"+e.toString(10):e.toString(10)}var M=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function L(){var e=new Date;var t=[I(e.getHours()),I(e.getMinutes()),I(e.getSeconds())].join(":");return[e.getDate(),M[e.getMonth()],t].join(" ")}t.log=function(){n.log("%s - %s",L(),t.format.apply(t,arguments))};t.inherits=r(10);t._extend=function(e,t){if(!t||!C(t))return e;var r=Object.keys(t);var n=r.length;while(n--){e[r[n]]=t[r[n]]}return e};function P(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var F=typeof Symbol!=="undefined"?Symbol("util.promisify.custom"):undefined;t.promisify=function e(t){if(typeof t!=="function")throw new TypeError('The "original" argument must be of type Function');if(F&&t[F]){var r=t[F];if(typeof r!=="function"){throw new TypeError('The "util.promisify.custom" argument must be of type Function')}Object.defineProperty(r,F,{value:r,enumerable:false,writable:false,configurable:true});return r}function r(){var e,r;var n=new Promise((function(t,n){e=t;r=n}));var i=[];for(var o=0;o1){for(var r=1;r