@techdocs/cli 1.11.0 → 1.11.1-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/embedded-app/index.html +1 -1
- package/dist/embedded-app/index.html.tmpl +1 -1
- package/dist/embedded-app/static/123.e2561e2e.chunk.js +2 -0
- package/dist/embedded-app/static/123.e2561e2e.chunk.js.map +1 -0
- package/dist/embedded-app/static/1659.12995005.chunk.js +2 -0
- package/dist/embedded-app/static/1659.12995005.chunk.js.map +1 -0
- package/dist/embedded-app/static/1749.88fabbd9.chunk.js +2 -0
- package/dist/embedded-app/static/1749.88fabbd9.chunk.js.map +1 -0
- package/dist/embedded-app/static/1994.2cfb821f.chunk.js +2 -0
- package/dist/embedded-app/static/1994.2cfb821f.chunk.js.map +1 -0
- package/dist/embedded-app/static/2295.f9986c48.chunk.js +5 -0
- package/dist/embedded-app/static/{2295.affbb231.chunk.js.map → 2295.f9986c48.chunk.js.map} +1 -1
- package/dist/embedded-app/static/346.9e02822e.chunk.js +2 -0
- package/dist/embedded-app/static/346.9e02822e.chunk.js.map +1 -0
- package/dist/embedded-app/static/3554.ca76c89d.chunk.js +2 -0
- package/dist/embedded-app/static/3554.ca76c89d.chunk.js.map +1 -0
- package/dist/embedded-app/static/4068.1e59fc00.chunk.js +2 -0
- package/dist/embedded-app/static/4068.1e59fc00.chunk.js.map +1 -0
- package/dist/embedded-app/static/4587.efbce5d5.chunk.js +2 -0
- package/dist/embedded-app/static/4587.efbce5d5.chunk.js.map +1 -0
- package/dist/embedded-app/static/4648.dfb3c345.chunk.js +2 -0
- package/dist/embedded-app/static/4648.dfb3c345.chunk.js.map +1 -0
- package/dist/embedded-app/static/6138.987a78a5.chunk.js +2 -0
- package/dist/embedded-app/static/6138.987a78a5.chunk.js.map +1 -0
- package/dist/embedded-app/static/6765.828c416f.chunk.js +2 -0
- package/dist/embedded-app/static/6765.828c416f.chunk.js.map +1 -0
- package/dist/embedded-app/static/7203.95d48503.chunk.js +2 -0
- package/dist/embedded-app/static/7203.95d48503.chunk.js.map +1 -0
- package/dist/embedded-app/static/7856.7856.2ef94f7d.css +2 -0
- package/dist/embedded-app/static/7856.7856.2ef94f7d.css.map +1 -0
- package/dist/embedded-app/static/7856.a9e5487d.chunk.js +4 -0
- package/dist/embedded-app/static/7856.a9e5487d.chunk.js.map +1 -0
- package/dist/embedded-app/static/8461.a73655fa.chunk.js +10 -0
- package/dist/embedded-app/static/8461.a73655fa.chunk.js.map +1 -0
- package/dist/embedded-app/static/{8877.e8bfd14a.chunk.js → 8877.01470f80.chunk.js} +2 -2
- package/dist/embedded-app/static/{8877.e8bfd14a.chunk.js.map → 8877.01470f80.chunk.js.map} +1 -1
- package/dist/embedded-app/static/9050.cfd5d3db.chunk.js +2 -0
- package/dist/embedded-app/static/9050.cfd5d3db.chunk.js.map +1 -0
- package/dist/embedded-app/static/9230.1fe8299d.chunk.js +2 -0
- package/dist/embedded-app/static/9230.1fe8299d.chunk.js.map +1 -0
- package/dist/embedded-app/static/main.1386fe6b.js +523 -0
- package/dist/embedded-app/static/main.1386fe6b.js.map +1 -0
- package/dist/embedded-app/static/module-remixicon.edbfebd0.js +2 -0
- package/dist/embedded-app/static/{module-remixicon.341273f1.js.map → module-remixicon.edbfebd0.js.map} +1 -1
- package/dist/embedded-app/static/{runtime.a488003a.js → runtime.e9011c21.js} +2 -2
- package/dist/embedded-app/static/runtime.e9011c21.js.map +1 -0
- package/dist/embedded-app/static/vendor.4d868e99.js +16 -0
- package/dist/embedded-app/static/vendor.4d868e99.js.map +1 -0
- package/dist/package.json.cjs.js +1 -1
- package/package.json +7 -7
- package/dist/embedded-app/static/123.142e539e.chunk.js +0 -2
- package/dist/embedded-app/static/123.142e539e.chunk.js.map +0 -1
- package/dist/embedded-app/static/1307.f9c6330b.chunk.js +0 -2
- package/dist/embedded-app/static/1307.f9c6330b.chunk.js.map +0 -1
- package/dist/embedded-app/static/1659.bb488e63.chunk.js +0 -2
- package/dist/embedded-app/static/1659.bb488e63.chunk.js.map +0 -1
- package/dist/embedded-app/static/1749.5c6d14b3.chunk.js +0 -2
- package/dist/embedded-app/static/1749.5c6d14b3.chunk.js.map +0 -1
- package/dist/embedded-app/static/1994.d0e9b7f4.chunk.js +0 -2
- package/dist/embedded-app/static/1994.d0e9b7f4.chunk.js.map +0 -1
- package/dist/embedded-app/static/2295.affbb231.chunk.js +0 -5
- package/dist/embedded-app/static/3554.f1e6f062.chunk.js +0 -2
- package/dist/embedded-app/static/3554.f1e6f062.chunk.js.map +0 -1
- package/dist/embedded-app/static/4089.137c33ab.chunk.js +0 -2
- package/dist/embedded-app/static/4089.137c33ab.chunk.js.map +0 -1
- package/dist/embedded-app/static/4384.041ffb6f.chunk.js +0 -2
- package/dist/embedded-app/static/4384.041ffb6f.chunk.js.map +0 -1
- package/dist/embedded-app/static/4587.d64f4b31.chunk.js +0 -2
- package/dist/embedded-app/static/4587.d64f4b31.chunk.js.map +0 -1
- package/dist/embedded-app/static/4648.b420cd3f.chunk.js +0 -2
- package/dist/embedded-app/static/4648.b420cd3f.chunk.js.map +0 -1
- package/dist/embedded-app/static/6138.d0e9af8c.chunk.js +0 -2
- package/dist/embedded-app/static/6138.d0e9af8c.chunk.js.map +0 -1
- package/dist/embedded-app/static/7203.488dadf4.chunk.js +0 -2
- package/dist/embedded-app/static/7203.488dadf4.chunk.js.map +0 -1
- package/dist/embedded-app/static/8461.dd2f61f9.chunk.js +0 -10
- package/dist/embedded-app/static/8461.dd2f61f9.chunk.js.map +0 -1
- package/dist/embedded-app/static/9050.50e00dc0.chunk.js +0 -2
- package/dist/embedded-app/static/9050.50e00dc0.chunk.js.map +0 -1
- package/dist/embedded-app/static/9230.cfa35d54.chunk.js +0 -2
- package/dist/embedded-app/static/9230.cfa35d54.chunk.js.map +0 -1
- package/dist/embedded-app/static/main.f8fa9bd1.js +0 -523
- package/dist/embedded-app/static/main.f8fa9bd1.js.map +0 -1
- package/dist/embedded-app/static/module-remixicon.341273f1.js +0 -2
- package/dist/embedded-app/static/runtime.a488003a.js.map +0 -1
- package/dist/embedded-app/static/vendor.9b873777.js +0 -16
- package/dist/embedded-app/static/vendor.9b873777.js.map +0 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([["6765"],{88654(e,t,r){"use strict";r.d(t,{A:()=>n});let n={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"}},89142(e,t,r){var n=r(1048).Buffer;let{Transform:o}=r(31983),a=n.from([239,187,191]);class s extends o{constructor(e={}){let t;super({writableObjectMode:!0,...e});const r={};for(let t in e)r[c(t)]=e[t];if(t=this.normalize(r))throw t;switch(r.record_delimiter){case"auto":r.record_delimiter=null;break;case"unix":r.record_delimiter="\n";break;case"mac":r.record_delimiter="\r";break;case"windows":r.record_delimiter="\r\n";break;case"ascii":r.record_delimiter="\x1e";break;case"unicode":r.record_delimiter="\u2028"}this.options=r,this.state={stop:!1},this.info={records:0}}normalize(e){if(void 0===e.bom||null===e.bom||!1===e.bom)e.bom=!1;else if(!0!==e.bom)return new u("CSV_OPTION_BOOLEAN_INVALID_TYPE",["option `bom` is optional and must be a boolean value,",`got ${JSON.stringify(e.bom)}`]);if(void 0===e.delimiter||null===e.delimiter)e.delimiter=",";else if(n.isBuffer(e.delimiter))e.delimiter=e.delimiter.toString();else if("string"!=typeof e.delimiter)return new u("CSV_OPTION_DELIMITER_INVALID_TYPE",["option `delimiter` must be a buffer or a string,",`got ${JSON.stringify(e.delimiter)}`]);if(void 0===e.quote||null===e.quote)e.quote='"';else if(!0===e.quote)e.quote='"';else if(!1===e.quote)e.quote="";else if(n.isBuffer(e.quote))e.quote=e.quote.toString();else if("string"!=typeof e.quote)return new u("CSV_OPTION_QUOTE_INVALID_TYPE",["option `quote` must be a boolean, a buffer or a string,",`got ${JSON.stringify(e.quote)}`]);if((void 0===e.quoted||null===e.quoted)&&(e.quoted=!1),(void 0===e.quoted_empty||null===e.quoted_empty)&&(e.quoted_empty=void 0),void 0===e.quoted_match||null===e.quoted_match||!1===e.quoted_match?e.quoted_match=null:Array.isArray(e.quoted_match)||(e.quoted_match=[e.quoted_match]),e.quoted_match)for(let t of e.quoted_match){let e="string"==typeof t,r=t instanceof RegExp;if(!e&&!r)return Error(`Invalid Option: quoted_match must be a string or a regex, got ${JSON.stringify(t)}`)}if((void 0===e.quoted_string||null===e.quoted_string)&&(e.quoted_string=!1),(void 0===e.eof||null===e.eof)&&(e.eof=!0),void 0===e.escape||null===e.escape)e.escape='"';else if(n.isBuffer(e.escape))e.escape=e.escape.toString();else if("string"!=typeof e.escape)return Error(`Invalid Option: escape must be a buffer or a string, got ${JSON.stringify(e.escape)}`);if(e.escape.length>1)return Error(`Invalid Option: escape must be one character, got ${e.escape.length} characters`);if((void 0===e.header||null===e.header)&&(e.header=!1),e.columns=this.normalize_columns(e.columns),(void 0===e.quoted||null===e.quoted)&&(e.quoted=!1),(void 0===e.cast||null===e.cast)&&(e.cast={}),(void 0===e.cast.bigint||null===e.cast.bigint)&&(e.cast.bigint=e=>""+e),(void 0===e.cast.boolean||null===e.cast.boolean)&&(e.cast.boolean=e=>e?"1":""),(void 0===e.cast.date||null===e.cast.date)&&(e.cast.date=e=>""+e.getTime()),(void 0===e.cast.number||null===e.cast.number)&&(e.cast.number=e=>""+e),(void 0===e.cast.object||null===e.cast.object)&&(e.cast.object=e=>JSON.stringify(e)),(void 0===e.cast.string||null===e.cast.string)&&(e.cast.string=function(e){return e}),void 0===e.record_delimiter||null===e.record_delimiter)e.record_delimiter="\n";else if(n.isBuffer(e.record_delimiter))e.record_delimiter=e.record_delimiter.toString();else if("string"!=typeof e.record_delimiter)return Error(`Invalid Option: record_delimiter must be a buffer or a string, got ${JSON.stringify(e.record_delimiter)}`)}_transform(e,t,r){let n;if(!0!==this.state.stop){if(!Array.isArray(e)&&"object"!=typeof e)return this.state.stop=!0,r(Error(`Invalid Record: expect an array or an object, got ${JSON.stringify(e)}`));if(0===this.info.records)if(Array.isArray(e)){if(!0===this.options.header&&!this.options.columns)return this.state.stop=!0,r(Error("Undiscoverable Columns: header option requires column option or object records"))}else(void 0===this.options.columns||null===this.options.columns)&&(this.options.columns=this.normalize_columns(Object.keys(e)));0===this.info.records&&(this.bom(),this.headers());try{this.emit("record",e,this.info.records)}catch(e){return this.state.stop=!0,this.emit("error",e)}if(this.options.eof){if(void 0===(n=this.stringify(e)))return;n+=this.options.record_delimiter}else{if(void 0===(n=this.stringify(e)))return;(this.options.header||this.info.records)&&(n=this.options.record_delimiter+n)}this.info.records++,this.push(n),r()}}_flush(e){0===this.info.records&&(this.bom(),this.headers()),e()}stringify(e,t=!1){if("object"!=typeof e)return e;let{columns:r,header:n}=this.options,o=[];if(Array.isArray(e)){r&&e.splice(r.length);for(let r=0;r<e.length;r++){let n=e[r],[a,s]=this.__cast(n,{index:r,column:r,records:this.info.records,header:t});if(a)return void this.emit("error",a);o[r]=[s,n]}}else if(r)for(let n=0;n<r.length;n++){let a=_(e,r[n].key),[s,l]=this.__cast(a,{index:n,column:r[n].key,records:this.info.records,header:t});if(s)return void this.emit("error",s);o[n]=[l,a]}else for(let n of e){let a=e[n],[s,l]=this.__cast(a,{index:i,column:r[i].key,records:this.info.records,header:t});if(s)return void this.emit("error",s);o.push([l,a])}let a="";for(let e=0;e<o.length;e++){let t,r,[n,s]=o[e];if("string"==typeof n)t=this.options;else if(f(n)){if(n=(t=n).value,delete t.value,"string"!=typeof n&&null!=n)return void this.emit("error",Error(`Invalid Casting Value: returned value must return a string, null or undefined, got ${JSON.stringify(n)}`));if(t={...this.options,...t},r=this.normalize(t))return void this.emit("error",r)}else{if(null!=n)return void this.emit("error",Error(`Invalid Casting Value: returned value must return a string, an object, null or undefined, got ${JSON.stringify(n)}`));t=this.options}let{delimiter:l,escape:u,quote:c,quoted:d,quoted_empty:h,quoted_string:p,quoted_match:g,record_delimiter:b}=t;if(n){if("string"!=typeof n)return this.emit("error",Error(`Formatter must return a string, null or undefined, got ${JSON.stringify(n)}`)),null;let e=l.length&&n.indexOf(l)>=0,t=""!==c&&n.indexOf(c)>=0,r=n.indexOf(u)>=0&&u!==c,o=n.indexOf(b)>=0,f=p&&"string"==typeof s,h=g&&g.filter(e=>"string"==typeof e?-1!==n.indexOf(e):e.test(n));h=h&&h.length>0;let m=!0===t||e||o||d||f||h;if(!0===m&&!0===r){let e="\\"===u?RegExp(u+u,"g"):RegExp(u,"g");n=n.replace(e,u+u)}if(!0===t){let e=RegExp(c,"g");n=n.replace(e,u+c)}!0===m&&(n=c+n+c),a+=n}else(!0===h||""===s&&!0===p&&!1!==h)&&(a+=c+c);e!==o.length-1&&(a+=l)}return a}bom(){!0===this.options.bom&&this.push(a)}headers(){if(!1===this.options.header||void 0===this.options.columns)return;let e=this.options.columns.map(e=>e.header);e=this.options.eof?this.stringify(e,!0)+this.options.record_delimiter:this.stringify(e),this.push(e)}__cast(e,t){let r=typeof e;try{if("string"===r)return[void 0,this.options.cast.string(e,t)];if("bigint"===r)return[void 0,this.options.cast.bigint(e,t)];if("number"===r)return[void 0,this.options.cast.number(e,t)];else if("boolean"===r)return[void 0,this.options.cast.boolean(e,t)];else if(e instanceof Date)return[void 0,this.options.cast.date(e,t)];else if("object"===r&&null!==e)return[void 0,this.options.cast.object(e,t)];else return[void 0,e,e]}catch(e){return[e]}}normalize_columns(e){if(null!=e){if("object"!=typeof e)throw Error('Invalid option "columns": expect an array or an object');if(Array.isArray(e)){let t=[];for(let r of e)if("string"==typeof r)t.push({key:r,header:r});else if("object"!=typeof r||void 0===r||Array.isArray(r))throw Error("Invalid column definition: expect a string or an object");else{if(!r.key)throw Error('Invalid column definition: property "key" is required');void 0===r.header&&(r.header=r.key),t.push(r)}e=t}else{let t=[];for(let r in e)t.push({key:r,header:e[r]});e=t}return e}}}let l=function(){let e,t,r;for(let n in arguments){let o=arguments[n],a=typeof o;if(void 0===e&&Array.isArray(o))e=o;else if(void 0===t&&f(o))t=o;else if(void 0===r&&"function"===a)r=o;else throw new u("CSV_INVALID_ARGUMENT",["Invalid argument:",`got ${JSON.stringify(o)} at index ${n}`])}let n=new s(t);if(r){let e=[];n.on("readable",function(){let t;for(;null!==(t=this.read());)e.push(t)}),n.on("error",function(e){r(e)}),n.on("end",function(){r(void 0,e.join(""))})}if(void 0!==e)if("function"==typeof setImmediate)setImmediate(function(){for(let t of e)n.write(t);n.end()});else{for(let t of e)n.write(t);n.end()}return n};class u extends Error{constructor(e,t,...r){for(const o of(Array.isArray(t)&&(t=t.join(" ")),super(t),void 0!==Error.captureStackTrace&&Error.captureStackTrace(this,u),this.code=e,r))for(const e in o){const t=o[e];this[e]=n.isBuffer(t)?t.toString():null==t?t:JSON.parse(JSON.stringify(t))}}}l.Stringifier=s,l.CsvError=u,e.exports=l;let f=function(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)},c=function(e){return e.replace(/([A-Z])/g,function(e,t){return"_"+t.toLowerCase()})},d=/\\(\\)?/g,h=RegExp("[^.[\\]]+|\\[(?:([^\"'][^[]*)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))","g"),p=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,g=/^\w*$/,b=function(e,t){if(Array.isArray(e))return!1;let r=typeof e;return!!("number"===r||"symbol"===r||"boolean"===r||!e||m(e))||g.test(e)||!p.test(e)||null!=t&&e in Object(t)},m=function(e){let t=typeof e;return"symbol"===t||"object"===t&&e&&"[object Symbol]"===Object.prototype.toString.call(e)},v=function(e){let t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(h,function(e,r,n,o){let a=e;n?a=o.replace(d,"$1"):r&&(a=r.trim()),t.push(a)}),t},y=function(e){if("string"==typeof e||m(e))return e;let t=`${e}`;return"0"==t&&1/e==-INFINITY?"-0":t},_=function(e,t){var r,n;r=t,n=e;let o=0,a=(t=Array.isArray(r)?r:b(r,n)?[r]:v(r)).length;for(;null!=e&&o<a;)e=e[y(t[o++])];return o&&o===a?e:void 0}},7583(e,t,r){var n=r(1048).Buffer;let o=r(89142),{StringDecoder:a}=r(18888);e.exports=function(e,t={}){let r=[];function s(e){e&&r.push(e.toString())}n.isBuffer(e)&&(e=new a().write(e));let l=new o.Stringifier(t);for(let t of(l.on("data",s),e))l.write(t);return l.end(),l.off("data",s),r.join("")}},50046(e){"use strict";var t,r="object"==typeof Reflect?Reflect:null,n=r&&"function"==typeof r.apply?r.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};t=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}e.exports=a,e.exports.once=function(e,t){return new Promise(function(r,n){var o,a,s;function l(r){e.removeListener(t,u),n(r)}function u(){"function"==typeof e.removeListener&&e.removeListener("error",l),r([].slice.call(arguments))}b(e,t,u,{once:!0}),"error"!==t&&(o=e,a=l,s={once:!0},"function"==typeof o.on&&b(o,"error",a,s))})},a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var s=10;function l(e){if("function"!=typeof e)throw TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?a.defaultMaxListeners:e._maxListeners}function f(e,t,r,n){if(l(r),void 0===(a=e._events)?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),a=e._events),s=a[t]),void 0===s)s=a[t]=r,++e._eventsCount;else if("function"==typeof s?s=a[t]=n?[r,s]:[s,r]:n?s.unshift(r):s.push(r),(o=u(e))>0&&s.length>o&&!s.warned){s.warned=!0;var o,a,s,f=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,console&&console.warn&&console.warn(f)}return e}function c(){if(!this.fired)return(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0==arguments.length)?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},o=c.bind(n);return o.listener=r,n.wrapFn=o,o}function h(e,t,r){var n=e._events;if(void 0===n)return[];var o=n[t];return void 0===o?[]:"function"==typeof o?r?[o.listener||o]:[o]:r?function(e){for(var t=Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(o):g(o,o.length)}function p(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function g(e,t){for(var r=Array(t),n=0;n<t;++n)r[n]=e[n];return r}function b(e,t,r,n){if("function"==typeof e.on)n.once?e.once(t,r):e.on(t,r);else if("function"==typeof e.addEventListener)e.addEventListener(t,function o(a){n.once&&e.removeEventListener(t,o),r(a)});else throw TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)}Object.defineProperty(a,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(e){if("number"!=typeof e||e<0||o(e))throw RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");s=e}}),a.init=function(){(void 0===this._events||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},a.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||o(e))throw RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},a.prototype.getMaxListeners=function(){return u(this)},a.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var o="error"===e,a=this._events;if(void 0!==a)o=o&&void 0===a.error;else if(!o)return!1;if(o){if(t.length>0&&(s=t[0]),s instanceof Error)throw s;var s,l=Error("Unhandled error."+(s?" ("+s.message+")":""));throw l.context=s,l}var u=a[e];if(void 0===u)return!1;if("function"==typeof u)n(u,this,t);else for(var f=u.length,c=g(u,f),r=0;r<f;++r)n(c[r],this,t);return!0},a.prototype.addListener=function(e,t){return f(this,e,t,!1)},a.prototype.on=a.prototype.addListener,a.prototype.prependListener=function(e,t){return f(this,e,t,!0)},a.prototype.once=function(e,t){return l(t),this.on(e,d(this,e,t)),this},a.prototype.prependOnceListener=function(e,t){return l(t),this.prependListener(e,d(this,e,t)),this},a.prototype.removeListener=function(e,t){var r,n,o,a,s;if(l(t),void 0===(n=this._events)||void 0===(r=n[e]))return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(o=-1,a=r.length-1;a>=0;a--)if(r[a]===t||r[a].listener===t){s=r[a].listener,o=a;break}if(o<0)return this;0===o?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,o),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,s||t)}return this},a.prototype.off=a.prototype.removeListener,a.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0==arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0==arguments.length){var o,a=Object.keys(r);for(n=0;n<a.length;++n)"removeListener"!==(o=a[n])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},a.prototype.listeners=function(e){return h(this,e,!0)},a.prototype.rawListeners=function(e){return h(this,e,!1)},a.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},a.prototype.listenerCount=p,a.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},35615(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},86912(e){e.exports=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}},84570(e,t,r){var n=r(47170);e.exports=r(45770)(n)},90313(e,t,r){var n=r(11129),o=r(20714);e.exports=function e(t,r,a,s,l){var u=-1,f=t.length;for(a||(a=o),l||(l=[]);++u<f;){var c=t[u];r>0&&a(c)?r>1?e(c,r-1,a,s,l):n(l,c):s||(l[l.length]=c)}return l}},41393(e,t,r){var n=r(84570),o=r(36529);e.exports=function(e,t){var r=-1,a=o(e)?Array(e.length):[];return n(e,function(e,n,o){a[++r]=t(e,n,o)}),a}},70310(e,t,r){var n=r(65111),o=r(57923),a=r(3334),s=r(41393),l=r(50642),u=r(49460),f=r(46775),c=r(22053),d=r(53142);e.exports=function(e,t,r){t=t.length?n(t,function(e){return d(e)?function(t){return o(t,1===e.length?e[0]:e)}:e}):[c];var h=-1;return t=n(t,u(a)),l(s(e,function(e,r,o){return{criteria:n(t,function(t){return t(e)}),index:++h,value:e}}),function(e,t){return f(e,t,r)})}},23945(e,t,r){var n=r(22053),o=r(75234),a=r(80796);e.exports=function(e,t){return a(o(e,t,n),e+"")}},47403(e,t,r){var n=r(82619),o=r(72532),a=r(22053);e.exports=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:a},50642(e){e.exports=function(e,t){var r=e.length;for(e.sort(t);r--;)e[r]=e[r].value;return e}},63521(e,t,r){var n=r(51187);e.exports=function(e,t){if(e!==t){var r=void 0!==e,o=null===e,a=e==e,s=n(e),l=void 0!==t,u=null===t,f=t==t,c=n(t);if(!u&&!c&&!s&&e>t||s&&l&&f&&!u&&!c||o&&l&&f||!r&&f||!a)return 1;if(!o&&!s&&!c&&e<t||c&&r&&a&&!o&&!s||u&&r&&a||!l&&a||!f)return -1}return 0}},46775(e,t,r){var n=r(63521);e.exports=function(e,t,r){for(var o=-1,a=e.criteria,s=t.criteria,l=a.length,u=r.length;++o<l;){var f=n(a[o],s[o]);if(f){if(o>=u)return f;return f*("desc"==r[o]?-1:1)}}return e.index-t.index}},45770(e,t,r){var n=r(36529);e.exports=function(e,t){return function(r,o){if(null==r)return r;if(!n(r))return e(r,o);for(var a=r.length,s=t?a:-1,l=Object(r);(t?s--:++s<a)&&!1!==o(l[s],s,l););return r}}},20714(e,t,r){var n=r(65650),o=r(3283),a=r(53142),s=n?n.isConcatSpreadable:void 0;e.exports=function(e){return a(e)||o(e)||!!(s&&e&&e[s])}},74535(e,t,r){var n=r(46285),o=r(36529),a=r(69632),s=r(41580);e.exports=function(e,t,r){if(!s(r))return!1;var l=typeof t;return("number"==l?!!(o(r)&&a(t,r.length)):"string"==l&&t in r)&&n(r[t],e)}},75234(e,t,r){var n=r(86912),o=Math.max;e.exports=function(e,t,r){return t=o(void 0===t?e.length-1:t,0),function(){for(var a=arguments,s=-1,l=o(a.length-t,0),u=Array(l);++s<l;)u[s]=a[t+s];s=-1;for(var f=Array(t+1);++s<t;)f[s]=a[s];return f[t]=r(u),n(e,this,f)}}},80796(e,t,r){var n=r(47403);e.exports=r(3316)(n)},3316(e){var t=Date.now;e.exports=function(e){var r=0,n=0;return function(){var o=t(),a=16-(o-n);if(n=o,a>0){if(++r>=800)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}},82619(e){e.exports=function(e){return function(){return e}}},46343(e,t,r){var n=r(94687);e.exports=function(e,t){return n(e,t)}},40074(e,t,r){var n=r(90313),o=r(70310),a=r(23945),s=r(74535);e.exports=a(function(e,t){if(null==e)return[];var r=t.length;return r>1&&s(e,t[0],t[1])?t=[]:r>2&&s(t[0],t[1],t[2])&&(t=[t[0]]),o(e,n(t,1),[])})},65398(e){e.exports=function(){var e=[],t=[],r={},n={},o={};function a(e){return"string"==typeof e?RegExp("^"+e+"$","i"):e}function s(e,t){return e===t?t:e===e.toLowerCase()?t.toLowerCase():e===e.toUpperCase()?t.toUpperCase():e[0]===e[0].toUpperCase()?t.charAt(0).toUpperCase()+t.substr(1).toLowerCase():t.toLowerCase()}function l(e,t,n){if(!e.length||r.hasOwnProperty(e))return t;for(var o=n.length;o--;){var a=n[o];if(a[0].test(t))return function(e,t){return e.replace(t[0],function(r,n){var o,a,l=(o=t[1],a=arguments,o.replace(/\$(\d{1,2})/g,function(e,t){return a[t]||""}));return""===r?s(e[n-1],l):s(r,l)})}(t,a)}return t}function u(e,t,r){return function(n){var o=n.toLowerCase();return t.hasOwnProperty(o)?s(n,o):e.hasOwnProperty(o)?s(n,e[o]):l(o,n,r)}}function f(e,t,r,n){return function(n){var o=n.toLowerCase();return!!t.hasOwnProperty(o)||!e.hasOwnProperty(o)&&l(o,o,r)===o}}function c(e,t,r){var n=1===t?c.singular(e):c.plural(e);return(r?t+" ":"")+n}return c.plural=u(o,n,e),c.isPlural=f(o,n,e),c.singular=u(n,o,t),c.isSingular=f(n,o,t),c.addPluralRule=function(t,r){e.push([a(t),r])},c.addSingularRule=function(e,r){t.push([a(e),r])},c.addUncountableRule=function(e){if("string"==typeof e){r[e.toLowerCase()]=!0;return}c.addPluralRule(e,"$0"),c.addSingularRule(e,"$0")},c.addIrregularRule=function(e,t){t=t.toLowerCase(),o[e=e.toLowerCase()]=t,n[t]=e},[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["passerby","passersby"]].forEach(function(e){return c.addIrregularRule(e[0],e[1])}),[[/s?$/i,"s"],[/[^\u0000-\u007F]$/i,"$0"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|t[lm]as|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/\b((?:tit)?m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"],["thou","you"]].forEach(function(e){return c.addPluralRule(e[0],e[1])}),[[/s$/i,""],[/(ss)$/i,"$1"],[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i,"$1fe"],[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i,"$1f"],[/ies$/i,"y"],[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i,"$1ie"],[/\b(mon|smil)ies$/i,"$1ey"],[/\b((?:tit)?m|l)ice$/i,"$1ouse"],[/(seraph|cherub)im$/i,"$1"],[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i,"$1"],[/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i,"$1sis"],[/(movie|twelve|abuse|e[mn]u)s$/i,"$1"],[/(test)(?:is|es)$/i,"$1is"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1us"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i,"$1um"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i,"$1on"],[/(alumn|alg|vertebr)ae$/i,"$1a"],[/(cod|mur|sil|vert|ind)ices$/i,"$1ex"],[/(matr|append)ices$/i,"$1ix"],[/(pe)(rson|ople)$/i,"$1rson"],[/(child)ren$/i,"$1"],[/(eau)x?$/i,"$1"],[/men$/i,"man"]].forEach(function(e){return c.addSingularRule(e[0],e[1])}),["adulthood","advice","agenda","aid","aircraft","alcohol","ammo","analytics","anime","athletics","audio","bison","blood","bream","buffalo","butter","carp","cash","chassis","chess","clothing","cod","commerce","cooperation","corps","debris","diabetes","digestion","elk","energy","equipment","excretion","expertise","firmware","flounder","fun","gallows","garbage","graffiti","hardware","headquarters","health","herpes","highjinks","homework","housework","information","jeans","justice","kudos","labour","literature","machinery","mackerel","mail","media","mews","moose","music","mud","manga","news","only","personnel","pike","plankton","pliers","police","pollution","premises","rain","research","rice","salmon","scissors","series","sewage","shambles","shrimp","software","species","staff","swine","tennis","traffic","transportation","trout","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/pok[eé]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i].forEach(c.addUncountableRule),c}()},16983(e,t,r){"use strict";var n=r(85608),o=r(14041),a=n.__importDefault(r(49069));t.default=function(e,t,r){void 0===t&&(t=0),void 0===r&&(r=[]);var n=a.default(e,t),s=n[0],l=n[1],u=n[2];return o.useEffect(u,r),[s,l]}},49069(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(14041);t.default=function(e,t){void 0===t&&(t=0);var r=n.useRef(!1),o=n.useRef(),a=n.useRef(e),s=n.useCallback(function(){return r.current},[]),l=n.useCallback(function(){r.current=!1,o.current&&clearTimeout(o.current),o.current=setTimeout(function(){r.current=!0,a.current()},t)},[t]),u=n.useCallback(function(){r.current=null,o.current&&clearTimeout(o.current)},[]);return n.useEffect(function(){a.current=e},[e]),n.useEffect(function(){return l(),u},[t]),[s,u,l]}},85699(e){"use strict";var t={};function r(e,r,n){n||(n=Error);var o=function(e){function t(t,n,o){return e.call(this,"string"==typeof r?r:r(t,n,o))||this}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e,t}(n);o.prototype.name=n.name,o.prototype.code=e,t[e]=o}function n(e,t){if(!Array.isArray(e))return"of ".concat(t," ").concat(String(e));var r=e.length;return(e=e.map(function(e){return String(e)}),r>2)?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}r("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),r("ERR_INVALID_ARG_TYPE",function(e,t,r){if("string"==typeof t&&(o="not ",t.substr(0,o.length)===o)?(u="must not be",t=t.replace(/^not /,"")):u="must be",a=" argument",(void 0===s||s>e.length)&&(s=e.length),e.substring(s-a.length,s)===a)f="The ".concat(e," ").concat(u," ").concat(n(t,"type"));else{var o,a,s,l,u,f,c=("number"!=typeof l&&(l=0),l+1>e.length||-1===e.indexOf(".",l))?"argument":"property";f='The "'.concat(e,'" ').concat(c," ").concat(u," ").concat(n(t,"type"))}return f+". Received type ".concat(typeof r)},TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.codes=t},11265(e,t,r){"use strict";var n=r(39907),o=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=c;var a=r(28199),s=r(5291);r(35615)(c,a);for(var l=o(s.prototype),u=0;u<l.length;u++){var f=l[u];c.prototype[f]||(c.prototype[f]=s.prototype[f])}function c(e){if(!(this instanceof c))return new c(e);a.call(this,e),s.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",d)))}function d(){this._writableState.ended||n.nextTick(h,this)}function h(e){e.end()}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(c.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(c.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})},94421(e,t,r){"use strict";e.exports=o;var n=r(99415);function o(e){if(!(this instanceof o))return new o(e);n.call(this,e)}r(35615)(o,n),o.prototype._transform=function(e,t,r){r(null,e)}},28199(e,t,r){"use strict";var n,o,a,s,l,u=r(39907);e.exports=k,k.ReadableState=x,r(50046).EventEmitter;var f=function(e,t){return e.listeners(t).length},c=r(64856),d=r(1048).Buffer,h=(void 0!==r.g?r.g:"u">typeof window?window:"u">typeof self?self:{}).Uint8Array||function(){},p=r(15684);o=p&&p.debuglog?p.debuglog("stream"):function(){};var g=r(82),b=r(16527),m=r(89952).getHighWaterMark,v=r(85699).codes,y=v.ERR_INVALID_ARG_TYPE,_=v.ERR_STREAM_PUSH_AFTER_EOF,w=v.ERR_METHOD_NOT_IMPLEMENTED,S=v.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(35615)(k,c);var E=b.errorOrDestroy,R=["error","close","destroy","pause","resume"];function x(e,t,o){n=n||r(11265),e=e||{},"boolean"!=typeof o&&(o=t instanceof n),this.objectMode=!!e.objectMode,o&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=m(this,e,"readableHighWaterMark",o),this.buffer=new g,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(a||(a=r(18888).StringDecoder),this.decoder=new a(e.encoding),this.encoding=e.encoding)}function k(e){if(n=n||r(11265),!(this instanceof k))return new k(e);var t=this instanceof n;this._readableState=new x(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),c.call(this)}function O(e,t,r,n,a){o("readableAddChunk",t);var s,l,u=e._readableState;if(null===t)u.reading=!1,function(e,t){if(o("onEofChunk"),!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?j(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,$(e)))}}(e,u);else if(a||(l=function(e,t){var r;return d.isBuffer(t)||t instanceof h||"string"==typeof t||void 0===t||e.objectMode||(r=new y("chunk",["string","Buffer","Uint8Array"],t)),r}(u,t)),l)E(e,l);else if(u.objectMode||t&&t.length>0)if("string"==typeof t||u.objectMode||Object.getPrototypeOf(t)===d.prototype||(s=t,t=d.from(s)),n)u.endEmitted?E(e,new S):L(e,u,t,!0);else if(u.ended)E(e,new _);else{if(u.destroyed)return!1;u.reading=!1,u.decoder&&!r?(t=u.decoder.write(t),u.objectMode||0!==t.length?L(e,u,t,!1):M(e,u)):L(e,u,t,!1)}else n||(u.reading=!1,M(e,u));return!u.ended&&(u.length<u.highWaterMark||0===u.length)}function L(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&j(e)),M(e,t)}function T(e,t){var r;if(e<=0||0===t.length&&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;return(e>t.highWaterMark&&((r=e)>=0x40000000?r=0x40000000:(r--,r|=r>>>1,r|=r>>>2,r|=r>>>4,r|=r>>>8,r|=r>>>16,r++),t.highWaterMark=r),e<=t.length)?e:t.ended?t.length:(t.needReadable=!0,0)}function j(e){var t=e._readableState;o("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(o("emitReadable",t.flowing),t.emittedReadable=!0,u.nextTick($,e))}function $(e){var t=e._readableState;o("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,D(e)}function M(e,t){t.readingMore||(t.readingMore=!0,u.nextTick(C,e,t))}function C(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var r=t.length;if(o("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function A(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function N(e){o("readable nexttick read 0"),e.read(0)}function P(e,t){o("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),D(e),t.flowing&&!t.reading&&e.read(0)}function D(e){var t=e._readableState;for(o("flow",t.flowing);t.flowing&&null!==e.read(););}function q(e,t){var r;return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r)}function I(e){var t=e._readableState;o("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,u.nextTick(U,t,e))}function U(e,t){if(o("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function B(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return -1}Object.defineProperty(k.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),k.prototype.destroy=b.destroy,k.prototype._undestroy=b.undestroy,k.prototype._destroy=function(e,t){t(e)},k.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=d.from(e,t),t=""),r=!0),O(this,e,t,!1,r)},k.prototype.unshift=function(e){return O(this,e,null,!0,!1)},k.prototype.isPaused=function(){return!1===this._readableState.flowing},k.prototype.setEncoding=function(e){a||(a=r(18888).StringDecoder);var t=new a(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var n=this._readableState.buffer.head,o="";null!==n;)o+=t.write(n.data),n=n.next;return this._readableState.buffer.clear(),""!==o&&this._readableState.buffer.push(o),this._readableState.length=o.length,this},k.prototype.read=function(e){o("read",e),e=parseInt(e,10);var t,r=this._readableState,n=e;if(0!==e&&(r.emittedReadable=!1),0===e&&r.needReadable&&((0!==r.highWaterMark?r.length>=r.highWaterMark:r.length>0)||r.ended))return o("read: emitReadable",r.length,r.ended),0===r.length&&r.ended?I(this):j(this),null;if(0===(e=T(e,r))&&r.ended)return 0===r.length&&I(this),null;var a=r.needReadable;return o("need readable",a),(0===r.length||r.length-e<r.highWaterMark)&&o("length less than watermark",a=!0),r.ended||r.reading?o("reading or ended",a=!1):a&&(o("do read"),r.reading=!0,r.sync=!0,0===r.length&&(r.needReadable=!0),this._read(r.highWaterMark),r.sync=!1,r.reading||(e=T(n,r))),null===(t=e>0?q(e,r):null)?(r.needReadable=r.length<=r.highWaterMark,e=0):(r.length-=e,r.awaitDrain=0),0===r.length&&(r.ended||(r.needReadable=!0),n!==e&&r.ended&&I(this)),null!==t&&this.emit("data",t),t},k.prototype._read=function(e){E(this,new w("_read()"))},k.prototype.pipe=function(e,t){var r,n=this,a=this._readableState;switch(a.pipesCount){case 0:a.pipes=e;break;case 1:a.pipes=[a.pipes,e];break;default:a.pipes.push(e)}a.pipesCount+=1,o("pipe count=%d opts=%j",a.pipesCount,t);var s=t&&!1===t.end||e===u.stdout||e===u.stderr?m:l;function l(){o("onend"),e.end()}a.endEmitted?u.nextTick(s):n.once("end",s),e.on("unpipe",function t(r,s){o("onunpipe"),r===n&&s&&!1===s.hasUnpiped&&(s.hasUnpiped=!0,o("cleanup"),e.removeListener("close",g),e.removeListener("finish",b),e.removeListener("drain",c),e.removeListener("error",p),e.removeListener("unpipe",t),n.removeListener("end",l),n.removeListener("end",m),n.removeListener("data",h),d=!0,a.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&c())});var c=(r=n,function(){var e=r._readableState;o("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&f(r,"data")&&(e.flowing=!0,D(r))});e.on("drain",c);var d=!1;function h(t){o("ondata");var r=e.write(t);o("dest.write",r),!1===r&&((1===a.pipesCount&&a.pipes===e||a.pipesCount>1&&-1!==B(a.pipes,e))&&!d&&(o("false write response, pause",a.awaitDrain),a.awaitDrain++),n.pause())}function p(t){o("onerror",t),m(),e.removeListener("error",p),0===f(e,"error")&&E(e,t)}function g(){e.removeListener("finish",b),m()}function b(){o("onfinish"),e.removeListener("close",g),m()}function m(){o("unpipe"),n.unpipe(e)}return n.on("data",h),!function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",p),e.once("close",g),e.once("finish",b),e.emit("pipe",n),a.flowing||(o("pipe resume"),n.resume()),e},k.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<o;a++)n[a].emit("unpipe",this,{hasUnpiped:!1});return this}var s=B(t.pipes,e);return -1===s||(t.pipes.splice(s,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},k.prototype.on=function(e,t){var r=c.prototype.on.call(this,e,t),n=this._readableState;return"data"===e?(n.readableListening=this.listenerCount("readable")>0,!1!==n.flowing&&this.resume()):"readable"!==e||n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,o("on readable",n.length,n.reading),n.length?j(this):n.reading||u.nextTick(N,this)),r},k.prototype.addListener=k.prototype.on,k.prototype.removeListener=function(e,t){var r=c.prototype.removeListener.call(this,e,t);return"readable"===e&&u.nextTick(A,this),r},k.prototype.removeAllListeners=function(e){var t=c.prototype.removeAllListeners.apply(this,arguments);return("readable"===e||void 0===e)&&u.nextTick(A,this),t},k.prototype.resume=function(){var e,t,r=this._readableState;return r.flowing||(o("resume"),r.flowing=!r.readableListening,e=this,(t=r).resumeScheduled||(t.resumeScheduled=!0,u.nextTick(P,e,t))),r.paused=!1,this},k.prototype.pause=function(){return o("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(o("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},k.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var a in e.on("end",function(){if(o("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(a){o("wrapped data"),r.decoder&&(a=r.decoder.write(a)),r.objectMode&&null==a||(r.objectMode||a&&a.length)&&(t.push(a)||(n=!0,e.pause()))}),e)void 0===this[a]&&"function"==typeof e[a]&&(this[a]=function(t){return function(){return e[t].apply(e,arguments)}}(a));for(var s=0;s<R.length;s++)e.on(R[s],this.emit.bind(this,R[s]));return this._read=function(t){o("wrapped _read",t),n&&(n=!1,e.resume())},this},"function"==typeof Symbol&&(k.prototype[Symbol.asyncIterator]=function(){return void 0===s&&(s=r(60534)),s(this)}),Object.defineProperty(k.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(k.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(k.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),k._fromList=q,Object.defineProperty(k.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(k.from=function(e,t){return void 0===l&&(l=r(71260)),l(k,e,t)})},99415(e,t,r){"use strict";e.exports=c;var n=r(85699).codes,o=n.ERR_METHOD_NOT_IMPLEMENTED,a=n.ERR_MULTIPLE_CALLBACK,s=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,l=n.ERR_TRANSFORM_WITH_LENGTH_0,u=r(11265);function f(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new a);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var o=this._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}function c(e){if(!(this instanceof c))return new c(e);u.call(this,e),this._transformState={afterTransform:f.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",d)}function d(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?h(this,null,null):this._flush(function(t,r){h(e,t,r)})}function h(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new l;if(e._transformState.transforming)throw new s;return e.push(null)}r(35615)(c,u),c.prototype.push=function(e,t){return this._transformState.needTransform=!1,u.prototype.push.call(this,e,t)},c.prototype._transform=function(e,t,r){r(new o("_transform()"))},c.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var o=this._readableState;(n.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},c.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},c.prototype._destroy=function(e,t){u.prototype._destroy.call(this,e,function(e){t(e)})}},5291(e,t,r){"use strict";var n,o,a=r(39907);function s(e){var t=this;this.next=null,this.entry=null,this.finish=function(){var r=t,n=e,o=r.entry;for(r.entry=null;o;){var a=o.callback;n.pendingcb--,a(void 0),o=o.next}n.corkedRequestsFree.next=r}}e.exports=k,k.WritableState=x;var l={deprecate:r(66732)},u=r(64856),f=r(1048).Buffer,c=(void 0!==r.g?r.g:"u">typeof window?window:"u">typeof self?self:{}).Uint8Array||function(){},d=r(16527),h=r(89952).getHighWaterMark,p=r(85699).codes,g=p.ERR_INVALID_ARG_TYPE,b=p.ERR_METHOD_NOT_IMPLEMENTED,m=p.ERR_MULTIPLE_CALLBACK,v=p.ERR_STREAM_CANNOT_PIPE,y=p.ERR_STREAM_DESTROYED,_=p.ERR_STREAM_NULL_VALUES,w=p.ERR_STREAM_WRITE_AFTER_END,S=p.ERR_UNKNOWN_ENCODING,E=d.errorOrDestroy;function R(){}function x(e,t,o){n=n||r(11265),e=e||{},"boolean"!=typeof o&&(o=t instanceof n),this.objectMode=!!e.objectMode,o&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=h(this,e,"writableHighWaterMark",o),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var l=!1===e.decodeStrings;this.decodeStrings=!l,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,o=r.writecb;if("function"!=typeof o)throw new m;if(r.writing=!1,r.writecb=null,r.length-=r.writelen,r.writelen=0,t)--r.pendingcb,n?(a.nextTick(o,t),a.nextTick(M,e,r),e._writableState.errorEmitted=!0,E(e,t)):(o(t),e._writableState.errorEmitted=!0,E(e,t),M(e,r));else{var s=j(r)||e.destroyed;s||r.corked||r.bufferProcessing||!r.bufferedRequest||T(e,r),n?a.nextTick(L,e,r,s,o):L(e,r,s,o)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new s(this)}r(35615)(k,u),x.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t};try{Object.defineProperty(x.prototype,"buffer",{get:l.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}function k(e){var t=this instanceof(n=n||r(11265));if(!t&&!o.call(k,this))return new k(e);this._writableState=new x(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),u.call(this)}function O(e,t,r,n,o,a,s){t.writelen=n,t.writecb=s,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new y("write")):r?e._writev(o,t.onwrite):e._write(o,a,t.onwrite),t.sync=!1}function L(e,t,r,n){var o,a;r||(o=e,0===(a=t).length&&a.needDrain&&(a.needDrain=!1,o.emit("drain"))),t.pendingcb--,n(),M(e,t)}function T(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=Array(t.bufferedRequestCount),o=t.corkedRequestsFree;o.entry=r;for(var a=0,l=!0;r;)n[a]=r,r.isBuf||(l=!1),r=r.next,a+=1;n.allBuffers=l,O(e,t,!0,t.length,n,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new s(t),t.bufferedRequestCount=0}else{for(;r;){var u=r.chunk,f=r.encoding,c=r.callback,d=t.objectMode?1:u.length;if(O(e,t,!1,d,u,f,c),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function j(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function $(e,t){e._final(function(r){t.pendingcb--,r&&E(e,r),t.prefinished=!0,e.emit("prefinish"),M(e,t)})}function M(e,t){var r=j(t);if(r&&(t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,a.nextTick($,e,t))),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var n=e._readableState;(!n||n.autoDestroy&&n.endEmitted)&&e.destroy()}return r}"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(o=Function.prototype[Symbol.hasInstance],Object.defineProperty(k,Symbol.hasInstance,{value:function(e){return!!o.call(this,e)||this===k&&e&&e._writableState instanceof x}})):o=function(e){return e instanceof this},k.prototype.pipe=function(){E(this,new v)},k.prototype.write=function(e,t,r){var n,o,s,l,u,d,h,p=this._writableState,b=!1,m=!p.objectMode&&(n=e,f.isBuffer(n)||n instanceof c);return(m&&!f.isBuffer(e)&&(o=e,e=f.from(o)),"function"==typeof t&&(r=t,t=null),m?t="buffer":t||(t=p.defaultEncoding),"function"!=typeof r&&(r=R),p.ending)?(s=r,E(this,l=new w),a.nextTick(s,l)):(m||(u=e,d=r,null===u?h=new _:"string"==typeof u||p.objectMode||(h=new g("chunk",["string","Buffer"],u)),!h||(E(this,h),a.nextTick(d,h),0)))&&(p.pendingcb++,b=function(e,t,r,n,o,a){if(!r){var s,l,u=(s=n,l=o,t.objectMode||!1===t.decodeStrings||"string"!=typeof s||(s=f.from(s,l)),s);n!==u&&(r=!0,o="buffer",n=u)}var c=t.objectMode?1:n.length;t.length+=c;var d=t.length<t.highWaterMark;if(d||(t.needDrain=!0),t.writing||t.corked){var h=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:o,isBuf:r,callback:a,next:null},h?h.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else O(e,t,!1,c,n,o,a);return d}(this,p,m,e,t,r)),b},k.prototype.cork=function(){this._writableState.corked++},k.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||T(this,e))},k.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new S(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(k.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(k.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),k.prototype._write=function(e,t,r){r(new b("_write()"))},k.prototype._writev=null,k.prototype.end=function(e,t,r){var n,o,s,l=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),l.corked&&(l.corked=1,this.uncork()),l.ending||(n=this,o=l,s=r,o.ending=!0,M(n,o),s&&(o.finished?a.nextTick(s):n.once("finish",s)),o.ended=!0,n.writable=!1),this},Object.defineProperty(k.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(k.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),k.prototype.destroy=d.destroy,k.prototype._undestroy=d.undestroy,k.prototype._destroy=function(e,t){t(e)}},60534(e,t,r){"use strict";var n,o=r(39907);function a(e,t,r){var n;return(t="symbol"==typeof(n=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?n:String(n))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(94869),l=Symbol("lastResolve"),u=Symbol("lastReject"),f=Symbol("error"),c=Symbol("ended"),d=Symbol("lastPromise"),h=Symbol("handlePromise"),p=Symbol("stream");function g(e,t){return{value:e,done:t}}function b(e){var t=e[l];if(null!==t){var r=e[p].read();null!==r&&(e[d]=null,e[l]=null,e[u]=null,t(g(r,!1)))}}function m(e){o.nextTick(b,e)}var v=Object.getPrototypeOf(function(){}),y=Object.setPrototypeOf((a(n={get stream(){return this[p]},next:function(){var e,t,r=this,n=this[f];if(null!==n)return Promise.reject(n);if(this[c])return Promise.resolve(g(void 0,!0));if(this[p].destroyed)return new Promise(function(e,t){o.nextTick(function(){r[f]?t(r[f]):e(g(void 0,!0))})});var a=this[d];if(a)t=new Promise((e=this,function(t,r){a.then(function(){e[c]?t(g(void 0,!0)):e[h](t,r)},r)}));else{var s=this[p].read();if(null!==s)return Promise.resolve(g(s,!1));t=new Promise(this[h])}return this[d]=t,t}},Symbol.asyncIterator,function(){return this}),a(n,"return",function(){var e=this;return new Promise(function(t,r){e[p].destroy(null,function(e){e?r(e):t(g(void 0,!0))})})}),n),v);e.exports=function(e){var t,r=Object.create(y,(a(t={},p,{value:e,writable:!0}),a(t,l,{value:null,writable:!0}),a(t,u,{value:null,writable:!0}),a(t,f,{value:null,writable:!0}),a(t,c,{value:e._readableState.endEmitted,writable:!0}),a(t,h,{value:function(e,t){var n=r[p].read();n?(r[d]=null,r[l]=null,r[u]=null,e(g(n,!1))):(r[l]=e,r[u]=t)},writable:!0}),t));return r[d]=null,s(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[u];null!==t&&(r[d]=null,r[l]=null,r[u]=null,t(e)),r[f]=e;return}var n=r[l];null!==n&&(r[d]=null,r[l]=null,r[u]=null,n(g(void 0,!0))),r[c]=!0}),e.on("readable",m.bind(null,r)),r}},82(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){var n,o,s;n=e,o=t,s=r[t],(o=a(o))in n?Object.defineProperty(n,o,{value:s,enumerable:!0,configurable:!0,writable:!0}):n[o]=s}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}var s=r(1048).Buffer,l=r(19096).inspect,u=l&&l.custom||"inspect";e.exports=function(){var e;function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");this.head=null,this.tail=null,this.length=0}return e=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return s.alloc(0);for(var t,r,n=s.allocUnsafe(e>>>0),o=this.head,a=0;o;)t=o.data,r=a,s.prototype.copy.call(t,n,r),a+=o.data.length,o=o.next;return n}},{key:"consume",value:function(e,t){var r;return e<this.head.data.length?(r=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):r=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,r=1,n=t.data;for(e-=n.length;t=t.next;){var o=t.data,a=e>o.length?o.length:e;if(a===o.length?n+=o:n+=o.slice(0,e),0==(e-=a)){a===o.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=o.slice(a));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=s.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var o=r.data,a=e>o.length?o.length:e;if(o.copy(t,t.length-e,0,a),0==(e-=a)){a===o.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=o.slice(a));break}++n}return this.length-=n,t}},{key:u,value:function(e,t){return l(this,o(o({},t),{},{depth:0,customInspect:!1}))}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,a(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}()},16527(e,t,r){"use strict";var n=r(39907);function o(e,t){s(e,t),a(e)}function a(e){e._writableState&&!e._writableState.emitClose||(!e._readableState||e._readableState.emitClose)&&e.emit("close")}function s(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var r=this,l=this._readableState&&this._readableState.destroyed,u=this._writableState&&this._writableState.destroyed;return l||u?t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(s,this,e)):n.nextTick(s,this,e)):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?r._writableState?r._writableState.errorEmitted?n.nextTick(a,r):(r._writableState.errorEmitted=!0,n.nextTick(o,r,e)):n.nextTick(o,r,e):t?(n.nextTick(a,r),t(e)):n.nextTick(a,r)})),this},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}}},94869(e,t,r){"use strict";var n=r(85699).codes.ERR_STREAM_PREMATURE_CLOSE;function o(){}e.exports=function e(t,r,a){if("function"==typeof r)return e(t,null,r);r||(r={}),s=a||o,l=!1,a=function(){if(!l){l=!0;for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];s.apply(this,t)}};var s,l,u=r.readable||!1!==r.readable&&t.readable,f=r.writable||!1!==r.writable&&t.writable,c=function(){t.writable||h()},d=t._writableState&&t._writableState.finished,h=function(){f=!1,d=!0,u||a.call(t)},p=t._readableState&&t._readableState.endEmitted,g=function(){u=!1,p=!0,f||a.call(t)},b=function(e){a.call(t,e)},m=function(){var e;return u&&!p?(t._readableState&&t._readableState.ended||(e=new n),a.call(t,e)):f&&!d?(t._writableState&&t._writableState.ended||(e=new n),a.call(t,e)):void 0},v=function(){t.req.on("finish",h)};return t.setHeader&&"function"==typeof t.abort?(t.on("complete",h),t.on("abort",m),t.req?v():t.on("request",v)):f&&!t._writableState&&(t.on("end",c),t.on("close",c)),t.on("end",g),t.on("finish",h),!1!==r.error&&t.on("error",b),t.on("close",m),function(){t.removeListener("complete",h),t.removeListener("abort",m),t.removeListener("request",v),t.req&&t.req.removeListener("finish",h),t.removeListener("end",c),t.removeListener("close",c),t.removeListener("finish",h),t.removeListener("end",g),t.removeListener("error",b),t.removeListener("close",m)}}},71260(e){e.exports=function(){throw Error("Readable.from is not available in the browser")}},16815(e,t,r){"use strict";var n,o=r(85699).codes,a=o.ERR_MISSING_ARGS,s=o.ERR_STREAM_DESTROYED;function l(e){if(e)throw e}function u(e){e()}function f(e,t){return e.pipe(t)}e.exports=function(){for(var e,t,o=arguments.length,c=Array(o),d=0;d<o;d++)c[d]=arguments[d];var h=(e=c).length&&"function"==typeof e[e.length-1]?e.pop():l;if(Array.isArray(c[0])&&(c=c[0]),c.length<2)throw new a("streams");var p=c.map(function(e,o){var a,l,f,d,g,b,m=o<c.length-1;return a=o>0,f=l=function(e){t||(t=e),e&&p.forEach(u),m||(p.forEach(u),h(t))},d=!1,l=function(){d||(d=!0,f.apply(void 0,arguments))},g=!1,e.on("close",function(){g=!0}),void 0===n&&(n=r(94869)),n(e,{readable:m,writable:a},function(e){if(e)return l(e);g=!0,l()}),b=!1,function(t){if(!g&&!b){if(b=!0,e.setHeader&&"function"==typeof e.abort)return e.abort();if("function"==typeof e.destroy)return e.destroy();l(t||new s("pipe"))}}});return c.reduce(f)}},89952(e,t,r){"use strict";var n=r(85699).codes.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(e,t,r,o){var a=null!=t.highWaterMark?t.highWaterMark:o?t[r]:null;if(null!=a){if(!(isFinite(a)&&Math.floor(a)===a)||a<0)throw new n(o?r:"highWaterMark",a);return Math.floor(a)}return e.objectMode?16:16384}}},64856(e,t,r){e.exports=r(50046).EventEmitter},25636(e,t,r){var n=r(1048),o=n.Buffer;function a(e,t){for(var r in e)t[r]=e[r]}function s(e,t,r){return o(e,t,r)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=n:(a(n,t),t.Buffer=s),s.prototype=Object.create(o.prototype),a(o,s),s.from=function(e,t,r){if("number"==typeof e)throw TypeError("Argument must not be a number");return o(e,t,r)},s.alloc=function(e,t,r){if("number"!=typeof e)throw TypeError("Argument must be a number");var n=o(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},s.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return o(e)},s.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return n.SlowBuffer(e)}},31983(e,t,r){e.exports=o;var n=r(50046).EventEmitter;function o(){n.call(this)}r(35615)(o,n),o.Readable=r(28199),o.Writable=r(5291),o.Duplex=r(11265),o.Transform=r(99415),o.PassThrough=r(94421),o.finished=r(94869),o.pipeline=r(16815),o.Stream=o,o.prototype.pipe=function(e,t){var r=this;function o(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function a(){r.readable&&r.resume&&r.resume()}r.on("data",o),e.on("drain",a),e._isStdio||t&&!1===t.end||(r.on("end",l),r.on("close",u));var s=!1;function l(){s||(s=!0,e.end())}function u(){s||(s=!0,"function"==typeof e.destroy&&e.destroy())}function f(e){if(c(),0===n.listenerCount(this,"error"))throw e}function c(){r.removeListener("data",o),e.removeListener("drain",a),r.removeListener("end",l),r.removeListener("close",u),r.removeListener("error",f),e.removeListener("error",f),r.removeListener("end",c),r.removeListener("close",c),e.removeListener("close",c)}return r.on("error",f),e.on("error",f),r.on("end",c),r.on("close",c),e.on("close",c),e.emit("pipe",r),e}},18888(e,t,r){"use strict";var n=r(25636).Buffer,o=n.isEncoding||function(e){switch((e=""+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!0;default:return!1}};function a(e){var t;switch(this.encoding=function(e){var t=function(e){var t;if(!e)return"utf8";for(;;)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=!0}}(e);if("string"!=typeof t&&(n.isEncoding===o||!o(e)))throw Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=f,t=4;break;case"utf8":this.fillLast=l,t=4;break;case"base64":this.text=c,this.end=d,t=3;break;default:this.write=h,this.end=p;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function s(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function l(e){var t=this.lastTotal-this.lastNeed,r=function(e,t){if((192&t[0])!=128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((192&t[1])!=128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(192&t[2])!=128)return e.lastNeed=2,"�"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length)}function u(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)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function f(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 c(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function d(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function h(e){return e.toString(this.encoding)}function p(e){return e&&e.length?this.write(e):""}t.StringDecoder=a,a.prototype.write=function(e){var t,r;if(0===e.length)return"";if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},a.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},a.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var o=s(t[n]);return o>=0?(o>0&&(e.lastNeed=o-1),o):--n<r||-2===o?0:(o=s(t[n]))>=0?(o>0&&(e.lastNeed=o-2),o):--n<r||-2===o?0:(o=s(t[n]))>=0?(o>0&&(2===o?o=0:e.lastNeed=o-3),o):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},a.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},66732(e,t,r){e.exports=function(e,t){if(n("noDeprecation"))return e;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}};function n(e){try{if(!r.g.localStorage)return!1}catch(e){return!1}var t=r.g.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}}}]);
|
|
2
|
+
//# sourceMappingURL=6765.828c416f.chunk.js.map
|