@servicenow/sdk
Version:
ServiceNow SDK
1 lines • 10.6 MB
JavaScript
"use strict";var r5n=Object.create;var f_e=Object.defineProperty;var i5n=Object.getOwnPropertyDescriptor;var o5n=Object.getOwnPropertyNames;var a5n=Object.getPrototypeOf,s5n=Object.prototype.hasOwnProperty;var e=(i,n)=>f_e(i,"name",{value:n,configurable:!0});var Au=(i,n)=>()=>(i&&(n=i(i=0)),n);var ct=(i,n)=>()=>(n||i((n={exports:{}}).exports,n),n.exports),TC=(i,n)=>{for(var o in n)f_e(i,o,{get:n[o],enumerable:!0})},fLt=(i,n,o,l)=>{if(n&&typeof n=="object"||typeof n=="function")for(let c of o5n(n))!s5n.call(i,c)&&c!==o&&f_e(i,c,{get:()=>n[c],enumerable:!(l=i5n(n,c))||l.enumerable});return i};var jY=(i,n,o)=>(o=i!=null?r5n(a5n(i)):{},fLt(n||!i||!i.__esModule?f_e(o,"default",{value:i,enumerable:!0}):o,i)),md=i=>fLt(f_e({},"__esModule",{value:!0}),i);var $e,Q=Au(()=>{$e=["/home/jenkins/agent/workspace/ps_platform_fluent_feature_4.2.0/target/checkout/node/node","/home/jenkins/agent/workspace/ps_platform_fluent_feature_4.2.0/target/checkout/packages/sdk/esbuild.ts","--production"]});var Xe,Z=Au(()=>{"use strict";Xe={hardwareConcurrency:1}});function die(){return typeof window<"u"&&typeof window.document<"u"||typeof self<"u"&&typeof self.importScripts=="function"}var zDe=Au(()=>{"use strict";Q();te();Z();ee();e(die,"isBrowserOrWorkerEnvironment")});function BR(i,n,o){return o={path:n,exports:{},require:e(function(l,c){return c5n(l,c??o.path)},"require")},i(o,o.exports),o.exports}function c5n(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var GB,LK=Au(()=>{Q();te();Z();ee();GB=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e(BR,"createCommonjsModule");e(c5n,"commonjsRequire")});function u5n(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof globalThis<"u")return globalThis;throw new Error("unable to locate global object")}var d5n,m_e,pie,XJe,u3r,GDe,d3r,_Lt=Au(()=>{Q();te();Z();ee();LK();e(u5n,"getScope");d5n=u5n(),m_e=d5n[Symbol.for("brodeProcess")],pie={nextTick(i,...n){if(!(m_e&&m_e.exitCode!==null)){if(typeof i!="function")throw new TypeError("handler is not a function");queueMicrotask(()=>{try{i(...n)}catch(o){if(m_e&&m_e.hasListeners("uncaughtException")){m_e.emit("uncaughtException",o);return}throw o}})}},emitWarning(i){console.warn(i)}},XJe=BR(function(i,n){(function(o){var l=Object.hasOwnProperty,c=Array.isArray?Array.isArray:e(function(Zt){return Object.prototype.toString.call(Zt)==="[object Array]"},"_isArray"),p=10,h=typeof pie=="object"&&typeof pie.nextTick=="function",y=typeof Symbol=="function",S=typeof Reflect=="object",E=typeof setImmediate=="function",D=E?setImmediate:setTimeout,C=y?S&&typeof Reflect.ownKeys=="function"?Reflect.ownKeys:function(It){var Zt=Object.getOwnPropertyNames(It);return Zt.push.apply(Zt,Object.getOwnPropertySymbols(It)),Zt}:Object.keys;function A(){this._events={},this._conf&&W.call(this,this._conf)}e(A,"init");function W(It){It&&(this._conf=It,It.delimiter&&(this.delimiter=It.delimiter),It.maxListeners!==o&&(this._maxListeners=It.maxListeners),It.wildcard&&(this.wildcard=It.wildcard),It.newListener&&(this._newListener=It.newListener),It.removeListener&&(this._removeListener=It.removeListener),It.verboseMemoryLeak&&(this.verboseMemoryLeak=It.verboseMemoryLeak),It.ignoreErrors&&(this.ignoreErrors=It.ignoreErrors),this.wildcard&&(this.listenerTree={}))}e(W,"configure");function U(It,Zt){var mt="(node) warning: possible EventEmitter memory leak detected. "+It+" listeners added. Use emitter.setMaxListeners() to increase limit.";if(this.verboseMemoryLeak&&(mt+=" Event name: "+Zt+"."),typeof pie<"u"&&pie.emitWarning){var In=new Error(mt);In.name="MaxListenersExceededWarning",In.emitter=this,In.count=It,pie.emitWarning(In)}else console.error(mt),console.trace&&console.trace()}e(U,"logPossibleMemoryLeak");var F=e(function(It,Zt,mt){var In=arguments.length;switch(In){case 0:return[];case 1:return[It];case 2:return[It,Zt];case 3:return[It,Zt,mt];default:for(var Gn=new Array(In);In--;)Gn[In]=arguments[In];return Gn}},"toArray");function R(It,Zt){for(var mt={},In,Gn=It.length,_n=Zt?Zt.length:0,Bn=0;Bn<Gn;Bn++)In=It[Bn],mt[In]=Bn<_n?Zt[Bn]:o;return mt}e(R,"toObject");function O(It,Zt,mt){this._emitter=It,this._target=Zt,this._listeners={},this._listenersCount=0;var In,Gn;if((mt.on||mt.off)&&(In=mt.on,Gn=mt.off),Zt.addEventListener?(In=Zt.addEventListener,Gn=Zt.removeEventListener):Zt.addListener?(In=Zt.addListener,Gn=Zt.removeListener):Zt.on&&(In=Zt.on,Gn=Zt.off),!In&&!Gn)throw Error("target does not implement any known event API");if(typeof In!="function")throw TypeError("on method must be a function");if(typeof Gn!="function")throw TypeError("off method must be a function");this._on=In,this._off=Gn;var _n=It._observers;_n?_n.push(this):It._observers=[this]}e(O,"TargetObserver"),Object.assign(O.prototype,{subscribe:e(function(It,Zt,mt){var In=this,Gn=this._target,_n=this._emitter,Bn=this._listeners,cr=e(function(){var Yt=F.apply(null,arguments),Bt={data:Yt,name:Zt,original:It};if(mt){var _t=mt.call(Gn,Bt);_t!==!1&&_n.emit.apply(_n,[Bt.name].concat(Yt));return}_n.emit.apply(_n,[Zt].concat(Yt))},"handler");if(Bn[It])throw Error("Event '"+It+"' is already listening");this._listenersCount++,_n._newListener&&_n._removeListener&&!In._onNewListener?(this._onNewListener=function(Yt){Yt===Zt&&Bn[It]===null&&(Bn[It]=cr,In._on.call(Gn,It,cr))},_n.on("newListener",this._onNewListener),this._onRemoveListener=function(Yt){Yt===Zt&&!_n.hasListeners(Yt)&&Bn[It]&&(Bn[It]=null,In._off.call(Gn,It,cr))},Bn[It]=null,_n.on("removeListener",this._onRemoveListener)):(Bn[It]=cr,In._on.call(Gn,It,cr))},"subscribe"),unsubscribe:e(function(It){var Zt=this,mt=this._listeners,In=this._emitter,Gn,_n,Bn=this._off,cr=this._target,Yt;if(It&&typeof It!="string")throw TypeError("event must be a string");function Bt(){Zt._onNewListener&&(In.off("newListener",Zt._onNewListener),In.off("removeListener",Zt._onRemoveListener),Zt._onNewListener=null,Zt._onRemoveListener=null);var _t=ye.call(In,Zt);In._observers.splice(_t,1)}if(e(Bt,"clearRefs"),It){if(Gn=mt[It],!Gn)return;Bn.call(cr,It,Gn),delete mt[It],--this._listenersCount||Bt()}else{for(_n=C(mt),Yt=_n.length;Yt-- >0;)It=_n[Yt],Bn.call(cr,It,mt[It]);this._listeners={},this._listenersCount=0,Bt()}},"unsubscribe")});function X(It,Zt,mt,In){var Gn=Object.assign({},Zt);if(!It)return Gn;if(typeof It!="object")throw TypeError("options must be an object");var _n=Object.keys(It),Bn=_n.length,cr,Yt,Bt;function _t(zt){throw Error('Invalid "'+cr+'" option value'+(zt?". Reason: "+zt:""))}e(_t,"reject");for(var me=0;me<Bn;me++){if(cr=_n[me],!In&&!l.call(Zt,cr))throw Error('Unknown "'+cr+'" option');Yt=It[cr],Yt!==o&&(Bt=mt[cr],Gn[cr]=Bt?Bt(Yt,_t):Yt)}return Gn}e(X,"resolveOptions");function Y(It,Zt){return(typeof It!="function"||!It.hasOwnProperty("prototype"))&&Zt("value must be a constructor"),It}e(Y,"constructorReducer");function re(It){var Zt="value must be type of "+It.join("|"),mt=It.length,In=It[0],Gn=It[1];return mt===1?function(_n,Bn){if(typeof _n===In)return _n;Bn(Zt)}:mt===2?function(_n,Bn){var cr=typeof _n;if(cr===In||cr===Gn)return _n;Bn(Zt)}:function(_n,Bn){for(var cr=typeof _n,Yt=mt;Yt-- >0;)if(cr===It[Yt])return _n;Bn(Zt)}}e(re,"makeTypeReducer");var _e=re(["function"]),be=re(["object","function"]);function Ae(It,Zt,mt){var In,Gn,_n=0,Bn,cr=new It(function(Yt,Bt,_t){mt=X(mt,{timeout:0,overload:!1},{timeout:e(function(rn,En){return rn*=1,(typeof rn!="number"||rn<0||!Number.isFinite(rn))&&En("timeout must be a positive number"),rn},"timeout")}),In=!mt.overload&&typeof It.prototype.cancel=="function"&&typeof _t=="function";function me(){Gn&&(Gn=null),_n&&(clearTimeout(_n),_n=0)}e(me,"cleanup");var zt=e(function(rn){me(),Yt(rn)},"_resolve"),Dt=e(function(rn){me(),Bt(rn)},"_reject");In?Zt(zt,Dt,_t):(Gn=[function(rn){Dt(rn||Error("canceled"))}],Zt(zt,Dt,function(rn){if(Bn)throw Error("Unable to subscribe on cancel event asynchronously");if(typeof rn!="function")throw TypeError("onCancel callback must be a function");Gn.push(rn)}),Bn=!0),mt.timeout>0&&(_n=setTimeout(function(){var rn=Error("timeout");rn.code="ETIMEDOUT",_n=0,cr.cancel(rn),Bt(rn)},mt.timeout))});return In||(cr.cancel=function(Yt){if(Gn){for(var Bt=Gn.length,_t=1;_t<Bt;_t++)Gn[_t](Yt);Gn[0](Yt),Gn=null}}),cr}e(Ae,"makeCancelablePromise");function ye(It){var Zt=this._observers;if(!Zt)return-1;for(var mt=Zt.length,In=0;In<mt;In++)if(Zt[In]._target===It)return In;return-1}e(ye,"findTargetIndex");function je(It,Zt,mt,In,Gn){if(!mt)return null;if(In===0){var _n=typeof Zt;if(_n==="string"){var Bn,cr,Yt=0,Bt=0,_t=this.delimiter,me=_t.length;if((cr=Zt.indexOf(_t))!==-1){Bn=new Array(5);do Bn[Yt++]=Zt.slice(Bt,cr),Bt=cr+me;while((cr=Zt.indexOf(_t,Bt))!==-1);Bn[Yt++]=Zt.slice(Bt),Zt=Bn,Gn=Yt}else Zt=[Zt],Gn=1}else _n==="object"?Gn=Zt.length:(Zt=[Zt],Gn=1)}var zt=null,Dt,rn,En,Kn,Gr,Ir=Zt[In],yn=Zt[In+1],ga,so;if(In===Gn)mt._listeners&&(typeof mt._listeners=="function"?(It&&It.push(mt._listeners),zt=[mt]):(It&&It.push.apply(It,mt._listeners),zt=[mt]));else if(Ir==="*"){for(ga=C(mt),cr=ga.length;cr-- >0;)Dt=ga[cr],Dt!=="_listeners"&&(so=je(It,Zt,mt[Dt],In+1,Gn),so&&(zt?zt.push.apply(zt,so):zt=so));return zt}else if(Ir==="**"){for(Gr=In+1===Gn||In+2===Gn&&yn==="*",Gr&&mt._listeners&&(zt=je(It,Zt,mt,Gn,Gn)),ga=C(mt),cr=ga.length;cr-- >0;)Dt=ga[cr],Dt!=="_listeners"&&(Dt==="*"||Dt==="**"?(mt[Dt]._listeners&&!Gr&&(so=je(It,Zt,mt[Dt],Gn,Gn),so&&(zt?zt.push.apply(zt,so):zt=so)),so=je(It,Zt,mt[Dt],In,Gn)):Dt===yn?so=je(It,Zt,mt[Dt],In+2,Gn):so=je(It,Zt,mt[Dt],In,Gn),so&&(zt?zt.push.apply(zt,so):zt=so));return zt}else mt[Ir]&&(zt=je(It,Zt,mt[Ir],In+1,Gn));if(rn=mt["*"],rn&&je(It,Zt,rn,In+1,Gn),En=mt["**"],En)if(In<Gn)for(En._listeners&&je(It,Zt,En,Gn,Gn),ga=C(En),cr=ga.length;cr-- >0;)Dt=ga[cr],Dt!=="_listeners"&&(Dt===yn?je(It,Zt,En[Dt],In+2,Gn):Dt===Ir?je(It,Zt,En[Dt],In+1,Gn):(Kn={},Kn[Dt]=En[Dt],je(It,Zt,{"**":Kn},In+1,Gn)));else En._listeners?je(It,Zt,En,Gn,Gn):En["*"]&&En["*"]._listeners&&je(It,Zt,En["*"],Gn,Gn);return zt}e(je,"searchListenerTree");function lt(It,Zt,mt){var In=0,Gn=0,_n,Bn=this.delimiter,cr=Bn.length,Yt;if(typeof It=="string")if((_n=It.indexOf(Bn))!==-1){Yt=new Array(5);do Yt[In++]=It.slice(Gn,_n),Gn=_n+cr;while((_n=It.indexOf(Bn,Gn))!==-1);Yt[In++]=It.slice(Gn)}else Yt=[It],In=1;else Yt=It,In=It.length;if(In>1){for(_n=0;_n+1<In;_n++)if(Yt[_n]==="**"&&Yt[_n+1]==="**")return}var Bt=this.listenerTree,_t;for(_n=0;_n<In;_n++)if(_t=Yt[_n],Bt=Bt[_t]||(Bt[_t]={}),_n===In-1)return Bt._listeners?(typeof Bt._listeners=="function"&&(Bt._listeners=[Bt._listeners]),mt?Bt._listeners.unshift(Zt):Bt._listeners.push(Zt),!Bt._listeners.warned&&this._maxListeners>0&&Bt._listeners.length>this._maxListeners&&(Bt._listeners.warned=!0,U.call(this,Bt._listeners.length,_t))):Bt._listeners=Zt,!0;return!0}e(lt,"growListenerTree");function vt(It,Zt,mt,In){for(var Gn=C(It),_n=Gn.length,Bn,cr,Yt,Bt=It._listeners,_t;_n-- >0;)cr=Gn[_n],Bn=It[cr],cr==="_listeners"?Yt=mt:Yt=mt?mt.concat(cr):[cr],_t=In||typeof cr=="symbol",Bt&&Zt.push(_t?Yt:Yt.join(this.delimiter)),typeof Bn=="object"&&vt.call(this,Bn,Zt,Yt,_t);return Zt}e(vt,"collectTreeEvents");function wt(It){for(var Zt=C(It),mt=Zt.length,In,Gn,_n;mt-- >0;)Gn=Zt[mt],In=It[Gn],In&&(_n=!0,Gn!=="_listeners"&&!wt(In)&&delete It[Gn]);return _n}e(wt,"recursivelyGarbageCollect");function en(It,Zt,mt){this.emitter=It,this.event=Zt,this.listener=mt}e(en,"Listener"),en.prototype.off=function(){return this.emitter.off(this.event,this.listener),this};function wn(It,Zt,mt){if(mt===!0)Gn=!0;else if(mt===!1)In=!0;else{if(!mt||typeof mt!="object")throw TypeError("options should be an object or true");var In=mt.async,Gn=mt.promisify,_n=mt.nextTick,Bn=mt.objectify}if(In||_n||Gn){var cr=Zt,Yt=Zt._origin||Zt;if(_n&&!h)throw Error("process.nextTick is not supported");Gn===o&&(Gn=Zt.constructor.name==="AsyncFunction"),Zt=e(function(){var Bt=arguments,_t=this,me=this.event;return Gn?_n?Promise.resolve():new Promise(function(zt){D(zt)}).then(function(){return _t.event=me,cr.apply(_t,Bt)}):(_n?pie.nextTick:D)(function(){_t.event=me,cr.apply(_t,Bt)})},"listener"),Zt._async=!0,Zt._origin=Yt}return[Zt,Bn?new en(this,It,Zt):this]}e(wn,"setupListener");function bn(It){this._events={},this._newListener=!1,this._removeListener=!1,this.verboseMemoryLeak=!1,W.call(this,It)}e(bn,"EventEmitter"),bn.EventEmitter2=bn,bn.prototype.listenTo=function(It,Zt,mt){if(typeof It!="object")throw TypeError("target musts be an object");var In=this;mt=X(mt,{on:o,off:o,reducers:o},{on:_e,off:_e,reducers:be});function Gn(_n){if(typeof _n!="object")throw TypeError("events must be an object");var Bn=mt.reducers,cr=ye.call(In,It),Yt;cr===-1?Yt=new O(In,It,mt):Yt=In._observers[cr];for(var Bt=C(_n),_t=Bt.length,me,zt=typeof Bn=="function",Dt=0;Dt<_t;Dt++)me=Bt[Dt],Yt.subscribe(me,_n[me]||me,zt?Bn:Bn&&Bn[me])}return e(Gn,"listen"),c(Zt)?Gn(R(Zt)):Gn(typeof Zt=="string"?R(Zt.split(/\s+/)):Zt),this},bn.prototype.stopListeningTo=function(It,Zt){var mt=this._observers;if(!mt)return!1;var In=mt.length,Gn,_n=!1;if(It&&typeof It!="object")throw TypeError("target should be an object");for(;In-- >0;)Gn=mt[In],(!It||Gn._target===It)&&(Gn.unsubscribe(Zt),_n=!0);return _n},bn.prototype.delimiter=".",bn.prototype.setMaxListeners=function(It){It!==o&&(this._maxListeners=It,this._conf||(this._conf={}),this._conf.maxListeners=It)},bn.prototype.getMaxListeners=function(){return this._maxListeners},bn.prototype.event="",bn.prototype.once=function(It,Zt,mt){return this._once(It,Zt,!1,mt)},bn.prototype.prependOnceListener=function(It,Zt,mt){return this._once(It,Zt,!0,mt)},bn.prototype._once=function(It,Zt,mt,In){return this._many(It,1,Zt,mt,In)},bn.prototype.many=function(It,Zt,mt,In){return this._many(It,Zt,mt,!1,In)},bn.prototype.prependMany=function(It,Zt,mt,In){return this._many(It,Zt,mt,!0,In)},bn.prototype._many=function(It,Zt,mt,In,Gn){var _n=this;if(typeof mt!="function")throw new Error("many only accepts instances of Function");function Bn(){return--Zt===0&&_n.off(It,Bn),mt.apply(this,arguments)}return e(Bn,"listener"),Bn._origin=mt,this._on(It,Bn,In,Gn)},bn.prototype.emit=function(){if(!this._events&&!this._all)return!1;this._events||A.call(this);var It=arguments[0],Zt,mt=this.wildcard,In,Gn,_n,Bn,cr;if(It==="newListener"&&!this._newListener&&!this._events.newListener)return!1;if(mt&&(Zt=It,It!=="newListener"&&It!=="removeListener"&&typeof It=="object")){if(Gn=It.length,y){for(_n=0;_n<Gn;_n++)if(typeof It[_n]=="symbol"){cr=!0;break}}cr||(It=It.join(this.delimiter))}var Yt=arguments.length,Bt;if(this._all&&this._all.length)for(Bt=this._all.slice(),_n=0,Gn=Bt.length;_n<Gn;_n++)switch(this.event=It,Yt){case 1:Bt[_n].call(this,It);break;case 2:Bt[_n].call(this,It,arguments[1]);break;case 3:Bt[_n].call(this,It,arguments[1],arguments[2]);break;default:Bt[_n].apply(this,arguments)}if(mt)Bt=[],je.call(this,Bt,Zt,this.listenerTree,0,Gn);else if(Bt=this._events[It],typeof Bt=="function"){switch(this.event=It,Yt){case 1:Bt.call(this);break;case 2:Bt.call(this,arguments[1]);break;case 3:Bt.call(this,arguments[1],arguments[2]);break;default:for(In=new Array(Yt-1),Bn=1;Bn<Yt;Bn++)In[Bn-1]=arguments[Bn];Bt.apply(this,In)}return!0}else Bt&&(Bt=Bt.slice());if(Bt&&Bt.length){if(Yt>3)for(In=new Array(Yt-1),Bn=1;Bn<Yt;Bn++)In[Bn-1]=arguments[Bn];for(_n=0,Gn=Bt.length;_n<Gn;_n++)switch(this.event=It,Yt){case 1:Bt[_n].call(this);break;case 2:Bt[_n].call(this,arguments[1]);break;case 3:Bt[_n].call(this,arguments[1],arguments[2]);break;default:Bt[_n].apply(this,In)}return!0}else if(!this.ignoreErrors&&!this._all&&It==="error")throw arguments[1]instanceof Error?arguments[1]:new Error("Uncaught, unspecified 'error' event.");return!!this._all},bn.prototype.emitAsync=function(){if(!this._events&&!this._all)return!1;this._events||A.call(this);var It=arguments[0],Zt=this.wildcard,mt,In,Gn,_n,Bn,cr;if(It==="newListener"&&!this._newListener&&!this._events.newListener)return Promise.resolve([!1]);if(Zt&&(mt=It,It!=="newListener"&&It!=="removeListener"&&typeof It=="object")){if(_n=It.length,y){for(Bn=0;Bn<_n;Bn++)if(typeof It[Bn]=="symbol"){In=!0;break}}In||(It=It.join(this.delimiter))}var Yt=[],Bt=arguments.length,_t;if(this._all)for(Bn=0,_n=this._all.length;Bn<_n;Bn++)switch(this.event=It,Bt){case 1:Yt.push(this._all[Bn].call(this,It));break;case 2:Yt.push(this._all[Bn].call(this,It,arguments[1]));break;case 3:Yt.push(this._all[Bn].call(this,It,arguments[1],arguments[2]));break;default:Yt.push(this._all[Bn].apply(this,arguments))}if(Zt?(_t=[],je.call(this,_t,mt,this.listenerTree,0)):_t=this._events[It],typeof _t=="function")switch(this.event=It,Bt){case 1:Yt.push(_t.call(this));break;case 2:Yt.push(_t.call(this,arguments[1]));break;case 3:Yt.push(_t.call(this,arguments[1],arguments[2]));break;default:for(Gn=new Array(Bt-1),cr=1;cr<Bt;cr++)Gn[cr-1]=arguments[cr];Yt.push(_t.apply(this,Gn))}else if(_t&&_t.length){if(_t=_t.slice(),Bt>3)for(Gn=new Array(Bt-1),cr=1;cr<Bt;cr++)Gn[cr-1]=arguments[cr];for(Bn=0,_n=_t.length;Bn<_n;Bn++)switch(this.event=It,Bt){case 1:Yt.push(_t[Bn].call(this));break;case 2:Yt.push(_t[Bn].call(this,arguments[1]));break;case 3:Yt.push(_t[Bn].call(this,arguments[1],arguments[2]));break;default:Yt.push(_t[Bn].apply(this,Gn))}}else if(!this.ignoreErrors&&!this._all&&It==="error")return arguments[1]instanceof Error?Promise.reject(arguments[1]):Promise.reject("Uncaught, unspecified 'error' event.");return Promise.all(Yt)},bn.prototype.on=function(It,Zt,mt){return this._on(It,Zt,!1,mt)},bn.prototype.prependListener=function(It,Zt,mt){return this._on(It,Zt,!0,mt)},bn.prototype.onAny=function(It){return this._onAny(It,!1)},bn.prototype.prependAny=function(It){return this._onAny(It,!0)},bn.prototype.addListener=bn.prototype.on,bn.prototype._onAny=function(It,Zt){if(typeof It!="function")throw new Error("onAny only accepts instances of Function");return this._all||(this._all=[]),Zt?this._all.unshift(It):this._all.push(It),this},bn.prototype._on=function(It,Zt,mt,In){if(typeof It=="function")return this._onAny(It,Zt),this;if(typeof Zt!="function")throw new Error("on only accepts instances of Function");this._events||A.call(this);var Gn=this,_n;return In!==o&&(_n=wn.call(this,It,Zt,In),Zt=_n[0],Gn=_n[1]),this._newListener&&this.emit("newListener",It,Zt),this.wildcard?(lt.call(this,It,Zt,mt),Gn):(this._events[It]?(typeof this._events[It]=="function"&&(this._events[It]=[this._events[It]]),mt?this._events[It].unshift(Zt):this._events[It].push(Zt),!this._events[It].warned&&this._maxListeners>0&&this._events[It].length>this._maxListeners&&(this._events[It].warned=!0,U.call(this,this._events[It].length,It))):this._events[It]=Zt,Gn)},bn.prototype.off=function(It,Zt){if(typeof Zt!="function")throw new Error("removeListener only takes instances of Function");var mt,In=[];if(this.wildcard){var Gn=typeof It=="string"?It.split(this.delimiter):It.slice();if(In=je.call(this,null,Gn,this.listenerTree,0),!In)return this}else{if(!this._events[It])return this;mt=this._events[It],In.push({_listeners:mt})}for(var _n=0;_n<In.length;_n++){var Bn=In[_n];if(mt=Bn._listeners,c(mt)){for(var cr=-1,Yt=0,Bt=mt.length;Yt<Bt;Yt++)if(mt[Yt]===Zt||mt[Yt].listener&&mt[Yt].listener===Zt||mt[Yt]._origin&&mt[Yt]._origin===Zt){cr=Yt;break}if(cr<0)continue;return this.wildcard?Bn._listeners.splice(cr,1):this._events[It].splice(cr,1),mt.length===0&&(this.wildcard?delete Bn._listeners:delete this._events[It]),this._removeListener&&this.emit("removeListener",It,Zt),this}else(mt===Zt||mt.listener&&mt.listener===Zt||mt._origin&&mt._origin===Zt)&&(this.wildcard?delete Bn._listeners:delete this._events[It],this._removeListener&&this.emit("removeListener",It,Zt))}return this.listenerTree&&wt(this.listenerTree),this},bn.prototype.offAny=function(It){var Zt=0,mt=0,In;if(It&&this._all&&this._all.length>0){for(In=this._all,Zt=0,mt=In.length;Zt<mt;Zt++)if(It===In[Zt])return In.splice(Zt,1),this._removeListener&&this.emit("removeListenerAny",It),this}else{if(In=this._all,this._removeListener)for(Zt=0,mt=In.length;Zt<mt;Zt++)this.emit("removeListenerAny",In[Zt]);this._all=[]}return this},bn.prototype.removeListener=bn.prototype.off,bn.prototype.removeAllListeners=function(It){if(It===o)return!this._events||A.call(this),this;if(this.wildcard){var Zt=je.call(this,null,It,this.listenerTree,0),mt,In;if(!Zt)return this;for(In=0;In<Zt.length;In++)mt=Zt[In],mt._listeners=null;this.listenerTree&&wt(this.listenerTree)}else this._events&&(this._events[It]=null);return this},bn.prototype.listeners=function(It){var Zt=this._events,mt,In,Gn,_n,Bn;if(It===o){if(this.wildcard)throw Error("event name required for wildcard emitter");if(!Zt)return[];for(mt=C(Zt),_n=mt.length,Gn=[];_n-- >0;)In=Zt[mt[_n]],typeof In=="function"?Gn.push(In):Gn.push.apply(Gn,In);return Gn}else{if(this.wildcard){if(Bn=this.listenerTree,!Bn)return[];var cr=[],Yt=typeof It=="string"?It.split(this.delimiter):It.slice();return je.call(this,cr,Yt,Bn,0),cr}return Zt?(In=Zt[It],In?typeof In=="function"?[In]:In:[]):[]}},bn.prototype.eventNames=function(It){var Zt=this._events;return this.wildcard?vt.call(this,this.listenerTree,[],null,It):Zt?C(Zt):[]},bn.prototype.listenerCount=function(It){return this.listeners(It).length},bn.prototype.hasListeners=function(It){if(this.wildcard){var Zt=[],mt=typeof It=="string"?It.split(this.delimiter):It.slice();return je.call(this,Zt,mt,this.listenerTree,0),Zt.length>0}var In=this._events,Gn=this._all;return!!(Gn&&Gn.length||In&&(It===o?C(In).length:In[It]))},bn.prototype.listenersAny=function(){return this._all?this._all:[]},bn.prototype.waitFor=function(It,Zt){var mt=this,In=typeof Zt;return In==="number"?Zt={timeout:Zt}:In==="function"&&(Zt={filter:Zt}),Zt=X(Zt,{timeout:0,filter:o,handleError:!1,Promise,overload:!1},{filter:_e,Promise:Y}),Ae(Zt.Promise,function(Gn,_n,Bn){function cr(){var Yt=Zt.filter;if(!(Yt&&!Yt.apply(mt,arguments)))if(mt.off(It,cr),Zt.handleError){var Bt=arguments[0];Bt?_n(Bt):Gn(F.apply(null,arguments).slice(1))}else Gn(F.apply(null,arguments))}e(cr,"listener"),Bn(function(){mt.off(It,cr)}),mt._on(It,cr,!1)},{timeout:Zt.timeout,overload:Zt.overload})};function Ht(It,Zt,mt){mt=X(mt,{Promise,timeout:0,overload:!1},{Promise:Y});var In=mt.Promise;return Ae(In,function(Gn,_n,Bn){var cr;if(typeof It.addEventListener=="function"){cr=e(function(){Gn(F.apply(null,arguments))},"handler"),Bn(function(){It.removeEventListener(Zt,cr)}),It.addEventListener(Zt,cr,{once:!0});return}var Yt=e(function(){Bt&&It.removeListener("error",Bt),Gn(F.apply(null,arguments))},"eventListener"),Bt;Zt!=="error"&&(Bt=e(function(_t){It.removeListener(Zt,Yt),_n(_t)},"errorListener"),It.once("error",Bt)),Bn(function(){Bt&&It.removeListener("error",Bt),It.removeListener(Zt,Yt)}),It.once(Zt,Yt)},{timeout:mt.timeout,overload:mt.overload})}e(Ht,"once");var nn=bn.prototype;Object.defineProperties(bn,{defaultMaxListeners:{get:e(function(){return nn._maxListeners},"get"),set:e(function(It){if(typeof It!="number"||It<0||Number.isNaN(It))throw TypeError("n must be a non-negative number");nn._maxListeners=It},"set"),enumerable:!0},once:{value:Ht,writable:!0,configurable:!0}}),Object.defineProperties(nn,{_maxListeners:{value:p,writable:!0,configurable:!0},_observers:{value:null,writable:!0,configurable:!0}}),typeof o=="function"&&o.amd?o(function(){return bn}):i.exports=bn})()}),u3r=XJe.EventEmitter2,GDe=XJe,d3r=XJe.defaultMaxListeners});var OK={};TC(OK,{EventEmitter:()=>UDe,default:()=>VDe});var UDe,VDe,UB=Au(()=>{Q();te();Z();ee();_Lt();GDe.EventEmitter=GDe;UDe=GDe,VDe=UDe});var p5n,qDe,f5n,mLt=Au(()=>{Q();te();Z();ee();p5n=e(()=>{if("performance"in window||(window.performance={}),Date.now=Date.now||(()=>new Date().getTime()),!("now"in window.performance)){let i=Date.now();performance.timing&&performance.timing.navigationStart&&(i=performance.timing.navigationStart),window.performance.now=()=>Date.now()-i}},"perfomancePolyfill"),qDe=e(i=>{p5n();let n=Math.floor((Date.now()-performance.now())*.001),o=performance.now()*.001,l=Math.floor(o)+n,c=Math.floor(o%1*1e9);return i&&(l=l-i[0],c=c-i[1],c<0&&(l--,c+=1e9)),[l,c]},"hrtime"),f5n=1e9;qDe.bigint=()=>{let i=qDe();return BigInt(i[0]*f5n+i[1])}});function zY(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof globalThis<"u")return globalThis;throw new Error("unable to locate global object")}var KDe=Au(()=>{Q();te();Z();ee();e(zY,"getScope")});var FK,$Je=Au(()=>{Q();te();Z();ee();LK();FK=BR(function(i){typeof Object.create=="function"?i.exports=e(function(o,l){l&&(o.super_=l,o.prototype=Object.create(l.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}))},"inherits"):i.exports=e(function(o,l){if(l){o.super_=l;var c=e(function(){},"TempCtor");c.prototype=l.prototype,o.prototype=new c,o.prototype.constructor=o}},"inherits")})});var SLt,YDe,hLt,_5n,m5n,YJe,h5n,g5n,y5n,DG,XDe,zg,yie,ELt,hie,QJe,GY,ZJe,v5n,fie,BK,_ie,b5n,gie,S5n,gLt,E5n,x5n,yLt,$De,T5n,D5n,A5n,C5n,w5n,TG,xLt,I5n,vie,P5n,oXe,QDe,TLt,N5n,R5n,k5n,M5n,L5n,DLt,eXe,O5n,tXe,F5n,ALt,mie,aXe,HDe,B5n,sXe,W5n,j5n,z5n,G5n,U5n,vLt,V5n,q5n,CLt,K5n,H5n,J5n,X5n,ZDe,nXe,$5n,wLt,JDe,UY,Y5n,ILt,Q5n,PLt,Z5n,eBn,NLt,rXe,tBn,lXe,nBn,RLt,bLt,rBn,iBn,kLt,iXe,oBn,N4,aBn,sBn,Wb,lBn,cBn,uBn,VY,dBn,pBn,fBn,_Bn,mBn,hBn,gBn,yBn,vBn,bBn,SBn,EBn,xBn,TBn,DBn,ABn,CBn,wBn,IBn,PBn,NBn,RBn,cXe=Au(()=>{Q();te();Z();ee();h_e();LK();$Je();SLt=e(function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var n={},o=Symbol("test"),l=Object(o);if(typeof o=="string"||Object.prototype.toString.call(o)!=="[object Symbol]"||Object.prototype.toString.call(l)!=="[object Symbol]")return!1;var c=42;n[o]=c;for(o in n)return!1;if(typeof Object.keys=="function"&&Object.keys(n).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(n).length!==0)return!1;var p=Object.getOwnPropertySymbols(n);if(p.length!==1||p[0]!==o||!Object.prototype.propertyIsEnumerable.call(n,o))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var h=Object.getOwnPropertyDescriptor(n,o);if(h.value!==c||h.enumerable!==!0)return!1}return!0},"hasSymbols"),YDe=e(function(){return SLt()&&!!Symbol.toStringTag},"hasToStringTagShams"),hLt=typeof Symbol<"u"&&Symbol,_5n=e(function(){return typeof hLt!="function"||typeof Symbol!="function"||typeof hLt("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:SLt()},"hasNativeSymbols"),m5n="Function.prototype.bind called on incompatible ",YJe=Array.prototype.slice,h5n=Object.prototype.toString,g5n="[object Function]",y5n=e(function(n){var o=this;if(typeof o!="function"||h5n.call(o)!==g5n)throw new TypeError(m5n+o);for(var l=YJe.call(arguments,1),c,p=e(function(){if(this instanceof c){var D=o.apply(this,l.concat(YJe.call(arguments)));return Object(D)===D?D:this}else return o.apply(n,l.concat(YJe.call(arguments)))},"binder"),h=Math.max(0,o.length-l.length),y=[],S=0;S<h;S++)y.push("$"+S);if(c=Function("binder","return function ("+y.join(",")+"){ return binder.apply(this,arguments); }")(p),o.prototype){var E=e(function(){},"Empty2");E.prototype=o.prototype,c.prototype=new E,E.prototype=null}return c},"bind"),DG=Function.prototype.bind||y5n,XDe=DG.call(Function.call,Object.prototype.hasOwnProperty),yie=SyntaxError,ELt=Function,hie=TypeError,QJe=e(function(i){try{return ELt('"use strict"; return ('+i+").constructor;")()}catch{}},"getEvalledConstructor"),GY=Object.getOwnPropertyDescriptor;if(GY)try{GY({},"")}catch{GY=null}ZJe=e(function(){throw new hie},"throwTypeError"),v5n=GY?function(){try{return arguments.callee,ZJe}catch{try{return GY(arguments,"callee").get}catch{return ZJe}}}():ZJe,fie=_5n(),BK=Object.getPrototypeOf||function(i){return i.__proto__},_ie={},b5n=typeof Uint8Array>"u"?zg:BK(Uint8Array),gie={"%AggregateError%":typeof AggregateError>"u"?zg:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?zg:ArrayBuffer,"%ArrayIteratorPrototype%":fie?BK([][Symbol.iterator]()):zg,"%AsyncFromSyncIteratorPrototype%":zg,"%AsyncFunction%":_ie,"%AsyncGenerator%":_ie,"%AsyncGeneratorFunction%":_ie,"%AsyncIteratorPrototype%":_ie,"%Atomics%":typeof Atomics>"u"?zg:Atomics,"%BigInt%":typeof BigInt>"u"?zg:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?zg:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?zg:Float32Array,"%Float64Array%":typeof Float64Array>"u"?zg:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?zg:FinalizationRegistry,"%Function%":ELt,"%GeneratorFunction%":_ie,"%Int8Array%":typeof Int8Array>"u"?zg:Int8Array,"%Int16Array%":typeof Int16Array>"u"?zg:Int16Array,"%Int32Array%":typeof Int32Array>"u"?zg:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":fie?BK(BK([][Symbol.iterator]())):zg,"%JSON%":typeof JSON=="object"?JSON:zg,"%Map%":typeof Map>"u"?zg:Map,"%MapIteratorPrototype%":typeof Map>"u"||!fie?zg:BK(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?zg:Promise,"%Proxy%":typeof Proxy>"u"?zg:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?zg:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?zg:Set,"%SetIteratorPrototype%":typeof Set>"u"||!fie?zg:BK(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?zg:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":fie?BK(""[Symbol.iterator]()):zg,"%Symbol%":fie?Symbol:zg,"%SyntaxError%":yie,"%ThrowTypeError%":v5n,"%TypedArray%":b5n,"%TypeError%":hie,"%Uint8Array%":typeof Uint8Array>"u"?zg:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?zg:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?zg:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?zg:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?zg:WeakMap,"%WeakRef%":typeof WeakRef>"u"?zg:WeakRef,"%WeakSet%":typeof WeakSet>"u"?zg:WeakSet},S5n=e(function i(n){var o;if(n==="%AsyncFunction%")o=QJe("async function () {}");else if(n==="%GeneratorFunction%")o=QJe("function* () {}");else if(n==="%AsyncGeneratorFunction%")o=QJe("async function* () {}");else if(n==="%AsyncGenerator%"){var l=i("%AsyncGeneratorFunction%");l&&(o=l.prototype)}else if(n==="%AsyncIteratorPrototype%"){var c=i("%AsyncGenerator%");c&&(o=BK(c.prototype))}return gie[n]=o,o},"doEval2"),gLt={"%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"]},E5n=DG.call(Function.call,Array.prototype.concat),x5n=DG.call(Function.apply,Array.prototype.splice),yLt=DG.call(Function.call,String.prototype.replace),$De=DG.call(Function.call,String.prototype.slice),T5n=DG.call(Function.call,RegExp.prototype.exec),D5n=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,A5n=/\\(\\)?/g,C5n=e(function(n){var o=$De(n,0,1),l=$De(n,-1);if(o==="%"&&l!=="%")throw new yie("invalid intrinsic syntax, expected closing `%`");if(l==="%"&&o!=="%")throw new yie("invalid intrinsic syntax, expected opening `%`");var c=[];return yLt(n,D5n,function(p,h,y,S){c[c.length]=y?yLt(S,A5n,"$1"):h||p}),c},"stringToPath2"),w5n=e(function(n,o){var l=n,c;if(XDe(gLt,l)&&(c=gLt[l],l="%"+c[0]+"%"),XDe(gie,l)){var p=gie[l];if(p===_ie&&(p=S5n(l)),typeof p>"u"&&!o)throw new hie("intrinsic "+n+" exists, but is not available. Please file an issue!");return{alias:c,name:l,value:p}}throw new yie("intrinsic "+n+" does not exist!")},"getBaseIntrinsic2"),TG=e(function(n,o){if(typeof n!="string"||n.length===0)throw new hie("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof o!="boolean")throw new hie('"allowMissing" argument must be a boolean');if(T5n(/^%?[^%]*%?$/g,n)===null)throw new yie("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var l=C5n(n),c=l.length>0?l[0]:"",p=w5n("%"+c+"%",o),h=p.name,y=p.value,S=!1,E=p.alias;E&&(c=E[0],x5n(l,E5n([0,1],E)));for(var D=1,C=!0;D<l.length;D+=1){var A=l[D],W=$De(A,0,1),U=$De(A,-1);if((W==='"'||W==="'"||W==="`"||U==='"'||U==="'"||U==="`")&&W!==U)throw new yie("property names with quotes must have matching quotes");if((A==="constructor"||!C)&&(S=!0),c+="."+A,h="%"+c+"%",XDe(gie,h))y=gie[h];else if(y!=null){if(!(A in y)){if(!o)throw new hie("base intrinsic for "+n+" exists, but the property is not available.");return}if(GY&&D+1>=l.length){var F=GY(y,A);C=!!F,C&&"get"in F&&!("originalValue"in F.get)?y=F.get:y=y[A]}else C=XDe(y,A),y=y[A];C&&!S&&(gie[h]=y)}}return y},"GetIntrinsic"),xLt=BR(function(i){var n=TG("%Function.prototype.apply%"),o=TG("%Function.prototype.call%"),l=TG("%Reflect.apply%",!0)||DG.call(o,n),c=TG("%Object.getOwnPropertyDescriptor%",!0),p=TG("%Object.defineProperty%",!0),h=TG("%Math.max%");if(p)try{p({},"a",{value:1})}catch{p=null}i.exports=e(function(E){var D=l(DG,o,arguments);if(c&&p){var C=c(D,"length");C.configurable&&p(D,"length",{value:1+h(0,E.length-(arguments.length-1))})}return D},"callBind2");var y=e(function(){return l(DG,n,arguments)},"applyBind2");p?p(i.exports,"apply",{value:y}):i.exports.apply=y}),I5n=xLt(TG("String.prototype.indexOf")),vie=e(function(n,o){var l=TG(n,!!o);return typeof l=="function"&&I5n(n,".prototype.")>-1?xLt(l):l},"callBoundIntrinsic"),P5n=YDe(),oXe=vie("Object.prototype.toString"),QDe=e(function(n){return P5n&&n&&typeof n=="object"&&Symbol.toStringTag in n?!1:oXe(n)==="[object Arguments]"},"isArguments"),TLt=e(function(n){return QDe(n)?!0:n!==null&&typeof n=="object"&&typeof n.length=="number"&&n.length>=0&&oXe(n)!=="[object Array]"&&oXe(n.callee)==="[object Function]"},"isArguments2"),N5n=function(){return QDe(arguments)}();QDe.isLegacyArguments=TLt;R5n=N5n?QDe:TLt,k5n=Object.prototype.toString,M5n=Function.prototype.toString,L5n=/^\s*(?:function)?\*/,DLt=YDe(),eXe=Object.getPrototypeOf,O5n=e(function(){if(!DLt)return!1;try{return Function("return function*() {}")()}catch{}},"getGeneratorFunc"),F5n=e(function(n){if(typeof n!="function")return!1;if(L5n.test(M5n.call(n)))return!0;if(!DLt){var o=k5n.call(n);return o==="[object GeneratorFunction]"}if(!eXe)return!1;if(typeof tXe>"u"){var l=O5n();tXe=l?eXe(l):!1}return eXe(n)===tXe},"isGeneratorFunction2"),ALt=Function.prototype.toString,mie=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply;if(typeof mie=="function"&&typeof Object.defineProperty=="function")try{aXe=Object.defineProperty({},"length",{get:e(function(){throw HDe},"get")}),HDe={},mie(function(){throw 42},null,aXe)}catch(i){i!==HDe&&(mie=null)}else mie=null;B5n=/^\s*class\b/,sXe=e(function(n){try{var o=ALt.call(n);return B5n.test(o)}catch{return!1}},"isES6ClassFunction"),W5n=e(function(n){try{return sXe(n)?!1:(ALt.call(n),!0)}catch{return!1}},"tryFunctionToStr"),j5n=Object.prototype.toString,z5n="[object Function]",G5n="[object GeneratorFunction]",U5n=typeof Symbol=="function"&&!!Symbol.toStringTag,vLt=typeof document=="object"&&typeof document.all>"u"&&document.all!==void 0?document.all:{},V5n=mie?e(function(n){if(n===vLt)return!0;if(!n||typeof n!="function"&&typeof n!="object")return!1;if(typeof n=="function"&&!n.prototype)return!0;try{mie(n,null,aXe)}catch(o){if(o!==HDe)return!1}return!sXe(n)},"isCallable2"):e(function(n){if(n===vLt)return!0;if(!n||typeof n!="function"&&typeof n!="object")return!1;if(typeof n=="function"&&!n.prototype)return!0;if(U5n)return W5n(n);if(sXe(n))return!1;var o=j5n.call(n);return o===z5n||o===G5n},"isCallable3"),q5n=Object.prototype.toString,CLt=Object.prototype.hasOwnProperty,K5n=e(function(n,o,l){for(var c=0,p=n.length;c<p;c++)CLt.call(n,c)&&(l==null?o(n[c],c,n):o.call(l,n[c],c,n))},"forEachArray2"),H5n=e(function(n,o,l){for(var c=0,p=n.length;c<p;c++)l==null?o(n.charAt(c),c,n):o.call(l,n.charAt(c),c,n)},"forEachString2"),J5n=e(function(n,o,l){for(var c in n)CLt.call(n,c)&&(l==null?o(n[c],c,n):o.call(l,n[c],c,n))},"forEachObject2"),X5n=e(function(n,o,l){if(!V5n(o))throw new TypeError("iterator must be a function");var c;arguments.length>=3&&(c=l),q5n.call(n)==="[object Array]"?K5n(n,o,c):typeof n=="string"?H5n(n,o,c):J5n(n,o,c)},"forEach2"),ZDe=X5n,nXe=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],$5n=typeof globalThis>"u"?GB:globalThis,wLt=e(function(){for(var n=[],o=0;o<nXe.length;o++)typeof $5n[nXe[o]]=="function"&&(n[n.length]=nXe[o]);return n},"availableTypedArrays2"),JDe=TG("%Object.getOwnPropertyDescriptor%",!0);if(JDe)try{JDe([],"length")}catch{JDe=null}UY=JDe,Y5n=vie("Object.prototype.toString"),ILt=YDe(),Q5n=typeof globalThis>"u"?GB:globalThis,PLt=wLt(),Z5n=vie("Array.prototype.indexOf",!0)||e(function(n,o){for(var l=0;l<n.length;l+=1)if(n[l]===o)return l;return-1},"indexOf"),eBn=vie("String.prototype.slice"),NLt={},rXe=Object.getPrototypeOf;ILt&&UY&&rXe&&ZDe(PLt,function(i){var n=new Q5n[i];if(Symbol.toStringTag in n){var o=rXe(n),l=UY(o,Symbol.toStringTag);if(!l){var c=rXe(o);l=UY(c,Symbol.toStringTag)}NLt[i]=l.get}});tBn=e(function(n){var o=!1;return ZDe(NLt,function(l,c){if(!o)try{o=l.call(n)===c}catch{}}),o},"tryAllTypedArrays"),lXe=e(function(n){if(!n||typeof n!="object")return!1;if(!ILt||!(Symbol.toStringTag in n)){var o=eBn(Y5n(n),8,-1);return Z5n(PLt,o)>-1}return UY?tBn(n):!1},"isTypedArray2"),nBn=vie("Object.prototype.toString"),RLt=YDe(),bLt=typeof globalThis>"u"?GB:globalThis,rBn=wLt(),iBn=vie("String.prototype.slice"),kLt={},iXe=Object.getPrototypeOf;RLt&&UY&&iXe&&ZDe(rBn,function(i){if(typeof bLt[i]=="function"){var n=new bLt[i];if(Symbol.toStringTag in n){var o=iXe(n),l=UY(o,Symbol.toStringTag);if(!l){var c=iXe(o);l=UY(c,Symbol.toStringTag)}kLt[i]=l.get}}});oBn=e(function(n){var o=!1;return ZDe(kLt,function(l,c){if(!o)try{var p=l.call(n);p===c&&(o=p)}catch{}}),o},"tryAllTypedArrays2"),N4=e(function(n){return lXe(n)?!RLt||!(Symbol.toStringTag in n)?iBn(nBn(n),8,-1):oBn(n):!1},"whichTypedArray2"),aBn=BR(function(i,n){function o(Ir){return Ir.call.bind(Ir)}e(o,"uncurryThis");var l=typeof BigInt<"u",c=typeof Symbol<"u",p=o(Object.prototype.toString),h=o(Number.prototype.valueOf),y=o(String.prototype.valueOf),S=o(Boolean.prototype.valueOf);if(l)var E=o(BigInt.prototype.valueOf);if(c)var D=o(Symbol.prototype.valueOf);function C(Ir,yn){if(typeof Ir!="object")return!1;try{return yn(Ir),!0}catch{return!1}}e(C,"checkBoxedPrimitive"),n.isArgumentsObject=R5n,n.isGeneratorFunction=F5n,n.isTypedArray=lXe;function A(Ir){return typeof Promise<"u"&&Ir instanceof Promise||Ir!==null&&typeof Ir=="object"&&typeof Ir.then=="function"&&typeof Ir.catch=="function"}e(A,"isPromise"),n.isPromise=A;function W(Ir){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(Ir):lXe(Ir)||mt(Ir)}e(W,"isArrayBufferView"),n.isArrayBufferView=W;function U(Ir){return N4(Ir)==="Uint8Array"}e(U,"isUint8Array"),n.isUint8Array=U;function F(Ir){return N4(Ir)==="Uint8ClampedArray"}e(F,"isUint8ClampedArray"),n.isUint8ClampedArray=F;function R(Ir){return N4(Ir)==="Uint16Array"}e(R,"isUint16Array"),n.isUint16Array=R;function O(Ir){return N4(Ir)==="Uint32Array"}e(O,"isUint32Array"),n.isUint32Array=O;function X(Ir){return N4(Ir)==="Int8Array"}e(X,"isInt8Array"),n.isInt8Array=X;function Y(Ir){return N4(Ir)==="Int16Array"}e(Y,"isInt16Array"),n.isInt16Array=Y;function re(Ir){return N4(Ir)==="Int32Array"}e(re,"isInt32Array"),n.isInt32Array=re;function _e(Ir){return N4(Ir)==="Float32Array"}e(_e,"isFloat32Array"),n.isFloat32Array=_e;function be(Ir){return N4(Ir)==="Float64Array"}e(be,"isFloat64Array"),n.isFloat64Array=be;function Ae(Ir){return N4(Ir)==="BigInt64Array"}e(Ae,"isBigInt64Array"),n.isBigInt64Array=Ae;function ye(Ir){return N4(Ir)==="BigUint64Array"}e(ye,"isBigUint64Array"),n.isBigUint64Array=ye;function je(Ir){return p(Ir)==="[object Map]"}e(je,"isMapToString"),je.working=typeof Map<"u"&&je(new Map);function lt(Ir){return typeof Map>"u"?!1:je.working?je(Ir):Ir instanceof Map}e(lt,"isMap"),n.isMap=lt;function vt(Ir){return p(Ir)==="[object Set]"}e(vt,"isSetToString"),vt.working=typeof Set<"u"&&vt(new Set);function wt(Ir){return typeof Set>"u"?!1:vt.working?vt(Ir):Ir instanceof Set}e(wt,"isSet"),n.isSet=wt;function en(Ir){return p(Ir)==="[object WeakMap]"}e(en,"isWeakMapToString"),en.working=typeof WeakMap<"u"&&en(new WeakMap);function wn(Ir){return typeof WeakMap>"u"?!1:en.working?en(Ir):Ir instanceof WeakMap}e(wn,"isWeakMap"),n.isWeakMap=wn;function bn(Ir){return p(Ir)==="[object WeakSet]"}e(bn,"isWeakSetToString"),bn.working=typeof WeakSet<"u"&&bn(new WeakSet);function Ht(Ir){return bn(Ir)}e(Ht,"isWeakSet"),n.isWeakSet=Ht;function nn(Ir){return p(Ir)==="[object ArrayBuffer]"}e(nn,"isArrayBufferToString"),nn.working=typeof ArrayBuffer<"u"&&nn(new ArrayBuffer);function It(Ir){return typeof ArrayBuffer>"u"?!1:nn.working?nn(Ir):Ir instanceof ArrayBuffer}e(It,"isArrayBuffer"),n.isArrayBuffer=It;function Zt(Ir){return p(Ir)==="[object DataView]"}e(Zt,"isDataViewToString"),Zt.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&Zt(new DataView(new ArrayBuffer(1),0,1));function mt(Ir){return typeof DataView>"u"?!1:Zt.working?Zt(Ir):Ir instanceof DataView}e(mt,"isDataView"),n.isDataView=mt;var In=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function Gn(Ir){return p(Ir)==="[object SharedArrayBuffer]"}e(Gn,"isSharedArrayBufferToString");function _n(Ir){return typeof In>"u"?!1:(typeof Gn.working>"u"&&(Gn.working=Gn(new In)),Gn.working?Gn(Ir):Ir instanceof In)}e(_n,"isSharedArrayBuffer"),n.isSharedArrayBuffer=_n;function Bn(Ir){return p(Ir)==="[object AsyncFunction]"}e(Bn,"isAsyncFunction"),n.isAsyncFunction=Bn;function cr(Ir){return p(Ir)==="[object Map Iterator]"}e(cr,"isMapIterator"),n.isMapIterator=cr;function Yt(Ir){return p(Ir)==="[object Set Iterator]"}e(Yt,"isSetIterator"),n.isSetIterator=Yt;function Bt(Ir){return p(Ir)==="[object Generator]"}e(Bt,"isGeneratorObject"),n.isGeneratorObject=Bt;function _t(Ir){return p(Ir)==="[object WebAssembly.Module]"}e(_t,"isWebAssemblyCompiledModule"),n.isWebAssemblyCompiledModule=_t;function me(Ir){return C(Ir,h)}e(me,"isNumberObject"),n.isNumberObject=me;function zt(Ir){return C(Ir,y)}e(zt,"isStringObject"),n.isStringObject=zt;function Dt(Ir){return C(Ir,S)}e(Dt,"isBooleanObject"),n.isBooleanObject=Dt;function rn(Ir){return l&&C(Ir,E)}e(rn,"isBigIntObject"),n.isBigIntObject=rn;function En(Ir){return c&&C(Ir,D)}e(En,"isSymbolObject"),n.isSymbolObject=En;function Kn(Ir){return me(Ir)||zt(Ir)||Dt(Ir)||rn(Ir)||En(Ir)}e(Kn,"isBoxedPrimitive"),n.isBoxedPrimitive=Kn;function Gr(Ir){return typeof Uint8Array<"u"&&(It(Ir)||_n(Ir))}e(Gr,"isAnyArrayBuffer"),n.isAnyArrayBuffer=Gr,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(Ir){Object.defineProperty(n,Ir,{enumerable:!1,value:e(function(){throw new Error(Ir+" is not supported in userland")},"value")})})}),sBn=e(function(n){return n&&typeof n=="object"&&typeof n.copy=="function"&&typeof n.fill=="function"&&typeof n.readUInt8=="function"},"isBuffer"),Wb=BR(function(i,n){var o=Object.getOwnPropertyDescriptors||e(function(Bn){for(var cr=Object.keys(Bn),Yt={},Bt=0;Bt<cr.length;Bt++)Yt[cr[Bt]]=Object.getOwnPropertyDescriptor(Bn,cr[Bt]);return Yt},"getOwnPropertyDescriptors2"),l=/%[sdj%]/g;n.format=function(_n){if(!be(_n)){for(var Bn=[],cr=0;cr<arguments.length;cr++)Bn.push(y(arguments[cr]));return Bn.join(" ")}for(var cr=1,Yt=arguments,Bt=Yt.length,_t=String(_n).replace(l,function(zt){if(zt==="%%")return"%";if(cr>=Bt)return zt;switch(zt){case"%s":return String(Yt[cr++]);case"%d":return Number(Yt[cr++]);case"%j":try{return JSON.stringify(Yt[cr++])}catch{return"[Circular]"}default:return zt}}),me=Yt[cr];cr<Bt;me=Yt[++cr])Y(me)||!lt(me)?_t+=" "+me:_t+=" "+y(me);return _t},n.deprecate=function(_n,Bn){if(typeof Ve<"u"&&Ve.noDeprecation===!0)return _n;if(typeof Ve>"u")return function(){return n.deprecate(_n,Bn).apply(this,arguments)};var cr=!1;function Yt(){if(!cr){if(Ve.throwDeprecation)throw new Error(Bn);Ve.traceDeprecation?console.trace(Bn):console.error(Bn),cr=!0}return _n.apply(this,arguments)}return e(Yt,"deprecated"),Yt};var c={},p=/^$/;if(Ve.env.NODE_DEBUG){var h=Ve.env.NODE_DEBUG;h=h.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),p=new RegExp("^"+h+"$","i")}n.debuglog=function(_n){if(_n=_n.toUpperCase(),!c[_n])if(p.test(_n)){var Bn=Ve.pid;c[_n]=function(){var cr=n.format.apply(n,arguments);console.error("%s %d: %s",_n,Bn,cr)}}else c[_n]=function(){};return c[_n]};function y(_n,Bn){var cr={seen:[],stylize:E};return arguments.length>=3&&(cr.depth=arguments[2]),arguments.length>=4&&(cr.colors=arguments[3]),X(Bn)?cr.showHidden=Bn:Bn&&n._extend(cr,Bn),ye(cr.showHidden)&&(cr.showHidden=!1),ye(cr.depth)&&(cr.depth=2),ye(cr.colors)&&(cr.colors=!1),ye(cr.customInspect)&&(cr.customInspect=!0),cr.colors&&(cr.stylize=S),C(cr,_n,cr.depth)}e(y,"inspect2"),n.inspect=y,y.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},y.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function S(_n,Bn){var cr=y.styles[Bn];return cr?"\x1B["+y.colors[cr][0]+"m"+_n+"\x1B["+y.colors[cr][1]+"m":_n}e(S,"stylizeWithColor");function E(_n,Bn){return _n}e(E,"stylizeNoColor");function D(_n){var Bn={};return _n.forEach(function(cr,Yt){Bn[cr]=!0}),Bn}e(D,"arrayToHash");function C(_n,Bn,cr){if(_n.customInspect&&Bn&&en(Bn.inspect)&&Bn.inspect!==n.inspect&&!(Bn.constructor&&Bn.constructor.prototype===Bn)){var Yt=Bn.inspect(cr,_n);return be(Yt)||(Yt=C(_n,Yt,cr)),Yt}var Bt=A(_n,Bn);if(Bt)return Bt;var _t=Object.keys(Bn),me=D(_t);if(_n.showHidden&&(_t=Object.getOwnPropertyNames(Bn)),wt(Bn)&&(_t.indexOf("message")>=0||_t.indexOf("description")>=0))return W(Bn);if(_t.length===0){if(en(Bn)){var zt=Bn.name?": "+Bn.name:"";return _n.stylize("[Function"+zt+"]","special")}if(je(Bn))return _n.stylize(RegExp.prototype.toString.call(Bn),"regexp");if(vt(Bn))return _n.stylize(Date.prototype.toString.call(Bn),"date");if(wt(Bn))return W(Bn)}var Dt="",rn=!1,En=["{","}"];if(O(Bn)&&(rn=!0,En=["[","]"]),en(Bn)){var Kn=Bn.name?": "+Bn.name:"";Dt=" [Function"+Kn+"]"}if(je(Bn)&&(Dt=" "+RegExp.prototype.toString.call(Bn)),vt(Bn)&&(Dt=" "+Date.prototype.toUTCString.call(Bn)),wt(Bn)&&(Dt=" "+W(Bn)),_t.length===0&&(!rn||Bn.length==0))return En[0]+Dt+En[1];if(cr<0)return je(Bn)?_n.stylize(RegExp.prototype.toString.call(Bn),"regexp"):_n.stylize("[Object]","special");_n.seen.push(Bn);var Gr;return rn?Gr=U(_n,Bn,cr,me,_t):Gr=_t.map(function(Ir){return F(_n,Bn,cr,me,Ir,rn)}),_n.seen.pop(),R(Gr,Dt,En)}e(C,"formatValue");function A(_n,Bn){if(ye(Bn))return _n.stylize("undefined","undefined");if(be(Bn)){var cr="'"+JSON.stringify(Bn).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return _n.stylize(cr,"string")}if(_e(Bn))return _n.stylize(""+Bn,"number");if(X(Bn))return _n.stylize(""+Bn,"boolean");if(Y(Bn))return _n.stylize("null","null")}e(A,"formatPrimitive");function W(_n){return"["+Error.prototype.toString.call(_n)+"]"}e(W,"formatError");function U(_n,Bn,cr,Yt,Bt){for(var _t=[],me=0,zt=Bn.length;me<zt;++me)Zt(Bn,String(me))?_t.push(F(_n,Bn,cr,Yt,String(me),!0)):_t.push("");return Bt.forEach(function(Dt){Dt.match(/^\d+$/)||_t.push(F(_n,Bn,cr,Yt,Dt,!0))}),_t}e(U,"formatArray");function F(_n,Bn,cr,Yt,Bt,_t){var me,zt,Dt;if(Dt=Object.getOwnPropertyDescriptor(Bn,Bt)||{value:Bn[Bt]},