@ohos-ports/parcel-resolver 0.0.0-stage → 0.14.2-beta.3

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.
@@ -0,0 +1 @@
1
+ var W=Object.create;var h=Object.defineProperty;var S=Object.getOwnPropertyDescriptor;var U=Object.getOwnPropertyNames;var k=Object.getPrototypeOf,q=Object.prototype.hasOwnProperty;var _=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),D=(t,e)=>{for(var n in e)h(t,n,{get:e[n],enumerable:!0})},p=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of U(e))!q.call(t,i)&&i!==n&&h(t,i,{get:()=>e[i],enumerable:!(r=S(e,i))||r.enumerable});return t},v=(t,e,n)=>(p(t,e,"default"),n&&p(n,e,"default")),w=(t,e,n)=>(n=t!=null?W(k(t)):{},p(e||!t||!t.__esModule?h(n,"default",{value:t,enumerable:!0}):n,t)),H=t=>p(h({},"__esModule",{value:!0}),t);var P=_((Z,y)=>{"use strict";var c=typeof Reflect=="object"?Reflect:null,b=c&&typeof c.apply=="function"?c.apply:function(e,n,r){return Function.prototype.apply.call(e,n,r)},d;c&&typeof c.ownKeys=="function"?d=c.ownKeys:Object.getOwnPropertySymbols?d=function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:d=function(e){return Object.getOwnPropertyNames(e)};function z(t){console&&console.warn&&console.warn(t)}var O=Number.isNaN||function(e){return e!==e};function u(){u.init.call(this)}y.exports=u;y.exports.once=Q;u.EventEmitter=u;u.prototype._events=void 0;u.prototype._eventsCount=0;u.prototype._maxListeners=void 0;var E=10;function m(t){if(typeof t!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}Object.defineProperty(u,"defaultMaxListeners",{enumerable:!0,get:function(){return E},set:function(t){if(typeof t!="number"||t<0||O(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");E=t}});u.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};u.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||O(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this};function x(t){return t._maxListeners===void 0?u.defaultMaxListeners:t._maxListeners}u.prototype.getMaxListeners=function(){return x(this)};u.prototype.emit=function(e){for(var n=[],r=1;r<arguments.length;r++)n.push(arguments[r]);var i=e==="error",o=this._events;if(o!==void 0)i=i&&o.error===void 0;else if(!i)return!1;if(i){var s;if(n.length>0&&(s=n[0]),s instanceof Error)throw s;var f=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw f.context=s,f}var l=o[e];if(l===void 0)return!1;if(typeof l=="function")b(l,this,n);else for(var g=l.length,K=N(l,g),r=0;r<g;++r)b(K[r],this,n);return!0};function C(t,e,n,r){var i,o,s;if(m(n),o=t._events,o===void 0?(o=t._events=Object.create(null),t._eventsCount=0):(o.newListener!==void 0&&(t.emit("newListener",e,n.listener?n.listener:n),o=t._events),s=o[e]),s===void 0)s=o[e]=n,++t._eventsCount;else if(typeof s=="function"?s=o[e]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),i=x(t),i>0&&s.length>i&&!s.warned){s.warned=!0;var f=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");f.name="MaxListenersExceededWarning",f.emitter=t,f.type=e,f.count=s.length,z(f)}return t}u.prototype.addListener=function(e,n){return C(this,e,n,!1)};u.prototype.on=u.prototype.addListener;u.prototype.prependListener=function(e,n){return C(this,e,n,!0)};function B(){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 j(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},i=B.bind(r);return i.listener=n,r.wrapFn=i,i}u.prototype.once=function(e,n){return m(n),this.on(e,j(this,e,n)),this};u.prototype.prependOnceListener=function(e,n){return m(n),this.prependListener(e,j(this,e,n)),this};u.prototype.removeListener=function(e,n){var r,i,o,s,f;if(m(n),i=this._events,i===void 0)return this;if(r=i[e],r===void 0)return this;if(r===n||r.listener===n)--this._eventsCount===0?this._events=Object.create(null):(delete i[e],i.removeListener&&this.emit("removeListener",e,r.listener||n));else if(typeof r!="function"){for(o=-1,s=r.length-1;s>=0;s--)if(r[s]===n||r[s].listener===n){f=r[s].listener,o=s;break}if(o<0)return this;o===0?r.shift():G(r,o),r.length===1&&(i[e]=r[0]),i.removeListener!==void 0&&this.emit("removeListener",e,f||n)}return this};u.prototype.off=u.prototype.removeListener;u.prototype.removeAllListeners=function(e){var n,r,i;if(r=this._events,r===void 0)return this;if(r.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):r[e]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete r[e]),this;if(arguments.length===0){var o=Object.keys(r),s;for(i=0;i<o.length;++i)s=o[i],s!=="removeListener"&&this.removeAllListeners(s);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(n=r[e],typeof n=="function")this.removeListener(e,n);else if(n!==void 0)for(i=n.length-1;i>=0;i--)this.removeListener(e,n[i]);return this};function R(t,e,n){var r=t._events;if(r===void 0)return[];var i=r[e];return i===void 0?[]:typeof i=="function"?n?[i.listener||i]:[i]:n?J(i):N(i,i.length)}u.prototype.listeners=function(e){return R(this,e,!0)};u.prototype.rawListeners=function(e){return R(this,e,!1)};u.listenerCount=function(t,e){return typeof t.listenerCount=="function"?t.listenerCount(e):A.call(t,e)};u.prototype.listenerCount=A;function A(t){var e=this._events;if(e!==void 0){var n=e[t];if(typeof n=="function")return 1;if(n!==void 0)return n.length}return 0}u.prototype.eventNames=function(){return this._eventsCount>0?d(this._events):[]};function N(t,e){for(var n=new Array(e),r=0;r<e;++r)n[r]=t[r];return n}function G(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}function J(t){for(var e=new Array(t.length),n=0;n<e.length;++n)e[n]=t[n].listener||t[n];return e}function Q(t,e){return new Promise(function(n,r){function i(s){t.removeListener(e,o),r(s)}function o(){typeof t.removeListener=="function"&&t.removeListener("error",i),n([].slice.call(arguments))}M(t,e,o,{once:!0}),e!=="error"&&V(t,i,{once:!0})})}function V(t,e,n){typeof t.on=="function"&&M(t,"error",e,n)}function M(t,e,n,r){if(typeof t.on=="function")r.once?t.once(e,n):t.on(e,n);else if(typeof t.addEventListener=="function")t.addEventListener(e,function i(o){r.once&&t.removeEventListener(e,i),n(o)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t)}});var L=_((T,F)=>{"use strict";F.exports=(function(){var t=P(),e={};return e.createDomain=e.create=function(){var n=new t.EventEmitter;function r(i){n.emit("error",i)}return n.add=function(i){i.on("error",r)},n.remove=function(i){i.removeListener("error",r)},n.bind=function(i){return function(){var o=Array.prototype.slice.call(arguments);try{i.apply(null,o)}catch(s){r(s)}}},n.intercept=function(i){return function(o){if(o)r(o);else{var s=Array.prototype.slice.call(arguments,1);try{i.apply(null,s)}catch(f){r(f)}}}},n.run=function(i){try{i()}catch(o){r(o)}return this},n.dispose=function(){return this.removeAllListeners(),this},n.enter=n.exit=function(){return this},n},e}).call(T)});var a={};D(a,{default:()=>X});module.exports=H(a);var I=w(L());v(a,w(L()),module.exports);var X=I.default;
@@ -0,0 +1 @@
1
+ var T=Object.create;var d=Object.defineProperty;var F=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var K=Object.getPrototypeOf,W=Object.prototype.hasOwnProperty;var S=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),U=(t,e)=>{for(var n in e)d(t,n,{get:e[n],enumerable:!0})},p=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of I(e))!W.call(t,i)&&i!==n&&d(t,i,{get:()=>e[i],enumerable:!(r=F(e,i))||r.enumerable});return t},v=(t,e,n)=>(p(t,e,"default"),n&&p(n,e,"default")),_=(t,e,n)=>(n=t!=null?T(K(t)):{},p(e||!t||!t.__esModule?d(n,"default",{value:t,enumerable:!0}):n,t)),k=t=>p(d({},"__esModule",{value:!0}),t);var y=S((V,L)=>{"use strict";var a=typeof Reflect=="object"?Reflect:null,w=a&&typeof a.apply=="function"?a.apply:function(e,n,r){return Function.prototype.apply.call(e,n,r)},h;a&&typeof a.ownKeys=="function"?h=a.ownKeys:Object.getOwnPropertySymbols?h=function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:h=function(e){return Object.getOwnPropertyNames(e)};function H(t){console&&console.warn&&console.warn(t)}var E=Number.isNaN||function(e){return e!==e};function o(){o.init.call(this)}L.exports=o;L.exports.once=D;o.EventEmitter=o;o.prototype._events=void 0;o.prototype._eventsCount=0;o.prototype._maxListeners=void 0;var b=10;function m(t){if(typeof t!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return b},set:function(t){if(typeof t!="number"||t<0||E(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");b=t}});o.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};o.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||E(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this};function O(t){return t._maxListeners===void 0?o.defaultMaxListeners:t._maxListeners}o.prototype.getMaxListeners=function(){return O(this)};o.prototype.emit=function(e){for(var n=[],r=1;r<arguments.length;r++)n.push(arguments[r]);var i=e==="error",f=this._events;if(f!==void 0)i=i&&f.error===void 0;else if(!i)return!1;if(i){var s;if(n.length>0&&(s=n[0]),s instanceof Error)throw s;var u=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw u.context=s,u}var l=f[e];if(l===void 0)return!1;if(typeof l=="function")w(l,this,n);else for(var g=l.length,P=N(l,g),r=0;r<g;++r)w(P[r],this,n);return!0};function x(t,e,n,r){var i,f,s;if(m(n),f=t._events,f===void 0?(f=t._events=Object.create(null),t._eventsCount=0):(f.newListener!==void 0&&(t.emit("newListener",e,n.listener?n.listener:n),f=t._events),s=f[e]),s===void 0)s=f[e]=n,++t._eventsCount;else if(typeof s=="function"?s=f[e]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),i=O(t),i>0&&s.length>i&&!s.warned){s.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=t,u.type=e,u.count=s.length,H(u)}return t}o.prototype.addListener=function(e,n){return x(this,e,n,!1)};o.prototype.on=o.prototype.addListener;o.prototype.prependListener=function(e,n){return x(this,e,n,!0)};function q(){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 C(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},i=q.bind(r);return i.listener=n,r.wrapFn=i,i}o.prototype.once=function(e,n){return m(n),this.on(e,C(this,e,n)),this};o.prototype.prependOnceListener=function(e,n){return m(n),this.prependListener(e,C(this,e,n)),this};o.prototype.removeListener=function(e,n){var r,i,f,s,u;if(m(n),i=this._events,i===void 0)return this;if(r=i[e],r===void 0)return this;if(r===n||r.listener===n)--this._eventsCount===0?this._events=Object.create(null):(delete i[e],i.removeListener&&this.emit("removeListener",e,r.listener||n));else if(typeof r!="function"){for(f=-1,s=r.length-1;s>=0;s--)if(r[s]===n||r[s].listener===n){u=r[s].listener,f=s;break}if(f<0)return this;f===0?r.shift():z(r,f),r.length===1&&(i[e]=r[0]),i.removeListener!==void 0&&this.emit("removeListener",e,u||n)}return this};o.prototype.off=o.prototype.removeListener;o.prototype.removeAllListeners=function(e){var n,r,i;if(r=this._events,r===void 0)return this;if(r.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):r[e]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete r[e]),this;if(arguments.length===0){var f=Object.keys(r),s;for(i=0;i<f.length;++i)s=f[i],s!=="removeListener"&&this.removeAllListeners(s);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(n=r[e],typeof n=="function")this.removeListener(e,n);else if(n!==void 0)for(i=n.length-1;i>=0;i--)this.removeListener(e,n[i]);return this};function j(t,e,n){var r=t._events;if(r===void 0)return[];var i=r[e];return i===void 0?[]:typeof i=="function"?n?[i.listener||i]:[i]:n?B(i):N(i,i.length)}o.prototype.listeners=function(e){return j(this,e,!0)};o.prototype.rawListeners=function(e){return j(this,e,!1)};o.listenerCount=function(t,e){return typeof t.listenerCount=="function"?t.listenerCount(e):R.call(t,e)};o.prototype.listenerCount=R;function R(t){var e=this._events;if(e!==void 0){var n=e[t];if(typeof n=="function")return 1;if(n!==void 0)return n.length}return 0}o.prototype.eventNames=function(){return this._eventsCount>0?h(this._events):[]};function N(t,e){for(var n=new Array(e),r=0;r<e;++r)n[r]=t[r];return n}function z(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}function B(t){for(var e=new Array(t.length),n=0;n<e.length;++n)e[n]=t[n].listener||t[n];return e}function D(t,e){return new Promise(function(n,r){function i(s){t.removeListener(e,f),r(s)}function f(){typeof t.removeListener=="function"&&t.removeListener("error",i),n([].slice.call(arguments))}M(t,e,f,{once:!0}),e!=="error"&&G(t,i,{once:!0})})}function G(t,e,n){typeof t.on=="function"&&M(t,"error",e,n)}function M(t,e,n,r){if(typeof t.on=="function")r.once?t.once(e,n):t.on(e,n);else if(typeof t.addEventListener=="function")t.addEventListener(e,function i(f){r.once&&t.removeEventListener(e,i),n(f)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t)}});var c={};U(c,{default:()=>J});module.exports=k(c);var A=_(y());v(c,_(y()),module.exports);var J=A.default;
@@ -0,0 +1,20 @@
1
+ var fu=Object.create;var Dt=Object.defineProperty;var uu=Object.getOwnPropertyDescriptor;var su=Object.getOwnPropertyNames;var lu=Object.getPrototypeOf,cu=Object.prototype.hasOwnProperty;var y=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),hu=(t,e)=>{for(var r in e)Dt(t,r,{get:e[r],enumerable:!0})},qt=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of su(e))!cu.call(t,i)&&i!==r&&Dt(t,i,{get:()=>e[i],enumerable:!(n=uu(e,i))||n.enumerable});return t},dt=(t,e,r)=>(qt(t,e,"default"),r&&qt(r,e,"default")),Qn=(t,e,r)=>(r=t!=null?fu(lu(t)):{},qt(e||!t||!t.__esModule?Dt(r,"default",{value:t,enumerable:!0}):r,t)),pu=t=>qt(Dt({},"__esModule",{value:!0}),t);var Sr=y(ee=>{ee.fetch=yt(global.fetch)&&yt(global.ReadableStream);ee.writableStream=yt(global.WritableStream);ee.abortController=yt(global.AbortController);var Se;function Er(){if(Se!==void 0)return Se;if(global.XMLHttpRequest){Se=new global.XMLHttpRequest;try{Se.open("GET",global.XDomainRequest?"/":"https://example.com")}catch(t){Se=null}}else Se=null;return Se}function _r(t){var e=Er();if(!e)return!1;try{return e.responseType=t,e.responseType===t}catch(r){}return!1}ee.arraybuffer=ee.fetch||_r("arraybuffer");ee.msstream=!ee.fetch&&_r("ms-stream");ee.mozchunkedarraybuffer=!ee.fetch&&_r("moz-chunked-arraybuffer");ee.overrideMimeType=ee.fetch||(Er()?yt(Er().overrideMimeType):!1);function yt(t){return typeof t=="function"}Se=null});var xe=y((Xp,xr)=>{typeof Object.create=="function"?xr.exports=function(e,r){r&&(e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:xr.exports=function(e,r){if(r){e.super_=r;var n=function(){};n.prototype=r.prototype,e.prototype=new n,e.prototype.constructor=e}}});var Ar=y((Qp,Rr)=>{"use strict";var ze=typeof Reflect=="object"?Reflect:null,Jn=ze&&typeof ze.apply=="function"?ze.apply:function(e,r,n){return Function.prototype.apply.call(e,r,n)},Ut;ze&&typeof ze.ownKeys=="function"?Ut=ze.ownKeys:Object.getOwnPropertySymbols?Ut=function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Ut=function(e){return Object.getOwnPropertyNames(e)};function du(t){console&&console.warn&&console.warn(t)}var ei=Number.isNaN||function(e){return e!==e};function T(){T.init.call(this)}Rr.exports=T;Rr.exports.once=vu;T.EventEmitter=T;T.prototype._events=void 0;T.prototype._eventsCount=0;T.prototype._maxListeners=void 0;var Zn=10;function kt(t){if(typeof t!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}Object.defineProperty(T,"defaultMaxListeners",{enumerable:!0,get:function(){return Zn},set:function(t){if(typeof t!="number"||t<0||ei(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");Zn=t}});T.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};T.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||ei(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this};function ti(t){return t._maxListeners===void 0?T.defaultMaxListeners:t._maxListeners}T.prototype.getMaxListeners=function(){return ti(this)};T.prototype.emit=function(e){for(var r=[],n=1;n<arguments.length;n++)r.push(arguments[n]);var i=e==="error",o=this._events;if(o!==void 0)i=i&&o.error===void 0;else if(!i)return!1;if(i){var a;if(r.length>0&&(a=r[0]),a instanceof Error)throw a;var f=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw f.context=a,f}var u=o[e];if(u===void 0)return!1;if(typeof u=="function")Jn(u,this,r);else for(var s=u.length,h=ai(u,s),n=0;n<s;++n)Jn(h[n],this,r);return!0};function ri(t,e,r,n){var i,o,a;if(kt(r),o=t._events,o===void 0?(o=t._events=Object.create(null),t._eventsCount=0):(o.newListener!==void 0&&(t.emit("newListener",e,r.listener?r.listener:r),o=t._events),a=o[e]),a===void 0)a=o[e]=r,++t._eventsCount;else if(typeof a=="function"?a=o[e]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),i=ti(t),i>0&&a.length>i&&!a.warned){a.warned=!0;var f=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");f.name="MaxListenersExceededWarning",f.emitter=t,f.type=e,f.count=a.length,du(f)}return t}T.prototype.addListener=function(e,r){return ri(this,e,r,!1)};T.prototype.on=T.prototype.addListener;T.prototype.prependListener=function(e,r){return ri(this,e,r,!0)};function yu(){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 ni(t,e,r){var n={fired:!1,wrapFn:void 0,target:t,type:e,listener:r},i=yu.bind(n);return i.listener=r,n.wrapFn=i,i}T.prototype.once=function(e,r){return kt(r),this.on(e,ni(this,e,r)),this};T.prototype.prependOnceListener=function(e,r){return kt(r),this.prependListener(e,ni(this,e,r)),this};T.prototype.removeListener=function(e,r){var n,i,o,a,f;if(kt(r),i=this._events,i===void 0)return this;if(n=i[e],n===void 0)return this;if(n===r||n.listener===r)--this._eventsCount===0?this._events=Object.create(null):(delete i[e],i.removeListener&&this.emit("removeListener",e,n.listener||r));else if(typeof n!="function"){for(o=-1,a=n.length-1;a>=0;a--)if(n[a]===r||n[a].listener===r){f=n[a].listener,o=a;break}if(o<0)return this;o===0?n.shift():gu(n,o),n.length===1&&(i[e]=n[0]),i.removeListener!==void 0&&this.emit("removeListener",e,f||r)}return this};T.prototype.off=T.prototype.removeListener;T.prototype.removeAllListeners=function(e){var r,n,i;if(n=this._events,n===void 0)return this;if(n.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):n[e]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete n[e]),this;if(arguments.length===0){var o=Object.keys(n),a;for(i=0;i<o.length;++i)a=o[i],a!=="removeListener"&&this.removeAllListeners(a);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(r=n[e],typeof r=="function")this.removeListener(e,r);else if(r!==void 0)for(i=r.length-1;i>=0;i--)this.removeListener(e,r[i]);return this};function ii(t,e,r){var n=t._events;if(n===void 0)return[];var i=n[e];return i===void 0?[]:typeof i=="function"?r?[i.listener||i]:[i]:r?mu(i):ai(i,i.length)}T.prototype.listeners=function(e){return ii(this,e,!0)};T.prototype.rawListeners=function(e){return ii(this,e,!1)};T.listenerCount=function(t,e){return typeof t.listenerCount=="function"?t.listenerCount(e):oi.call(t,e)};T.prototype.listenerCount=oi;function oi(t){var e=this._events;if(e!==void 0){var r=e[t];if(typeof r=="function")return 1;if(r!==void 0)return r.length}return 0}T.prototype.eventNames=function(){return this._eventsCount>0?Ut(this._events):[]};function ai(t,e){for(var r=new Array(e),n=0;n<e;++n)r[n]=t[n];return r}function gu(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}function mu(t){for(var e=new Array(t.length),r=0;r<e.length;++r)e[r]=t[r].listener||t[r];return e}function vu(t,e){return new Promise(function(r,n){function i(a){t.removeListener(e,o),n(a)}function o(){typeof t.removeListener=="function"&&t.removeListener("error",i),r([].slice.call(arguments))}fi(t,e,o,{once:!0}),e!=="error"&&wu(t,i,{once:!0})})}function wu(t,e,r){typeof t.on=="function"&&fi(t,"error",e,r)}function fi(t,e,r,n){if(typeof t.on=="function")n.once?t.once(e,r):t.on(e,r);else if(typeof t.addEventListener=="function")t.addEventListener(e,function i(o){n.once&&t.removeEventListener(e,i),r(o)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t)}});var Tr=y((Jp,ui)=>{ui.exports=Ar().EventEmitter});var ci=y($t=>{"use strict";$t.byteLength=Eu;$t.toByteArray=Su;$t.fromByteArray=Au;var ce=[],te=[],bu=typeof Uint8Array<"u"?Uint8Array:Array,Or="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(Fe=0,si=Or.length;Fe<si;++Fe)ce[Fe]=Or[Fe],te[Or.charCodeAt(Fe)]=Fe;var Fe,si;te[45]=62;te[95]=63;function li(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function Eu(t){var e=li(t),r=e[0],n=e[1];return(r+n)*3/4-n}function _u(t,e,r){return(e+r)*3/4-r}function Su(t){var e,r=li(t),n=r[0],i=r[1],o=new bu(_u(t,n,i)),a=0,f=i>0?n-4:n,u;for(u=0;u<f;u+=4)e=te[t.charCodeAt(u)]<<18|te[t.charCodeAt(u+1)]<<12|te[t.charCodeAt(u+2)]<<6|te[t.charCodeAt(u+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=te[t.charCodeAt(u)]<<2|te[t.charCodeAt(u+1)]>>4,o[a++]=e&255),i===1&&(e=te[t.charCodeAt(u)]<<10|te[t.charCodeAt(u+1)]<<4|te[t.charCodeAt(u+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function xu(t){return ce[t>>18&63]+ce[t>>12&63]+ce[t>>6&63]+ce[t&63]}function Ru(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(xu(n));return i.join("")}function Au(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,f=r-n;a<f;a+=o)i.push(Ru(t,a,a+o>f?f:a+o));return n===1?(e=t[r-1],i.push(ce[e>>2]+ce[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(ce[e>>10]+ce[e>>4&63]+ce[e<<2&63]+"=")),i.join("")}});var hi=y(Ir=>{Ir.read=function(t,e,r,n,i){var o,a,f=i*8-n-1,u=(1<<f)-1,s=u>>1,h=-7,p=r?i-1:0,c=r?-1:1,d=t[e+p];for(p+=c,o=d&(1<<-h)-1,d>>=-h,h+=f;h>0;o=o*256+t[e+p],p+=c,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=a*256+t[e+p],p+=c,h-=8);if(o===0)o=1-s;else{if(o===u)return a?NaN:(d?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-s}return(d?-1:1)*a*Math.pow(2,o-n)};Ir.write=function(t,e,r,n,i,o){var a,f,u,s=o*8-i-1,h=(1<<s)-1,p=h>>1,c=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:o-1,m=n?1:-1,A=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(f=isNaN(e)?1:0,a=h):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),a+p>=1?e+=c/u:e+=c*Math.pow(2,1-p),e*u>=2&&(a++,u/=2),a+p>=h?(f=0,a=h):a+p>=1?(f=(e*u-1)*Math.pow(2,i),a=a+p):(f=e*Math.pow(2,p-1)*Math.pow(2,i),a=0));i>=8;t[r+d]=f&255,d+=m,f/=256,i-=8);for(a=a<<i|f,s+=i;s>0;t[r+d]=a&255,d+=m,a/=256,s-=8);t[r+d-m]|=A*128}});var mt=y(Je=>{"use strict";var Br=ci(),Xe=hi(),pi=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Je.Buffer=l;Je.SlowBuffer=Mu;Je.INSPECT_MAX_BYTES=50;var Wt=2147483647;Je.kMaxLength=Wt;l.TYPED_ARRAY_SUPPORT=Tu();!l.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Tu(){try{let t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(t){return!1}}Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}});Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}});function we(t){if(t>Wt)throw new RangeError('The value "'+t+'" is invalid for option "size"');let e=new Uint8Array(t);return Object.setPrototypeOf(e,l.prototype),e}function l(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Fr(t)}return mi(t,e,r)}l.poolSize=8192;function mi(t,e,r){if(typeof t=="string")return Iu(t,e);if(ArrayBuffer.isView(t))return Bu(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(he(t,ArrayBuffer)||t&&he(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(he(t,SharedArrayBuffer)||t&&he(t.buffer,SharedArrayBuffer)))return Mr(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return l.from(n,e,r);let i=Pu(t);if(i)return i;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return l.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}l.from=function(t,e,r){return mi(t,e,r)};Object.setPrototypeOf(l.prototype,Uint8Array.prototype);Object.setPrototypeOf(l,Uint8Array);function vi(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function Ou(t,e,r){return vi(t),t<=0?we(t):e!==void 0?typeof r=="string"?we(t).fill(e,r):we(t).fill(e):we(t)}l.alloc=function(t,e,r){return Ou(t,e,r)};function Fr(t){return vi(t),we(t<0?0:Lr(t)|0)}l.allocUnsafe=function(t){return Fr(t)};l.allocUnsafeSlow=function(t){return Fr(t)};function Iu(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!l.isEncoding(e))throw new TypeError("Unknown encoding: "+e);let r=wi(t,e)|0,n=we(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function Pr(t){let e=t.length<0?0:Lr(t.length)|0,r=we(e);for(let n=0;n<e;n+=1)r[n]=t[n]&255;return r}function Bu(t){if(he(t,Uint8Array)){let e=new Uint8Array(t);return Mr(e.buffer,e.byteOffset,e.byteLength)}return Pr(t)}function Mr(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');let n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,l.prototype),n}function Pu(t){if(l.isBuffer(t)){let e=Lr(t.length)|0,r=we(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||qr(t.length)?we(0):Pr(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Pr(t.data)}function Lr(t){if(t>=Wt)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Wt.toString(16)+" bytes");return t|0}function Mu(t){return+t!=t&&(t=0),l.alloc(+t)}l.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==l.prototype};l.compare=function(e,r){if(he(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),he(r,Uint8Array)&&(r=l.from(r,r.offset,r.byteLength)),!l.isBuffer(e)||!l.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;let n=e.length,i=r.length;for(let o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};l.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return l.alloc(0);let n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;let i=l.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){let a=e[n];if(he(a,Uint8Array))o+a.length>i.length?(l.isBuffer(a)||(a=l.from(a)),a.copy(i,o)):Uint8Array.prototype.set.call(i,a,o);else if(l.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function wi(t,e){if(l.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||he(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);let r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;let i=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Cr(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Oi(t).length;default:if(i)return n?-1:Cr(t).length;e=(""+e).toLowerCase(),i=!0}}l.byteLength=wi;function Cu(t,e,r){let n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return ju(this,e,r);case"utf8":case"utf-8":return Ei(this,e,r);case"ascii":return $u(this,e,r);case"latin1":case"binary":return Wu(this,e,r);case"base64":return Uu(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Hu(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}l.prototype._isBuffer=!0;function Le(t,e,r){let n=t[e];t[e]=t[r],t[r]=n}l.prototype.swap16=function(){let e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let r=0;r<e;r+=2)Le(this,r,r+1);return this};l.prototype.swap32=function(){let e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let r=0;r<e;r+=4)Le(this,r,r+3),Le(this,r+1,r+2);return this};l.prototype.swap64=function(){let e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let r=0;r<e;r+=8)Le(this,r,r+7),Le(this,r+1,r+6),Le(this,r+2,r+5),Le(this,r+3,r+4);return this};l.prototype.toString=function(){let e=this.length;return e===0?"":arguments.length===0?Ei(this,0,e):Cu.apply(this,arguments)};l.prototype.toLocaleString=l.prototype.toString;l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:l.compare(this,e)===0};l.prototype.inspect=function(){let e="",r=Je.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};pi&&(l.prototype[pi]=l.prototype.inspect);l.prototype.compare=function(e,r,n,i,o){if(he(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;let a=o-i,f=n-r,u=Math.min(a,f),s=this.slice(i,o),h=e.slice(r,n);for(let p=0;p<u;++p)if(s[p]!==h[p]){a=s[p],f=h[p];break}return a<f?-1:f<a?1:0};function bi(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,qr(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=l.from(e,n)),l.isBuffer(e))return e.length===0?-1:di(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):di(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function di(t,e,r,n,i){let o=1,a=t.length,f=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,a/=2,f/=2,r/=2}function u(h,p){return o===1?h[p]:h.readUInt16BE(p*o)}let s;if(i){let h=-1;for(s=r;s<a;s++)if(u(t,s)===u(e,h===-1?0:s-h)){if(h===-1&&(h=s),s-h+1===f)return h*o}else h!==-1&&(s-=s-h),h=-1}else for(r+f>a&&(r=a-f),s=r;s>=0;s--){let h=!0;for(let p=0;p<f;p++)if(u(t,s+p)!==u(e,p)){h=!1;break}if(h)return s}return-1}l.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};l.prototype.indexOf=function(e,r,n){return bi(this,e,r,n,!0)};l.prototype.lastIndexOf=function(e,r,n){return bi(this,e,r,n,!1)};function Fu(t,e,r,n){r=Number(r)||0;let i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;let o=e.length;n>o/2&&(n=o/2);let a;for(a=0;a<n;++a){let f=parseInt(e.substr(a*2,2),16);if(qr(f))return a;t[r+a]=f}return a}function Lu(t,e,r,n){return jt(Cr(e,t.length-r),t,r,n)}function Nu(t,e,r,n){return jt(zu(e),t,r,n)}function qu(t,e,r,n){return jt(Oi(e),t,r,n)}function Du(t,e,r,n){return jt(Yu(e,t.length-r),t,r,n)}l.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let o=this.length-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");let a=!1;for(;;)switch(i){case"hex":return Fu(this,e,r,n);case"utf8":case"utf-8":return Lu(this,e,r,n);case"ascii":case"latin1":case"binary":return Nu(this,e,r,n);case"base64":return qu(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Du(this,e,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Uu(t,e,r){return e===0&&r===t.length?Br.fromByteArray(t):Br.fromByteArray(t.slice(e,r))}function Ei(t,e,r){r=Math.min(t.length,r);let n=[],i=e;for(;i<r;){let o=t[i],a=null,f=o>239?4:o>223?3:o>191?2:1;if(i+f<=r){let u,s,h,p;switch(f){case 1:o<128&&(a=o);break;case 2:u=t[i+1],(u&192)===128&&(p=(o&31)<<6|u&63,p>127&&(a=p));break;case 3:u=t[i+1],s=t[i+2],(u&192)===128&&(s&192)===128&&(p=(o&15)<<12|(u&63)<<6|s&63,p>2047&&(p<55296||p>57343)&&(a=p));break;case 4:u=t[i+1],s=t[i+2],h=t[i+3],(u&192)===128&&(s&192)===128&&(h&192)===128&&(p=(o&15)<<18|(u&63)<<12|(s&63)<<6|h&63,p>65535&&p<1114112&&(a=p))}}a===null?(a=65533,f=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=f}return ku(n)}var yi=4096;function ku(t){let e=t.length;if(e<=yi)return String.fromCharCode.apply(String,t);let r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=yi));return r}function $u(t,e,r){let n="";r=Math.min(t.length,r);for(let i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function Wu(t,e,r){let n="";r=Math.min(t.length,r);for(let i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function ju(t,e,r){let n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);let i="";for(let o=e;o<r;++o)i+=Xu[t[o]];return i}function Hu(t,e,r){let n=t.slice(e,r),i="";for(let o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}l.prototype.slice=function(e,r){let n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);let i=this.subarray(e,r);return Object.setPrototypeOf(i,l.prototype),i};function k(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}l.prototype.readUintLE=l.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||k(e,r,this.length);let i=this[e],o=1,a=0;for(;++a<r&&(o*=256);)i+=this[e+a]*o;return i};l.prototype.readUintBE=l.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||k(e,r,this.length);let i=this[e+--r],o=1;for(;r>0&&(o*=256);)i+=this[e+--r]*o;return i};l.prototype.readUint8=l.prototype.readUInt8=function(e,r){return e=e>>>0,r||k(e,1,this.length),this[e]};l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||k(e,2,this.length),this[e]|this[e+1]<<8};l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||k(e,2,this.length),this[e]<<8|this[e+1]};l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||k(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||k(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};l.prototype.readBigUInt64LE=Re(function(e){e=e>>>0,Qe(e,"offset");let r=this[e],n=this[e+7];(r===void 0||n===void 0)&&gt(e,this.length-8);let i=r+this[++e]*2**8+this[++e]*2**16+this[++e]*2**24,o=this[++e]+this[++e]*2**8+this[++e]*2**16+n*2**24;return BigInt(i)+(BigInt(o)<<BigInt(32))});l.prototype.readBigUInt64BE=Re(function(e){e=e>>>0,Qe(e,"offset");let r=this[e],n=this[e+7];(r===void 0||n===void 0)&&gt(e,this.length-8);let i=r*2**24+this[++e]*2**16+this[++e]*2**8+this[++e],o=this[++e]*2**24+this[++e]*2**16+this[++e]*2**8+n;return(BigInt(i)<<BigInt(32))+BigInt(o)});l.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||k(e,r,this.length);let i=this[e],o=1,a=0;for(;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};l.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||k(e,r,this.length);let i=r,o=1,a=this[e+--i];for(;i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};l.prototype.readInt8=function(e,r){return e=e>>>0,r||k(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};l.prototype.readInt16LE=function(e,r){e=e>>>0,r||k(e,2,this.length);let n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};l.prototype.readInt16BE=function(e,r){e=e>>>0,r||k(e,2,this.length);let n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};l.prototype.readInt32LE=function(e,r){return e=e>>>0,r||k(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};l.prototype.readInt32BE=function(e,r){return e=e>>>0,r||k(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};l.prototype.readBigInt64LE=Re(function(e){e=e>>>0,Qe(e,"offset");let r=this[e],n=this[e+7];(r===void 0||n===void 0)&&gt(e,this.length-8);let i=this[e+4]+this[e+5]*2**8+this[e+6]*2**16+(n<<24);return(BigInt(i)<<BigInt(32))+BigInt(r+this[++e]*2**8+this[++e]*2**16+this[++e]*2**24)});l.prototype.readBigInt64BE=Re(function(e){e=e>>>0,Qe(e,"offset");let r=this[e],n=this[e+7];(r===void 0||n===void 0)&&gt(e,this.length-8);let i=(r<<24)+this[++e]*2**16+this[++e]*2**8+this[++e];return(BigInt(i)<<BigInt(32))+BigInt(this[++e]*2**24+this[++e]*2**16+this[++e]*2**8+n)});l.prototype.readFloatLE=function(e,r){return e=e>>>0,r||k(e,4,this.length),Xe.read(this,e,!0,23,4)};l.prototype.readFloatBE=function(e,r){return e=e>>>0,r||k(e,4,this.length),Xe.read(this,e,!1,23,4)};l.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||k(e,8,this.length),Xe.read(this,e,!0,52,8)};l.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||k(e,8,this.length),Xe.read(this,e,!1,52,8)};function Y(t,e,r,n,i,o){if(!l.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){let f=Math.pow(2,8*n)-1;Y(this,e,r,n,f,0)}let o=1,a=0;for(this[r]=e&255;++a<n&&(o*=256);)this[r+a]=e/o&255;return r+n};l.prototype.writeUintBE=l.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){let f=Math.pow(2,8*n)-1;Y(this,e,r,n,f,0)}let o=n-1,a=1;for(this[r+o]=e&255;--o>=0&&(a*=256);)this[r+o]=e/a&255;return r+n};l.prototype.writeUint8=l.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||Y(this,e,r,1,255,0),this[r]=e&255,r+1};l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||Y(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||Y(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||Y(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||Y(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function _i(t,e,r,n,i){Ti(e,n,i,t,r,7);let o=Number(e&BigInt(4294967295));t[r++]=o,o=o>>8,t[r++]=o,o=o>>8,t[r++]=o,o=o>>8,t[r++]=o;let a=Number(e>>BigInt(32)&BigInt(4294967295));return t[r++]=a,a=a>>8,t[r++]=a,a=a>>8,t[r++]=a,a=a>>8,t[r++]=a,r}function Si(t,e,r,n,i){Ti(e,n,i,t,r,7);let o=Number(e&BigInt(4294967295));t[r+7]=o,o=o>>8,t[r+6]=o,o=o>>8,t[r+5]=o,o=o>>8,t[r+4]=o;let a=Number(e>>BigInt(32)&BigInt(4294967295));return t[r+3]=a,a=a>>8,t[r+2]=a,a=a>>8,t[r+1]=a,a=a>>8,t[r]=a,r+8}l.prototype.writeBigUInt64LE=Re(function(e,r=0){return _i(this,e,r,BigInt(0),BigInt("0xffffffffffffffff"))});l.prototype.writeBigUInt64BE=Re(function(e,r=0){return Si(this,e,r,BigInt(0),BigInt("0xffffffffffffffff"))});l.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){let u=Math.pow(2,8*n-1);Y(this,e,r,n,u-1,-u)}let o=0,a=1,f=0;for(this[r]=e&255;++o<n&&(a*=256);)e<0&&f===0&&this[r+o-1]!==0&&(f=1),this[r+o]=(e/a>>0)-f&255;return r+n};l.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){let u=Math.pow(2,8*n-1);Y(this,e,r,n,u-1,-u)}let o=n-1,a=1,f=0;for(this[r+o]=e&255;--o>=0&&(a*=256);)e<0&&f===0&&this[r+o+1]!==0&&(f=1),this[r+o]=(e/a>>0)-f&255;return r+n};l.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||Y(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};l.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||Y(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};l.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||Y(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};l.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||Y(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};l.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||Y(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};l.prototype.writeBigInt64LE=Re(function(e,r=0){return _i(this,e,r,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});l.prototype.writeBigInt64BE=Re(function(e,r=0){return Si(this,e,r,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function xi(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Ri(t,e,r,n,i){return e=+e,r=r>>>0,i||xi(t,e,r,4,34028234663852886e22,-34028234663852886e22),Xe.write(t,e,r,n,23,4),r+4}l.prototype.writeFloatLE=function(e,r,n){return Ri(this,e,r,!0,n)};l.prototype.writeFloatBE=function(e,r,n){return Ri(this,e,r,!1,n)};function Ai(t,e,r,n,i){return e=+e,r=r>>>0,i||xi(t,e,r,8,17976931348623157e292,-17976931348623157e292),Xe.write(t,e,r,n,52,8),r+8}l.prototype.writeDoubleLE=function(e,r,n){return Ai(this,e,r,!0,n)};l.prototype.writeDoubleBE=function(e,r,n){return Ai(this,e,r,!1,n)};l.prototype.copy=function(e,r,n,i){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);let o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};l.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!l.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){let a=e.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(e=a)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);let o;if(typeof e=="number")for(o=r;o<n;++o)this[o]=e;else{let a=l.isBuffer(e)?e:l.from(e,i),f=a.length;if(f===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<n-r;++o)this[o+r]=a[o%f]}return this};var Ye={};function Nr(t,e,r){Ye[t]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:e.apply(this,arguments),writable:!0,configurable:!0}),this.name="".concat(this.name," [").concat(t,"]"),this.stack,delete this.name}get code(){return t}set code(i){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:i,writable:!0})}toString(){return"".concat(this.name," [").concat(t,"]: ").concat(this.message)}}}Nr("ERR_BUFFER_OUT_OF_BOUNDS",function(t){return t?"".concat(t," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"},RangeError);Nr("ERR_INVALID_ARG_TYPE",function(t,e){return'The "'.concat(t,'" argument must be of type number. Received type ').concat(typeof e)},TypeError);Nr("ERR_OUT_OF_RANGE",function(t,e,r){let n='The value of "'.concat(t,'" is out of range.'),i=r;return Number.isInteger(r)&&Math.abs(r)>2**32?i=gi(String(r)):typeof r=="bigint"&&(i=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(i=gi(i)),i+="n"),n+=" It must be ".concat(e,". Received ").concat(i),n},RangeError);function gi(t){let e="",r=t.length,n=t[0]==="-"?1:0;for(;r>=n+4;r-=3)e="_".concat(t.slice(r-3,r)).concat(e);return"".concat(t.slice(0,r)).concat(e)}function Gu(t,e,r){Qe(e,"offset"),(t[e]===void 0||t[e+r]===void 0)&&gt(e,t.length-(r+1))}function Ti(t,e,r,n,i,o){if(t>r||t<e){let a=typeof e=="bigint"?"n":"",f;throw o>3?e===0||e===BigInt(0)?f=">= 0".concat(a," and < 2").concat(a," ** ").concat((o+1)*8).concat(a):f=">= -(2".concat(a," ** ").concat((o+1)*8-1).concat(a,") and < 2 ** ")+"".concat((o+1)*8-1).concat(a):f=">= ".concat(e).concat(a," and <= ").concat(r).concat(a),new Ye.ERR_OUT_OF_RANGE("value",f,t)}Gu(n,i,o)}function Qe(t,e){if(typeof t!="number")throw new Ye.ERR_INVALID_ARG_TYPE(e,"number",t)}function gt(t,e,r){throw Math.floor(t)!==t?(Qe(t,r),new Ye.ERR_OUT_OF_RANGE(r||"offset","an integer",t)):e<0?new Ye.ERR_BUFFER_OUT_OF_BOUNDS:new Ye.ERR_OUT_OF_RANGE(r||"offset",">= ".concat(r?1:0," and <= ").concat(e),t)}var Vu=/[^+/0-9A-Za-z-_]/g;function Ku(t){if(t=t.split("=")[0],t=t.trim().replace(Vu,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Cr(t,e){e=e||1/0;let r,n=t.length,i=null,o=[];for(let a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function zu(t){let e=[];for(let r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Yu(t,e){let r,n,i,o=[];for(let a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}function Oi(t){return Br.toByteArray(Ku(t))}function jt(t,e,r,n){let i;for(i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function he(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function qr(t){return t!==t}var Xu=function(){let t="0123456789abcdef",e=new Array(256);for(let r=0;r<16;++r){let n=r*16;for(let i=0;i<16;++i)e[n+i]=t[r]+t[i]}return e}();function Re(t){return typeof BigInt>"u"?Qu:t}function Qu(){throw new Error("BigInt not supported")}});var Dr=y(()=>{});var Fi=y((od,Ci)=>{"use strict";function Ii(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Bi(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Ii(Object(r),!0).forEach(function(n){Ju(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ii(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Ju(t,e,r){return e=Mi(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Zu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pi(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Mi(n.key),n)}}function es(t,e,r){return e&&Pi(t.prototype,e),r&&Pi(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function Mi(t){var e=ts(t,"string");return typeof e=="symbol"?e:String(e)}function ts(t,e){if(typeof t!="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var rs=mt(),Ht=rs.Buffer,ns=Dr(),Ur=ns.inspect,is=Ur&&Ur.custom||"inspect";function os(t,e,r){Ht.prototype.copy.call(t,e,r)}Ci.exports=function(){function t(){Zu(this,t),this.head=null,this.tail=null,this.length=0}return es(t,[{key:"push",value:function(r){var n={data:r,next:null};this.length>0?this.tail.next=n:this.head=n,this.tail=n,++this.length}},{key:"unshift",value:function(r){var n={data:r,next:this.head};this.length===0&&(this.tail=n),this.head=n,++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 n=this.head,i=""+n.data;n=n.next;)i+=r+n.data;return i}},{key:"concat",value:function(r){if(this.length===0)return Ht.alloc(0);for(var n=Ht.allocUnsafe(r>>>0),i=this.head,o=0;i;)os(i.data,n,o),o+=i.data.length,i=i.next;return n}},{key:"consume",value:function(r,n){var i;return r<this.head.data.length?(i=this.head.data.slice(0,r),this.head.data=this.head.data.slice(r)):r===this.head.data.length?i=this.shift():i=n?this._getString(r):this._getBuffer(r),i}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(r){var n=this.head,i=1,o=n.data;for(r-=o.length;n=n.next;){var a=n.data,f=r>a.length?a.length:r;if(f===a.length?o+=a:o+=a.slice(0,r),r-=f,r===0){f===a.length?(++i,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=a.slice(f));break}++i}return this.length-=i,o}},{key:"_getBuffer",value:function(r){var n=Ht.allocUnsafe(r),i=this.head,o=1;for(i.data.copy(n),r-=i.data.length;i=i.next;){var a=i.data,f=r>a.length?a.length:r;if(a.copy(n,n.length-r,0,f),r-=f,r===0){f===a.length?(++o,i.next?this.head=i.next:this.head=this.tail=null):(this.head=i,i.data=a.slice(f));break}++o}return this.length-=o,n}},{key:is,value:function(r,n){return Ur(this,Bi(Bi({},n),{},{depth:0,customInspect:!1}))}}]),t}()});var $r=y((ad,Ni)=>{"use strict";function as(t,e){var r=this,n=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return n||i?(e?e(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(kr,this,t)):process.nextTick(kr,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(o){!e&&o?r._writableState?r._writableState.errorEmitted?process.nextTick(Gt,r):(r._writableState.errorEmitted=!0,process.nextTick(Li,r,o)):process.nextTick(Li,r,o):e?(process.nextTick(Gt,r),e(o)):process.nextTick(Gt,r)}),this)}function Li(t,e){kr(t,e),Gt(t)}function Gt(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function fs(){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 kr(t,e){t.emit("error",e)}function us(t,e){var r=t._readableState,n=t._writableState;r&&r.autoDestroy||n&&n.autoDestroy?t.destroy(e):t.emit("error",e)}Ni.exports={destroy:as,undestroy:fs,errorOrDestroy:us}});var Ne=y((fd,Ui)=>{"use strict";function ss(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var Di={};function re(t,e,r){r||(r=Error);function n(o,a,f){return typeof e=="string"?e:e(o,a,f)}var i=function(o){ss(a,o);function a(f,u,s){return o.call(this,n(f,u,s))||this}return a}(r);i.prototype.name=r.name,i.prototype.code=t,Di[t]=i}function qi(t,e){if(Array.isArray(t)){var r=t.length;return t=t.map(function(n){return String(n)}),r>2?"one of ".concat(e," ").concat(t.slice(0,r-1).join(", "),", or ")+t[r-1]:r===2?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}else return"of ".concat(e," ").concat(String(t))}function ls(t,e,r){return t.substr(!r||r<0?0:+r,e.length)===e}function cs(t,e,r){return(r===void 0||r>t.length)&&(r=t.length),t.substring(r-e.length,r)===e}function hs(t,e,r){return typeof r!="number"&&(r=0),r+e.length>t.length?!1:t.indexOf(e,r)!==-1}re("ERR_INVALID_OPT_VALUE",function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'},TypeError);re("ERR_INVALID_ARG_TYPE",function(t,e,r){var n;typeof e=="string"&&ls(e,"not ")?(n="must not be",e=e.replace(/^not /,"")):n="must be";var i;if(cs(t," argument"))i="The ".concat(t," ").concat(n," ").concat(qi(e,"type"));else{var o=hs(t,".")?"property":"argument";i='The "'.concat(t,'" ').concat(o," ").concat(n," ").concat(qi(e,"type"))}return i+=". Received type ".concat(typeof r),i},TypeError);re("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");re("ERR_METHOD_NOT_IMPLEMENTED",function(t){return"The "+t+" method is not implemented"});re("ERR_STREAM_PREMATURE_CLOSE","Premature close");re("ERR_STREAM_DESTROYED",function(t){return"Cannot call "+t+" after a stream was destroyed"});re("ERR_MULTIPLE_CALLBACK","Callback called multiple times");re("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");re("ERR_STREAM_WRITE_AFTER_END","write after end");re("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);re("ERR_UNKNOWN_ENCODING",function(t){return"Unknown encoding: "+t},TypeError);re("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");Ui.exports.codes=Di});var Wr=y((ud,ki)=>{"use strict";var ps=Ne().codes.ERR_INVALID_OPT_VALUE;function ds(t,e,r){return t.highWaterMark!=null?t.highWaterMark:e?t[r]:null}function ys(t,e,r,n){var i=ds(e,n,r);if(i!=null){if(!(isFinite(i)&&Math.floor(i)===i)||i<0){var o=n?r:"highWaterMark";throw new ps(o,i)}return Math.floor(i)}return t.objectMode?16:16*1024}ki.exports={getHighWaterMark:ys}});var Wi=y((sd,$i)=>{$i.exports=gs;function gs(t,e){if(jr("noDeprecation"))return t;var r=!1;function n(){if(!r){if(jr("throwDeprecation"))throw new Error(e);jr("traceDeprecation")?console.trace(e):console.warn(e),r=!0}return t.apply(this,arguments)}return n}function jr(t){try{if(!global.localStorage)return!1}catch(r){return!1}var e=global.localStorage[t];return e==null?!1:String(e).toLowerCase()==="true"}});var Vr=y((ld,zi)=>{"use strict";zi.exports=C;function Hi(t){var e=this;this.next=null,this.entry=null,this.finish=function(){js(e,t)}}var Ze;C.WritableState=wt;var ms={deprecate:Wi()},Gi=Tr(),Kt=mt().Buffer,vs=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function ws(t){return Kt.from(t)}function bs(t){return Kt.isBuffer(t)||t instanceof vs}var Gr=$r(),Es=Wr(),_s=Es.getHighWaterMark,Ae=Ne().codes,Ss=Ae.ERR_INVALID_ARG_TYPE,xs=Ae.ERR_METHOD_NOT_IMPLEMENTED,Rs=Ae.ERR_MULTIPLE_CALLBACK,As=Ae.ERR_STREAM_CANNOT_PIPE,Ts=Ae.ERR_STREAM_DESTROYED,Os=Ae.ERR_STREAM_NULL_VALUES,Is=Ae.ERR_STREAM_WRITE_AFTER_END,Bs=Ae.ERR_UNKNOWN_ENCODING,et=Gr.errorOrDestroy;xe()(C,Gi);function Ps(){}function wt(t,e,r){Ze=Ze||qe(),t=t||{},typeof r!="boolean"&&(r=e instanceof Ze),this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=_s(this,t,"writableHighWaterMark",r),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var n=t.decodeStrings===!1;this.decodeStrings=!n,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(i){Ds(e,i)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=t.emitClose!==!1,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new Hi(this)}wt.prototype.getBuffer=function(){for(var e=this.bufferedRequest,r=[];e;)r.push(e),e=e.next;return r};(function(){try{Object.defineProperty(wt.prototype,"buffer",{get:ms.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}})();var Vt;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(Vt=Function.prototype[Symbol.hasInstance],Object.defineProperty(C,Symbol.hasInstance,{value:function(e){return Vt.call(this,e)?!0:this!==C?!1:e&&e._writableState instanceof wt}})):Vt=function(e){return e instanceof this};function C(t){Ze=Ze||qe();var e=this instanceof Ze;if(!e&&!Vt.call(C,this))return new C(t);this._writableState=new wt(t,this,e),this.writable=!0,t&&(typeof t.write=="function"&&(this._write=t.write),typeof t.writev=="function"&&(this._writev=t.writev),typeof t.destroy=="function"&&(this._destroy=t.destroy),typeof t.final=="function"&&(this._final=t.final)),Gi.call(this)}C.prototype.pipe=function(){et(this,new As)};function Ms(t,e){var r=new Is;et(t,r),process.nextTick(e,r)}function Cs(t,e,r,n){var i;return r===null?i=new Os:typeof r!="string"&&!e.objectMode&&(i=new Ss("chunk",["string","Buffer"],r)),i?(et(t,i),process.nextTick(n,i),!1):!0}C.prototype.write=function(t,e,r){var n=this._writableState,i=!1,o=!n.objectMode&&bs(t);return o&&!Kt.isBuffer(t)&&(t=ws(t)),typeof e=="function"&&(r=e,e=null),o?e="buffer":e||(e=n.defaultEncoding),typeof r!="function"&&(r=Ps),n.ending?Ms(this,r):(o||Cs(this,n,t,r))&&(n.pendingcb++,i=Ls(this,n,o,t,e,r)),i};C.prototype.cork=function(){this._writableState.corked++};C.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,!t.writing&&!t.corked&&!t.bufferProcessing&&t.bufferedRequest&&Vi(this,t))};C.prototype.setDefaultEncoding=function(e){if(typeof e=="string"&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new Bs(e);return this._writableState.defaultEncoding=e,this};Object.defineProperty(C.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Fs(t,e,r){return!t.objectMode&&t.decodeStrings!==!1&&typeof e=="string"&&(e=Kt.from(e,r)),e}Object.defineProperty(C.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Ls(t,e,r,n,i,o){if(!r){var a=Fs(e,n,i);n!==a&&(r=!0,i="buffer",n=a)}var f=e.objectMode?1:n.length;e.length+=f;var u=e.length<e.highWaterMark;if(u||(e.needDrain=!0),e.writing||e.corked){var s=e.lastBufferedRequest;e.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},s?s.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else Hr(t,e,!1,f,n,i,o);return u}function Hr(t,e,r,n,i,o,a){e.writelen=n,e.writecb=a,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new Ts("write")):r?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function Ns(t,e,r,n,i){--e.pendingcb,r?(process.nextTick(i,n),process.nextTick(vt,t,e),t._writableState.errorEmitted=!0,et(t,n)):(i(n),t._writableState.errorEmitted=!0,et(t,n),vt(t,e))}function qs(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}function Ds(t,e){var r=t._writableState,n=r.sync,i=r.writecb;if(typeof i!="function")throw new Rs;if(qs(r),e)Ns(t,r,n,e,i);else{var o=Ki(r)||t.destroyed;!o&&!r.corked&&!r.bufferProcessing&&r.bufferedRequest&&Vi(t,r),n?process.nextTick(ji,t,r,o,i):ji(t,r,o,i)}}function ji(t,e,r,n){r||Us(t,e),e.pendingcb--,n(),vt(t,e)}function Us(t,e){e.length===0&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}function Vi(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var n=e.bufferedRequestCount,i=new Array(n),o=e.corkedRequestsFree;o.entry=r;for(var a=0,f=!0;r;)i[a]=r,r.isBuf||(f=!1),r=r.next,a+=1;i.allBuffers=f,Hr(t,e,!0,e.length,i,"",o.finish),e.pendingcb++,e.lastBufferedRequest=null,o.next?(e.corkedRequestsFree=o.next,o.next=null):e.corkedRequestsFree=new Hi(e),e.bufferedRequestCount=0}else{for(;r;){var u=r.chunk,s=r.encoding,h=r.callback,p=e.objectMode?1:u.length;if(Hr(t,e,!1,p,u,s,h),r=r.next,e.bufferedRequestCount--,e.writing)break}r===null&&(e.lastBufferedRequest=null)}e.bufferedRequest=r,e.bufferProcessing=!1}C.prototype._write=function(t,e,r){r(new xs("_write()"))};C.prototype._writev=null;C.prototype.end=function(t,e,r){var n=this._writableState;return typeof t=="function"?(r=t,t=null,e=null):typeof e=="function"&&(r=e,e=null),t!=null&&this.write(t,e),n.corked&&(n.corked=1,this.uncork()),n.ending||Ws(this,n,r),this};Object.defineProperty(C.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function Ki(t){return t.ending&&t.length===0&&t.bufferedRequest===null&&!t.finished&&!t.writing}function ks(t,e){t._final(function(r){e.pendingcb--,r&&et(t,r),e.prefinished=!0,t.emit("prefinish"),vt(t,e)})}function $s(t,e){!e.prefinished&&!e.finalCalled&&(typeof t._final=="function"&&!e.destroyed?(e.pendingcb++,e.finalCalled=!0,process.nextTick(ks,t,e)):(e.prefinished=!0,t.emit("prefinish")))}function vt(t,e){var r=Ki(e);if(r&&($s(t,e),e.pendingcb===0&&(e.finished=!0,t.emit("finish"),e.autoDestroy))){var n=t._readableState;(!n||n.autoDestroy&&n.endEmitted)&&t.destroy()}return r}function Ws(t,e,r){e.ending=!0,vt(t,e),r&&(e.finished?process.nextTick(r):t.once("finish",r)),e.ended=!0,t.writable=!1}function js(t,e,r){var n=t.entry;for(t.entry=null;n;){var i=n.callback;e.pendingcb--,i(r),n=n.next}e.corkedRequestsFree.next=t}Object.defineProperty(C.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}});C.prototype.destroy=Gr.destroy;C.prototype._undestroy=Gr.undestroy;C.prototype._destroy=function(t,e){e(t)}});var qe=y((cd,Xi)=>{"use strict";var Hs=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};Xi.exports=pe;var Yi=Yr(),zr=Vr();xe()(pe,Yi);for(Kr=Hs(zr.prototype),zt=0;zt<Kr.length;zt++)Yt=Kr[zt],pe.prototype[Yt]||(pe.prototype[Yt]=zr.prototype[Yt]);var Kr,Yt,zt;function pe(t){if(!(this instanceof pe))return new pe(t);Yi.call(this,t),zr.call(this,t),this.allowHalfOpen=!0,t&&(t.readable===!1&&(this.readable=!1),t.writable===!1&&(this.writable=!1),t.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",Gs)))}Object.defineProperty(pe.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});Object.defineProperty(pe.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty(pe.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function Gs(){this._writableState.ended||process.nextTick(Vs,this)}function Vs(t){t.end()}Object.defineProperty(pe.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(e){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=e,this._writableState.destroyed=e)}})});var Zi=y((Xr,Ji)=>{var Xt=mt(),de=Xt.Buffer;function Qi(t,e){for(var r in t)e[r]=t[r]}de.from&&de.alloc&&de.allocUnsafe&&de.allocUnsafeSlow?Ji.exports=Xt:(Qi(Xt,Xr),Xr.Buffer=De);function De(t,e,r){return de(t,e,r)}De.prototype=Object.create(de.prototype);Qi(de,De);De.from=function(t,e,r){if(typeof t=="number")throw new TypeError("Argument must not be a number");return de(t,e,r)};De.alloc=function(t,e,r){if(typeof t!="number")throw new TypeError("Argument must be a number");var n=de(t);return e!==void 0?typeof r=="string"?n.fill(e,r):n.fill(e):n.fill(0),n};De.allocUnsafe=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return de(t)};De.allocUnsafeSlow=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return Xt.SlowBuffer(t)}});var Zr=y(to=>{"use strict";var Jr=Zi().Buffer,eo=Jr.isEncoding||function(t){switch(t=""+t,t&&t.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 Ks(t){if(!t)return"utf8";for(var e;;)switch(t){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 t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}function zs(t){var e=Ks(t);if(typeof e!="string"&&(Jr.isEncoding===eo||!eo(t)))throw new Error("Unknown encoding: "+t);return e||t}to.StringDecoder=bt;function bt(t){this.encoding=zs(t);var e;switch(this.encoding){case"utf16le":this.text=el,this.end=tl,e=4;break;case"utf8":this.fillLast=Qs,e=4;break;case"base64":this.text=rl,this.end=nl,e=3;break;default:this.write=il,this.end=ol;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Jr.allocUnsafe(e)}bt.prototype.write=function(t){if(t.length===0)return"";var e,r;if(this.lastNeed){if(e=this.fillLast(t),e===void 0)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<t.length?e?e+this.text(t,r):this.text(t,r):e||""};bt.prototype.end=Zs;bt.prototype.text=Js;bt.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length};function Qr(t){return t<=127?0:t>>5===6?2:t>>4===14?3:t>>3===30?4:t>>6===2?-1:-2}function Ys(t,e,r){var n=e.length-1;if(n<r)return 0;var i=Qr(e[n]);return i>=0?(i>0&&(t.lastNeed=i-1),i):--n<r||i===-2?0:(i=Qr(e[n]),i>=0?(i>0&&(t.lastNeed=i-2),i):--n<r||i===-2?0:(i=Qr(e[n]),i>=0?(i>0&&(i===2?i=0:t.lastNeed=i-3),i):0))}function Xs(t,e,r){if((e[0]&192)!==128)return t.lastNeed=0,"\uFFFD";if(t.lastNeed>1&&e.length>1){if((e[1]&192)!==128)return t.lastNeed=1,"\uFFFD";if(t.lastNeed>2&&e.length>2&&(e[2]&192)!==128)return t.lastNeed=2,"\uFFFD"}}function Qs(t){var e=this.lastTotal-this.lastNeed,r=Xs(this,t,e);if(r!==void 0)return r;if(this.lastNeed<=t.length)return t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,e,0,t.length),this.lastNeed-=t.length}function Js(t,e){var r=Ys(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var n=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",e,n)}function Zs(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\uFFFD":e}function el(t,e){if((t.length-e)%2===0){var r=t.toString("utf16le",e);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function tl(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function rl(t,e){var r=(t.length-e)%3;return r===0?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,r===1?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}function nl(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function il(t){return t.toString(this.encoding)}function ol(t){return t&&t.length?this.write(t):""}});var Qt=y((pd,io)=>{"use strict";var ro=Ne().codes.ERR_STREAM_PREMATURE_CLOSE;function al(t){var e=!1;return function(){if(!e){e=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];t.apply(this,n)}}}function fl(){}function ul(t){return t.setHeader&&typeof t.abort=="function"}function no(t,e,r){if(typeof e=="function")return no(t,null,e);e||(e={}),r=al(r||fl);var n=e.readable||e.readable!==!1&&t.readable,i=e.writable||e.writable!==!1&&t.writable,o=function(){t.writable||f()},a=t._writableState&&t._writableState.finished,f=function(){i=!1,a=!0,n||r.call(t)},u=t._readableState&&t._readableState.endEmitted,s=function(){n=!1,u=!0,i||r.call(t)},h=function(m){r.call(t,m)},p=function(){var m;if(n&&!u)return(!t._readableState||!t._readableState.ended)&&(m=new ro),r.call(t,m);if(i&&!a)return(!t._writableState||!t._writableState.ended)&&(m=new ro),r.call(t,m)},c=function(){t.req.on("finish",f)};return ul(t)?(t.on("complete",f),t.on("abort",p),t.req?c():t.on("request",c)):i&&!t._writableState&&(t.on("end",o),t.on("close",o)),t.on("end",s),t.on("finish",f),e.error!==!1&&t.on("error",h),t.on("close",p),function(){t.removeListener("complete",f),t.removeListener("abort",p),t.removeListener("request",c),t.req&&t.req.removeListener("finish",f),t.removeListener("end",o),t.removeListener("close",o),t.removeListener("finish",f),t.removeListener("end",s),t.removeListener("error",h),t.removeListener("close",p)}}io.exports=no});var ao=y((dd,oo)=>{"use strict";var Jt;function Te(t,e,r){return e=sl(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function sl(t){var e=ll(t,"string");return typeof e=="symbol"?e:String(e)}function ll(t,e){if(typeof t!="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var cl=Qt(),Oe=Symbol("lastResolve"),Ue=Symbol("lastReject"),Et=Symbol("error"),Zt=Symbol("ended"),ke=Symbol("lastPromise"),en=Symbol("handlePromise"),$e=Symbol("stream");function Ie(t,e){return{value:t,done:e}}function hl(t){var e=t[Oe];if(e!==null){var r=t[$e].read();r!==null&&(t[ke]=null,t[Oe]=null,t[Ue]=null,e(Ie(r,!1)))}}function pl(t){process.nextTick(hl,t)}function dl(t,e){return function(r,n){t.then(function(){if(e[Zt]){r(Ie(void 0,!0));return}e[en](r,n)},n)}}var yl=Object.getPrototypeOf(function(){}),gl=Object.setPrototypeOf((Jt={get stream(){return this[$e]},next:function(){var e=this,r=this[Et];if(r!==null)return Promise.reject(r);if(this[Zt])return Promise.resolve(Ie(void 0,!0));if(this[$e].destroyed)return new Promise(function(a,f){process.nextTick(function(){e[Et]?f(e[Et]):a(Ie(void 0,!0))})});var n=this[ke],i;if(n)i=new Promise(dl(n,this));else{var o=this[$e].read();if(o!==null)return Promise.resolve(Ie(o,!1));i=new Promise(this[en])}return this[ke]=i,i}},Te(Jt,Symbol.asyncIterator,function(){return this}),Te(Jt,"return",function(){var e=this;return new Promise(function(r,n){e[$e].destroy(null,function(i){if(i){n(i);return}r(Ie(void 0,!0))})})}),Jt),yl),ml=function(e){var r,n=Object.create(gl,(r={},Te(r,$e,{value:e,writable:!0}),Te(r,Oe,{value:null,writable:!0}),Te(r,Ue,{value:null,writable:!0}),Te(r,Et,{value:null,writable:!0}),Te(r,Zt,{value:e._readableState.endEmitted,writable:!0}),Te(r,en,{value:function(o,a){var f=n[$e].read();f?(n[ke]=null,n[Oe]=null,n[Ue]=null,o(Ie(f,!1))):(n[Oe]=o,n[Ue]=a)},writable:!0}),r));return n[ke]=null,cl(e,function(i){if(i&&i.code!=="ERR_STREAM_PREMATURE_CLOSE"){var o=n[Ue];o!==null&&(n[ke]=null,n[Oe]=null,n[Ue]=null,o(i)),n[Et]=i;return}var a=n[Oe];a!==null&&(n[ke]=null,n[Oe]=null,n[Ue]=null,a(Ie(void 0,!0))),n[Zt]=!0}),e.on("readable",pl.bind(null,n)),n};oo.exports=ml});var uo=y((yd,fo)=>{fo.exports=function(){throw new Error("Readable.from is not available in the browser")}});var Yr=y((md,wo)=>{"use strict";wo.exports=R;var tt;R.ReadableState=ho;var gd=Ar().EventEmitter,co=function(e,r){return e.listeners(r).length},St=Tr(),er=mt().Buffer,vl=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function wl(t){return er.from(t)}function bl(t){return er.isBuffer(t)||t instanceof vl}var tn=Dr(),E;tn&&tn.debuglog?E=tn.debuglog("stream"):E=function(){};var El=Fi(),sn=$r(),_l=Wr(),Sl=_l.getHighWaterMark,tr=Ne().codes,xl=tr.ERR_INVALID_ARG_TYPE,Rl=tr.ERR_STREAM_PUSH_AFTER_EOF,Al=tr.ERR_METHOD_NOT_IMPLEMENTED,Tl=tr.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,rt,rn,nn;xe()(R,St);var _t=sn.errorOrDestroy,on=["error","close","destroy","pause","resume"];function Ol(t,e,r){if(typeof t.prependListener=="function")return t.prependListener(e,r);!t._events||!t._events[e]?t.on(e,r):Array.isArray(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]}function ho(t,e,r){tt=tt||qe(),t=t||{},typeof r!="boolean"&&(r=e instanceof tt),this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=Sl(this,t,"readableHighWaterMark",r),this.buffer=new El,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=t.emitClose!==!1,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(rt||(rt=Zr().StringDecoder),this.decoder=new rt(t.encoding),this.encoding=t.encoding)}function R(t){if(tt=tt||qe(),!(this instanceof R))return new R(t);var e=this instanceof tt;this._readableState=new ho(t,this,e),this.readable=!0,t&&(typeof t.read=="function"&&(this._read=t.read),typeof t.destroy=="function"&&(this._destroy=t.destroy)),St.call(this)}Object.defineProperty(R.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}});R.prototype.destroy=sn.destroy;R.prototype._undestroy=sn.undestroy;R.prototype._destroy=function(t,e){e(t)};R.prototype.push=function(t,e){var r=this._readableState,n;return r.objectMode?n=!0:typeof t=="string"&&(e=e||r.defaultEncoding,e!==r.encoding&&(t=er.from(t,e),e=""),n=!0),po(this,t,e,!1,n)};R.prototype.unshift=function(t){return po(this,t,null,!0,!1)};function po(t,e,r,n,i){E("readableAddChunk",e);var o=t._readableState;if(e===null)o.reading=!1,Pl(t,o);else{var a;if(i||(a=Il(o,e)),a)_t(t,a);else if(o.objectMode||e&&e.length>0)if(typeof e!="string"&&!o.objectMode&&Object.getPrototypeOf(e)!==er.prototype&&(e=wl(e)),n)o.endEmitted?_t(t,new Tl):an(t,o,e,!0);else if(o.ended)_t(t,new Rl);else{if(o.destroyed)return!1;o.reading=!1,o.decoder&&!r?(e=o.decoder.write(e),o.objectMode||e.length!==0?an(t,o,e,!1):un(t,o)):an(t,o,e,!1)}else n||(o.reading=!1,un(t,o))}return!o.ended&&(o.length<o.highWaterMark||o.length===0)}function an(t,e,r,n){e.flowing&&e.length===0&&!e.sync?(e.awaitDrain=0,t.emit("data",r)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&rr(t)),un(t,e)}function Il(t,e){var r;return!bl(e)&&typeof e!="string"&&e!==void 0&&!t.objectMode&&(r=new xl("chunk",["string","Buffer","Uint8Array"],e)),r}R.prototype.isPaused=function(){return this._readableState.flowing===!1};R.prototype.setEncoding=function(t){rt||(rt=Zr().StringDecoder);var e=new rt(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,n="";r!==null;)n+=e.write(r.data),r=r.next;return this._readableState.buffer.clear(),n!==""&&this._readableState.buffer.push(n),this._readableState.length=n.length,this};var so=1073741824;function Bl(t){return t>=so?t=so:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function lo(t,e){return t<=0||e.length===0&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=Bl(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}R.prototype.read=function(t){E("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(t!==0&&(e.emittedReadable=!1),t===0&&e.needReadable&&((e.highWaterMark!==0?e.length>=e.highWaterMark:e.length>0)||e.ended))return E("read: emitReadable",e.length,e.ended),e.length===0&&e.ended?fn(this):rr(this),null;if(t=lo(t,e),t===0&&e.ended)return e.length===0&&fn(this),null;var n=e.needReadable;E("need readable",n),(e.length===0||e.length-t<e.highWaterMark)&&(n=!0,E("length less than watermark",n)),e.ended||e.reading?(n=!1,E("reading or ended",n)):n&&(E("do read"),e.reading=!0,e.sync=!0,e.length===0&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=lo(r,e)));var i;return t>0?i=mo(t,e):i=null,i===null?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),e.length===0&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&fn(this)),i!==null&&this.emit("data",i),i};function Pl(t,e){if(E("onEofChunk"),!e.ended){if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,e.sync?rr(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,yo(t)))}}function rr(t){var e=t._readableState;E("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(E("emitReadable",e.flowing),e.emittedReadable=!0,process.nextTick(yo,t))}function yo(t){var e=t._readableState;E("emitReadable_",e.destroyed,e.length,e.ended),!e.destroyed&&(e.length||e.ended)&&(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,ln(t)}function un(t,e){e.readingMore||(e.readingMore=!0,process.nextTick(Ml,t,e))}function Ml(t,e){for(;!e.reading&&!e.ended&&(e.length<e.highWaterMark||e.flowing&&e.length===0);){var r=e.length;if(E("maybeReadMore read 0"),t.read(0),r===e.length)break}e.readingMore=!1}R.prototype._read=function(t){_t(this,new Al("_read()"))};R.prototype.pipe=function(t,e){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=t;break;case 1:n.pipes=[n.pipes,t];break;default:n.pipes.push(t);break}n.pipesCount+=1,E("pipe count=%d opts=%j",n.pipesCount,e);var i=(!e||e.end!==!1)&&t!==process.stdout&&t!==process.stderr,o=i?f:A;n.endEmitted?process.nextTick(o):r.once("end",o),t.on("unpipe",a);function a(_,P){E("onunpipe"),_===r&&P&&P.hasUnpiped===!1&&(P.hasUnpiped=!0,h())}function f(){E("onend"),t.end()}var u=Cl(r);t.on("drain",u);var s=!1;function h(){E("cleanup"),t.removeListener("close",d),t.removeListener("finish",m),t.removeListener("drain",u),t.removeListener("error",c),t.removeListener("unpipe",a),r.removeListener("end",f),r.removeListener("end",A),r.removeListener("data",p),s=!0,n.awaitDrain&&(!t._writableState||t._writableState.needDrain)&&u()}r.on("data",p);function p(_){E("ondata");var P=t.write(_);E("dest.write",P),P===!1&&((n.pipesCount===1&&n.pipes===t||n.pipesCount>1&&vo(n.pipes,t)!==-1)&&!s&&(E("false write response, pause",n.awaitDrain),n.awaitDrain++),r.pause())}function c(_){E("onerror",_),A(),t.removeListener("error",c),co(t,"error")===0&&_t(t,_)}Ol(t,"error",c);function d(){t.removeListener("finish",m),A()}t.once("close",d);function m(){E("onfinish"),t.removeListener("close",d),A()}t.once("finish",m);function A(){E("unpipe"),r.unpipe(t)}return t.emit("pipe",r),n.flowing||(E("pipe resume"),r.resume()),t};function Cl(t){return function(){var r=t._readableState;E("pipeOnDrain",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,r.awaitDrain===0&&co(t,"data")&&(r.flowing=!0,ln(t))}}R.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(e.pipesCount===0)return this;if(e.pipesCount===1)return t&&t!==e.pipes?this:(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r),this);if(!t){var n=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=vo(e.pipes,t);return a===-1?this:(e.pipes.splice(a,1),e.pipesCount-=1,e.pipesCount===1&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,r),this)};R.prototype.on=function(t,e){var r=St.prototype.on.call(this,t,e),n=this._readableState;return t==="data"?(n.readableListening=this.listenerCount("readable")>0,n.flowing!==!1&&this.resume()):t==="readable"&&!n.endEmitted&&!n.readableListening&&(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,E("on readable",n.length,n.reading),n.length?rr(this):n.reading||process.nextTick(Fl,this)),r};R.prototype.addListener=R.prototype.on;R.prototype.removeListener=function(t,e){var r=St.prototype.removeListener.call(this,t,e);return t==="readable"&&process.nextTick(go,this),r};R.prototype.removeAllListeners=function(t){var e=St.prototype.removeAllListeners.apply(this,arguments);return(t==="readable"||t===void 0)&&process.nextTick(go,this),e};function go(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function Fl(t){E("readable nexttick read 0"),t.read(0)}R.prototype.resume=function(){var t=this._readableState;return t.flowing||(E("resume"),t.flowing=!t.readableListening,Ll(this,t)),t.paused=!1,this};function Ll(t,e){e.resumeScheduled||(e.resumeScheduled=!0,process.nextTick(Nl,t,e))}function Nl(t,e){E("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),ln(t),e.flowing&&!e.reading&&t.read(0)}R.prototype.pause=function(){return E("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(E("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function ln(t){var e=t._readableState;for(E("flow",e.flowing);e.flowing&&t.read()!==null;);}R.prototype.wrap=function(t){var e=this,r=this._readableState,n=!1;t.on("end",function(){if(E("wrapped end"),r.decoder&&!r.ended){var a=r.decoder.end();a&&a.length&&e.push(a)}e.push(null)}),t.on("data",function(a){if(E("wrapped data"),r.decoder&&(a=r.decoder.write(a)),!(r.objectMode&&a==null)&&!(!r.objectMode&&(!a||!a.length))){var f=e.push(a);f||(n=!0,t.pause())}});for(var i in t)this[i]===void 0&&typeof t[i]=="function"&&(this[i]=function(f){return function(){return t[f].apply(t,arguments)}}(i));for(var o=0;o<on.length;o++)t.on(on[o],this.emit.bind(this,on[o]));return this._read=function(a){E("wrapped _read",a),n&&(n=!1,t.resume())},this};typeof Symbol=="function"&&(R.prototype[Symbol.asyncIterator]=function(){return rn===void 0&&(rn=ao()),rn(this)});Object.defineProperty(R.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Object.defineProperty(R.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}});Object.defineProperty(R.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}});R._fromList=mo;Object.defineProperty(R.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function mo(t,e){if(e.length===0)return null;var r;return e.objectMode?r=e.buffer.shift():!t||t>=e.length?(e.decoder?r=e.buffer.join(""):e.buffer.length===1?r=e.buffer.first():r=e.buffer.concat(e.length),e.buffer.clear()):r=e.buffer.consume(t,e.decoder),r}function fn(t){var e=t._readableState;E("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,process.nextTick(ql,e,t))}function ql(t,e){if(E("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&t.length===0&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var r=e._writableState;(!r||r.autoDestroy&&r.finished)&&e.destroy()}}typeof Symbol=="function"&&(R.from=function(t,e){return nn===void 0&&(nn=uo()),nn(R,t,e)});function vo(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}});var cn=y((vd,Eo)=>{"use strict";Eo.exports=be;var nr=Ne().codes,Dl=nr.ERR_METHOD_NOT_IMPLEMENTED,Ul=nr.ERR_MULTIPLE_CALLBACK,kl=nr.ERR_TRANSFORM_ALREADY_TRANSFORMING,$l=nr.ERR_TRANSFORM_WITH_LENGTH_0,ir=qe();xe()(be,ir);function Wl(t,e){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(n===null)return this.emit("error",new Ul);r.writechunk=null,r.writecb=null,e!=null&&this.push(e),n(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function be(t){if(!(this instanceof be))return new be(t);ir.call(this,t),this._transformState={afterTransform:Wl.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&(typeof t.transform=="function"&&(this._transform=t.transform),typeof t.flush=="function"&&(this._flush=t.flush)),this.on("prefinish",jl)}function jl(){var t=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(e,r){bo(t,e,r)}):bo(this,null,null)}be.prototype.push=function(t,e){return this._transformState.needTransform=!1,ir.prototype.push.call(this,t,e)};be.prototype._transform=function(t,e,r){r(new Dl("_transform()"))};be.prototype._write=function(t,e,r){var n=this._transformState;if(n.writecb=r,n.writechunk=t,n.writeencoding=e,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}};be.prototype._read=function(t){var e=this._transformState;e.writechunk!==null&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0};be.prototype._destroy=function(t,e){ir.prototype._destroy.call(this,t,function(r){e(r)})};function bo(t,e,r){if(e)return t.emit("error",e);if(r!=null&&t.push(r),t._writableState.length)throw new $l;if(t._transformState.transforming)throw new kl;return t.push(null)}});var xo=y((wd,So)=>{"use strict";So.exports=xt;var _o=cn();xe()(xt,_o);function xt(t){if(!(this instanceof xt))return new xt(t);_o.call(this,t)}xt.prototype._transform=function(t,e,r){r(null,t)}});var Io=y((bd,Oo)=>{"use strict";var hn;function Hl(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}var To=Ne().codes,Gl=To.ERR_MISSING_ARGS,Vl=To.ERR_STREAM_DESTROYED;function Ro(t){if(t)throw t}function Kl(t){return t.setHeader&&typeof t.abort=="function"}function zl(t,e,r,n){n=Hl(n);var i=!1;t.on("close",function(){i=!0}),hn===void 0&&(hn=Qt()),hn(t,{readable:e,writable:r},function(a){if(a)return n(a);i=!0,n()});var o=!1;return function(a){if(!i&&!o){if(o=!0,Kl(t))return t.abort();if(typeof t.destroy=="function")return t.destroy();n(a||new Vl("pipe"))}}}function Ao(t){t()}function Yl(t,e){return t.pipe(e)}function Xl(t){return!t.length||typeof t[t.length-1]!="function"?Ro:t.pop()}function Ql(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=Xl(e);if(Array.isArray(e[0])&&(e=e[0]),e.length<2)throw new Gl("streams");var i,o=e.map(function(a,f){var u=f<e.length-1,s=f>0;return zl(a,u,s,function(h){i||(i=h),h&&o.forEach(Ao),!u&&(o.forEach(Ao),n(i))})});return e.reduce(Yl)}Oo.exports=Ql});var pn=y((ne,Bo)=>{ne=Bo.exports=Yr();ne.Stream=ne;ne.Readable=ne;ne.Writable=Vr();ne.Duplex=qe();ne.Transform=cn();ne.PassThrough=xo();ne.finished=Qt();ne.pipeline=Io()});var gn=y(yn=>{var Po=Sr(),Jl=xe(),Mo=pn(),or=yn.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},dn=yn.IncomingMessage=function(t,e,r,n){var i=this;if(Mo.Readable.call(i),i._mode=r,i.headers={},i.rawHeaders=[],i.trailers={},i.rawTrailers=[],i.on("end",function(){process.nextTick(function(){i.emit("close")})}),r==="fetch"){let p=function(){a.read().then(function(c){if(!i._destroyed){if(n(c.done),c.done){i.push(null);return}i.push(Buffer.from(c.value)),p()}}).catch(function(c){n(!0),i._destroyed||i.emit("error",c)})};var h=p;if(i._fetchResponse=e,i.url=e.url,i.statusCode=e.status,i.statusMessage=e.statusText,e.headers.forEach(function(c,d){i.headers[d.toLowerCase()]=c,i.rawHeaders.push(d,c)}),Po.writableStream){var o=new WritableStream({write:function(c){return n(!1),new Promise(function(d,m){i._destroyed?m():i.push(Buffer.from(c))?d():i._resumeFetch=d})},close:function(){n(!0),i._destroyed||i.push(null)},abort:function(c){n(!0),i._destroyed||i.emit("error",c)}});try{e.body.pipeTo(o).catch(function(c){n(!0),i._destroyed||i.emit("error",c)});return}catch(c){}}var a=e.body.getReader();p()}else{i._xhr=t,i._pos=0,i.url=t.responseURL,i.statusCode=t.status,i.statusMessage=t.statusText;var f=t.getAllResponseHeaders().split(/\r?\n/);if(f.forEach(function(p){var c=p.match(/^([^:]+):\s*(.*)/);if(c){var d=c[1].toLowerCase();d==="set-cookie"?(i.headers[d]===void 0&&(i.headers[d]=[]),i.headers[d].push(c[2])):i.headers[d]!==void 0?i.headers[d]+=", "+c[2]:i.headers[d]=c[2],i.rawHeaders.push(c[1],c[2])}}),i._charset="x-user-defined",!Po.overrideMimeType){var u=i.rawHeaders["mime-type"];if(u){var s=u.match(/;\s*charset=([^;])(;|$)/);s&&(i._charset=s[1].toLowerCase())}i._charset||(i._charset="utf-8")}}};Jl(dn,Mo.Readable);dn.prototype._read=function(){var t=this,e=t._resumeFetch;e&&(t._resumeFetch=null,e())};dn.prototype._onXHRProgress=function(t){var e=this,r=e._xhr,n=null;switch(e._mode){case"text":if(n=r.responseText,n.length>e._pos){var i=n.substr(e._pos);if(e._charset==="x-user-defined"){for(var o=Buffer.alloc(i.length),a=0;a<i.length;a++)o[a]=i.charCodeAt(a)&255;e.push(o)}else e.push(i,e._charset);e._pos=n.length}break;case"arraybuffer":if(r.readyState!==or.DONE||!r.response)break;n=r.response,e.push(Buffer.from(new Uint8Array(n)));break;case"moz-chunked-arraybuffer":if(n=r.response,r.readyState!==or.LOADING||!n)break;e.push(Buffer.from(new Uint8Array(n)));break;case"ms-stream":if(n=r.response,r.readyState!==or.LOADING)break;var f=new global.MSStreamReader;f.onprogress=function(){f.result.byteLength>e._pos&&(e.push(Buffer.from(new Uint8Array(f.result.slice(e._pos)))),e._pos=f.result.byteLength)},f.onload=function(){t(!0),e.push(null)},f.readAsArrayBuffer(n);break}e._xhr.readyState===or.DONE&&e._mode!=="ms-stream"&&(t(!0),e.push(null))}});var No=y((_d,Lo)=>{var We=Sr(),Zl=xe(),Fo=gn(),mn=pn(),ec=Fo.IncomingMessage,Co=Fo.readyStates;function tc(t,e){return We.fetch&&e?"fetch":We.mozchunkedarraybuffer?"moz-chunked-arraybuffer":We.msstream?"ms-stream":We.arraybuffer&&t?"arraybuffer":"text"}var V=Lo.exports=function(t){var e=this;mn.Writable.call(e),e._opts=t,e._body=[],e._headers={},t.auth&&e.setHeader("Authorization","Basic "+Buffer.from(t.auth).toString("base64")),Object.keys(t.headers).forEach(function(i){e.setHeader(i,t.headers[i])});var r,n=!0;if(t.mode==="disable-fetch"||"requestTimeout"in t&&!We.abortController)n=!1,r=!0;else if(t.mode==="prefer-streaming")r=!1;else if(t.mode==="allow-wrong-content-type")r=!We.overrideMimeType;else if(!t.mode||t.mode==="default"||t.mode==="prefer-fast")r=!0;else throw new Error("Invalid value for opts.mode");e._mode=tc(r,n),e._fetchTimer=null,e._socketTimeout=null,e._socketTimer=null,e.on("finish",function(){e._onFinish()})};Zl(V,mn.Writable);V.prototype.setHeader=function(t,e){var r=this,n=t.toLowerCase();nc.indexOf(n)===-1&&(r._headers[n]={name:t,value:e})};V.prototype.getHeader=function(t){var e=this._headers[t.toLowerCase()];return e?e.value:null};V.prototype.removeHeader=function(t){var e=this;delete e._headers[t.toLowerCase()]};V.prototype._onFinish=function(){var t=this;if(!t._destroyed){var e=t._opts;"timeout"in e&&e.timeout!==0&&t.setTimeout(e.timeout);var r=t._headers,n=null;e.method!=="GET"&&e.method!=="HEAD"&&(n=new Blob(t._body,{type:(r["content-type"]||{}).value||""}));var i=[];if(Object.keys(r).forEach(function(u){var s=r[u].name,h=r[u].value;Array.isArray(h)?h.forEach(function(p){i.push([s,p])}):i.push([s,h])}),t._mode==="fetch"){var o=null;if(We.abortController){var a=new AbortController;o=a.signal,t._fetchAbortController=a,"requestTimeout"in e&&e.requestTimeout!==0&&(t._fetchTimer=global.setTimeout(function(){t.emit("requestTimeout"),t._fetchAbortController&&t._fetchAbortController.abort()},e.requestTimeout))}global.fetch(t._opts.url,{method:t._opts.method,headers:i,body:n||void 0,mode:"cors",credentials:e.withCredentials?"include":"same-origin",signal:o}).then(function(u){t._fetchResponse=u,t._resetTimers(!1),t._connect()},function(u){t._resetTimers(!0),t._destroyed||t.emit("error",u)})}else{var f=t._xhr=new global.XMLHttpRequest;try{f.open(t._opts.method,t._opts.url,!0)}catch(u){process.nextTick(function(){t.emit("error",u)});return}"responseType"in f&&(f.responseType=t._mode),"withCredentials"in f&&(f.withCredentials=!!e.withCredentials),t._mode==="text"&&"overrideMimeType"in f&&f.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in e&&(f.timeout=e.requestTimeout,f.ontimeout=function(){t.emit("requestTimeout")}),i.forEach(function(u){f.setRequestHeader(u[0],u[1])}),t._response=null,f.onreadystatechange=function(){switch(f.readyState){case Co.LOADING:case Co.DONE:t._onXHRProgress();break}},t._mode==="moz-chunked-arraybuffer"&&(f.onprogress=function(){t._onXHRProgress()}),f.onerror=function(){t._destroyed||(t._resetTimers(!0),t.emit("error",new Error("XHR error")))};try{f.send(n)}catch(u){process.nextTick(function(){t.emit("error",u)});return}}}};function rc(t){try{var e=t.status;return e!==null&&e!==0}catch(r){return!1}}V.prototype._onXHRProgress=function(){var t=this;t._resetTimers(!1),!(!rc(t._xhr)||t._destroyed)&&(t._response||t._connect(),t._response._onXHRProgress(t._resetTimers.bind(t)))};V.prototype._connect=function(){var t=this;t._destroyed||(t._response=new ec(t._xhr,t._fetchResponse,t._mode,t._resetTimers.bind(t)),t._response.on("error",function(e){t.emit("error",e)}),t.emit("response",t._response))};V.prototype._write=function(t,e,r){var n=this;n._body.push(t),r()};V.prototype._resetTimers=function(t){var e=this;global.clearTimeout(e._socketTimer),e._socketTimer=null,t?(global.clearTimeout(e._fetchTimer),e._fetchTimer=null):e._socketTimeout&&(e._socketTimer=global.setTimeout(function(){e.emit("timeout")},e._socketTimeout))};V.prototype.abort=V.prototype.destroy=function(t){var e=this;e._destroyed=!0,e._resetTimers(!0),e._response&&(e._response._destroyed=!0),e._xhr?e._xhr.abort():e._fetchAbortController&&e._fetchAbortController.abort(),t&&e.emit("error",t)};V.prototype.end=function(t,e,r){var n=this;typeof t=="function"&&(r=t,t=void 0),mn.Writable.prototype.end.call(n,t,e,r)};V.prototype.setTimeout=function(t,e){var r=this;e&&r.once("timeout",e),r._socketTimeout=t,r._resetTimers(!1)};V.prototype.flushHeaders=function(){};V.prototype.setNoDelay=function(){};V.prototype.setSocketKeepAlive=function(){};var nc=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"]});var Do=y((Sd,qo)=>{qo.exports=oc;var ic=Object.prototype.hasOwnProperty;function oc(){for(var t={},e=0;e<arguments.length;e++){var r=arguments[e];for(var n in r)ic.call(r,n)&&(t[n]=r[n])}return t}});var ko=y((xd,Uo)=>{Uo.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}});var $o=y((nt,it)=>{(function(t){var e=typeof nt=="object"&&nt&&!nt.nodeType&&nt,r=typeof it=="object"&&it&&!it.nodeType&&it,n=typeof global=="object"&&global;(n.global===n||n.window===n||n.self===n)&&(t=n);var i,o=2147483647,a=36,f=1,u=26,s=38,h=700,p=72,c=128,d="-",m=/^xn--/,A=/[^\x20-\x7E]/,_=/[\x2E\u3002\uFF0E\uFF61]/g,P={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},w=a-f,g=Math.floor,O=String.fromCharCode,B;function I(v){throw new RangeError(P[v])}function X(v,b){for(var x=v.length,M=[];x--;)M[x]=b(v[x]);return M}function j(v,b){var x=v.split("@"),M="";x.length>1&&(M=x[0]+"@",v=x[1]),v=v.replace(_,".");var N=v.split("."),z=X(N,b).join(".");return M+z}function L(v){for(var b=[],x=0,M=v.length,N,z;x<M;)N=v.charCodeAt(x++),N>=55296&&N<=56319&&x<M?(z=v.charCodeAt(x++),(z&64512)==56320?b.push(((N&1023)<<10)+(z&1023)+65536):(b.push(N),x--)):b.push(N);return b}function U(v){return X(v,function(b){var x="";return b>65535&&(b-=65536,x+=O(b>>>10&1023|55296),b=56320|b&1023),x+=O(b),x}).join("")}function se(v){return v-48<10?v-22:v-65<26?v-65:v-97<26?v-97:a}function oe(v,b){return v+22+75*(v<26)-((b!=0)<<5)}function q(v,b,x){var M=0;for(v=x?g(v/h):v>>1,v+=g(v/b);v>w*u>>1;M+=a)v=g(v/w);return g(M+(w+1)*v/(v+s))}function K(v){var b=[],x=v.length,M,N=0,z=c,W=p,Q,ae,le,ve,G,Z,fe,_e,Ce;for(Q=v.lastIndexOf(d),Q<0&&(Q=0),ae=0;ae<Q;++ae)v.charCodeAt(ae)>=128&&I("not-basic"),b.push(v.charCodeAt(ae));for(le=Q>0?Q+1:0;le<x;){for(ve=N,G=1,Z=a;le>=x&&I("invalid-input"),fe=se(v.charCodeAt(le++)),(fe>=a||fe>g((o-N)/G))&&I("overflow"),N+=fe*G,_e=Z<=W?f:Z>=W+u?u:Z-W,!(fe<_e);Z+=a)Ce=a-_e,G>g(o/Ce)&&I("overflow"),G*=Ce;M=b.length+1,W=q(N-ve,M,ve==0),g(N/M)>o-z&&I("overflow"),z+=g(N/M),N%=M,b.splice(N++,0,z)}return U(b)}function H(v){var b,x,M,N,z,W,Q,ae,le,ve,G,Z=[],fe,_e,Ce,br;for(v=L(v),fe=v.length,b=c,x=0,z=p,W=0;W<fe;++W)G=v[W],G<128&&Z.push(O(G));for(M=N=Z.length,N&&Z.push(d);M<fe;){for(Q=o,W=0;W<fe;++W)G=v[W],G>=b&&G<Q&&(Q=G);for(_e=M+1,Q-b>g((o-x)/_e)&&I("overflow"),x+=(Q-b)*_e,b=Q,W=0;W<fe;++W)if(G=v[W],G<b&&++x>o&&I("overflow"),G==b){for(ae=x,le=a;ve=le<=z?f:le>=z+u?u:le-z,!(ae<ve);le+=a)br=ae-ve,Ce=a-ve,Z.push(O(oe(ve+br%Ce,0))),ae=g(br/Ce);Z.push(O(oe(ae,0))),z=q(x,_e,M==N),x=0,++M}++x,++b}return Z.join("")}function J(v){return j(v,function(b){return m.test(b)?K(b.slice(4).toLowerCase()):b})}function Me(v){return j(v,function(b){return A.test(b)?"xn--"+H(b):b})}if(i={version:"1.4.1",ucs2:{decode:L,encode:U},decode:K,encode:H,toASCII:Me,toUnicode:J},typeof define=="function"&&typeof define.amd=="object"&&define.amd)define("punycode",function(){return i});else if(e&&r)if(it.exports==e)r.exports=i;else for(B in i)i.hasOwnProperty(B)&&(e[B]=i[B]);else t.punycode=i})(nt)});var je=y((Rd,Wo)=>{"use strict";Wo.exports=TypeError});var jo=y(()=>{});var It=y((Od,sa)=>{var Tn=typeof Map=="function"&&Map.prototype,vn=Object.getOwnPropertyDescriptor&&Tn?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,fr=Tn&&vn&&typeof vn.get=="function"?vn.get:null,Ho=Tn&&Map.prototype.forEach,On=typeof Set=="function"&&Set.prototype,wn=Object.getOwnPropertyDescriptor&&On?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,ur=On&&wn&&typeof wn.get=="function"?wn.get:null,Go=On&&Set.prototype.forEach,ac=typeof WeakMap=="function"&&WeakMap.prototype,At=ac?WeakMap.prototype.has:null,fc=typeof WeakSet=="function"&&WeakSet.prototype,Tt=fc?WeakSet.prototype.has:null,uc=typeof WeakRef=="function"&&WeakRef.prototype,Vo=uc?WeakRef.prototype.deref:null,sc=Boolean.prototype.valueOf,lc=Object.prototype.toString,cc=Function.prototype.toString,hc=String.prototype.match,In=String.prototype.slice,Be=String.prototype.replace,pc=String.prototype.toUpperCase,Ko=String.prototype.toLowerCase,ra=RegExp.prototype.test,zo=Array.prototype.concat,ye=Array.prototype.join,dc=Array.prototype.slice,Yo=Math.floor,_n=typeof BigInt=="function"?BigInt.prototype.valueOf:null,bn=Object.getOwnPropertySymbols,Sn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,ot=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Ot=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===ot||!0)?Symbol.toStringTag:null,na=Object.prototype.propertyIsEnumerable,Xo=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function Qo(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||ra.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var n=t<0?-Yo(-t):Yo(t);if(n!==t){var i=String(n),o=In.call(e,i.length+1);return Be.call(i,r,"$&_")+"."+Be.call(Be.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Be.call(e,r,"$&_")}var xn=jo(),Jo=xn.custom,Zo=aa(Jo)?Jo:null,ia={__proto__:null,double:'"',single:"'"},yc={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};sa.exports=function t(e,r,n,i){var o=r||{};if(Ee(o,"quoteStyle")&&!Ee(ia,o.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Ee(o,"maxStringLength")&&(typeof o.maxStringLength=="number"?o.maxStringLength<0&&o.maxStringLength!==1/0:o.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=Ee(o,"customInspect")?o.customInspect:!0;if(typeof a!="boolean"&&a!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Ee(o,"indent")&&o.indent!==null&&o.indent!==" "&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Ee(o,"numericSeparator")&&typeof o.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var f=o.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return ua(e,o);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var u=String(e);return f?Qo(e,u):u}if(typeof e=="bigint"){var s=String(e)+"n";return f?Qo(e,s):s}var h=typeof o.depth>"u"?5:o.depth;if(typeof n>"u"&&(n=0),n>=h&&h>0&&typeof e=="object")return Rn(e)?"[Array]":"[Object]";var p=Cc(o,n);if(typeof i>"u")i=[];else if(fa(i,e)>=0)return"[Circular]";function c(q,K,H){if(K&&(i=dc.call(i),i.push(K)),H){var J={depth:o.depth};return Ee(o,"quoteStyle")&&(J.quoteStyle=o.quoteStyle),t(q,J,n+1,i)}return t(q,o,n+1,i)}if(typeof e=="function"&&!ea(e)){var d=xc(e),m=ar(e,c);return"[Function"+(d?": "+d:" (anonymous)")+"]"+(m.length>0?" { "+ye.call(m,", ")+" }":"")}if(aa(e)){var A=ot?Be.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):Sn.call(e);return typeof e=="object"&&!ot?Rt(A):A}if(Bc(e)){for(var _="<"+Ko.call(String(e.nodeName)),P=e.attributes||[],w=0;w<P.length;w++)_+=" "+P[w].name+"="+oa(gc(P[w].value),"double",o);return _+=">",e.childNodes&&e.childNodes.length&&(_+="..."),_+="</"+Ko.call(String(e.nodeName))+">",_}if(Rn(e)){if(e.length===0)return"[]";var g=ar(e,c);return p&&!Mc(g)?"["+An(g,p)+"]":"[ "+ye.call(g,", ")+" ]"}if(vc(e)){var O=ar(e,c);return!("cause"in Error.prototype)&&"cause"in e&&!na.call(e,"cause")?"{ ["+String(e)+"] "+ye.call(zo.call("[cause]: "+c(e.cause),O),", ")+" }":O.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+ye.call(O,", ")+" }"}if(typeof e=="object"&&a){if(Zo&&typeof e[Zo]=="function"&&xn)return xn(e,{depth:h-n});if(a!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(Rc(e)){var B=[];return Ho&&Ho.call(e,function(q,K){B.push(c(K,e,!0)+" => "+c(q,e))}),ta("Map",fr.call(e),B,p)}if(Oc(e)){var I=[];return Go&&Go.call(e,function(q){I.push(c(q,e))}),ta("Set",ur.call(e),I,p)}if(Ac(e))return En("WeakMap");if(Ic(e))return En("WeakSet");if(Tc(e))return En("WeakRef");if(bc(e))return Rt(c(Number(e)));if(_c(e))return Rt(c(_n.call(e)));if(Ec(e))return Rt(sc.call(e));if(wc(e))return Rt(c(String(e)));if(typeof window<"u"&&e===window)return"{ [object Window] }";if(typeof globalThis<"u"&&e===globalThis||typeof global<"u"&&e===global)return"{ [object globalThis] }";if(!mc(e)&&!ea(e)){var X=ar(e,c),j=Xo?Xo(e)===Object.prototype:e instanceof Object||e.constructor===Object,L=e instanceof Object?"":"null prototype",U=!j&&Ot&&Object(e)===e&&Ot in e?In.call(Pe(e),8,-1):L?"Object":"",se=j||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",oe=se+(U||L?"["+ye.call(zo.call([],U||[],L||[]),": ")+"] ":"");return X.length===0?oe+"{}":p?oe+"{"+An(X,p)+"}":oe+"{ "+ye.call(X,", ")+" }"}return String(e)};function oa(t,e,r){var n=r.quoteStyle||e,i=ia[n];return i+t+i}function gc(t){return Be.call(String(t),/"/g,"&quot;")}function He(t){return!Ot||!(typeof t=="object"&&(Ot in t||typeof t[Ot]<"u"))}function Rn(t){return Pe(t)==="[object Array]"&&He(t)}function mc(t){return Pe(t)==="[object Date]"&&He(t)}function ea(t){return Pe(t)==="[object RegExp]"&&He(t)}function vc(t){return Pe(t)==="[object Error]"&&He(t)}function wc(t){return Pe(t)==="[object String]"&&He(t)}function bc(t){return Pe(t)==="[object Number]"&&He(t)}function Ec(t){return Pe(t)==="[object Boolean]"&&He(t)}function aa(t){if(ot)return t&&typeof t=="object"&&t instanceof Symbol;if(typeof t=="symbol")return!0;if(!t||typeof t!="object"||!Sn)return!1;try{return Sn.call(t),!0}catch(e){}return!1}function _c(t){if(!t||typeof t!="object"||!_n)return!1;try{return _n.call(t),!0}catch(e){}return!1}var Sc=Object.prototype.hasOwnProperty||function(t){return t in this};function Ee(t,e){return Sc.call(t,e)}function Pe(t){return lc.call(t)}function xc(t){if(t.name)return t.name;var e=hc.call(cc.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function fa(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function Rc(t){if(!fr||!t||typeof t!="object")return!1;try{fr.call(t);try{ur.call(t)}catch(e){return!0}return t instanceof Map}catch(e){}return!1}function Ac(t){if(!At||!t||typeof t!="object")return!1;try{At.call(t,At);try{Tt.call(t,Tt)}catch(e){return!0}return t instanceof WeakMap}catch(e){}return!1}function Tc(t){if(!Vo||!t||typeof t!="object")return!1;try{return Vo.call(t),!0}catch(e){}return!1}function Oc(t){if(!ur||!t||typeof t!="object")return!1;try{ur.call(t);try{fr.call(t)}catch(e){return!0}return t instanceof Set}catch(e){}return!1}function Ic(t){if(!Tt||!t||typeof t!="object")return!1;try{Tt.call(t,Tt);try{At.call(t,At)}catch(e){return!0}return t instanceof WeakSet}catch(e){}return!1}function Bc(t){return!t||typeof t!="object"?!1:typeof HTMLElement<"u"&&t instanceof HTMLElement?!0:typeof t.nodeName=="string"&&typeof t.getAttribute=="function"}function ua(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return ua(In.call(t,0,e.maxStringLength),e)+n}var i=yc[e.quoteStyle||"single"];i.lastIndex=0;var o=Be.call(Be.call(t,i,"\\$1"),/[\x00-\x1f]/g,Pc);return oa(o,"single",e)}function Pc(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+pc.call(e.toString(16))}function Rt(t){return"Object("+t+")"}function En(t){return t+" { ? }"}function ta(t,e,r,n){var i=n?An(r,n):ye.call(r,", ");return t+" ("+e+") {"+i+"}"}function Mc(t){for(var e=0;e<t.length;e++)if(fa(t[e],"\n")>=0)return!1;return!0}function Cc(t,e){var r;if(t.indent===" ")r=" ";else if(typeof t.indent=="number"&&t.indent>0)r=ye.call(Array(t.indent+1)," ");else return null;return{base:r,prev:ye.call(Array(e+1),r)}}function An(t,e){if(t.length===0)return"";var r="\n"+e.prev+e.base;return r+ye.call(t,","+r)+"\n"+e.prev}function ar(t,e){var r=Rn(t),n=[];if(r){n.length=t.length;for(var i=0;i<t.length;i++)n[i]=Ee(t,i)?e(t[i],t):""}var o=typeof bn=="function"?bn(t):[],a;if(ot){a={};for(var f=0;f<o.length;f++)a["$"+o[f]]=o[f]}for(var u in t)Ee(t,u)&&(r&&String(Number(u))===u&&u<t.length||ot&&a["$"+u]instanceof Symbol||(ra.call(/[^\w$]/,u)?n.push(e(u,t)+": "+e(t[u],t)):n.push(u+": "+e(t[u],t))));if(typeof bn=="function")for(var s=0;s<o.length;s++)na.call(t,o[s])&&n.push("["+e(o[s])+"]: "+e(t[o[s]],t));return n}});var ca=y((Id,la)=>{"use strict";var Fc=It(),Lc=je(),sr=function(t,e,r){for(var n=t,i;(i=n.next)!=null;n=i)if(i.key===e)return n.next=i.next,r||(i.next=t.next,t.next=i),i},Nc=function(t,e){if(t){var r=sr(t,e);return r&&r.value}},qc=function(t,e,r){var n=sr(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}},Dc=function(t,e){return t?!!sr(t,e):!1},Uc=function(t,e){if(t)return sr(t,e,!0)};la.exports=function(){var e,r={assert:function(n){if(!r.has(n))throw new Lc("Side channel does not contain "+Fc(n))},delete:function(n){var i=e&&e.next,o=Uc(e,n);return o&&i&&i===o&&(e=void 0),!!o},get:function(n){return Nc(e,n)},has:function(n){return Dc(e,n)},set:function(n,i){e||(e={next:void 0}),qc(e,n,i)}};return r}});var Bn=y((Bd,ha)=>{"use strict";ha.exports=Object});var da=y((Pd,pa)=>{"use strict";pa.exports=Error});var ga=y((Md,ya)=>{"use strict";ya.exports=EvalError});var va=y((Cd,ma)=>{"use strict";ma.exports=RangeError});var ba=y((Fd,wa)=>{"use strict";wa.exports=ReferenceError});var _a=y((Ld,Ea)=>{"use strict";Ea.exports=SyntaxError});var xa=y((Nd,Sa)=>{"use strict";Sa.exports=URIError});var Aa=y((qd,Ra)=>{"use strict";Ra.exports=Math.abs});var Oa=y((Dd,Ta)=>{"use strict";Ta.exports=Math.floor});var Ba=y((Ud,Ia)=>{"use strict";Ia.exports=Math.max});var Ma=y((kd,Pa)=>{"use strict";Pa.exports=Math.min});var Fa=y(($d,Ca)=>{"use strict";Ca.exports=Math.pow});var Na=y((Wd,La)=>{"use strict";La.exports=Math.round});var Da=y((jd,qa)=>{"use strict";qa.exports=Number.isNaN||function(e){return e!==e}});var ka=y((Hd,Ua)=>{"use strict";var kc=Da();Ua.exports=function(e){return kc(e)||e===0?e:e<0?-1:1}});var Wa=y((Gd,$a)=>{"use strict";$a.exports=Object.getOwnPropertyDescriptor});var Pn=y((Vd,ja)=>{"use strict";var lr=Wa();if(lr)try{lr([],"length")}catch(t){lr=null}ja.exports=lr});var Ga=y((Kd,Ha)=>{"use strict";var cr=Object.defineProperty||!1;if(cr)try{cr({},"a",{value:1})}catch(t){cr=!1}Ha.exports=cr});var Ka=y((zd,Va)=>{"use strict";Va.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;e[r]=i;for(var o in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==r||!Object.prototype.propertyIsEnumerable.call(e,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var f=Object.getOwnPropertyDescriptor(e,r);if(f.value!==i||f.enumerable!==!0)return!1}return!0}});var Xa=y((Yd,Ya)=>{"use strict";var za=typeof Symbol<"u"&&Symbol,$c=Ka();Ya.exports=function(){return typeof za!="function"||typeof Symbol!="function"||typeof za("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:$c()}});var Mn=y((Xd,Qa)=>{"use strict";Qa.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var Cn=y((Qd,Ja)=>{"use strict";var Wc=Bn();Ja.exports=Wc.getPrototypeOf||null});var tf=y((Jd,ef)=>{"use strict";var jc="Function.prototype.bind called on incompatible ",Hc=Object.prototype.toString,Gc=Math.max,Vc="[object Function]",Za=function(e,r){for(var n=[],i=0;i<e.length;i+=1)n[i]=e[i];for(var o=0;o<r.length;o+=1)n[o+e.length]=r[o];return n},Kc=function(e,r){for(var n=[],i=r||0,o=0;i<e.length;i+=1,o+=1)n[o]=e[i];return n},zc=function(t,e){for(var r="",n=0;n<t.length;n+=1)r+=t[n],n+1<t.length&&(r+=e);return r};ef.exports=function(e){var r=this;if(typeof r!="function"||Hc.apply(r)!==Vc)throw new TypeError(jc+r);for(var n=Kc(arguments,1),i,o=function(){if(this instanceof i){var h=r.apply(this,Za(n,arguments));return Object(h)===h?h:this}return r.apply(e,Za(n,arguments))},a=Gc(0,r.length-n.length),f=[],u=0;u<a;u++)f[u]="$"+u;if(i=Function("binder","return function ("+zc(f,",")+"){ return binder.apply(this,arguments); }")(o),r.prototype){var s=function(){};s.prototype=r.prototype,i.prototype=new s,s.prototype=null}return i}});var Bt=y((Zd,rf)=>{"use strict";var Yc=tf();rf.exports=Function.prototype.bind||Yc});var hr=y((ey,nf)=>{"use strict";nf.exports=Function.prototype.call});var Fn=y((ty,of)=>{"use strict";of.exports=Function.prototype.apply});var ff=y((ry,af)=>{"use strict";af.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var sf=y((ny,uf)=>{"use strict";var Xc=Bt(),Qc=Fn(),Jc=hr(),Zc=ff();uf.exports=Zc||Xc.call(Jc,Qc)});var Ln=y((iy,lf)=>{"use strict";var eh=Bt(),th=je(),rh=hr(),nh=sf();lf.exports=function(e){if(e.length<1||typeof e[0]!="function")throw new th("a function is required");return nh(eh,rh,e)}});var gf=y((oy,yf)=>{"use strict";var ih=Ln(),cf=Pn(),pf;try{pf=[].__proto__===Array.prototype}catch(t){if(!t||typeof t!="object"||!("code"in t)||t.code!=="ERR_PROTO_ACCESS")throw t}var Nn=!!pf&&cf&&cf(Object.prototype,"__proto__"),df=Object,hf=df.getPrototypeOf;yf.exports=Nn&&typeof Nn.get=="function"?ih([Nn.get]):typeof hf=="function"?function(e){return hf(e==null?e:df(e))}:!1});var Ef=y((ay,bf)=>{"use strict";var mf=Mn(),vf=Cn(),wf=gf();bf.exports=mf?function(e){return mf(e)}:vf?function(e){if(!e||typeof e!="object"&&typeof e!="function")throw new TypeError("getProto: not an object");return vf(e)}:wf?function(e){return wf(e)}:null});var Sf=y((fy,_f)=>{"use strict";var oh=Function.prototype.call,ah=Object.prototype.hasOwnProperty,fh=Bt();_f.exports=fh.call(oh,ah)});var yr=y((uy,If)=>{"use strict";var S,uh=Bn(),sh=da(),lh=ga(),ch=va(),hh=ba(),st=_a(),ut=je(),ph=xa(),dh=Aa(),yh=Oa(),gh=Ba(),mh=Ma(),vh=Fa(),wh=Na(),bh=ka(),Tf=Function,qn=function(t){try{return Tf('"use strict"; return ('+t+").constructor;")()}catch(e){}},Pt=Pn(),Eh=Ga(),Dn=function(){throw new ut},_h=Pt?function(){try{return arguments.callee,Dn}catch(t){try{return Pt(arguments,"callee").get}catch(e){return Dn}}}():Dn,at=Xa()(),$=Ef(),Sh=Cn(),xh=Mn(),Of=Fn(),Mt=hr(),ft={},Rh=typeof Uint8Array>"u"||!$?S:$(Uint8Array),Ge={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?S:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?S:ArrayBuffer,"%ArrayIteratorPrototype%":at&&$?$([][Symbol.iterator]()):S,"%AsyncFromSyncIteratorPrototype%":S,"%AsyncFunction%":ft,"%AsyncGenerator%":ft,"%AsyncGeneratorFunction%":ft,"%AsyncIteratorPrototype%":ft,"%Atomics%":typeof Atomics>"u"?S:Atomics,"%BigInt%":typeof BigInt>"u"?S:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?S:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?S:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?S:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":sh,"%eval%":eval,"%EvalError%":lh,"%Float32Array%":typeof Float32Array>"u"?S:Float32Array,"%Float64Array%":typeof Float64Array>"u"?S:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?S:FinalizationRegistry,"%Function%":Tf,"%GeneratorFunction%":ft,"%Int8Array%":typeof Int8Array>"u"?S:Int8Array,"%Int16Array%":typeof Int16Array>"u"?S:Int16Array,"%Int32Array%":typeof Int32Array>"u"?S:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":at&&$?$($([][Symbol.iterator]())):S,"%JSON%":typeof JSON=="object"?JSON:S,"%Map%":typeof Map>"u"?S:Map,"%MapIteratorPrototype%":typeof Map>"u"||!at||!$?S:$(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":uh,"%Object.getOwnPropertyDescriptor%":Pt,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?S:Promise,"%Proxy%":typeof Proxy>"u"?S:Proxy,"%RangeError%":ch,"%ReferenceError%":hh,"%Reflect%":typeof Reflect>"u"?S:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?S:Set,"%SetIteratorPrototype%":typeof Set>"u"||!at||!$?S:$(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?S:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":at&&$?$(""[Symbol.iterator]()):S,"%Symbol%":at?Symbol:S,"%SyntaxError%":st,"%ThrowTypeError%":_h,"%TypedArray%":Rh,"%TypeError%":ut,"%Uint8Array%":typeof Uint8Array>"u"?S:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?S:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?S:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?S:Uint32Array,"%URIError%":ph,"%WeakMap%":typeof WeakMap>"u"?S:WeakMap,"%WeakRef%":typeof WeakRef>"u"?S:WeakRef,"%WeakSet%":typeof WeakSet>"u"?S:WeakSet,"%Function.prototype.call%":Mt,"%Function.prototype.apply%":Of,"%Object.defineProperty%":Eh,"%Object.getPrototypeOf%":Sh,"%Math.abs%":dh,"%Math.floor%":yh,"%Math.max%":gh,"%Math.min%":mh,"%Math.pow%":vh,"%Math.round%":wh,"%Math.sign%":bh,"%Reflect.getPrototypeOf%":xh};if($)try{null.error}catch(t){xf=$($(t)),Ge["%Error.prototype%"]=xf}var xf,Ah=function t(e){var r;if(e==="%AsyncFunction%")r=qn("async function () {}");else if(e==="%GeneratorFunction%")r=qn("function* () {}");else if(e==="%AsyncGeneratorFunction%")r=qn("async function* () {}");else if(e==="%AsyncGenerator%"){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var i=t("%AsyncGenerator%");i&&$&&(r=$(i.prototype))}return Ge[e]=r,r},Rf={__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"]},Ct=Bt(),pr=Sf(),Th=Ct.call(Mt,Array.prototype.concat),Oh=Ct.call(Of,Array.prototype.splice),Af=Ct.call(Mt,String.prototype.replace),dr=Ct.call(Mt,String.prototype.slice),Ih=Ct.call(Mt,RegExp.prototype.exec),Bh=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Ph=/\\(\\)?/g,Mh=function(e){var r=dr(e,0,1),n=dr(e,-1);if(r==="%"&&n!=="%")throw new st("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new st("invalid intrinsic syntax, expected opening `%`");var i=[];return Af(e,Bh,function(o,a,f,u){i[i.length]=f?Af(u,Ph,"$1"):a||o}),i},Ch=function(e,r){var n=e,i;if(pr(Rf,n)&&(i=Rf[n],n="%"+i[0]+"%"),pr(Ge,n)){var o=Ge[n];if(o===ft&&(o=Ah(n)),typeof o>"u"&&!r)throw new ut("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:o}}throw new st("intrinsic "+e+" does not exist!")};If.exports=function(e,r){if(typeof e!="string"||e.length===0)throw new ut("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new ut('"allowMissing" argument must be a boolean');if(Ih(/^%?[^%]*%?$/,e)===null)throw new st("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Mh(e),i=n.length>0?n[0]:"",o=Ch("%"+i+"%",r),a=o.name,f=o.value,u=!1,s=o.alias;s&&(i=s[0],Oh(n,Th([0,1],s)));for(var h=1,p=!0;h<n.length;h+=1){var c=n[h],d=dr(c,0,1),m=dr(c,-1);if((d==='"'||d==="'"||d==="`"||m==='"'||m==="'"||m==="`")&&d!==m)throw new st("property names with quotes must have matching quotes");if((c==="constructor"||!p)&&(u=!0),i+="."+c,a="%"+i+"%",pr(Ge,a))f=Ge[a];else if(f!=null){if(!(c in f)){if(!r)throw new ut("base intrinsic for "+e+" exists, but the property is not available.");return}if(Pt&&h+1>=n.length){var A=Pt(f,c);p=!!A,p&&"get"in A&&!("originalValue"in A.get)?f=A.get:f=f[c]}else p=pr(f,c),f=f[c];p&&!u&&(Ge[a]=f)}}return f}});var Un=y((sy,Mf)=>{"use strict";var Bf=yr(),Pf=Ln(),Fh=Pf([Bf("%String.prototype.indexOf%")]);Mf.exports=function(e,r){var n=Bf(e,!!r);return typeof n=="function"&&Fh(e,".prototype.")>-1?Pf([n]):n}});var kn=y((ly,Ff)=>{"use strict";var Lh=yr(),Ft=Un(),Nh=It(),qh=je(),Cf=Lh("%Map%",!0),Dh=Ft("Map.prototype.get",!0),Uh=Ft("Map.prototype.set",!0),kh=Ft("Map.prototype.has",!0),$h=Ft("Map.prototype.delete",!0),Wh=Ft("Map.prototype.size",!0);Ff.exports=!!Cf&&function(){var e,r={assert:function(n){if(!r.has(n))throw new qh("Side channel does not contain "+Nh(n))},delete:function(n){if(e){var i=$h(e,n);return Wh(e)===0&&(e=void 0),i}return!1},get:function(n){if(e)return Dh(e,n)},has:function(n){return e?kh(e,n):!1},set:function(n,i){e||(e=new Cf),Uh(e,n,i)}};return r}});var Nf=y((cy,Lf)=>{"use strict";var jh=yr(),mr=Un(),Hh=It(),gr=kn(),Gh=je(),lt=jh("%WeakMap%",!0),Vh=mr("WeakMap.prototype.get",!0),Kh=mr("WeakMap.prototype.set",!0),zh=mr("WeakMap.prototype.has",!0),Yh=mr("WeakMap.prototype.delete",!0);Lf.exports=lt?function(){var e,r,n={assert:function(i){if(!n.has(i))throw new Gh("Side channel does not contain "+Hh(i))},delete:function(i){if(lt&&i&&(typeof i=="object"||typeof i=="function")){if(e)return Yh(e,i)}else if(gr&&r)return r.delete(i);return!1},get:function(i){return lt&&i&&(typeof i=="object"||typeof i=="function")&&e?Vh(e,i):r&&r.get(i)},has:function(i){return lt&&i&&(typeof i=="object"||typeof i=="function")&&e?zh(e,i):!!r&&r.has(i)},set:function(i,o){lt&&i&&(typeof i=="object"||typeof i=="function")?(e||(e=new lt),Kh(e,i,o)):gr&&(r||(r=gr()),r.set(i,o))}};return n}:gr});var Df=y((hy,qf)=>{"use strict";var Xh=je(),Qh=It(),Jh=ca(),Zh=kn(),ep=Nf(),tp=ep||Zh||Jh;qf.exports=function(){var e,r={assert:function(n){if(!r.has(n))throw new Xh("Side channel does not contain "+Qh(n))},delete:function(n){return!!e&&e.delete(n)},get:function(n){return e&&e.get(n)},has:function(n){return!!e&&e.has(n)},set:function(n,i){e||(e=tp()),e.set(n,i)}};return r}});var vr=y((py,Uf)=>{"use strict";var rp=String.prototype.replace,np=/%20/g,$n={RFC1738:"RFC1738",RFC3986:"RFC3986"};Uf.exports={default:$n.RFC3986,formatters:{RFC1738:function(t){return rp.call(t,np,"+")},RFC3986:function(t){return String(t)}},RFC1738:$n.RFC1738,RFC3986:$n.RFC3986}});var Hn=y((dy,$f)=>{"use strict";var ip=vr(),Wn=Object.prototype.hasOwnProperty,Ve=Array.isArray,ge=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),op=function(e){for(;e.length>1;){var r=e.pop(),n=r.obj[r.prop];if(Ve(n)){for(var i=[],o=0;o<n.length;++o)typeof n[o]<"u"&&i.push(n[o]);r.obj[r.prop]=i}}},kf=function(e,r){for(var n=r&&r.plainObjects?{__proto__:null}:{},i=0;i<e.length;++i)typeof e[i]<"u"&&(n[i]=e[i]);return n},ap=function t(e,r,n){if(!r)return e;if(typeof r!="object"&&typeof r!="function"){if(Ve(e))e.push(r);else if(e&&typeof e=="object")(n&&(n.plainObjects||n.allowPrototypes)||!Wn.call(Object.prototype,r))&&(e[r]=!0);else return[e,r];return e}if(!e||typeof e!="object")return[e].concat(r);var i=e;return Ve(e)&&!Ve(r)&&(i=kf(e,n)),Ve(e)&&Ve(r)?(r.forEach(function(o,a){if(Wn.call(e,a)){var f=e[a];f&&typeof f=="object"&&o&&typeof o=="object"?e[a]=t(f,o,n):e.push(o)}else e[a]=o}),e):Object.keys(r).reduce(function(o,a){var f=r[a];return Wn.call(o,a)?o[a]=t(o[a],f,n):o[a]=f,o},i)},fp=function(e,r){return Object.keys(r).reduce(function(n,i){return n[i]=r[i],n},e)},up=function(t,e,r){var n=t.replace(/\+/g," ");if(r==="iso-8859-1")return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(i){return n}},jn=1024,sp=function(e,r,n,i,o){if(e.length===0)return e;var a=e;if(typeof e=="symbol"?a=Symbol.prototype.toString.call(e):typeof e!="string"&&(a=String(e)),n==="iso-8859-1")return escape(a).replace(/%u[0-9a-f]{4}/gi,function(d){return"%26%23"+parseInt(d.slice(2),16)+"%3B"});for(var f="",u=0;u<a.length;u+=jn){for(var s=a.length>=jn?a.slice(u,u+jn):a,h=[],p=0;p<s.length;++p){var c=s.charCodeAt(p);if(c===45||c===46||c===95||c===126||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||o===ip.RFC1738&&(c===40||c===41)){h[h.length]=s.charAt(p);continue}if(c<128){h[h.length]=ge[c];continue}if(c<2048){h[h.length]=ge[192|c>>6]+ge[128|c&63];continue}if(c<55296||c>=57344){h[h.length]=ge[224|c>>12]+ge[128|c>>6&63]+ge[128|c&63];continue}p+=1,c=65536+((c&1023)<<10|s.charCodeAt(p)&1023),h[h.length]=ge[240|c>>18]+ge[128|c>>12&63]+ge[128|c>>6&63]+ge[128|c&63]}f+=h.join("")}return f},lp=function(e){for(var r=[{obj:{o:e},prop:"o"}],n=[],i=0;i<r.length;++i)for(var o=r[i],a=o.obj[o.prop],f=Object.keys(a),u=0;u<f.length;++u){var s=f[u],h=a[s];typeof h=="object"&&h!==null&&n.indexOf(h)===-1&&(r.push({obj:a,prop:s}),n.push(h))}return op(r),e},cp=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"},hp=function(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},pp=function(e,r){return[].concat(e,r)},dp=function(e,r){if(Ve(e)){for(var n=[],i=0;i<e.length;i+=1)n.push(r(e[i]));return n}return r(e)};$f.exports={arrayToObject:kf,assign:fp,combine:pp,compact:lp,decode:up,encode:sp,isBuffer:hp,isRegExp:cp,maybeMap:dp,merge:ap}});var Kf=y((yy,Vf)=>{"use strict";var jf=Df(),wr=Hn(),Lt=vr(),yp=Object.prototype.hasOwnProperty,Hf={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,r){return e+"["+r+"]"},repeat:function(e){return e}},me=Array.isArray,gp=Array.prototype.push,Gf=function(t,e){gp.apply(t,me(e)?e:[e])},mp=Date.prototype.toISOString,Wf=Lt.default,D={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:wr.encode,encodeValuesOnly:!1,filter:void 0,format:Wf,formatter:Lt.formatters[Wf],indices:!1,serializeDate:function(e){return mp.call(e)},skipNulls:!1,strictNullHandling:!1},vp=function(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"},Gn={},wp=function t(e,r,n,i,o,a,f,u,s,h,p,c,d,m,A,_,P,w){for(var g=e,O=w,B=0,I=!1;(O=O.get(Gn))!==void 0&&!I;){var X=O.get(e);if(B+=1,typeof X<"u"){if(X===B)throw new RangeError("Cyclic object value");I=!0}typeof O.get(Gn)>"u"&&(B=0)}if(typeof h=="function"?g=h(r,g):g instanceof Date?g=d(g):n==="comma"&&me(g)&&(g=wr.maybeMap(g,function(x){return x instanceof Date?d(x):x})),g===null){if(a)return s&&!_?s(r,D.encoder,P,"key",m):r;g=""}if(vp(g)||wr.isBuffer(g)){if(s){var j=_?r:s(r,D.encoder,P,"key",m);return[A(j)+"="+A(s(g,D.encoder,P,"value",m))]}return[A(r)+"="+A(String(g))]}var L=[];if(typeof g>"u")return L;var U;if(n==="comma"&&me(g))_&&s&&(g=wr.maybeMap(g,s)),U=[{value:g.length>0?g.join(",")||null:void 0}];else if(me(h))U=h;else{var se=Object.keys(g);U=p?se.sort(p):se}var oe=u?String(r).replace(/\./g,"%2E"):String(r),q=i&&me(g)&&g.length===1?oe+"[]":oe;if(o&&me(g)&&g.length===0)return q+"[]";for(var K=0;K<U.length;++K){var H=U[K],J=typeof H=="object"&&H&&typeof H.value<"u"?H.value:g[H];if(!(f&&J===null)){var Me=c&&u?String(H).replace(/\./g,"%2E"):String(H),v=me(g)?typeof n=="function"?n(q,Me):q:q+(c?"."+Me:"["+Me+"]");w.set(e,B);var b=jf();b.set(Gn,w),Gf(L,t(J,v,n,i,o,a,f,u,n==="comma"&&_&&me(g)?null:s,h,p,c,d,m,A,_,P,b))}}return L},bp=function(e){if(!e)return D;if(typeof e.allowEmptyArrays<"u"&&typeof e.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof e.encodeDotInKeys<"u"&&typeof e.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(e.encoder!==null&&typeof e.encoder<"u"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");var r=e.charset||D.charset;if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=Lt.default;if(typeof e.format<"u"){if(!yp.call(Lt.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var i=Lt.formatters[n],o=D.filter;(typeof e.filter=="function"||me(e.filter))&&(o=e.filter);var a;if(e.arrayFormat in Hf?a=e.arrayFormat:"indices"in e?a=e.indices?"indices":"repeat":a=D.arrayFormat,"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var f=typeof e.allowDots>"u"?e.encodeDotInKeys===!0?!0:D.allowDots:!!e.allowDots;return{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:D.addQueryPrefix,allowDots:f,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:D.allowEmptyArrays,arrayFormat:a,charset:r,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:D.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:typeof e.delimiter>"u"?D.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:D.encode,encodeDotInKeys:typeof e.encodeDotInKeys=="boolean"?e.encodeDotInKeys:D.encodeDotInKeys,encoder:typeof e.encoder=="function"?e.encoder:D.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:D.encodeValuesOnly,filter:o,format:n,formatter:i,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:D.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:D.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:D.strictNullHandling}};Vf.exports=function(t,e){var r=t,n=bp(e),i,o;typeof n.filter=="function"?(o=n.filter,r=o("",r)):me(n.filter)&&(o=n.filter,i=o);var a=[];if(typeof r!="object"||r===null)return"";var f=Hf[n.arrayFormat],u=f==="comma"&&n.commaRoundTrip;i||(i=Object.keys(r)),n.sort&&i.sort(n.sort);for(var s=jf(),h=0;h<i.length;++h){var p=i[h],c=r[p];n.skipNulls&&c===null||Gf(a,wp(c,p,f,u,n.allowEmptyArrays,n.strictNullHandling,n.skipNulls,n.encodeDotInKeys,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.format,n.formatter,n.encodeValuesOnly,n.charset,s))}var d=a.join(n.delimiter),m=n.addQueryPrefix===!0?"?":"";return n.charsetSentinel&&(n.charset==="iso-8859-1"?m+="utf8=%26%2310003%3B&":m+="utf8=%E2%9C%93&"),d.length>0?m+d:""}});var Qf=y((gy,Xf)=>{"use strict";var Ke=Hn(),Vn=Object.prototype.hasOwnProperty,zf=Array.isArray,F={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:Ke.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},Ep=function(t){return t.replace(/&#(\d+);/g,function(e,r){return String.fromCharCode(parseInt(r,10))})},Yf=function(t,e,r){if(t&&typeof t=="string"&&e.comma&&t.indexOf(",")>-1)return t.split(",");if(e.throwOnLimitExceeded&&r>=e.arrayLimit)throw new RangeError("Array limit exceeded. Only "+e.arrayLimit+" element"+(e.arrayLimit===1?"":"s")+" allowed in an array.");return t},_p="utf8=%26%2310003%3B",Sp="utf8=%E2%9C%93",xp=function(e,r){var n={__proto__:null},i=r.ignoreQueryPrefix?e.replace(/^\?/,""):e;i=i.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var o=r.parameterLimit===1/0?void 0:r.parameterLimit,a=i.split(r.delimiter,r.throwOnLimitExceeded?o+1:o);if(r.throwOnLimitExceeded&&a.length>o)throw new RangeError("Parameter limit exceeded. Only "+o+" parameter"+(o===1?"":"s")+" allowed.");var f=-1,u,s=r.charset;if(r.charsetSentinel)for(u=0;u<a.length;++u)a[u].indexOf("utf8=")===0&&(a[u]===Sp?s="utf-8":a[u]===_p&&(s="iso-8859-1"),f=u,u=a.length);for(u=0;u<a.length;++u)if(u!==f){var h=a[u],p=h.indexOf("]="),c=p===-1?h.indexOf("="):p+1,d,m;c===-1?(d=r.decoder(h,F.decoder,s,"key"),m=r.strictNullHandling?null:""):(d=r.decoder(h.slice(0,c),F.decoder,s,"key"),m=Ke.maybeMap(Yf(h.slice(c+1),r,zf(n[d])?n[d].length:0),function(_){return r.decoder(_,F.decoder,s,"value")})),m&&r.interpretNumericEntities&&s==="iso-8859-1"&&(m=Ep(String(m))),h.indexOf("[]=")>-1&&(m=zf(m)?[m]:m);var A=Vn.call(n,d);A&&r.duplicates==="combine"?n[d]=Ke.combine(n[d],m):(!A||r.duplicates==="last")&&(n[d]=m)}return n},Rp=function(t,e,r,n){var i=0;if(t.length>0&&t[t.length-1]==="[]"){var o=t.slice(0,-1).join("");i=Array.isArray(e)&&e[o]?e[o].length:0}for(var a=n?e:Yf(e,r,i),f=t.length-1;f>=0;--f){var u,s=t[f];if(s==="[]"&&r.parseArrays)u=r.allowEmptyArrays&&(a===""||r.strictNullHandling&&a===null)?[]:Ke.combine([],a);else{u=r.plainObjects?{__proto__:null}:{};var h=s.charAt(0)==="["&&s.charAt(s.length-1)==="]"?s.slice(1,-1):s,p=r.decodeDotInKeys?h.replace(/%2E/g,"."):h,c=parseInt(p,10);!r.parseArrays&&p===""?u={0:a}:!isNaN(c)&&s!==p&&String(c)===p&&c>=0&&r.parseArrays&&c<=r.arrayLimit?(u=[],u[c]=a):p!=="__proto__"&&(u[p]=a)}a=u}return a},Ap=function(e,r,n,i){if(e){var o=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/,f=/(\[[^[\]]*])/g,u=n.depth>0&&a.exec(o),s=u?o.slice(0,u.index):o,h=[];if(s){if(!n.plainObjects&&Vn.call(Object.prototype,s)&&!n.allowPrototypes)return;h.push(s)}for(var p=0;n.depth>0&&(u=f.exec(o))!==null&&p<n.depth;){if(p+=1,!n.plainObjects&&Vn.call(Object.prototype,u[1].slice(1,-1))&&!n.allowPrototypes)return;h.push(u[1])}if(u){if(n.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+n.depth+" and strictDepth is true");h.push("["+o.slice(u.index)+"]")}return Rp(h,r,n,i)}},Tp=function(e){if(!e)return F;if(typeof e.allowEmptyArrays<"u"&&typeof e.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof e.decodeDotInKeys<"u"&&typeof e.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(e.decoder!==null&&typeof e.decoder<"u"&&typeof e.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof e.throwOnLimitExceeded<"u"&&typeof e.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var r=typeof e.charset>"u"?F.charset:e.charset,n=typeof e.duplicates>"u"?F.duplicates:e.duplicates;if(n!=="combine"&&n!=="first"&&n!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var i=typeof e.allowDots>"u"?e.decodeDotInKeys===!0?!0:F.allowDots:!!e.allowDots;return{allowDots:i,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:F.allowEmptyArrays,allowPrototypes:typeof e.allowPrototypes=="boolean"?e.allowPrototypes:F.allowPrototypes,allowSparse:typeof e.allowSparse=="boolean"?e.allowSparse:F.allowSparse,arrayLimit:typeof e.arrayLimit=="number"?e.arrayLimit:F.arrayLimit,charset:r,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:F.charsetSentinel,comma:typeof e.comma=="boolean"?e.comma:F.comma,decodeDotInKeys:typeof e.decodeDotInKeys=="boolean"?e.decodeDotInKeys:F.decodeDotInKeys,decoder:typeof e.decoder=="function"?e.decoder:F.decoder,delimiter:typeof e.delimiter=="string"||Ke.isRegExp(e.delimiter)?e.delimiter:F.delimiter,depth:typeof e.depth=="number"||e.depth===!1?+e.depth:F.depth,duplicates:n,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities=="boolean"?e.interpretNumericEntities:F.interpretNumericEntities,parameterLimit:typeof e.parameterLimit=="number"?e.parameterLimit:F.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects=="boolean"?e.plainObjects:F.plainObjects,strictDepth:typeof e.strictDepth=="boolean"?!!e.strictDepth:F.strictDepth,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:F.strictNullHandling,throwOnLimitExceeded:typeof e.throwOnLimitExceeded=="boolean"?e.throwOnLimitExceeded:!1}};Xf.exports=function(t,e){var r=Tp(e);if(t===""||t===null||typeof t>"u")return r.plainObjects?{__proto__:null}:{};for(var n=typeof t=="string"?xp(t,r):t,i=r.plainObjects?{__proto__:null}:{},o=Object.keys(n),a=0;a<o.length;++a){var f=o[a],u=Ap(f,n[f],r,typeof t=="string");i=Ke.merge(i,u,r)}return r.allowSparse===!0?i:Ke.compact(i)}});var Zf=y((my,Jf)=>{"use strict";var Op=Kf(),Ip=Qf(),Bp=vr();Jf.exports={formats:Bp,parse:Ip,stringify:Op}});var nu=y(ht=>{"use strict";var Pp=$o();function ie(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var Mp=/^([a-z0-9.+-]+:)/i,Cp=/:[0-9]*$/,Fp=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,Lp=["<",">",'"',"`"," ","\r","\n"," "],Np=["{","}","|","\\","^","`"].concat(Lp),Kn=["'"].concat(Np),eu=["%","/","?",";","#"].concat(Kn),tu=["/","?","#"],qp=255,ru=/^[+a-z0-9A-Z_-]{0,63}$/,Dp=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Up={javascript:!0,"javascript:":!0},zn={javascript:!0,"javascript:":!0},ct={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},Yn=Zf();function Nt(t,e,r){if(t&&typeof t=="object"&&t instanceof ie)return t;var n=new ie;return n.parse(t,e,r),n}ie.prototype.parse=function(t,e,r){if(typeof t!="string")throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var n=t.indexOf("?"),i=n!==-1&&n<t.indexOf("#")?"?":"#",o=t.split(i),a=/\\/g;o[0]=o[0].replace(a,"/"),t=o.join(i);var f=t;if(f=f.trim(),!r&&t.split("#").length===1){var u=Fp.exec(f);if(u)return this.path=f,this.href=f,this.pathname=u[1],u[2]?(this.search=u[2],e?this.query=Yn.parse(this.search.substr(1)):this.query=this.search.substr(1)):e&&(this.search="",this.query={}),this}var s=Mp.exec(f);if(s){s=s[0];var h=s.toLowerCase();this.protocol=h,f=f.substr(s.length)}if(r||s||f.match(/^\/\/[^@/]+@[^@/]+/)){var p=f.substr(0,2)==="//";p&&!(s&&zn[s])&&(f=f.substr(2),this.slashes=!0)}if(!zn[s]&&(p||s&&!ct[s])){for(var c=-1,d=0;d<tu.length;d++){var m=f.indexOf(tu[d]);m!==-1&&(c===-1||m<c)&&(c=m)}var A,_;c===-1?_=f.lastIndexOf("@"):_=f.lastIndexOf("@",c),_!==-1&&(A=f.slice(0,_),f=f.slice(_+1),this.auth=decodeURIComponent(A)),c=-1;for(var d=0;d<eu.length;d++){var m=f.indexOf(eu[d]);m!==-1&&(c===-1||m<c)&&(c=m)}c===-1&&(c=f.length),this.host=f.slice(0,c),f=f.slice(c),this.parseHost(),this.hostname=this.hostname||"";var P=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!P)for(var w=this.hostname.split(/\./),d=0,g=w.length;d<g;d++){var O=w[d];if(O&&!O.match(ru)){for(var B="",I=0,X=O.length;I<X;I++)O.charCodeAt(I)>127?B+="x":B+=O[I];if(!B.match(ru)){var j=w.slice(0,d),L=w.slice(d+1),U=O.match(Dp);U&&(j.push(U[1]),L.unshift(U[2])),L.length&&(f="/"+L.join(".")+f),this.hostname=j.join(".");break}}}this.hostname.length>qp?this.hostname="":this.hostname=this.hostname.toLowerCase(),P||(this.hostname=Pp.toASCII(this.hostname));var se=this.port?":"+this.port:"",oe=this.hostname||"";this.host=oe+se,this.href+=this.host,P&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),f[0]!=="/"&&(f="/"+f))}if(!Up[h])for(var d=0,g=Kn.length;d<g;d++){var q=Kn[d];if(f.indexOf(q)!==-1){var K=encodeURIComponent(q);K===q&&(K=escape(q)),f=f.split(q).join(K)}}var H=f.indexOf("#");H!==-1&&(this.hash=f.substr(H),f=f.slice(0,H));var J=f.indexOf("?");if(J!==-1?(this.search=f.substr(J),this.query=f.substr(J+1),e&&(this.query=Yn.parse(this.query)),f=f.slice(0,J)):e&&(this.search="",this.query={}),f&&(this.pathname=f),ct[h]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var se=this.pathname||"",Me=this.search||"";this.path=se+Me}return this.href=this.format(),this};function kp(t){return typeof t=="string"&&(t=Nt(t)),t instanceof ie?t.format():ie.prototype.format.call(t)}ie.prototype.format=function(){var t=this.auth||"";t&&(t=encodeURIComponent(t),t=t.replace(/%3A/i,":"),t+="@");var e=this.protocol||"",r=this.pathname||"",n=this.hash||"",i=!1,o="";this.host?i=t+this.host:this.hostname&&(i=t+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&typeof this.query=="object"&&Object.keys(this.query).length&&(o=Yn.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var a=this.search||o&&"?"+o||"";return e&&e.substr(-1)!==":"&&(e+=":"),this.slashes||(!e||ct[e])&&i!==!1?(i="//"+(i||""),r&&r.charAt(0)!=="/"&&(r="/"+r)):i||(i=""),n&&n.charAt(0)!=="#"&&(n="#"+n),a&&a.charAt(0)!=="?"&&(a="?"+a),r=r.replace(/[?#]/g,function(f){return encodeURIComponent(f)}),a=a.replace("#","%23"),e+i+r+a+n};function $p(t,e){return Nt(t,!1,!0).resolve(e)}ie.prototype.resolve=function(t){return this.resolveObject(Nt(t,!1,!0)).format()};function Wp(t,e){return t?Nt(t,!1,!0).resolveObject(e):e}ie.prototype.resolveObject=function(t){if(typeof t=="string"){var e=new ie;e.parse(t,!1,!0),t=e}for(var r=new ie,n=Object.keys(this),i=0;i<n.length;i++){var o=n[i];r[o]=this[o]}if(r.hash=t.hash,t.href==="")return r.href=r.format(),r;if(t.slashes&&!t.protocol){for(var a=Object.keys(t),f=0;f<a.length;f++){var u=a[f];u!=="protocol"&&(r[u]=t[u])}return ct[r.protocol]&&r.hostname&&!r.pathname&&(r.pathname="/",r.path=r.pathname),r.href=r.format(),r}if(t.protocol&&t.protocol!==r.protocol){if(!ct[t.protocol]){for(var s=Object.keys(t),h=0;h<s.length;h++){var p=s[h];r[p]=t[p]}return r.href=r.format(),r}if(r.protocol=t.protocol,!t.host&&!zn[t.protocol]){for(var g=(t.pathname||"").split("/");g.length&&!(t.host=g.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),g[0]!==""&&g.unshift(""),g.length<2&&g.unshift(""),r.pathname=g.join("/")}else r.pathname=t.pathname;if(r.search=t.search,r.query=t.query,r.host=t.host||"",r.auth=t.auth,r.hostname=t.hostname||t.host,r.port=t.port,r.pathname||r.search){var c=r.pathname||"",d=r.search||"";r.path=c+d}return r.slashes=r.slashes||t.slashes,r.href=r.format(),r}var m=r.pathname&&r.pathname.charAt(0)==="/",A=t.host||t.pathname&&t.pathname.charAt(0)==="/",_=A||m||r.host&&t.pathname,P=_,w=r.pathname&&r.pathname.split("/")||[],g=t.pathname&&t.pathname.split("/")||[],O=r.protocol&&!ct[r.protocol];if(O&&(r.hostname="",r.port=null,r.host&&(w[0]===""?w[0]=r.host:w.unshift(r.host)),r.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(g[0]===""?g[0]=t.host:g.unshift(t.host)),t.host=null),_=_&&(g[0]===""||w[0]==="")),A)r.host=t.host||t.host===""?t.host:r.host,r.hostname=t.hostname||t.hostname===""?t.hostname:r.hostname,r.search=t.search,r.query=t.query,w=g;else if(g.length)w||(w=[]),w.pop(),w=w.concat(g),r.search=t.search,r.query=t.query;else if(t.search!=null){if(O){r.host=w.shift(),r.hostname=r.host;var B=r.host&&r.host.indexOf("@")>0?r.host.split("@"):!1;B&&(r.auth=B.shift(),r.hostname=B.shift(),r.host=r.hostname)}return r.search=t.search,r.query=t.query,(r.pathname!==null||r.search!==null)&&(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!w.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var I=w.slice(-1)[0],X=(r.host||t.host||w.length>1)&&(I==="."||I==="..")||I==="",j=0,L=w.length;L>=0;L--)I=w[L],I==="."?w.splice(L,1):I===".."?(w.splice(L,1),j++):j&&(w.splice(L,1),j--);if(!_&&!P)for(;j--;j)w.unshift("..");_&&w[0]!==""&&(!w[0]||w[0].charAt(0)!=="/")&&w.unshift(""),X&&w.join("/").substr(-1)!=="/"&&w.push("");var U=w[0]===""||w[0]&&w[0].charAt(0)==="/";if(O){r.hostname=U?"":w.length?w.shift():"",r.host=r.hostname;var B=r.host&&r.host.indexOf("@")>0?r.host.split("@"):!1;B&&(r.auth=B.shift(),r.hostname=B.shift(),r.host=r.hostname)}return _=_||r.host&&w.length,_&&!U&&w.unshift(""),w.length>0?r.pathname=w.join("/"):(r.pathname=null,r.path=null),(r.pathname!==null||r.search!==null)&&(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=t.auth||r.auth,r.slashes=r.slashes||t.slashes,r.href=r.format(),r};ie.prototype.parseHost=function(){var t=this.host,e=Cp.exec(t);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};ht.parse=Nt;ht.resolve=$p;ht.resolveObject=Wp;ht.format=kp;ht.Url=ie});var Xn=y(ou=>{var iu=No(),jp=gn(),Hp=Do(),Gp=ko(),Vp=nu(),ue=ou;ue.request=function(t,e){typeof t=="string"?t=Vp.parse(t):t=Hp(t);var r=global.location.protocol.search(/^https?:$/)===-1?"http:":"",n=t.protocol||r,i=t.hostname||t.host,o=t.port,a=t.path||"/";i&&i.indexOf(":")!==-1&&(i="["+i+"]"),t.url=(i?n+"//"+i:"")+(o?":"+o:"")+a,t.method=(t.method||"GET").toUpperCase(),t.headers=t.headers||{};var f=new iu(t);return e&&f.on("response",e),f};ue.get=function(e,r){var n=ue.request(e,r);return n.end(),n};ue.ClientRequest=iu;ue.IncomingMessage=jp.IncomingMessage;ue.Agent=function(){};ue.Agent.defaultMaxSockets=4;ue.globalAgent=new ue.Agent;ue.STATUS_CODES=Gp;ue.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]});var pt={};hu(pt,{default:()=>Kp});module.exports=pu(pt);var au=Qn(Xn());dt(pt,Qn(Xn()),module.exports);var Kp=au.default;
2
+ /*! Bundled license information:
3
+
4
+ ieee754/index.js:
5
+ (*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> *)
6
+
7
+ buffer/index.js:
8
+ (*!
9
+ * The buffer module from node.js, for the browser.
10
+ *
11
+ * @author Feross Aboukhadijeh <https://feross.org>
12
+ * @license MIT
13
+ *)
14
+
15
+ safe-buffer/index.js:
16
+ (*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
17
+
18
+ punycode/punycode.js:
19
+ (*! https://mths.be/punycode v1.4.1 by @mathias *)
20
+ */