Prv8 Shell
Server : Apache
System : Linux vps.urbanovitalino.adv.br 3.10.0-1062.12.1.el7.x86_64 #1 SMP Tue Feb 4 23:02:59 UTC 2020 x86_64
User : urbanovitalinoad ( 1001)
PHP Version : 7.3.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/urbanovitalinoad/public_html/servicedesk/public/lib/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/urbanovitalinoad/public_html/servicedesk/public/lib/file-type.min.js
(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<t.length;r++){t[r]=arguments[r+1]}var o={callback:e,args:t};i[n]=o;s(n);return n++}function u(e){delete i[e]}function l(e){var t=e.callback;var n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(r,n);break}}function c(e){if(o){setTimeout(c,0,e)}else{var t=i[e];if(t){o=true;try{l(t)}finally{u(e);o=false}}}}function p(){s=function(e){t.nextTick((function(){c(e)}))}}function h(){if(e.postMessage&&!e.importScripts){var t=true;var r=e.onmessage;e.onmessage=function(){t=false};e.postMessage("","*");e.onmessage=r;return t}}function d(){var t="setImmediate$"+Math.random()+"$";var r=function(r){if(r.source===e&&typeof r.data==="string"&&r.data.indexOf(t)===0){c(+r.data.slice(t.length))}};if(e.addEventListener){e.addEventListener("message",r,false)}else{e.attachEvent("onmessage",r)}s=function(r){e.postMessage(t+r,"*")}}function m(){var e=new MessageChannel;e.port1.onmessage=function(e){var t=e.data;c(t)};s=function(t){e.port2.postMessage(t)}}function g(){var e=a.documentElement;s=function(t){var r=a.createElement("script");r.onreadystatechange=function(){c(t);r.onreadystatechange=null;e.removeChild(r);r=null};e.appendChild(r)}}function y(){s=function(e){setTimeout(c,0,e)}}var v=Object.getPrototypeOf&&Object.getPrototypeOf(e);v=v&&v.setTimeout?v:e;if({}.toString.call(e.process)==="[object process]"){p()}else if(h()){d()}else if(e.MessageChannel){m()}else if(a&&"onreadystatechange"in a.createElement("script")){g()}else{y()}v.setImmediate=f;v.clearImmediate=u})(typeof self==="undefined"?typeof e==="undefined"?this:e:self)}).call(this,r(6),r(8))},11:function(e,t){if(typeof Object.create==="function"){e.exports=function e(t,r){t.super_=r;t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:false,writable:true,configurable:true}})}}else{e.exports=function e(t,r){t.super_=r;var n=function(){};n.prototype=r.prototype;t.prototype=new n;t.prototype.constructor=t}}},12:function(e,t,r){"use strict";(function(t){var n=r(13);
/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
 * @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<o;++i){if(e[i]!==t[i]){r=e[i];n=t[i];break}}if(r<n){return-1}if(n<r){return 1}return 0}function o(e){if(t.Buffer&&typeof t.Buffer.isBuffer==="function"){return t.Buffer.isBuffer(e)}return!!(e!=null&&e._isBuffer)}var a=r(7);var s=Object.prototype.hasOwnProperty;var f=Array.prototype.slice;var u=function(){return function e(){}.name==="foo"}();function l(e){return Object.prototype.toString.call(e)}function c(e){if(o(e)){return false}if(typeof t.ArrayBuffer!=="function"){return false}if(typeof ArrayBuffer.isView==="function"){return ArrayBuffer.isView(e)}if(!e){return false}if(e instanceof DataView){return true}if(e.buffer&&e.buffer instanceof ArrayBuffer){return true}return false}var p=e.exports=w;var h=/\s*function\s+([^\(\s]*)\s*/;function d(e){if(!a.isFunction(e)){return}if(u){return e.name}var t=e.toString();var r=t.match(h);return r&&r[1]}p.AssertionError=function e(t){this.name="AssertionError";this.actual=t.actual;this.expected=t.expected;this.operator=t.operator;if(t.message){this.message=t.message;this.generatedMessage=false}else{this.message=y(this);this.generatedMessage=true}var r=t.stackStartFunction||v;if(Error.captureStackTrace){Error.captureStackTrace(this,r)}else{var n=new Error;if(n.stack){var i=n.stack;var o=d(r);var a=i.indexOf("\n"+o);if(a>=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<t?e:e.slice(0,t)}else{return e}}function g(e){if(u||!a.isFunction(e)){return a.inspect(e)}var t=d(e);var r=t?": "+t:"";return"[Function"+r+"]"}function y(e){return m(g(e.actual),128)+" "+e.operator+" "+m(g(e.expected),128)}function v(e,t,r,n,i){throw new p.AssertionError({message:r,actual:e,expected:t,operator:n,stackStartFunction:i})}p.fail=v;function w(e,t){if(!e)v(e,true,t,"==",p.ok)}p.ok=w;p.equal=function e(t,r,n){if(t!=r)v(t,r,n,"==",p.equal)};p.notEqual=function e(t,r,n){if(t==r){v(t,r,n,"!=",p.notEqual)}};p.deepEqual=function e(t,r,n){if(!b(t,r,false)){v(t,r,n,"deepEqual",p.deepEqual)}};p.deepStrictEqual=function e(t,r,n){if(!b(t,r,true)){v(t,r,n,"deepStrictEqual",p.deepStrictEqual)}};function b(e,t,r,n){if(e===t){return true}else if(o(e)&&o(t)){return i(e,t)===0}else if(a.isDate(e)&&a.isDate(t)){return e.getTime()===t.getTime()}else if(a.isRegExp(e)&&a.isRegExp(t)){return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase}else if((e===null||typeof e!=="object")&&(t===null||typeof t!=="object")){return r?e===t:e==t}else if(c(e)&&c(t)&&l(e)===l(t)&&!(e instanceof Float32Array||e instanceof Float64Array)){return i(new Uint8Array(e.buffer),new Uint8Array(t.buffer))===0}else if(o(e)!==o(t)){return false}else{n=n||{actual:[],expected:[]};var s=n.actual.indexOf(e);if(s!==-1){if(s===n.expected.indexOf(t)){return true}}n.actual.push(e);n.expected.push(t);return E(e,t,r,n)}}function x(e){return Object.prototype.toString.call(e)=="[object Arguments]"}function E(e,t,r,n){if(e===null||e===undefined||t===null||t===undefined)return false;if(a.isPrimitive(e)||a.isPrimitive(t))return e===t;if(r&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return false;var i=x(e);var o=x(t);if(i&&!o||!i&&o)return false;if(i){e=f.call(e);t=f.call(t);return b(e,t,r)}var s=O(e);var u=O(t);var l,c;if(s.length!==u.length)return false;s.sort();u.sort();for(c=s.length-1;c>=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<arguments.length;u++){r=Object(arguments[u]);for(var l in r){if(i.call(r,l)){s[l]=r[l]}}if(n){f=n(r);for(var c=0;c<f.length;c++){if(o.call(r,f[c])){s[f[c]]=r[f[c]]}}}}return s}},418:function(e,t,r){window.fileType=r(419)},419:function(e,t,r){"use strict";const{ReadableWebToNodeStream:n}=r(420);const i=r(447);const o=r(449);async function a(e){const t=new n(e);const r=await o.fromStream(t);await t.close();return r}async function s(e){const t=await f(e);return o.fromBuffer(t)}function f(e){return new Promise((t,r)=>{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;i<arguments.length;i++)r.push(arguments[i]);var o=t==="error";var a=this._events;if(a!==undefined)o=o&&a.error===undefined;else if(!o)return false;if(o){var s;if(r.length>0)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;i<l;++i)n(c[i],this,r)}return true};function c(e,t,r,n){var i;var a;var s;u(r);a=e._events;if(a===undefined){a=e._events=Object.create(null);e._eventsCount=0}else{if(a.newListener!==undefined){e.emit("newListener",t,r.listener?r.listener:r);a=e._events}s=a[t]}if(s===undefined){s=a[t]=r;++e._eventsCount}else{if(typeof s==="function"){s=a[t]=n?[r,s]:[s,r]}else if(n){s.unshift(r)}else{s.push(r)}i=l(e);if(i>0&&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<o.length;++i){a=o[i];if(a==="removeListener")continue;this.removeAllListeners(a)}this.removeAllListeners("removeListener");this._events=Object.create(null);this._eventsCount=0;return this}r=n[t];if(typeof r==="function"){this.removeListener(t,r)}else if(r!==undefined){for(i=r.length-1;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;n<t;++n)r[n]=e[n];return r}function y(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function v(e){var t=new Array(e.length);for(var r=0;r<t.length;++r){t[r]=e[r].listener||e[r]}return t}}).call(this,r(5))},423:function(e,t,r){t=e.exports=r(424);t.Stream=t;t.Readable=t;t.Writable=r(438);t.Duplex=r(437);t.Transform=r(441);t.PassThrough=r(442)},424:function(e,t,r){"use strict";(function(t,n){var i=r(425);e.exports=_;var o=r(426);var a;_.ReadableState=E;var s=r(422).EventEmitter;var f=function(e,t){return e.listeners(t).length};var u=r(427);var l=r(428).Buffer;var c=t.Uint8Array||function(){};function p(e){return l.from(e)}function h(e){return l.isBuffer(e)||e instanceof c}var d=r(432);d.inherits=r(10);var m=r(433);var g=void 0;if(m&&m.debuglog){g=m.debuglog("stream")}else{g=function(){}}var y=r(434);var v=r(436);var w;d.inherits(_,u);var b=["error","close","destroy","pause","resume"];function x(e,t,r){if(typeof e.prependListener==="function")return e.prependListener(t,r);if(!e._events||!e._events[t])e.on(t,r);else if(o(e._events[t]))e._events[t].unshift(r);else e._events[t]=[r,e._events[t]]}function E(e,t){a=a||r(437);e=e||{};var n=t instanceof a;this.objectMode=!!e.objectMode;if(n)this.objectMode=this.objectMode||!!e.readableObjectMode;var i=e.highWaterMark;var o=e.readableHighWaterMark;var s=this.objectMode?16:16*1024;if(i||i===0)this.highWaterMark=i;else if(n&&(o||o===0))this.highWaterMark=o;else this.highWaterMark=s;this.highWaterMark=Math.floor(this.highWaterMark);this.buffer=new y;this.length=0;this.pipes=null;this.pipesCount=0;this.flowing=null;this.ended=false;this.endEmitted=false;this.reading=false;this.sync=true;this.needReadable=false;this.emittedReadable=false;this.readableListening=false;this.resumeScheduled=false;this.destroyed=false;this.defaultEncoding=e.defaultEncoding||"utf8";this.awaitDrain=0;this.readingMore=false;this.decoder=null;this.encoding=null;if(e.encoding){if(!w)w=r(440).StringDecoder;this.decoder=new w(e.encoding);this.encoding=e.encoding}}function _(e){a=a||r(437);if(!(this instanceof _))return new _(e);this._readableState=new E(e,this);this.readable=true;if(e){if(typeof e.read==="function")this._read=e.read;if(typeof e.destroy==="function")this._destroy=e.destroy}u.call(this)}Object.defineProperty(_.prototype,"destroyed",{get:function(){if(this._readableState===undefined){return false}return this._readableState.destroyed},set:function(e){if(!this._readableState){return}this._readableState.destroyed=e}});_.prototype.destroy=v.destroy;_.prototype._undestroy=v.undestroy;_.prototype._destroy=function(e,t){this.push(null);t(e)};_.prototype.push=function(e,t){var r=this._readableState;var n;if(!r.objectMode){if(typeof e==="string"){t=t||r.defaultEncoding;if(t!==r.encoding){e=l.from(e,t);t=""}n=true}}else{n=true}return k(this,e,t,false,n)};_.prototype.unshift=function(e){return k(this,e,null,true,false)};function k(e,t,r,n,i){var o=e._readableState;if(t===null){o.reading=false;A(e,o)}else{var a;if(!i)a=T(o,t);if(a){e.emit("error",a)}else if(o.objectMode||t&&t.length>0){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<e.highWaterMark||e.length===0)}_.prototype.isPaused=function(){return this._readableState.flowing===false};_.prototype.setEncoding=function(e){if(!w)w=r(440).StringDecoder;this._readableState.decoder=new w(e);this._readableState.encoding=e;return this};var O=8388608;function B(e){if(e>=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-e<t.highWaterMark){n=true;g("length less than watermark",n)}if(t.ended||t.reading){n=false;g("reading or ended",n)}else if(n){g("do read");t.reading=true;t.sync=true;if(t.length===0)t.needReadable=true;this._read(t.highWaterMark);t.sync=false;if(!t.reading)e=R(r,t)}var i;if(e>0)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.length<t.highWaterMark){g("maybeReadMore read 0");e.read(0);if(r===t.length)break;else r=t.length}t.readingMore=false}_.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))};_.prototype.pipe=function(e,t){var r=this;var o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e);break}o.pipesCount+=1;g("pipe count=%d opts=%j",o.pipesCount,t);var a=(!t||t.end!==false)&&e!==n.stdout&&e!==n.stderr;var s=a?l:b;if(o.endEmitted)i.nextTick(s);else r.once("end",s);e.on("unpipe",u);function u(e,t){g("onunpipe");if(e===r){if(t&&t.hasUnpiped===false){t.hasUnpiped=true;h()}}}function l(){g("onend");e.end()}var c=P(r);e.on("drain",c);var p=false;function h(){g("cleanup");e.removeListener("close",v);e.removeListener("finish",w);e.removeListener("drain",c);e.removeListener("error",y);e.removeListener("unpipe",u);r.removeListener("end",l);r.removeListener("end",b);r.removeListener("data",m);p=true;if(o.awaitDrain&&(!e._writableState||e._writableState.needDrain))c()}var d=false;r.on("data",m);function m(t){g("ondata");d=false;var n=e.write(t);if(false===n&&!d){if((o.pipesCount===1&&o.pipes===e||o.pipesCount>1&&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<i;o++){n[o].emit("unpipe",this,r)}return this}var a=V(t.pipes,e);if(a===-1)return this;t.pipes.splice(a,1);t.pipesCount-=1;if(t.pipesCount===1)t.pipes=t.pipes[0];e.emit("unpipe",this,r);return this};_.prototype.on=function(e,t){var r=u.prototype.on.call(this,e,t);if(e==="data"){if(this._readableState.flowing!==false)this.resume()}else if(e==="readable"){var n=this._readableState;if(!n.endEmitted&&!n.readableListening){n.readableListening=n.needReadable=true;n.emittedReadable=false;if(!n.reading){i.nextTick(F,this)}else if(n.length){j(this)}}}return r};_.prototype.addListener=_.prototype.on;function F(e){g("readable nexttick read 0");e.read(0)}_.prototype.resume=function(){var e=this._readableState;if(!e.flowing){g("resume");e.flowing=true;U(this,e)}return this};function U(e,t){if(!t.resumeScheduled){t.resumeScheduled=true;i.nextTick(q,e,t)}}function q(e,t){if(!t.reading){g("resume read 0");e.read(0)}t.resumeScheduled=false;t.awaitDrain=0;e.emit("resume");N(e);if(t.flowing&&!t.reading)e.read(0)}_.prototype.pause=function(){g("call pause flowing=%j",this._readableState.flowing);if(false!==this._readableState.flowing){g("pause");this._readableState.flowing=false;this.emit("pause")}return this};function N(e){var t=e._readableState;g("flow",t.flowing);while(t.flowing&&e.read()!==null){}}_.prototype.wrap=function(e){var t=this;var r=this._readableState;var n=false;e.on("end",(function(){g("wrapped end");if(r.decoder&&!r.ended){var e=r.decoder.end();if(e&&e.length)t.push(e)}t.push(null)}));e.on("data",(function(i){g("wrapped data");if(r.decoder)i=r.decoder.write(i);if(r.objectMode&&(i===null||i===undefined))return;else if(!r.objectMode&&(!i||!i.length))return;var o=t.push(i);if(!o){n=true;e.pause()}}));for(var i in e){if(this[i]===undefined&&typeof e[i]==="function"){this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i)}}for(var o=0;o<b.length;o++){e.on(b[o],this.emit.bind(this,b[o]))}this._read=function(t){g("wrapped _read",t);if(n){n=false;e.resume()}};return this};Object.defineProperty(_.prototype,"readableHighWaterMark",{enumerable:false,get:function(){return this._readableState.highWaterMark}});_._fromList=z;function z(e,t){if(t.length===0)return null;var r;if(t.objectMode)r=t.buffer.shift();else if(!e||e>=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(e<t.head.data.length){n=t.head.data.slice(0,e);t.head.data=t.head.data.slice(e)}else if(e===t.head.data.length){n=t.shift()}else{n=r?Y(e,t):W(e,t)}return n}function Y(e,t){var r=t.head;var n=1;var i=r.data;e-=i.length;while(r=r.next){var o=r.data;var a=e>o.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<n;r++){if(e[r]===t)return r}return-1}}).call(this,r(6),r(8))},425:function(e,t,r){"use strict";(function(t){if(typeof t==="undefined"||!t.version||t.version.indexOf("v0.")===0||t.version.indexOf("v1.")===0&&t.version.indexOf("v1.8.")!==0){e.exports={nextTick:r}}else{e.exports=t}function r(e,r,n,i){if(typeof e!=="function"){throw new TypeError('"callback" argument must be a function')}var o=arguments.length;var a,s;switch(o){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick((function t(){e.call(null,r)}));case 3:return t.nextTick((function t(){e.call(null,r,n)}));case 4:return t.nextTick((function t(){e.call(null,r,n,i)}));default:a=new Array(o-1);s=0;while(s<a.length){a[s++]=arguments[s]}return t.nextTick((function t(){e.apply(null,a)}))}}}).call(this,r(8))},426:function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return r.call(e)=="[object Array]"}},427:function(e,t,r){e.exports=r(422).EventEmitter},428:function(e,t,r){var n=r(429);var i=n.Buffer;function o(e,t){for(var r in e){t[r]=e[r]}}if(i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow){e.exports=n}else{o(n,t);t.Buffer=a}function a(e,t,r){return i(e,t,r)}o(i,a);a.from=function(e,t,r){if(typeof e==="number"){throw new TypeError("Argument must not be a number")}return i(e,t,r)};a.alloc=function(e,t,r){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}var n=i(e);if(t!==undefined){if(typeof r==="string"){n.fill(t,r)}else{n.fill(t)}}else{n.fill(0)}return n};a.allocUnsafe=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return i(e)};a.allocUnsafeSlow=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return n.SlowBuffer(e)}},429:function(e,t,r){"use strict";(function(e){
/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh <http://feross.org>
 * @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()<t){throw new RangeError("Invalid typed array length")}if(u.TYPED_ARRAY_SUPPORT){e=new Uint8Array(t);e.__proto__=u.prototype}else{if(e===null){e=new u(t)}e.length=t}return e}function u(e,t,r){if(!u.TYPED_ARRAY_SUPPORT&&!(this instanceof u)){return new u(e,t,r)}if(typeof e==="number"){if(typeof t==="string"){throw new Error("If encoding is specified then the first argument must be a string")}return h(this,e)}return l(this,e,t,r)}u.poolSize=8192;u._augment=function(e){e.__proto__=u.prototype;return e};function l(e,t,r,n){if(typeof t==="number"){throw new TypeError('"value" argument must not be a number')}if(typeof ArrayBuffer!=="undefined"&&t instanceof ArrayBuffer){return g(e,t,r,n)}if(typeof t==="string"){return d(e,t,r)}return y(e,t)}u.from=function(e,t,r){return l(null,e,t,r)};if(u.TYPED_ARRAY_SUPPORT){u.prototype.__proto__=Uint8Array.prototype;u.__proto__=Uint8Array;if(typeof Symbol!=="undefined"&&Symbol.species&&u[Symbol.species]===u){Object.defineProperty(u,Symbol.species,{value:null,configurable:true})}}function c(e){if(typeof e!=="number"){throw new TypeError('"size" argument must be a number')}else if(e<0){throw new RangeError('"size" argument must not be negative')}}function p(e,t,r,n){c(t);if(t<=0){return f(e,t)}if(r!==undefined){return typeof n==="string"?f(e,t).fill(r,n):f(e,t).fill(r)}return f(e,t)}u.alloc=function(e,t,r){return p(null,e,t,r)};function h(e,t){c(t);e=f(e,t<0?0:v(t)|0);if(!u.TYPED_ARRAY_SUPPORT){for(var r=0;r<t;++r){e[r]=0}}return e}u.allocUnsafe=function(e){return h(null,e)};u.allocUnsafeSlow=function(e){return h(null,e)};function d(e,t,r){if(typeof r!=="string"||r===""){r="utf8"}if(!u.isEncoding(r)){throw new TypeError('"encoding" must be a valid string encoding')}var n=b(t,r)|0;e=f(e,n);var i=e.write(t,r);if(i!==n){e=e.slice(0,i)}return e}function m(e,t){var r=t.length<0?0:v(t.length)|0;e=f(e,r);for(var n=0;n<r;n+=1){e[n]=t[n]&255}return e}function g(e,t,r,n){t.byteLength;if(r<0||t.byteLength<r){throw new RangeError("'offset' is out of bounds")}if(t.byteLength<r+(n||0)){throw new RangeError("'length' is out of bounds")}if(r===undefined&&n===undefined){t=new Uint8Array(t)}else if(n===undefined){t=new Uint8Array(t,r)}else{t=new Uint8Array(t,r,n)}if(u.TYPED_ARRAY_SUPPORT){e=t;e.__proto__=u.prototype}else{e=m(e,t)}return e}function y(e,t){if(u.isBuffer(t)){var r=v(t.length)|0;e=f(e,r);if(e.length===0){return e}t.copy(e,0,0,r);return e}if(t){if(typeof ArrayBuffer!=="undefined"&&t.buffer instanceof ArrayBuffer||"length"in t){if(typeof t.length!=="number"||te(t.length)){return f(e,0)}return m(e,t)}if(t.type==="Buffer"&&o(t.data)){return m(e,t.data)}}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function v(e){if(e>=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<a;++o){if(t[o]!==r[o]){n=t[o];i=r[o];break}}if(n<i)return-1;if(i<n)return 1;return 0};u.isEncoding=function e(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 true;default:return false}};u.concat=function e(t,r){if(!o(t)){throw new TypeError('"list" argument must be an Array of Buffers')}if(t.length===0){return u.alloc(0)}var n;if(r===undefined){r=0;for(n=0;n<t.length;++n){r+=t[n].length}}var i=u.allocUnsafe(r);var a=0;for(n=0;n<t.length;++n){var s=t[n];if(!u.isBuffer(s)){throw new TypeError('"list" argument must be an Array of Buffers')}s.copy(i,a);a+=s.length}return i};function b(e,t){if(u.isBuffer(e)){return e.length}if(typeof ArrayBuffer!=="undefined"&&typeof ArrayBuffer.isView==="function"&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer)){return e.byteLength}if(typeof e!=="string"){e=""+e}var r=e.length;if(r===0)return 0;var n=false;for(;;){switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case undefined:return Z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>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;r<t;r+=2){E(this,r,r+1)}return this};u.prototype.swap32=function e(){var t=this.length;if(t%4!==0){throw new RangeError("Buffer size must be a multiple of 32-bits")}for(var r=0;r<t;r+=4){E(this,r,r+3);E(this,r+1,r+2)}return this};u.prototype.swap64=function e(){var t=this.length;if(t%8!==0){throw new RangeError("Buffer size must be a multiple of 64-bits")}for(var r=0;r<t;r+=8){E(this,r,r+7);E(this,r+1,r+6);E(this,r+2,r+5);E(this,r+3,r+4)}return this};u.prototype.toString=function e(){var t=this.length|0;if(t===0)return"";if(arguments.length===0)return j(this,0,t);return x.apply(this,arguments)};u.prototype.equals=function e(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(this===t)return true;return u.compare(this,t)===0};u.prototype.inspect=function e(){var r="";var n=t.INSPECT_MAX_BYTES;if(this.length>0){r=this.toString("hex",0,n).match(/.{2}/g).join(" ");if(this.length>n)r+=" ... "}return"<Buffer "+r+">"};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;p<f;++p){if(l[p]!==c[p]){a=l[p];s=c[p];break}}if(a<s)return-1;if(s<a)return 1;return 0};function _(e,t,r,n,i){if(e.length===0)return-1;if(typeof r==="string"){n=r;r=0}else if(r>2147483647){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;u<a;u++){if(f(e,u)===f(t,l===-1?0:u-l)){if(l===-1)l=u;if(u-l+1===s)return l*o}else{if(l!==-1)u-=u-l;l=-1}}}else{if(r+s>a)r=a-s;for(u=r;u>=0;u--){var c=true;for(var p=0;p<s;p++){if(f(e,u+p)!==f(t,p)){c=false;break}}if(c)return u}}return-1}u.prototype.includes=function e(t,r,n){return this.indexOf(t,r,n)!==-1};u.prototype.indexOf=function e(t,r,n){return _(this,t,r,n,true)};u.prototype.lastIndexOf=function e(t,r,n){return _(this,t,r,n,false)};function S(e,t,r,n){r=Number(r)||0;var i=e.length-r;if(!n){n=i}else{n=Number(n);if(n>i){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;a<n;++a){var s=parseInt(t.substr(a*2,2),16);if(isNaN(s))return a;e[r+a]=s}return a}function T(e,t,r,n){return ee(Z(t,e.length-r),e,r,n)}function C(e,t,r,n){return ee(Q(t),e,r,n)}function O(e,t,r,n){return C(e,t,r,n)}function B(e,t,r,n){return ee(K(t),e,r,n)}function R(e,t,r,n){return ee(X(t,e.length-r),e,r,n)}u.prototype.write=function e(t,r,n,i){if(r===undefined){i="utf8";n=this.length;r=0}else if(n===undefined&&typeof r==="string"){i=r;n=this.length;r=0}else if(isFinite(r)){r=r|0;if(isFinite(n)){n=n|0;if(i===undefined)i="utf8"}else{i=n;n=undefined}}else{throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported")}var o=this.length-r;if(n===undefined||n>o)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(i<r){var o=e[i];var a=null;var s=o>239?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(n<t){r+=String.fromCharCode.apply(String,e.slice(n,n+=I))}return r}function L(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i){n+=String.fromCharCode(e[i]&127)}return n}function P(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i){n+=String.fromCharCode(e[i])}return n}function F(e,t,r){var n=e.length;if(!t||t<0)t=0;if(!r||r<0||r>n)r=n;var i="";for(var o=t;o<r;++o){i+=J(e[o])}return i}function U(e,t,r){var n=e.slice(t,r);var i="";for(var o=0;o<n.length;o+=2){i+=String.fromCharCode(n[o]+n[o+1]*256)}return i}u.prototype.slice=function e(t,r){var n=this.length;t=~~t;r=r===undefined?n:~~r;if(t<0){t+=n;if(t<0)t=0}else if(t>n){t=n}if(r<0){r+=n;if(r<0)r=0}else if(r>n){r=n}if(r<t)r=t;var i;if(u.TYPED_ARRAY_SUPPORT){i=this.subarray(t,r);i.__proto__=u.prototype}else{var o=r-t;i=new u(o,undefined);for(var a=0;a<o;++a){i[a]=this[a+t]}}return i};function q(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)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(++a<r&&(o*=256)){i+=this[t+a]*o}return i};u.prototype.readUIntBE=function e(t,r,n){t=t|0;r=r|0;if(!n){q(t,r,this.length)}var i=this[t+--r];var o=1;while(r>0&&(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<r&&(o*=256)){i+=this[t+a]*o}o*=128;if(i>=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||t<o)throw new RangeError('"value" argument is out of bounds');if(r+n>e.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<n&&(a*=256)){this[r+s]=t/a&255}return r+n};u.prototype.writeUIntBE=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=n-1;var s=1;this[r+a]=t&255;while(--a>=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<o;++i){e[r+i]=(t&255<<8*(n?i:1-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<o;++i){e[r+i]=t>>>(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<n&&(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.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<n)i=n;if(i===n)return 0;if(t.length===0||this.length===0)return 0;if(r<0){throw new RangeError("targetStart out of bounds")}if(n<0||n>=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<i-n){i=t.length-r+n}var o=i-n;var a;if(this===t&&n<r&&r<i){for(a=o-1;a>=0;--a){t[a+r]=this[a+n]}}else if(o<1e3||!u.TYPED_ARRAY_SUPPORT){for(a=0;a<o;++a){t[a+r]=this[a+n]}}else{Uint8Array.prototype.set.call(t,this.subarray(n,n+o),r)}return o};u.prototype.fill=function e(t,r,n,i){if(typeof t==="string"){if(typeof r==="string"){i=r;r=0;n=this.length}else if(typeof n==="string"){i=n;n=this.length}if(t.length===1){var o=t.charCodeAt(0);if(o<256){t=o}}if(i!==undefined&&typeof i!=="string"){throw new TypeError("encoding must be a string")}if(typeof i==="string"&&!u.isEncoding(i)){throw new TypeError("Unknown encoding: "+i)}}else if(typeof t==="number"){t=t&255}if(r<0||this.length<r||this.length<n){throw new RangeError("Out of range index")}if(n<=r){return this}r=r>>>0;n=n===undefined?this.length:n>>>0;if(!t)t=0;var a;if(typeof t==="number"){for(a=r;a<n;++a){this[a]=t}}else{var s=u.isBuffer(t)?t:Z(new u(t,i).toString());var f=s.length;for(a=0;a<n-r;++a){this[a+r]=s[a%f]}}return this};var $=/[^+\/0-9A-Za-z-_]/g;function V(e){e=G(e).replace($,"");if(e.length<2)return"";while(e.length%4!==0){e=e+"="}return e}function G(e){if(e.trim)return e.trim();return e.replace(/^\s+|\s+$/g,"")}function J(e){if(e<16)return"0"+e.toString(16);return e.toString(16)}function Z(e,t){t=t||Infinity;var r;var n=e.length;var i=null;var o=[];for(var a=0;a<n;++a){r=e.charCodeAt(a);if(r>55295&&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<e.length;++r){t.push(e.charCodeAt(r)&255)}return t}function X(e,t){var r,n,i;var o=[];for(var a=0;a<e.length;++a){if((t-=2)<0)break;r=e.charCodeAt(a);n=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<n;++i){if(i+r>=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;s<f;++s){n[s]=a[s];i[a.charCodeAt(s)]=s}i["-".charCodeAt(0)]=62;i["_".charCodeAt(0)]=63;function u(e){var t=e.length;if(t%4>0){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<l;p+=4){t=i[e.charCodeAt(p)]<<18|i[e.charCodeAt(p+1)]<<12|i[e.charCodeAt(p+2)]<<6|i[e.charCodeAt(p+3)];s[f++]=t>>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;o<r;o+=3){n=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(e[o+2]&255);i.push(h(n))}return i.join("")}function m(e){var t;var r=e.length;var i=r%3;var o=[];var a=16383;for(var s=0,f=r-i;s<f;s+=a){o.push(d(e,s,s+a>f?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<<s)-1;var u=f>>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<<u)-1;var c=l>>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<<i|s;u+=i;for(;u>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<f.length;u++){var l=f[u];if(!c.prototype[l])c.prototype[l]=s.prototype[l]}}function c(e){if(!(this instanceof c))return new c(e);a.call(this,e);s.call(this,e);if(e&&e.readable===false)this.readable=false;if(e&&e.writable===false)this.writable=false;this.allowHalfOpen=true;if(e&&e.allowHalfOpen===false)this.allowHalfOpen=false;this.once("end",p)}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:false,get:function(){return this._writableState.highWaterMark}});function p(){if(this.allowHalfOpen||this._writableState.ended)return;n.nextTick(h,this)}function h(e){e.end()}Object.defineProperty(c.prototype,"destroyed",{get:function(){if(this._readableState===undefined||this._writableState===undefined){return false}return this._readableState.destroyed&&this._writableState.destroyed},set:function(e){if(this._readableState===undefined||this._writableState===undefined){return}this._readableState.destroyed=e;this._writableState.destroyed=e}});c.prototype._destroy=function(e,t){this.push(null);this.end();n.nextTick(t,e)}},438:function(e,t,r){"use strict";(function(t,n,i){var o=r(425);e.exports=x;function a(e,t,r){this.chunk=e;this.encoding=t;this.callback=r;this.next=null}function s(e){var t=this;this.next=null;this.entry=null;this.finish=function(){U(t,e)}}var f=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-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<t.highWaterMark;if(!f)t.needDrain=true;if(t.writing||t.corked){var u=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null};if(u){u.next=t.lastBufferedRequest}else{t.bufferedRequest=t.lastBufferedRequest}t.bufferedRequestCount+=1}else{T(e,t,false,s,n,i,o)}return f}function T(e,t,r,n,i,o,a){t.writelen=n;t.writecb=a;t.writing=true;t.sync=true;if(r)e._writev(i,t.onwrite);else e._write(i,o,t.onwrite);t.sync=false}function C(e,t,r,n,i){--t.pendingcb;if(r){o.nextTick(i,n);o.nextTick(P,e,t);e._writableState.errorEmitted=true;e.emit("error",n)}else{i(n);e._writableState.errorEmitted=true;e.emit("error",n);P(e,t)}}function O(e){e.writing=false;e.writecb=null;e.length-=e.writelen;e.writelen=0}function B(e,t){var r=e._writableState;var n=r.sync;var i=r.writecb;O(r);if(t)C(e,r,n,t,i);else{var o=I(r);if(!o&&!r.corked&&!r.bufferProcessing&&r.bufferedRequest){j(e,r)}if(n){f(R,e,r,o,i)}else{R(e,r,o,i)}}}function R(e,t,r,n){if(!r)A(e,t);t.pendingcb--;n();P(e,t)}function A(e,t){if(t.length===0&&t.needDrain){t.needDrain=false;e.emit("drain")}}function j(e,t){t.bufferProcessing=true;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount;var i=new Array(n);var o=t.corkedRequestsFree;o.entry=r;var a=0;var f=true;while(r){i[a]=r;if(!r.isBuf)f=false;r=r.next;a+=1}i.allBuffers=f;T(e,t,true,t.length,i,"",o.finish);t.pendingcb++;t.lastBufferedRequest=null;if(o.next){t.corkedRequestsFree=o.next;o.next=null}else{t.corkedRequestsFree=new s(t)}t.bufferedRequestCount=0}else{while(r){var u=r.chunk;var l=r.encoding;var c=r.callback;var p=t.objectMode?1:u.length;T(e,t,false,p,u,l,c);r=r.next;t.bufferedRequestCount--;if(t.writing){break}}if(r===null)t.lastBufferedRequest=null}t.bufferedRequest=r;t.bufferProcessing=false}x.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))};x.prototype._writev=null;x.prototype.end=function(e,t,r){var n=this._writableState;if(typeof e==="function"){r=e;e=null;t=null}else if(typeof t==="function"){r=t;t=null}if(e!==null&&e!==undefined)this.write(e,t);if(n.corked){n.corked=1;this.uncork()}if(!n.ending&&!n.finished)F(this,n,r)};function I(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function M(e,t){e._final((function(r){t.pendingcb--;if(r){e.emit("error",r)}t.prefinished=true;e.emit("prefinish");P(e,t)}))}function L(e,t){if(!t.prefinished&&!t.finalCalled){if(typeof e._final==="function"){t.pendingcb++;t.finalCalled=true;o.nextTick(M,e,t)}else{t.prefinished=true;e.emit("prefinish")}}}function P(e,t){var r=I(t);if(r){L(e,t);if(t.pendingcb===0){t.finished=true;e.emit("finish")}}return r}function F(e,t,r){t.ending=true;P(e,t);if(r){if(t.finished)o.nextTick(r);else e.once("finish",r)}t.ended=true;e.writable=false}function U(e,t,r){var n=e.entry;e.entry=null;while(n){var i=n.callback;t.pendingcb--;i(r);n=n.next}if(t.corkedRequestsFree){t.corkedRequestsFree.next=e}else{t.corkedRequestsFree=e}}Object.defineProperty(x.prototype,"destroyed",{get:function(){if(this._writableState===undefined){return false}return this._writableState.destroyed},set:function(e){if(!this._writableState){return}this._writableState.destroyed=e}});x.prototype.destroy=y.destroy;x.prototype._undestroy=y.undestroy;x.prototype._destroy=function(e,t){this.end();t(e)}}).call(this,r(8),r(108).setImmediate,r(6))},439:function(e,t,r){e.exports=r(7).deprecate},440:function(e,t,r){"use strict";var n=r(428).Buffer;var i=n.isEncoding||function(e){e=""+e;switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return true;default:return false}};function o(e){if(!e)return"utf8";var t;while(true){switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase();t=true}}}function a(e){var t=o(e);if(typeof t!=="string"&&(n.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}t.StringDecoder=s;function s(e){this.encoding=a(e);var t;switch(this.encoding){case"utf16le":this.text=d;this.end=m;t=4;break;case"utf8":this.fillLast=c;t=4;break;case"base64":this.text=g;this.end=y;t=3;break;default:this.write=v;this.end=w;return}this.lastNeed=0;this.lastTotal=0;this.lastChar=n.allocUnsafe(t)}s.prototype.write=function(e){if(e.length===0)return"";var t;var r;if(this.lastNeed){t=this.fillLast(e);if(t===undefined)return"";r=this.lastNeed;this.lastNeed=0}else{r=0}if(r<e.length)return t?t+this.text(e,r):this.text(e,r);return t||""};s.prototype.end=h;s.prototype.text=p;s.prototype.fillLast=function(e){if(this.lastNeed<=e.length){e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length);this.lastNeed-=e.length};function f(e){if(e<=127)return 0;else if(e>>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<r)return 0;var i=f(t[n]);if(i>=0){if(i>0)e.lastNeed=i-1;return i}if(--n<r||i===-2)return 0;i=f(t[n]);if(i>=0){if(i>0)e.lastNeed=i-2;return i}if(--n<r||i===-2)return 0;i=f(t[n]);if(i>=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.length<i.highWaterMark){this._read(i.highWaterMark)}}function a(e){if(!(this instanceof a))return new a(e);n.call(this,e);this._transformState={afterTransform:o.bind(this),needTransform:false,transforming:false,writecb:null,writechunk:null,writeencoding:null};this._readableState.needReadable=true;this._readableState.sync=false;if(e){if(typeof e.transform==="function")this._transform=e.transform;if(typeof e.flush==="function")this._flush=e.flush}this.on("prefinish",s)}function s(){var e=this;if(typeof this._flush==="function"){this._flush((function(t,r){f(e,t,r)}))}else{f(this,null,null)}}a.prototype.push=function(e,t){this._transformState.needTransform=false;return n.prototype.push.call(this,e,t)};a.prototype._transform=function(e,t,r){throw new Error("_transform() is not implemented")};a.prototype._write=function(e,t,r){var n=this._transformState;n.writecb=r;n.writechunk=e;n.writeencoding=t;if(!n.transforming){var i=this._readableState;if(n.needTransform||i.needReadable||i.length<i.highWaterMark)this._read(i.highWaterMark)}};a.prototype._read=function(e){var t=this._transformState;if(t.writechunk!==null&&t.writecb&&!t.transforming){t.transforming=true;this._transform(t.writechunk,t.writeencoding,t.afterTransform)}else{t.needTransform=true}};a.prototype._destroy=function(e,t){var r=this;n.prototype._destroy.call(this,e,(function(e){t(e);r.emit("close")}))};function f(e,t,r){if(t)return e.emit("error",t);if(r!=null)e.push(r);if(e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}},442:function(e,t,r){"use strict";e.exports=o;var n=r(441);var i=r(432);i.inherits=r(10);i.inherits(o,n);function o(e){if(!(this instanceof o))return new o(e);n.call(this,e)}o.prototype._transform=function(e,t,r){r(null,e)}},443:function(e,t,r){e.exports=r(438)},444:function(e,t,r){e.exports=r(437)},445:function(e,t,r){e.exports=r(423).Transform},446:function(e,t,r){e.exports=r(423).PassThrough},447:function(e,t,r){(function(t){var n=r(448).strict;e.exports=function e(r){if(n(r)){var i=t.from(r.buffer);if(r.byteLength!==r.buffer.byteLength){i=i.slice(r.byteOffset,r.byteOffset+r.byteLength)}return i}else{return t.from(r)}}}).call(this,r(429).Buffer)},448:function(e,t){e.exports=i;i.strict=o;i.loose=a;var r=Object.prototype.toString;var n={"[object Int8Array]":true,"[object Int16Array]":true,"[object Int32Array]":true,"[object Uint8Array]":true,"[object Uint8ClampedArray]":true,"[object Uint16Array]":true,"[object Uint32Array]":true,"[object Float32Array]":true,"[object Float64Array]":true};function i(e){return o(e)||a(e)}function o(e){return e instanceof Int8Array||e instanceof Int16Array||e instanceof Int32Array||e instanceof Uint8Array||e instanceof Uint8ClampedArray||e instanceof Uint16Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array}function a(e){return n[r.call(e)]}},449:function(module,exports,__webpack_require__){"use strict";(function(Buffer){const Token=__webpack_require__(450);const strtok3=__webpack_require__(451);const{stringToBytes:stringToBytes,tarHeaderChecksumMatches:tarHeaderChecksumMatches,uint32SyncSafeToken:uint32SyncSafeToken,uint8ArrayUtf8ByteString:uint8ArrayUtf8ByteString}=__webpack_require__(466);const supported=__webpack_require__(467);const minimumBytes=4100;async function fromStream(e){const t=await strtok3.fromStream(e);try{return await fromTokenizer(t)}finally{await t.close()}}async function fromBuffer(e){if(!(e instanceof Uint8Array||e instanceof ArrayBuffer||Buffer.isBuffer(e))){throw new TypeError(`Expected the \`input\` argument to be of type \`Uint8Array\` or \`Buffer\` or \`ArrayBuffer\`, got \`${typeof e}\``)}const t=e instanceof Buffer?e:Buffer.from(e);if(!(t&&t.length>1)){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<e.fileInfo.size){await e.readBuffer(t,{length:30});const r={compressedSize:t.readUInt32LE(18),uncompressedSize:t.readUInt32LE(22),filenameLength:t.readUInt16LE(26),extraFieldLength:t.readUInt16LE(28)};r.filename=await e.readToken(new Token.StringType(r.filenameLength,"utf-8"));await e.ignore(r.extraFieldLength);if(r.filename==="META-INF/mozilla.rsa"){return{ext:"xpi",mime:"application/x-xpinstall"}}if(r.filename.endsWith(".rels")||r.filename.endsWith(".xml")){const e=r.filename.split("/")[0];switch(e){case"_rels":break;case"word":return{ext:"docx",mime:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"};case"ppt":return{ext:"pptx",mime:"application/vnd.openxmlformats-officedocument.presentationml.presentation"};case"xl":return{ext:"xlsx",mime:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"};default:break}}if(r.filename.startsWith("xl/")){return{ext:"xlsx",mime:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}}if(r.filename==="mimetype"&&r.compressedSize===r.uncompressedSize){const t=await e.readToken(new Token.StringType(r.compressedSize,"utf-8"));switch(t){case"application/epub+zip":return{ext:"epub",mime:"application/epub+zip"};case"application/vnd.oasis.opendocument.text":return{ext:"odt",mime:"application/vnd.oasis.opendocument.text"};case"application/vnd.oasis.opendocument.spreadsheet":return{ext:"ods",mime:"application/vnd.oasis.opendocument.spreadsheet"};case"application/vnd.oasis.opendocument.presentation":return{ext:"odp",mime:"application/vnd.oasis.opendocument.presentation"};default:}}await e.ignore(r.compressedSize)}}catch(e){if(!(e instanceof strtok3.EndOfStreamError)){throw e}}return{ext:"zip",mime:"application/zip"}}if(i("OggS")){await e.ignore(28);const t=Buffer.alloc(8);await e.readBuffer(t);if(_check(t,[79,112,117,115,72,101,97,100])){return{ext:"opus",mime:"audio/opus"}}if(_check(t,[128,116,104,101,111,114,97])){return{ext:"ogv",mime:"video/ogg"}}if(_check(t,[1,118,105,100,101,111,0])){return{ext:"ogm",mime:"video/ogg"}}if(_check(t,[127,70,76,65,67])){return{ext:"oga",mime:"audio/ogg"}}if(_check(t,[83,112,101,101,120,32,32])){return{ext:"spx",mime:"audio/ogg"}}if(_check(t,[1,118,111,114,98,105,115])){return{ext:"ogg",mime:"audio/ogg"}}return{ext:"ogx",mime:"application/ogg"}}if(n([80,75])&&(t[2]===3||t[2]===5||t[2]===7)&&(t[3]===4||t[3]===6||t[3]===8)){return{ext:"zip",mime:"application/zip"}}if(i("ftyp",{offset:4})&&(t[8]&96)!==0){const e=uint8ArrayUtf8ByteString(t,8,12).replace("\0"," ").trim();switch(e){case"avif":return{ext:"avif",mime:"image/avif"};case"mif1":return{ext:"heic",mime:"image/heif"};case"msf1":return{ext:"heic",mime:"image/heif-sequence"};case"heic":case"heix":return{ext:"heic",mime:"image/heic"};case"hevc":case"hevx":return{ext:"heic",mime:"image/heic-sequence"};case"qt":return{ext:"mov",mime:"video/quicktime"};case"M4V":case"M4VH":case"M4VP":return{ext:"m4v",mime:"video/x-m4v"};case"M4P":return{ext:"m4p",mime:"video/mp4"};case"M4B":return{ext:"m4b",mime:"audio/mp4"};case"M4A":return{ext:"m4a",mime:"audio/x-m4a"};case"F4V":return{ext:"f4v",mime:"video/mp4"};case"F4P":return{ext:"f4p",mime:"video/mp4"};case"F4A":return{ext:"f4a",mime:"audio/mp4"};case"F4B":return{ext:"f4b",mime:"audio/mp4"};case"crx":return{ext:"cr3",mime:"image/x-canon-cr3"};default:if(e.startsWith("3g")){if(e.startsWith("3g2")){return{ext:"3g2",mime:"video/3gpp2"}}return{ext:"3gp",mime:"video/3gpp"}}return{ext:"mp4",mime:"video/mp4"}}}if(i("MThd")){return{ext:"mid",mime:"audio/midi"}}if(i("wOFF")&&(n([0,1,0,0],{offset:4})||i("OTTO",{offset:4}))){return{ext:"woff",mime:"font/woff"}}if(i("wOF2")&&(n([0,1,0,0],{offset:4})||i("OTTO",{offset:4}))){return{ext:"woff2",mime:"font/woff2"}}if(n([212,195,178,161])||n([161,178,195,212])){return{ext:"pcap",mime:"application/vnd.tcpdump.pcap"}}if(i("DSD ")){return{ext:"dsf",mime:"audio/x-dsf"}}if(i("LZIP")){return{ext:"lz",mime:"application/x-lzip"}}if(i("fLaC")){return{ext:"flac",mime:"audio/x-flac"}}if(n([66,80,71,251])){return{ext:"bpg",mime:"image/bpg"}}if(i("wvpk")){return{ext:"wv",mime:"audio/wavpack"}}if(i("%PDF")){const e=await o("Adobe Illustrator",1350);if(e){return{ext:"ai",mime:"application/postscript"}}return{ext:"pdf",mime:"application/pdf"}}if(n([0,97,115,109])){return{ext:"wasm",mime:"application/wasm"}}if(n([73,73,42,0])){if(i("CR",{offset:8})){return{ext:"cr2",mime:"image/x-canon-cr2"}}if(n([28,0,254,0],{offset:8})||n([31,0,11,0],{offset:8})){return{ext:"nef",mime:"image/x-nikon-nef"}}if(n([8,0,0,0],{offset:4})&&(n([45,0,254,0],{offset:8})||n([39,0,254,0],{offset:8}))){return{ext:"dng",mime:"image/x-adobe-dng"}}t=Buffer.alloc(24);await e.peekBuffer(t);if((n([16,251,134,1],{offset:4})||n([8,0,0,0],{offset:4}))&&n([0,254,0,4,0,1,0,0,0,1,0,0,0,3,1],{offset:9})){return{ext:"arw",mime:"image/x-sony-arw"}}return{ext:"tif",mime:"image/tiff"}}if(n([77,77,0,42])){return{ext:"tif",mime:"image/tiff"}}if(i("MAC ")){return{ext:"ape",mime:"audio/ape"}}if(n([26,69,223,163])){async function a(){const t=await e.peekNumber(Token.UINT8);let r=128;let n=0;while((t&r)===0){++n;r>>=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("<?xml ")){return{ext:"xml",mime:"application/xml"}}if(i("BEGIN:")){return{ext:"ics",mime:"text/calendar"}}if(n([55,122,188,175,39,28])){return{ext:"7z",mime:"application/x-7z-compressed"}}if(n([82,97,114,33,26,7])&&(t[6]===0||t[6]===1)){return{ext:"rar",mime:"application/x-rar-compressed"}}if(i("BLENDER")){return{ext:"blend",mime:"application/x-blender"}}if(i("!<arch>")){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.fileInfo.size);return{ext:"png",mime:"image/png"}}if(n([65,82,82,79,87,49,0,0])){return{ext:"arrow",mime:"application/x-apache-arrow"}}if(n([103,108,84,70,2,0,0,0])){return{ext:"glb",mime:"model/gltf-binary"}}if(n([102,114,101,101],{offset:4})||n([109,100,97,116],{offset:4})||n([109,111,111,118],{offset:4})||n([119,105,100,101],{offset:4})){return{ext:"mov",mime:"video/quicktime"}}if(n([73,73,82,79,8,0,0,0,24])){return{ext:"orf",mime:"image/x-olympus-orf"}}if(n([73,73,85,0,24,0,0,0,136,231,116,216])){return{ext:"rw2",mime:"image/x-panasonic-rw2"}}if(n([48,38,178,117,142,102,207,17,166,217])){async function l(){const t=Buffer.alloc(16);await e.readBuffer(t);return{id:t,size:await e.readToken(Token.UINT64_LE)}}await e.ignore(30);while(e.position+24<e.fileInfo.size){const t=await l();let r=t.size-24;if(_check(t.id,[145,7,220,183,183,169,207,17,142,230,0,192,12,32,83,101])){const t=Buffer.alloc(16);r-=await e.readBuffer(t);if(_check(t,[64,158,105,248,77,91,207,17,168,253,0,128,95,92,68,43])){return{ext:"wma",mime:"audio/x-ms-wma"}}if(_check(t,[192,239,25,188,77,91,207,17,168,253,0,128,95,92,68,43])){return{ext:"wmv",mime:"video/x-ms-asf"}}break}await e.ignore(r)}return{ext:"asf",mime:"application/vnd.ms-asf"}}if(n([171,75,84,88,32,49,49,187,13,10,26,10])){return{ext:"ktx",mime:"image/ktx"}}if((n([126,16,4])||n([126,24,4]))&&n([48,77,73,69],{offset:4})){return{ext:"mie",mime:"application/x-mie"}}if(n([39,10,0,0,0,0,0,0,0,0,0,0],{offset:2})){return{ext:"shp",mime:"application/x-esri-shape"}}if(n([0,0,0,12,106,80,32,32,13,10,135,10])){await e.ignore(20);const t=await e.readToken(new Token.StringType(4,"ascii"));switch(t){case"jp2 ":return{ext:"jp2",mime:"image/jp2"};case"jpx ":return{ext:"jpx",mime:"image/jpx"};case"jpm ":return{ext:"jpm",mime:"image/jpm"};case"mjp2":return{ext:"mj2",mime:"image/mj2"};default:return}}if(n([0,0,1,186])||n([0,0,1,179])){return{ext:"mpg",mime:"video/mpeg"}}if(n([0,1,0,0,0])){return{ext:"ttf",mime:"font/ttf"}}if(n([0,0,1,0])){return{ext:"ico",mime:"image/x-icon"}}if(n([0,0,2,0])){return{ext:"cur",mime:"image/x-icon"}}await e.peekBuffer(t,{length:Math.min(256,e.fileInfo.size),mayBeLess:true});if(i("FUJIFILMCCD-RAW")){return{ext:"raf",mime:"image/x-fujifilm-raf"}}if(i("Extended Module:")){return{ext:"xm",mime:"audio/x-xm"}}if(i("Creative Voice File")){return{ext:"voc",mime:"audio/x-voc"}}if(n([48,48,48,48,48,48],{offset:148,mask:[248,248,248,248,248,248]})&&tarHeaderChecksumMatches(t)){return{ext:"tar",mime:"application/x-tar"}}if(n([208,207,17,224,161,177,26,225,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,62])){return{ext:"msi",mime:"application/x-msi"}}if(n([6,14,43,52,2,5,1,1,13,1,2,1,1,2])){return{ext:"mxf",mime:"application/mxf"}}if(i("SCRM",{offset:44})){return{ext:"s3m",mime:"audio/x-s3m"}}if(n([71],{offset:4})&&(n([71],{offset:192})||n([71],{offset:196}))){return{ext:"mts",mime:"video/mp2t"}}if(n([66,79,79,75,77,79,66,73],{offset:60})){return{ext:"mobi",mime:"application/x-mobipocket-ebook"}}if(n([68,73,67,77],{offset:128})){return{ext:"dcm",mime:"application/dicom"}}if(n([76,0,0,0,1,20,2,0,0,0,0,0,192,0,0,0,0,0,0,70])){return{ext:"lnk",mime:"application/x.ms.shortcut"}}if(n([98,111,111,107,0,0,0,0,109,97,114,107,0,0,0,0])){return{ext:"alias",mime:"application/x.apple.alias"}}if(n([76,80],{offset:34})&&(n([0,0,1],{offset:8})||n([1,0,2],{offset:8})||n([2,0,2],{offset:8}))){return{ext:"eot",mime:"application/vnd.ms-fontobject"}}await e.peekBuffer(t,{length:Math.min(512,e.fileInfo.size),mayBeLess:true});if(n([48,48,48,48,48,48],{offset:148,mask:[248,248,248,248,248,248]})&&tarHeaderChecksumMatches(t)){return{ext:"tar",mime:"application/x-tar"}}if(n([255,254,255,14,83,0,107,0,101,0,116,0,99,0,104,0,85,0,112,0,32,0,77,0,111,0,100,0,101,0,108,0])){return{ext:"skp",mime:"application/vnd.sketchup.skp"}}for(let e=0;e<2&&e<t.length-16;e++){if(t.length>=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<r;++i){n+=f.codePointToString(f.singleByteDecoder(e[i]))}return n}static inRange(e,t,r){return t<=e&&e<=r}static codePointToString(e){if(e<=65535){return String.fromCharCode(e)}else{e-=65536;return String.fromCharCode((e>>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<r&&(i*=256)){n+=e[t+o]*i}return n}function l(e,t,r,n){t=+t;r=r>>>0;n=n>>>0;let i=1;let o=0;e[r]=t&255;while(++o<n&&(i*=256)){e[r+o]=t/i&255}return r+n}function c(e,t,r){t=t>>>0;r=r>>>0;let n=e[t];let i=1;let o=0;while(++o<r&&(i*=256)){n+=e[t+o]*i}i*=128;if(n>=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<n&&(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.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)&&o<n){throw new i.EndOfStreamError}return o}async peekBuffer(t,r){let n=0;let o;let a=t.length;if(r){if(r.offset){n=r.offset}if(Number.isInteger(r.length)){a=r.length}else{a-=r.offset||0}if(r.position){const i=r.position-this.position;if(i>0){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<a){throw new i.EndOfStreamError}return o}async ignore(t){a(`ignore ${this.position}...${this.position+t-1}`);const r=Math.min(s,t);const n=e.alloc(r);let i=0;while(i<t){const e=t-i;const o=await this.readBuffer(n,{length:Math.min(r,e)});if(o<0){return o}i+=o}return i}}t.ReadStreamTokenizer=f}).call(this,r(429).Buffer)},453:function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:true});const n=r(454);class i{constructor(t){this.position=0;this.numBuffer=e.alloc(10);this.fileInfo=t?t:{}}async readToken(t,r){const i=e.alloc(t.len);const o=await this.readBuffer(i,{position:r});if(o<t.len)throw new n.EndOfStreamError;return t.get(i,0)}async peekToken(t,r=this.position){const i=e.alloc(t.len);const o=await this.peekBuffer(i,{position:r});if(o<t.len)throw new n.EndOfStreamError;return t.get(i,0)}async readNumber(e){const t=await this.readBuffer(this.numBuffer,{length:e.len});if(t<e.len)throw new n.EndOfStreamError;return e.get(this.numBuffer,0)}async peekNumber(e){const t=await this.peekBuffer(this.numBuffer,{length:e.len});if(t<e.len)throw new n.EndOfStreamError;return e.get(this.numBuffer,0)}async close(){}}t.AbstractTokenizer=i}).call(this,r(429).Buffer)},454:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(12);const i=r(455);var o=r(455);t.EndOfStreamError=o.EndOfStreamError;class a{constructor(){this.promise=new Promise((e,t)=>{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(i<r.length){this.peekQueue.push(r.slice(i))}}while(n>0&&!this.endOfStream){const r=Math.min(n,s);const i=await this._read(e,t+o,r);o+=i;if(i<r)break;n-=i}return o}async _read(e,t,r){n.ok(!this.request,"Concurrent read operation?");const i=this.s.read(r);if(i){i.copy(e,t);return i.length}else{this.request={buffer:e,offset:t,length:r,deferred:new a};this.s.once("readable",()=>{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<e.length;r++){t=(t<<5)-t+e.charCodeAt(r);t|=0}return n.colors[Math.abs(t)%n.colors.length]}n.selectColor=t;function n(e){let r;function a(...e){if(!a.enabled){return}const t=a;const i=Number(new Date);const o=i-(r||i);t.diff=o;t.prev=r;t.curr=i;r=i;e[0]=n.coerce(e[0]);if(typeof e[0]!=="string"){e.unshift("%O")}let s=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,i)=>{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<i;t++){if(!r[t]){continue}e=r[t].replace(/\*/g,".*?");if(e[0]==="-"){n.skips.push(new RegExp("^"+e.substr(1)+"$"))}else{n.names.push(new RegExp("^"+e+"$"))}}for(t=0;t<n.instances.length;t++){const e=n.instances[t];e.enabled=n.enabled(e.namespace)}}function s(){const e=[...n.names.map(u),...n.skips.map(u).map(e=>"-"+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;t<r;t++){if(n.skips[t].test(e)){return false}}for(t=0,r=n.names.length;t<r;t++){if(n.names[t].test(e)){return true}}return false}function u(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}function l(e){if(e instanceof Error){return e.stack||e.message}return e}n.enable(n.load());return n}e.exports=n},459:function(e,t){var r=1e3;var n=r*60;var i=n*60;var o=i*24;var a=o*7;var s=o*365.25;e.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0){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<r.length;n++){e.inspectOpts[r[n]]=t.inspectOpts[r[n]]}}e.exports=r(458)(t);const{formatters:h}=e.exports;h.o=function(e){this.inspectOpts.colors=this.useColors;return o.inspect(e,this.inspectOpts).replace(/\s*\n\s*/g," ")};h.O=function(e){this.inspectOpts.colors=this.useColors;return o.inspect(e,this.inspectOpts)}}).call(this,r(8))},461:function(e,t){t.isatty=function(){return false};function r(){throw new Error("tty.ReadStream is not implemented")}t.ReadStream=r;function n(){throw new Error("tty.ReadStream is not implemented")}t.WriteStream=n},462:function(e,t,r){"use strict";(function(t){const n=r(463);const i=r(464);const o=t.env;let a;if(i("no-color")||i("no-colors")||i("color=false")){a=false}else if(i("color")||i("colors")||i("color=true")||i("color=always")){a=true}if("FORCE_COLOR"in o){a=o.FORCE_COLOR.length===0||parseInt(o.FORCE_COLOR,10)!==0}function s(e){if(e===0){return false}return{level:e,hasBasic:true,has256:e>=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<o)}}).call(this,r(8))},465:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(454);class i{constructor(e,t){this.buffer=e;this.position=0;this.fileInfo=t?t:{};this.fileInfo.size=this.fileInfo.size?this.fileInfo.size:e.length}async readBuffer(e,t){if(t&&t.position){if(t.position<this.position){throw new Error("`options.position` can be less than `tokenizer.position`")}this.position=t.position}return this.peekBuffer(e,t).then(e=>{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<this.position){throw new Error("`options.position` can be less than `tokenizer.position`")}o=t.position}if(Number.isInteger(t.length)){i=t.length}else{i-=t.offset||0}if(t.offset){r=t.offset}}if(i===0){return Promise.resolve(0)}o=o||this.position;if(!i){i=e.length}const a=Math.min(this.buffer.length-o,i);if((!t||!t.mayBeLess)&&a<i){throw new n.EndOfStreamError}else{this.buffer.copy(e,r,o,o+a);return a}}async readToken(e,t){this.position=t||this.position;try{const t=this.peekToken(e,this.position);this.position+=e.len;return t}catch(e){this.position+=this.buffer.length-t;throw e}}async peekToken(e,t=this.position){if(this.buffer.length-t<e.len){throw new n.EndOfStreamError}return e.get(this.buffer,t)}async readNumber(e){return this.readToken(e)}async peekNumber(e){return this.peekToken(e)}async ignore(e){const t=Math.min(this.buffer.length-this.position,e);this.position+=t;return t}async close(){}}t.BufferTokenizer=i},466:function(e,t,r){"use strict";t.stringToBytes=e=>[...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<u.length;l++){var c=u[l];var p=c[0];var h=c[1];if(!s[h]){s[h]=p}}e.exports=s;function d(){}function m(){s.log.apply(s,arguments)}function g(){s.log.apply(s,arguments)}function y(){s.warn.apply(s,arguments)}function v(e){f[e]=o()}function w(e){var t=f[e];if(!t){throw new Error("No such label: "+e)}delete f[e];var r=o()-t;s.log(e+": "+r+"ms")}function b(){var e=new Error;e.name="Trace";e.message=n.format.apply(null,arguments);s.error(e.stack)}function x(e){s.log(n.inspect(e)+"\n")}function E(e){if(!e){var t=a.call(arguments,1);i.ok(false,n.format.apply(null,t))}}}).call(this,r(6))},6:function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){if(typeof window==="object")r=window}e.exports=r},7:function(e,t,r){(function(e,n){var i=Object.getOwnPropertyDescriptors||function e(t){var r=Object.keys(t);var n={};for(var i=0;i<r.length;i++){n[r[i]]=Object.getOwnPropertyDescriptor(t,r[i])}return n};var o=/%[sdj%]/g;t.format=function(e){if(!_(e)){var t=[];for(var r=0;r<arguments.length;r++){t.push(f(arguments[r]))}return t.join(" ")}var r=1;var n=arguments;var i=n.length;var a=String(e).replace(o,(function(e){if(e==="%%")return"%";if(r>=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<i;s=n[++r]){if(b(s)||!C(s)){a+=" "+s}else{a+=" "+f(s)}}return a};t.deprecate=function(r,i){if(typeof e!=="undefined"&&e.noDeprecation===true){return r}if(typeof e==="undefined"){return function(){return t.deprecate(r,i).apply(this,arguments)}}var o=false;function a(){if(!o){if(e.throwDeprecation){throw new Error(i)}else if(e.traceDeprecation){n.trace(i)}else{n.error(i)}o=true}return r.apply(this,arguments)}return a};var a={};var s;t.debuglog=function(r){if(S(s))s=e.env.NODE_DEBUG||"";r=r.toUpperCase();if(!a[r]){if(new RegExp("\\b"+r+"\\b","i").test(s)){var i=e.pid;a[r]=function(){var e=t.format.apply(t,arguments);n.error("%s %d: %s",r,i,e)}}else{a[r]=function(){}}}return a[r]};function f(e,r){var n={seen:[],stylize:l};if(arguments.length>=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<s;++a){if(P(t,String(a))){o.push(g(e,t,r,n,String(a),true))}else{o.push("")}}i.forEach((function(i){if(!i.match(/^\d+$/)){o.push(g(e,t,r,n,i,true))}}));return o}function g(e,t,r,n,i,o){var a,s,f;f=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]};if(f.get){if(f.set){s=e.stylize("[Getter/Setter]","special")}else{s=e.stylize("[Getter]","special")}}else{if(f.set){s=e.stylize("[Setter]","special")}}if(!P(n,i)){a="["+i+"]"}if(!s){if(e.seen.indexOf(f.value)<0){if(b(r)){s=p(e,f.value,null)}else{s=p(e,f.value,r-1)}if(s.indexOf("\n")>-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;o<arguments.length;o++){i.push(arguments[o])}i.push((function(t,n){if(t){r(t)}else{e(n)}}));try{t.apply(this,i)}catch(e){r(e)}return n}Object.setPrototypeOf(r,Object.getPrototypeOf(t));if(F)Object.defineProperty(r,F,{value:r,enumerable:false,writable:false,configurable:true});return Object.defineProperties(r,i(t))};t.promisify.custom=F;function U(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e;e=r}return t(e)}function q(t){if(typeof t!=="function"){throw new TypeError('The "original" argument must be of type Function')}function r(){var r=[];for(var n=0;n<arguments.length;n++){r.push(arguments[n])}var i=r.pop();if(typeof i!=="function"){throw new TypeError("The last argument must be of type Function")}var o=this;var a=function(){return i.apply(o,arguments)};t.apply(this,r).then((function(t){e.nextTick(a,null,t)}),(function(t){e.nextTick(U,t,a)}))}Object.setPrototypeOf(r,Object.getPrototypeOf(t));Object.defineProperties(r,i(t));return r}t.callbackify=q}).call(this,r(8),r(5))},8:function(e,t){var r=e.exports={};var n;var i;function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}(function(){try{if(typeof setTimeout==="function"){n=setTimeout}else{n=o}}catch(e){n=o}try{if(typeof clearTimeout==="function"){i=clearTimeout}else{i=a}}catch(e){i=a}})();function s(e){if(n===setTimeout){return setTimeout(e,0)}if((n===o||!n)&&setTimeout){n=setTimeout;return setTimeout(e,0)}try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}function f(e){if(i===clearTimeout){return clearTimeout(e)}if((i===a||!i)&&clearTimeout){i=clearTimeout;return clearTimeout(e)}try{return i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}var u=[];var l=false;var c;var p=-1;function h(){if(!l||!c){return}l=false;if(c.length){u=c.concat(u)}else{p=-1}if(u.length){d()}}function d(){if(l){return}var e=s(h);l=true;var t=u.length;while(t){c=u;u=[];while(++p<t){if(c){c[p].run()}}p=-1;t=u.length}c=null;l=false;f(e)}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1){for(var r=1;r<arguments.length;r++){t[r-1]=arguments[r]}}u.push(new m(e,t));if(u.length===1&&!l){s(d)}};function m(e,t){this.fun=e;this.array=t}m.prototype.run=function(){this.fun.apply(null,this.array)};r.title="browser";r.browser=true;r.env={};r.argv=[];r.version="";r.versions={};function g(){}r.on=g;r.addListener=g;r.once=g;r.off=g;r.removeListener=g;r.removeAllListeners=g;r.emit=g;r.prependListener=g;r.prependOnceListener=g;r.listeners=function(e){return[]};r.binding=function(e){throw new Error("process.binding is not supported")};r.cwd=function(){return"/"};r.chdir=function(e){throw new Error("process.chdir is not supported")};r.umask=function(){return 0}},9:function(e,t){e.exports=function e(t){return t&&typeof t==="object"&&typeof t.copy==="function"&&typeof t.fill==="function"&&typeof t.readUInt8==="function"}}});

haha - 2025