@harbour-enterprises/superdoc 0.9.33 → 0.9.35
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/dist/chunks/{index--PIRPKWt.cjs → index-DHS2ANjv.cjs} +1 -1
- package/dist/chunks/{index-B5GDfEJg.es.js → index-Dd_ce0Er.es.js} +1 -1
- package/dist/chunks/index-XHRxRUhd.es.js +1676 -0
- package/dist/chunks/index-YqE5-6V1.cjs +1 -0
- package/dist/chunks/{super-editor.es-B8noCvT1.es.js → super-editor.es-BAc4W6Tu.es.js} +2295 -2306
- package/dist/chunks/{super-editor.es-y2QD_ueu.cjs → super-editor.es-BBgPdIMs.cjs} +47 -47
- package/dist/chunks/{url-BDmRlERW.es.js → url-BWFemt_V.es.js} +1 -1
- package/dist/chunks/{url-C5DCBLAS.cjs → url-Cqg7fbSS.cjs} +1 -1
- package/dist/chunks/xml-js-Bzw8Bo_u.es.js +1739 -0
- package/dist/chunks/xml-js-Zwb1wsIy.cjs +10 -0
- package/dist/super-editor/chunks/{converter-CdhiEvSA.js → converter-UkRnMuKc.js} +274 -275
- package/dist/super-editor/chunks/{docx-zipper-Cb4eXMOp.js → docx-zipper-BiMOTpMh.js} +1 -1
- package/dist/super-editor/chunks/{editor-Czx51mKu.js → editor-BLRcEmYR.js} +302 -312
- package/dist/super-editor/chunks/{toolbar-BE-PZVKR.js → toolbar-DWm-EjAe.js} +2 -2
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/core/super-converter/exporter.d.ts.map +1 -1
- package/dist/super-editor/docx-zipper.es.js +2 -2
- package/dist/super-editor/editor.es.js +3 -3
- package/dist/super-editor/file-zipper.es.js +1 -1
- package/dist/super-editor/super-editor.es.js +6 -6
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +1 -1
- package/dist/super-editor.es.js +1 -1
- package/dist/superdoc.cjs +3 -3
- package/dist/superdoc.es.js +6 -6
- package/dist/superdoc.umd.js +1211 -1222
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/index-Bq_aNm9n.es.js +0 -473
- package/dist/chunks/index-DrgTIkvI.cjs +0 -1
- package/dist/chunks/xml-js-DMX8C2aY.es.js +0 -2965
- package/dist/chunks/xml-js-DN6JJ8Mw.cjs +0 -10
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";const U=require("./vue-Ckf0DkDN.cjs"),oe=require("./jszip-ChlzEvf9.cjs");var At={exports:{}};typeof Object.create=="function"?At.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:At.exports=function(t,r){if(r){t.super_=r;var o=function(){};o.prototype=r.prototype,t.prototype=new o,t.prototype.constructor=t}};var se=At.exports,Nt={exports:{}},be=typeof Reflect=="object"?Reflect:null,Ht=be&&typeof be.apply=="function"?be.apply:function(t,r,o){return Function.prototype.apply.call(t,r,o)},Ie;be&&typeof be.ownKeys=="function"?Ie=be.ownKeys:Object.getOwnPropertySymbols?Ie=function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Ie=function(t){return Object.getOwnPropertyNames(t)};function wn(e){console&&console.warn&&console.warn(e)}var Lr=Number.isNaN||function(t){return t!==t};function G(){G.init.call(this)}Nt.exports=G;Nt.exports.once=An;G.EventEmitter=G;G.prototype._events=void 0;G.prototype._eventsCount=0;G.prototype._maxListeners=void 0;var Vt=10;function He(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}Object.defineProperty(G,"defaultMaxListeners",{enumerable:!0,get:function(){return Vt},set:function(e){if(typeof e!="number"||e<0||Lr(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");Vt=e}});G.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};G.prototype.setMaxListeners=function(t){if(typeof t!="number"||t<0||Lr(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this};function $r(e){return e._maxListeners===void 0?G.defaultMaxListeners:e._maxListeners}G.prototype.getMaxListeners=function(){return $r(this)};G.prototype.emit=function(t){for(var r=[],o=1;o<arguments.length;o++)r.push(arguments[o]);var a=t==="error",d=this._events;if(d!==void 0)a=a&&d.error===void 0;else if(!a)return!1;if(a){var c;if(r.length>0&&(c=r[0]),c instanceof Error)throw c;var w=new Error("Unhandled error."+(c?" ("+c.message+")":""));throw w.context=c,w}var y=d[t];if(y===void 0)return!1;if(typeof y=="function")Ht(y,this,r);else for(var E=y.length,L=Cr(y,E),o=0;o<E;++o)Ht(L[o],this,r);return!0};function Nr(e,t,r,o){var a,d,c;if(He(r),d=e._events,d===void 0?(d=e._events=Object.create(null),e._eventsCount=0):(d.newListener!==void 0&&(e.emit("newListener",t,r.listener?r.listener:r),d=e._events),c=d[t]),c===void 0)c=d[t]=r,++e._eventsCount;else if(typeof c=="function"?c=d[t]=o?[r,c]:[c,r]:o?c.unshift(r):c.push(r),a=$r(e),a>0&&c.length>a&&!c.warned){c.warned=!0;var w=new Error("Possible EventEmitter memory leak detected. "+c.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");w.name="MaxListenersExceededWarning",w.emitter=e,w.type=t,w.count=c.length,wn(w)}return e}G.prototype.addListener=function(t,r){return Nr(this,t,r,!1)};G.prototype.on=G.prototype.addListener;G.prototype.prependListener=function(t,r){return Nr(this,t,r,!0)};function _n(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function Ir(e,t,r){var o={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},a=_n.bind(o);return a.listener=r,o.wrapFn=a,a}G.prototype.once=function(t,r){return He(r),this.on(t,Ir(this,t,r)),this};G.prototype.prependOnceListener=function(t,r){return He(r),this.prependListener(t,Ir(this,t,r)),this};G.prototype.removeListener=function(t,r){var o,a,d,c,w;if(He(r),a=this._events,a===void 0)return this;if(o=a[t],o===void 0)return this;if(o===r||o.listener===r)--this._eventsCount===0?this._events=Object.create(null):(delete a[t],a.removeListener&&this.emit("removeListener",t,o.listener||r));else if(typeof o!="function"){for(d=-1,c=o.length-1;c>=0;c--)if(o[c]===r||o[c].listener===r){w=o[c].listener,d=c;break}if(d<0)return this;d===0?o.shift():Sn(o,d),o.length===1&&(a[t]=o[0]),a.removeListener!==void 0&&this.emit("removeListener",t,w||r)}return this};G.prototype.off=G.prototype.removeListener;G.prototype.removeAllListeners=function(t){var r,o,a;if(o=this._events,o===void 0)return this;if(o.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):o[t]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete o[t]),this;if(arguments.length===0){var d=Object.keys(o),c;for(a=0;a<d.length;++a)c=d[a],c!=="removeListener"&&this.removeAllListeners(c);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(r=o[t],typeof r=="function")this.removeListener(t,r);else if(r!==void 0)for(a=r.length-1;a>=0;a--)this.removeListener(t,r[a]);return this};function Br(e,t,r){var o=e._events;if(o===void 0)return[];var a=o[t];return a===void 0?[]:typeof a=="function"?r?[a.listener||a]:[a]:r?En(a):Cr(a,a.length)}G.prototype.listeners=function(t){return Br(this,t,!0)};G.prototype.rawListeners=function(t){return Br(this,t,!1)};G.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):Dr.call(e,t)};G.prototype.listenerCount=Dr;function Dr(e){var t=this._events;if(t!==void 0){var r=t[e];if(typeof r=="function")return 1;if(r!==void 0)return r.length}return 0}G.prototype.eventNames=function(){return this._eventsCount>0?Ie(this._events):[]};function Cr(e,t){for(var r=new Array(t),o=0;o<t;++o)r[o]=e[o];return r}function Sn(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function En(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}function An(e,t){return new Promise(function(r,o){function a(c){e.removeListener(t,d),o(c)}function d(){typeof e.removeListener=="function"&&e.removeListener("error",a),r([].slice.call(arguments))}Fr(e,t,d,{once:!0}),t!=="error"&&Rn(e,a,{once:!0})})}function Rn(e,t,r){typeof e.on=="function"&&Fr(e,"error",t,r)}function Fr(e,t,r,o){if(typeof e.on=="function")o.once?e.once(t,r):e.on(t,r);else if(typeof e.addEventListener=="function")e.addEventListener(t,function a(d){o.once&&e.removeEventListener(t,a),r(d)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)}var Ur=Nt.exports,kr=Ur.EventEmitter;const Ve=oe.getAugmentedNamespace(oe.dist);var It={},Wr={},xr=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),o=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var a=42;t[r]=a;for(var d in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var c=Object.getOwnPropertySymbols(t);if(c.length!==1||c[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var w=Object.getOwnPropertyDescriptor(t,r);if(w.value!==a||w.enumerable!==!0)return!1}return!0},On=xr,ze=function(){return On()&&!!Symbol.toStringTag},qr=Object,Pn=Error,Tn=EvalError,jn=RangeError,Mn=ReferenceError,Gr=SyntaxError,Se=TypeError,Ln=URIError,$n=Math.abs,Nn=Math.floor,In=Math.max,Bn=Math.min,Dn=Math.pow,Cn=Math.round,Fn=Number.isNaN||function(t){return t!==t},Un=Fn,kn=function(t){return Un(t)||t===0?t:t<0?-1:1},Wn=Object.getOwnPropertyDescriptor,Be=Wn;if(Be)try{Be([],"length")}catch{Be=null}var Ee=Be,De=Object.defineProperty||!1;if(De)try{De({},"a",{value:1})}catch{De=!1}var Ke=De,tt,zt;function xn(){if(zt)return tt;zt=1;var e=typeof Symbol<"u"&&Symbol,t=xr;return tt=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},tt}var Hr=typeof Reflect<"u"&&Reflect.getPrototypeOf||null,qn=qr,Vr=qn.getPrototypeOf||null,rt,Kt;function Gn(){if(Kt)return rt;Kt=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,r=Math.max,o="[object Function]",a=function(y,E){for(var L=[],$=0;$<y.length;$+=1)L[$]=y[$];for(var I=0;I<E.length;I+=1)L[I+y.length]=E[I];return L},d=function(y,E){for(var L=[],$=E,I=0;$<y.length;$+=1,I+=1)L[I]=y[$];return L},c=function(w,y){for(var E="",L=0;L<w.length;L+=1)E+=w[L],L+1<w.length&&(E+=y);return E};return rt=function(y){var E=this;if(typeof E!="function"||t.apply(E)!==o)throw new TypeError(e+E);for(var L=d(arguments,1),$,I=function(){if(this instanceof $){var u=E.apply(this,a(L,arguments));return Object(u)===u?u:this}return E.apply(y,a(L,arguments))},x=r(0,E.length-L.length),P=[],M=0;M<x;M++)P[M]="$"+M;if($=Function("binder","return function ("+c(P,",")+"){ return binder.apply(this,arguments); }")(I),E.prototype){var R=function(){};R.prototype=E.prototype,$.prototype=new R,R.prototype=null}return $},rt}var nt,Jt;function Te(){if(Jt)return nt;Jt=1;var e=Gn();return nt=Function.prototype.bind||e,nt}var it,Yt;function Bt(){return Yt||(Yt=1,it=Function.prototype.call),it}var ot,Zt;function Dt(){return Zt||(Zt=1,ot=Function.prototype.apply),ot}var Hn=typeof Reflect<"u"&&Reflect&&Reflect.apply,Vn=Te(),zn=Dt(),Kn=Bt(),Jn=Hn,zr=Jn||Vn.call(Kn,zn),Yn=Te(),Zn=Se,Xn=Bt(),Qn=zr,Ct=function(t){if(t.length<1||typeof t[0]!="function")throw new Zn("a function is required");return Qn(Yn,Xn,t)},ei=Ct,Xt=Ee,Kr;try{Kr=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!="object"||!("code"in e)||e.code!=="ERR_PROTO_ACCESS")throw e}var at=!!Kr&&Xt&&Xt(Object.prototype,"__proto__"),Jr=Object,Qt=Jr.getPrototypeOf,ti=at&&typeof at.get=="function"?ei([at.get]):typeof Qt=="function"?function(t){return Qt(t==null?t:Jr(t))}:!1,er=Hr,tr=Vr,rr=ti,Ft=er?function(t){return er(t)}:tr?function(t){if(!t||typeof t!="object"&&typeof t!="function")throw new TypeError("getProto: not an object");return tr(t)}:rr?function(t){return rr(t)}:null,ft,nr;function Yr(){if(nr)return ft;nr=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,r=Te();return ft=r.call(e,t),ft}var k,ri=qr,ni=Pn,ii=Tn,oi=jn,ai=Mn,we=Gr,me=Se,fi=Ln,ui=$n,li=Nn,si=In,ci=Bn,di=Dn,pi=Cn,yi=kn,Zr=Function,ut=function(e){try{return Zr('"use strict"; return ('+e+").constructor;")()}catch{}},Oe=Ee,hi=Ke,lt=function(){throw new me},gi=Oe?function(){try{return arguments.callee,lt}catch{try{return Oe(arguments,"callee").get}catch{return lt}}}():lt,ye=xn()(),V=Ft,vi=Vr,bi=Hr,Xr=Dt(),je=Bt(),ge={},mi=typeof Uint8Array>"u"||!V?k:V(Uint8Array),le={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?k:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?k:ArrayBuffer,"%ArrayIteratorPrototype%":ye&&V?V([][Symbol.iterator]()):k,"%AsyncFromSyncIteratorPrototype%":k,"%AsyncFunction%":ge,"%AsyncGenerator%":ge,"%AsyncGeneratorFunction%":ge,"%AsyncIteratorPrototype%":ge,"%Atomics%":typeof Atomics>"u"?k:Atomics,"%BigInt%":typeof BigInt>"u"?k:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?k:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?k:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?k:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":ni,"%eval%":eval,"%EvalError%":ii,"%Float16Array%":typeof Float16Array>"u"?k:Float16Array,"%Float32Array%":typeof Float32Array>"u"?k:Float32Array,"%Float64Array%":typeof Float64Array>"u"?k:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?k:FinalizationRegistry,"%Function%":Zr,"%GeneratorFunction%":ge,"%Int8Array%":typeof Int8Array>"u"?k:Int8Array,"%Int16Array%":typeof Int16Array>"u"?k:Int16Array,"%Int32Array%":typeof Int32Array>"u"?k:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ye&&V?V(V([][Symbol.iterator]())):k,"%JSON%":typeof JSON=="object"?JSON:k,"%Map%":typeof Map>"u"?k:Map,"%MapIteratorPrototype%":typeof Map>"u"||!ye||!V?k:V(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":ri,"%Object.getOwnPropertyDescriptor%":Oe,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?k:Promise,"%Proxy%":typeof Proxy>"u"?k:Proxy,"%RangeError%":oi,"%ReferenceError%":ai,"%Reflect%":typeof Reflect>"u"?k:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?k:Set,"%SetIteratorPrototype%":typeof Set>"u"||!ye||!V?k:V(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?k:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ye&&V?V(""[Symbol.iterator]()):k,"%Symbol%":ye?Symbol:k,"%SyntaxError%":we,"%ThrowTypeError%":gi,"%TypedArray%":mi,"%TypeError%":me,"%Uint8Array%":typeof Uint8Array>"u"?k:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?k:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?k:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?k:Uint32Array,"%URIError%":fi,"%WeakMap%":typeof WeakMap>"u"?k:WeakMap,"%WeakRef%":typeof WeakRef>"u"?k:WeakRef,"%WeakSet%":typeof WeakSet>"u"?k:WeakSet,"%Function.prototype.call%":je,"%Function.prototype.apply%":Xr,"%Object.defineProperty%":hi,"%Object.getPrototypeOf%":vi,"%Math.abs%":ui,"%Math.floor%":li,"%Math.max%":si,"%Math.min%":ci,"%Math.pow%":di,"%Math.round%":pi,"%Math.sign%":yi,"%Reflect.getPrototypeOf%":bi};if(V)try{null.error}catch(e){var wi=V(V(e));le["%Error.prototype%"]=wi}var _i=function e(t){var r;if(t==="%AsyncFunction%")r=ut("async function () {}");else if(t==="%GeneratorFunction%")r=ut("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=ut("async function* () {}");else if(t==="%AsyncGenerator%"){var o=e("%AsyncGeneratorFunction%");o&&(r=o.prototype)}else if(t==="%AsyncIteratorPrototype%"){var a=e("%AsyncGenerator%");a&&V&&(r=V(a.prototype))}return le[t]=r,r},ir={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Me=Te(),We=Yr(),Si=Me.call(je,Array.prototype.concat),Ei=Me.call(Xr,Array.prototype.splice),or=Me.call(je,String.prototype.replace),xe=Me.call(je,String.prototype.slice),Ai=Me.call(je,RegExp.prototype.exec),Ri=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Oi=/\\(\\)?/g,Pi=function(t){var r=xe(t,0,1),o=xe(t,-1);if(r==="%"&&o!=="%")throw new we("invalid intrinsic syntax, expected closing `%`");if(o==="%"&&r!=="%")throw new we("invalid intrinsic syntax, expected opening `%`");var a=[];return or(t,Ri,function(d,c,w,y){a[a.length]=w?or(y,Oi,"$1"):c||d}),a},Ti=function(t,r){var o=t,a;if(We(ir,o)&&(a=ir[o],o="%"+a[0]+"%"),We(le,o)){var d=le[o];if(d===ge&&(d=_i(o)),typeof d>"u"&&!r)throw new me("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:a,name:o,value:d}}throw new we("intrinsic "+t+" does not exist!")},Ut=function(t,r){if(typeof t!="string"||t.length===0)throw new me("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new me('"allowMissing" argument must be a boolean');if(Ai(/^%?[^%]*%?$/,t)===null)throw new we("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var o=Pi(t),a=o.length>0?o[0]:"",d=Ti("%"+a+"%",r),c=d.name,w=d.value,y=!1,E=d.alias;E&&(a=E[0],Ei(o,Si([0,1],E)));for(var L=1,$=!0;L<o.length;L+=1){var I=o[L],x=xe(I,0,1),P=xe(I,-1);if((x==='"'||x==="'"||x==="`"||P==='"'||P==="'"||P==="`")&&x!==P)throw new we("property names with quotes must have matching quotes");if((I==="constructor"||!$)&&(y=!0),a+="."+I,c="%"+a+"%",We(le,c))w=le[c];else if(w!=null){if(!(I in w)){if(!r)throw new me("base intrinsic for "+t+" exists, but the property is not available.");return}if(Oe&&L+1>=o.length){var M=Oe(w,I);$=!!M,$&&"get"in M&&!("originalValue"in M.get)?w=M.get:w=w[I]}else $=We(w,I),w=w[I];$&&!y&&(le[c]=w)}}return w},Qr=Ut,en=Ct,ji=en([Qr("%String.prototype.indexOf%")]),Ae=function(t,r){var o=Qr(t,!!r);return typeof o=="function"&&ji(t,".prototype.")>-1?en([o]):o},Mi=ze(),Li=Ae,Rt=Li("Object.prototype.toString"),Je=function(t){return Mi&&t&&typeof t=="object"&&Symbol.toStringTag in t?!1:Rt(t)==="[object Arguments]"},tn=function(t){return Je(t)?!0:t!==null&&typeof t=="object"&&"length"in t&&typeof t.length=="number"&&t.length>=0&&Rt(t)!=="[object Array]"&&"callee"in t&&Rt(t.callee)==="[object Function]"},$i=function(){return Je(arguments)}();Je.isLegacyArguments=tn;var Ni=$i?Je:tn,ar=Ae,Ii=ze(),Bi=Yr(),Di=Ee,Ot;if(Ii){var Ci=ar("RegExp.prototype.exec"),fr={},st=function(){throw fr},ur={toString:st,valueOf:st};typeof Symbol.toPrimitive=="symbol"&&(ur[Symbol.toPrimitive]=st),Ot=function(t){if(!t||typeof t!="object")return!1;var r=Di(t,"lastIndex"),o=r&&Bi(r,"value");if(!o)return!1;try{Ci(t,ur)}catch(a){return a===fr}}}else{var Fi=ar("Object.prototype.toString"),Ui="[object RegExp]";Ot=function(t){return!t||typeof t!="object"&&typeof t!="function"?!1:Fi(t)===Ui}}var ki=Ot,Wi=Ae,xi=ki,qi=Wi("RegExp.prototype.exec"),Gi=Se,Hi=function(t){if(!xi(t))throw new Gi("`regex` must be a RegExp");return function(o){return qi(t,o)!==null}},rn=Ae,Vi=Hi,zi=Vi(/^\s*(?:function)?\*/),nn=ze(),ct=Ft,Ki=rn("Object.prototype.toString"),Ji=rn("Function.prototype.toString"),Yi=function(){if(!nn)return!1;try{return Function("return function*() {}")()}catch{}},dt,Zi=function(t){if(typeof t!="function")return!1;if(zi(Ji(t)))return!0;if(!nn){var r=Ki(t);return r==="[object GeneratorFunction]"}if(!ct)return!1;if(typeof dt>"u"){var o=Yi();dt=o?ct(o):!1}return ct(t)===dt},on=Function.prototype.toString,ve=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,Pt,Ce;if(typeof ve=="function"&&typeof Object.defineProperty=="function")try{Pt=Object.defineProperty({},"length",{get:function(){throw Ce}}),Ce={},ve(function(){throw 42},null,Pt)}catch(e){e!==Ce&&(ve=null)}else ve=null;var Xi=/^\s*class\b/,Tt=function(t){try{var r=on.call(t);return Xi.test(r)}catch{return!1}},pt=function(t){try{return Tt(t)?!1:(on.call(t),!0)}catch{return!1}},Fe=Object.prototype.toString,Qi="[object Object]",eo="[object Function]",to="[object GeneratorFunction]",ro="[object HTMLAllCollection]",no="[object HTML document.all class]",io="[object HTMLCollection]",oo=typeof Symbol=="function"&&!!Symbol.toStringTag,ao=!(0 in[,]),jt=function(){return!1};if(typeof document=="object"){var fo=document.all;Fe.call(fo)===Fe.call(document.all)&&(jt=function(t){if((ao||!t)&&(typeof t>"u"||typeof t=="object"))try{var r=Fe.call(t);return(r===ro||r===no||r===io||r===Qi)&&t("")==null}catch{}return!1})}var uo=ve?function(t){if(jt(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;try{ve(t,null,Pt)}catch(r){if(r!==Ce)return!1}return!Tt(t)&&pt(t)}:function(t){if(jt(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;if(oo)return pt(t);if(Tt(t))return!1;var r=Fe.call(t);return r!==eo&&r!==to&&!/^\[object HTML/.test(r)?!1:pt(t)},lo=uo,so=Object.prototype.toString,an=Object.prototype.hasOwnProperty,co=function(t,r,o){for(var a=0,d=t.length;a<d;a++)an.call(t,a)&&(o==null?r(t[a],a,t):r.call(o,t[a],a,t))},po=function(t,r,o){for(var a=0,d=t.length;a<d;a++)o==null?r(t.charAt(a),a,t):r.call(o,t.charAt(a),a,t)},yo=function(t,r,o){for(var a in t)an.call(t,a)&&(o==null?r(t[a],a,t):r.call(o,t[a],a,t))};function ho(e){return so.call(e)==="[object Array]"}var go=function(t,r,o){if(!lo(r))throw new TypeError("iterator must be a function");var a;arguments.length>=3&&(a=o),ho(t)?co(t,r,a):typeof t=="string"?po(t,r,a):yo(t,r,a)},vo=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"],yt=vo,bo=typeof globalThis>"u"?oe.commonjsGlobal:globalThis,mo=function(){for(var t=[],r=0;r<yt.length;r++)typeof bo[yt[r]]=="function"&&(t[t.length]=yt[r]);return t},fn={exports:{}},lr=Ke,wo=Gr,he=Se,sr=Ee,_o=function(t,r,o){if(!t||typeof t!="object"&&typeof t!="function")throw new he("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new he("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new he("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new he("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new he("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new he("`loose`, if provided, must be a boolean");var a=arguments.length>3?arguments[3]:null,d=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,w=arguments.length>6?arguments[6]:!1,y=!!sr&&sr(t,r);if(lr)lr(t,r,{configurable:c===null&&y?y.configurable:!c,enumerable:a===null&&y?y.enumerable:!a,value:o,writable:d===null&&y?y.writable:!d});else if(w||!a&&!d&&!c)t[r]=o;else throw new wo("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},Mt=Ke,un=function(){return!!Mt};un.hasArrayLengthDefineBug=function(){if(!Mt)return null;try{return Mt([],"length",{value:1}).length!==1}catch{return!0}};var So=un,Eo=Ut,cr=_o,Ao=So(),dr=Ee,pr=Se,Ro=Eo("%Math.floor%"),Oo=function(t,r){if(typeof t!="function")throw new pr("`fn` is not a function");if(typeof r!="number"||r<0||r>4294967295||Ro(r)!==r)throw new pr("`length` must be a positive 32-bit integer");var o=arguments.length>2&&!!arguments[2],a=!0,d=!0;if("length"in t&&dr){var c=dr(t,"length");c&&!c.configurable&&(a=!1),c&&!c.writable&&(d=!1)}return(a||d||!o)&&(Ao?cr(t,"length",r,!0,!0):cr(t,"length",r)),t},Po=Te(),To=Dt(),jo=zr,Mo=function(){return jo(Po,To,arguments)};(function(e){var t=Oo,r=Ke,o=Ct,a=Mo;e.exports=function(c){var w=o(arguments),y=c.length-(arguments.length-1);return t(w,1+(y>0?y:0),!0)},r?r(e.exports,"apply",{value:a}):e.exports.apply=a})(fn);var Lo=fn.exports,qe=go,$o=mo,yr=Lo,kt=Ae,Ue=Ee,$e=Ft,No=kt("Object.prototype.toString"),ln=ze(),hr=typeof globalThis>"u"?oe.commonjsGlobal:globalThis,Lt=$o(),Wt=kt("String.prototype.slice"),Io=kt("Array.prototype.indexOf",!0)||function(t,r){for(var o=0;o<t.length;o+=1)if(t[o]===r)return o;return-1},Ge={__proto__:null};ln&&Ue&&$e?qe(Lt,function(e){var t=new hr[e];if(Symbol.toStringTag in t&&$e){var r=$e(t),o=Ue(r,Symbol.toStringTag);if(!o&&r){var a=$e(r);o=Ue(a,Symbol.toStringTag)}Ge["$"+e]=yr(o.get)}}):qe(Lt,function(e){var t=new hr[e],r=t.slice||t.set;r&&(Ge["$"+e]=yr(r))});var Bo=function(t){var r=!1;return qe(Ge,function(o,a){if(!r)try{"$"+o(t)===a&&(r=Wt(a,1))}catch{}}),r},Do=function(t){var r=!1;return qe(Ge,function(o,a){if(!r)try{o(t),r=Wt(a,1)}catch{}}),r},sn=function(t){if(!t||typeof t!="object")return!1;if(!ln){var r=Wt(No(t),8,-1);return Io(Lt,r)>-1?r:r!=="Object"?!1:Do(t)}return Ue?Bo(t):null},Co=sn,Fo=function(t){return!!Co(t)};(function(e){var t=Ni,r=Zi,o=sn,a=Fo;function d(g){return g.call.bind(g)}var c=typeof BigInt<"u",w=typeof Symbol<"u",y=d(Object.prototype.toString),E=d(Number.prototype.valueOf),L=d(String.prototype.valueOf),$=d(Boolean.prototype.valueOf);if(c)var I=d(BigInt.prototype.valueOf);if(w)var x=d(Symbol.prototype.valueOf);function P(g,Le){if(typeof g!="object")return!1;try{return Le(g),!0}catch{return!1}}e.isArgumentsObject=t,e.isGeneratorFunction=r,e.isTypedArray=a;function M(g){return typeof Promise<"u"&&g instanceof Promise||g!==null&&typeof g=="object"&&typeof g.then=="function"&&typeof g.catch=="function"}e.isPromise=M;function R(g){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(g):a(g)||h(g)}e.isArrayBufferView=R;function u(g){return o(g)==="Uint8Array"}e.isUint8Array=u;function b(g){return o(g)==="Uint8ClampedArray"}e.isUint8ClampedArray=b;function S(g){return o(g)==="Uint16Array"}e.isUint16Array=S;function A(g){return o(g)==="Uint32Array"}e.isUint32Array=A;function T(g){return o(g)==="Int8Array"}e.isInt8Array=T;function D(g){return o(g)==="Int16Array"}e.isInt16Array=D;function W(g){return o(g)==="Int32Array"}e.isInt32Array=W;function C(g){return o(g)==="Float32Array"}e.isFloat32Array=C;function N(g){return o(g)==="Float64Array"}e.isFloat64Array=N;function z(g){return o(g)==="BigInt64Array"}e.isBigInt64Array=z;function J(g){return o(g)==="BigUint64Array"}e.isBigUint64Array=J;function Y(g){return y(g)==="[object Map]"}Y.working=typeof Map<"u"&&Y(new Map);function re(g){return typeof Map>"u"?!1:Y.working?Y(g):g instanceof Map}e.isMap=re;function Z(g){return y(g)==="[object Set]"}Z.working=typeof Set<"u"&&Z(new Set);function ne(g){return typeof Set>"u"?!1:Z.working?Z(g):g instanceof Set}e.isSet=ne;function ie(g){return y(g)==="[object WeakMap]"}ie.working=typeof WeakMap<"u"&&ie(new WeakMap);function Q(g){return typeof WeakMap>"u"?!1:ie.working?ie(g):g instanceof WeakMap}e.isWeakMap=Q;function ee(g){return y(g)==="[object WeakSet]"}ee.working=typeof WeakSet<"u"&&ee(new WeakSet);function K(g){return ee(g)}e.isWeakSet=K;function te(g){return y(g)==="[object ArrayBuffer]"}te.working=typeof ArrayBuffer<"u"&&te(new ArrayBuffer);function fe(g){return typeof ArrayBuffer>"u"?!1:te.working?te(g):g instanceof ArrayBuffer}e.isArrayBuffer=fe;function s(g){return y(g)==="[object DataView]"}s.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&s(new DataView(new ArrayBuffer(1),0,1));function h(g){return typeof DataView>"u"?!1:s.working?s(g):g instanceof DataView}e.isDataView=h;var m=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function B(g){return y(g)==="[object SharedArrayBuffer]"}function l(g){return typeof m>"u"?!1:(typeof B.working>"u"&&(B.working=B(new m)),B.working?B(g):g instanceof m)}e.isSharedArrayBuffer=l;function f(g){return y(g)==="[object AsyncFunction]"}e.isAsyncFunction=f;function p(g){return y(g)==="[object Map Iterator]"}e.isMapIterator=p;function _(g){return y(g)==="[object Set Iterator]"}e.isSetIterator=_;function j(g){return y(g)==="[object Generator]"}e.isGeneratorObject=j;function n(g){return y(g)==="[object WebAssembly.Module]"}e.isWebAssemblyCompiledModule=n;function i(g){return P(g,E)}e.isNumberObject=i;function v(g){return P(g,L)}e.isStringObject=v;function O(g){return P(g,$)}e.isBooleanObject=O;function H(g){return c&&P(g,I)}e.isBigIntObject=H;function F(g){return w&&P(g,x)}e.isSymbolObject=F;function q(g){return i(g)||v(g)||O(g)||H(g)||F(g)}e.isBoxedPrimitive=q;function ue(g){return typeof Uint8Array<"u"&&(fe(g)||l(g))}e.isAnyArrayBuffer=ue,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(g){Object.defineProperty(e,g,{enumerable:!1,value:function(){throw new Error(g+" is not supported in userland")}})})})(Wr);var Uo=function(t){return t&&typeof t=="object"&&typeof t.copy=="function"&&typeof t.fill=="function"&&typeof t.readUInt8=="function"};(function(e){var t=Object.getOwnPropertyDescriptors||function(h){for(var m=Object.keys(h),B={},l=0;l<m.length;l++)B[m[l]]=Object.getOwnPropertyDescriptor(h,m[l]);return B},r=/%[sdj%]/g;e.format=function(s){if(!T(s)){for(var h=[],m=0;m<arguments.length;m++)h.push(c(arguments[m]));return h.join(" ")}for(var m=1,B=arguments,l=B.length,f=String(s).replace(r,function(_){if(_==="%%")return"%";if(m>=l)return _;switch(_){case"%s":return String(B[m++]);case"%d":return Number(B[m++]);case"%j":try{return JSON.stringify(B[m++])}catch{return"[Circular]"}default:return _}}),p=B[m];m<l;p=B[++m])b(p)||!N(p)?f+=" "+p:f+=" "+c(p);return f},e.deprecate=function(s,h){if(typeof U.process$1<"u"&&U.process$1.noDeprecation===!0)return s;if(typeof U.process$1>"u")return function(){return e.deprecate(s,h).apply(this,arguments)};var m=!1;function B(){if(!m){if(U.process$1.throwDeprecation)throw new Error(h);U.process$1.traceDeprecation?console.trace(h):console.error(h),m=!0}return s.apply(this,arguments)}return B};var o={},a=/^$/;if(U.process$1.env.NODE_DEBUG){var d=U.process$1.env.NODE_DEBUG;d=d.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),a=new RegExp("^"+d+"$","i")}e.debuglog=function(s){if(s=s.toUpperCase(),!o[s])if(a.test(s)){var h=U.process$1.pid;o[s]=function(){var m=e.format.apply(e,arguments);console.error("%s %d: %s",s,h,m)}}else o[s]=function(){};return o[s]};function c(s,h){var m={seen:[],stylize:y};return arguments.length>=3&&(m.depth=arguments[2]),arguments.length>=4&&(m.colors=arguments[3]),u(h)?m.showHidden=h:h&&e._extend(m,h),W(m.showHidden)&&(m.showHidden=!1),W(m.depth)&&(m.depth=2),W(m.colors)&&(m.colors=!1),W(m.customInspect)&&(m.customInspect=!0),m.colors&&(m.stylize=w),L(m,s,m.depth)}e.inspect=c,c.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]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function w(s,h){var m=c.styles[h];return m?"\x1B["+c.colors[m][0]+"m"+s+"\x1B["+c.colors[m][1]+"m":s}function y(s,h){return s}function E(s){var h={};return s.forEach(function(m,B){h[m]=!0}),h}function L(s,h,m){if(s.customInspect&&h&&Y(h.inspect)&&h.inspect!==e.inspect&&!(h.constructor&&h.constructor.prototype===h)){var B=h.inspect(m,s);return T(B)||(B=L(s,B,m)),B}var l=$(s,h);if(l)return l;var f=Object.keys(h),p=E(f);if(s.showHidden&&(f=Object.getOwnPropertyNames(h)),J(h)&&(f.indexOf("message")>=0||f.indexOf("description")>=0))return I(h);if(f.length===0){if(Y(h)){var _=h.name?": "+h.name:"";return s.stylize("[Function"+_+"]","special")}if(C(h))return s.stylize(RegExp.prototype.toString.call(h),"regexp");if(z(h))return s.stylize(Date.prototype.toString.call(h),"date");if(J(h))return I(h)}var j="",n=!1,i=["{","}"];if(R(h)&&(n=!0,i=["[","]"]),Y(h)){var v=h.name?": "+h.name:"";j=" [Function"+v+"]"}if(C(h)&&(j=" "+RegExp.prototype.toString.call(h)),z(h)&&(j=" "+Date.prototype.toUTCString.call(h)),J(h)&&(j=" "+I(h)),f.length===0&&(!n||h.length==0))return i[0]+j+i[1];if(m<0)return C(h)?s.stylize(RegExp.prototype.toString.call(h),"regexp"):s.stylize("[Object]","special");s.seen.push(h);var O;return n?O=x(s,h,m,p,f):O=f.map(function(H){return P(s,h,m,p,H,n)}),s.seen.pop(),M(O,j,i)}function $(s,h){if(W(h))return s.stylize("undefined","undefined");if(T(h)){var m="'"+JSON.stringify(h).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return s.stylize(m,"string")}if(A(h))return s.stylize(""+h,"number");if(u(h))return s.stylize(""+h,"boolean");if(b(h))return s.stylize("null","null")}function I(s){return"["+Error.prototype.toString.call(s)+"]"}function x(s,h,m,B,l){for(var f=[],p=0,_=h.length;p<_;++p)ee(h,String(p))?f.push(P(s,h,m,B,String(p),!0)):f.push("");return l.forEach(function(j){j.match(/^\d+$/)||f.push(P(s,h,m,B,j,!0))}),f}function P(s,h,m,B,l,f){var p,_,j;if(j=Object.getOwnPropertyDescriptor(h,l)||{value:h[l]},j.get?j.set?_=s.stylize("[Getter/Setter]","special"):_=s.stylize("[Getter]","special"):j.set&&(_=s.stylize("[Setter]","special")),ee(B,l)||(p="["+l+"]"),_||(s.seen.indexOf(j.value)<0?(b(m)?_=L(s,j.value,null):_=L(s,j.value,m-1),_.indexOf(`
|
|
2
|
-
`)>-1&&(f?_=_.split(`
|
|
3
|
-
`).map(function(n){return" "+n}).join(`
|
|
4
|
-
`).slice(2):_=`
|
|
5
|
-
`+_.split(`
|
|
6
|
-
`).map(function(n){return" "+n}).join(`
|
|
7
|
-
`))):_=s.stylize("[Circular]","special")),W(p)){if(f&&l.match(/^\d+$/))return _;p=JSON.stringify(""+l),p.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(p=p.slice(1,-1),p=s.stylize(p,"name")):(p=p.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),p=s.stylize(p,"string"))}return p+": "+_}function M(s,h,m){var B=s.reduce(function(l,f){return f.indexOf(`
|
|
8
|
-
`)>=0,l+f.replace(/\u001b\[\d\d?m/g,"").length+1},0);return B>60?m[0]+(h===""?"":h+`
|
|
9
|
-
`)+" "+s.join(`,
|
|
10
|
-
`)+" "+m[1]:m[0]+h+" "+s.join(", ")+" "+m[1]}e.types=Wr;function R(s){return Array.isArray(s)}e.isArray=R;function u(s){return typeof s=="boolean"}e.isBoolean=u;function b(s){return s===null}e.isNull=b;function S(s){return s==null}e.isNullOrUndefined=S;function A(s){return typeof s=="number"}e.isNumber=A;function T(s){return typeof s=="string"}e.isString=T;function D(s){return typeof s=="symbol"}e.isSymbol=D;function W(s){return s===void 0}e.isUndefined=W;function C(s){return N(s)&&Z(s)==="[object RegExp]"}e.isRegExp=C,e.types.isRegExp=C;function N(s){return typeof s=="object"&&s!==null}e.isObject=N;function z(s){return N(s)&&Z(s)==="[object Date]"}e.isDate=z,e.types.isDate=z;function J(s){return N(s)&&(Z(s)==="[object Error]"||s instanceof Error)}e.isError=J,e.types.isNativeError=J;function Y(s){return typeof s=="function"}e.isFunction=Y;function re(s){return s===null||typeof s=="boolean"||typeof s=="number"||typeof s=="string"||typeof s=="symbol"||typeof s>"u"}e.isPrimitive=re,e.isBuffer=Uo;function Z(s){return Object.prototype.toString.call(s)}function ne(s){return s<10?"0"+s.toString(10):s.toString(10)}var ie=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Q(){var s=new Date,h=[ne(s.getHours()),ne(s.getMinutes()),ne(s.getSeconds())].join(":");return[s.getDate(),ie[s.getMonth()],h].join(" ")}e.log=function(){console.log("%s - %s",Q(),e.format.apply(e,arguments))},e.inherits=se,e._extend=function(s,h){if(!h||!N(h))return s;for(var m=Object.keys(h),B=m.length;B--;)s[m[B]]=h[m[B]];return s};function ee(s,h){return Object.prototype.hasOwnProperty.call(s,h)}var K=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;e.promisify=function(h){if(typeof h!="function")throw new TypeError('The "original" argument must be of type Function');if(K&&h[K]){var m=h[K];if(typeof m!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(m,K,{value:m,enumerable:!1,writable:!1,configurable:!0}),m}function m(){for(var B,l,f=new Promise(function(j,n){B=j,l=n}),p=[],_=0;_<arguments.length;_++)p.push(arguments[_]);p.push(function(j,n){j?l(j):B(n)});try{h.apply(this,p)}catch(j){l(j)}return f}return Object.setPrototypeOf(m,Object.getPrototypeOf(h)),K&&Object.defineProperty(m,K,{value:m,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(m,t(h))},e.promisify.custom=K;function te(s,h){if(!s){var m=new Error("Promise was rejected with a falsy value");m.reason=s,s=m}return h(s)}function fe(s){if(typeof s!="function")throw new TypeError('The "original" argument must be of type Function');function h(){for(var m=[],B=0;B<arguments.length;B++)m.push(arguments[B]);var l=m.pop();if(typeof l!="function")throw new TypeError("The last argument must be of type Function");var f=this,p=function(){return l.apply(f,arguments)};s.apply(this,m).then(function(_){U.process$1.nextTick(p.bind(null,null,_))},function(_){U.process$1.nextTick(te.bind(null,_,p))})}return Object.setPrototypeOf(h,Object.getPrototypeOf(s)),Object.defineProperties(h,t(s)),h}e.callbackify=fe})(It);var ht,gr;function ko(){if(gr)return ht;gr=1;function e(P,M){var R=Object.keys(P);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(P);M&&(u=u.filter(function(b){return Object.getOwnPropertyDescriptor(P,b).enumerable})),R.push.apply(R,u)}return R}function t(P){for(var M=1;M<arguments.length;M++){var R=arguments[M]!=null?arguments[M]:{};M%2?e(Object(R),!0).forEach(function(u){r(P,u,R[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(P,Object.getOwnPropertyDescriptors(R)):e(Object(R)).forEach(function(u){Object.defineProperty(P,u,Object.getOwnPropertyDescriptor(R,u))})}return P}function r(P,M,R){return M=c(M),M in P?Object.defineProperty(P,M,{value:R,enumerable:!0,configurable:!0,writable:!0}):P[M]=R,P}function o(P,M){if(!(P instanceof M))throw new TypeError("Cannot call a class as a function")}function a(P,M){for(var R=0;R<M.length;R++){var u=M[R];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(P,c(u.key),u)}}function d(P,M,R){return M&&a(P.prototype,M),Object.defineProperty(P,"prototype",{writable:!1}),P}function c(P){var M=w(P,"string");return typeof M=="symbol"?M:String(M)}function w(P,M){if(typeof P!="object"||P===null)return P;var R=P[Symbol.toPrimitive];if(R!==void 0){var u=R.call(P,M);if(typeof u!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(P)}var y=Ve,E=y.Buffer,L=It,$=L.inspect,I=$&&$.custom||"inspect";function x(P,M,R){E.prototype.copy.call(P,M,R)}return ht=function(){function P(){o(this,P),this.head=null,this.tail=null,this.length=0}return d(P,[{key:"push",value:function(R){var u={data:R,next:null};this.length>0?this.tail.next=u:this.head=u,this.tail=u,++this.length}},{key:"unshift",value:function(R){var u={data:R,next:this.head};this.length===0&&(this.tail=u),this.head=u,++this.length}},{key:"shift",value:function(){if(this.length!==0){var R=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,R}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(R){if(this.length===0)return"";for(var u=this.head,b=""+u.data;u=u.next;)b+=R+u.data;return b}},{key:"concat",value:function(R){if(this.length===0)return E.alloc(0);for(var u=E.allocUnsafe(R>>>0),b=this.head,S=0;b;)x(b.data,u,S),S+=b.data.length,b=b.next;return u}},{key:"consume",value:function(R,u){var b;return R<this.head.data.length?(b=this.head.data.slice(0,R),this.head.data=this.head.data.slice(R)):R===this.head.data.length?b=this.shift():b=u?this._getString(R):this._getBuffer(R),b}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(R){var u=this.head,b=1,S=u.data;for(R-=S.length;u=u.next;){var A=u.data,T=R>A.length?A.length:R;if(T===A.length?S+=A:S+=A.slice(0,R),R-=T,R===0){T===A.length?(++b,u.next?this.head=u.next:this.head=this.tail=null):(this.head=u,u.data=A.slice(T));break}++b}return this.length-=b,S}},{key:"_getBuffer",value:function(R){var u=E.allocUnsafe(R),b=this.head,S=1;for(b.data.copy(u),R-=b.data.length;b=b.next;){var A=b.data,T=R>A.length?A.length:R;if(A.copy(u,u.length-R,0,T),R-=T,R===0){T===A.length?(++S,b.next?this.head=b.next:this.head=this.tail=null):(this.head=b,b.data=A.slice(T));break}++S}return this.length-=S,u}},{key:I,value:function(R,u){return $(this,t(t({},u),{},{depth:0,customInspect:!1}))}}]),P}(),ht}function Wo(e,t){var r=this,o=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return o||a?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,U.process$1.nextTick($t,this,e)):U.process$1.nextTick($t,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(d){!t&&d?r._writableState?r._writableState.errorEmitted?U.process$1.nextTick(ke,r):(r._writableState.errorEmitted=!0,U.process$1.nextTick(vr,r,d)):U.process$1.nextTick(vr,r,d):t?(U.process$1.nextTick(ke,r),t(d)):U.process$1.nextTick(ke,r)}),this)}function vr(e,t){$t(e,t),ke(e)}function ke(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function xo(){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)}function $t(e,t){e.emit("error",t)}function qo(e,t){var r=e._readableState,o=e._writableState;r&&r.autoDestroy||o&&o.autoDestroy?e.destroy(t):e.emit("error",t)}var cn={destroy:Wo,undestroy:xo,errorOrDestroy:qo},ce={};function Go(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var dn={};function X(e,t,r){r||(r=Error);function o(d,c,w){return typeof t=="string"?t:t(d,c,w)}var a=function(d){Go(c,d);function c(w,y,E){return d.call(this,o(w,y,E))||this}return c}(r);a.prototype.name=r.name,a.prototype.code=e,dn[e]=a}function br(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map(function(o){return String(o)}),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:r===2?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}else return"of ".concat(t," ").concat(String(e))}function Ho(e,t,r){return e.substr(0,t.length)===t}function Vo(e,t,r){return(r===void 0||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}function zo(e,t,r){return typeof r!="number"&&(r=0),r+t.length>e.length?!1:e.indexOf(t,r)!==-1}X("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError);X("ERR_INVALID_ARG_TYPE",function(e,t,r){var o;typeof t=="string"&&Ho(t,"not ")?(o="must not be",t=t.replace(/^not /,"")):o="must be";var a;if(Vo(e," argument"))a="The ".concat(e," ").concat(o," ").concat(br(t,"type"));else{var d=zo(e,".")?"property":"argument";a='The "'.concat(e,'" ').concat(d," ").concat(o," ").concat(br(t,"type"))}return a+=". Received type ".concat(typeof r),a},TypeError);X("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");X("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"});X("ERR_STREAM_PREMATURE_CLOSE","Premature close");X("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"});X("ERR_MULTIPLE_CALLBACK","Callback called multiple times");X("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");X("ERR_STREAM_WRITE_AFTER_END","write after end");X("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);X("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError);X("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");ce.codes=dn;var Ko=ce.codes.ERR_INVALID_OPT_VALUE;function Jo(e,t,r){return e.highWaterMark!=null?e.highWaterMark:t?e[r]:null}function Yo(e,t,r,o){var a=Jo(t,o,r);if(a!=null){if(!(isFinite(a)&&Math.floor(a)===a)||a<0){var d=o?r:"highWaterMark";throw new Ko(d,a)}return Math.floor(a)}return e.objectMode?16:16*1024}var pn={getHighWaterMark:Yo},Zo=Xo;function Xo(e,t){if(gt("noDeprecation"))return e;var r=!1;function o(){if(!r){if(gt("throwDeprecation"))throw new Error(t);gt("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}return o}function gt(e){try{if(!oe.commonjsGlobal.localStorage)return!1}catch{return!1}var t=oe.commonjsGlobal.localStorage[e];return t==null?!1:String(t).toLowerCase()==="true"}var vt,mr;function yn(){if(mr)return vt;mr=1,vt=C;function e(l){var f=this;this.next=null,this.entry=null,this.finish=function(){B(f,l)}}var t;C.WritableState=D;var r={deprecate:Zo},o=kr,a=Ve.Buffer,d=(typeof oe.commonjsGlobal<"u"?oe.commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function c(l){return a.from(l)}function w(l){return a.isBuffer(l)||l instanceof d}var y=cn,E=pn,L=E.getHighWaterMark,$=ce.codes,I=$.ERR_INVALID_ARG_TYPE,x=$.ERR_METHOD_NOT_IMPLEMENTED,P=$.ERR_MULTIPLE_CALLBACK,M=$.ERR_STREAM_CANNOT_PIPE,R=$.ERR_STREAM_DESTROYED,u=$.ERR_STREAM_NULL_VALUES,b=$.ERR_STREAM_WRITE_AFTER_END,S=$.ERR_UNKNOWN_ENCODING,A=y.errorOrDestroy;se(C,o);function T(){}function D(l,f,p){t=t||_e(),l=l||{},typeof p!="boolean"&&(p=f instanceof t),this.objectMode=!!l.objectMode,p&&(this.objectMode=this.objectMode||!!l.writableObjectMode),this.highWaterMark=L(this,l,"writableHighWaterMark",p),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var _=l.decodeStrings===!1;this.decodeStrings=!_,this.defaultEncoding=l.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(j){ie(f,j)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=l.emitClose!==!1,this.autoDestroy=!!l.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}D.prototype.getBuffer=function(){for(var f=this.bufferedRequest,p=[];f;)p.push(f),f=f.next;return p},function(){try{Object.defineProperty(D.prototype,"buffer",{get:r.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var W;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(W=Function.prototype[Symbol.hasInstance],Object.defineProperty(C,Symbol.hasInstance,{value:function(f){return W.call(this,f)?!0:this!==C?!1:f&&f._writableState instanceof D}})):W=function(f){return f instanceof this};function C(l){t=t||_e();var f=this instanceof t;if(!f&&!W.call(C,this))return new C(l);this._writableState=new D(l,this,f),this.writable=!0,l&&(typeof l.write=="function"&&(this._write=l.write),typeof l.writev=="function"&&(this._writev=l.writev),typeof l.destroy=="function"&&(this._destroy=l.destroy),typeof l.final=="function"&&(this._final=l.final)),o.call(this)}C.prototype.pipe=function(){A(this,new M)};function N(l,f){var p=new b;A(l,p),U.process$1.nextTick(f,p)}function z(l,f,p,_){var j;return p===null?j=new u:typeof p!="string"&&!f.objectMode&&(j=new I("chunk",["string","Buffer"],p)),j?(A(l,j),U.process$1.nextTick(_,j),!1):!0}C.prototype.write=function(l,f,p){var _=this._writableState,j=!1,n=!_.objectMode&&w(l);return n&&!a.isBuffer(l)&&(l=c(l)),typeof f=="function"&&(p=f,f=null),n?f="buffer":f||(f=_.defaultEncoding),typeof p!="function"&&(p=T),_.ending?N(this,p):(n||z(this,_,l,p))&&(_.pendingcb++,j=Y(this,_,n,l,f,p)),j},C.prototype.cork=function(){this._writableState.corked++},C.prototype.uncork=function(){var l=this._writableState;l.corked&&(l.corked--,!l.writing&&!l.corked&&!l.bufferProcessing&&l.bufferedRequest&&K(this,l))},C.prototype.setDefaultEncoding=function(f){if(typeof f=="string"&&(f=f.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((f+"").toLowerCase())>-1))throw new S(f);return this._writableState.defaultEncoding=f,this},Object.defineProperty(C.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function J(l,f,p){return!l.objectMode&&l.decodeStrings!==!1&&typeof f=="string"&&(f=a.from(f,p)),f}Object.defineProperty(C.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Y(l,f,p,_,j,n){if(!p){var i=J(f,_,j);_!==i&&(p=!0,j="buffer",_=i)}var v=f.objectMode?1:_.length;f.length+=v;var O=f.length<f.highWaterMark;if(O||(f.needDrain=!0),f.writing||f.corked){var H=f.lastBufferedRequest;f.lastBufferedRequest={chunk:_,encoding:j,isBuf:p,callback:n,next:null},H?H.next=f.lastBufferedRequest:f.bufferedRequest=f.lastBufferedRequest,f.bufferedRequestCount+=1}else re(l,f,!1,v,_,j,n);return O}function re(l,f,p,_,j,n,i){f.writelen=_,f.writecb=i,f.writing=!0,f.sync=!0,f.destroyed?f.onwrite(new R("write")):p?l._writev(j,f.onwrite):l._write(j,n,f.onwrite),f.sync=!1}function Z(l,f,p,_,j){--f.pendingcb,p?(U.process$1.nextTick(j,_),U.process$1.nextTick(h,l,f),l._writableState.errorEmitted=!0,A(l,_)):(j(_),l._writableState.errorEmitted=!0,A(l,_),h(l,f))}function ne(l){l.writing=!1,l.writecb=null,l.length-=l.writelen,l.writelen=0}function ie(l,f){var p=l._writableState,_=p.sync,j=p.writecb;if(typeof j!="function")throw new P;if(ne(p),f)Z(l,p,_,f,j);else{var n=te(p)||l.destroyed;!n&&!p.corked&&!p.bufferProcessing&&p.bufferedRequest&&K(l,p),_?U.process$1.nextTick(Q,l,p,n,j):Q(l,p,n,j)}}function Q(l,f,p,_){p||ee(l,f),f.pendingcb--,_(),h(l,f)}function ee(l,f){f.length===0&&f.needDrain&&(f.needDrain=!1,l.emit("drain"))}function K(l,f){f.bufferProcessing=!0;var p=f.bufferedRequest;if(l._writev&&p&&p.next){var _=f.bufferedRequestCount,j=new Array(_),n=f.corkedRequestsFree;n.entry=p;for(var i=0,v=!0;p;)j[i]=p,p.isBuf||(v=!1),p=p.next,i+=1;j.allBuffers=v,re(l,f,!0,f.length,j,"",n.finish),f.pendingcb++,f.lastBufferedRequest=null,n.next?(f.corkedRequestsFree=n.next,n.next=null):f.corkedRequestsFree=new e(f),f.bufferedRequestCount=0}else{for(;p;){var O=p.chunk,H=p.encoding,F=p.callback,q=f.objectMode?1:O.length;if(re(l,f,!1,q,O,H,F),p=p.next,f.bufferedRequestCount--,f.writing)break}p===null&&(f.lastBufferedRequest=null)}f.bufferedRequest=p,f.bufferProcessing=!1}C.prototype._write=function(l,f,p){p(new x("_write()"))},C.prototype._writev=null,C.prototype.end=function(l,f,p){var _=this._writableState;return typeof l=="function"?(p=l,l=null,f=null):typeof f=="function"&&(p=f,f=null),l!=null&&this.write(l,f),_.corked&&(_.corked=1,this.uncork()),_.ending||m(this,_,p),this},Object.defineProperty(C.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function te(l){return l.ending&&l.length===0&&l.bufferedRequest===null&&!l.finished&&!l.writing}function fe(l,f){l._final(function(p){f.pendingcb--,p&&A(l,p),f.prefinished=!0,l.emit("prefinish"),h(l,f)})}function s(l,f){!f.prefinished&&!f.finalCalled&&(typeof l._final=="function"&&!f.destroyed?(f.pendingcb++,f.finalCalled=!0,U.process$1.nextTick(fe,l,f)):(f.prefinished=!0,l.emit("prefinish")))}function h(l,f){var p=te(f);if(p&&(s(l,f),f.pendingcb===0&&(f.finished=!0,l.emit("finish"),f.autoDestroy))){var _=l._readableState;(!_||_.autoDestroy&&_.endEmitted)&&l.destroy()}return p}function m(l,f,p){f.ending=!0,h(l,f),p&&(f.finished?U.process$1.nextTick(p):l.once("finish",p)),f.ended=!0,l.writable=!1}function B(l,f,p){var _=l.entry;for(l.entry=null;_;){var j=_.callback;f.pendingcb--,j(p),_=_.next}f.corkedRequestsFree.next=l}return Object.defineProperty(C.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(f){this._writableState&&(this._writableState.destroyed=f)}}),C.prototype.destroy=y.destroy,C.prototype._undestroy=y.undestroy,C.prototype._destroy=function(l,f){f(l)},vt}var bt,wr;function _e(){if(wr)return bt;wr=1;var e=Object.keys||function(E){var L=[];for(var $ in E)L.push($);return L};bt=c;var t=gn(),r=yn();se(c,t);for(var o=e(r.prototype),a=0;a<o.length;a++){var d=o[a];c.prototype[d]||(c.prototype[d]=r.prototype[d])}function c(E){if(!(this instanceof c))return new c(E);t.call(this,E),r.call(this,E),this.allowHalfOpen=!0,E&&(E.readable===!1&&(this.readable=!1),E.writable===!1&&(this.writable=!1),E.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",w)))}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}});function w(){this._writableState.ended||U.process$1.nextTick(y,this)}function y(E){E.end()}return Object.defineProperty(c.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(L){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=L,this._writableState.destroyed=L)}}),bt}var mt={},Ne={exports:{}};/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var _r;function Qo(){return _r||(_r=1,function(e,t){var r=Ve,o=r.Buffer;function a(c,w){for(var y in c)w[y]=c[y]}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=r:(a(r,t),t.Buffer=d);function d(c,w,y){return o(c,w,y)}d.prototype=Object.create(o.prototype),a(o,d),d.from=function(c,w,y){if(typeof c=="number")throw new TypeError("Argument must not be a number");return o(c,w,y)},d.alloc=function(c,w,y){if(typeof c!="number")throw new TypeError("Argument must be a number");var E=o(c);return w!==void 0?typeof y=="string"?E.fill(w,y):E.fill(w):E.fill(0),E},d.allocUnsafe=function(c){if(typeof c!="number")throw new TypeError("Argument must be a number");return o(c)},d.allocUnsafeSlow=function(c){if(typeof c!="number")throw new TypeError("Argument must be a number");return r.SlowBuffer(c)}}(Ne,Ne.exports)),Ne.exports}var Sr;function Er(){if(Sr)return mt;Sr=1;var e=Qo().Buffer,t=e.isEncoding||function(u){switch(u=""+u,u&&u.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 r(u){if(!u)return"utf8";for(var b;;)switch(u){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 u;default:if(b)return;u=(""+u).toLowerCase(),b=!0}}function o(u){var b=r(u);if(typeof b!="string"&&(e.isEncoding===t||!t(u)))throw new Error("Unknown encoding: "+u);return b||u}mt.StringDecoder=a;function a(u){this.encoding=o(u);var b;switch(this.encoding){case"utf16le":this.text=$,this.end=I,b=4;break;case"utf8":this.fillLast=y,b=4;break;case"base64":this.text=x,this.end=P,b=3;break;default:this.write=M,this.end=R;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(b)}a.prototype.write=function(u){if(u.length===0)return"";var b,S;if(this.lastNeed){if(b=this.fillLast(u),b===void 0)return"";S=this.lastNeed,this.lastNeed=0}else S=0;return S<u.length?b?b+this.text(u,S):this.text(u,S):b||""},a.prototype.end=L,a.prototype.text=E,a.prototype.fillLast=function(u){if(this.lastNeed<=u.length)return u.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);u.copy(this.lastChar,this.lastTotal-this.lastNeed,0,u.length),this.lastNeed-=u.length};function d(u){return u<=127?0:u>>5===6?2:u>>4===14?3:u>>3===30?4:u>>6===2?-1:-2}function c(u,b,S){var A=b.length-1;if(A<S)return 0;var T=d(b[A]);return T>=0?(T>0&&(u.lastNeed=T-1),T):--A<S||T===-2?0:(T=d(b[A]),T>=0?(T>0&&(u.lastNeed=T-2),T):--A<S||T===-2?0:(T=d(b[A]),T>=0?(T>0&&(T===2?T=0:u.lastNeed=T-3),T):0))}function w(u,b,S){if((b[0]&192)!==128)return u.lastNeed=0,"�";if(u.lastNeed>1&&b.length>1){if((b[1]&192)!==128)return u.lastNeed=1,"�";if(u.lastNeed>2&&b.length>2&&(b[2]&192)!==128)return u.lastNeed=2,"�"}}function y(u){var b=this.lastTotal-this.lastNeed,S=w(this,u);if(S!==void 0)return S;if(this.lastNeed<=u.length)return u.copy(this.lastChar,b,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);u.copy(this.lastChar,b,0,u.length),this.lastNeed-=u.length}function E(u,b){var S=c(this,u,b);if(!this.lastNeed)return u.toString("utf8",b);this.lastTotal=S;var A=u.length-(S-this.lastNeed);return u.copy(this.lastChar,0,A),u.toString("utf8",b,A)}function L(u){var b=u&&u.length?this.write(u):"";return this.lastNeed?b+"�":b}function $(u,b){if((u.length-b)%2===0){var S=u.toString("utf16le",b);if(S){var A=S.charCodeAt(S.length-1);if(A>=55296&&A<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=u[u.length-2],this.lastChar[1]=u[u.length-1],S.slice(0,-1)}return S}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=u[u.length-1],u.toString("utf16le",b,u.length-1)}function I(u){var b=u&&u.length?this.write(u):"";if(this.lastNeed){var S=this.lastTotal-this.lastNeed;return b+this.lastChar.toString("utf16le",0,S)}return b}function x(u,b){var S=(u.length-b)%3;return S===0?u.toString("base64",b):(this.lastNeed=3-S,this.lastTotal=3,S===1?this.lastChar[0]=u[u.length-1]:(this.lastChar[0]=u[u.length-2],this.lastChar[1]=u[u.length-1]),u.toString("base64",b,u.length-S))}function P(u){var b=u&&u.length?this.write(u):"";return this.lastNeed?b+this.lastChar.toString("base64",0,3-this.lastNeed):b}function M(u){return u.toString(this.encoding)}function R(u){return u&&u.length?this.write(u):""}return mt}var Ar=ce.codes.ERR_STREAM_PREMATURE_CLOSE;function ea(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];e.apply(this,o)}}}function ta(){}function ra(e){return e.setHeader&&typeof e.abort=="function"}function hn(e,t,r){if(typeof t=="function")return hn(e,null,t);t||(t={}),r=ea(r||ta);var o=t.readable||t.readable!==!1&&e.readable,a=t.writable||t.writable!==!1&&e.writable,d=function(){e.writable||w()},c=e._writableState&&e._writableState.finished,w=function(){a=!1,c=!0,o||r.call(e)},y=e._readableState&&e._readableState.endEmitted,E=function(){o=!1,y=!0,a||r.call(e)},L=function(P){r.call(e,P)},$=function(){var P;if(o&&!y)return(!e._readableState||!e._readableState.ended)&&(P=new Ar),r.call(e,P);if(a&&!c)return(!e._writableState||!e._writableState.ended)&&(P=new Ar),r.call(e,P)},I=function(){e.req.on("finish",w)};return ra(e)?(e.on("complete",w),e.on("abort",$),e.req?I():e.on("request",I)):a&&!e._writableState&&(e.on("end",d),e.on("close",d)),e.on("end",E),e.on("finish",w),t.error!==!1&&e.on("error",L),e.on("close",$),function(){e.removeListener("complete",w),e.removeListener("abort",$),e.removeListener("request",I),e.req&&e.req.removeListener("finish",w),e.removeListener("end",d),e.removeListener("close",d),e.removeListener("finish",w),e.removeListener("end",E),e.removeListener("error",L),e.removeListener("close",$)}}var xt=hn,wt,Rr;function na(){if(Rr)return wt;Rr=1;var e;function t(S,A,T){return A=r(A),A in S?Object.defineProperty(S,A,{value:T,enumerable:!0,configurable:!0,writable:!0}):S[A]=T,S}function r(S){var A=o(S,"string");return typeof A=="symbol"?A:String(A)}function o(S,A){if(typeof S!="object"||S===null)return S;var T=S[Symbol.toPrimitive];if(T!==void 0){var D=T.call(S,A);if(typeof D!="object")return D;throw new TypeError("@@toPrimitive must return a primitive value.")}return(A==="string"?String:Number)(S)}var a=xt,d=Symbol("lastResolve"),c=Symbol("lastReject"),w=Symbol("error"),y=Symbol("ended"),E=Symbol("lastPromise"),L=Symbol("handlePromise"),$=Symbol("stream");function I(S,A){return{value:S,done:A}}function x(S){var A=S[d];if(A!==null){var T=S[$].read();T!==null&&(S[E]=null,S[d]=null,S[c]=null,A(I(T,!1)))}}function P(S){U.process$1.nextTick(x,S)}function M(S,A){return function(T,D){S.then(function(){if(A[y]){T(I(void 0,!0));return}A[L](T,D)},D)}}var R=Object.getPrototypeOf(function(){}),u=Object.setPrototypeOf((e={get stream(){return this[$]},next:function(){var A=this,T=this[w];if(T!==null)return Promise.reject(T);if(this[y])return Promise.resolve(I(void 0,!0));if(this[$].destroyed)return new Promise(function(N,z){U.process$1.nextTick(function(){A[w]?z(A[w]):N(I(void 0,!0))})});var D=this[E],W;if(D)W=new Promise(M(D,this));else{var C=this[$].read();if(C!==null)return Promise.resolve(I(C,!1));W=new Promise(this[L])}return this[E]=W,W}},t(e,Symbol.asyncIterator,function(){return this}),t(e,"return",function(){var A=this;return new Promise(function(T,D){A[$].destroy(null,function(W){if(W){D(W);return}T(I(void 0,!0))})})}),e),R),b=function(A){var T,D=Object.create(u,(T={},t(T,$,{value:A,writable:!0}),t(T,d,{value:null,writable:!0}),t(T,c,{value:null,writable:!0}),t(T,w,{value:null,writable:!0}),t(T,y,{value:A._readableState.endEmitted,writable:!0}),t(T,L,{value:function(C,N){var z=D[$].read();z?(D[E]=null,D[d]=null,D[c]=null,C(I(z,!1))):(D[d]=C,D[c]=N)},writable:!0}),T));return D[E]=null,a(A,function(W){if(W&&W.code!=="ERR_STREAM_PREMATURE_CLOSE"){var C=D[c];C!==null&&(D[E]=null,D[d]=null,D[c]=null,C(W)),D[w]=W;return}var N=D[d];N!==null&&(D[E]=null,D[d]=null,D[c]=null,N(I(void 0,!0))),D[y]=!0}),A.on("readable",P.bind(null,D)),D};return wt=b,wt}var _t,Or;function ia(){return Or||(Or=1,_t=function(){throw new Error("Readable.from is not available in the browser")}),_t}var St,Pr;function gn(){if(Pr)return St;Pr=1,St=N;var e;N.ReadableState=C,Ur.EventEmitter;var t=function(i,v){return i.listeners(v).length},r=kr,o=Ve.Buffer,a=(typeof oe.commonjsGlobal<"u"?oe.commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function d(n){return o.from(n)}function c(n){return o.isBuffer(n)||n instanceof a}var w=It,y;w&&w.debuglog?y=w.debuglog("stream"):y=function(){};var E=ko(),L=cn,$=pn,I=$.getHighWaterMark,x=ce.codes,P=x.ERR_INVALID_ARG_TYPE,M=x.ERR_STREAM_PUSH_AFTER_EOF,R=x.ERR_METHOD_NOT_IMPLEMENTED,u=x.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,b,S,A;se(N,r);var T=L.errorOrDestroy,D=["error","close","destroy","pause","resume"];function W(n,i,v){if(typeof n.prependListener=="function")return n.prependListener(i,v);!n._events||!n._events[i]?n.on(i,v):Array.isArray(n._events[i])?n._events[i].unshift(v):n._events[i]=[v,n._events[i]]}function C(n,i,v){e=e||_e(),n=n||{},typeof v!="boolean"&&(v=i instanceof e),this.objectMode=!!n.objectMode,v&&(this.objectMode=this.objectMode||!!n.readableObjectMode),this.highWaterMark=I(this,n,"readableHighWaterMark",v),this.buffer=new E,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=n.emitClose!==!1,this.autoDestroy=!!n.autoDestroy,this.destroyed=!1,this.defaultEncoding=n.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,n.encoding&&(b||(b=Er().StringDecoder),this.decoder=new b(n.encoding),this.encoding=n.encoding)}function N(n){if(e=e||_e(),!(this instanceof N))return new N(n);var i=this instanceof e;this._readableState=new C(n,this,i),this.readable=!0,n&&(typeof n.read=="function"&&(this._read=n.read),typeof n.destroy=="function"&&(this._destroy=n.destroy)),r.call(this)}Object.defineProperty(N.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(i){this._readableState&&(this._readableState.destroyed=i)}}),N.prototype.destroy=L.destroy,N.prototype._undestroy=L.undestroy,N.prototype._destroy=function(n,i){i(n)},N.prototype.push=function(n,i){var v=this._readableState,O;return v.objectMode?O=!0:typeof n=="string"&&(i=i||v.defaultEncoding,i!==v.encoding&&(n=o.from(n,i),i=""),O=!0),z(this,n,i,!1,O)},N.prototype.unshift=function(n){return z(this,n,null,!0,!1)};function z(n,i,v,O,H){y("readableAddChunk",i);var F=n._readableState;if(i===null)F.reading=!1,ie(n,F);else{var q;if(H||(q=Y(F,i)),q)T(n,q);else if(F.objectMode||i&&i.length>0)if(typeof i!="string"&&!F.objectMode&&Object.getPrototypeOf(i)!==o.prototype&&(i=d(i)),O)F.endEmitted?T(n,new u):J(n,F,i,!0);else if(F.ended)T(n,new M);else{if(F.destroyed)return!1;F.reading=!1,F.decoder&&!v?(i=F.decoder.write(i),F.objectMode||i.length!==0?J(n,F,i,!1):K(n,F)):J(n,F,i,!1)}else O||(F.reading=!1,K(n,F))}return!F.ended&&(F.length<F.highWaterMark||F.length===0)}function J(n,i,v,O){i.flowing&&i.length===0&&!i.sync?(i.awaitDrain=0,n.emit("data",v)):(i.length+=i.objectMode?1:v.length,O?i.buffer.unshift(v):i.buffer.push(v),i.needReadable&&Q(n)),K(n,i)}function Y(n,i){var v;return!c(i)&&typeof i!="string"&&i!==void 0&&!n.objectMode&&(v=new P("chunk",["string","Buffer","Uint8Array"],i)),v}N.prototype.isPaused=function(){return this._readableState.flowing===!1},N.prototype.setEncoding=function(n){b||(b=Er().StringDecoder);var i=new b(n);this._readableState.decoder=i,this._readableState.encoding=this._readableState.decoder.encoding;for(var v=this._readableState.buffer.head,O="";v!==null;)O+=i.write(v.data),v=v.next;return this._readableState.buffer.clear(),O!==""&&this._readableState.buffer.push(O),this._readableState.length=O.length,this};var re=1073741824;function Z(n){return n>=re?n=re:(n--,n|=n>>>1,n|=n>>>2,n|=n>>>4,n|=n>>>8,n|=n>>>16,n++),n}function ne(n,i){return n<=0||i.length===0&&i.ended?0:i.objectMode?1:n!==n?i.flowing&&i.length?i.buffer.head.data.length:i.length:(n>i.highWaterMark&&(i.highWaterMark=Z(n)),n<=i.length?n:i.ended?i.length:(i.needReadable=!0,0))}N.prototype.read=function(n){y("read",n),n=parseInt(n,10);var i=this._readableState,v=n;if(n!==0&&(i.emittedReadable=!1),n===0&&i.needReadable&&((i.highWaterMark!==0?i.length>=i.highWaterMark:i.length>0)||i.ended))return y("read: emitReadable",i.length,i.ended),i.length===0&&i.ended?p(this):Q(this),null;if(n=ne(n,i),n===0&&i.ended)return i.length===0&&p(this),null;var O=i.needReadable;y("need readable",O),(i.length===0||i.length-n<i.highWaterMark)&&(O=!0,y("length less than watermark",O)),i.ended||i.reading?(O=!1,y("reading or ended",O)):O&&(y("do read"),i.reading=!0,i.sync=!0,i.length===0&&(i.needReadable=!0),this._read(i.highWaterMark),i.sync=!1,i.reading||(n=ne(v,i)));var H;return n>0?H=f(n,i):H=null,H===null?(i.needReadable=i.length<=i.highWaterMark,n=0):(i.length-=n,i.awaitDrain=0),i.length===0&&(i.ended||(i.needReadable=!0),v!==n&&i.ended&&p(this)),H!==null&&this.emit("data",H),H};function ie(n,i){if(y("onEofChunk"),!i.ended){if(i.decoder){var v=i.decoder.end();v&&v.length&&(i.buffer.push(v),i.length+=i.objectMode?1:v.length)}i.ended=!0,i.sync?Q(n):(i.needReadable=!1,i.emittedReadable||(i.emittedReadable=!0,ee(n)))}}function Q(n){var i=n._readableState;y("emitReadable",i.needReadable,i.emittedReadable),i.needReadable=!1,i.emittedReadable||(y("emitReadable",i.flowing),i.emittedReadable=!0,U.process$1.nextTick(ee,n))}function ee(n){var i=n._readableState;y("emitReadable_",i.destroyed,i.length,i.ended),!i.destroyed&&(i.length||i.ended)&&(n.emit("readable"),i.emittedReadable=!1),i.needReadable=!i.flowing&&!i.ended&&i.length<=i.highWaterMark,l(n)}function K(n,i){i.readingMore||(i.readingMore=!0,U.process$1.nextTick(te,n,i))}function te(n,i){for(;!i.reading&&!i.ended&&(i.length<i.highWaterMark||i.flowing&&i.length===0);){var v=i.length;if(y("maybeReadMore read 0"),n.read(0),v===i.length)break}i.readingMore=!1}N.prototype._read=function(n){T(this,new R("_read()"))},N.prototype.pipe=function(n,i){var v=this,O=this._readableState;switch(O.pipesCount){case 0:O.pipes=n;break;case 1:O.pipes=[O.pipes,n];break;default:O.pipes.push(n);break}O.pipesCount+=1,y("pipe count=%d opts=%j",O.pipesCount,i);var H=(!i||i.end!==!1)&&n!==U.process$1.stdout&&n!==U.process$1.stderr,F=H?ue:Re;O.endEmitted?U.process$1.nextTick(F):v.once("end",F),n.on("unpipe",q);function q(de,pe){y("onunpipe"),de===v&&pe&&pe.hasUnpiped===!1&&(pe.hasUnpiped=!0,qt())}function ue(){y("onend"),n.end()}var g=fe(v);n.on("drain",g);var Le=!1;function qt(){y("cleanup"),n.removeListener("close",Qe),n.removeListener("finish",et),n.removeListener("drain",g),n.removeListener("error",Xe),n.removeListener("unpipe",q),v.removeListener("end",ue),v.removeListener("end",Re),v.removeListener("data",Gt),Le=!0,O.awaitDrain&&(!n._writableState||n._writableState.needDrain)&&g()}v.on("data",Gt);function Gt(de){y("ondata");var pe=n.write(de);y("dest.write",pe),pe===!1&&((O.pipesCount===1&&O.pipes===n||O.pipesCount>1&&j(O.pipes,n)!==-1)&&!Le&&(y("false write response, pause",O.awaitDrain),O.awaitDrain++),v.pause())}function Xe(de){y("onerror",de),Re(),n.removeListener("error",Xe),t(n,"error")===0&&T(n,de)}W(n,"error",Xe);function Qe(){n.removeListener("finish",et),Re()}n.once("close",Qe);function et(){y("onfinish"),n.removeListener("close",Qe),Re()}n.once("finish",et);function Re(){y("unpipe"),v.unpipe(n)}return n.emit("pipe",v),O.flowing||(y("pipe resume"),v.resume()),n};function fe(n){return function(){var v=n._readableState;y("pipeOnDrain",v.awaitDrain),v.awaitDrain&&v.awaitDrain--,v.awaitDrain===0&&t(n,"data")&&(v.flowing=!0,l(n))}}N.prototype.unpipe=function(n){var i=this._readableState,v={hasUnpiped:!1};if(i.pipesCount===0)return this;if(i.pipesCount===1)return n&&n!==i.pipes?this:(n||(n=i.pipes),i.pipes=null,i.pipesCount=0,i.flowing=!1,n&&n.emit("unpipe",this,v),this);if(!n){var O=i.pipes,H=i.pipesCount;i.pipes=null,i.pipesCount=0,i.flowing=!1;for(var F=0;F<H;F++)O[F].emit("unpipe",this,{hasUnpiped:!1});return this}var q=j(i.pipes,n);return q===-1?this:(i.pipes.splice(q,1),i.pipesCount-=1,i.pipesCount===1&&(i.pipes=i.pipes[0]),n.emit("unpipe",this,v),this)},N.prototype.on=function(n,i){var v=r.prototype.on.call(this,n,i),O=this._readableState;return n==="data"?(O.readableListening=this.listenerCount("readable")>0,O.flowing!==!1&&this.resume()):n==="readable"&&!O.endEmitted&&!O.readableListening&&(O.readableListening=O.needReadable=!0,O.flowing=!1,O.emittedReadable=!1,y("on readable",O.length,O.reading),O.length?Q(this):O.reading||U.process$1.nextTick(h,this)),v},N.prototype.addListener=N.prototype.on,N.prototype.removeListener=function(n,i){var v=r.prototype.removeListener.call(this,n,i);return n==="readable"&&U.process$1.nextTick(s,this),v},N.prototype.removeAllListeners=function(n){var i=r.prototype.removeAllListeners.apply(this,arguments);return(n==="readable"||n===void 0)&&U.process$1.nextTick(s,this),i};function s(n){var i=n._readableState;i.readableListening=n.listenerCount("readable")>0,i.resumeScheduled&&!i.paused?i.flowing=!0:n.listenerCount("data")>0&&n.resume()}function h(n){y("readable nexttick read 0"),n.read(0)}N.prototype.resume=function(){var n=this._readableState;return n.flowing||(y("resume"),n.flowing=!n.readableListening,m(this,n)),n.paused=!1,this};function m(n,i){i.resumeScheduled||(i.resumeScheduled=!0,U.process$1.nextTick(B,n,i))}function B(n,i){y("resume",i.reading),i.reading||n.read(0),i.resumeScheduled=!1,n.emit("resume"),l(n),i.flowing&&!i.reading&&n.read(0)}N.prototype.pause=function(){return y("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(y("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function l(n){var i=n._readableState;for(y("flow",i.flowing);i.flowing&&n.read()!==null;);}N.prototype.wrap=function(n){var i=this,v=this._readableState,O=!1;n.on("end",function(){if(y("wrapped end"),v.decoder&&!v.ended){var q=v.decoder.end();q&&q.length&&i.push(q)}i.push(null)}),n.on("data",function(q){if(y("wrapped data"),v.decoder&&(q=v.decoder.write(q)),!(v.objectMode&&q==null)&&!(!v.objectMode&&(!q||!q.length))){var ue=i.push(q);ue||(O=!0,n.pause())}});for(var H in n)this[H]===void 0&&typeof n[H]=="function"&&(this[H]=function(ue){return function(){return n[ue].apply(n,arguments)}}(H));for(var F=0;F<D.length;F++)n.on(D[F],this.emit.bind(this,D[F]));return this._read=function(q){y("wrapped _read",q),O&&(O=!1,n.resume())},this},typeof Symbol=="function"&&(N.prototype[Symbol.asyncIterator]=function(){return S===void 0&&(S=na()),S(this)}),Object.defineProperty(N.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(N.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(N.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(i){this._readableState&&(this._readableState.flowing=i)}}),N._fromList=f,Object.defineProperty(N.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function f(n,i){if(i.length===0)return null;var v;return i.objectMode?v=i.buffer.shift():!n||n>=i.length?(i.decoder?v=i.buffer.join(""):i.buffer.length===1?v=i.buffer.first():v=i.buffer.concat(i.length),i.buffer.clear()):v=i.buffer.consume(n,i.decoder),v}function p(n){var i=n._readableState;y("endReadable",i.endEmitted),i.endEmitted||(i.ended=!0,U.process$1.nextTick(_,i,n))}function _(n,i){if(y("endReadableNT",n.endEmitted,n.length),!n.endEmitted&&n.length===0&&(n.endEmitted=!0,i.readable=!1,i.emit("end"),n.autoDestroy)){var v=i._writableState;(!v||v.autoDestroy&&v.finished)&&i.destroy()}}typeof Symbol=="function"&&(N.from=function(n,i){return A===void 0&&(A=ia()),A(N,n,i)});function j(n,i){for(var v=0,O=n.length;v<O;v++)if(n[v]===i)return v;return-1}return St}var vn=ae,Ye=ce.codes,oa=Ye.ERR_METHOD_NOT_IMPLEMENTED,aa=Ye.ERR_MULTIPLE_CALLBACK,fa=Ye.ERR_TRANSFORM_ALREADY_TRANSFORMING,ua=Ye.ERR_TRANSFORM_WITH_LENGTH_0,Ze=_e();se(ae,Ze);function la(e,t){var r=this._transformState;r.transforming=!1;var o=r.writecb;if(o===null)return this.emit("error",new aa);r.writechunk=null,r.writecb=null,t!=null&&this.push(t),o(e);var a=this._readableState;a.reading=!1,(a.needReadable||a.length<a.highWaterMark)&&this._read(a.highWaterMark)}function ae(e){if(!(this instanceof ae))return new ae(e);Ze.call(this,e),this._transformState={afterTransform:la.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&(typeof e.transform=="function"&&(this._transform=e.transform),typeof e.flush=="function"&&(this._flush=e.flush)),this.on("prefinish",sa)}function sa(){var e=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(t,r){Tr(e,t,r)}):Tr(this,null,null)}ae.prototype.push=function(e,t){return this._transformState.needTransform=!1,Ze.prototype.push.call(this,e,t)};ae.prototype._transform=function(e,t,r){r(new oa("_transform()"))};ae.prototype._write=function(e,t,r){var o=this._transformState;if(o.writecb=r,o.writechunk=e,o.writeencoding=t,!o.transforming){var a=this._readableState;(o.needTransform||a.needReadable||a.length<a.highWaterMark)&&this._read(a.highWaterMark)}};ae.prototype._read=function(e){var t=this._transformState;t.writechunk!==null&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0};ae.prototype._destroy=function(e,t){Ze.prototype._destroy.call(this,e,function(r){t(r)})};function Tr(e,t,r){if(t)return e.emit("error",t);if(r!=null&&e.push(r),e._writableState.length)throw new ua;if(e._transformState.transforming)throw new fa;return e.push(null)}var ca=Pe,bn=vn;se(Pe,bn);function Pe(e){if(!(this instanceof Pe))return new Pe(e);bn.call(this,e)}Pe.prototype._transform=function(e,t,r){r(null,e)};var Et;function da(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var mn=ce.codes,pa=mn.ERR_MISSING_ARGS,ya=mn.ERR_STREAM_DESTROYED;function jr(e){if(e)throw e}function ha(e){return e.setHeader&&typeof e.abort=="function"}function ga(e,t,r,o){o=da(o);var a=!1;e.on("close",function(){a=!0}),Et===void 0&&(Et=xt),Et(e,{readable:t,writable:r},function(c){if(c)return o(c);a=!0,o()});var d=!1;return function(c){if(!a&&!d){if(d=!0,ha(e))return e.abort();if(typeof e.destroy=="function")return e.destroy();o(c||new ya("pipe"))}}}function Mr(e){e()}function va(e,t){return e.pipe(t)}function ba(e){return!e.length||typeof e[e.length-1]!="function"?jr:e.pop()}function ma(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var o=ba(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new pa("streams");var a,d=t.map(function(c,w){var y=w<t.length-1,E=w>0;return ga(c,y,E,function(L){a||(a=L),L&&d.forEach(Mr),!y&&(d.forEach(Mr),o(a))})});return t.reduce(va)}var wa=ma;exports._stream_passthrough=ca;exports._stream_transform=vn;exports.callBound=Ae;exports.endOfStream=xt;exports.getIntrinsic=Ut;exports.inherits_browserExports=se;exports.pipeline_1=wa;exports.require_stream_duplex=_e;exports.require_stream_readable=gn;exports.require_stream_writable=yn;exports.type=Se;
|