create-cedar-app 2.0.1-next.23 → 2.0.1-next.26

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.
@@ -4,7 +4,7 @@ const require = (await import("node:module")).createRequire(import.meta.url);
4
4
  const __filename = (await import("node:url")).fileURLToPath(import.meta.url);
5
5
  const __dirname = (await import("node:path")).dirname(__filename);
6
6
 
7
- var UW=Object.create;var Kf=Object.defineProperty;var VW=Object.getOwnPropertyDescriptor;var BW=Object.getOwnPropertyNames;var FW=Object.getPrototypeOf,jW=Object.prototype.hasOwnProperty;var W=(r=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(r,{get:(e,t)=>(typeof require<"u"?require:e)[t]}):r)(function(r){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+r+'" is not supported')});var $e=(r,e)=>()=>(r&&(e=r(r=0)),e);var v=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),GW=(r,e)=>{for(var t in e)Kf(r,t,{get:e[t],enumerable:!0})},SC=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of BW(e))!jW.call(r,s)&&s!==t&&Kf(r,s,{get:()=>e[s],enumerable:!(n=VW(e,s))||n.enumerable});return r};var gr=(r,e,t)=>(t=r!=null?UW(FW(r)):{},SC(e||!r||!r.__esModule?Kf(t,"default",{value:r,enumerable:!0}):t,r)),Me=r=>SC(Kf({},"__esModule",{value:!0}),r);var TC,yC=$e(()=>{TC=typeof globalThis=="object"?globalThis:global});var AC=$e(()=>{yC()});var OC=$e(()=>{AC()});var Ii,CE=$e(()=>{Ii="1.8.0"});function qW(r){var e=new Set([r]),t=new Set,n=r.match(vC);if(!n)return function(){return!1};var s={major:+n[1],minor:+n[2],patch:+n[3],prerelease:n[4]};if(s.prerelease!=null)return function(u){return u===r};function i(a){return t.add(a),!1}function o(a){return e.add(a),!0}return function(u){if(e.has(u))return!0;if(t.has(u))return!1;var c=u.match(vC);if(!c)return i(u);var l={major:+c[1],minor:+c[2],patch:+c[3],prerelease:c[4]};return l.prerelease!=null||s.major!==l.major?i(u):s.major===0?s.minor===l.minor&&s.patch<=l.patch?o(u):i(u):s.minor<=l.minor?o(u):i(u)}}var vC,CC,DC=$e(()=>{CE();vC=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;CC=qW(Ii)});function ci(r,e,t,n){var s;n===void 0&&(n=!1);var i=Dc[Cc]=(s=Dc[Cc])!==null&&s!==void 0?s:{version:Ii};if(!n&&i[r]){var o=new Error("@opentelemetry/api: Attempted duplicate registration of API: "+r);return t.error(o.stack||o.message),!1}if(i.version!==Ii){var o=new Error("@opentelemetry/api: Registration of version v"+i.version+" for "+r+" does not match previously registered API v"+Ii);return t.error(o.stack||o.message),!1}return i[r]=e,t.debug("@opentelemetry/api: Registered a global for "+r+" v"+Ii+"."),!0}function Zr(r){var e,t,n=(e=Dc[Cc])===null||e===void 0?void 0:e.version;if(!(!n||!CC(n)))return(t=Dc[Cc])===null||t===void 0?void 0:t[r]}function li(r,e){e.debug("@opentelemetry/api: Unregistering a global for "+r+" v"+Ii+".");var t=Dc[Cc];t&&delete t[r]}var $W,Cc,Dc,uo=$e(()=>{OC();CE();DC();$W=Ii.split(".")[0],Cc=Symbol.for("opentelemetry.js.api."+$W),Dc=TC});function wc(r,e,t){var n=Zr("diag");if(n)return t.unshift(e),n[r].apply(n,HW([],kW(t),!1))}var kW,HW,wC,bC=$e(()=>{uo();kW=function(r,e){var t=typeof Symbol=="function"&&r[Symbol.iterator];if(!t)return r;var n=t.call(r),s,i=[],o;try{for(;(e===void 0||e-- >0)&&!(s=n.next()).done;)i.push(s.value)}catch(a){o={error:a}}finally{try{s&&!s.done&&(t=n.return)&&t.call(n)}finally{if(o)throw o.error}}return i},HW=function(r,e,t){if(t||arguments.length===2)for(var n=0,s=e.length,i;n<s;n++)(i||!(n in e))&&(i||(i=Array.prototype.slice.call(e,0,n)),i[n]=e[n]);return r.concat(i||Array.prototype.slice.call(e))},wC=(function(){function r(e){this._namespace=e.namespace||"DiagComponentLogger"}return r.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return wc("debug",this._namespace,e)},r.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return wc("error",this._namespace,e)},r.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return wc("info",this._namespace,e)},r.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return wc("warn",this._namespace,e)},r.prototype.verbose=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return wc("verbose",this._namespace,e)},r})()});var Wt,zf=$e(()=>{(function(r){r[r.NONE=0]="NONE",r[r.ERROR=30]="ERROR",r[r.WARN=50]="WARN",r[r.INFO=60]="INFO",r[r.DEBUG=70]="DEBUG",r[r.VERBOSE=80]="VERBOSE",r[r.ALL=9999]="ALL"})(Wt||(Wt={}))});function RC(r,e){r<Wt.NONE?r=Wt.NONE:r>Wt.ALL&&(r=Wt.ALL),e=e||{};function t(n,s){var i=e[n];return typeof i=="function"&&r>=s?i.bind(e):function(){}}return{error:t("error",Wt.ERROR),warn:t("warn",Wt.WARN),info:t("info",Wt.INFO),debug:t("debug",Wt.DEBUG),verbose:t("verbose",Wt.VERBOSE)}}var PC=$e(()=>{zf()});var WW,YW,XW,Er,co=$e(()=>{bC();PC();zf();uo();WW=function(r,e){var t=typeof Symbol=="function"&&r[Symbol.iterator];if(!t)return r;var n=t.call(r),s,i=[],o;try{for(;(e===void 0||e-- >0)&&!(s=n.next()).done;)i.push(s.value)}catch(a){o={error:a}}finally{try{s&&!s.done&&(t=n.return)&&t.call(n)}finally{if(o)throw o.error}}return i},YW=function(r,e,t){if(t||arguments.length===2)for(var n=0,s=e.length,i;n<s;n++)(i||!(n in e))&&(i||(i=Array.prototype.slice.call(e,0,n)),i[n]=e[n]);return r.concat(i||Array.prototype.slice.call(e))},XW="diag",Er=(function(){function r(){function e(s){return function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];var a=Zr("diag");if(a)return a[s].apply(a,YW([],WW(i),!1))}}var t=this,n=function(s,i){var o,a,u;if(i===void 0&&(i={logLevel:Wt.INFO}),s===t){var c=new Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return t.error((o=c.stack)!==null&&o!==void 0?o:c.message),!1}typeof i=="number"&&(i={logLevel:i});var l=Zr("diag"),f=RC((a=i.logLevel)!==null&&a!==void 0?a:Wt.INFO,s);if(l&&!i.suppressOverrideMessage){var p=(u=new Error().stack)!==null&&u!==void 0?u:"<failed to generate stacktrace>";l.warn("Current logger will be overwritten from "+p),f.warn("Current logger will overwrite one already registered from "+p)}return ci("diag",f,t,!0)};t.setLogger=n,t.disable=function(){li(XW,t)},t.createComponentLogger=function(s){return new wC(s)},t.verbose=e("verbose"),t.debug=e("debug"),t.info=e("info"),t.warn=e("warn"),t.error=e("error")}return r.instance=function(){return this._instance||(this._instance=new r),this._instance},r})()});var KW,zW,IC,LC=$e(()=>{KW=function(r,e){var t=typeof Symbol=="function"&&r[Symbol.iterator];if(!t)return r;var n=t.call(r),s,i=[],o;try{for(;(e===void 0||e-- >0)&&!(s=n.next()).done;)i.push(s.value)}catch(a){o={error:a}}finally{try{s&&!s.done&&(t=n.return)&&t.call(n)}finally{if(o)throw o.error}}return i},zW=function(r){var e=typeof Symbol=="function"&&Symbol.iterator,t=e&&r[e],n=0;if(t)return t.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&n>=r.length&&(r=void 0),{value:r&&r[n++],done:!r}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},IC=(function(){function r(e){this._entries=e?new Map(e):new Map}return r.prototype.getEntry=function(e){var t=this._entries.get(e);if(t)return Object.assign({},t)},r.prototype.getAllEntries=function(){return Array.from(this._entries.entries()).map(function(e){var t=KW(e,2),n=t[0],s=t[1];return[n,s]})},r.prototype.setEntry=function(e,t){var n=new r(this._entries);return n._entries.set(e,t),n},r.prototype.removeEntry=function(e){var t=new r(this._entries);return t._entries.delete(e),t},r.prototype.removeEntries=function(){for(var e,t,n=[],s=0;s<arguments.length;s++)n[s]=arguments[s];var i=new r(this._entries);try{for(var o=zW(n),a=o.next();!a.done;a=o.next()){var u=a.value;i._entries.delete(u)}}catch(c){e={error:c}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}return i},r.prototype.clear=function(){return new r},r})()});var NC,MC=$e(()=>{NC=Symbol("BaggageEntryMetadata")});function xC(r){return r===void 0&&(r={}),new IC(new Map(Object.entries(r)))}function UC(r){return typeof r!="string"&&(JW.error("Cannot create baggage metadata from unknown type: "+typeof r),r=""),{__TYPE__:NC,toString:function(){return r}}}var JW,DE=$e(()=>{co();LC();MC();JW=Er.instance()});function ya(r){return Symbol.for(r)}var QW,Jf,bc=$e(()=>{QW=(function(){function r(e){var t=this;t._currentContext=e?new Map(e):new Map,t.getValue=function(n){return t._currentContext.get(n)},t.setValue=function(n,s){var i=new r(t._currentContext);return i._currentContext.set(n,s),i},t.deleteValue=function(n){var s=new r(t._currentContext);return s._currentContext.delete(n),s}}return r})(),Jf=new QW});var wE,Qf,VC=$e(()=>{wE=[{n:"error",c:"error"},{n:"warn",c:"warn"},{n:"info",c:"info"},{n:"debug",c:"debug"},{n:"verbose",c:"trace"}],Qf=(function(){function r(){function e(n){return function(){for(var s=[],i=0;i<arguments.length;i++)s[i]=arguments[i];if(console){var o=console[n];if(typeof o!="function"&&(o=console.log),typeof o=="function")return o.apply(console,s)}}}for(var t=0;t<wE.length;t++)this[wE[t].n]=e(wE[t].c)}return r})()});function BC(){return PE}var Aa,ZW,bE,e9,t9,r9,RE,n9,i9,s9,PE,o9,a9,u9,c9,l9,f9,IE=$e(()=>{Aa=(function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,s){n.__proto__=s}||function(n,s){for(var i in s)Object.prototype.hasOwnProperty.call(s,i)&&(n[i]=s[i])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}})(),ZW=(function(){function r(){}return r.prototype.createHistogram=function(e,t){return a9},r.prototype.createCounter=function(e,t){return o9},r.prototype.createUpDownCounter=function(e,t){return u9},r.prototype.createObservableGauge=function(e,t){return l9},r.prototype.createObservableCounter=function(e,t){return c9},r.prototype.createObservableUpDownCounter=function(e,t){return f9},r.prototype.addBatchObservableCallback=function(e,t){},r.prototype.removeBatchObservableCallback=function(e){},r})(),bE=(function(){function r(){}return r})(),e9=(function(r){Aa(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.add=function(t,n){},e})(bE),t9=(function(r){Aa(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.add=function(t,n){},e})(bE),r9=(function(r){Aa(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.record=function(t,n){},e})(bE),RE=(function(){function r(){}return r.prototype.addCallback=function(e){},r.prototype.removeCallback=function(e){},r})(),n9=(function(r){Aa(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e})(RE),i9=(function(r){Aa(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e})(RE),s9=(function(r){Aa(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e})(RE),PE=new ZW,o9=new e9,a9=new r9,u9=new t9,c9=new n9,l9=new i9,f9=new s9});var Zf,FC=$e(()=>{(function(r){r[r.INT=0]="INT",r[r.DOUBLE=1]="DOUBLE"})(Zf||(Zf={}))});var ep,tp,LE=$e(()=>{ep={get:function(r,e){if(r!=null)return r[e]},keys:function(r){return r==null?[]:Object.keys(r)}},tp={set:function(r,e,t){r!=null&&(r[e]=t)}}});var p9,d9,jC,GC=$e(()=>{bc();p9=function(r,e){var t=typeof Symbol=="function"&&r[Symbol.iterator];if(!t)return r;var n=t.call(r),s,i=[],o;try{for(;(e===void 0||e-- >0)&&!(s=n.next()).done;)i.push(s.value)}catch(a){o={error:a}}finally{try{s&&!s.done&&(t=n.return)&&t.call(n)}finally{if(o)throw o.error}}return i},d9=function(r,e,t){if(t||arguments.length===2)for(var n=0,s=e.length,i;n<s;n++)(i||!(n in e))&&(i||(i=Array.prototype.slice.call(e,0,n)),i[n]=e[n]);return r.concat(i||Array.prototype.slice.call(e))},jC=(function(){function r(){}return r.prototype.active=function(){return Jf},r.prototype.with=function(e,t,n){for(var s=[],i=3;i<arguments.length;i++)s[i-3]=arguments[i];return t.call.apply(t,d9([n],p9(s),!1))},r.prototype.bind=function(e,t){return t},r.prototype.enable=function(){return this},r.prototype.disable=function(){return this},r})()});var h9,m9,NE,g9,Ji,Rc=$e(()=>{GC();uo();co();h9=function(r,e){var t=typeof Symbol=="function"&&r[Symbol.iterator];if(!t)return r;var n=t.call(r),s,i=[],o;try{for(;(e===void 0||e-- >0)&&!(s=n.next()).done;)i.push(s.value)}catch(a){o={error:a}}finally{try{s&&!s.done&&(t=n.return)&&t.call(n)}finally{if(o)throw o.error}}return i},m9=function(r,e,t){if(t||arguments.length===2)for(var n=0,s=e.length,i;n<s;n++)(i||!(n in e))&&(i||(i=Array.prototype.slice.call(e,0,n)),i[n]=e[n]);return r.concat(i||Array.prototype.slice.call(e))},NE="context",g9=new jC,Ji=(function(){function r(){}return r.getInstance=function(){return this._instance||(this._instance=new r),this._instance},r.prototype.setGlobalContextManager=function(e){return ci(NE,e,Er.instance())},r.prototype.active=function(){return this._getContextManager().active()},r.prototype.with=function(e,t,n){for(var s,i=[],o=3;o<arguments.length;o++)i[o-3]=arguments[o];return(s=this._getContextManager()).with.apply(s,m9([e,t,n],h9(i),!1))},r.prototype.bind=function(e,t){return this._getContextManager().bind(e,t)},r.prototype._getContextManager=function(){return Zr(NE)||g9},r.prototype.disable=function(){this._getContextManager().disable(),li(NE,Er.instance())},r})()});var Oa,ME=$e(()=>{(function(r){r[r.NONE=0]="NONE",r[r.SAMPLED=1]="SAMPLED"})(Oa||(Oa={}))});var Pc,Ic,rp,np=$e(()=>{ME();Pc="0000000000000000",Ic="00000000000000000000000000000000",rp={traceId:Ic,spanId:Pc,traceFlags:Oa.NONE}});var Qi,ip=$e(()=>{np();Qi=(function(){function r(e){e===void 0&&(e=rp),this._spanContext=e}return r.prototype.spanContext=function(){return this._spanContext},r.prototype.setAttribute=function(e,t){return this},r.prototype.setAttributes=function(e){return this},r.prototype.addEvent=function(e,t){return this},r.prototype.setStatus=function(e){return this},r.prototype.updateName=function(e){return this},r.prototype.end=function(e){},r.prototype.isRecording=function(){return!1},r.prototype.recordException=function(e,t){},r})()});function sp(r){return r.getValue(xE)||void 0}function qC(){return sp(Ji.getInstance().active())}function Lc(r,e){return r.setValue(xE,e)}function $C(r){return r.deleteValue(xE)}function kC(r,e){return Lc(r,new Qi(e))}function op(r){var e;return(e=sp(r))===null||e===void 0?void 0:e.spanContext()}var xE,UE=$e(()=>{bc();ip();Rc();xE=ya("OpenTelemetry Context Key SPAN")});function VE(r){return E9.test(r)&&r!==Ic}function BE(r){return _9.test(r)&&r!==Pc}function va(r){return VE(r.traceId)&&BE(r.spanId)}function HC(r){return new Qi(r)}var E9,_9,ap=$e(()=>{np();ip();E9=/^([0-9a-f]{32})$/i,_9=/^[0-9a-f]{16}$/i});function S9(r){return typeof r=="object"&&typeof r.spanId=="string"&&typeof r.traceId=="string"&&typeof r.traceFlags=="number"}var FE,up,jE=$e(()=>{Rc();UE();ip();ap();FE=Ji.getInstance(),up=(function(){function r(){}return r.prototype.startSpan=function(e,t,n){n===void 0&&(n=FE.active());var s=!!t?.root;if(s)return new Qi;var i=n&&op(n);return S9(i)&&va(i)?new Qi(i):new Qi},r.prototype.startActiveSpan=function(e,t,n,s){var i,o,a;if(!(arguments.length<2)){arguments.length===2?a=t:arguments.length===3?(i=t,a=n):(i=t,o=n,a=s);var u=o??FE.active(),c=this.startSpan(e,i,u),l=Lc(u,c);return FE.with(l,a,void 0,c)}},r})()});var T9,cp,GE=$e(()=>{jE();T9=new up,cp=(function(){function r(e,t,n,s){this._provider=e,this.name=t,this.version=n,this.options=s}return r.prototype.startSpan=function(e,t,n){return this._getTracer().startSpan(e,t,n)},r.prototype.startActiveSpan=function(e,t,n,s){var i=this._getTracer();return Reflect.apply(i.startActiveSpan,i,arguments)},r.prototype._getTracer=function(){if(this._delegate)return this._delegate;var e=this._provider.getDelegateTracer(this.name,this.version,this.options);return e?(this._delegate=e,this._delegate):T9},r})()});var WC,YC=$e(()=>{jE();WC=(function(){function r(){}return r.prototype.getTracer=function(e,t,n){return new up},r})()});var y9,Nc,qE=$e(()=>{GE();YC();y9=new WC,Nc=(function(){function r(){}return r.prototype.getTracer=function(e,t,n){var s;return(s=this.getDelegateTracer(e,t,n))!==null&&s!==void 0?s:new cp(this,e,t,n)},r.prototype.getDelegate=function(){var e;return(e=this._delegate)!==null&&e!==void 0?e:y9},r.prototype.setDelegate=function(e){this._delegate=e},r.prototype.getDelegateTracer=function(e,t,n){var s;return(s=this._delegate)===null||s===void 0?void 0:s.getTracer(e,t,n)},r})()});var lp,XC=$e(()=>{(function(r){r[r.NOT_RECORD=0]="NOT_RECORD",r[r.RECORD=1]="RECORD",r[r.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"})(lp||(lp={}))});var fp,KC=$e(()=>{(function(r){r[r.INTERNAL=0]="INTERNAL",r[r.SERVER=1]="SERVER",r[r.CLIENT=2]="CLIENT",r[r.PRODUCER=3]="PRODUCER",r[r.CONSUMER=4]="CONSUMER"})(fp||(fp={}))});var Zi,zC=$e(()=>{(function(r){r[r.UNSET=0]="UNSET",r[r.OK=1]="OK",r[r.ERROR=2]="ERROR"})(Zi||(Zi={}))});function JC(r){return v9.test(r)}function QC(r){return C9.test(r)&&!D9.test(r)}var $E,A9,O9,v9,C9,D9,ZC=$e(()=>{$E="[_0-9a-z-*/]",A9="[a-z]"+$E+"{0,255}",O9="[a-z0-9]"+$E+"{0,240}@[a-z]"+$E+"{0,13}",v9=new RegExp("^(?:"+A9+"|"+O9+")$"),C9=/^[ -~]{0,255}[!-~]$/,D9=/,|=/});var eD,w9,tD,rD,nD,iD=$e(()=>{ZC();eD=32,w9=512,tD=",",rD="=",nD=(function(){function r(e){this._internalState=new Map,e&&this._parse(e)}return r.prototype.set=function(e,t){var n=this._clone();return n._internalState.has(e)&&n._internalState.delete(e),n._internalState.set(e,t),n},r.prototype.unset=function(e){var t=this._clone();return t._internalState.delete(e),t},r.prototype.get=function(e){return this._internalState.get(e)},r.prototype.serialize=function(){var e=this;return this._keys().reduce(function(t,n){return t.push(n+rD+e.get(n)),t},[]).join(tD)},r.prototype._parse=function(e){e.length>w9||(this._internalState=e.split(tD).reverse().reduce(function(t,n){var s=n.trim(),i=s.indexOf(rD);if(i!==-1){var o=s.slice(0,i),a=s.slice(i+1,n.length);JC(o)&&QC(a)&&t.set(o,a)}return t},new Map),this._internalState.size>eD&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,eD))))},r.prototype._keys=function(){return Array.from(this._internalState.keys()).reverse()},r.prototype._clone=function(){var e=new r;return e._internalState=new Map(this._internalState),e},r})()});function sD(r){return new nD(r)}var oD=$e(()=>{iD()});var kE,aD=$e(()=>{Rc();kE=Ji.getInstance()});var Mc,uD=$e(()=>{co();Mc=Er.instance()});var b9,cD,lD=$e(()=>{IE();b9=(function(){function r(){}return r.prototype.getMeter=function(e,t,n){return PE},r})(),cD=new b9});var HE,fD,pD=$e(()=>{lD();uo();co();HE="metrics",fD=(function(){function r(){}return r.getInstance=function(){return this._instance||(this._instance=new r),this._instance},r.prototype.setGlobalMeterProvider=function(e){return ci(HE,e,Er.instance())},r.prototype.getMeterProvider=function(){return Zr(HE)||cD},r.prototype.getMeter=function(e,t,n){return this.getMeterProvider().getMeter(e,t,n)},r.prototype.disable=function(){li(HE,Er.instance())},r})()});var WE,dD=$e(()=>{pD();WE=fD.getInstance()});var hD,mD=$e(()=>{hD=(function(){function r(){}return r.prototype.inject=function(e,t){},r.prototype.extract=function(e,t){return e},r.prototype.fields=function(){return[]},r})()});function XE(r){return r.getValue(YE)||void 0}function gD(){return XE(Ji.getInstance().active())}function ED(r,e){return r.setValue(YE,e)}function _D(r){return r.deleteValue(YE)}var YE,SD=$e(()=>{Rc();bc();YE=ya("OpenTelemetry Baggage Key")});var KE,R9,TD,yD=$e(()=>{uo();mD();LE();SD();DE();co();KE="propagation",R9=new hD,TD=(function(){function r(){this.createBaggage=xC,this.getBaggage=XE,this.getActiveBaggage=gD,this.setBaggage=ED,this.deleteBaggage=_D}return r.getInstance=function(){return this._instance||(this._instance=new r),this._instance},r.prototype.setGlobalPropagator=function(e){return ci(KE,e,Er.instance())},r.prototype.inject=function(e,t,n){return n===void 0&&(n=tp),this._getGlobalPropagator().inject(e,t,n)},r.prototype.extract=function(e,t,n){return n===void 0&&(n=ep),this._getGlobalPropagator().extract(e,t,n)},r.prototype.fields=function(){return this._getGlobalPropagator().fields()},r.prototype.disable=function(){li(KE,Er.instance())},r.prototype._getGlobalPropagator=function(){return Zr(KE)||R9},r})()});var zE,AD=$e(()=>{yD();zE=TD.getInstance()});var JE,OD,vD=$e(()=>{uo();qE();ap();UE();co();JE="trace",OD=(function(){function r(){this._proxyTracerProvider=new Nc,this.wrapSpanContext=HC,this.isSpanContextValid=va,this.deleteSpan=$C,this.getSpan=sp,this.getActiveSpan=qC,this.getSpanContext=op,this.setSpan=Lc,this.setSpanContext=kC}return r.getInstance=function(){return this._instance||(this._instance=new r),this._instance},r.prototype.setGlobalTracerProvider=function(e){var t=ci(JE,this._proxyTracerProvider,Er.instance());return t&&this._proxyTracerProvider.setDelegate(e),t},r.prototype.getTracerProvider=function(){return Zr(JE)||this._proxyTracerProvider},r.prototype.getTracer=function(e,t){return this.getTracerProvider().getTracer(e,t)},r.prototype.disable=function(){li(JE,Er.instance()),this._proxyTracerProvider=new Nc},r})()});var gn,CD=$e(()=>{vD();gn=OD.getInstance()});var Ne={};GW(Ne,{DiagConsoleLogger:()=>Qf,DiagLogLevel:()=>Wt,INVALID_SPANID:()=>Pc,INVALID_SPAN_CONTEXT:()=>rp,INVALID_TRACEID:()=>Ic,ProxyTracer:()=>cp,ProxyTracerProvider:()=>Nc,ROOT_CONTEXT:()=>Jf,SamplingDecision:()=>lp,SpanKind:()=>fp,SpanStatusCode:()=>Zi,TraceFlags:()=>Oa,ValueType:()=>Zf,baggageEntryMetadataFromString:()=>UC,context:()=>kE,createContextKey:()=>ya,createNoopMeter:()=>BC,createTraceState:()=>sD,default:()=>xc,defaultTextMapGetter:()=>ep,defaultTextMapSetter:()=>tp,diag:()=>Mc,isSpanContextValid:()=>va,isValidSpanId:()=>BE,isValidTraceId:()=>VE,metrics:()=>WE,propagation:()=>zE,trace:()=>gn});var xc,Pe=$e(()=>{DE();bc();VC();zf();IE();FC();LE();GE();qE();XC();KC();zC();ME();oD();ap();np();aD();uD();dD();AD();CD();xc={context:kE,diag:Mc,metrics:WE,propagation:zE,trace:gn}});var wD=v((kTe,DD)=>{DD.exports=function(e,t,n){if(typeof t!="function")throw new TypeError("`f` has to be a function");var s={};return Object.keys(e).forEach(function(i){t.call(n||this,e[i],i,e)&&(s[i]=e[i])}),s}});var RD=v((HTe,bD)=>{"use strict";var P9=Object.prototype.hasOwnProperty;bD.exports=function(r,e){var t={};for(var n in r)P9.call(r,n)&&(t[n]=e(r[n],n,r));return t}});var LD=v((WTe,ID)=>{var PD;ID.exports=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:global):r=>(PD||(PD=Promise.resolve())).then(r).catch(e=>setTimeout(()=>{throw e},0))});var MD=v((YTe,ND)=>{ND.exports=L9;var I9=LD();function L9(r,e){let t,n,s,i=!0;Array.isArray(r)?(t=[],n=r.length):(s=Object.keys(r),t={},n=s.length);function o(u){function c(){e&&e(u,t),e=null}i?I9(c):c()}function a(u,c,l){t[u]=l,(--n===0||c)&&o(c)}n?s?s.forEach(function(u){r[u](function(c,l){a(u,c,l)})}):r.forEach(function(u,c){u(function(l,f){a(c,l,f)})}):o(null),i=!1}});var jD=v((ke,FD)=>{ke=FD.exports=Qe;var ht;typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?ht=function(){var r=Array.prototype.slice.call(arguments,0);r.unshift("SEMVER"),console.log.apply(console,r)}:ht=function(){};ke.SEMVER_SPEC_VERSION="2.0.0";var Uc=256,pp=Number.MAX_SAFE_INTEGER||9007199254740991,QE=16,N9=Uc-6,Ca=ke.re=[],dt=ke.safeRe=[],ue=ke.src=[],Q=ke.tokens={},VD=0;function et(r){Q[r]=VD++}var e0="[a-zA-Z0-9-]",ZE=[["\\s",1],["\\d",Uc],[e0,N9]];function Bc(r){for(var e=0;e<ZE.length;e++){var t=ZE[e][0],n=ZE[e][1];r=r.split(t+"*").join(t+"{0,"+n+"}").split(t+"+").join(t+"{1,"+n+"}")}return r}et("NUMERICIDENTIFIER");ue[Q.NUMERICIDENTIFIER]="0|[1-9]\\d*";et("NUMERICIDENTIFIERLOOSE");ue[Q.NUMERICIDENTIFIERLOOSE]="\\d+";et("NONNUMERICIDENTIFIER");ue[Q.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+e0+"*";et("MAINVERSION");ue[Q.MAINVERSION]="("+ue[Q.NUMERICIDENTIFIER]+")\\.("+ue[Q.NUMERICIDENTIFIER]+")\\.("+ue[Q.NUMERICIDENTIFIER]+")";et("MAINVERSIONLOOSE");ue[Q.MAINVERSIONLOOSE]="("+ue[Q.NUMERICIDENTIFIERLOOSE]+")\\.("+ue[Q.NUMERICIDENTIFIERLOOSE]+")\\.("+ue[Q.NUMERICIDENTIFIERLOOSE]+")";et("PRERELEASEIDENTIFIER");ue[Q.PRERELEASEIDENTIFIER]="(?:"+ue[Q.NUMERICIDENTIFIER]+"|"+ue[Q.NONNUMERICIDENTIFIER]+")";et("PRERELEASEIDENTIFIERLOOSE");ue[Q.PRERELEASEIDENTIFIERLOOSE]="(?:"+ue[Q.NUMERICIDENTIFIERLOOSE]+"|"+ue[Q.NONNUMERICIDENTIFIER]+")";et("PRERELEASE");ue[Q.PRERELEASE]="(?:-("+ue[Q.PRERELEASEIDENTIFIER]+"(?:\\."+ue[Q.PRERELEASEIDENTIFIER]+")*))";et("PRERELEASELOOSE");ue[Q.PRERELEASELOOSE]="(?:-?("+ue[Q.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+ue[Q.PRERELEASEIDENTIFIERLOOSE]+")*))";et("BUILDIDENTIFIER");ue[Q.BUILDIDENTIFIER]=e0+"+";et("BUILD");ue[Q.BUILD]="(?:\\+("+ue[Q.BUILDIDENTIFIER]+"(?:\\."+ue[Q.BUILDIDENTIFIER]+")*))";et("FULL");et("FULLPLAIN");ue[Q.FULLPLAIN]="v?"+ue[Q.MAINVERSION]+ue[Q.PRERELEASE]+"?"+ue[Q.BUILD]+"?";ue[Q.FULL]="^"+ue[Q.FULLPLAIN]+"$";et("LOOSEPLAIN");ue[Q.LOOSEPLAIN]="[v=\\s]*"+ue[Q.MAINVERSIONLOOSE]+ue[Q.PRERELEASELOOSE]+"?"+ue[Q.BUILD]+"?";et("LOOSE");ue[Q.LOOSE]="^"+ue[Q.LOOSEPLAIN]+"$";et("GTLT");ue[Q.GTLT]="((?:<|>)?=?)";et("XRANGEIDENTIFIERLOOSE");ue[Q.XRANGEIDENTIFIERLOOSE]=ue[Q.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";et("XRANGEIDENTIFIER");ue[Q.XRANGEIDENTIFIER]=ue[Q.NUMERICIDENTIFIER]+"|x|X|\\*";et("XRANGEPLAIN");ue[Q.XRANGEPLAIN]="[v=\\s]*("+ue[Q.XRANGEIDENTIFIER]+")(?:\\.("+ue[Q.XRANGEIDENTIFIER]+")(?:\\.("+ue[Q.XRANGEIDENTIFIER]+")(?:"+ue[Q.PRERELEASE]+")?"+ue[Q.BUILD]+"?)?)?";et("XRANGEPLAINLOOSE");ue[Q.XRANGEPLAINLOOSE]="[v=\\s]*("+ue[Q.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+ue[Q.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+ue[Q.XRANGEIDENTIFIERLOOSE]+")(?:"+ue[Q.PRERELEASELOOSE]+")?"+ue[Q.BUILD]+"?)?)?";et("XRANGE");ue[Q.XRANGE]="^"+ue[Q.GTLT]+"\\s*"+ue[Q.XRANGEPLAIN]+"$";et("XRANGELOOSE");ue[Q.XRANGELOOSE]="^"+ue[Q.GTLT]+"\\s*"+ue[Q.XRANGEPLAINLOOSE]+"$";et("COERCE");ue[Q.COERCE]="(^|[^\\d])(\\d{1,"+QE+"})(?:\\.(\\d{1,"+QE+"}))?(?:\\.(\\d{1,"+QE+"}))?(?:$|[^\\d])";et("COERCERTL");Ca[Q.COERCERTL]=new RegExp(ue[Q.COERCE],"g");dt[Q.COERCERTL]=new RegExp(Bc(ue[Q.COERCE]),"g");et("LONETILDE");ue[Q.LONETILDE]="(?:~>?)";et("TILDETRIM");ue[Q.TILDETRIM]="(\\s*)"+ue[Q.LONETILDE]+"\\s+";Ca[Q.TILDETRIM]=new RegExp(ue[Q.TILDETRIM],"g");dt[Q.TILDETRIM]=new RegExp(Bc(ue[Q.TILDETRIM]),"g");var M9="$1~";et("TILDE");ue[Q.TILDE]="^"+ue[Q.LONETILDE]+ue[Q.XRANGEPLAIN]+"$";et("TILDELOOSE");ue[Q.TILDELOOSE]="^"+ue[Q.LONETILDE]+ue[Q.XRANGEPLAINLOOSE]+"$";et("LONECARET");ue[Q.LONECARET]="(?:\\^)";et("CARETTRIM");ue[Q.CARETTRIM]="(\\s*)"+ue[Q.LONECARET]+"\\s+";Ca[Q.CARETTRIM]=new RegExp(ue[Q.CARETTRIM],"g");dt[Q.CARETTRIM]=new RegExp(Bc(ue[Q.CARETTRIM]),"g");var x9="$1^";et("CARET");ue[Q.CARET]="^"+ue[Q.LONECARET]+ue[Q.XRANGEPLAIN]+"$";et("CARETLOOSE");ue[Q.CARETLOOSE]="^"+ue[Q.LONECARET]+ue[Q.XRANGEPLAINLOOSE]+"$";et("COMPARATORLOOSE");ue[Q.COMPARATORLOOSE]="^"+ue[Q.GTLT]+"\\s*("+ue[Q.LOOSEPLAIN]+")$|^$";et("COMPARATOR");ue[Q.COMPARATOR]="^"+ue[Q.GTLT]+"\\s*("+ue[Q.FULLPLAIN]+")$|^$";et("COMPARATORTRIM");ue[Q.COMPARATORTRIM]="(\\s*)"+ue[Q.GTLT]+"\\s*("+ue[Q.LOOSEPLAIN]+"|"+ue[Q.XRANGEPLAIN]+")";Ca[Q.COMPARATORTRIM]=new RegExp(ue[Q.COMPARATORTRIM],"g");dt[Q.COMPARATORTRIM]=new RegExp(Bc(ue[Q.COMPARATORTRIM]),"g");var U9="$1$2$3";et("HYPHENRANGE");ue[Q.HYPHENRANGE]="^\\s*("+ue[Q.XRANGEPLAIN]+")\\s+-\\s+("+ue[Q.XRANGEPLAIN]+")\\s*$";et("HYPHENRANGELOOSE");ue[Q.HYPHENRANGELOOSE]="^\\s*("+ue[Q.XRANGEPLAINLOOSE]+")\\s+-\\s+("+ue[Q.XRANGEPLAINLOOSE]+")\\s*$";et("STAR");ue[Q.STAR]="(<|>)?=?\\s*\\*";for(fi=0;fi<VD;fi++)ht(fi,ue[fi]),Ca[fi]||(Ca[fi]=new RegExp(ue[fi]),dt[fi]=new RegExp(Bc(ue[fi])));var fi;ke.parse=fo;function fo(r,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),r instanceof Qe)return r;if(typeof r!="string"||r.length>Uc)return null;var t=e.loose?dt[Q.LOOSE]:dt[Q.FULL];if(!t.test(r))return null;try{return new Qe(r,e)}catch{return null}}ke.valid=V9;function V9(r,e){var t=fo(r,e);return t?t.version:null}ke.clean=B9;function B9(r,e){var t=fo(r.trim().replace(/^[=v]+/,""),e);return t?t.version:null}ke.SemVer=Qe;function Qe(r,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),r instanceof Qe){if(r.loose===e.loose)return r;r=r.version}else if(typeof r!="string")throw new TypeError("Invalid Version: "+r);if(r.length>Uc)throw new TypeError("version is longer than "+Uc+" characters");if(!(this instanceof Qe))return new Qe(r,e);ht("SemVer",r,e),this.options=e,this.loose=!!e.loose;var t=r.trim().match(e.loose?dt[Q.LOOSE]:dt[Q.FULL]);if(!t)throw new TypeError("Invalid Version: "+r);if(this.raw=r,this.major=+t[1],this.minor=+t[2],this.patch=+t[3],this.major>pp||this.major<0)throw new TypeError("Invalid major version");if(this.minor>pp||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>pp||this.patch<0)throw new TypeError("Invalid patch version");t[4]?this.prerelease=t[4].split(".").map(function(n){if(/^[0-9]+$/.test(n)){var s=+n;if(s>=0&&s<pp)return s}return n}):this.prerelease=[],this.build=t[5]?t[5].split("."):[],this.format()}Qe.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version};Qe.prototype.toString=function(){return this.version};Qe.prototype.compare=function(r){return ht("SemVer.compare",this.version,this.options,r),r instanceof Qe||(r=new Qe(r,this.options)),this.compareMain(r)||this.comparePre(r)};Qe.prototype.compareMain=function(r){return r instanceof Qe||(r=new Qe(r,this.options)),lo(this.major,r.major)||lo(this.minor,r.minor)||lo(this.patch,r.patch)};Qe.prototype.comparePre=function(r){if(r instanceof Qe||(r=new Qe(r,this.options)),this.prerelease.length&&!r.prerelease.length)return-1;if(!this.prerelease.length&&r.prerelease.length)return 1;if(!this.prerelease.length&&!r.prerelease.length)return 0;var e=0;do{var t=this.prerelease[e],n=r.prerelease[e];if(ht("prerelease compare",e,t,n),t===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(t===void 0)return-1;if(t===n)continue;return lo(t,n)}while(++e)};Qe.prototype.compareBuild=function(r){r instanceof Qe||(r=new Qe(r,this.options));var e=0;do{var t=this.build[e],n=r.build[e];if(ht("prerelease compare",e,t,n),t===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(t===void 0)return-1;if(t===n)continue;return lo(t,n)}while(++e)};Qe.prototype.inc=function(r,e){switch(r){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",e);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",e);break;case"prepatch":this.prerelease.length=0,this.inc("patch",e),this.inc("pre",e);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",e),this.inc("pre",e);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{for(var t=this.prerelease.length;--t>=0;)typeof this.prerelease[t]=="number"&&(this.prerelease[t]++,t=-2);t===-1&&this.prerelease.push(0)}e&&(this.prerelease[0]===e?isNaN(this.prerelease[1])&&(this.prerelease=[e,0]):this.prerelease=[e,0]);break;default:throw new Error("invalid increment argument: "+r)}return this.format(),this.raw=this.version,this};ke.inc=F9;function F9(r,e,t,n){typeof t=="string"&&(n=t,t=void 0);try{return new Qe(r,t).inc(e,n).version}catch{return null}}ke.diff=j9;function j9(r,e){if(t0(r,e))return null;var t=fo(r),n=fo(e),s="";if(t.prerelease.length||n.prerelease.length){s="pre";var i="prerelease"}for(var o in t)if((o==="major"||o==="minor"||o==="patch")&&t[o]!==n[o])return s+o;return i}ke.compareIdentifiers=lo;var xD=/^[0-9]+$/;function lo(r,e){var t=xD.test(r),n=xD.test(e);return t&&n&&(r=+r,e=+e),r===e?0:t&&!n?-1:n&&!t?1:r<e?-1:1}ke.rcompareIdentifiers=G9;function G9(r,e){return lo(e,r)}ke.major=q9;function q9(r,e){return new Qe(r,e).major}ke.minor=$9;function $9(r,e){return new Qe(r,e).minor}ke.patch=k9;function k9(r,e){return new Qe(r,e).patch}ke.compare=Li;function Li(r,e,t){return new Qe(r,t).compare(new Qe(e,t))}ke.compareLoose=H9;function H9(r,e){return Li(r,e,!0)}ke.compareBuild=W9;function W9(r,e,t){var n=new Qe(r,t),s=new Qe(e,t);return n.compare(s)||n.compareBuild(s)}ke.rcompare=Y9;function Y9(r,e,t){return Li(e,r,t)}ke.sort=X9;function X9(r,e){return r.sort(function(t,n){return ke.compareBuild(t,n,e)})}ke.rsort=K9;function K9(r,e){return r.sort(function(t,n){return ke.compareBuild(n,t,e)})}ke.gt=Vc;function Vc(r,e,t){return Li(r,e,t)>0}ke.lt=dp;function dp(r,e,t){return Li(r,e,t)<0}ke.eq=t0;function t0(r,e,t){return Li(r,e,t)===0}ke.neq=BD;function BD(r,e,t){return Li(r,e,t)!==0}ke.gte=r0;function r0(r,e,t){return Li(r,e,t)>=0}ke.lte=n0;function n0(r,e,t){return Li(r,e,t)<=0}ke.cmp=hp;function hp(r,e,t,n){switch(e){case"===":return typeof r=="object"&&(r=r.version),typeof t=="object"&&(t=t.version),r===t;case"!==":return typeof r=="object"&&(r=r.version),typeof t=="object"&&(t=t.version),r!==t;case"":case"=":case"==":return t0(r,t,n);case"!=":return BD(r,t,n);case">":return Vc(r,t,n);case">=":return r0(r,t,n);case"<":return dp(r,t,n);case"<=":return n0(r,t,n);default:throw new TypeError("Invalid operator: "+e)}}ke.Comparator=En;function En(r,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),r instanceof En){if(r.loose===!!e.loose)return r;r=r.value}if(!(this instanceof En))return new En(r,e);r=r.trim().split(/\s+/).join(" "),ht("comparator",r,e),this.options=e,this.loose=!!e.loose,this.parse(r),this.semver===Da?this.value="":this.value=this.operator+this.semver.version,ht("comp",this)}var Da={};En.prototype.parse=function(r){var e=this.options.loose?dt[Q.COMPARATORLOOSE]:dt[Q.COMPARATOR],t=r.match(e);if(!t)throw new TypeError("Invalid comparator: "+r);this.operator=t[1]!==void 0?t[1]:"",this.operator==="="&&(this.operator=""),t[2]?this.semver=new Qe(t[2],this.options.loose):this.semver=Da};En.prototype.toString=function(){return this.value};En.prototype.test=function(r){if(ht("Comparator.test",r,this.options.loose),this.semver===Da||r===Da)return!0;if(typeof r=="string")try{r=new Qe(r,this.options)}catch{return!1}return hp(r,this.operator,this.semver,this.options)};En.prototype.intersects=function(r,e){if(!(r instanceof En))throw new TypeError("a Comparator is required");(!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1});var t;if(this.operator==="")return this.value===""?!0:(t=new It(r.value,e),mp(this.value,t,e));if(r.operator==="")return r.value===""?!0:(t=new It(this.value,e),mp(r.semver,t,e));var n=(this.operator===">="||this.operator===">")&&(r.operator===">="||r.operator===">"),s=(this.operator==="<="||this.operator==="<")&&(r.operator==="<="||r.operator==="<"),i=this.semver.version===r.semver.version,o=(this.operator===">="||this.operator==="<=")&&(r.operator===">="||r.operator==="<="),a=hp(this.semver,"<",r.semver,e)&&(this.operator===">="||this.operator===">")&&(r.operator==="<="||r.operator==="<"),u=hp(this.semver,">",r.semver,e)&&(this.operator==="<="||this.operator==="<")&&(r.operator===">="||r.operator===">");return n||s||i&&o||a||u};ke.Range=It;function It(r,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),r instanceof It)return r.loose===!!e.loose&&r.includePrerelease===!!e.includePrerelease?r:new It(r.raw,e);if(r instanceof En)return new It(r.value,e);if(!(this instanceof It))return new It(r,e);if(this.options=e,this.loose=!!e.loose,this.includePrerelease=!!e.includePrerelease,this.raw=r.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(t){return this.parseRange(t.trim())},this).filter(function(t){return t.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+this.raw);this.format()}It.prototype.format=function(){return this.range=this.set.map(function(r){return r.join(" ").trim()}).join("||").trim(),this.range};It.prototype.toString=function(){return this.range};It.prototype.parseRange=function(r){var e=this.options.loose,t=e?dt[Q.HYPHENRANGELOOSE]:dt[Q.HYPHENRANGE];r=r.replace(t,s7),ht("hyphen replace",r),r=r.replace(dt[Q.COMPARATORTRIM],U9),ht("comparator trim",r,dt[Q.COMPARATORTRIM]),r=r.replace(dt[Q.TILDETRIM],M9),r=r.replace(dt[Q.CARETTRIM],x9),r=r.split(/\s+/).join(" ");var n=e?dt[Q.COMPARATORLOOSE]:dt[Q.COMPARATOR],s=r.split(" ").map(function(i){return J9(i,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(s=s.filter(function(i){return!!i.match(n)})),s=s.map(function(i){return new En(i,this.options)},this),s};It.prototype.intersects=function(r,e){if(!(r instanceof It))throw new TypeError("a Range is required");return this.set.some(function(t){return UD(t,e)&&r.set.some(function(n){return UD(n,e)&&t.every(function(s){return n.every(function(i){return s.intersects(i,e)})})})})};function UD(r,e){for(var t=!0,n=r.slice(),s=n.pop();t&&n.length;)t=n.every(function(i){return s.intersects(i,e)}),s=n.pop();return t}ke.toComparators=z9;function z9(r,e){return new It(r,e).set.map(function(t){return t.map(function(n){return n.value}).join(" ").trim().split(" ")})}function J9(r,e){return ht("comp",r,e),r=e7(r,e),ht("caret",r),r=Q9(r,e),ht("tildes",r),r=r7(r,e),ht("xrange",r),r=i7(r,e),ht("stars",r),r}function Nr(r){return!r||r.toLowerCase()==="x"||r==="*"}function Q9(r,e){return r.trim().split(/\s+/).map(function(t){return Z9(t,e)}).join(" ")}function Z9(r,e){var t=e.loose?dt[Q.TILDELOOSE]:dt[Q.TILDE];return r.replace(t,function(n,s,i,o,a){ht("tilde",r,n,s,i,o,a);var u;return Nr(s)?u="":Nr(i)?u=">="+s+".0.0 <"+(+s+1)+".0.0":Nr(o)?u=">="+s+"."+i+".0 <"+s+"."+(+i+1)+".0":a?(ht("replaceTilde pr",a),u=">="+s+"."+i+"."+o+"-"+a+" <"+s+"."+(+i+1)+".0"):u=">="+s+"."+i+"."+o+" <"+s+"."+(+i+1)+".0",ht("tilde return",u),u})}function e7(r,e){return r.trim().split(/\s+/).map(function(t){return t7(t,e)}).join(" ")}function t7(r,e){ht("caret",r,e);var t=e.loose?dt[Q.CARETLOOSE]:dt[Q.CARET];return r.replace(t,function(n,s,i,o,a){ht("caret",r,n,s,i,o,a);var u;return Nr(s)?u="":Nr(i)?u=">="+s+".0.0 <"+(+s+1)+".0.0":Nr(o)?s==="0"?u=">="+s+"."+i+".0 <"+s+"."+(+i+1)+".0":u=">="+s+"."+i+".0 <"+(+s+1)+".0.0":a?(ht("replaceCaret pr",a),s==="0"?i==="0"?u=">="+s+"."+i+"."+o+"-"+a+" <"+s+"."+i+"."+(+o+1):u=">="+s+"."+i+"."+o+"-"+a+" <"+s+"."+(+i+1)+".0":u=">="+s+"."+i+"."+o+"-"+a+" <"+(+s+1)+".0.0"):(ht("no pr"),s==="0"?i==="0"?u=">="+s+"."+i+"."+o+" <"+s+"."+i+"."+(+o+1):u=">="+s+"."+i+"."+o+" <"+s+"."+(+i+1)+".0":u=">="+s+"."+i+"."+o+" <"+(+s+1)+".0.0"),ht("caret return",u),u})}function r7(r,e){return ht("replaceXRanges",r,e),r.split(/\s+/).map(function(t){return n7(t,e)}).join(" ")}function n7(r,e){r=r.trim();var t=e.loose?dt[Q.XRANGELOOSE]:dt[Q.XRANGE];return r.replace(t,function(n,s,i,o,a,u){ht("xRange",r,n,s,i,o,a,u);var c=Nr(i),l=c||Nr(o),f=l||Nr(a),p=f;return s==="="&&p&&(s=""),u=e.includePrerelease?"-0":"",c?s===">"||s==="<"?n="<0.0.0-0":n="*":s&&p?(l&&(o=0),a=0,s===">"?(s=">=",l?(i=+i+1,o=0,a=0):(o=+o+1,a=0)):s==="<="&&(s="<",l?i=+i+1:o=+o+1),n=s+i+"."+o+"."+a+u):l?n=">="+i+".0.0"+u+" <"+(+i+1)+".0.0"+u:f&&(n=">="+i+"."+o+".0"+u+" <"+i+"."+(+o+1)+".0"+u),ht("xRange return",n),n})}function i7(r,e){return ht("replaceStars",r,e),r.trim().replace(dt[Q.STAR],"")}function s7(r,e,t,n,s,i,o,a,u,c,l,f,p){return Nr(t)?e="":Nr(n)?e=">="+t+".0.0":Nr(s)?e=">="+t+"."+n+".0":e=">="+e,Nr(u)?a="":Nr(c)?a="<"+(+u+1)+".0.0":Nr(l)?a="<"+u+"."+(+c+1)+".0":f?a="<="+u+"."+c+"."+l+"-"+f:a="<="+a,(e+" "+a).trim()}It.prototype.test=function(r){if(!r)return!1;if(typeof r=="string")try{r=new Qe(r,this.options)}catch{return!1}for(var e=0;e<this.set.length;e++)if(o7(this.set[e],r,this.options))return!0;return!1};function o7(r,e,t){for(var n=0;n<r.length;n++)if(!r[n].test(e))return!1;if(e.prerelease.length&&!t.includePrerelease){for(n=0;n<r.length;n++)if(ht(r[n].semver),r[n].semver!==Da&&r[n].semver.prerelease.length>0){var s=r[n].semver;if(s.major===e.major&&s.minor===e.minor&&s.patch===e.patch)return!0}return!1}return!0}ke.satisfies=mp;function mp(r,e,t){try{e=new It(e,t)}catch{return!1}return e.test(r)}ke.maxSatisfying=a7;function a7(r,e,t){var n=null,s=null;try{var i=new It(e,t)}catch{return null}return r.forEach(function(o){i.test(o)&&(!n||s.compare(o)===-1)&&(n=o,s=new Qe(n,t))}),n}ke.minSatisfying=u7;function u7(r,e,t){var n=null,s=null;try{var i=new It(e,t)}catch{return null}return r.forEach(function(o){i.test(o)&&(!n||s.compare(o)===1)&&(n=o,s=new Qe(n,t))}),n}ke.minVersion=c7;function c7(r,e){r=new It(r,e);var t=new Qe("0.0.0");if(r.test(t)||(t=new Qe("0.0.0-0"),r.test(t)))return t;t=null;for(var n=0;n<r.set.length;++n){var s=r.set[n];s.forEach(function(i){var o=new Qe(i.semver.version);switch(i.operator){case">":o.prerelease.length===0?o.patch++:o.prerelease.push(0),o.raw=o.format();case"":case">=":(!t||Vc(t,o))&&(t=o);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+i.operator)}})}return t&&r.test(t)?t:null}ke.validRange=l7;function l7(r,e){try{return new It(r,e).range||"*"}catch{return null}}ke.ltr=f7;function f7(r,e,t){return i0(r,e,"<",t)}ke.gtr=p7;function p7(r,e,t){return i0(r,e,">",t)}ke.outside=i0;function i0(r,e,t,n){r=new Qe(r,n),e=new It(e,n);var s,i,o,a,u;switch(t){case">":s=Vc,i=n0,o=dp,a=">",u=">=";break;case"<":s=dp,i=r0,o=Vc,a="<",u="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(mp(r,e,n))return!1;for(var c=0;c<e.set.length;++c){var l=e.set[c],f=null,p=null;if(l.forEach(function(d){d.semver===Da&&(d=new En(">=0.0.0")),f=f||d,p=p||d,s(d.semver,f.semver,n)?f=d:o(d.semver,p.semver,n)&&(p=d)}),f.operator===a||f.operator===u||(!p.operator||p.operator===a)&&i(r,p.semver))return!1;if(p.operator===u&&o(r,p.semver))return!1}return!0}ke.prerelease=d7;function d7(r,e){var t=fo(r,e);return t&&t.prerelease.length?t.prerelease:null}ke.intersects=h7;function h7(r,e,t){return r=new It(r,t),e=new It(e,t),r.intersects(e)}ke.coerce=m7;function m7(r,e){if(r instanceof Qe)return r;if(typeof r=="number"&&(r=String(r)),typeof r!="string")return null;e=e||{};var t=null;if(!e.rtl)t=r.match(dt[Q.COERCE]);else{for(var n;(n=dt[Q.COERCERTL].exec(r))&&(!t||t.index+t[0].length!==r.length);)(!t||n.index+n[0].length!==t.index+t[0].length)&&(t=n),dt[Q.COERCERTL].lastIndex=n.index+n[1].length+n[2].length;dt[Q.COERCERTL].lastIndex=-1}return t===null?null:fo(t[2]+"."+(t[3]||"0")+"."+(t[4]||"0"),e)}});var qD=v((XTe,GD)=>{var{execSync:g7}=W("child_process");GD.exports={node:{getVersion:"node --version",getInstallInstructions(r){return E7()?`To install node, run \`nvm install ${r}\``:`To install node, see https://nodejs.org/download/release/v${r}/`}},npm:{getVersion:"npm --version",getInstallInstructions(r){return`To install npm, run \`npm install -g npm@${r}\``}},npx:{getVersion:"npx --version",getInstallInstructions(r){return`To install npx, run \`npm install -g npx@${r}\``}},yarn:{getVersion:"yarn --version",getInstallInstructions(r){return`To install yarn, see https://github.com/yarnpkg/yarn/releases/tag/v${r}`}},pnpm:{getVersion:"pnpm --version",getInstallInstructions(r){return`To install pnpm, run \`npm install -g pnpm@${r}\``}}};function E7(){try{g7("nvm",{stdio:[]})}catch{return!1}return!0}});var YD=v((KTe,WD)=>{"use strict";var{exec:gp}=W("child_process"),kD=W("path"),s0=wD(),u0=RD(),_7=MD(),Ep=jD(),o0=qD(),c0=process.platform==="win32",HD=process.env.PATH,$D=c0?";":":",S7=kD.resolve("node_modules/.bin"),T7=HD.split($D).filter(r=>kD.resolve(r)!==S7).join($D);WD.exports=function(e,t){typeof e=="function"&&(t=e,e=null);let n={callback:t};n.wanted=A7(e),n.commands=u0(Object.keys(n.wanted).length?s0(o0,(s,i)=>n.wanted[i]):o0,({getVersion:s})=>O7.bind(null,s)),c0?y7(n):a0(n)};function y7(r){gp("chcp",(e,t)=>{let n=r.callback;if(e){n(i(e,1));return}let s=t.match(/\d+/)[0];if(s==="65001"||s==="437")return a0(r);r.callback=(...o)=>gp(`chcp ${s}`,a=>{if(a){n(i(a,3));return}n(...o)}),gp("chcp 65001",o=>{if(o){n(i(o,2));return}a0(r)});function i(o,a){switch(a){case 1:o.message=`[CHCP] error while getting current codepage:
7
+ var U9=Object.create;var Kf=Object.defineProperty;var V9=Object.getOwnPropertyDescriptor;var B9=Object.getOwnPropertyNames;var F9=Object.getPrototypeOf,j9=Object.prototype.hasOwnProperty;var W=(r=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(r,{get:(e,t)=>(typeof require<"u"?require:e)[t]}):r)(function(r){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+r+'" is not supported')});var $e=(r,e)=>()=>(r&&(e=r(r=0)),e);var v=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),G9=(r,e)=>{for(var t in e)Kf(r,t,{get:e[t],enumerable:!0})},SC=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of B9(e))!j9.call(r,s)&&s!==t&&Kf(r,s,{get:()=>e[s],enumerable:!(n=V9(e,s))||n.enumerable});return r};var gr=(r,e,t)=>(t=r!=null?U9(F9(r)):{},SC(e||!r||!r.__esModule?Kf(t,"default",{value:r,enumerable:!0}):t,r)),Me=r=>SC(Kf({},"__esModule",{value:!0}),r);var TC,yC=$e(()=>{TC=typeof globalThis=="object"?globalThis:global});var AC=$e(()=>{yC()});var OC=$e(()=>{AC()});var Ii,CE=$e(()=>{Ii="1.8.0"});function q9(r){var e=new Set([r]),t=new Set,n=r.match(vC);if(!n)return function(){return!1};var s={major:+n[1],minor:+n[2],patch:+n[3],prerelease:n[4]};if(s.prerelease!=null)return function(u){return u===r};function i(a){return t.add(a),!1}function o(a){return e.add(a),!0}return function(u){if(e.has(u))return!0;if(t.has(u))return!1;var c=u.match(vC);if(!c)return i(u);var l={major:+c[1],minor:+c[2],patch:+c[3],prerelease:c[4]};return l.prerelease!=null||s.major!==l.major?i(u):s.major===0?s.minor===l.minor&&s.patch<=l.patch?o(u):i(u):s.minor<=l.minor?o(u):i(u)}}var vC,CC,DC=$e(()=>{CE();vC=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;CC=q9(Ii)});function ci(r,e,t,n){var s;n===void 0&&(n=!1);var i=Dc[Cc]=(s=Dc[Cc])!==null&&s!==void 0?s:{version:Ii};if(!n&&i[r]){var o=new Error("@opentelemetry/api: Attempted duplicate registration of API: "+r);return t.error(o.stack||o.message),!1}if(i.version!==Ii){var o=new Error("@opentelemetry/api: Registration of version v"+i.version+" for "+r+" does not match previously registered API v"+Ii);return t.error(o.stack||o.message),!1}return i[r]=e,t.debug("@opentelemetry/api: Registered a global for "+r+" v"+Ii+"."),!0}function Zr(r){var e,t,n=(e=Dc[Cc])===null||e===void 0?void 0:e.version;if(!(!n||!CC(n)))return(t=Dc[Cc])===null||t===void 0?void 0:t[r]}function li(r,e){e.debug("@opentelemetry/api: Unregistering a global for "+r+" v"+Ii+".");var t=Dc[Cc];t&&delete t[r]}var $9,Cc,Dc,uo=$e(()=>{OC();CE();DC();$9=Ii.split(".")[0],Cc=Symbol.for("opentelemetry.js.api."+$9),Dc=TC});function wc(r,e,t){var n=Zr("diag");if(n)return t.unshift(e),n[r].apply(n,H9([],k9(t),!1))}var k9,H9,wC,bC=$e(()=>{uo();k9=function(r,e){var t=typeof Symbol=="function"&&r[Symbol.iterator];if(!t)return r;var n=t.call(r),s,i=[],o;try{for(;(e===void 0||e-- >0)&&!(s=n.next()).done;)i.push(s.value)}catch(a){o={error:a}}finally{try{s&&!s.done&&(t=n.return)&&t.call(n)}finally{if(o)throw o.error}}return i},H9=function(r,e,t){if(t||arguments.length===2)for(var n=0,s=e.length,i;n<s;n++)(i||!(n in e))&&(i||(i=Array.prototype.slice.call(e,0,n)),i[n]=e[n]);return r.concat(i||Array.prototype.slice.call(e))},wC=(function(){function r(e){this._namespace=e.namespace||"DiagComponentLogger"}return r.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return wc("debug",this._namespace,e)},r.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return wc("error",this._namespace,e)},r.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return wc("info",this._namespace,e)},r.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return wc("warn",this._namespace,e)},r.prototype.verbose=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return wc("verbose",this._namespace,e)},r})()});var Wt,zf=$e(()=>{(function(r){r[r.NONE=0]="NONE",r[r.ERROR=30]="ERROR",r[r.WARN=50]="WARN",r[r.INFO=60]="INFO",r[r.DEBUG=70]="DEBUG",r[r.VERBOSE=80]="VERBOSE",r[r.ALL=9999]="ALL"})(Wt||(Wt={}))});function RC(r,e){r<Wt.NONE?r=Wt.NONE:r>Wt.ALL&&(r=Wt.ALL),e=e||{};function t(n,s){var i=e[n];return typeof i=="function"&&r>=s?i.bind(e):function(){}}return{error:t("error",Wt.ERROR),warn:t("warn",Wt.WARN),info:t("info",Wt.INFO),debug:t("debug",Wt.DEBUG),verbose:t("verbose",Wt.VERBOSE)}}var PC=$e(()=>{zf()});var W9,Y9,X9,Er,co=$e(()=>{bC();PC();zf();uo();W9=function(r,e){var t=typeof Symbol=="function"&&r[Symbol.iterator];if(!t)return r;var n=t.call(r),s,i=[],o;try{for(;(e===void 0||e-- >0)&&!(s=n.next()).done;)i.push(s.value)}catch(a){o={error:a}}finally{try{s&&!s.done&&(t=n.return)&&t.call(n)}finally{if(o)throw o.error}}return i},Y9=function(r,e,t){if(t||arguments.length===2)for(var n=0,s=e.length,i;n<s;n++)(i||!(n in e))&&(i||(i=Array.prototype.slice.call(e,0,n)),i[n]=e[n]);return r.concat(i||Array.prototype.slice.call(e))},X9="diag",Er=(function(){function r(){function e(s){return function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];var a=Zr("diag");if(a)return a[s].apply(a,Y9([],W9(i),!1))}}var t=this,n=function(s,i){var o,a,u;if(i===void 0&&(i={logLevel:Wt.INFO}),s===t){var c=new Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return t.error((o=c.stack)!==null&&o!==void 0?o:c.message),!1}typeof i=="number"&&(i={logLevel:i});var l=Zr("diag"),f=RC((a=i.logLevel)!==null&&a!==void 0?a:Wt.INFO,s);if(l&&!i.suppressOverrideMessage){var p=(u=new Error().stack)!==null&&u!==void 0?u:"<failed to generate stacktrace>";l.warn("Current logger will be overwritten from "+p),f.warn("Current logger will overwrite one already registered from "+p)}return ci("diag",f,t,!0)};t.setLogger=n,t.disable=function(){li(X9,t)},t.createComponentLogger=function(s){return new wC(s)},t.verbose=e("verbose"),t.debug=e("debug"),t.info=e("info"),t.warn=e("warn"),t.error=e("error")}return r.instance=function(){return this._instance||(this._instance=new r),this._instance},r})()});var K9,z9,IC,LC=$e(()=>{K9=function(r,e){var t=typeof Symbol=="function"&&r[Symbol.iterator];if(!t)return r;var n=t.call(r),s,i=[],o;try{for(;(e===void 0||e-- >0)&&!(s=n.next()).done;)i.push(s.value)}catch(a){o={error:a}}finally{try{s&&!s.done&&(t=n.return)&&t.call(n)}finally{if(o)throw o.error}}return i},z9=function(r){var e=typeof Symbol=="function"&&Symbol.iterator,t=e&&r[e],n=0;if(t)return t.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&n>=r.length&&(r=void 0),{value:r&&r[n++],done:!r}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},IC=(function(){function r(e){this._entries=e?new Map(e):new Map}return r.prototype.getEntry=function(e){var t=this._entries.get(e);if(t)return Object.assign({},t)},r.prototype.getAllEntries=function(){return Array.from(this._entries.entries()).map(function(e){var t=K9(e,2),n=t[0],s=t[1];return[n,s]})},r.prototype.setEntry=function(e,t){var n=new r(this._entries);return n._entries.set(e,t),n},r.prototype.removeEntry=function(e){var t=new r(this._entries);return t._entries.delete(e),t},r.prototype.removeEntries=function(){for(var e,t,n=[],s=0;s<arguments.length;s++)n[s]=arguments[s];var i=new r(this._entries);try{for(var o=z9(n),a=o.next();!a.done;a=o.next()){var u=a.value;i._entries.delete(u)}}catch(c){e={error:c}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}return i},r.prototype.clear=function(){return new r},r})()});var NC,MC=$e(()=>{NC=Symbol("BaggageEntryMetadata")});function xC(r){return r===void 0&&(r={}),new IC(new Map(Object.entries(r)))}function UC(r){return typeof r!="string"&&(J9.error("Cannot create baggage metadata from unknown type: "+typeof r),r=""),{__TYPE__:NC,toString:function(){return r}}}var J9,DE=$e(()=>{co();LC();MC();J9=Er.instance()});function ya(r){return Symbol.for(r)}var Q9,Jf,bc=$e(()=>{Q9=(function(){function r(e){var t=this;t._currentContext=e?new Map(e):new Map,t.getValue=function(n){return t._currentContext.get(n)},t.setValue=function(n,s){var i=new r(t._currentContext);return i._currentContext.set(n,s),i},t.deleteValue=function(n){var s=new r(t._currentContext);return s._currentContext.delete(n),s}}return r})(),Jf=new Q9});var wE,Qf,VC=$e(()=>{wE=[{n:"error",c:"error"},{n:"warn",c:"warn"},{n:"info",c:"info"},{n:"debug",c:"debug"},{n:"verbose",c:"trace"}],Qf=(function(){function r(){function e(n){return function(){for(var s=[],i=0;i<arguments.length;i++)s[i]=arguments[i];if(console){var o=console[n];if(typeof o!="function"&&(o=console.log),typeof o=="function")return o.apply(console,s)}}}for(var t=0;t<wE.length;t++)this[wE[t].n]=e(wE[t].c)}return r})()});function BC(){return PE}var Aa,Z9,bE,eW,tW,rW,RE,nW,iW,sW,PE,oW,aW,uW,cW,lW,fW,IE=$e(()=>{Aa=(function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,s){n.__proto__=s}||function(n,s){for(var i in s)Object.prototype.hasOwnProperty.call(s,i)&&(n[i]=s[i])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}})(),Z9=(function(){function r(){}return r.prototype.createHistogram=function(e,t){return aW},r.prototype.createCounter=function(e,t){return oW},r.prototype.createUpDownCounter=function(e,t){return uW},r.prototype.createObservableGauge=function(e,t){return lW},r.prototype.createObservableCounter=function(e,t){return cW},r.prototype.createObservableUpDownCounter=function(e,t){return fW},r.prototype.addBatchObservableCallback=function(e,t){},r.prototype.removeBatchObservableCallback=function(e){},r})(),bE=(function(){function r(){}return r})(),eW=(function(r){Aa(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.add=function(t,n){},e})(bE),tW=(function(r){Aa(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.add=function(t,n){},e})(bE),rW=(function(r){Aa(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.record=function(t,n){},e})(bE),RE=(function(){function r(){}return r.prototype.addCallback=function(e){},r.prototype.removeCallback=function(e){},r})(),nW=(function(r){Aa(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e})(RE),iW=(function(r){Aa(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e})(RE),sW=(function(r){Aa(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e})(RE),PE=new Z9,oW=new eW,aW=new rW,uW=new tW,cW=new nW,lW=new iW,fW=new sW});var Zf,FC=$e(()=>{(function(r){r[r.INT=0]="INT",r[r.DOUBLE=1]="DOUBLE"})(Zf||(Zf={}))});var ep,tp,LE=$e(()=>{ep={get:function(r,e){if(r!=null)return r[e]},keys:function(r){return r==null?[]:Object.keys(r)}},tp={set:function(r,e,t){r!=null&&(r[e]=t)}}});var pW,dW,jC,GC=$e(()=>{bc();pW=function(r,e){var t=typeof Symbol=="function"&&r[Symbol.iterator];if(!t)return r;var n=t.call(r),s,i=[],o;try{for(;(e===void 0||e-- >0)&&!(s=n.next()).done;)i.push(s.value)}catch(a){o={error:a}}finally{try{s&&!s.done&&(t=n.return)&&t.call(n)}finally{if(o)throw o.error}}return i},dW=function(r,e,t){if(t||arguments.length===2)for(var n=0,s=e.length,i;n<s;n++)(i||!(n in e))&&(i||(i=Array.prototype.slice.call(e,0,n)),i[n]=e[n]);return r.concat(i||Array.prototype.slice.call(e))},jC=(function(){function r(){}return r.prototype.active=function(){return Jf},r.prototype.with=function(e,t,n){for(var s=[],i=3;i<arguments.length;i++)s[i-3]=arguments[i];return t.call.apply(t,dW([n],pW(s),!1))},r.prototype.bind=function(e,t){return t},r.prototype.enable=function(){return this},r.prototype.disable=function(){return this},r})()});var hW,mW,NE,gW,Ji,Rc=$e(()=>{GC();uo();co();hW=function(r,e){var t=typeof Symbol=="function"&&r[Symbol.iterator];if(!t)return r;var n=t.call(r),s,i=[],o;try{for(;(e===void 0||e-- >0)&&!(s=n.next()).done;)i.push(s.value)}catch(a){o={error:a}}finally{try{s&&!s.done&&(t=n.return)&&t.call(n)}finally{if(o)throw o.error}}return i},mW=function(r,e,t){if(t||arguments.length===2)for(var n=0,s=e.length,i;n<s;n++)(i||!(n in e))&&(i||(i=Array.prototype.slice.call(e,0,n)),i[n]=e[n]);return r.concat(i||Array.prototype.slice.call(e))},NE="context",gW=new jC,Ji=(function(){function r(){}return r.getInstance=function(){return this._instance||(this._instance=new r),this._instance},r.prototype.setGlobalContextManager=function(e){return ci(NE,e,Er.instance())},r.prototype.active=function(){return this._getContextManager().active()},r.prototype.with=function(e,t,n){for(var s,i=[],o=3;o<arguments.length;o++)i[o-3]=arguments[o];return(s=this._getContextManager()).with.apply(s,mW([e,t,n],hW(i),!1))},r.prototype.bind=function(e,t){return this._getContextManager().bind(e,t)},r.prototype._getContextManager=function(){return Zr(NE)||gW},r.prototype.disable=function(){this._getContextManager().disable(),li(NE,Er.instance())},r})()});var Oa,ME=$e(()=>{(function(r){r[r.NONE=0]="NONE",r[r.SAMPLED=1]="SAMPLED"})(Oa||(Oa={}))});var Pc,Ic,rp,np=$e(()=>{ME();Pc="0000000000000000",Ic="00000000000000000000000000000000",rp={traceId:Ic,spanId:Pc,traceFlags:Oa.NONE}});var Qi,ip=$e(()=>{np();Qi=(function(){function r(e){e===void 0&&(e=rp),this._spanContext=e}return r.prototype.spanContext=function(){return this._spanContext},r.prototype.setAttribute=function(e,t){return this},r.prototype.setAttributes=function(e){return this},r.prototype.addEvent=function(e,t){return this},r.prototype.setStatus=function(e){return this},r.prototype.updateName=function(e){return this},r.prototype.end=function(e){},r.prototype.isRecording=function(){return!1},r.prototype.recordException=function(e,t){},r})()});function sp(r){return r.getValue(xE)||void 0}function qC(){return sp(Ji.getInstance().active())}function Lc(r,e){return r.setValue(xE,e)}function $C(r){return r.deleteValue(xE)}function kC(r,e){return Lc(r,new Qi(e))}function op(r){var e;return(e=sp(r))===null||e===void 0?void 0:e.spanContext()}var xE,UE=$e(()=>{bc();ip();Rc();xE=ya("OpenTelemetry Context Key SPAN")});function VE(r){return EW.test(r)&&r!==Ic}function BE(r){return _W.test(r)&&r!==Pc}function va(r){return VE(r.traceId)&&BE(r.spanId)}function HC(r){return new Qi(r)}var EW,_W,ap=$e(()=>{np();ip();EW=/^([0-9a-f]{32})$/i,_W=/^[0-9a-f]{16}$/i});function SW(r){return typeof r=="object"&&typeof r.spanId=="string"&&typeof r.traceId=="string"&&typeof r.traceFlags=="number"}var FE,up,jE=$e(()=>{Rc();UE();ip();ap();FE=Ji.getInstance(),up=(function(){function r(){}return r.prototype.startSpan=function(e,t,n){n===void 0&&(n=FE.active());var s=!!t?.root;if(s)return new Qi;var i=n&&op(n);return SW(i)&&va(i)?new Qi(i):new Qi},r.prototype.startActiveSpan=function(e,t,n,s){var i,o,a;if(!(arguments.length<2)){arguments.length===2?a=t:arguments.length===3?(i=t,a=n):(i=t,o=n,a=s);var u=o??FE.active(),c=this.startSpan(e,i,u),l=Lc(u,c);return FE.with(l,a,void 0,c)}},r})()});var TW,cp,GE=$e(()=>{jE();TW=new up,cp=(function(){function r(e,t,n,s){this._provider=e,this.name=t,this.version=n,this.options=s}return r.prototype.startSpan=function(e,t,n){return this._getTracer().startSpan(e,t,n)},r.prototype.startActiveSpan=function(e,t,n,s){var i=this._getTracer();return Reflect.apply(i.startActiveSpan,i,arguments)},r.prototype._getTracer=function(){if(this._delegate)return this._delegate;var e=this._provider.getDelegateTracer(this.name,this.version,this.options);return e?(this._delegate=e,this._delegate):TW},r})()});var WC,YC=$e(()=>{jE();WC=(function(){function r(){}return r.prototype.getTracer=function(e,t,n){return new up},r})()});var yW,Nc,qE=$e(()=>{GE();YC();yW=new WC,Nc=(function(){function r(){}return r.prototype.getTracer=function(e,t,n){var s;return(s=this.getDelegateTracer(e,t,n))!==null&&s!==void 0?s:new cp(this,e,t,n)},r.prototype.getDelegate=function(){var e;return(e=this._delegate)!==null&&e!==void 0?e:yW},r.prototype.setDelegate=function(e){this._delegate=e},r.prototype.getDelegateTracer=function(e,t,n){var s;return(s=this._delegate)===null||s===void 0?void 0:s.getTracer(e,t,n)},r})()});var lp,XC=$e(()=>{(function(r){r[r.NOT_RECORD=0]="NOT_RECORD",r[r.RECORD=1]="RECORD",r[r.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"})(lp||(lp={}))});var fp,KC=$e(()=>{(function(r){r[r.INTERNAL=0]="INTERNAL",r[r.SERVER=1]="SERVER",r[r.CLIENT=2]="CLIENT",r[r.PRODUCER=3]="PRODUCER",r[r.CONSUMER=4]="CONSUMER"})(fp||(fp={}))});var Zi,zC=$e(()=>{(function(r){r[r.UNSET=0]="UNSET",r[r.OK=1]="OK",r[r.ERROR=2]="ERROR"})(Zi||(Zi={}))});function JC(r){return vW.test(r)}function QC(r){return CW.test(r)&&!DW.test(r)}var $E,AW,OW,vW,CW,DW,ZC=$e(()=>{$E="[_0-9a-z-*/]",AW="[a-z]"+$E+"{0,255}",OW="[a-z0-9]"+$E+"{0,240}@[a-z]"+$E+"{0,13}",vW=new RegExp("^(?:"+AW+"|"+OW+")$"),CW=/^[ -~]{0,255}[!-~]$/,DW=/,|=/});var eD,wW,tD,rD,nD,iD=$e(()=>{ZC();eD=32,wW=512,tD=",",rD="=",nD=(function(){function r(e){this._internalState=new Map,e&&this._parse(e)}return r.prototype.set=function(e,t){var n=this._clone();return n._internalState.has(e)&&n._internalState.delete(e),n._internalState.set(e,t),n},r.prototype.unset=function(e){var t=this._clone();return t._internalState.delete(e),t},r.prototype.get=function(e){return this._internalState.get(e)},r.prototype.serialize=function(){var e=this;return this._keys().reduce(function(t,n){return t.push(n+rD+e.get(n)),t},[]).join(tD)},r.prototype._parse=function(e){e.length>wW||(this._internalState=e.split(tD).reverse().reduce(function(t,n){var s=n.trim(),i=s.indexOf(rD);if(i!==-1){var o=s.slice(0,i),a=s.slice(i+1,n.length);JC(o)&&QC(a)&&t.set(o,a)}return t},new Map),this._internalState.size>eD&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,eD))))},r.prototype._keys=function(){return Array.from(this._internalState.keys()).reverse()},r.prototype._clone=function(){var e=new r;return e._internalState=new Map(this._internalState),e},r})()});function sD(r){return new nD(r)}var oD=$e(()=>{iD()});var kE,aD=$e(()=>{Rc();kE=Ji.getInstance()});var Mc,uD=$e(()=>{co();Mc=Er.instance()});var bW,cD,lD=$e(()=>{IE();bW=(function(){function r(){}return r.prototype.getMeter=function(e,t,n){return PE},r})(),cD=new bW});var HE,fD,pD=$e(()=>{lD();uo();co();HE="metrics",fD=(function(){function r(){}return r.getInstance=function(){return this._instance||(this._instance=new r),this._instance},r.prototype.setGlobalMeterProvider=function(e){return ci(HE,e,Er.instance())},r.prototype.getMeterProvider=function(){return Zr(HE)||cD},r.prototype.getMeter=function(e,t,n){return this.getMeterProvider().getMeter(e,t,n)},r.prototype.disable=function(){li(HE,Er.instance())},r})()});var WE,dD=$e(()=>{pD();WE=fD.getInstance()});var hD,mD=$e(()=>{hD=(function(){function r(){}return r.prototype.inject=function(e,t){},r.prototype.extract=function(e,t){return e},r.prototype.fields=function(){return[]},r})()});function XE(r){return r.getValue(YE)||void 0}function gD(){return XE(Ji.getInstance().active())}function ED(r,e){return r.setValue(YE,e)}function _D(r){return r.deleteValue(YE)}var YE,SD=$e(()=>{Rc();bc();YE=ya("OpenTelemetry Baggage Key")});var KE,RW,TD,yD=$e(()=>{uo();mD();LE();SD();DE();co();KE="propagation",RW=new hD,TD=(function(){function r(){this.createBaggage=xC,this.getBaggage=XE,this.getActiveBaggage=gD,this.setBaggage=ED,this.deleteBaggage=_D}return r.getInstance=function(){return this._instance||(this._instance=new r),this._instance},r.prototype.setGlobalPropagator=function(e){return ci(KE,e,Er.instance())},r.prototype.inject=function(e,t,n){return n===void 0&&(n=tp),this._getGlobalPropagator().inject(e,t,n)},r.prototype.extract=function(e,t,n){return n===void 0&&(n=ep),this._getGlobalPropagator().extract(e,t,n)},r.prototype.fields=function(){return this._getGlobalPropagator().fields()},r.prototype.disable=function(){li(KE,Er.instance())},r.prototype._getGlobalPropagator=function(){return Zr(KE)||RW},r})()});var zE,AD=$e(()=>{yD();zE=TD.getInstance()});var JE,OD,vD=$e(()=>{uo();qE();ap();UE();co();JE="trace",OD=(function(){function r(){this._proxyTracerProvider=new Nc,this.wrapSpanContext=HC,this.isSpanContextValid=va,this.deleteSpan=$C,this.getSpan=sp,this.getActiveSpan=qC,this.getSpanContext=op,this.setSpan=Lc,this.setSpanContext=kC}return r.getInstance=function(){return this._instance||(this._instance=new r),this._instance},r.prototype.setGlobalTracerProvider=function(e){var t=ci(JE,this._proxyTracerProvider,Er.instance());return t&&this._proxyTracerProvider.setDelegate(e),t},r.prototype.getTracerProvider=function(){return Zr(JE)||this._proxyTracerProvider},r.prototype.getTracer=function(e,t){return this.getTracerProvider().getTracer(e,t)},r.prototype.disable=function(){li(JE,Er.instance()),this._proxyTracerProvider=new Nc},r})()});var gn,CD=$e(()=>{vD();gn=OD.getInstance()});var Ne={};G9(Ne,{DiagConsoleLogger:()=>Qf,DiagLogLevel:()=>Wt,INVALID_SPANID:()=>Pc,INVALID_SPAN_CONTEXT:()=>rp,INVALID_TRACEID:()=>Ic,ProxyTracer:()=>cp,ProxyTracerProvider:()=>Nc,ROOT_CONTEXT:()=>Jf,SamplingDecision:()=>lp,SpanKind:()=>fp,SpanStatusCode:()=>Zi,TraceFlags:()=>Oa,ValueType:()=>Zf,baggageEntryMetadataFromString:()=>UC,context:()=>kE,createContextKey:()=>ya,createNoopMeter:()=>BC,createTraceState:()=>sD,default:()=>xc,defaultTextMapGetter:()=>ep,defaultTextMapSetter:()=>tp,diag:()=>Mc,isSpanContextValid:()=>va,isValidSpanId:()=>BE,isValidTraceId:()=>VE,metrics:()=>WE,propagation:()=>zE,trace:()=>gn});var xc,Pe=$e(()=>{DE();bc();VC();zf();IE();FC();LE();GE();qE();XC();KC();zC();ME();oD();ap();np();aD();uD();dD();AD();CD();xc={context:kE,diag:Mc,metrics:WE,propagation:zE,trace:gn}});var wD=v((kTe,DD)=>{DD.exports=function(e,t,n){if(typeof t!="function")throw new TypeError("`f` has to be a function");var s={};return Object.keys(e).forEach(function(i){t.call(n||this,e[i],i,e)&&(s[i]=e[i])}),s}});var RD=v((HTe,bD)=>{"use strict";var PW=Object.prototype.hasOwnProperty;bD.exports=function(r,e){var t={};for(var n in r)PW.call(r,n)&&(t[n]=e(r[n],n,r));return t}});var LD=v((WTe,ID)=>{var PD;ID.exports=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:global):r=>(PD||(PD=Promise.resolve())).then(r).catch(e=>setTimeout(()=>{throw e},0))});var MD=v((YTe,ND)=>{ND.exports=LW;var IW=LD();function LW(r,e){let t,n,s,i=!0;Array.isArray(r)?(t=[],n=r.length):(s=Object.keys(r),t={},n=s.length);function o(u){function c(){e&&e(u,t),e=null}i?IW(c):c()}function a(u,c,l){t[u]=l,(--n===0||c)&&o(c)}n?s?s.forEach(function(u){r[u](function(c,l){a(u,c,l)})}):r.forEach(function(u,c){u(function(l,f){a(c,l,f)})}):o(null),i=!1}});var jD=v((ke,FD)=>{ke=FD.exports=Qe;var ht;typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?ht=function(){var r=Array.prototype.slice.call(arguments,0);r.unshift("SEMVER"),console.log.apply(console,r)}:ht=function(){};ke.SEMVER_SPEC_VERSION="2.0.0";var Uc=256,pp=Number.MAX_SAFE_INTEGER||9007199254740991,QE=16,NW=Uc-6,Ca=ke.re=[],dt=ke.safeRe=[],ue=ke.src=[],Q=ke.tokens={},VD=0;function et(r){Q[r]=VD++}var e0="[a-zA-Z0-9-]",ZE=[["\\s",1],["\\d",Uc],[e0,NW]];function Bc(r){for(var e=0;e<ZE.length;e++){var t=ZE[e][0],n=ZE[e][1];r=r.split(t+"*").join(t+"{0,"+n+"}").split(t+"+").join(t+"{1,"+n+"}")}return r}et("NUMERICIDENTIFIER");ue[Q.NUMERICIDENTIFIER]="0|[1-9]\\d*";et("NUMERICIDENTIFIERLOOSE");ue[Q.NUMERICIDENTIFIERLOOSE]="\\d+";et("NONNUMERICIDENTIFIER");ue[Q.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+e0+"*";et("MAINVERSION");ue[Q.MAINVERSION]="("+ue[Q.NUMERICIDENTIFIER]+")\\.("+ue[Q.NUMERICIDENTIFIER]+")\\.("+ue[Q.NUMERICIDENTIFIER]+")";et("MAINVERSIONLOOSE");ue[Q.MAINVERSIONLOOSE]="("+ue[Q.NUMERICIDENTIFIERLOOSE]+")\\.("+ue[Q.NUMERICIDENTIFIERLOOSE]+")\\.("+ue[Q.NUMERICIDENTIFIERLOOSE]+")";et("PRERELEASEIDENTIFIER");ue[Q.PRERELEASEIDENTIFIER]="(?:"+ue[Q.NUMERICIDENTIFIER]+"|"+ue[Q.NONNUMERICIDENTIFIER]+")";et("PRERELEASEIDENTIFIERLOOSE");ue[Q.PRERELEASEIDENTIFIERLOOSE]="(?:"+ue[Q.NUMERICIDENTIFIERLOOSE]+"|"+ue[Q.NONNUMERICIDENTIFIER]+")";et("PRERELEASE");ue[Q.PRERELEASE]="(?:-("+ue[Q.PRERELEASEIDENTIFIER]+"(?:\\."+ue[Q.PRERELEASEIDENTIFIER]+")*))";et("PRERELEASELOOSE");ue[Q.PRERELEASELOOSE]="(?:-?("+ue[Q.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+ue[Q.PRERELEASEIDENTIFIERLOOSE]+")*))";et("BUILDIDENTIFIER");ue[Q.BUILDIDENTIFIER]=e0+"+";et("BUILD");ue[Q.BUILD]="(?:\\+("+ue[Q.BUILDIDENTIFIER]+"(?:\\."+ue[Q.BUILDIDENTIFIER]+")*))";et("FULL");et("FULLPLAIN");ue[Q.FULLPLAIN]="v?"+ue[Q.MAINVERSION]+ue[Q.PRERELEASE]+"?"+ue[Q.BUILD]+"?";ue[Q.FULL]="^"+ue[Q.FULLPLAIN]+"$";et("LOOSEPLAIN");ue[Q.LOOSEPLAIN]="[v=\\s]*"+ue[Q.MAINVERSIONLOOSE]+ue[Q.PRERELEASELOOSE]+"?"+ue[Q.BUILD]+"?";et("LOOSE");ue[Q.LOOSE]="^"+ue[Q.LOOSEPLAIN]+"$";et("GTLT");ue[Q.GTLT]="((?:<|>)?=?)";et("XRANGEIDENTIFIERLOOSE");ue[Q.XRANGEIDENTIFIERLOOSE]=ue[Q.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";et("XRANGEIDENTIFIER");ue[Q.XRANGEIDENTIFIER]=ue[Q.NUMERICIDENTIFIER]+"|x|X|\\*";et("XRANGEPLAIN");ue[Q.XRANGEPLAIN]="[v=\\s]*("+ue[Q.XRANGEIDENTIFIER]+")(?:\\.("+ue[Q.XRANGEIDENTIFIER]+")(?:\\.("+ue[Q.XRANGEIDENTIFIER]+")(?:"+ue[Q.PRERELEASE]+")?"+ue[Q.BUILD]+"?)?)?";et("XRANGEPLAINLOOSE");ue[Q.XRANGEPLAINLOOSE]="[v=\\s]*("+ue[Q.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+ue[Q.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+ue[Q.XRANGEIDENTIFIERLOOSE]+")(?:"+ue[Q.PRERELEASELOOSE]+")?"+ue[Q.BUILD]+"?)?)?";et("XRANGE");ue[Q.XRANGE]="^"+ue[Q.GTLT]+"\\s*"+ue[Q.XRANGEPLAIN]+"$";et("XRANGELOOSE");ue[Q.XRANGELOOSE]="^"+ue[Q.GTLT]+"\\s*"+ue[Q.XRANGEPLAINLOOSE]+"$";et("COERCE");ue[Q.COERCE]="(^|[^\\d])(\\d{1,"+QE+"})(?:\\.(\\d{1,"+QE+"}))?(?:\\.(\\d{1,"+QE+"}))?(?:$|[^\\d])";et("COERCERTL");Ca[Q.COERCERTL]=new RegExp(ue[Q.COERCE],"g");dt[Q.COERCERTL]=new RegExp(Bc(ue[Q.COERCE]),"g");et("LONETILDE");ue[Q.LONETILDE]="(?:~>?)";et("TILDETRIM");ue[Q.TILDETRIM]="(\\s*)"+ue[Q.LONETILDE]+"\\s+";Ca[Q.TILDETRIM]=new RegExp(ue[Q.TILDETRIM],"g");dt[Q.TILDETRIM]=new RegExp(Bc(ue[Q.TILDETRIM]),"g");var MW="$1~";et("TILDE");ue[Q.TILDE]="^"+ue[Q.LONETILDE]+ue[Q.XRANGEPLAIN]+"$";et("TILDELOOSE");ue[Q.TILDELOOSE]="^"+ue[Q.LONETILDE]+ue[Q.XRANGEPLAINLOOSE]+"$";et("LONECARET");ue[Q.LONECARET]="(?:\\^)";et("CARETTRIM");ue[Q.CARETTRIM]="(\\s*)"+ue[Q.LONECARET]+"\\s+";Ca[Q.CARETTRIM]=new RegExp(ue[Q.CARETTRIM],"g");dt[Q.CARETTRIM]=new RegExp(Bc(ue[Q.CARETTRIM]),"g");var xW="$1^";et("CARET");ue[Q.CARET]="^"+ue[Q.LONECARET]+ue[Q.XRANGEPLAIN]+"$";et("CARETLOOSE");ue[Q.CARETLOOSE]="^"+ue[Q.LONECARET]+ue[Q.XRANGEPLAINLOOSE]+"$";et("COMPARATORLOOSE");ue[Q.COMPARATORLOOSE]="^"+ue[Q.GTLT]+"\\s*("+ue[Q.LOOSEPLAIN]+")$|^$";et("COMPARATOR");ue[Q.COMPARATOR]="^"+ue[Q.GTLT]+"\\s*("+ue[Q.FULLPLAIN]+")$|^$";et("COMPARATORTRIM");ue[Q.COMPARATORTRIM]="(\\s*)"+ue[Q.GTLT]+"\\s*("+ue[Q.LOOSEPLAIN]+"|"+ue[Q.XRANGEPLAIN]+")";Ca[Q.COMPARATORTRIM]=new RegExp(ue[Q.COMPARATORTRIM],"g");dt[Q.COMPARATORTRIM]=new RegExp(Bc(ue[Q.COMPARATORTRIM]),"g");var UW="$1$2$3";et("HYPHENRANGE");ue[Q.HYPHENRANGE]="^\\s*("+ue[Q.XRANGEPLAIN]+")\\s+-\\s+("+ue[Q.XRANGEPLAIN]+")\\s*$";et("HYPHENRANGELOOSE");ue[Q.HYPHENRANGELOOSE]="^\\s*("+ue[Q.XRANGEPLAINLOOSE]+")\\s+-\\s+("+ue[Q.XRANGEPLAINLOOSE]+")\\s*$";et("STAR");ue[Q.STAR]="(<|>)?=?\\s*\\*";for(fi=0;fi<VD;fi++)ht(fi,ue[fi]),Ca[fi]||(Ca[fi]=new RegExp(ue[fi]),dt[fi]=new RegExp(Bc(ue[fi])));var fi;ke.parse=fo;function fo(r,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),r instanceof Qe)return r;if(typeof r!="string"||r.length>Uc)return null;var t=e.loose?dt[Q.LOOSE]:dt[Q.FULL];if(!t.test(r))return null;try{return new Qe(r,e)}catch{return null}}ke.valid=VW;function VW(r,e){var t=fo(r,e);return t?t.version:null}ke.clean=BW;function BW(r,e){var t=fo(r.trim().replace(/^[=v]+/,""),e);return t?t.version:null}ke.SemVer=Qe;function Qe(r,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),r instanceof Qe){if(r.loose===e.loose)return r;r=r.version}else if(typeof r!="string")throw new TypeError("Invalid Version: "+r);if(r.length>Uc)throw new TypeError("version is longer than "+Uc+" characters");if(!(this instanceof Qe))return new Qe(r,e);ht("SemVer",r,e),this.options=e,this.loose=!!e.loose;var t=r.trim().match(e.loose?dt[Q.LOOSE]:dt[Q.FULL]);if(!t)throw new TypeError("Invalid Version: "+r);if(this.raw=r,this.major=+t[1],this.minor=+t[2],this.patch=+t[3],this.major>pp||this.major<0)throw new TypeError("Invalid major version");if(this.minor>pp||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>pp||this.patch<0)throw new TypeError("Invalid patch version");t[4]?this.prerelease=t[4].split(".").map(function(n){if(/^[0-9]+$/.test(n)){var s=+n;if(s>=0&&s<pp)return s}return n}):this.prerelease=[],this.build=t[5]?t[5].split("."):[],this.format()}Qe.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version};Qe.prototype.toString=function(){return this.version};Qe.prototype.compare=function(r){return ht("SemVer.compare",this.version,this.options,r),r instanceof Qe||(r=new Qe(r,this.options)),this.compareMain(r)||this.comparePre(r)};Qe.prototype.compareMain=function(r){return r instanceof Qe||(r=new Qe(r,this.options)),lo(this.major,r.major)||lo(this.minor,r.minor)||lo(this.patch,r.patch)};Qe.prototype.comparePre=function(r){if(r instanceof Qe||(r=new Qe(r,this.options)),this.prerelease.length&&!r.prerelease.length)return-1;if(!this.prerelease.length&&r.prerelease.length)return 1;if(!this.prerelease.length&&!r.prerelease.length)return 0;var e=0;do{var t=this.prerelease[e],n=r.prerelease[e];if(ht("prerelease compare",e,t,n),t===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(t===void 0)return-1;if(t===n)continue;return lo(t,n)}while(++e)};Qe.prototype.compareBuild=function(r){r instanceof Qe||(r=new Qe(r,this.options));var e=0;do{var t=this.build[e],n=r.build[e];if(ht("prerelease compare",e,t,n),t===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(t===void 0)return-1;if(t===n)continue;return lo(t,n)}while(++e)};Qe.prototype.inc=function(r,e){switch(r){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",e);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",e);break;case"prepatch":this.prerelease.length=0,this.inc("patch",e),this.inc("pre",e);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",e),this.inc("pre",e);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{for(var t=this.prerelease.length;--t>=0;)typeof this.prerelease[t]=="number"&&(this.prerelease[t]++,t=-2);t===-1&&this.prerelease.push(0)}e&&(this.prerelease[0]===e?isNaN(this.prerelease[1])&&(this.prerelease=[e,0]):this.prerelease=[e,0]);break;default:throw new Error("invalid increment argument: "+r)}return this.format(),this.raw=this.version,this};ke.inc=FW;function FW(r,e,t,n){typeof t=="string"&&(n=t,t=void 0);try{return new Qe(r,t).inc(e,n).version}catch{return null}}ke.diff=jW;function jW(r,e){if(t0(r,e))return null;var t=fo(r),n=fo(e),s="";if(t.prerelease.length||n.prerelease.length){s="pre";var i="prerelease"}for(var o in t)if((o==="major"||o==="minor"||o==="patch")&&t[o]!==n[o])return s+o;return i}ke.compareIdentifiers=lo;var xD=/^[0-9]+$/;function lo(r,e){var t=xD.test(r),n=xD.test(e);return t&&n&&(r=+r,e=+e),r===e?0:t&&!n?-1:n&&!t?1:r<e?-1:1}ke.rcompareIdentifiers=GW;function GW(r,e){return lo(e,r)}ke.major=qW;function qW(r,e){return new Qe(r,e).major}ke.minor=$W;function $W(r,e){return new Qe(r,e).minor}ke.patch=kW;function kW(r,e){return new Qe(r,e).patch}ke.compare=Li;function Li(r,e,t){return new Qe(r,t).compare(new Qe(e,t))}ke.compareLoose=HW;function HW(r,e){return Li(r,e,!0)}ke.compareBuild=WW;function WW(r,e,t){var n=new Qe(r,t),s=new Qe(e,t);return n.compare(s)||n.compareBuild(s)}ke.rcompare=YW;function YW(r,e,t){return Li(e,r,t)}ke.sort=XW;function XW(r,e){return r.sort(function(t,n){return ke.compareBuild(t,n,e)})}ke.rsort=KW;function KW(r,e){return r.sort(function(t,n){return ke.compareBuild(n,t,e)})}ke.gt=Vc;function Vc(r,e,t){return Li(r,e,t)>0}ke.lt=dp;function dp(r,e,t){return Li(r,e,t)<0}ke.eq=t0;function t0(r,e,t){return Li(r,e,t)===0}ke.neq=BD;function BD(r,e,t){return Li(r,e,t)!==0}ke.gte=r0;function r0(r,e,t){return Li(r,e,t)>=0}ke.lte=n0;function n0(r,e,t){return Li(r,e,t)<=0}ke.cmp=hp;function hp(r,e,t,n){switch(e){case"===":return typeof r=="object"&&(r=r.version),typeof t=="object"&&(t=t.version),r===t;case"!==":return typeof r=="object"&&(r=r.version),typeof t=="object"&&(t=t.version),r!==t;case"":case"=":case"==":return t0(r,t,n);case"!=":return BD(r,t,n);case">":return Vc(r,t,n);case">=":return r0(r,t,n);case"<":return dp(r,t,n);case"<=":return n0(r,t,n);default:throw new TypeError("Invalid operator: "+e)}}ke.Comparator=En;function En(r,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),r instanceof En){if(r.loose===!!e.loose)return r;r=r.value}if(!(this instanceof En))return new En(r,e);r=r.trim().split(/\s+/).join(" "),ht("comparator",r,e),this.options=e,this.loose=!!e.loose,this.parse(r),this.semver===Da?this.value="":this.value=this.operator+this.semver.version,ht("comp",this)}var Da={};En.prototype.parse=function(r){var e=this.options.loose?dt[Q.COMPARATORLOOSE]:dt[Q.COMPARATOR],t=r.match(e);if(!t)throw new TypeError("Invalid comparator: "+r);this.operator=t[1]!==void 0?t[1]:"",this.operator==="="&&(this.operator=""),t[2]?this.semver=new Qe(t[2],this.options.loose):this.semver=Da};En.prototype.toString=function(){return this.value};En.prototype.test=function(r){if(ht("Comparator.test",r,this.options.loose),this.semver===Da||r===Da)return!0;if(typeof r=="string")try{r=new Qe(r,this.options)}catch{return!1}return hp(r,this.operator,this.semver,this.options)};En.prototype.intersects=function(r,e){if(!(r instanceof En))throw new TypeError("a Comparator is required");(!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1});var t;if(this.operator==="")return this.value===""?!0:(t=new It(r.value,e),mp(this.value,t,e));if(r.operator==="")return r.value===""?!0:(t=new It(this.value,e),mp(r.semver,t,e));var n=(this.operator===">="||this.operator===">")&&(r.operator===">="||r.operator===">"),s=(this.operator==="<="||this.operator==="<")&&(r.operator==="<="||r.operator==="<"),i=this.semver.version===r.semver.version,o=(this.operator===">="||this.operator==="<=")&&(r.operator===">="||r.operator==="<="),a=hp(this.semver,"<",r.semver,e)&&(this.operator===">="||this.operator===">")&&(r.operator==="<="||r.operator==="<"),u=hp(this.semver,">",r.semver,e)&&(this.operator==="<="||this.operator==="<")&&(r.operator===">="||r.operator===">");return n||s||i&&o||a||u};ke.Range=It;function It(r,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),r instanceof It)return r.loose===!!e.loose&&r.includePrerelease===!!e.includePrerelease?r:new It(r.raw,e);if(r instanceof En)return new It(r.value,e);if(!(this instanceof It))return new It(r,e);if(this.options=e,this.loose=!!e.loose,this.includePrerelease=!!e.includePrerelease,this.raw=r.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(t){return this.parseRange(t.trim())},this).filter(function(t){return t.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+this.raw);this.format()}It.prototype.format=function(){return this.range=this.set.map(function(r){return r.join(" ").trim()}).join("||").trim(),this.range};It.prototype.toString=function(){return this.range};It.prototype.parseRange=function(r){var e=this.options.loose,t=e?dt[Q.HYPHENRANGELOOSE]:dt[Q.HYPHENRANGE];r=r.replace(t,s7),ht("hyphen replace",r),r=r.replace(dt[Q.COMPARATORTRIM],UW),ht("comparator trim",r,dt[Q.COMPARATORTRIM]),r=r.replace(dt[Q.TILDETRIM],MW),r=r.replace(dt[Q.CARETTRIM],xW),r=r.split(/\s+/).join(" ");var n=e?dt[Q.COMPARATORLOOSE]:dt[Q.COMPARATOR],s=r.split(" ").map(function(i){return JW(i,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(s=s.filter(function(i){return!!i.match(n)})),s=s.map(function(i){return new En(i,this.options)},this),s};It.prototype.intersects=function(r,e){if(!(r instanceof It))throw new TypeError("a Range is required");return this.set.some(function(t){return UD(t,e)&&r.set.some(function(n){return UD(n,e)&&t.every(function(s){return n.every(function(i){return s.intersects(i,e)})})})})};function UD(r,e){for(var t=!0,n=r.slice(),s=n.pop();t&&n.length;)t=n.every(function(i){return s.intersects(i,e)}),s=n.pop();return t}ke.toComparators=zW;function zW(r,e){return new It(r,e).set.map(function(t){return t.map(function(n){return n.value}).join(" ").trim().split(" ")})}function JW(r,e){return ht("comp",r,e),r=e7(r,e),ht("caret",r),r=QW(r,e),ht("tildes",r),r=r7(r,e),ht("xrange",r),r=i7(r,e),ht("stars",r),r}function Nr(r){return!r||r.toLowerCase()==="x"||r==="*"}function QW(r,e){return r.trim().split(/\s+/).map(function(t){return ZW(t,e)}).join(" ")}function ZW(r,e){var t=e.loose?dt[Q.TILDELOOSE]:dt[Q.TILDE];return r.replace(t,function(n,s,i,o,a){ht("tilde",r,n,s,i,o,a);var u;return Nr(s)?u="":Nr(i)?u=">="+s+".0.0 <"+(+s+1)+".0.0":Nr(o)?u=">="+s+"."+i+".0 <"+s+"."+(+i+1)+".0":a?(ht("replaceTilde pr",a),u=">="+s+"."+i+"."+o+"-"+a+" <"+s+"."+(+i+1)+".0"):u=">="+s+"."+i+"."+o+" <"+s+"."+(+i+1)+".0",ht("tilde return",u),u})}function e7(r,e){return r.trim().split(/\s+/).map(function(t){return t7(t,e)}).join(" ")}function t7(r,e){ht("caret",r,e);var t=e.loose?dt[Q.CARETLOOSE]:dt[Q.CARET];return r.replace(t,function(n,s,i,o,a){ht("caret",r,n,s,i,o,a);var u;return Nr(s)?u="":Nr(i)?u=">="+s+".0.0 <"+(+s+1)+".0.0":Nr(o)?s==="0"?u=">="+s+"."+i+".0 <"+s+"."+(+i+1)+".0":u=">="+s+"."+i+".0 <"+(+s+1)+".0.0":a?(ht("replaceCaret pr",a),s==="0"?i==="0"?u=">="+s+"."+i+"."+o+"-"+a+" <"+s+"."+i+"."+(+o+1):u=">="+s+"."+i+"."+o+"-"+a+" <"+s+"."+(+i+1)+".0":u=">="+s+"."+i+"."+o+"-"+a+" <"+(+s+1)+".0.0"):(ht("no pr"),s==="0"?i==="0"?u=">="+s+"."+i+"."+o+" <"+s+"."+i+"."+(+o+1):u=">="+s+"."+i+"."+o+" <"+s+"."+(+i+1)+".0":u=">="+s+"."+i+"."+o+" <"+(+s+1)+".0.0"),ht("caret return",u),u})}function r7(r,e){return ht("replaceXRanges",r,e),r.split(/\s+/).map(function(t){return n7(t,e)}).join(" ")}function n7(r,e){r=r.trim();var t=e.loose?dt[Q.XRANGELOOSE]:dt[Q.XRANGE];return r.replace(t,function(n,s,i,o,a,u){ht("xRange",r,n,s,i,o,a,u);var c=Nr(i),l=c||Nr(o),f=l||Nr(a),p=f;return s==="="&&p&&(s=""),u=e.includePrerelease?"-0":"",c?s===">"||s==="<"?n="<0.0.0-0":n="*":s&&p?(l&&(o=0),a=0,s===">"?(s=">=",l?(i=+i+1,o=0,a=0):(o=+o+1,a=0)):s==="<="&&(s="<",l?i=+i+1:o=+o+1),n=s+i+"."+o+"."+a+u):l?n=">="+i+".0.0"+u+" <"+(+i+1)+".0.0"+u:f&&(n=">="+i+"."+o+".0"+u+" <"+i+"."+(+o+1)+".0"+u),ht("xRange return",n),n})}function i7(r,e){return ht("replaceStars",r,e),r.trim().replace(dt[Q.STAR],"")}function s7(r,e,t,n,s,i,o,a,u,c,l,f,p){return Nr(t)?e="":Nr(n)?e=">="+t+".0.0":Nr(s)?e=">="+t+"."+n+".0":e=">="+e,Nr(u)?a="":Nr(c)?a="<"+(+u+1)+".0.0":Nr(l)?a="<"+u+"."+(+c+1)+".0":f?a="<="+u+"."+c+"."+l+"-"+f:a="<="+a,(e+" "+a).trim()}It.prototype.test=function(r){if(!r)return!1;if(typeof r=="string")try{r=new Qe(r,this.options)}catch{return!1}for(var e=0;e<this.set.length;e++)if(o7(this.set[e],r,this.options))return!0;return!1};function o7(r,e,t){for(var n=0;n<r.length;n++)if(!r[n].test(e))return!1;if(e.prerelease.length&&!t.includePrerelease){for(n=0;n<r.length;n++)if(ht(r[n].semver),r[n].semver!==Da&&r[n].semver.prerelease.length>0){var s=r[n].semver;if(s.major===e.major&&s.minor===e.minor&&s.patch===e.patch)return!0}return!1}return!0}ke.satisfies=mp;function mp(r,e,t){try{e=new It(e,t)}catch{return!1}return e.test(r)}ke.maxSatisfying=a7;function a7(r,e,t){var n=null,s=null;try{var i=new It(e,t)}catch{return null}return r.forEach(function(o){i.test(o)&&(!n||s.compare(o)===-1)&&(n=o,s=new Qe(n,t))}),n}ke.minSatisfying=u7;function u7(r,e,t){var n=null,s=null;try{var i=new It(e,t)}catch{return null}return r.forEach(function(o){i.test(o)&&(!n||s.compare(o)===1)&&(n=o,s=new Qe(n,t))}),n}ke.minVersion=c7;function c7(r,e){r=new It(r,e);var t=new Qe("0.0.0");if(r.test(t)||(t=new Qe("0.0.0-0"),r.test(t)))return t;t=null;for(var n=0;n<r.set.length;++n){var s=r.set[n];s.forEach(function(i){var o=new Qe(i.semver.version);switch(i.operator){case">":o.prerelease.length===0?o.patch++:o.prerelease.push(0),o.raw=o.format();case"":case">=":(!t||Vc(t,o))&&(t=o);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+i.operator)}})}return t&&r.test(t)?t:null}ke.validRange=l7;function l7(r,e){try{return new It(r,e).range||"*"}catch{return null}}ke.ltr=f7;function f7(r,e,t){return i0(r,e,"<",t)}ke.gtr=p7;function p7(r,e,t){return i0(r,e,">",t)}ke.outside=i0;function i0(r,e,t,n){r=new Qe(r,n),e=new It(e,n);var s,i,o,a,u;switch(t){case">":s=Vc,i=n0,o=dp,a=">",u=">=";break;case"<":s=dp,i=r0,o=Vc,a="<",u="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(mp(r,e,n))return!1;for(var c=0;c<e.set.length;++c){var l=e.set[c],f=null,p=null;if(l.forEach(function(d){d.semver===Da&&(d=new En(">=0.0.0")),f=f||d,p=p||d,s(d.semver,f.semver,n)?f=d:o(d.semver,p.semver,n)&&(p=d)}),f.operator===a||f.operator===u||(!p.operator||p.operator===a)&&i(r,p.semver))return!1;if(p.operator===u&&o(r,p.semver))return!1}return!0}ke.prerelease=d7;function d7(r,e){var t=fo(r,e);return t&&t.prerelease.length?t.prerelease:null}ke.intersects=h7;function h7(r,e,t){return r=new It(r,t),e=new It(e,t),r.intersects(e)}ke.coerce=m7;function m7(r,e){if(r instanceof Qe)return r;if(typeof r=="number"&&(r=String(r)),typeof r!="string")return null;e=e||{};var t=null;if(!e.rtl)t=r.match(dt[Q.COERCE]);else{for(var n;(n=dt[Q.COERCERTL].exec(r))&&(!t||t.index+t[0].length!==r.length);)(!t||n.index+n[0].length!==t.index+t[0].length)&&(t=n),dt[Q.COERCERTL].lastIndex=n.index+n[1].length+n[2].length;dt[Q.COERCERTL].lastIndex=-1}return t===null?null:fo(t[2]+"."+(t[3]||"0")+"."+(t[4]||"0"),e)}});var qD=v((XTe,GD)=>{var{execSync:g7}=W("child_process");GD.exports={node:{getVersion:"node --version",getInstallInstructions(r){return E7()?`To install node, run \`nvm install ${r}\``:`To install node, see https://nodejs.org/download/release/v${r}/`}},npm:{getVersion:"npm --version",getInstallInstructions(r){return`To install npm, run \`npm install -g npm@${r}\``}},npx:{getVersion:"npx --version",getInstallInstructions(r){return`To install npx, run \`npm install -g npx@${r}\``}},yarn:{getVersion:"yarn --version",getInstallInstructions(r){return`To install yarn, see https://github.com/yarnpkg/yarn/releases/tag/v${r}`}},pnpm:{getVersion:"pnpm --version",getInstallInstructions(r){return`To install pnpm, run \`npm install -g pnpm@${r}\``}}};function E7(){try{g7("nvm",{stdio:[]})}catch{return!1}return!0}});var YD=v((KTe,WD)=>{"use strict";var{exec:gp}=W("child_process"),kD=W("path"),s0=wD(),u0=RD(),_7=MD(),Ep=jD(),o0=qD(),c0=process.platform==="win32",HD=process.env.PATH,$D=c0?";":":",S7=kD.resolve("node_modules/.bin"),T7=HD.split($D).filter(r=>kD.resolve(r)!==S7).join($D);WD.exports=function(e,t){typeof e=="function"&&(t=e,e=null);let n={callback:t};n.wanted=A7(e),n.commands=u0(Object.keys(n.wanted).length?s0(o0,(s,i)=>n.wanted[i]):o0,({getVersion:s})=>O7.bind(null,s)),c0?y7(n):a0(n)};function y7(r){gp("chcp",(e,t)=>{let n=r.callback;if(e){n(i(e,1));return}let s=t.match(/\d+/)[0];if(s==="65001"||s==="437")return a0(r);r.callback=(...o)=>gp(`chcp ${s}`,a=>{if(a){n(i(a,3));return}n(...o)}),gp("chcp 65001",o=>{if(o){n(i(o,2));return}a0(r)});function i(o,a){switch(a){case 1:o.message=`[CHCP] error while getting current codepage:
8
8
  ${o.message}`;break;case 2:o.message=`[CHCP] error while switching to Unicode codepage:
9
9
  ${o.message}`;break;case 3:o.message=`
10
10
  [CHCP] error while resetting current codepage:
@@ -178,7 +178,7 @@ See: https://github.com/isaacs/node-glob/issues/167`);return new S(_,T).found}fu
178
178
  See: https://github.com/isaacs/node-glob/issues/167`);if(!(this instanceof S))return new S(_,T);if(d(this,_,T),this.noprocess)return this;var y=this.minimatch.set.length;this.matches=new Array(y);for(var R=0;R<y;R++)this._process(this.minimatch.set[R],R,!1);this._finish()}S.prototype._finish=function(){if(l(this instanceof S),this.realpath){var _=this;this.matches.forEach((function(T,y){var R=_.matches[y]=Object.create(null);for(var C in T)try{C=_._makeAbs(C),R[a.realpathSync(C,_.realpathCache)]=!0}catch(w){if(w.syscall!=="stat")throw w;R[_._makeAbs(C)]=!0}}))}p.finish(this)},S.prototype._process=function(_,T,y){l(this instanceof S);for(var R,C=0;typeof _[C]=="string";)C++;switch(C){case _.length:return void this._processSimple(_.join("/"),T);case 0:R=null;break;default:R=_.slice(0,C).join("/")}var w,O=_.slice(C);R===null?w=".":((f(R)||f(_.join("/")))&&(R&&f(R)||(R="/"+R)),w=R);var D=this._makeAbs(w);g(this,w)||(O[0]===u.GLOBSTAR?this._processGlobStar(R,w,D,O,T,y):this._processReaddir(R,w,D,O,T,y))},S.prototype._processReaddir=function(_,T,y,R,C,w){var O=this._readdir(y,w);if(O){for(var D=R[0],P=!!this.minimatch.negate,B=D._glob,F=this.dot||B.charAt(0)===".",H=[],G=0;G<O.length;G++)((ne=O[G]).charAt(0)!=="."||F)&&(P&&!_?!ne.match(D):ne.match(D))&&H.push(ne);var K=H.length;if(K!==0)if(R.length!==1||this.mark||this.stat)for(R.shift(),G=0;G<K;G++){var ee;ne=H[G],ee=_?[_,ne]:[ne],this._process(ee.concat(R),C,w)}else for(this.matches[C]||(this.matches[C]=Object.create(null)),G=0;G<K;G++){var ne=H[G];_&&(ne=_.slice(-1)!=="/"?_+"/"+ne:_+ne),ne.charAt(0)!=="/"||this.nomount||(ne=c.join(this.root,ne)),this._emitMatch(C,ne)}}},S.prototype._emitMatch=function(_,T){if(!h(this,T)){var y=this._makeAbs(T);if(this.mark&&(T=this._mark(T)),this.absolute&&(T=y),!this.matches[_][T]){if(this.nodir){var R=this.cache[y];if(R==="DIR"||Array.isArray(R))return}this.matches[_][T]=!0,this.stat&&this._stat(T)}}},S.prototype._readdirInGlobStar=function(_){if(this.follow)return this._readdir(_,!1);var T,y;try{y=o.lstatSync(_)}catch(C){if(C.code==="ENOENT")return null}var R=y&&y.isSymbolicLink();return this.symlinks[_]=R,R||!y||y.isDirectory()?T=this._readdir(_,!1):this.cache[_]="FILE",T},S.prototype._readdir=function(_,T){if(T&&!m(this.symlinks,_))return this._readdirInGlobStar(_);if(m(this.cache,_)){var y=this.cache[_];if(!y||y==="FILE")return null;if(Array.isArray(y))return y}try{return this._readdirEntries(_,o.readdirSync(_))}catch(R){return this._readdirError(_,R),null}},S.prototype._readdirEntries=function(_,T){if(!this.mark&&!this.stat)for(var y=0;y<T.length;y++){var R=T[y];R=_==="/"?_+R:_+"/"+R,this.cache[R]=!0}return this.cache[_]=T,T},S.prototype._readdirError=function(_,T){switch(T.code){case"ENOTSUP":case"ENOTDIR":var y=this._makeAbs(_);if(this.cache[y]="FILE",y===this.cwdAbs){var R=new Error(T.code+" invalid cwd "+this.cwd);throw R.path=this.cwd,R.code=T.code,R}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(_)]=!1;break;default:if(this.cache[this._makeAbs(_)]=!1,this.strict)throw T;this.silent||console.error("glob error",T)}},S.prototype._processGlobStar=function(_,T,y,R,C,w){var O=this._readdir(y,w);if(O){var D=R.slice(1),P=_?[_]:[],B=P.concat(D);this._process(B,C,!1);var F=O.length;if(!this.symlinks[y]||!w){for(var H=0;H<F;H++)if(O[H].charAt(0)!=="."||this.dot){var G=P.concat(O[H],D);this._process(G,C,!0);var K=P.concat(O[H],R);this._process(K,C,!0)}}}},S.prototype._processSimple=function(_,T){var y=this._stat(_);if(this.matches[T]||(this.matches[T]=Object.create(null)),y){if(_&&f(_)&&!this.nomount){var R=/[\/\\]$/.test(_);_.charAt(0)==="/"?_=c.join(this.root,_):(_=c.resolve(this.root,_),R&&(_+="/"))}process.platform==="win32"&&(_=_.replace(/\\/g,"/")),this._emitMatch(T,_)}},S.prototype._stat=function(_){var T=this._makeAbs(_),y=_.slice(-1)==="/";if(_.length>this.maxLength)return!1;if(!this.stat&&m(this.cache,T)){var R=this.cache[T];if(Array.isArray(R)&&(R="DIR"),!y||R==="DIR")return R;if(y&&R==="FILE")return!1}var C=this.statCache[T];if(!C){var w;try{w=o.lstatSync(T)}catch(O){if(O&&(O.code==="ENOENT"||O.code==="ENOTDIR"))return this.statCache[T]=!1,!1}if(w&&w.isSymbolicLink())try{C=o.statSync(T)}catch{C=w}else C=w}return this.statCache[T]=C,R=!0,C&&(R=C.isDirectory()?"DIR":"FILE"),this.cache[T]=this.cache[T]||R,(!y||R!=="FILE")&&R},S.prototype._mark=function(_){return p.mark(this,_)},S.prototype._makeAbs=function(_){return p.makeAbs(this,_)}},363:(n,s,i)=>{var o=i(2680),a=Object.create(null),u=i(4640);n.exports=o((function(c,l){return a[c]?(a[c].push(l),null):(a[c]=[l],(function(f){return u((function p(){var d=a[f],m=d.length,g=(function(E){for(var S=E.length,_=[],T=0;T<S;T++)_[T]=E[T];return _})(arguments);try{for(var h=0;h<m;h++)d[h].apply(null,g)}finally{d.length>m?(d.splice(0,m),process.nextTick((function(){p.apply(null,g)}))):delete a[f]}}))})(c))}))},3352:(n,s,i)=>{try{var o=i(970);if(typeof o.inherits!="function")throw"";n.exports=o.inherits}catch{n.exports=i(8248)}},8248:n=>{typeof Object.create=="function"?n.exports=function(s,i){s.super_=i,s.prototype=Object.create(i.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}})}:n.exports=function(s,i){s.super_=i;var o=function(){};o.prototype=i.prototype,s.prototype=new o,s.prototype.constructor=s}},1392:n=>{"use strict";var s=n.exports=function(i){return i!==null&&typeof i=="object"&&typeof i.pipe=="function"};s.writable=function(i){return s(i)&&i.writable!==!1&&typeof i._write=="function"&&typeof i._writableState=="object"},s.readable=function(i){return s(i)&&i.readable!==!1&&typeof i._read=="function"&&typeof i._readableState=="object"},s.duplex=function(i){return s.writable(i)&&s.readable(i)},s.transform=function(i){return s.duplex(i)&&typeof i._transform=="function"&&typeof i._transformState=="object"}},9268:(n,s,i)=>{var o;function a(u,c,l){if(typeof c=="function"&&(l=c,c={}),!l){if(typeof Promise!="function")throw new TypeError("callback not provided");return new Promise((function(f,p){a(u,c||{},(function(d,m){d?p(d):f(m)}))}))}o(u,c||{},(function(f,p){f&&(f.code==="EACCES"||c&&c.ignoreErrors)&&(f=null,p=!1),l(f,p)}))}i(2058),o=process.platform==="win32"||global.TESTING_WINDOWS?i(8340):i(8692),n.exports=a,a.sync=function(u,c){try{return o.sync(u,c||{})}catch(l){if(c&&c.ignoreErrors||l.code==="EACCES")return!1;throw l}}},8692:(n,s,i)=>{n.exports=a,a.sync=function(c,l){return u(o.statSync(c),l)};var o=i(2058);function a(c,l,f){o.stat(c,(function(p,d){f(p,!p&&u(d,l))}))}function u(c,l){return c.isFile()&&(function(f,p){var d=f.mode,m=f.uid,g=f.gid,h=p.uid!==void 0?p.uid:process.getuid&&process.getuid(),E=p.gid!==void 0?p.gid:process.getgid&&process.getgid(),S=parseInt("100",8),_=parseInt("010",8);return d&parseInt("001",8)||d&_&&g===E||d&S&&m===h||d&(S|_)&&h===0})(c,l)}},8340:(n,s,i)=>{n.exports=u,u.sync=function(c,l){return a(o.statSync(c),c,l)};var o=i(2058);function a(c,l,f){return!(!c.isSymbolicLink()&&!c.isFile())&&(function(p,d){var m=d.pathExt!==void 0?d.pathExt:process.env.PATHEXT;if(!m||(m=m.split(";")).indexOf("")!==-1)return!0;for(var g=0;g<m.length;g++){var h=m[g].toLowerCase();if(h&&p.substr(-h.length).toLowerCase()===h)return!0}return!1})(l,f)}function u(c,l,f){o.stat(c,(function(p,d){f(p,!p&&a(d,c,l))}))}},2941:(n,s,i)=>{"use strict";let o=i(8558),a=new Map([[18,"Mojave"],[17,"High Sierra"],[16,"Sierra"],[15,"El Capitan"],[14,"Yosemite"],[13,"Mavericks"],[12,"Mountain Lion"],[11,"Lion"],[10,"Snow Leopard"],[9,"Leopard"],[8,"Tiger"],[7,"Panther"],[6,"Jaguar"],[5,"Puma"]]),u=c=>(c=Number((c||o.release()).split(".")[0]),{name:a.get(c),version:"10."+(c-4)});n.exports=u,n.exports.default=u},836:(n,s,i)=>{n.exports=g,g.Minimatch=h;var o={sep:"/"};try{o=i(7072)}catch{}var a=g.GLOBSTAR=h.GLOBSTAR={},u=i(1620),c={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},l="[^/]",f=l+"*?",p="().*{}+?[]^$\\!".split("").reduce((function(_,T){return _[T]=!0,_}),{}),d=/\/+/;function m(_,T){_=_||{},T=T||{};var y={};return Object.keys(T).forEach((function(R){y[R]=T[R]})),Object.keys(_).forEach((function(R){y[R]=_[R]})),y}function g(_,T,y){if(typeof T!="string")throw new TypeError("glob pattern string required");return y||(y={}),!(!y.nocomment&&T.charAt(0)==="#")&&(T.trim()===""?_==="":new h(T,y).match(_))}function h(_,T){if(!(this instanceof h))return new h(_,T);if(typeof _!="string")throw new TypeError("glob pattern string required");T||(T={}),_=_.trim(),o.sep!=="/"&&(_=_.split(o.sep).join("/")),this.options=T,this.set=[],this.pattern=_,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.make()}function E(_,T){if(T||(T=this instanceof h?this.options:{}),(_=_===void 0?this.pattern:_)===void 0)throw new TypeError("undefined pattern");return T.nobrace||!_.match(/\{.*\}/)?[_]:u(_)}g.filter=function(_,T){return T=T||{},function(y,R,C){return g(y,_,T)}},g.defaults=function(_){if(!_||!Object.keys(_).length)return g;var T=g,y=function(R,C,w){return T.minimatch(R,C,m(_,w))};return y.Minimatch=function(R,C){return new T.Minimatch(R,m(_,C))},y},h.defaults=function(_){return _&&Object.keys(_).length?g.defaults(_).Minimatch:h},h.prototype.debug=function(){},h.prototype.make=function(){if(!this._made){var _=this.pattern,T=this.options;if(T.nocomment||_.charAt(0)!=="#")if(_){this.parseNegate();var y=this.globSet=this.braceExpand();T.debug&&(this.debug=console.error),this.debug(this.pattern,y),y=this.globParts=y.map((function(R){return R.split(d)})),this.debug(this.pattern,y),y=y.map((function(R,C,w){return R.map(this.parse,this)}),this),this.debug(this.pattern,y),y=y.filter((function(R){return R.indexOf(!1)===-1})),this.debug(this.pattern,y),this.set=y}else this.empty=!0;else this.comment=!0}},h.prototype.parseNegate=function(){var _=this.pattern,T=!1,y=0;if(!this.options.nonegate){for(var R=0,C=_.length;R<C&&_.charAt(R)==="!";R++)T=!T,y++;y&&(this.pattern=_.substr(y)),this.negate=T}},g.braceExpand=function(_,T){return E(_,T)},h.prototype.braceExpand=E,h.prototype.parse=function(_,T){if(_.length>65536)throw new TypeError("pattern is too long");var y=this.options;if(!y.noglobstar&&_==="**")return a;if(_==="")return"";var R,C="",w=!!y.nocase,O=!1,D=[],P=[],B=!1,F=-1,H=-1,G=_.charAt(0)==="."?"":y.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",K=this;function ee(){if(R){switch(R){case"*":C+=f,w=!0;break;case"?":C+=l,w=!0;break;default:C+="\\"+R}K.debug("clearStateChar %j %j",R,C),R=!1}}for(var ne,ie=0,ge=_.length;ie<ge&&(ne=_.charAt(ie));ie++)if(this.debug("%s %s %s %j",_,ie,C,ne),O&&p[ne])C+="\\"+ne,O=!1;else switch(ne){case"/":return!1;case"\\":ee(),O=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",_,ie,C,ne),B){this.debug(" in class"),ne==="!"&&ie===H+1&&(ne="^"),C+=ne;continue}K.debug("call clearStateChar %j",R),ee(),R=ne,y.noext&&ee();continue;case"(":if(B){C+="(";continue}if(!R){C+="\\(";continue}D.push({type:R,start:ie-1,reStart:C.length,open:c[R].open,close:c[R].close}),C+=R==="!"?"(?:(?!(?:":"(?:",this.debug("plType %j %j",R,C),R=!1;continue;case")":if(B||!D.length){C+="\\)";continue}ee(),w=!0;var z=D.pop();C+=z.close,z.type==="!"&&P.push(z),z.reEnd=C.length;continue;case"|":if(B||!D.length||O){C+="\\|",O=!1;continue}ee(),C+="|";continue;case"[":if(ee(),B){C+="\\"+ne;continue}B=!0,H=ie,F=C.length,C+=ne;continue;case"]":if(ie===H+1||!B){C+="\\"+ne,O=!1;continue}if(B){var ce=_.substring(H+1,ie);try{RegExp("["+ce+"]")}catch{var de=this.parse(ce,S);C=C.substr(0,F)+"\\["+de[0]+"\\]",w=w||de[1],B=!1;continue}}w=!0,B=!1,C+=ne;continue;default:ee(),O?O=!1:!p[ne]||ne==="^"&&B||(C+="\\"),C+=ne}for(B&&(ce=_.substr(H+1),de=this.parse(ce,S),C=C.substr(0,F)+"\\["+de[0],w=w||de[1]),z=D.pop();z;z=D.pop()){var $=C.slice(z.reStart+z.open.length);this.debug("setting tail",C,z),$=$.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(j,I,Z){return Z||(Z="\\"),I+I+Z+"|"})),this.debug(`tail=%j
179
179
  %s`,$,$,z,C);var Ge=z.type==="*"?f:z.type==="?"?l:"\\"+z.type;w=!0,C=C.slice(0,z.reStart)+Ge+"\\("+$}ee(),O&&(C+="\\\\");var V=!1;switch(C.charAt(0)){case".":case"[":case"(":V=!0}for(var N=P.length-1;N>-1;N--){var x=P[N],X=C.slice(0,x.reStart),oe=C.slice(x.reStart,x.reEnd-8),fe=C.slice(x.reEnd-8,x.reEnd),Ie=C.slice(x.reEnd);fe+=Ie;var De=X.split("(").length-1,_e=Ie;for(ie=0;ie<De;ie++)_e=_e.replace(/\)[+*?]?/,"");var b="";(Ie=_e)===""&&T!==S&&(b="$"),C=X+oe+Ie+b+fe}if(C!==""&&w&&(C="(?=.)"+C),V&&(C=G+C),T===S)return[C,w];if(!w)return _.replace(/\\(.)/g,"$1");var L=y.nocase?"i":"";try{var k=new RegExp("^"+C+"$",L)}catch{return new RegExp("$.")}return k._glob=_,k._src=C,k};var S={};g.makeRe=function(_,T){return new h(_,T||{}).makeRe()},h.prototype.makeRe=function(){if(this.regexp||this.regexp===!1)return this.regexp;var _=this.set;if(!_.length)return this.regexp=!1,this.regexp;var T=this.options,y=T.noglobstar?f:T.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",R=T.nocase?"i":"",C=_.map((function(w){return w.map((function(O){return O===a?y:typeof O=="string"?O.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):O._src})).join("\\/")})).join("|");C="^(?:"+C+")$",this.negate&&(C="^(?!"+C+").*$");try{this.regexp=new RegExp(C,R)}catch{this.regexp=!1}return this.regexp},g.match=function(_,T,y){var R=new h(T,y=y||{});return _=_.filter((function(C){return R.match(C)})),R.options.nonull&&!_.length&&_.push(T),_},h.prototype.match=function(_,T){if(this.debug("match",_,this.pattern),this.comment)return!1;if(this.empty)return _==="";if(_==="/"&&T)return!0;var y=this.options;o.sep!=="/"&&(_=_.split(o.sep).join("/")),_=_.split(d),this.debug(this.pattern,"split",_);var R,C,w=this.set;for(this.debug(this.pattern,"set",w),C=_.length-1;C>=0&&!(R=_[C]);C--);for(C=0;C<w.length;C++){var O=w[C],D=_;if(y.matchBase&&O.length===1&&(D=[R]),this.matchOne(D,O,T))return!!y.flipNegate||!this.negate}return!y.flipNegate&&this.negate},h.prototype.matchOne=function(_,T,y){var R=this.options;this.debug("matchOne",{this:this,file:_,pattern:T}),this.debug("matchOne",_.length,T.length);for(var C=0,w=0,O=_.length,D=T.length;C<O&&w<D;C++,w++){this.debug("matchOne loop");var P,B=T[w],F=_[C];if(this.debug(T,B,F),B===!1)return!1;if(B===a){this.debug("GLOBSTAR",[T,B,F]);var H=C,G=w+1;if(G===D){for(this.debug("** at the end");C<O;C++)if(_[C]==="."||_[C]===".."||!R.dot&&_[C].charAt(0)===".")return!1;return!0}for(;H<O;){var K=_[H];if(this.debug(`
180
180
  globstar while`,_,H,T,G,K),this.matchOne(_.slice(H),T.slice(G),y))return this.debug("globstar found match!",H,O,K),!0;if(K==="."||K===".."||!R.dot&&K.charAt(0)==="."){this.debug("dot detected!",_,H,T,G);break}this.debug("globstar swallow a segment, and continue"),H++}return!(!y||(this.debug(`
181
- >>> no match, partial?`,_,H,T,G),H!==O))}if(typeof B=="string"?(P=R.nocase?F.toLowerCase()===B.toLowerCase():F===B,this.debug("string match",B,F,P)):(P=F.match(B),this.debug("pattern match",B,F,P)),!P)return!1}if(C===O&&w===D)return!0;if(C===O)return y;if(w===D)return C===O-1&&_[C]==="";throw new Error("wtf?")}},9480:n=>{"use strict";n.exports=function(s){try{return s()}catch{}}},9584:(n,s,i)=>{"use strict";let o=i(7072),a=i(3032);n.exports=u=>{let c;u=Object.assign({cwd:process.cwd(),path:process.env[a()]},u);let l=o.resolve(u.cwd),f=[];for(;c!==l;)f.push(o.join(l,"node_modules/.bin")),c=l,l=o.resolve(l,"..");return f.push(o.dirname(process.execPath)),f.concat(u.path).join(o.delimiter)},n.exports.env=u=>{u=Object.assign({env:process.env},u);let c=Object.assign({},u.env),l=a({env:c});return u.path=c[l],c[l]=n.exports(u),c}},4640:(n,s,i)=>{var o=i(2680);function a(c){var l=function(){return l.called?l.value:(l.called=!0,l.value=c.apply(this,arguments))};return l.called=!1,l}function u(c){var l=function(){if(l.called)throw new Error(l.onceError);return l.called=!0,l.value=c.apply(this,arguments)},f=c.name||"Function wrapped with `once`";return l.onceError=f+" shouldn't be called more than once",l.called=!1,l}n.exports=o(a),n.exports.strict=o(u),a.proto=a((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return a(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return u(this)},configurable:!0})}))},2288:(n,s,i)=>{"use strict";let o=i(8558),a=i(2941),u=i(6468);n.exports=(c,l)=>{if(!c&&l)throw new Error("You can't specify a `release` without specifying `platform`");let f;if((c=c||o.platform())==="darwin"){l||o.platform()!=="darwin"||(l=o.release());let p=l?Number(l.split(".")[0])>15?"macOS":"OS X":"macOS";return f=l?a(l).name:"",p+(f?" "+f:"")}return c==="linux"?(l||o.platform()!=="linux"||(l=o.release()),f=l?l.replace(/^(\d+\.\d+).*/,"$1"):"","Linux"+(f?" "+f:"")):c==="win32"?(l||o.platform()!=="win32"||(l=o.release()),f=l?u(l):"","Windows"+(f?" "+f:"")):c}},1548:n=>{"use strict";n.exports=(s,i)=>(i=i||(()=>{}),s.then((o=>new Promise((a=>{a(i())})).then((()=>o))),(o=>new Promise((a=>{a(i())})).then((()=>{throw o})))))},4832:n=>{"use strict";function s(o){return o.charAt(0)==="/"}function i(o){var a=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/.exec(o),u=a[1]||"",c=!!(u&&u.charAt(1)!==":");return!!(a[2]||c)}n.exports=process.platform==="win32"?i:s,n.exports.posix=s,n.exports.win32=i},3032:n=>{"use strict";n.exports=s=>{let i=(s=s||{}).env||process.env;return(s.platform||process.platform)!=="win32"?"PATH":Object.keys(i).find((o=>o.toUpperCase()==="PATH"))||"Path"}},8984:(n,s,i)=>{var o=i(4640),a=i(9988),u=i(2058),c=function(){},l=/^v?\.0/.test(process.version),f=function(m){return typeof m=="function"},p=function(m){m()},d=function(m,g){return m.pipe(g)};n.exports=function(){var m,g=Array.prototype.slice.call(arguments),h=f(g[g.length-1]||c)&&g.pop()||c;if(Array.isArray(g[0])&&(g=g[0]),g.length<2)throw new Error("pump requires two streams per minimum");var E=g.map((function(S,_){var T=_<g.length-1;return(function(y,R,C,w){w=o(w);var O=!1;y.on("close",(function(){O=!0})),a(y,{readable:R,writable:C},(function(P){if(P)return w(P);O=!0,w()}));var D=!1;return function(P){if(!O&&!D)return D=!0,(function(B){return!!l&&!!u&&(B instanceof(u.ReadStream||c)||B instanceof(u.WriteStream||c))&&f(B.close)})(y)?y.close(c):(function(B){return B.setHeader&&f(B.abort)})(y)?y.abort():f(y.destroy)?y.destroy():void w(P||new Error("stream was destroyed"))}})(S,T,_>0,(function(y){m||(m=y),y&&E.forEach(p),T||(E.forEach(p),h(m))}))}));return g.reduce(d)}},1716:(n,s)=>{var i;s=n.exports=_e,i=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var q=Array.prototype.slice.call(arguments,0);q.unshift("SEMVER"),console.log.apply(console,q)}:function(){},s.SEMVER_SPEC_VERSION="2.0.0";var o=256,a=Number.MAX_SAFE_INTEGER||9007199254740991,u=s.re=[],c=s.src=[],l=0,f=l++;c[f]="0|[1-9]\\d*";var p=l++;c[p]="[0-9]+";var d=l++;c[d]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var m=l++;c[m]="("+c[f]+")\\.("+c[f]+")\\.("+c[f]+")";var g=l++;c[g]="("+c[p]+")\\.("+c[p]+")\\.("+c[p]+")";var h=l++;c[h]="(?:"+c[f]+"|"+c[d]+")";var E=l++;c[E]="(?:"+c[p]+"|"+c[d]+")";var S=l++;c[S]="(?:-("+c[h]+"(?:\\."+c[h]+")*))";var _=l++;c[_]="(?:-?("+c[E]+"(?:\\."+c[E]+")*))";var T=l++;c[T]="[0-9A-Za-z-]+";var y=l++;c[y]="(?:\\+("+c[T]+"(?:\\."+c[T]+")*))";var R=l++,C="v?"+c[m]+c[S]+"?"+c[y]+"?";c[R]="^"+C+"$";var w="[v=\\s]*"+c[g]+c[_]+"?"+c[y]+"?",O=l++;c[O]="^"+w+"$";var D=l++;c[D]="((?:<|>)?=?)";var P=l++;c[P]=c[p]+"|x|X|\\*";var B=l++;c[B]=c[f]+"|x|X|\\*";var F=l++;c[F]="[v=\\s]*("+c[B]+")(?:\\.("+c[B]+")(?:\\.("+c[B]+")(?:"+c[S]+")?"+c[y]+"?)?)?";var H=l++;c[H]="[v=\\s]*("+c[P]+")(?:\\.("+c[P]+")(?:\\.("+c[P]+")(?:"+c[_]+")?"+c[y]+"?)?)?";var G=l++;c[G]="^"+c[D]+"\\s*"+c[F]+"$";var K=l++;c[K]="^"+c[D]+"\\s*"+c[H]+"$";var ee=l++;c[ee]="(?:^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])";var ne=l++;c[ne]="(?:~>?)";var ie=l++;c[ie]="(\\s*)"+c[ne]+"\\s+",u[ie]=new RegExp(c[ie],"g");var ge=l++;c[ge]="^"+c[ne]+c[F]+"$";var z=l++;c[z]="^"+c[ne]+c[H]+"$";var ce=l++;c[ce]="(?:\\^)";var de=l++;c[de]="(\\s*)"+c[ce]+"\\s+",u[de]=new RegExp(c[de],"g");var $=l++;c[$]="^"+c[ce]+c[F]+"$";var Ge=l++;c[Ge]="^"+c[ce]+c[H]+"$";var V=l++;c[V]="^"+c[D]+"\\s*("+w+")$|^$";var N=l++;c[N]="^"+c[D]+"\\s*("+C+")$|^$";var x=l++;c[x]="(\\s*)"+c[D]+"\\s*("+w+"|"+c[F]+")",u[x]=new RegExp(c[x],"g");var X=l++;c[X]="^\\s*("+c[F]+")\\s+-\\s+("+c[F]+")\\s*$";var oe=l++;c[oe]="^\\s*("+c[H]+")\\s+-\\s+("+c[H]+")\\s*$";var fe=l++;c[fe]="(<|>)?=?\\s*\\*";for(var Ie=0;Ie<35;Ie++)i(Ie,c[Ie]),u[Ie]||(u[Ie]=new RegExp(c[Ie]));function De(q,Y){if(Y&&typeof Y=="object"||(Y={loose:!!Y,includePrerelease:!1}),q instanceof _e)return q;if(typeof q!="string"||q.length>o||!(Y.loose?u[O]:u[R]).test(q))return null;try{return new _e(q,Y)}catch{return null}}function _e(q,Y){if(Y&&typeof Y=="object"||(Y={loose:!!Y,includePrerelease:!1}),q instanceof _e){if(q.loose===Y.loose)return q;q=q.version}else if(typeof q!="string")throw new TypeError("Invalid Version: "+q);if(q.length>o)throw new TypeError("version is longer than "+o+" characters");if(!(this instanceof _e))return new _e(q,Y);i("SemVer",q,Y),this.options=Y,this.loose=!!Y.loose;var re=q.trim().match(Y.loose?u[O]:u[R]);if(!re)throw new TypeError("Invalid Version: "+q);if(this.raw=q,this.major=+re[1],this.minor=+re[2],this.patch=+re[3],this.major>a||this.major<0)throw new TypeError("Invalid major version");if(this.minor>a||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>a||this.patch<0)throw new TypeError("Invalid patch version");re[4]?this.prerelease=re[4].split(".").map((function(Te){if(/^[0-9]+$/.test(Te)){var Ve=+Te;if(Ve>=0&&Ve<a)return Ve}return Te})):this.prerelease=[],this.build=re[5]?re[5].split("."):[],this.format()}s.parse=De,s.valid=function(q,Y){var re=De(q,Y);return re?re.version:null},s.clean=function(q,Y){var re=De(q.trim().replace(/^[=v]+/,""),Y);return re?re.version:null},s.SemVer=_e,_e.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},_e.prototype.toString=function(){return this.version},_e.prototype.compare=function(q){return i("SemVer.compare",this.version,this.options,q),q instanceof _e||(q=new _e(q,this.options)),this.compareMain(q)||this.comparePre(q)},_e.prototype.compareMain=function(q){return q instanceof _e||(q=new _e(q,this.options)),L(this.major,q.major)||L(this.minor,q.minor)||L(this.patch,q.patch)},_e.prototype.comparePre=function(q){if(q instanceof _e||(q=new _e(q,this.options)),this.prerelease.length&&!q.prerelease.length)return-1;if(!this.prerelease.length&&q.prerelease.length)return 1;if(!this.prerelease.length&&!q.prerelease.length)return 0;var Y=0;do{var re=this.prerelease[Y],Te=q.prerelease[Y];if(i("prerelease compare",Y,re,Te),re===void 0&&Te===void 0)return 0;if(Te===void 0)return 1;if(re===void 0)return-1;if(re!==Te)return L(re,Te)}while(++Y)},_e.prototype.inc=function(q,Y){switch(q){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",Y);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",Y);break;case"prepatch":this.prerelease.length=0,this.inc("patch",Y),this.inc("pre",Y);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",Y),this.inc("pre",Y);break;case"major":this.minor===0&&this.patch===0&&this.prerelease.length!==0||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":this.patch===0&&this.prerelease.length!==0||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{for(var re=this.prerelease.length;--re>=0;)typeof this.prerelease[re]=="number"&&(this.prerelease[re]++,re=-2);re===-1&&this.prerelease.push(0)}Y&&(this.prerelease[0]===Y?isNaN(this.prerelease[1])&&(this.prerelease=[Y,0]):this.prerelease=[Y,0]);break;default:throw new Error("invalid increment argument: "+q)}return this.format(),this.raw=this.version,this},s.inc=function(q,Y,re,Te){typeof re=="string"&&(Te=re,re=void 0);try{return new _e(q,re).inc(Y,Te).version}catch{return null}},s.diff=function(q,Y){if(Z(q,Y))return null;var re=De(q),Te=De(Y);if(re.prerelease.length||Te.prerelease.length){for(var Ve in re)if((Ve==="major"||Ve==="minor"||Ve==="patch")&&re[Ve]!==Te[Ve])return"pre"+Ve;return"prerelease"}for(var Ve in re)if((Ve==="major"||Ve==="minor"||Ve==="patch")&&re[Ve]!==Te[Ve])return Ve},s.compareIdentifiers=L;var b=/^[0-9]+$/;function L(q,Y){var re=b.test(q),Te=b.test(Y);return re&&Te&&(q=+q,Y=+Y),re&&!Te?-1:Te&&!re?1:q<Y?-1:q>Y?1:0}function k(q,Y,re){return new _e(q,re).compare(new _e(Y,re))}function j(q,Y,re){return k(q,Y,re)>0}function I(q,Y,re){return k(q,Y,re)<0}function Z(q,Y,re){return k(q,Y,re)===0}function J(q,Y,re){return k(q,Y,re)!==0}function se(q,Y,re){return k(q,Y,re)>=0}function Je(q,Y,re){return k(q,Y,re)<=0}function it(q,Y,re,Te){var Ve;switch(Y){case"===":typeof q=="object"&&(q=q.version),typeof re=="object"&&(re=re.version),Ve=q===re;break;case"!==":typeof q=="object"&&(q=q.version),typeof re=="object"&&(re=re.version),Ve=q!==re;break;case"":case"=":case"==":Ve=Z(q,re,Te);break;case"!=":Ve=J(q,re,Te);break;case">":Ve=j(q,re,Te);break;case">=":Ve=se(q,re,Te);break;case"<":Ve=I(q,re,Te);break;case"<=":Ve=Je(q,re,Te);break;default:throw new TypeError("Invalid operator: "+Y)}return Ve}function mn(q,Y){if(Y&&typeof Y=="object"||(Y={loose:!!Y,includePrerelease:!1}),q instanceof mn){if(q.loose===!!Y.loose)return q;q=q.value}if(!(this instanceof mn))return new mn(q,Y);i("comparator",q,Y),this.options=Y,this.loose=!!Y.loose,this.parse(q),this.semver===Ac?this.value="":this.value=this.operator+this.semver.version,i("comp",this)}s.rcompareIdentifiers=function(q,Y){return L(Y,q)},s.major=function(q,Y){return new _e(q,Y).major},s.minor=function(q,Y){return new _e(q,Y).minor},s.patch=function(q,Y){return new _e(q,Y).patch},s.compare=k,s.compareLoose=function(q,Y){return k(q,Y,!0)},s.rcompare=function(q,Y,re){return k(Y,q,re)},s.sort=function(q,Y){return q.sort((function(re,Te){return s.compare(re,Te,Y)}))},s.rsort=function(q,Y){return q.sort((function(re,Te){return s.rcompare(re,Te,Y)}))},s.gt=j,s.lt=I,s.eq=Z,s.neq=J,s.gte=se,s.lte=Je,s.cmp=it,s.Comparator=mn;var Ac={};function xt(q,Y){if(Y&&typeof Y=="object"||(Y={loose:!!Y,includePrerelease:!1}),q instanceof xt)return q.loose===!!Y.loose&&q.includePrerelease===!!Y.includePrerelease?q:new xt(q.raw,Y);if(q instanceof mn)return new xt(q.value,Y);if(!(this instanceof xt))return new xt(q,Y);if(this.options=Y,this.loose=!!Y.loose,this.includePrerelease=!!Y.includePrerelease,this.raw=q,this.set=q.split(/\s*\|\|\s*/).map((function(re){return this.parseRange(re.trim())}),this).filter((function(re){return re.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: "+q);this.format()}function Ir(q){return!q||q.toLowerCase()==="x"||q==="*"}function MW(q,Y,re,Te,Ve,Qt,ft,Lr,Vt,mr,ui,Bt,gt){return((Y=Ir(re)?"":Ir(Te)?">="+re+".0.0":Ir(Ve)?">="+re+"."+Te+".0":">="+Y)+" "+(Lr=Ir(Vt)?"":Ir(mr)?"<"+(+Vt+1)+".0.0":Ir(ui)?"<"+Vt+"."+(+mr+1)+".0":Bt?"<="+Vt+"."+mr+"."+ui+"-"+Bt:"<="+Lr)).trim()}function xW(q,Y,re){for(var Te=0;Te<q.length;Te++)if(!q[Te].test(Y))return!1;if(re||(re={}),Y.prerelease.length&&!re.includePrerelease){for(Te=0;Te<q.length;Te++)if(i(q[Te].semver),q[Te].semver!==Ac&&q[Te].semver.prerelease.length>0){var Ve=q[Te].semver;if(Ve.major===Y.major&&Ve.minor===Y.minor&&Ve.patch===Y.patch)return!0}return!1}return!0}function Xf(q,Y,re){try{Y=new xt(Y,re)}catch{return!1}return Y.test(q)}function vE(q,Y,re,Te){var Ve,Qt,ft,Lr,Vt;switch(q=new _e(q,Te),Y=new xt(Y,Te),re){case">":Ve=j,Qt=Je,ft=I,Lr=">",Vt=">=";break;case"<":Ve=I,Qt=se,ft=j,Lr="<",Vt="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Xf(q,Y,Te))return!1;for(var mr=0;mr<Y.set.length;++mr){var ui=Y.set[mr],Bt=null,gt=null;if(ui.forEach((function(Hr){Hr.semver===Ac&&(Hr=new mn(">=0.0.0")),Bt=Bt||Hr,gt=gt||Hr,Ve(Hr.semver,Bt.semver,Te)?Bt=Hr:ft(Hr.semver,gt.semver,Te)&&(gt=Hr)})),Bt.operator===Lr||Bt.operator===Vt||(!gt.operator||gt.operator===Lr)&&Qt(q,gt.semver)||gt.operator===Vt&&ft(q,gt.semver))return!1}return!0}mn.prototype.parse=function(q){var Y=this.options.loose?u[V]:u[N],re=q.match(Y);if(!re)throw new TypeError("Invalid comparator: "+q);this.operator=re[1],this.operator==="="&&(this.operator=""),re[2]?this.semver=new _e(re[2],this.options.loose):this.semver=Ac},mn.prototype.toString=function(){return this.value},mn.prototype.test=function(q){return i("Comparator.test",q,this.options.loose),this.semver===Ac||(typeof q=="string"&&(q=new _e(q,this.options)),it(q,this.operator,this.semver,this.options))},mn.prototype.intersects=function(q,Y){if(!(q instanceof mn))throw new TypeError("a Comparator is required");var re;if(Y&&typeof Y=="object"||(Y={loose:!!Y,includePrerelease:!1}),this.operator==="")return re=new xt(q.value,Y),Xf(this.value,re,Y);if(q.operator==="")return re=new xt(this.value,Y),Xf(q.semver,re,Y);var Te=!(this.operator!==">="&&this.operator!==">"||q.operator!==">="&&q.operator!==">"),Ve=!(this.operator!=="<="&&this.operator!=="<"||q.operator!=="<="&&q.operator!=="<"),Qt=this.semver.version===q.semver.version,ft=!(this.operator!==">="&&this.operator!=="<="||q.operator!==">="&&q.operator!=="<="),Lr=it(this.semver,"<",q.semver,Y)&&(this.operator===">="||this.operator===">")&&(q.operator==="<="||q.operator==="<"),Vt=it(this.semver,">",q.semver,Y)&&(this.operator==="<="||this.operator==="<")&&(q.operator===">="||q.operator===">");return Te||Ve||Qt&&ft||Lr||Vt},s.Range=xt,xt.prototype.format=function(){return this.range=this.set.map((function(q){return q.join(" ").trim()})).join("||").trim(),this.range},xt.prototype.toString=function(){return this.range},xt.prototype.parseRange=function(q){var Y=this.options.loose;q=q.trim();var re=Y?u[oe]:u[X];q=q.replace(re,MW),i("hyphen replace",q),q=q.replace(u[x],"$1$2$3"),i("comparator trim",q,u[x]),q=(q=(q=q.replace(u[ie],"$1~")).replace(u[de],"$1^")).split(/\s+/).join(" ");var Te=Y?u[V]:u[N],Ve=q.split(" ").map((function(Qt){return(function(ft,Lr){return i("comp",ft,Lr),ft=(function(Vt,mr){return Vt.trim().split(/\s+/).map((function(ui){return(function(Bt,gt){i("caret",Bt,gt),gt&&typeof gt=="object"||(gt={loose:!!gt,includePrerelease:!1});var Hr=gt.loose?u[Ge]:u[$];return Bt.replace(Hr,(function($n,He,Ze,St,Dt){var cr;return i("caret",Bt,$n,He,Ze,St,Dt),Ir(He)?cr="":Ir(Ze)?cr=">="+He+".0.0 <"+(+He+1)+".0.0":Ir(St)?cr=He==="0"?">="+He+"."+Ze+".0 <"+He+"."+(+Ze+1)+".0":">="+He+"."+Ze+".0 <"+(+He+1)+".0.0":Dt?(i("replaceCaret pr",Dt),Dt.charAt(0)!=="-"&&(Dt="-"+Dt),cr=He==="0"?Ze==="0"?">="+He+"."+Ze+"."+St+Dt+" <"+He+"."+Ze+"."+(+St+1):">="+He+"."+Ze+"."+St+Dt+" <"+He+"."+(+Ze+1)+".0":">="+He+"."+Ze+"."+St+Dt+" <"+(+He+1)+".0.0"):(i("no pr"),cr=He==="0"?Ze==="0"?">="+He+"."+Ze+"."+St+" <"+He+"."+Ze+"."+(+St+1):">="+He+"."+Ze+"."+St+" <"+He+"."+(+Ze+1)+".0":">="+He+"."+Ze+"."+St+" <"+(+He+1)+".0.0"),i("caret return",cr),cr}))})(ui,mr)})).join(" ")})(ft,Lr),i("caret",ft),ft=(function(Vt,mr){return Vt.trim().split(/\s+/).map((function(ui){return(function(Bt,gt){gt&&typeof gt=="object"||(gt={loose:!!gt,includePrerelease:!1});var Hr=gt.loose?u[z]:u[ge];return Bt.replace(Hr,(function($n,He,Ze,St,Dt){var cr;return i("tilde",Bt,$n,He,Ze,St,Dt),Ir(He)?cr="":Ir(Ze)?cr=">="+He+".0.0 <"+(+He+1)+".0.0":Ir(St)?cr=">="+He+"."+Ze+".0 <"+He+"."+(+Ze+1)+".0":Dt?(i("replaceTilde pr",Dt),Dt.charAt(0)!=="-"&&(Dt="-"+Dt),cr=">="+He+"."+Ze+"."+St+Dt+" <"+He+"."+(+Ze+1)+".0"):cr=">="+He+"."+Ze+"."+St+" <"+He+"."+(+Ze+1)+".0",i("tilde return",cr),cr}))})(ui,mr)})).join(" ")})(ft,Lr),i("tildes",ft),ft=(function(Vt,mr){return i("replaceXRanges",Vt,mr),Vt.split(/\s+/).map((function(ui){return(function(Bt,gt){Bt=Bt.trim(),gt&&typeof gt=="object"||(gt={loose:!!gt,includePrerelease:!1});var Hr=gt.loose?u[K]:u[G];return Bt.replace(Hr,(function($n,He,Ze,St,Dt,cr){i("xRange",Bt,$n,He,Ze,St,Dt,cr);var _C=Ir(Ze),Oc=_C||Ir(St),vc=Oc||Ir(Dt);return He==="="&&vc&&(He=""),_C?$n=He===">"||He==="<"?"<0.0.0":"*":He&&vc?(Oc&&(St=0),vc&&(Dt=0),He===">"?(He=">=",Oc?(Ze=+Ze+1,St=0,Dt=0):vc&&(St=+St+1,Dt=0)):He==="<="&&(He="<",Oc?Ze=+Ze+1:St=+St+1),$n=He+Ze+"."+St+"."+Dt):Oc?$n=">="+Ze+".0.0 <"+(+Ze+1)+".0.0":vc&&($n=">="+Ze+"."+St+".0 <"+Ze+"."+(+St+1)+".0"),i("xRange return",$n),$n}))})(ui,mr)})).join(" ")})(ft,Lr),i("xrange",ft),ft=(function(Vt,mr){return i("replaceStars",Vt,mr),Vt.trim().replace(u[fe],"")})(ft,Lr),i("stars",ft),ft})(Qt,this.options)}),this).join(" ").split(/\s+/);return this.options.loose&&(Ve=Ve.filter((function(Qt){return!!Qt.match(Te)}))),Ve.map((function(Qt){return new mn(Qt,this.options)}),this)},xt.prototype.intersects=function(q,Y){if(!(q instanceof xt))throw new TypeError("a Range is required");return this.set.some((function(re){return re.every((function(Te){return q.set.some((function(Ve){return Ve.every((function(Qt){return Te.intersects(Qt,Y)}))}))}))}))},s.toComparators=function(q,Y){return new xt(q,Y).set.map((function(re){return re.map((function(Te){return Te.value})).join(" ").trim().split(" ")}))},xt.prototype.test=function(q){if(!q)return!1;typeof q=="string"&&(q=new _e(q,this.options));for(var Y=0;Y<this.set.length;Y++)if(xW(this.set[Y],q,this.options))return!0;return!1},s.satisfies=Xf,s.maxSatisfying=function(q,Y,re){var Te=null,Ve=null;try{var Qt=new xt(Y,re)}catch{return null}return q.forEach((function(ft){Qt.test(ft)&&(Te&&Ve.compare(ft)!==-1||(Ve=new _e(Te=ft,re)))})),Te},s.minSatisfying=function(q,Y,re){var Te=null,Ve=null;try{var Qt=new xt(Y,re)}catch{return null}return q.forEach((function(ft){Qt.test(ft)&&(Te&&Ve.compare(ft)!==1||(Ve=new _e(Te=ft,re)))})),Te},s.validRange=function(q,Y){try{return new xt(q,Y).range||"*"}catch{return null}},s.ltr=function(q,Y,re){return vE(q,Y,"<",re)},s.gtr=function(q,Y,re){return vE(q,Y,">",re)},s.outside=vE,s.prerelease=function(q,Y){var re=De(q,Y);return re&&re.prerelease.length?re.prerelease:null},s.intersects=function(q,Y,re){return q=new xt(q,re),Y=new xt(Y,re),q.intersects(Y)},s.coerce=function(q){if(q instanceof _e)return q;if(typeof q!="string")return null;var Y=q.match(u[ee]);return Y==null?null:De((Y[1]||"0")+"."+(Y[2]||"0")+"."+(Y[3]||"0"))}},6176:(n,s,i)=>{"use strict";var o=i(184);n.exports=function(a){var u=a.match(o);if(!u)return null;var c=u[0].replace(/#! ?/,"").split(" "),l=c[0].split("/").pop(),f=c[1];return l==="env"?f:l+(f?" "+f:"")}},184:n=>{"use strict";n.exports=/^#!.*/},200:(n,s,i)=>{var o,a=i(6608),u=i(6132),c=i(467);function l(){d&&(d=!1,u.forEach((function(_){try{process.removeListener(_,p[_])}catch{}})),process.emit=E,process.reallyExit=g,o.count-=1)}function f(_,T,y){o.emitted[_]||(o.emitted[_]=!0,o.emit(_,T,y))}typeof c!="function"&&(c=c.EventEmitter),process.__signal_exit_emitter__?o=process.__signal_exit_emitter__:((o=process.__signal_exit_emitter__=new c).count=0,o.emitted={}),o.infinite||(o.setMaxListeners(1/0),o.infinite=!0),n.exports=function(_,T){a.equal(typeof _,"function","a callback must be provided for exit handler"),d===!1&&m();var y="exit";return T&&T.alwaysLast&&(y="afterexit"),o.on(y,_),function(){o.removeListener(y,_),o.listeners("exit").length===0&&o.listeners("afterexit").length===0&&l()}},n.exports.unload=l;var p={};u.forEach((function(_){p[_]=function(){process.listeners(_).length===o.count&&(l(),f("exit",null,_),f("afterexit",null,_),process.kill(process.pid,_))}})),n.exports.signals=function(){return u},n.exports.load=m;var d=!1;function m(){d||(d=!0,o.count+=1,u=u.filter((function(_){try{return process.on(_,p[_]),!0}catch{return!1}})),process.emit=S,process.reallyExit=h)}var g=process.reallyExit;function h(_){process.exitCode=_||0,f("exit",process.exitCode,null),f("afterexit",process.exitCode,null),g.call(process,process.exitCode)}var E=process.emit;function S(_,T){if(_==="exit"){T!==void 0&&(process.exitCode=T);var y=E.apply(this,arguments);return f("exit",process.exitCode,null),f("afterexit",process.exitCode,null),y}return E.apply(this,arguments)}},6132:n=>{n.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"],process.platform!=="win32"&&n.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT"),process.platform==="linux"&&n.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")},9860:n=>{"use strict";n.exports=function(s){var i=typeof s=="string"?`
181
+ >>> no match, partial?`,_,H,T,G),H!==O))}if(typeof B=="string"?(P=R.nocase?F.toLowerCase()===B.toLowerCase():F===B,this.debug("string match",B,F,P)):(P=F.match(B),this.debug("pattern match",B,F,P)),!P)return!1}if(C===O&&w===D)return!0;if(C===O)return y;if(w===D)return C===O-1&&_[C]==="";throw new Error("wtf?")}},9480:n=>{"use strict";n.exports=function(s){try{return s()}catch{}}},9584:(n,s,i)=>{"use strict";let o=i(7072),a=i(3032);n.exports=u=>{let c;u=Object.assign({cwd:process.cwd(),path:process.env[a()]},u);let l=o.resolve(u.cwd),f=[];for(;c!==l;)f.push(o.join(l,"node_modules/.bin")),c=l,l=o.resolve(l,"..");return f.push(o.dirname(process.execPath)),f.concat(u.path).join(o.delimiter)},n.exports.env=u=>{u=Object.assign({env:process.env},u);let c=Object.assign({},u.env),l=a({env:c});return u.path=c[l],c[l]=n.exports(u),c}},4640:(n,s,i)=>{var o=i(2680);function a(c){var l=function(){return l.called?l.value:(l.called=!0,l.value=c.apply(this,arguments))};return l.called=!1,l}function u(c){var l=function(){if(l.called)throw new Error(l.onceError);return l.called=!0,l.value=c.apply(this,arguments)},f=c.name||"Function wrapped with `once`";return l.onceError=f+" shouldn't be called more than once",l.called=!1,l}n.exports=o(a),n.exports.strict=o(u),a.proto=a((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return a(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return u(this)},configurable:!0})}))},2288:(n,s,i)=>{"use strict";let o=i(8558),a=i(2941),u=i(6468);n.exports=(c,l)=>{if(!c&&l)throw new Error("You can't specify a `release` without specifying `platform`");let f;if((c=c||o.platform())==="darwin"){l||o.platform()!=="darwin"||(l=o.release());let p=l?Number(l.split(".")[0])>15?"macOS":"OS X":"macOS";return f=l?a(l).name:"",p+(f?" "+f:"")}return c==="linux"?(l||o.platform()!=="linux"||(l=o.release()),f=l?l.replace(/^(\d+\.\d+).*/,"$1"):"","Linux"+(f?" "+f:"")):c==="win32"?(l||o.platform()!=="win32"||(l=o.release()),f=l?u(l):"","Windows"+(f?" "+f:"")):c}},1548:n=>{"use strict";n.exports=(s,i)=>(i=i||(()=>{}),s.then((o=>new Promise((a=>{a(i())})).then((()=>o))),(o=>new Promise((a=>{a(i())})).then((()=>{throw o})))))},4832:n=>{"use strict";function s(o){return o.charAt(0)==="/"}function i(o){var a=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/.exec(o),u=a[1]||"",c=!!(u&&u.charAt(1)!==":");return!!(a[2]||c)}n.exports=process.platform==="win32"?i:s,n.exports.posix=s,n.exports.win32=i},3032:n=>{"use strict";n.exports=s=>{let i=(s=s||{}).env||process.env;return(s.platform||process.platform)!=="win32"?"PATH":Object.keys(i).find((o=>o.toUpperCase()==="PATH"))||"Path"}},8984:(n,s,i)=>{var o=i(4640),a=i(9988),u=i(2058),c=function(){},l=/^v?\.0/.test(process.version),f=function(m){return typeof m=="function"},p=function(m){m()},d=function(m,g){return m.pipe(g)};n.exports=function(){var m,g=Array.prototype.slice.call(arguments),h=f(g[g.length-1]||c)&&g.pop()||c;if(Array.isArray(g[0])&&(g=g[0]),g.length<2)throw new Error("pump requires two streams per minimum");var E=g.map((function(S,_){var T=_<g.length-1;return(function(y,R,C,w){w=o(w);var O=!1;y.on("close",(function(){O=!0})),a(y,{readable:R,writable:C},(function(P){if(P)return w(P);O=!0,w()}));var D=!1;return function(P){if(!O&&!D)return D=!0,(function(B){return!!l&&!!u&&(B instanceof(u.ReadStream||c)||B instanceof(u.WriteStream||c))&&f(B.close)})(y)?y.close(c):(function(B){return B.setHeader&&f(B.abort)})(y)?y.abort():f(y.destroy)?y.destroy():void w(P||new Error("stream was destroyed"))}})(S,T,_>0,(function(y){m||(m=y),y&&E.forEach(p),T||(E.forEach(p),h(m))}))}));return g.reduce(d)}},1716:(n,s)=>{var i;s=n.exports=_e,i=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var q=Array.prototype.slice.call(arguments,0);q.unshift("SEMVER"),console.log.apply(console,q)}:function(){},s.SEMVER_SPEC_VERSION="2.0.0";var o=256,a=Number.MAX_SAFE_INTEGER||9007199254740991,u=s.re=[],c=s.src=[],l=0,f=l++;c[f]="0|[1-9]\\d*";var p=l++;c[p]="[0-9]+";var d=l++;c[d]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var m=l++;c[m]="("+c[f]+")\\.("+c[f]+")\\.("+c[f]+")";var g=l++;c[g]="("+c[p]+")\\.("+c[p]+")\\.("+c[p]+")";var h=l++;c[h]="(?:"+c[f]+"|"+c[d]+")";var E=l++;c[E]="(?:"+c[p]+"|"+c[d]+")";var S=l++;c[S]="(?:-("+c[h]+"(?:\\."+c[h]+")*))";var _=l++;c[_]="(?:-?("+c[E]+"(?:\\."+c[E]+")*))";var T=l++;c[T]="[0-9A-Za-z-]+";var y=l++;c[y]="(?:\\+("+c[T]+"(?:\\."+c[T]+")*))";var R=l++,C="v?"+c[m]+c[S]+"?"+c[y]+"?";c[R]="^"+C+"$";var w="[v=\\s]*"+c[g]+c[_]+"?"+c[y]+"?",O=l++;c[O]="^"+w+"$";var D=l++;c[D]="((?:<|>)?=?)";var P=l++;c[P]=c[p]+"|x|X|\\*";var B=l++;c[B]=c[f]+"|x|X|\\*";var F=l++;c[F]="[v=\\s]*("+c[B]+")(?:\\.("+c[B]+")(?:\\.("+c[B]+")(?:"+c[S]+")?"+c[y]+"?)?)?";var H=l++;c[H]="[v=\\s]*("+c[P]+")(?:\\.("+c[P]+")(?:\\.("+c[P]+")(?:"+c[_]+")?"+c[y]+"?)?)?";var G=l++;c[G]="^"+c[D]+"\\s*"+c[F]+"$";var K=l++;c[K]="^"+c[D]+"\\s*"+c[H]+"$";var ee=l++;c[ee]="(?:^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])";var ne=l++;c[ne]="(?:~>?)";var ie=l++;c[ie]="(\\s*)"+c[ne]+"\\s+",u[ie]=new RegExp(c[ie],"g");var ge=l++;c[ge]="^"+c[ne]+c[F]+"$";var z=l++;c[z]="^"+c[ne]+c[H]+"$";var ce=l++;c[ce]="(?:\\^)";var de=l++;c[de]="(\\s*)"+c[ce]+"\\s+",u[de]=new RegExp(c[de],"g");var $=l++;c[$]="^"+c[ce]+c[F]+"$";var Ge=l++;c[Ge]="^"+c[ce]+c[H]+"$";var V=l++;c[V]="^"+c[D]+"\\s*("+w+")$|^$";var N=l++;c[N]="^"+c[D]+"\\s*("+C+")$|^$";var x=l++;c[x]="(\\s*)"+c[D]+"\\s*("+w+"|"+c[F]+")",u[x]=new RegExp(c[x],"g");var X=l++;c[X]="^\\s*("+c[F]+")\\s+-\\s+("+c[F]+")\\s*$";var oe=l++;c[oe]="^\\s*("+c[H]+")\\s+-\\s+("+c[H]+")\\s*$";var fe=l++;c[fe]="(<|>)?=?\\s*\\*";for(var Ie=0;Ie<35;Ie++)i(Ie,c[Ie]),u[Ie]||(u[Ie]=new RegExp(c[Ie]));function De(q,Y){if(Y&&typeof Y=="object"||(Y={loose:!!Y,includePrerelease:!1}),q instanceof _e)return q;if(typeof q!="string"||q.length>o||!(Y.loose?u[O]:u[R]).test(q))return null;try{return new _e(q,Y)}catch{return null}}function _e(q,Y){if(Y&&typeof Y=="object"||(Y={loose:!!Y,includePrerelease:!1}),q instanceof _e){if(q.loose===Y.loose)return q;q=q.version}else if(typeof q!="string")throw new TypeError("Invalid Version: "+q);if(q.length>o)throw new TypeError("version is longer than "+o+" characters");if(!(this instanceof _e))return new _e(q,Y);i("SemVer",q,Y),this.options=Y,this.loose=!!Y.loose;var re=q.trim().match(Y.loose?u[O]:u[R]);if(!re)throw new TypeError("Invalid Version: "+q);if(this.raw=q,this.major=+re[1],this.minor=+re[2],this.patch=+re[3],this.major>a||this.major<0)throw new TypeError("Invalid major version");if(this.minor>a||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>a||this.patch<0)throw new TypeError("Invalid patch version");re[4]?this.prerelease=re[4].split(".").map((function(Te){if(/^[0-9]+$/.test(Te)){var Ve=+Te;if(Ve>=0&&Ve<a)return Ve}return Te})):this.prerelease=[],this.build=re[5]?re[5].split("."):[],this.format()}s.parse=De,s.valid=function(q,Y){var re=De(q,Y);return re?re.version:null},s.clean=function(q,Y){var re=De(q.trim().replace(/^[=v]+/,""),Y);return re?re.version:null},s.SemVer=_e,_e.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},_e.prototype.toString=function(){return this.version},_e.prototype.compare=function(q){return i("SemVer.compare",this.version,this.options,q),q instanceof _e||(q=new _e(q,this.options)),this.compareMain(q)||this.comparePre(q)},_e.prototype.compareMain=function(q){return q instanceof _e||(q=new _e(q,this.options)),L(this.major,q.major)||L(this.minor,q.minor)||L(this.patch,q.patch)},_e.prototype.comparePre=function(q){if(q instanceof _e||(q=new _e(q,this.options)),this.prerelease.length&&!q.prerelease.length)return-1;if(!this.prerelease.length&&q.prerelease.length)return 1;if(!this.prerelease.length&&!q.prerelease.length)return 0;var Y=0;do{var re=this.prerelease[Y],Te=q.prerelease[Y];if(i("prerelease compare",Y,re,Te),re===void 0&&Te===void 0)return 0;if(Te===void 0)return 1;if(re===void 0)return-1;if(re!==Te)return L(re,Te)}while(++Y)},_e.prototype.inc=function(q,Y){switch(q){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",Y);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",Y);break;case"prepatch":this.prerelease.length=0,this.inc("patch",Y),this.inc("pre",Y);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",Y),this.inc("pre",Y);break;case"major":this.minor===0&&this.patch===0&&this.prerelease.length!==0||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":this.patch===0&&this.prerelease.length!==0||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{for(var re=this.prerelease.length;--re>=0;)typeof this.prerelease[re]=="number"&&(this.prerelease[re]++,re=-2);re===-1&&this.prerelease.push(0)}Y&&(this.prerelease[0]===Y?isNaN(this.prerelease[1])&&(this.prerelease=[Y,0]):this.prerelease=[Y,0]);break;default:throw new Error("invalid increment argument: "+q)}return this.format(),this.raw=this.version,this},s.inc=function(q,Y,re,Te){typeof re=="string"&&(Te=re,re=void 0);try{return new _e(q,re).inc(Y,Te).version}catch{return null}},s.diff=function(q,Y){if(Z(q,Y))return null;var re=De(q),Te=De(Y);if(re.prerelease.length||Te.prerelease.length){for(var Ve in re)if((Ve==="major"||Ve==="minor"||Ve==="patch")&&re[Ve]!==Te[Ve])return"pre"+Ve;return"prerelease"}for(var Ve in re)if((Ve==="major"||Ve==="minor"||Ve==="patch")&&re[Ve]!==Te[Ve])return Ve},s.compareIdentifiers=L;var b=/^[0-9]+$/;function L(q,Y){var re=b.test(q),Te=b.test(Y);return re&&Te&&(q=+q,Y=+Y),re&&!Te?-1:Te&&!re?1:q<Y?-1:q>Y?1:0}function k(q,Y,re){return new _e(q,re).compare(new _e(Y,re))}function j(q,Y,re){return k(q,Y,re)>0}function I(q,Y,re){return k(q,Y,re)<0}function Z(q,Y,re){return k(q,Y,re)===0}function J(q,Y,re){return k(q,Y,re)!==0}function se(q,Y,re){return k(q,Y,re)>=0}function Je(q,Y,re){return k(q,Y,re)<=0}function it(q,Y,re,Te){var Ve;switch(Y){case"===":typeof q=="object"&&(q=q.version),typeof re=="object"&&(re=re.version),Ve=q===re;break;case"!==":typeof q=="object"&&(q=q.version),typeof re=="object"&&(re=re.version),Ve=q!==re;break;case"":case"=":case"==":Ve=Z(q,re,Te);break;case"!=":Ve=J(q,re,Te);break;case">":Ve=j(q,re,Te);break;case">=":Ve=se(q,re,Te);break;case"<":Ve=I(q,re,Te);break;case"<=":Ve=Je(q,re,Te);break;default:throw new TypeError("Invalid operator: "+Y)}return Ve}function mn(q,Y){if(Y&&typeof Y=="object"||(Y={loose:!!Y,includePrerelease:!1}),q instanceof mn){if(q.loose===!!Y.loose)return q;q=q.value}if(!(this instanceof mn))return new mn(q,Y);i("comparator",q,Y),this.options=Y,this.loose=!!Y.loose,this.parse(q),this.semver===Ac?this.value="":this.value=this.operator+this.semver.version,i("comp",this)}s.rcompareIdentifiers=function(q,Y){return L(Y,q)},s.major=function(q,Y){return new _e(q,Y).major},s.minor=function(q,Y){return new _e(q,Y).minor},s.patch=function(q,Y){return new _e(q,Y).patch},s.compare=k,s.compareLoose=function(q,Y){return k(q,Y,!0)},s.rcompare=function(q,Y,re){return k(Y,q,re)},s.sort=function(q,Y){return q.sort((function(re,Te){return s.compare(re,Te,Y)}))},s.rsort=function(q,Y){return q.sort((function(re,Te){return s.rcompare(re,Te,Y)}))},s.gt=j,s.lt=I,s.eq=Z,s.neq=J,s.gte=se,s.lte=Je,s.cmp=it,s.Comparator=mn;var Ac={};function xt(q,Y){if(Y&&typeof Y=="object"||(Y={loose:!!Y,includePrerelease:!1}),q instanceof xt)return q.loose===!!Y.loose&&q.includePrerelease===!!Y.includePrerelease?q:new xt(q.raw,Y);if(q instanceof mn)return new xt(q.value,Y);if(!(this instanceof xt))return new xt(q,Y);if(this.options=Y,this.loose=!!Y.loose,this.includePrerelease=!!Y.includePrerelease,this.raw=q,this.set=q.split(/\s*\|\|\s*/).map((function(re){return this.parseRange(re.trim())}),this).filter((function(re){return re.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: "+q);this.format()}function Ir(q){return!q||q.toLowerCase()==="x"||q==="*"}function M9(q,Y,re,Te,Ve,Qt,ft,Lr,Vt,mr,ui,Bt,gt){return((Y=Ir(re)?"":Ir(Te)?">="+re+".0.0":Ir(Ve)?">="+re+"."+Te+".0":">="+Y)+" "+(Lr=Ir(Vt)?"":Ir(mr)?"<"+(+Vt+1)+".0.0":Ir(ui)?"<"+Vt+"."+(+mr+1)+".0":Bt?"<="+Vt+"."+mr+"."+ui+"-"+Bt:"<="+Lr)).trim()}function x9(q,Y,re){for(var Te=0;Te<q.length;Te++)if(!q[Te].test(Y))return!1;if(re||(re={}),Y.prerelease.length&&!re.includePrerelease){for(Te=0;Te<q.length;Te++)if(i(q[Te].semver),q[Te].semver!==Ac&&q[Te].semver.prerelease.length>0){var Ve=q[Te].semver;if(Ve.major===Y.major&&Ve.minor===Y.minor&&Ve.patch===Y.patch)return!0}return!1}return!0}function Xf(q,Y,re){try{Y=new xt(Y,re)}catch{return!1}return Y.test(q)}function vE(q,Y,re,Te){var Ve,Qt,ft,Lr,Vt;switch(q=new _e(q,Te),Y=new xt(Y,Te),re){case">":Ve=j,Qt=Je,ft=I,Lr=">",Vt=">=";break;case"<":Ve=I,Qt=se,ft=j,Lr="<",Vt="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Xf(q,Y,Te))return!1;for(var mr=0;mr<Y.set.length;++mr){var ui=Y.set[mr],Bt=null,gt=null;if(ui.forEach((function(Hr){Hr.semver===Ac&&(Hr=new mn(">=0.0.0")),Bt=Bt||Hr,gt=gt||Hr,Ve(Hr.semver,Bt.semver,Te)?Bt=Hr:ft(Hr.semver,gt.semver,Te)&&(gt=Hr)})),Bt.operator===Lr||Bt.operator===Vt||(!gt.operator||gt.operator===Lr)&&Qt(q,gt.semver)||gt.operator===Vt&&ft(q,gt.semver))return!1}return!0}mn.prototype.parse=function(q){var Y=this.options.loose?u[V]:u[N],re=q.match(Y);if(!re)throw new TypeError("Invalid comparator: "+q);this.operator=re[1],this.operator==="="&&(this.operator=""),re[2]?this.semver=new _e(re[2],this.options.loose):this.semver=Ac},mn.prototype.toString=function(){return this.value},mn.prototype.test=function(q){return i("Comparator.test",q,this.options.loose),this.semver===Ac||(typeof q=="string"&&(q=new _e(q,this.options)),it(q,this.operator,this.semver,this.options))},mn.prototype.intersects=function(q,Y){if(!(q instanceof mn))throw new TypeError("a Comparator is required");var re;if(Y&&typeof Y=="object"||(Y={loose:!!Y,includePrerelease:!1}),this.operator==="")return re=new xt(q.value,Y),Xf(this.value,re,Y);if(q.operator==="")return re=new xt(this.value,Y),Xf(q.semver,re,Y);var Te=!(this.operator!==">="&&this.operator!==">"||q.operator!==">="&&q.operator!==">"),Ve=!(this.operator!=="<="&&this.operator!=="<"||q.operator!=="<="&&q.operator!=="<"),Qt=this.semver.version===q.semver.version,ft=!(this.operator!==">="&&this.operator!=="<="||q.operator!==">="&&q.operator!=="<="),Lr=it(this.semver,"<",q.semver,Y)&&(this.operator===">="||this.operator===">")&&(q.operator==="<="||q.operator==="<"),Vt=it(this.semver,">",q.semver,Y)&&(this.operator==="<="||this.operator==="<")&&(q.operator===">="||q.operator===">");return Te||Ve||Qt&&ft||Lr||Vt},s.Range=xt,xt.prototype.format=function(){return this.range=this.set.map((function(q){return q.join(" ").trim()})).join("||").trim(),this.range},xt.prototype.toString=function(){return this.range},xt.prototype.parseRange=function(q){var Y=this.options.loose;q=q.trim();var re=Y?u[oe]:u[X];q=q.replace(re,M9),i("hyphen replace",q),q=q.replace(u[x],"$1$2$3"),i("comparator trim",q,u[x]),q=(q=(q=q.replace(u[ie],"$1~")).replace(u[de],"$1^")).split(/\s+/).join(" ");var Te=Y?u[V]:u[N],Ve=q.split(" ").map((function(Qt){return(function(ft,Lr){return i("comp",ft,Lr),ft=(function(Vt,mr){return Vt.trim().split(/\s+/).map((function(ui){return(function(Bt,gt){i("caret",Bt,gt),gt&&typeof gt=="object"||(gt={loose:!!gt,includePrerelease:!1});var Hr=gt.loose?u[Ge]:u[$];return Bt.replace(Hr,(function($n,He,Ze,St,Dt){var cr;return i("caret",Bt,$n,He,Ze,St,Dt),Ir(He)?cr="":Ir(Ze)?cr=">="+He+".0.0 <"+(+He+1)+".0.0":Ir(St)?cr=He==="0"?">="+He+"."+Ze+".0 <"+He+"."+(+Ze+1)+".0":">="+He+"."+Ze+".0 <"+(+He+1)+".0.0":Dt?(i("replaceCaret pr",Dt),Dt.charAt(0)!=="-"&&(Dt="-"+Dt),cr=He==="0"?Ze==="0"?">="+He+"."+Ze+"."+St+Dt+" <"+He+"."+Ze+"."+(+St+1):">="+He+"."+Ze+"."+St+Dt+" <"+He+"."+(+Ze+1)+".0":">="+He+"."+Ze+"."+St+Dt+" <"+(+He+1)+".0.0"):(i("no pr"),cr=He==="0"?Ze==="0"?">="+He+"."+Ze+"."+St+" <"+He+"."+Ze+"."+(+St+1):">="+He+"."+Ze+"."+St+" <"+He+"."+(+Ze+1)+".0":">="+He+"."+Ze+"."+St+" <"+(+He+1)+".0.0"),i("caret return",cr),cr}))})(ui,mr)})).join(" ")})(ft,Lr),i("caret",ft),ft=(function(Vt,mr){return Vt.trim().split(/\s+/).map((function(ui){return(function(Bt,gt){gt&&typeof gt=="object"||(gt={loose:!!gt,includePrerelease:!1});var Hr=gt.loose?u[z]:u[ge];return Bt.replace(Hr,(function($n,He,Ze,St,Dt){var cr;return i("tilde",Bt,$n,He,Ze,St,Dt),Ir(He)?cr="":Ir(Ze)?cr=">="+He+".0.0 <"+(+He+1)+".0.0":Ir(St)?cr=">="+He+"."+Ze+".0 <"+He+"."+(+Ze+1)+".0":Dt?(i("replaceTilde pr",Dt),Dt.charAt(0)!=="-"&&(Dt="-"+Dt),cr=">="+He+"."+Ze+"."+St+Dt+" <"+He+"."+(+Ze+1)+".0"):cr=">="+He+"."+Ze+"."+St+" <"+He+"."+(+Ze+1)+".0",i("tilde return",cr),cr}))})(ui,mr)})).join(" ")})(ft,Lr),i("tildes",ft),ft=(function(Vt,mr){return i("replaceXRanges",Vt,mr),Vt.split(/\s+/).map((function(ui){return(function(Bt,gt){Bt=Bt.trim(),gt&&typeof gt=="object"||(gt={loose:!!gt,includePrerelease:!1});var Hr=gt.loose?u[K]:u[G];return Bt.replace(Hr,(function($n,He,Ze,St,Dt,cr){i("xRange",Bt,$n,He,Ze,St,Dt,cr);var _C=Ir(Ze),Oc=_C||Ir(St),vc=Oc||Ir(Dt);return He==="="&&vc&&(He=""),_C?$n=He===">"||He==="<"?"<0.0.0":"*":He&&vc?(Oc&&(St=0),vc&&(Dt=0),He===">"?(He=">=",Oc?(Ze=+Ze+1,St=0,Dt=0):vc&&(St=+St+1,Dt=0)):He==="<="&&(He="<",Oc?Ze=+Ze+1:St=+St+1),$n=He+Ze+"."+St+"."+Dt):Oc?$n=">="+Ze+".0.0 <"+(+Ze+1)+".0.0":vc&&($n=">="+Ze+"."+St+".0 <"+Ze+"."+(+St+1)+".0"),i("xRange return",$n),$n}))})(ui,mr)})).join(" ")})(ft,Lr),i("xrange",ft),ft=(function(Vt,mr){return i("replaceStars",Vt,mr),Vt.trim().replace(u[fe],"")})(ft,Lr),i("stars",ft),ft})(Qt,this.options)}),this).join(" ").split(/\s+/);return this.options.loose&&(Ve=Ve.filter((function(Qt){return!!Qt.match(Te)}))),Ve.map((function(Qt){return new mn(Qt,this.options)}),this)},xt.prototype.intersects=function(q,Y){if(!(q instanceof xt))throw new TypeError("a Range is required");return this.set.some((function(re){return re.every((function(Te){return q.set.some((function(Ve){return Ve.every((function(Qt){return Te.intersects(Qt,Y)}))}))}))}))},s.toComparators=function(q,Y){return new xt(q,Y).set.map((function(re){return re.map((function(Te){return Te.value})).join(" ").trim().split(" ")}))},xt.prototype.test=function(q){if(!q)return!1;typeof q=="string"&&(q=new _e(q,this.options));for(var Y=0;Y<this.set.length;Y++)if(x9(this.set[Y],q,this.options))return!0;return!1},s.satisfies=Xf,s.maxSatisfying=function(q,Y,re){var Te=null,Ve=null;try{var Qt=new xt(Y,re)}catch{return null}return q.forEach((function(ft){Qt.test(ft)&&(Te&&Ve.compare(ft)!==-1||(Ve=new _e(Te=ft,re)))})),Te},s.minSatisfying=function(q,Y,re){var Te=null,Ve=null;try{var Qt=new xt(Y,re)}catch{return null}return q.forEach((function(ft){Qt.test(ft)&&(Te&&Ve.compare(ft)!==1||(Ve=new _e(Te=ft,re)))})),Te},s.validRange=function(q,Y){try{return new xt(q,Y).range||"*"}catch{return null}},s.ltr=function(q,Y,re){return vE(q,Y,"<",re)},s.gtr=function(q,Y,re){return vE(q,Y,">",re)},s.outside=vE,s.prerelease=function(q,Y){var re=De(q,Y);return re&&re.prerelease.length?re.prerelease:null},s.intersects=function(q,Y,re){return q=new xt(q,re),Y=new xt(Y,re),q.intersects(Y)},s.coerce=function(q){if(q instanceof _e)return q;if(typeof q!="string")return null;var Y=q.match(u[ee]);return Y==null?null:De((Y[1]||"0")+"."+(Y[2]||"0")+"."+(Y[3]||"0"))}},6176:(n,s,i)=>{"use strict";var o=i(184);n.exports=function(a){var u=a.match(o);if(!u)return null;var c=u[0].replace(/#! ?/,"").split(" "),l=c[0].split("/").pop(),f=c[1];return l==="env"?f:l+(f?" "+f:"")}},184:n=>{"use strict";n.exports=/^#!.*/},200:(n,s,i)=>{var o,a=i(6608),u=i(6132),c=i(467);function l(){d&&(d=!1,u.forEach((function(_){try{process.removeListener(_,p[_])}catch{}})),process.emit=E,process.reallyExit=g,o.count-=1)}function f(_,T,y){o.emitted[_]||(o.emitted[_]=!0,o.emit(_,T,y))}typeof c!="function"&&(c=c.EventEmitter),process.__signal_exit_emitter__?o=process.__signal_exit_emitter__:((o=process.__signal_exit_emitter__=new c).count=0,o.emitted={}),o.infinite||(o.setMaxListeners(1/0),o.infinite=!0),n.exports=function(_,T){a.equal(typeof _,"function","a callback must be provided for exit handler"),d===!1&&m();var y="exit";return T&&T.alwaysLast&&(y="afterexit"),o.on(y,_),function(){o.removeListener(y,_),o.listeners("exit").length===0&&o.listeners("afterexit").length===0&&l()}},n.exports.unload=l;var p={};u.forEach((function(_){p[_]=function(){process.listeners(_).length===o.count&&(l(),f("exit",null,_),f("afterexit",null,_),process.kill(process.pid,_))}})),n.exports.signals=function(){return u},n.exports.load=m;var d=!1;function m(){d||(d=!0,o.count+=1,u=u.filter((function(_){try{return process.on(_,p[_]),!0}catch{return!1}})),process.emit=S,process.reallyExit=h)}var g=process.reallyExit;function h(_){process.exitCode=_||0,f("exit",process.exitCode,null),f("afterexit",process.exitCode,null),g.call(process,process.exitCode)}var E=process.emit;function S(_,T){if(_==="exit"){T!==void 0&&(process.exitCode=T);var y=E.apply(this,arguments);return f("exit",process.exitCode,null),f("afterexit",process.exitCode,null),y}return E.apply(this,arguments)}},6132:n=>{n.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"],process.platform!=="win32"&&n.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT"),process.platform==="linux"&&n.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")},9860:n=>{"use strict";n.exports=function(s){var i=typeof s=="string"?`
182
182
  `:10,o=typeof s=="string"?"\r":13;return s[s.length-1]===i&&(s=s.slice(0,s.length-1)),s[s.length-1]===o&&(s=s.slice(0,s.length-1)),s}},8460:(n,s,i)=>{n.exports=p,p.sync=function(d,m){for(var g=f(d,m=m||{}),h=g.env,E=g.ext,S=g.extExe,_=[],T=0,y=h.length;T<y;T++){var R=h[T];R.charAt(0)==='"'&&R.slice(-1)==='"'&&(R=R.slice(1,-1));var C=a.join(R,d);!R&&/^\.[\\\/]/.test(d)&&(C=d.slice(0,2)+C);for(var w=0,O=E.length;w<O;w++){var D=C+E[w];try{if(c.sync(D,{pathExt:S})){if(!m.all)return D;_.push(D)}}catch{}}}if(m.all&&_.length)return _;if(m.nothrow)return null;throw l(d)};var o=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",a=i(7072),u=o?";":":",c=i(9268);function l(d){var m=new Error("not found: "+d);return m.code="ENOENT",m}function f(d,m){var g=m.colon||u,h=m.path||process.env.PATH||"",E=[""];h=h.split(g);var S="";return o&&(h.unshift(process.cwd()),E=(S=m.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM").split(g),d.indexOf(".")!==-1&&E[0]!==""&&E.unshift("")),(d.match(/\//)||o&&d.match(/\\/))&&(h=[""]),{env:h,ext:E,extExe:S}}function p(d,m,g){typeof m=="function"&&(g=m,m={});var h=f(d,m),E=h.env,S=h.ext,_=h.extExe,T=[];(function y(R,C){if(R===C)return m.all&&T.length?g(null,T):g(l(d));var w=E[R];w.charAt(0)==='"'&&w.slice(-1)==='"'&&(w=w.slice(1,-1));var O=a.join(w,d);!w&&/^\.[\\\/]/.test(d)&&(O=d.slice(0,2)+O),(function D(P,B){if(P===B)return y(R+1,C);var F=S[P];c(O+F,{pathExt:_},(function(H,G){if(!H&&G){if(!m.all)return g(null,O+F);T.push(O+F)}return D(P+1,B)}))})(0,S.length)})(0,E.length)}},6468:(n,s,i)=>{"use strict";let o=i(8558),a=i(8636),u=new Map([["10.0","10"],["6.3","8.1"],["6.2","8"],["6.1","7"],["6.0","Vista"],["5.2","Server 2003"],["5.1","XP"],["5.0","2000"],["4.9","ME"],["4.1","98"],["4.0","95"]]);n.exports=c=>{let l=/\d+\.\d/.exec(c||o.release());if(c&&!l)throw new Error("`release` argument doesn't match `n.n`");let f=(l||[])[0];if((!c||c===o.release())&&["6.1","6.2","6.3","10.0"].includes(f)){let p=((a.sync("wmic",["os","get","Caption"]).stdout||"").match(/2008|2012|2016/)||[])[0];if(p)return`Server ${p}`}return u.get(f)}},8636:(n,s,i)=>{"use strict";let o=i(7072),a=i(4368),u=i(7468),c=i(9860),l=i(9584),f=i(1392),p=i(9068),d=i(1548),m=i(200),g=i(7688),h=i(6174);function E(C,w,O){let D;return(O=Object.assign({extendEnv:!0,env:{}},O)).extendEnv&&(O.env=Object.assign({},process.env,O.env)),O.__winShell===!0?(delete O.__winShell,D={command:C,args:w,options:O,file:C,original:{cmd:C,args:w}}):D=u._parse(C,w,O),(O=Object.assign({maxBuffer:1e7,buffer:!0,stripEof:!0,preferLocal:!0,localDir:D.options.cwd||process.cwd(),encoding:"utf8",reject:!0,cleanup:!0},D.options)).stdio=h(O),O.preferLocal&&(O.env=l.env(Object.assign({},O,{cwd:O.localDir}))),O.detached&&(O.cleanup=!1),process.platform==="win32"&&o.basename(D.command)==="cmd.exe"&&D.args.unshift("/q"),{cmd:D.command,args:D.args,opts:O,parsed:D}}function S(C,w){return w&&C.stripEof&&(w=c(w)),w}function _(C,w,O){let D="/bin/sh",P=["-c",w];return O=Object.assign({},O),process.platform==="win32"&&(O.__winShell=!0,D=process.env.comspec||"cmd.exe",P=["/s","/c",`"${w}"`],O.windowsVerbatimArguments=!0),O.shell&&(D=O.shell,delete O.shell),C(D,P,O)}function T(C,w,{encoding:O,buffer:D,maxBuffer:P}){if(!C[w])return null;let B;return B=D?O?p(C[w],{encoding:O,maxBuffer:P}):p.buffer(C[w],{maxBuffer:P}):new Promise(((F,H)=>{C[w].once("end",F).once("error",H)})),B.catch((F=>{throw F.stream=w,F.message=`${w} ${F.message}`,F}))}function y(C,w){let{stdout:O,stderr:D}=C,P=C.error,{code:B,signal:F}=C,{parsed:H,joinedCmd:G}=w,K=w.timedOut||!1;if(!P){let ee="";Array.isArray(H.opts.stdio)?(H.opts.stdio[2]!=="inherit"&&(ee+=ee.length>0?D:`
183
183
  ${D}`),H.opts.stdio[1]!=="inherit"&&(ee+=`
184
184
  ${O}`)):H.opts.stdio!=="inherit"&&(ee=`
@@ -514,13 +514,13 @@ Interface `);return n.shift(),n.forEach(s=>{let i=s.split(`
514
514
  `)),u=REe((s[2]||"").split(/\n\s*\n/),a);for(let c in o)({}).hasOwnProperty.call(o,c)&&(o[c].dateTime={}.hasOwnProperty.call(i,c)?i[c]:"");u.forEach(c=>{let l="";for(let f in o)({}).hasOwnProperty.call(o,f)&&o[f].user===c.user&&(!l||l<o[f].dateTime)&&(l=o[f].dateTime);t.push({user:c.user,tty:c.tty,date:`${l.substring(0,10)}`,time:`${l.substring(11,19)}`,ip:"",command:""})})}r&&r(t),e(t)})}catch{r&&r(t),e(t)}})})}function wEe(r){let e={};return r.forEach(t=>{let n=t.split(`\r
515
515
  `),s=zs.getValue(n,"LogonId"),i=zs.getValue(n,"starttime");s&&(e[s]=i)}),e}function bEe(r,e){r=r.toLowerCase(),e=e.toLowerCase();let t=0,n=r.length;e.length>n&&(n=e.length);for(let s=0;s<n;s++){let i=r[s]||"",o=e[s]||"";i===o&&t++}return n>10?t/n>.9:n>0?t/n>.8:!1}function REe(r,e){let t=[];return r.forEach(n=>{let s=n.split(`\r
516
516
  `),i=zs.getValue(s,"domain",":",!0),o=zs.getValue(s,"user",":",!0),a=zs.getValue(s,"sessionid",":",!0);if(o){let u=e.filter(c=>bEe(c.user,o));t.push({domain:i,user:o,tty:u&&u[0]&&u[0].tty?u[0].tty:a})}}),t}function PEe(r){let e={};return r.forEach(t=>{let n=t.split(`\r
517
- `),i=zs.getValue(n,"antecedent",":",!0).split("="),o=i.length>2?i[1].split(",")[0].replace(/"/g,"").trim():"",a=i.length>2?i[2].replace(/"/g,"").replace(/\)/g,"").trim():"";i=zs.getValue(n,"dependent",":",!0).split("=");let c=i.length>1?i[1].replace(/"/g,"").replace(/\)/g,"").trim():"";c&&(e[c]={domain:a,user:o})}),e}function IEe(r){r=r.filter(s=>s);let e=[],t=r[0],n=[];if(t){let s=t[0]===" "?1:0;n.push(s-1);let i=0;for(let o=s+1;o<t.length;o++)t[o]===" "&&(t[o-1]===" "||t[o-1]===".")?i=o:i&&(n.push(i),i=0);for(let o=1;o<r.length;o++)if(r[o].trim()){let a=r[o].substring(n[0]+1,n[1]).trim()||"",u=r[o].substring(n[1]+1,n[2]-2).trim()||"";e.push({user:a,tty:u})}}return e}zH.users=DEe});var eW=v(zv=>{"use strict";var Rr=$t(),Qs=process.platform,Hv=Qs==="linux"||Qs==="android",Wv=Qs==="darwin",QH=Qs==="win32",Yv=Qs==="freebsd",Xv=Qs==="openbsd",Kv=Qs==="netbsd",ZH=Qs==="sunos";function LEe(r,e){return new Promise(t=>{process.nextTick(()=>{let n={url:r,ok:!1,status:404,ms:null};if(typeof r!="string")return e&&e(n),t(n);let s="",i=Rr.sanitizeShellString(r,!0),o=Rr.mathMin(i.length,2e3);for(let a=0;a<=o;a++)if(i[a]!==void 0){i[a].__proto__.toLowerCase=Rr.stringToLower;let u=i[a].toLowerCase();u&&u[0]&&!u[1]&&u[0].length===1&&(s=s+u[0])}n.url=s;try{if(s&&!Rr.isPrototypePolluted()){if(s.__proto__.startsWith=Rr.stringStartWith,s.startsWith("file:")||s.startsWith("gopher:")||s.startsWith("telnet:")||s.startsWith("mailto:")||s.startsWith("news:")||s.startsWith("nntp:"))return e&&e(n),t(n);let a=Date.now();if(Hv||Yv||Xv||Kv||Wv||ZH){let u=["-I","--connect-timeout","5","-m","5"];u.push(s),Rr.execSafe("curl",u).then(l=>{let f=l.split(`
517
+ `),i=zs.getValue(n,"antecedent",":",!0).split("="),o=i.length>2?i[1].split(",")[0].replace(/"/g,"").trim():"",a=i.length>2?i[2].replace(/"/g,"").replace(/\)/g,"").trim():"";i=zs.getValue(n,"dependent",":",!0).split("=");let c=i.length>1?i[1].replace(/"/g,"").replace(/\)/g,"").trim():"";c&&(e[c]={domain:a,user:o})}),e}function IEe(r){r=r.filter(s=>s);let e=[],t=r[0],n=[];if(t){let s=t[0]===" "?1:0;n.push(s-1);let i=0;for(let o=s+1;o<t.length;o++)t[o]===" "&&(t[o-1]===" "||t[o-1]===".")?i=o:i&&(n.push(i),i=0);for(let o=1;o<r.length;o++)if(r[o].trim()){let a=r[o].substring(n[0]+1,n[1]).trim()||"",u=r[o].substring(n[1]+1,n[2]-2).trim()||"";e.push({user:a,tty:u})}}return e}zH.users=DEe});var e9=v(zv=>{"use strict";var Rr=$t(),Qs=process.platform,Hv=Qs==="linux"||Qs==="android",Wv=Qs==="darwin",QH=Qs==="win32",Yv=Qs==="freebsd",Xv=Qs==="openbsd",Kv=Qs==="netbsd",ZH=Qs==="sunos";function LEe(r,e){return new Promise(t=>{process.nextTick(()=>{let n={url:r,ok:!1,status:404,ms:null};if(typeof r!="string")return e&&e(n),t(n);let s="",i=Rr.sanitizeShellString(r,!0),o=Rr.mathMin(i.length,2e3);for(let a=0;a<=o;a++)if(i[a]!==void 0){i[a].__proto__.toLowerCase=Rr.stringToLower;let u=i[a].toLowerCase();u&&u[0]&&!u[1]&&u[0].length===1&&(s=s+u[0])}n.url=s;try{if(s&&!Rr.isPrototypePolluted()){if(s.__proto__.startsWith=Rr.stringStartWith,s.startsWith("file:")||s.startsWith("gopher:")||s.startsWith("telnet:")||s.startsWith("mailto:")||s.startsWith("news:")||s.startsWith("nntp:"))return e&&e(n),t(n);let a=Date.now();if(Hv||Yv||Xv||Kv||Wv||ZH){let u=["-I","--connect-timeout","5","-m","5"];u.push(s),Rr.execSafe("curl",u).then(l=>{let f=l.split(`
518
518
  `),p=f[0]&&f[0].indexOf(" ")>=0?parseInt(f[0].split(" ")[1],10):404;n.status=p||404,n.ok=p===200||p===301||p===302||p===304,n.ms=n.ok?Date.now()-a:null,e&&e(n),t(n)})}if(QH){let u=s.startsWith("https:")?W("https"):W("http");try{u.get(s,c=>{let l=c.statusCode;n.status=l||404,n.ok=l===200||l===301||l===302||l===304,l!==200?(c.resume(),n.ms=n.ok?Date.now()-a:null,e&&e(n),t(n)):(c.on("data",()=>{}),c.on("end",()=>{n.ms=n.ok?Date.now()-a:null,e&&e(n),t(n)}))}).on("error",()=>{e&&e(n),t(n)})}catch{e&&e(n),t(n)}}}else e&&e(n),t(n)}catch{e&&e(n),t(n)}})})}zv.inetChecksite=LEe;function NEe(r,e){return Rr.isFunction(r)&&!e&&(e=r,r=""),r=r||"8.8.8.8",new Promise(t=>{process.nextTick(()=>{if(typeof r!="string")return e&&e(null),t(null);let n="",s=(Rr.isPrototypePolluted()?"8.8.8.8":Rr.sanitizeShellString(r,!0)).trim(),i=Rr.mathMin(s.length,2e3);for(let a=0;a<=i;a++)if(s[a]!==void 0){s[a].__proto__.toLowerCase=Rr.stringToLower;let u=s[a].toLowerCase();u&&u[0]&&!u[1]&&(n=n+u[0])}if(n.__proto__.startsWith=Rr.stringStartWith,n.startsWith("file:")||n.startsWith("gopher:")||n.startsWith("telnet:")||n.startsWith("mailto:")||n.startsWith("news:")||n.startsWith("nntp:"))return e&&e(null),t(null);let o;if((Hv||Yv||Xv||Kv||Wv)&&(Hv&&(o=["-c","2","-w","3",n]),(Yv||Xv||Kv)&&(o=["-c","2","-t","3",n]),Wv&&(o=["-c2","-t3",n]),Rr.execSafe("ping",o).then(a=>{let u=null;if(a){let l=a.split(`
519
519
  `).filter(f=>f.indexOf("rtt")>=0||f.indexOf("round-trip")>=0||f.indexOf("avg")>=0).join(`
520
520
  `).split("=");if(l.length>1){let f=l[1].split("/");f.length>1&&(u=parseFloat(f[1]))}}e&&e(u),t(u)})),ZH){let a=["-s","-a",n,"56","2"],u="avg";Rr.execSafe("ping",a,{timeout:3e3}).then(c=>{let l=null;if(c){let p=c.split(`
521
521
  `).filter(d=>d.indexOf(u)>=0).join(`
522
522
  `).split("=");if(p.length>1){let d=p[1].split("/");d.length>1&&(l=parseFloat(d[1].replace(",",".")))}}e&&e(l),t(l)})}if(QH){let a=null;try{let u=[n,"-n","1"];Rr.execSafe("ping",u,Rr.execOptsWin).then(c=>{if(c){let l=c.split(`\r
523
- `);l.shift(),l.forEach(function(f){if((f.toLowerCase().match(/ms/g)||[]).length===3){let p=f.replace(/ +/g," ").split(" ");p.length>6&&(a=parseFloat(p[p.length-1]))}})}e&&e(a),t(a)})}catch{e&&e(a),t(a)}}})})}zv.inetLatency=NEe});var rW=v((jRe,tW)=>{"use strict";var Zs=W("net"),MEe=W("os").type()==="Windows_NT",eo=MEe?"//./pipe/docker_engine":"/var/run/docker.sock",Jv=class{getInfo(e){try{let t=Zs.createConnection({path:eo}),n="",s;t.on("connect",()=>{t.write(`GET http:/info HTTP/1.0\r
523
+ `);l.shift(),l.forEach(function(f){if((f.toLowerCase().match(/ms/g)||[]).length===3){let p=f.replace(/ +/g," ").split(" ");p.length>6&&(a=parseFloat(p[p.length-1]))}})}e&&e(a),t(a)})}catch{e&&e(a),t(a)}}})})}zv.inetLatency=NEe});var r9=v((jRe,t9)=>{"use strict";var Zs=W("net"),MEe=W("os").type()==="Windows_NT",eo=MEe?"//./pipe/docker_engine":"/var/run/docker.sock",Jv=class{getInfo(e){try{let t=Zs.createConnection({path:eo}),n="",s;t.on("connect",()=>{t.write(`GET http:/info HTTP/1.0\r
524
524
  \r
525
525
  `)}),t.on("data",i=>{n=n+i.toString()}),t.on("error",()=>{t=!1,e({})}),t.on("end",()=>{let i=n.indexOf(`\r
526
526
  \r
@@ -552,30 +552,30 @@ Interface `);return n.shift(),n.forEach(s=>{let i=s.split(`
552
552
  \r
553
553
  `)}),t.on("data",i=>{n=n+i.toString()}),t.on("error",()=>{t=!1,e({})}),t.on("end",()=>{let i=n.indexOf(`\r
554
554
  \r
555
- `);n=n.substring(i+4),t=!1;try{s=JSON.parse(n),e(s)}catch{e({})}})}catch{e({})}}};tW.exports=Jv});var iW=v(ro=>{"use strict";var Ht=$t(),to=rW(),xEe=process.platform,UEe=xEe==="win32",yc={},Ct,Qv=0;function VEe(r){return new Promise(e=>{process.nextTick(()=>{Ct||(Ct=new to);let t={};Ct.getInfo(n=>{t.id=n.ID,t.containers=n.Containers,t.containersRunning=n.ContainersRunning,t.containersPaused=n.ContainersPaused,t.containersStopped=n.ContainersStopped,t.images=n.Images,t.driver=n.Driver,t.memoryLimit=n.MemoryLimit,t.swapLimit=n.SwapLimit,t.kernelMemory=n.KernelMemory,t.cpuCfsPeriod=n.CpuCfsPeriod,t.cpuCfsQuota=n.CpuCfsQuota,t.cpuShares=n.CPUShares,t.cpuSet=n.CPUSet,t.ipv4Forwarding=n.IPv4Forwarding,t.bridgeNfIptables=n.BridgeNfIptables,t.bridgeNfIp6tables=n.BridgeNfIp6tables,t.debug=n.Debug,t.nfd=n.NFd,t.oomKillDisable=n.OomKillDisable,t.ngoroutines=n.NGoroutines,t.systemTime=n.SystemTime,t.loggingDriver=n.LoggingDriver,t.cgroupDriver=n.CgroupDriver,t.nEventsListener=n.NEventsListener,t.kernelVersion=n.KernelVersion,t.operatingSystem=n.OperatingSystem,t.osType=n.OSType,t.architecture=n.Architecture,t.ncpu=n.NCPU,t.memTotal=n.MemTotal,t.dockerRootDir=n.DockerRootDir,t.httpProxy=n.HttpProxy,t.httpsProxy=n.HttpsProxy,t.noProxy=n.NoProxy,t.name=n.Name,t.labels=n.Labels,t.experimentalBuild=n.ExperimentalBuild,t.serverVersion=n.ServerVersion,t.clusterStore=n.ClusterStore,t.clusterAdvertise=n.ClusterAdvertise,t.defaultRuntime=n.DefaultRuntime,t.liveRestoreEnabled=n.LiveRestoreEnabled,t.isolation=n.Isolation,t.initBinary=n.InitBinary,t.productLicense=n.ProductLicense,r&&r(t),e(t)})})})}ro.dockerInfo=VEe;function BEe(r,e){Ht.isFunction(r)&&!e&&(e=r,r=!1),typeof r=="string"&&r==="true"&&(r=!0),typeof r!="boolean"&&r!==void 0&&(r=!1),r=r||!1;let t=[];return new Promise(n=>{process.nextTick(()=>{Ct||(Ct=new to);let s=[];Ct.listImages(r,i=>{let o={};try{o=i,o&&Object.prototype.toString.call(o)==="[object Array]"&&o.length>0?(o.forEach(function(a){a.Names&&Object.prototype.toString.call(a.Names)==="[object Array]"&&a.Names.length>0&&(a.Name=a.Names[0].replace(/^\/|\/$/g,"")),s.push(FEe(a.Id.trim(),a))}),s.length?Promise.all(s).then(a=>{e&&e(a),n(a)}):(e&&e(t),n(t))):(e&&e(t),n(t))}catch{e&&e(t),n(t)}})})})}function FEe(r,e){return new Promise(t=>{process.nextTick(()=>{if(r=r||"",typeof r!="string")return t();let n=(Ht.isPrototypePolluted()?"":Ht.sanitizeShellString(r,!0)).trim();n?(Ct||(Ct=new to),Ct.inspectImage(n.trim(),s=>{try{t({id:e.Id,container:s.Container,comment:s.Comment,os:s.Os,architecture:s.Architecture,parent:s.Parent,dockerVersion:s.DockerVersion,size:s.Size,sharedSize:e.SharedSize,virtualSize:s.VirtualSize,author:s.Author,created:s.Created?Math.round(new Date(s.Created).getTime()/1e3):0,containerConfig:s.ContainerConfig?s.ContainerConfig:{},graphDriver:s.GraphDriver?s.GraphDriver:{},repoDigests:s.RepoDigests?s.RepoDigests:{},repoTags:s.RepoTags?s.RepoTags:{},config:s.Config?s.Config:{},rootFS:s.RootFS?s.RootFS:{}})}catch{t()}})):t()})})}ro.dockerImages=BEe;function Zv(r,e){function t(s,i){return s.filter(a=>a.Id&&a.Id===i).length>0}Ht.isFunction(r)&&!e&&(e=r,r=!1),typeof r=="string"&&r==="true"&&(r=!0),typeof r!="boolean"&&r!==void 0&&(r=!1),r=r||!1;let n=[];return new Promise(s=>{process.nextTick(()=>{Ct||(Ct=new to);let i=[];Ct.listContainers(r,o=>{let a={};try{if(a=o,a&&Object.prototype.toString.call(a)==="[object Array]"&&a.length>0){for(let u in yc)({}).hasOwnProperty.call(yc,u)&&(t(a,u)||delete yc[u]);a.forEach(function(u){u.Names&&Object.prototype.toString.call(u.Names)==="[object Array]"&&u.Names.length>0&&(u.Name=u.Names[0].replace(/^\/|\/$/g,"")),i.push(jEe(u.Id.trim(),u))}),i.length?Promise.all(i).then(u=>{e&&e(u),s(u)}):(e&&e(n),s(n))}else e&&e(n),s(n)}catch{for(let c in yc)({}).hasOwnProperty.call(yc,c)&&(t(a,c)||delete yc[c]);e&&e(n),s(n)}})})})}function jEe(r,e){return new Promise(t=>{process.nextTick(()=>{if(r=r||"",typeof r!="string")return t();let n=(Ht.isPrototypePolluted()?"":Ht.sanitizeShellString(r,!0)).trim();n?(Ct||(Ct=new to),Ct.getInspect(n.trim(),s=>{try{t({id:e.Id,name:e.Name,image:e.Image,imageID:e.ImageID,command:e.Command,created:e.Created,started:s.State&&s.State.StartedAt?Math.round(new Date(s.State.StartedAt).getTime()/1e3):0,finished:s.State&&s.State.FinishedAt&&!s.State.FinishedAt.startsWith("0001-01-01")?Math.round(new Date(s.State.FinishedAt).getTime()/1e3):0,createdAt:s.Created?s.Created:"",startedAt:s.State&&s.State.StartedAt?s.State.StartedAt:"",finishedAt:s.State&&s.State.FinishedAt&&!s.State.FinishedAt.startsWith("0001-01-01")?s.State.FinishedAt:"",state:e.State,restartCount:s.RestartCount||0,platform:s.Platform||"",driver:s.Driver||"",ports:e.Ports,mounts:e.Mounts})}catch{t()}})):t()})})}ro.dockerContainers=Zv;function GEe(r,e){if(UEe){let t=Ht.nanoSeconds(),n=0;if(Qv>0){let s=t-Qv,i=r.cpu_usage.total_usage-e.cpu_usage.total_usage;s>0&&(n=100*i/s)}return Qv=t,n}else{let t=0,n=r.cpu_usage.total_usage-e.cpu_usage.total_usage,s=r.system_cpu_usage-e.system_cpu_usage;return s>0&&n>0&&(e.online_cpus?t=n/s*e.online_cpus*100:t=n/s*r.cpu_usage.percpu_usage.length*100),t}}function qEe(r){let e,t;for(let n in r){if(!{}.hasOwnProperty.call(r,n))continue;let s=r[n];e=+s.rx_bytes,t=+s.tx_bytes}return{rx:e,wx:t}}function $Ee(r){let e={r:0,w:0};return r&&r.io_service_bytes_recursive&&Object.prototype.toString.call(r.io_service_bytes_recursive)==="[object Array]"&&r.io_service_bytes_recursive.length>0&&r.io_service_bytes_recursive.forEach(function(t){t.op&&t.op.toLowerCase()==="read"&&t.value&&(e.r+=t.value),t.op&&t.op.toLowerCase()==="write"&&t.value&&(e.w+=t.value)}),e}function eC(r,e){let t=[];return new Promise(n=>{process.nextTick(()=>{if(Ht.isFunction(r)&&!e)e=r,t=["*"];else{if(r=r||"*",typeof r!="string")return e&&e([]),n([]);let o="";if(o.__proto__.toLowerCase=Ht.stringToLower,o.__proto__.replace=Ht.stringReplace,o.__proto__.trim=Ht.stringTrim,o=r,o=o.trim(),o!=="*"){o="";let a=(Ht.isPrototypePolluted()?"":Ht.sanitizeShellString(r,!0)).trim(),u=Ht.mathMin(a.length,2e3);for(let c=0;c<=u;c++)if(a[c]!==void 0){a[c].__proto__.toLowerCase=Ht.stringToLower;let l=a[c].toLowerCase();l&&l[0]&&!l[1]&&(o=o+l[0])}}o=o.trim().toLowerCase().replace(/,+/g,"|"),t=o.split("|")}let s=[],i=[];if(t.length&&t[0].trim()==="*")t=[],Zv().then(o=>{for(let a of o)t.push(a.id.substring(0,12));t.length?eC(t.join(",")).then(a=>{e&&e(a),n(a)}):(e&&e(s),n(s))});else{for(let o of t)i.push(kEe(o.trim()));i.length?Promise.all(i).then(o=>{e&&e(o),n(o)}):(e&&e(s),n(s))}})})}function kEe(r){r=r||"";let e={id:r,memUsage:0,memLimit:0,memPercent:0,cpuPercent:0,pids:0,netIO:{rx:0,wx:0},blockIO:{r:0,w:0},restartCount:0,cpuStats:{},precpuStats:{},memoryStats:{},networks:{}};return new Promise(t=>{process.nextTick(()=>{r?(Ct||(Ct=new to),Ct.getInspect(r,n=>{try{Ct.getStats(r,s=>{try{let i=s;i.message||(s.id&&(e.id=s.id),e.memUsage=i.memory_stats&&i.memory_stats.usage?i.memory_stats.usage:0,e.memLimit=i.memory_stats&&i.memory_stats.limit?i.memory_stats.limit:0,e.memPercent=i.memory_stats&&i.memory_stats.usage&&i.memory_stats.limit?i.memory_stats.usage/i.memory_stats.limit*100:0,e.cpuPercent=i.cpu_stats&&i.precpu_stats?GEe(i.cpu_stats,i.precpu_stats):0,e.pids=i.pids_stats&&i.pids_stats.current?i.pids_stats.current:0,e.restartCount=n.RestartCount?n.RestartCount:0,i.networks&&(e.netIO=qEe(i.networks)),i.blkio_stats&&(e.blockIO=$Ee(i.blkio_stats)),e.cpuStats=i.cpu_stats?i.cpu_stats:{},e.precpuStats=i.precpu_stats?i.precpu_stats:{},e.memoryStats=i.memory_stats?i.memory_stats:{},e.networks=i.networks?i.networks:{})}catch{Ht.noop()}t(e)})}catch{Ht.noop()}})):t(e)})})}ro.dockerContainerStats=eC;function nW(r,e){let t=[];return new Promise(n=>{process.nextTick(()=>{if(r=r||"",typeof r!="string")return n(t);let s=(Ht.isPrototypePolluted()?"":Ht.sanitizeShellString(r,!0)).trim();s?(Ct||(Ct=new to),Ct.getProcesses(s,i=>{try{if(i&&i.Titles&&i.Processes){let o=i.Titles.map(function(y){return y.toUpperCase()}),a=o.indexOf("PID"),u=o.indexOf("PPID"),c=o.indexOf("PGID"),l=o.indexOf("VSZ"),f=o.indexOf("TIME"),p=o.indexOf("ELAPSED"),d=o.indexOf("NI"),m=o.indexOf("RUSER"),g=o.indexOf("USER"),h=o.indexOf("RGROUP"),E=o.indexOf("GROUP"),S=o.indexOf("STAT"),_=o.indexOf("RSS"),T=o.indexOf("COMMAND");i.Processes.forEach(y=>{t.push({pidHost:a>=0?y[a]:"",ppid:u>=0?y[u]:"",pgid:c>=0?y[c]:"",user:g>=0?y[g]:"",ruser:m>=0?y[m]:"",group:E>=0?y[E]:"",rgroup:h>=0?y[h]:"",stat:S>=0?y[S]:"",time:f>=0?y[f]:"",elapsed:p>=0?y[p]:"",nice:d>=0?y[d]:"",rss:_>=0?y[_]:"",vsz:l>=0?y[l]:"",command:T>=0?y[T]:""})})}}catch{Ht.noop()}e&&e(t),n(t)})):(e&&e(t),n(t))})})}ro.dockerContainerProcesses=nW;function HEe(r){let e=[];return new Promise(t=>{process.nextTick(()=>{Ct||(Ct=new to),Ct.listVolumes(n=>{let s={};try{s=n,s&&s.Volumes&&Object.prototype.toString.call(s.Volumes)==="[object Array]"&&s.Volumes.length>0?(s.Volumes.forEach(function(i){e.push({name:i.Name,driver:i.Driver,labels:i.Labels,mountpoint:i.Mountpoint,options:i.Options,scope:i.Scope,created:i.CreatedAt?Math.round(new Date(i.CreatedAt).getTime()/1e3):0})}),r&&r(e),t(e)):(r&&r(e),t(e))}catch{r&&r(e),t(e)}})})})}ro.dockerVolumes=HEe;function WEe(r){return new Promise(e=>{process.nextTick(()=>{Zv(!0).then(t=>{if(t&&Object.prototype.toString.call(t)==="[object Array]"&&t.length>0){let n=t.length;t.forEach(function(s){eC(s.id).then(i=>{s.memUsage=i[0].memUsage,s.memLimit=i[0].memLimit,s.memPercent=i[0].memPercent,s.cpuPercent=i[0].cpuPercent,s.pids=i[0].pids,s.netIO=i[0].netIO,s.blockIO=i[0].blockIO,s.cpuStats=i[0].cpuStats,s.precpuStats=i[0].precpuStats,s.memoryStats=i[0].memoryStats,s.networks=i[0].networks,nW(s.id).then(o=>{s.processes=o,n-=1,n===0&&(r&&r(t),e(t))})})})}else r&&r(t),e(t)})})})}ro.dockerAll=WEe});var oW=v(sW=>{"use strict";var tC=W("os"),YEe=W("child_process").exec,ut=$t();function XEe(r){let e=[];return new Promise(t=>{process.nextTick(()=>{try{YEe(ut.getVboxmanage()+" list vms --long",function(n,s){let i=(tC.EOL+s.toString()).split(tC.EOL+"Name:");i.shift(),i.forEach(o=>{let a=("Name:"+o).split(tC.EOL),u=ut.getValue(a,"State"),c=u.startsWith("running"),l=c?u.replace("running (since ","").replace(")","").trim():"",f=0;try{if(c){let m=new Date(l),g=m.getTimezoneOffset();f=Math.round((Date.now()-Date.parse(m))/1e3)+g*60}}catch{ut.noop()}let p=c?"":u.replace("powered off (since","").replace(")","").trim(),d=0;try{if(!c){let m=new Date(p),g=m.getTimezoneOffset();d=Math.round((Date.now()-Date.parse(m))/1e3)+g*60}}catch{ut.noop()}e.push({id:ut.getValue(a,"UUID"),name:ut.getValue(a,"Name"),running:c,started:l,runningSince:f,stopped:p,stoppedSince:d,guestOS:ut.getValue(a,"Guest OS"),hardwareUUID:ut.getValue(a,"Hardware UUID"),memory:parseInt(ut.getValue(a,"Memory size"," "),10),vram:parseInt(ut.getValue(a,"VRAM size"),10),cpus:parseInt(ut.getValue(a,"Number of CPUs"),10),cpuExepCap:ut.getValue(a,"CPU exec cap"),cpuProfile:ut.getValue(a,"CPUProfile"),chipset:ut.getValue(a,"Chipset"),firmware:ut.getValue(a,"Firmware"),pageFusion:ut.getValue(a,"Page Fusion")==="enabled",configFile:ut.getValue(a,"Config file"),snapshotFolder:ut.getValue(a,"Snapshot folder"),logFolder:ut.getValue(a,"Log folder"),hpet:ut.getValue(a,"HPET")==="enabled",pae:ut.getValue(a,"PAE")==="enabled",longMode:ut.getValue(a,"Long Mode")==="enabled",tripleFaultReset:ut.getValue(a,"Triple Fault Reset")==="enabled",apic:ut.getValue(a,"APIC")==="enabled",x2Apic:ut.getValue(a,"X2APIC")==="enabled",acpi:ut.getValue(a,"ACPI")==="enabled",ioApic:ut.getValue(a,"IOAPIC")==="enabled",biosApicMode:ut.getValue(a,"BIOS APIC mode"),bootMenuMode:ut.getValue(a,"Boot menu mode"),bootDevice1:ut.getValue(a,"Boot Device 1"),bootDevice2:ut.getValue(a,"Boot Device 2"),bootDevice3:ut.getValue(a,"Boot Device 3"),bootDevice4:ut.getValue(a,"Boot Device 4"),timeOffset:ut.getValue(a,"Time offset"),rtc:ut.getValue(a,"RTC")})}),r&&r(e),t(e)})}catch{r&&r(e),t(e)}})})}sW.vboxInfo=XEe});var lW=v(cW=>{"use strict";var rC=W("child_process").exec,ar=$t(),no=process.platform,aW=no==="linux"||no==="android",KEe=no==="darwin",zEe=no==="win32",JEe=no==="freebsd",QEe=no==="openbsd",ZEe=no==="netbsd",e0e=no==="sunos",uW={1:"Other",2:"Unknown",3:"Idle",4:"Printing",5:"Warmup",6:"Stopped Printing",7:"Offline"};function t0e(r){let e={};if(r&&r.length&&r[0].indexOf(" CUPS v")>0){let t=r[0].split(" CUPS v");e.cupsVersion=t[1]}return e}function r0e(r){let e={},t=ar.getValue(r,"PrinterId"," ");return e.id=t?parseInt(t,10):null,e.name=ar.getValue(r,"Info"," "),e.model=r.length>0&&r[0]?r[0].split(" ")[0]:"",e.uri=ar.getValue(r,"DeviceURI"," "),e.uuid=ar.getValue(r,"UUID"," "),e.status=ar.getValue(r,"State"," "),e.local=ar.getValue(r,"Location"," ").toLowerCase().startsWith("local"),e.default=null,e.shared=ar.getValue(r,"Shared"," ").toLowerCase().startsWith("yes"),e}function n0e(r,e){let t={};return t.id=e,t.name=ar.getValue(r,"Description",":",!0),t.model=r.length>0&&r[0]?r[0].split(" ")[0]:"",t.uri=null,t.uuid=null,t.status=r.length>0&&r[0]?r[0].indexOf(" idle")>0?"idle":r[0].indexOf(" printing")>0?"printing":"unknown":null,t.local=ar.getValue(r,"Location",":",!0).toLowerCase().startsWith("local"),t.default=null,t.shared=ar.getValue(r,"Shared"," ").toLowerCase().startsWith("yes"),t}function i0e(r,e){let t={},n=r.uri.split("/");return t.id=e,t.name=r._name,t.model=n.length?n[n.length-1]:"",t.uri=r.uri,t.uuid=null,t.status=r.status,t.local=r.printserver==="local",t.default=r.default==="yes",t.shared=r.shared==="yes",t}function s0e(r,e){let t={},n=parseInt(ar.getValue(r,"PrinterStatus",":"),10);return t.id=e,t.name=ar.getValue(r,"name",":"),t.model=ar.getValue(r,"DriverName",":"),t.uri=null,t.uuid=null,t.status=uW[n]?uW[n]:null,t.local=ar.getValue(r,"Local",":").toUpperCase()==="TRUE",t.default=ar.getValue(r,"Default",":").toUpperCase()==="TRUE",t.shared=ar.getValue(r,"Shared",":").toUpperCase()==="TRUE",t}function o0e(r){return new Promise(e=>{process.nextTick(()=>{let t=[];if(aW||JEe||QEe||ZEe){let n="cat /etc/cups/printers.conf 2>/dev/null";rC(n,function(s,i){if(!s){let o=i.toString().split("<Printer "),a=t0e(o[0]);for(let u=1;u<o.length;u++){let c=r0e(o[u].split(`
556
- `));c.name&&(c.engine="CUPS",c.engineVersion=a.cupsVersion,t.push(c))}}t.length===0&&aW?(n="export LC_ALL=C; lpstat -lp 2>/dev/null; unset LC_ALL",rC(n,function(o,a){let u=(`
555
+ `);n=n.substring(i+4),t=!1;try{s=JSON.parse(n),e(s)}catch{e({})}})}catch{e({})}}};t9.exports=Jv});var i9=v(ro=>{"use strict";var Ht=$t(),to=r9(),xEe=process.platform,UEe=xEe==="win32",yc={},Ct,Qv=0;function VEe(r){return new Promise(e=>{process.nextTick(()=>{Ct||(Ct=new to);let t={};Ct.getInfo(n=>{t.id=n.ID,t.containers=n.Containers,t.containersRunning=n.ContainersRunning,t.containersPaused=n.ContainersPaused,t.containersStopped=n.ContainersStopped,t.images=n.Images,t.driver=n.Driver,t.memoryLimit=n.MemoryLimit,t.swapLimit=n.SwapLimit,t.kernelMemory=n.KernelMemory,t.cpuCfsPeriod=n.CpuCfsPeriod,t.cpuCfsQuota=n.CpuCfsQuota,t.cpuShares=n.CPUShares,t.cpuSet=n.CPUSet,t.ipv4Forwarding=n.IPv4Forwarding,t.bridgeNfIptables=n.BridgeNfIptables,t.bridgeNfIp6tables=n.BridgeNfIp6tables,t.debug=n.Debug,t.nfd=n.NFd,t.oomKillDisable=n.OomKillDisable,t.ngoroutines=n.NGoroutines,t.systemTime=n.SystemTime,t.loggingDriver=n.LoggingDriver,t.cgroupDriver=n.CgroupDriver,t.nEventsListener=n.NEventsListener,t.kernelVersion=n.KernelVersion,t.operatingSystem=n.OperatingSystem,t.osType=n.OSType,t.architecture=n.Architecture,t.ncpu=n.NCPU,t.memTotal=n.MemTotal,t.dockerRootDir=n.DockerRootDir,t.httpProxy=n.HttpProxy,t.httpsProxy=n.HttpsProxy,t.noProxy=n.NoProxy,t.name=n.Name,t.labels=n.Labels,t.experimentalBuild=n.ExperimentalBuild,t.serverVersion=n.ServerVersion,t.clusterStore=n.ClusterStore,t.clusterAdvertise=n.ClusterAdvertise,t.defaultRuntime=n.DefaultRuntime,t.liveRestoreEnabled=n.LiveRestoreEnabled,t.isolation=n.Isolation,t.initBinary=n.InitBinary,t.productLicense=n.ProductLicense,r&&r(t),e(t)})})})}ro.dockerInfo=VEe;function BEe(r,e){Ht.isFunction(r)&&!e&&(e=r,r=!1),typeof r=="string"&&r==="true"&&(r=!0),typeof r!="boolean"&&r!==void 0&&(r=!1),r=r||!1;let t=[];return new Promise(n=>{process.nextTick(()=>{Ct||(Ct=new to);let s=[];Ct.listImages(r,i=>{let o={};try{o=i,o&&Object.prototype.toString.call(o)==="[object Array]"&&o.length>0?(o.forEach(function(a){a.Names&&Object.prototype.toString.call(a.Names)==="[object Array]"&&a.Names.length>0&&(a.Name=a.Names[0].replace(/^\/|\/$/g,"")),s.push(FEe(a.Id.trim(),a))}),s.length?Promise.all(s).then(a=>{e&&e(a),n(a)}):(e&&e(t),n(t))):(e&&e(t),n(t))}catch{e&&e(t),n(t)}})})})}function FEe(r,e){return new Promise(t=>{process.nextTick(()=>{if(r=r||"",typeof r!="string")return t();let n=(Ht.isPrototypePolluted()?"":Ht.sanitizeShellString(r,!0)).trim();n?(Ct||(Ct=new to),Ct.inspectImage(n.trim(),s=>{try{t({id:e.Id,container:s.Container,comment:s.Comment,os:s.Os,architecture:s.Architecture,parent:s.Parent,dockerVersion:s.DockerVersion,size:s.Size,sharedSize:e.SharedSize,virtualSize:s.VirtualSize,author:s.Author,created:s.Created?Math.round(new Date(s.Created).getTime()/1e3):0,containerConfig:s.ContainerConfig?s.ContainerConfig:{},graphDriver:s.GraphDriver?s.GraphDriver:{},repoDigests:s.RepoDigests?s.RepoDigests:{},repoTags:s.RepoTags?s.RepoTags:{},config:s.Config?s.Config:{},rootFS:s.RootFS?s.RootFS:{}})}catch{t()}})):t()})})}ro.dockerImages=BEe;function Zv(r,e){function t(s,i){return s.filter(a=>a.Id&&a.Id===i).length>0}Ht.isFunction(r)&&!e&&(e=r,r=!1),typeof r=="string"&&r==="true"&&(r=!0),typeof r!="boolean"&&r!==void 0&&(r=!1),r=r||!1;let n=[];return new Promise(s=>{process.nextTick(()=>{Ct||(Ct=new to);let i=[];Ct.listContainers(r,o=>{let a={};try{if(a=o,a&&Object.prototype.toString.call(a)==="[object Array]"&&a.length>0){for(let u in yc)({}).hasOwnProperty.call(yc,u)&&(t(a,u)||delete yc[u]);a.forEach(function(u){u.Names&&Object.prototype.toString.call(u.Names)==="[object Array]"&&u.Names.length>0&&(u.Name=u.Names[0].replace(/^\/|\/$/g,"")),i.push(jEe(u.Id.trim(),u))}),i.length?Promise.all(i).then(u=>{e&&e(u),s(u)}):(e&&e(n),s(n))}else e&&e(n),s(n)}catch{for(let c in yc)({}).hasOwnProperty.call(yc,c)&&(t(a,c)||delete yc[c]);e&&e(n),s(n)}})})})}function jEe(r,e){return new Promise(t=>{process.nextTick(()=>{if(r=r||"",typeof r!="string")return t();let n=(Ht.isPrototypePolluted()?"":Ht.sanitizeShellString(r,!0)).trim();n?(Ct||(Ct=new to),Ct.getInspect(n.trim(),s=>{try{t({id:e.Id,name:e.Name,image:e.Image,imageID:e.ImageID,command:e.Command,created:e.Created,started:s.State&&s.State.StartedAt?Math.round(new Date(s.State.StartedAt).getTime()/1e3):0,finished:s.State&&s.State.FinishedAt&&!s.State.FinishedAt.startsWith("0001-01-01")?Math.round(new Date(s.State.FinishedAt).getTime()/1e3):0,createdAt:s.Created?s.Created:"",startedAt:s.State&&s.State.StartedAt?s.State.StartedAt:"",finishedAt:s.State&&s.State.FinishedAt&&!s.State.FinishedAt.startsWith("0001-01-01")?s.State.FinishedAt:"",state:e.State,restartCount:s.RestartCount||0,platform:s.Platform||"",driver:s.Driver||"",ports:e.Ports,mounts:e.Mounts})}catch{t()}})):t()})})}ro.dockerContainers=Zv;function GEe(r,e){if(UEe){let t=Ht.nanoSeconds(),n=0;if(Qv>0){let s=t-Qv,i=r.cpu_usage.total_usage-e.cpu_usage.total_usage;s>0&&(n=100*i/s)}return Qv=t,n}else{let t=0,n=r.cpu_usage.total_usage-e.cpu_usage.total_usage,s=r.system_cpu_usage-e.system_cpu_usage;return s>0&&n>0&&(e.online_cpus?t=n/s*e.online_cpus*100:t=n/s*r.cpu_usage.percpu_usage.length*100),t}}function qEe(r){let e,t;for(let n in r){if(!{}.hasOwnProperty.call(r,n))continue;let s=r[n];e=+s.rx_bytes,t=+s.tx_bytes}return{rx:e,wx:t}}function $Ee(r){let e={r:0,w:0};return r&&r.io_service_bytes_recursive&&Object.prototype.toString.call(r.io_service_bytes_recursive)==="[object Array]"&&r.io_service_bytes_recursive.length>0&&r.io_service_bytes_recursive.forEach(function(t){t.op&&t.op.toLowerCase()==="read"&&t.value&&(e.r+=t.value),t.op&&t.op.toLowerCase()==="write"&&t.value&&(e.w+=t.value)}),e}function eC(r,e){let t=[];return new Promise(n=>{process.nextTick(()=>{if(Ht.isFunction(r)&&!e)e=r,t=["*"];else{if(r=r||"*",typeof r!="string")return e&&e([]),n([]);let o="";if(o.__proto__.toLowerCase=Ht.stringToLower,o.__proto__.replace=Ht.stringReplace,o.__proto__.trim=Ht.stringTrim,o=r,o=o.trim(),o!=="*"){o="";let a=(Ht.isPrototypePolluted()?"":Ht.sanitizeShellString(r,!0)).trim(),u=Ht.mathMin(a.length,2e3);for(let c=0;c<=u;c++)if(a[c]!==void 0){a[c].__proto__.toLowerCase=Ht.stringToLower;let l=a[c].toLowerCase();l&&l[0]&&!l[1]&&(o=o+l[0])}}o=o.trim().toLowerCase().replace(/,+/g,"|"),t=o.split("|")}let s=[],i=[];if(t.length&&t[0].trim()==="*")t=[],Zv().then(o=>{for(let a of o)t.push(a.id.substring(0,12));t.length?eC(t.join(",")).then(a=>{e&&e(a),n(a)}):(e&&e(s),n(s))});else{for(let o of t)i.push(kEe(o.trim()));i.length?Promise.all(i).then(o=>{e&&e(o),n(o)}):(e&&e(s),n(s))}})})}function kEe(r){r=r||"";let e={id:r,memUsage:0,memLimit:0,memPercent:0,cpuPercent:0,pids:0,netIO:{rx:0,wx:0},blockIO:{r:0,w:0},restartCount:0,cpuStats:{},precpuStats:{},memoryStats:{},networks:{}};return new Promise(t=>{process.nextTick(()=>{r?(Ct||(Ct=new to),Ct.getInspect(r,n=>{try{Ct.getStats(r,s=>{try{let i=s;i.message||(s.id&&(e.id=s.id),e.memUsage=i.memory_stats&&i.memory_stats.usage?i.memory_stats.usage:0,e.memLimit=i.memory_stats&&i.memory_stats.limit?i.memory_stats.limit:0,e.memPercent=i.memory_stats&&i.memory_stats.usage&&i.memory_stats.limit?i.memory_stats.usage/i.memory_stats.limit*100:0,e.cpuPercent=i.cpu_stats&&i.precpu_stats?GEe(i.cpu_stats,i.precpu_stats):0,e.pids=i.pids_stats&&i.pids_stats.current?i.pids_stats.current:0,e.restartCount=n.RestartCount?n.RestartCount:0,i.networks&&(e.netIO=qEe(i.networks)),i.blkio_stats&&(e.blockIO=$Ee(i.blkio_stats)),e.cpuStats=i.cpu_stats?i.cpu_stats:{},e.precpuStats=i.precpu_stats?i.precpu_stats:{},e.memoryStats=i.memory_stats?i.memory_stats:{},e.networks=i.networks?i.networks:{})}catch{Ht.noop()}t(e)})}catch{Ht.noop()}})):t(e)})})}ro.dockerContainerStats=eC;function n9(r,e){let t=[];return new Promise(n=>{process.nextTick(()=>{if(r=r||"",typeof r!="string")return n(t);let s=(Ht.isPrototypePolluted()?"":Ht.sanitizeShellString(r,!0)).trim();s?(Ct||(Ct=new to),Ct.getProcesses(s,i=>{try{if(i&&i.Titles&&i.Processes){let o=i.Titles.map(function(y){return y.toUpperCase()}),a=o.indexOf("PID"),u=o.indexOf("PPID"),c=o.indexOf("PGID"),l=o.indexOf("VSZ"),f=o.indexOf("TIME"),p=o.indexOf("ELAPSED"),d=o.indexOf("NI"),m=o.indexOf("RUSER"),g=o.indexOf("USER"),h=o.indexOf("RGROUP"),E=o.indexOf("GROUP"),S=o.indexOf("STAT"),_=o.indexOf("RSS"),T=o.indexOf("COMMAND");i.Processes.forEach(y=>{t.push({pidHost:a>=0?y[a]:"",ppid:u>=0?y[u]:"",pgid:c>=0?y[c]:"",user:g>=0?y[g]:"",ruser:m>=0?y[m]:"",group:E>=0?y[E]:"",rgroup:h>=0?y[h]:"",stat:S>=0?y[S]:"",time:f>=0?y[f]:"",elapsed:p>=0?y[p]:"",nice:d>=0?y[d]:"",rss:_>=0?y[_]:"",vsz:l>=0?y[l]:"",command:T>=0?y[T]:""})})}}catch{Ht.noop()}e&&e(t),n(t)})):(e&&e(t),n(t))})})}ro.dockerContainerProcesses=n9;function HEe(r){let e=[];return new Promise(t=>{process.nextTick(()=>{Ct||(Ct=new to),Ct.listVolumes(n=>{let s={};try{s=n,s&&s.Volumes&&Object.prototype.toString.call(s.Volumes)==="[object Array]"&&s.Volumes.length>0?(s.Volumes.forEach(function(i){e.push({name:i.Name,driver:i.Driver,labels:i.Labels,mountpoint:i.Mountpoint,options:i.Options,scope:i.Scope,created:i.CreatedAt?Math.round(new Date(i.CreatedAt).getTime()/1e3):0})}),r&&r(e),t(e)):(r&&r(e),t(e))}catch{r&&r(e),t(e)}})})})}ro.dockerVolumes=HEe;function WEe(r){return new Promise(e=>{process.nextTick(()=>{Zv(!0).then(t=>{if(t&&Object.prototype.toString.call(t)==="[object Array]"&&t.length>0){let n=t.length;t.forEach(function(s){eC(s.id).then(i=>{s.memUsage=i[0].memUsage,s.memLimit=i[0].memLimit,s.memPercent=i[0].memPercent,s.cpuPercent=i[0].cpuPercent,s.pids=i[0].pids,s.netIO=i[0].netIO,s.blockIO=i[0].blockIO,s.cpuStats=i[0].cpuStats,s.precpuStats=i[0].precpuStats,s.memoryStats=i[0].memoryStats,s.networks=i[0].networks,n9(s.id).then(o=>{s.processes=o,n-=1,n===0&&(r&&r(t),e(t))})})})}else r&&r(t),e(t)})})})}ro.dockerAll=WEe});var o9=v(s9=>{"use strict";var tC=W("os"),YEe=W("child_process").exec,ut=$t();function XEe(r){let e=[];return new Promise(t=>{process.nextTick(()=>{try{YEe(ut.getVboxmanage()+" list vms --long",function(n,s){let i=(tC.EOL+s.toString()).split(tC.EOL+"Name:");i.shift(),i.forEach(o=>{let a=("Name:"+o).split(tC.EOL),u=ut.getValue(a,"State"),c=u.startsWith("running"),l=c?u.replace("running (since ","").replace(")","").trim():"",f=0;try{if(c){let m=new Date(l),g=m.getTimezoneOffset();f=Math.round((Date.now()-Date.parse(m))/1e3)+g*60}}catch{ut.noop()}let p=c?"":u.replace("powered off (since","").replace(")","").trim(),d=0;try{if(!c){let m=new Date(p),g=m.getTimezoneOffset();d=Math.round((Date.now()-Date.parse(m))/1e3)+g*60}}catch{ut.noop()}e.push({id:ut.getValue(a,"UUID"),name:ut.getValue(a,"Name"),running:c,started:l,runningSince:f,stopped:p,stoppedSince:d,guestOS:ut.getValue(a,"Guest OS"),hardwareUUID:ut.getValue(a,"Hardware UUID"),memory:parseInt(ut.getValue(a,"Memory size"," "),10),vram:parseInt(ut.getValue(a,"VRAM size"),10),cpus:parseInt(ut.getValue(a,"Number of CPUs"),10),cpuExepCap:ut.getValue(a,"CPU exec cap"),cpuProfile:ut.getValue(a,"CPUProfile"),chipset:ut.getValue(a,"Chipset"),firmware:ut.getValue(a,"Firmware"),pageFusion:ut.getValue(a,"Page Fusion")==="enabled",configFile:ut.getValue(a,"Config file"),snapshotFolder:ut.getValue(a,"Snapshot folder"),logFolder:ut.getValue(a,"Log folder"),hpet:ut.getValue(a,"HPET")==="enabled",pae:ut.getValue(a,"PAE")==="enabled",longMode:ut.getValue(a,"Long Mode")==="enabled",tripleFaultReset:ut.getValue(a,"Triple Fault Reset")==="enabled",apic:ut.getValue(a,"APIC")==="enabled",x2Apic:ut.getValue(a,"X2APIC")==="enabled",acpi:ut.getValue(a,"ACPI")==="enabled",ioApic:ut.getValue(a,"IOAPIC")==="enabled",biosApicMode:ut.getValue(a,"BIOS APIC mode"),bootMenuMode:ut.getValue(a,"Boot menu mode"),bootDevice1:ut.getValue(a,"Boot Device 1"),bootDevice2:ut.getValue(a,"Boot Device 2"),bootDevice3:ut.getValue(a,"Boot Device 3"),bootDevice4:ut.getValue(a,"Boot Device 4"),timeOffset:ut.getValue(a,"Time offset"),rtc:ut.getValue(a,"RTC")})}),r&&r(e),t(e)})}catch{r&&r(e),t(e)}})})}s9.vboxInfo=XEe});var l9=v(c9=>{"use strict";var rC=W("child_process").exec,ar=$t(),no=process.platform,a9=no==="linux"||no==="android",KEe=no==="darwin",zEe=no==="win32",JEe=no==="freebsd",QEe=no==="openbsd",ZEe=no==="netbsd",e0e=no==="sunos",u9={1:"Other",2:"Unknown",3:"Idle",4:"Printing",5:"Warmup",6:"Stopped Printing",7:"Offline"};function t0e(r){let e={};if(r&&r.length&&r[0].indexOf(" CUPS v")>0){let t=r[0].split(" CUPS v");e.cupsVersion=t[1]}return e}function r0e(r){let e={},t=ar.getValue(r,"PrinterId"," ");return e.id=t?parseInt(t,10):null,e.name=ar.getValue(r,"Info"," "),e.model=r.length>0&&r[0]?r[0].split(" ")[0]:"",e.uri=ar.getValue(r,"DeviceURI"," "),e.uuid=ar.getValue(r,"UUID"," "),e.status=ar.getValue(r,"State"," "),e.local=ar.getValue(r,"Location"," ").toLowerCase().startsWith("local"),e.default=null,e.shared=ar.getValue(r,"Shared"," ").toLowerCase().startsWith("yes"),e}function n0e(r,e){let t={};return t.id=e,t.name=ar.getValue(r,"Description",":",!0),t.model=r.length>0&&r[0]?r[0].split(" ")[0]:"",t.uri=null,t.uuid=null,t.status=r.length>0&&r[0]?r[0].indexOf(" idle")>0?"idle":r[0].indexOf(" printing")>0?"printing":"unknown":null,t.local=ar.getValue(r,"Location",":",!0).toLowerCase().startsWith("local"),t.default=null,t.shared=ar.getValue(r,"Shared"," ").toLowerCase().startsWith("yes"),t}function i0e(r,e){let t={},n=r.uri.split("/");return t.id=e,t.name=r._name,t.model=n.length?n[n.length-1]:"",t.uri=r.uri,t.uuid=null,t.status=r.status,t.local=r.printserver==="local",t.default=r.default==="yes",t.shared=r.shared==="yes",t}function s0e(r,e){let t={},n=parseInt(ar.getValue(r,"PrinterStatus",":"),10);return t.id=e,t.name=ar.getValue(r,"name",":"),t.model=ar.getValue(r,"DriverName",":"),t.uri=null,t.uuid=null,t.status=u9[n]?u9[n]:null,t.local=ar.getValue(r,"Local",":").toUpperCase()==="TRUE",t.default=ar.getValue(r,"Default",":").toUpperCase()==="TRUE",t.shared=ar.getValue(r,"Shared",":").toUpperCase()==="TRUE",t}function o0e(r){return new Promise(e=>{process.nextTick(()=>{let t=[];if(a9||JEe||QEe||ZEe){let n="cat /etc/cups/printers.conf 2>/dev/null";rC(n,function(s,i){if(!s){let o=i.toString().split("<Printer "),a=t0e(o[0]);for(let u=1;u<o.length;u++){let c=r0e(o[u].split(`
556
+ `));c.name&&(c.engine="CUPS",c.engineVersion=a.cupsVersion,t.push(c))}}t.length===0&&a9?(n="export LC_ALL=C; lpstat -lp 2>/dev/null; unset LC_ALL",rC(n,function(o,a){let u=(`
557
557
  `+a.toString()).split(`
558
558
  printer `);for(let c=1;c<u.length;c++){let l=n0e(u[c].split(`
559
559
  `),c);t.push(l)}}),r&&r(t),e(t)):(r&&r(t),e(t))})}KEe&&rC("system_profiler SPPrintersDataType -json",function(s,i){if(!s)try{let o=JSON.parse(i.toString());if(o.SPPrintersDataType&&o.SPPrintersDataType.length)for(let a=0;a<o.SPPrintersDataType.length;a++){let u=i0e(o.SPPrintersDataType[a],a);t.push(u)}}catch{ar.noop()}r&&r(t),e(t)}),zEe&&ar.powerShell("Get-CimInstance Win32_Printer | select PrinterStatus,Name,DriverName,Local,Default,Shared | fl").then((n,s)=>{if(!s){let i=n.toString().split(/\n\s*\n/);for(let o=0;o<i.length;o++){let a=s0e(i[o].split(`
560
- `),o);(a.name||a.model)&&t.push(a)}}r&&r(t),e(t)}),e0e&&e(null)})})}cW.printer=o0e});var dW=v(pW=>{"use strict";var fW=W("child_process").exec,Gn=$t(),io=process.platform,a0e=io==="linux"||io==="android",u0e=io==="darwin",c0e=io==="win32",l0e=io==="freebsd",f0e=io==="openbsd",p0e=io==="netbsd",d0e=io==="sunos";function h0e(r,e){let t=r,n=(e+" "+r).toLowerCase();return n.indexOf("camera")>=0?t="Camera":n.indexOf("hub")>=0?t="Hub":n.indexOf("keybrd")>=0||n.indexOf("keyboard")>=0?t="Keyboard":n.indexOf("mouse")>=0?t="Mouse":n.indexOf("stora")>=0?t="Storage":n.indexOf("microp")>=0?t="Microphone":(n.indexOf("headset")>=0||n.indexOf("audio")>=0)&&(t="Audio"),t}function m0e(r){let e={},t=r.split(`
560
+ `),o);(a.name||a.model)&&t.push(a)}}r&&r(t),e(t)}),e0e&&e(null)})})}c9.printer=o0e});var d9=v(p9=>{"use strict";var f9=W("child_process").exec,Gn=$t(),io=process.platform,a0e=io==="linux"||io==="android",u0e=io==="darwin",c0e=io==="win32",l0e=io==="freebsd",f0e=io==="openbsd",p0e=io==="netbsd",d0e=io==="sunos";function h0e(r,e){let t=r,n=(e+" "+r).toLowerCase();return n.indexOf("camera")>=0?t="Camera":n.indexOf("hub")>=0?t="Hub":n.indexOf("keybrd")>=0||n.indexOf("keyboard")>=0?t="Keyboard":n.indexOf("mouse")>=0?t="Mouse":n.indexOf("stora")>=0?t="Storage":n.indexOf("microp")>=0?t="Microphone":(n.indexOf("headset")>=0||n.indexOf("audio")>=0)&&(t="Audio"),t}function m0e(r){let e={},t=r.split(`
561
561
  `);if(t&&t.length&&t[0].indexOf("Device")>=0){let S=t[0].split(" ");e.bus=parseInt(S[0],10),S[2]?e.deviceId=parseInt(S[2],10):e.deviceId=null}else e.bus=null,e.deviceId=null;let n=Gn.getValue(t,"idVendor"," ",!0).trim(),s=n.split(" ");s.shift();let i=s.join(" "),o=Gn.getValue(t,"idProduct"," ",!0).trim(),a=o.split(" ");a.shift();let u=a.join(" "),l=Gn.getValue(t,"bInterfaceClass"," ",!0).trim().split(" ");l.shift();let f=l.join(" "),d=Gn.getValue(t,"iManufacturer"," ",!0).trim().split(" ");d.shift();let m=d.join(" "),h=Gn.getValue(t,"iSerial"," ",!0).trim().split(" ");h.shift();let E=h.join(" ");return e.id=(n.startsWith("0x")?n.split(" ")[0].substr(2,10):"")+":"+(o.startsWith("0x")?o.split(" ")[0].substr(2,10):""),e.name=u,e.type=h0e(f,u),e.removable=null,e.vendor=i,e.manufacturer=m,e.maxPower=Gn.getValue(t,"MaxPower"," ",!0),e.serialNumber=E,e}function g0e(r){let e="";return r.indexOf("camera")>=0?e="Camera":r.indexOf("touch bar")>=0?e="Touch Bar":r.indexOf("controller")>=0?e="Controller":r.indexOf("headset")>=0?e="Audio":r.indexOf("keyboard")>=0?e="Keyboard":r.indexOf("trackpad")>=0?e="Trackpad":r.indexOf("sensor")>=0?e="Sensor":r.indexOf("bthusb")>=0||r.indexOf("bth")>=0||r.indexOf("rfcomm")>=0?e="Bluetooth":r.indexOf("usbhub")>=0||r.indexOf(" hub")>=0?e="Hub":r.indexOf("mouse")>=0?e="Mouse":r.indexOf("microp")>=0?e="Microphone":r.indexOf("removable")>=0&&(e="Storage"),e}function E0e(r,e){let t={};t.id=e,r=r.replace(/ \|/g,""),r=r.trim();let n=r.split(`
562
562
  `);n.shift();try{for(let o=0;o<n.length;o++){n[o]=n[o].trim(),n[o]=n[o].replace(/=/g,":"),n[o]!=="{"&&n[o]!=="}"&&n[o+1]&&n[o+1].trim()!=="}"&&(n[o]=n[o]+","),n[o]=n[o].replace(":Yes,",':"Yes",'),n[o]=n[o].replace(": Yes,",': "Yes",'),n[o]=n[o].replace(": Yes",': "Yes"'),n[o]=n[o].replace(":No,",':"No",'),n[o]=n[o].replace(": No,",': "No",'),n[o]=n[o].replace(": No",': "No"'),n[o]=n[o].replace("((","").replace("))","");let a=/<(\w+)>/.exec(n[o]);if(a){let u=a[0];n[o]=n[o].replace(u,`"${u}"`)}}let s=JSON.parse(n.join(`
563
- `)),i=(s["Built-In"]?s["Built-In"].toLowerCase()!=="yes":!0)&&(s["non-removable"]?s["non-removable"].toLowerCase()==="no":!0);return t.bus=null,t.deviceId=null,t.id=s["USB Address"]||null,t.name=s.kUSBProductString||s["USB Product Name"]||null,t.type=g0e((s.kUSBProductString||s["USB Product Name"]||"").toLowerCase()+(i?" removable":"")),t.removable=s["non-removable"]?s["non-removable"].toLowerCase()||!1:!0,t.vendor=s.kUSBVendorString||s["USB Vendor Name"]||null,t.manufacturer=s.kUSBVendorString||s["USB Vendor Name"]||null,t.maxPower=null,t.serialNumber=s.kUSBSerialNumberString||null,t.name?t:null}catch{return null}}function _0e(r,e){let t="";return e.indexOf("storage")>=0||e.indexOf("speicher")>=0?t="Storage":r.indexOf("usbhub")>=0?t="Hub":r.indexOf("storage")>=0?t="Storage":r.indexOf("usbcontroller")>=0?t="Controller":r.indexOf("keyboard")>=0?t="Keyboard":r.indexOf("pointing")>=0?t="Mouse":r.indexOf("microp")>=0?t="Microphone":r.indexOf("disk")>=0&&(t="Storage"),t}function S0e(r,e){let t=_0e(Gn.getValue(r,"CreationClassName",":").toLowerCase(),Gn.getValue(r,"name",":").toLowerCase());if(t){let n={};return n.bus=null,n.deviceId=Gn.getValue(r,"deviceid",":"),n.id=e,n.name=Gn.getValue(r,"name",":"),n.type=t,n.removable=null,n.vendor=null,n.manufacturer=Gn.getValue(r,"Manufacturer",":"),n.maxPower=null,n.serialNumber=null,n}else return null}function T0e(r){return new Promise(e=>{process.nextTick(()=>{let t=[];a0e&&fW("export LC_ALL=C; lsusb -v 2>/dev/null; unset LC_ALL",{maxBuffer:1024*1024*128},function(s,i){if(!s){let o=(`
563
+ `)),i=(s["Built-In"]?s["Built-In"].toLowerCase()!=="yes":!0)&&(s["non-removable"]?s["non-removable"].toLowerCase()==="no":!0);return t.bus=null,t.deviceId=null,t.id=s["USB Address"]||null,t.name=s.kUSBProductString||s["USB Product Name"]||null,t.type=g0e((s.kUSBProductString||s["USB Product Name"]||"").toLowerCase()+(i?" removable":"")),t.removable=s["non-removable"]?s["non-removable"].toLowerCase()||!1:!0,t.vendor=s.kUSBVendorString||s["USB Vendor Name"]||null,t.manufacturer=s.kUSBVendorString||s["USB Vendor Name"]||null,t.maxPower=null,t.serialNumber=s.kUSBSerialNumberString||null,t.name?t:null}catch{return null}}function _0e(r,e){let t="";return e.indexOf("storage")>=0||e.indexOf("speicher")>=0?t="Storage":r.indexOf("usbhub")>=0?t="Hub":r.indexOf("storage")>=0?t="Storage":r.indexOf("usbcontroller")>=0?t="Controller":r.indexOf("keyboard")>=0?t="Keyboard":r.indexOf("pointing")>=0?t="Mouse":r.indexOf("microp")>=0?t="Microphone":r.indexOf("disk")>=0&&(t="Storage"),t}function S0e(r,e){let t=_0e(Gn.getValue(r,"CreationClassName",":").toLowerCase(),Gn.getValue(r,"name",":").toLowerCase());if(t){let n={};return n.bus=null,n.deviceId=Gn.getValue(r,"deviceid",":"),n.id=e,n.name=Gn.getValue(r,"name",":"),n.type=t,n.removable=null,n.vendor=null,n.manufacturer=Gn.getValue(r,"Manufacturer",":"),n.maxPower=null,n.serialNumber=null,n}else return null}function T0e(r){return new Promise(e=>{process.nextTick(()=>{let t=[];a0e&&f9("export LC_ALL=C; lsusb -v 2>/dev/null; unset LC_ALL",{maxBuffer:1024*1024*128},function(s,i){if(!s){let o=(`
564
564
 
565
565
  `+i.toString()).split(`
566
566
 
567
- Bus `);for(let a=1;a<o.length;a++){let u=m0e(o[a]);t.push(u)}}r&&r(t),e(t)}),u0e&&fW("ioreg -p IOUSB -c AppleUSBRootHubDevice -w0 -l",{maxBuffer:1024*1024*128},function(s,i){if(!s){let o=i.toString().split(" +-o ");for(let a=1;a<o.length;a++){let u=E0e(o[a]);u&&t.push(u)}r&&r(t),e(t)}r&&r(t),e(t)}),c0e&&Gn.powerShell('Get-CimInstance CIM_LogicalDevice | where { $_.Description -match "USB"} | select Name,CreationClassName,DeviceId,Manufacturer | fl').then((n,s)=>{if(!s){let i=n.toString().split(/\n\s*\n/);for(let o=0;o<i.length;o++){let a=S0e(i[o].split(`
568
- `),o);a&&t.filter(u=>u.deviceId===a.deviceId).length===0&&t.push(a)}}r&&r(t),e(t)}),(d0e||l0e||f0e||p0e)&&e(null)})})}pW.usb=T0e});var gW=v(mW=>{"use strict";var hW=W("child_process").exec,y0e=W("child_process").execSync,kr=$t(),so=process.platform,A0e=so==="linux"||so==="android",O0e=so==="darwin",v0e=so==="win32",C0e=so==="freebsd",D0e=so==="openbsd",w0e=so==="netbsd",b0e=so==="sunos";function nC(r,e,t){r=r.toLowerCase();let n="";return r.indexOf("input")>=0&&(n="Microphone"),r.indexOf("display audio")>=0&&(n="Speaker"),r.indexOf("speak")>=0&&(n="Speaker"),r.indexOf("laut")>=0&&(n="Speaker"),r.indexOf("loud")>=0&&(n="Speaker"),r.indexOf("head")>=0&&(n="Headset"),r.indexOf("mic")>=0&&(n="Microphone"),r.indexOf("mikr")>=0&&(n="Microphone"),r.indexOf("phone")>=0&&(n="Phone"),r.indexOf("controll")>=0&&(n="Controller"),r.indexOf("line o")>=0&&(n="Line Out"),r.indexOf("digital o")>=0&&(n="Digital Out"),r.indexOf("smart sound technology")>=0&&(n="Digital Signal Processor"),r.indexOf("high definition audio")>=0&&(n="Sound Driver"),!n&&t?n="Speaker":!n&&e&&(n="Microphone"),n}function R0e(){let r="lspci -v 2>/dev/null",e=[];try{return y0e(r,kr.execOptsLinux).toString().split(`
567
+ Bus `);for(let a=1;a<o.length;a++){let u=m0e(o[a]);t.push(u)}}r&&r(t),e(t)}),u0e&&f9("ioreg -p IOUSB -c AppleUSBRootHubDevice -w0 -l",{maxBuffer:1024*1024*128},function(s,i){if(!s){let o=i.toString().split(" +-o ");for(let a=1;a<o.length;a++){let u=E0e(o[a]);u&&t.push(u)}r&&r(t),e(t)}r&&r(t),e(t)}),c0e&&Gn.powerShell('Get-CimInstance CIM_LogicalDevice | where { $_.Description -match "USB"} | select Name,CreationClassName,DeviceId,Manufacturer | fl').then((n,s)=>{if(!s){let i=n.toString().split(/\n\s*\n/);for(let o=0;o<i.length;o++){let a=S0e(i[o].split(`
568
+ `),o);a&&t.filter(u=>u.deviceId===a.deviceId).length===0&&t.push(a)}}r&&r(t),e(t)}),(d0e||l0e||f0e||p0e)&&e(null)})})}p9.usb=T0e});var g9=v(m9=>{"use strict";var h9=W("child_process").exec,y0e=W("child_process").execSync,kr=$t(),so=process.platform,A0e=so==="linux"||so==="android",O0e=so==="darwin",v0e=so==="win32",C0e=so==="freebsd",D0e=so==="openbsd",w0e=so==="netbsd",b0e=so==="sunos";function nC(r,e,t){r=r.toLowerCase();let n="";return r.indexOf("input")>=0&&(n="Microphone"),r.indexOf("display audio")>=0&&(n="Speaker"),r.indexOf("speak")>=0&&(n="Speaker"),r.indexOf("laut")>=0&&(n="Speaker"),r.indexOf("loud")>=0&&(n="Speaker"),r.indexOf("head")>=0&&(n="Headset"),r.indexOf("mic")>=0&&(n="Microphone"),r.indexOf("mikr")>=0&&(n="Microphone"),r.indexOf("phone")>=0&&(n="Phone"),r.indexOf("controll")>=0&&(n="Controller"),r.indexOf("line o")>=0&&(n="Line Out"),r.indexOf("digital o")>=0&&(n="Digital Out"),r.indexOf("smart sound technology")>=0&&(n="Digital Signal Processor"),r.indexOf("high definition audio")>=0&&(n="Sound Driver"),!n&&t?n="Speaker":!n&&e&&(n="Microphone"),n}function R0e(){let r="lspci -v 2>/dev/null",e=[];try{return y0e(r,kr.execOptsLinux).toString().split(`
569
569
 
570
570
  `).forEach(n=>{let s=n.split(`
571
- `);if(s&&s.length&&s[0].toLowerCase().indexOf("audio")>=0){let i={};i.slotId=s[0].split(" ")[0],i.driver=kr.getValue(s,"Kernel driver in use",":",!0)||kr.getValue(s,"Kernel modules",":",!0),e.push(i)}}),e}catch{return e}}function P0e(r,e){let t={},n=kr.getValue(r,"Slot"),s=e.filter(function(i){return i.slotId===n});return t.id=n,t.name=kr.getValue(r,"SDevice"),t.manufacturer=kr.getValue(r,"SVendor"),t.revision=kr.getValue(r,"Rev"),t.driver=s&&s.length===1&&s[0].driver?s[0].driver:"",t.default=null,t.channel="PCIe",t.type=nC(t.name,null,null),t.in=null,t.out=null,t.status="online",t}function I0e(r){let e="";return r.indexOf("builtin")>=0&&(e="Built-In"),r.indexOf("extern")>=0&&(e="Audio-Jack"),r.indexOf("hdmi")>=0&&(e="HDMI"),r.indexOf("displayport")>=0&&(e="Display-Port"),r.indexOf("usb")>=0&&(e="USB"),r.indexOf("pci")>=0&&(e="PCIe"),e}function L0e(r,e){let t={},n=((r.coreaudio_device_transport||"")+" "+(r._name||"")).toLowerCase();return t.id=e,t.name=r._name,t.manufacturer=r.coreaudio_device_manufacturer,t.revision=null,t.driver=null,t.default=!!r.coreaudio_default_audio_input_device||!!r.coreaudio_default_audio_output_device,t.channel=I0e(n),t.type=nC(t.name,!!r.coreaudio_device_input,!!r.coreaudio_device_output),t.in=!!r.coreaudio_device_input,t.out=!!r.coreaudio_device_output,t.status="online",t}function N0e(r){let e={},t=kr.getValue(r,"StatusInfo",":");return e.id=kr.getValue(r,"DeviceID",":"),e.name=kr.getValue(r,"name",":"),e.manufacturer=kr.getValue(r,"manufacturer",":"),e.revision=null,e.driver=null,e.default=null,e.channel=null,e.type=nC(e.name,null,null),e.in=null,e.out=null,e.status=t,e}function M0e(r){return new Promise(e=>{process.nextTick(()=>{let t=[];(A0e||C0e||D0e||w0e)&&hW("lspci -vmm 2>/dev/null",function(s,i){if(!s){let o=R0e();i.toString().split(`
571
+ `);if(s&&s.length&&s[0].toLowerCase().indexOf("audio")>=0){let i={};i.slotId=s[0].split(" ")[0],i.driver=kr.getValue(s,"Kernel driver in use",":",!0)||kr.getValue(s,"Kernel modules",":",!0),e.push(i)}}),e}catch{return e}}function P0e(r,e){let t={},n=kr.getValue(r,"Slot"),s=e.filter(function(i){return i.slotId===n});return t.id=n,t.name=kr.getValue(r,"SDevice"),t.manufacturer=kr.getValue(r,"SVendor"),t.revision=kr.getValue(r,"Rev"),t.driver=s&&s.length===1&&s[0].driver?s[0].driver:"",t.default=null,t.channel="PCIe",t.type=nC(t.name,null,null),t.in=null,t.out=null,t.status="online",t}function I0e(r){let e="";return r.indexOf("builtin")>=0&&(e="Built-In"),r.indexOf("extern")>=0&&(e="Audio-Jack"),r.indexOf("hdmi")>=0&&(e="HDMI"),r.indexOf("displayport")>=0&&(e="Display-Port"),r.indexOf("usb")>=0&&(e="USB"),r.indexOf("pci")>=0&&(e="PCIe"),e}function L0e(r,e){let t={},n=((r.coreaudio_device_transport||"")+" "+(r._name||"")).toLowerCase();return t.id=e,t.name=r._name,t.manufacturer=r.coreaudio_device_manufacturer,t.revision=null,t.driver=null,t.default=!!r.coreaudio_default_audio_input_device||!!r.coreaudio_default_audio_output_device,t.channel=I0e(n),t.type=nC(t.name,!!r.coreaudio_device_input,!!r.coreaudio_device_output),t.in=!!r.coreaudio_device_input,t.out=!!r.coreaudio_device_output,t.status="online",t}function N0e(r){let e={},t=kr.getValue(r,"StatusInfo",":");return e.id=kr.getValue(r,"DeviceID",":"),e.name=kr.getValue(r,"name",":"),e.manufacturer=kr.getValue(r,"manufacturer",":"),e.revision=null,e.driver=null,e.default=null,e.channel=null,e.type=nC(e.name,null,null),e.in=null,e.out=null,e.status=t,e}function M0e(r){return new Promise(e=>{process.nextTick(()=>{let t=[];(A0e||C0e||D0e||w0e)&&h9("lspci -vmm 2>/dev/null",function(s,i){if(!s){let o=R0e();i.toString().split(`
572
572
 
573
573
  `).forEach(u=>{let c=u.split(`
574
- `);if(kr.getValue(c,"class",":",!0).toLowerCase().indexOf("audio")>=0){let l=P0e(c,o);t.push(l)}})}r&&r(t),e(t)}),O0e&&hW("system_profiler SPAudioDataType -json",function(s,i){if(!s)try{let o=JSON.parse(i.toString());if(o.SPAudioDataType&&o.SPAudioDataType.length&&o.SPAudioDataType[0]&&o.SPAudioDataType[0]._items&&o.SPAudioDataType[0]._items.length)for(let a=0;a<o.SPAudioDataType[0]._items.length;a++){let u=L0e(o.SPAudioDataType[0]._items[a],a);t.push(u)}}catch{kr.noop()}r&&r(t),e(t)}),v0e&&kr.powerShell("Get-CimInstance Win32_SoundDevice | select DeviceID,StatusInfo,Name,Manufacturer | fl").then((n,s)=>{s||n.toString().split(/\n\s*\n/).forEach(o=>{let a=o.split(`
575
- `);kr.getValue(a,"name",":")&&t.push(N0e(a))}),r&&r(t),e(t)}),b0e&&e(null)})})}mW.audio=M0e});var _W=v(EW=>{"use strict";var x0e=W("child_process").exec,U0e=W("child_process").execSync,V0e=W("path"),Xi=$t(),B0e=W("fs"),oo=process.platform,F0e=oo==="linux"||oo==="android",j0e=oo==="darwin",G0e=oo==="win32",q0e=oo==="freebsd",$0e=oo==="openbsd",k0e=oo==="netbsd",H0e=oo==="sunos";function sC(r){let e="";return r.indexOf("keyboard")>=0&&(e="Keyboard"),r.indexOf("mouse")>=0&&(e="Mouse"),r.indexOf("trackpad")>=0&&(e="Trackpad"),r.indexOf("speaker")>=0&&(e="Speaker"),r.indexOf("headset")>=0&&(e="Headset"),r.indexOf("phone")>=0&&(e="Phone"),r.indexOf("macbook")>=0&&(e="Computer"),r.indexOf("imac")>=0&&(e="Computer"),r.indexOf("ipad")>=0&&(e="Tablet"),r.indexOf("watch")>=0&&(e="Watch"),r.indexOf("headphone")>=0&&(e="Headset"),e}function W0e(r){let e=r.split(" ")[0];return r=r.toLowerCase(),r.indexOf("apple")>=0&&(e="Apple"),r.indexOf("ipad")>=0&&(e="Apple"),r.indexOf("imac")>=0&&(e="Apple"),r.indexOf("iphone")>=0&&(e="Apple"),r.indexOf("magic mouse")>=0&&(e="Apple"),r.indexOf("magic track")>=0&&(e="Apple"),r.indexOf("macbook")>=0&&(e="Apple"),e}function Y0e(r,e,t){let n={};return n.device=null,n.name=Xi.getValue(r,"name","="),n.manufacturer=null,n.macDevice=e,n.macHost=t,n.batteryPercent=null,n.type=sC(n.name.toLowerCase()),n.connected=!1,n}function iC(r,e){let t={},n=((r.device_minorClassOfDevice_string||r.device_majorClassOfDevice_string||r.device_minorType||"")+(r.device_name||"")).toLowerCase();return t.device=r.device_services||"",t.name=r.device_name||"",t.manufacturer=r.device_manufacturer||W0e(r.device_name||"")||"",t.macDevice=(r.device_addr||r.device_address||"").toLowerCase().replace(/-/g,":"),t.macHost=e,t.batteryPercent=r.device_batteryPercent||null,t.type=sC(n),t.connected=r.device_isconnected==="attrib_Yes"||!1,t}function X0e(r){let e={};return e.device=null,e.name=Xi.getValue(r,"name",":"),e.manufacturer=Xi.getValue(r,"manufacturer",":"),e.macDevice=null,e.macHost=null,e.batteryPercent=null,e.type=sC(e.name.toLowerCase()),e.connected=null,e}function K0e(r){return new Promise(e=>{process.nextTick(()=>{let t=[];if(F0e){Xi.getFilesInPath("/var/lib/bluetooth/").forEach(s=>{let i=V0e.basename(s),o=s.split("/"),a=o.length>=6?o[o.length-2]:null,u=o.length>=7?o[o.length-3]:null;if(i==="info"){let c=B0e.readFileSync(s,{encoding:"utf8"}).split(`
574
+ `);if(kr.getValue(c,"class",":",!0).toLowerCase().indexOf("audio")>=0){let l=P0e(c,o);t.push(l)}})}r&&r(t),e(t)}),O0e&&h9("system_profiler SPAudioDataType -json",function(s,i){if(!s)try{let o=JSON.parse(i.toString());if(o.SPAudioDataType&&o.SPAudioDataType.length&&o.SPAudioDataType[0]&&o.SPAudioDataType[0]._items&&o.SPAudioDataType[0]._items.length)for(let a=0;a<o.SPAudioDataType[0]._items.length;a++){let u=L0e(o.SPAudioDataType[0]._items[a],a);t.push(u)}}catch{kr.noop()}r&&r(t),e(t)}),v0e&&kr.powerShell("Get-CimInstance Win32_SoundDevice | select DeviceID,StatusInfo,Name,Manufacturer | fl").then((n,s)=>{s||n.toString().split(/\n\s*\n/).forEach(o=>{let a=o.split(`
575
+ `);kr.getValue(a,"name",":")&&t.push(N0e(a))}),r&&r(t),e(t)}),b0e&&e(null)})})}m9.audio=M0e});var _9=v(E9=>{"use strict";var x0e=W("child_process").exec,U0e=W("child_process").execSync,V0e=W("path"),Xi=$t(),B0e=W("fs"),oo=process.platform,F0e=oo==="linux"||oo==="android",j0e=oo==="darwin",G0e=oo==="win32",q0e=oo==="freebsd",$0e=oo==="openbsd",k0e=oo==="netbsd",H0e=oo==="sunos";function sC(r){let e="";return r.indexOf("keyboard")>=0&&(e="Keyboard"),r.indexOf("mouse")>=0&&(e="Mouse"),r.indexOf("trackpad")>=0&&(e="Trackpad"),r.indexOf("speaker")>=0&&(e="Speaker"),r.indexOf("headset")>=0&&(e="Headset"),r.indexOf("phone")>=0&&(e="Phone"),r.indexOf("macbook")>=0&&(e="Computer"),r.indexOf("imac")>=0&&(e="Computer"),r.indexOf("ipad")>=0&&(e="Tablet"),r.indexOf("watch")>=0&&(e="Watch"),r.indexOf("headphone")>=0&&(e="Headset"),e}function W0e(r){let e=r.split(" ")[0];return r=r.toLowerCase(),r.indexOf("apple")>=0&&(e="Apple"),r.indexOf("ipad")>=0&&(e="Apple"),r.indexOf("imac")>=0&&(e="Apple"),r.indexOf("iphone")>=0&&(e="Apple"),r.indexOf("magic mouse")>=0&&(e="Apple"),r.indexOf("magic track")>=0&&(e="Apple"),r.indexOf("macbook")>=0&&(e="Apple"),e}function Y0e(r,e,t){let n={};return n.device=null,n.name=Xi.getValue(r,"name","="),n.manufacturer=null,n.macDevice=e,n.macHost=t,n.batteryPercent=null,n.type=sC(n.name.toLowerCase()),n.connected=!1,n}function iC(r,e){let t={},n=((r.device_minorClassOfDevice_string||r.device_majorClassOfDevice_string||r.device_minorType||"")+(r.device_name||"")).toLowerCase();return t.device=r.device_services||"",t.name=r.device_name||"",t.manufacturer=r.device_manufacturer||W0e(r.device_name||"")||"",t.macDevice=(r.device_addr||r.device_address||"").toLowerCase().replace(/-/g,":"),t.macHost=e,t.batteryPercent=r.device_batteryPercent||null,t.type=sC(n),t.connected=r.device_isconnected==="attrib_Yes"||!1,t}function X0e(r){let e={};return e.device=null,e.name=Xi.getValue(r,"name",":"),e.manufacturer=Xi.getValue(r,"manufacturer",":"),e.macDevice=null,e.macHost=null,e.batteryPercent=null,e.type=sC(e.name.toLowerCase()),e.connected=null,e}function K0e(r){return new Promise(e=>{process.nextTick(()=>{let t=[];if(F0e){Xi.getFilesInPath("/var/lib/bluetooth/").forEach(s=>{let i=V0e.basename(s),o=s.split("/"),a=o.length>=6?o[o.length-2]:null,u=o.length>=7?o[o.length-3]:null;if(i==="info"){let c=B0e.readFileSync(s,{encoding:"utf8"}).split(`
576
576
  `);t.push(Y0e(c,a,u))}});try{let s=U0e("hcitool con",Xi.execOptsLinux).toString().toLowerCase();for(let i=0;i<t.length;i++)t[i].macDevice&&t[i].macDevice.length>10&&s.indexOf(t[i].macDevice.toLowerCase())>=0&&(t[i].connected=!0)}catch{Xi.noop()}r&&r(t),e(t)}j0e&&x0e("system_profiler SPBluetoothDataType -json",function(s,i){if(!s)try{let o=JSON.parse(i.toString());if(o.SPBluetoothDataType&&o.SPBluetoothDataType.length&&o.SPBluetoothDataType[0]&&o.SPBluetoothDataType[0].device_title&&o.SPBluetoothDataType[0].device_title.length){let a=null;o.SPBluetoothDataType[0].local_device_title&&o.SPBluetoothDataType[0].local_device_title.general_address&&(a=o.SPBluetoothDataType[0].local_device_title.general_address.toLowerCase().replace(/-/g,":")),o.SPBluetoothDataType[0].device_title.forEach(u=>{let c=u,l=Object.keys(c);if(l&&l.length===1){let f=c[l[0]];f.device_name=l[0];let p=iC(f,a);t.push(p)}})}if(o.SPBluetoothDataType&&o.SPBluetoothDataType.length&&o.SPBluetoothDataType[0]&&o.SPBluetoothDataType[0].device_connected&&o.SPBluetoothDataType[0].device_connected.length){let a=o.SPBluetoothDataType[0].controller_properties&&o.SPBluetoothDataType[0].controller_properties.controller_address?o.SPBluetoothDataType[0].controller_properties.controller_address.toLowerCase().replace(/-/g,":"):null;o.SPBluetoothDataType[0].device_connected.forEach(u=>{let c=u,l=Object.keys(c);if(l&&l.length===1){let f=c[l[0]];f.device_name=l[0],f.device_isconnected="attrib_Yes";let p=iC(f,a);t.push(p)}})}if(o.SPBluetoothDataType&&o.SPBluetoothDataType.length&&o.SPBluetoothDataType[0]&&o.SPBluetoothDataType[0].device_not_connected&&o.SPBluetoothDataType[0].device_not_connected.length){let a=o.SPBluetoothDataType[0].controller_properties&&o.SPBluetoothDataType[0].controller_properties.controller_address?o.SPBluetoothDataType[0].controller_properties.controller_address.toLowerCase().replace(/-/g,":"):null;o.SPBluetoothDataType[0].device_not_connected.forEach(u=>{let c=u,l=Object.keys(c);if(l&&l.length===1){let f=c[l[0]];f.device_name=l[0],f.device_isconnected="attrib_No";let p=iC(f,a);t.push(p)}})}}catch{Xi.noop()}r&&r(t),e(t)}),G0e&&Xi.powerShell("Get-CimInstance Win32_PNPEntity | select PNPClass, Name, Manufacturer | fl").then((n,s)=>{s||n.toString().split(/\n\s*\n/).forEach(o=>{Xi.getValue(o.split(`
577
577
  `),"PNPClass",":")==="Bluetooth"&&t.push(X0e(o.split(`
578
- `)))}),r&&r(t),e(t)}),(q0e||k0e||$0e||H0e)&&e(null)})})}EW.bluetoothDevices=K0e});var DW=v(Ce=>{"use strict";var z0e=Bk().version,Sa=$t(),ao=eH(),Ki=rH(),qn=uH(),EE=_H(),SW=yH(),TW=DH(),Ri=IH(),zi=FH(),_E=HH(),kf=XH(),yW=JH(),oC=eW(),Ta=iW(),J0e=oW(),Q0e=lW(),Z0e=dW(),e_e=gW(),t_e=_W(),Hf=process.platform,gE=Hf==="win32",Gf=Hf==="freebsd",qf=Hf==="openbsd",$f=Hf==="netbsd",bi=Hf==="sunos";gE&&Sa.getCodepage();function AW(){return z0e}function OW(r){return new Promise(e=>{process.nextTick(()=>{let t={};t.version=AW(),Promise.all([ao.system(),ao.bios(),ao.baseboard(),ao.chassis(),Ki.osInfo(),Ki.uuid(),Ki.versions(),qn.cpu(),qn.cpuFlags(),TW.graphics(),zi.networkInterfaces(),EE.memLayout(),Ri.diskLayout()]).then(n=>{t.system=n[0],t.bios=n[1],t.baseboard=n[2],t.chassis=n[3],t.os=n[4],t.uuid=n[5],t.versions=n[6],t.cpu=n[7],t.cpu.flags=n[8],t.graphics=n[9],t.net=n[10],t.memLayout=n[11],t.diskLayout=n[12],r&&r(t),e(t)})})})}function vW(r,e,t){return Sa.isFunction(e)&&(t=e,e=""),Sa.isFunction(r)&&(t=r,r=""),new Promise(n=>{process.nextTick(()=>{e=e||zi.getDefaultNetworkInterface(),r=r||"";let s=(function(){let o=15;return gE&&(o=13),(Gf||qf||$f)&&(o=11),bi&&(o=6),function(){--o===0&&(t&&t(i),n(i))}})(),i={};i.time=Ki.time(),i.node=process.versions.node,i.v8=process.versions.v8,qn.cpuCurrentSpeed().then(o=>{i.cpuCurrentSpeed=o,s()}),yW.users().then(o=>{i.users=o,s()}),kf.processes().then(o=>{i.processes=o,s()}),qn.currentLoad().then(o=>{i.currentLoad=o,s()}),bi||qn.cpuTemperature().then(o=>{i.temp=o,s()}),!qf&&!Gf&&!$f&&!bi&&zi.networkStats(e).then(o=>{i.networkStats=o,s()}),bi||zi.networkConnections().then(o=>{i.networkConnections=o,s()}),EE.mem().then(o=>{i.mem=o,s()}),bi||SW().then(o=>{i.battery=o,s()}),bi||kf.services(r).then(o=>{i.services=o,s()}),bi||Ri.fsSize().then(o=>{i.fsSize=o,s()}),!gE&&!qf&&!Gf&&!$f&&!bi&&Ri.fsStats().then(o=>{i.fsStats=o,s()}),!gE&&!qf&&!Gf&&!$f&&!bi&&Ri.disksIO().then(o=>{i.disksIO=o,s()}),!qf&&!Gf&&!$f&&!bi&&_E.wifiNetworks().then(o=>{i.wifiNetworks=o,s()}),oC.inetLatency().then(o=>{i.inetLatency=o,s()})})})}function r_e(r,e,t){return new Promise(n=>{process.nextTick(()=>{let s={};e&&Sa.isFunction(e)&&!t&&(t=e,e=""),r&&Sa.isFunction(r)&&!e&&!t&&(t=r,r="",e=""),OW().then(i=>{s=i,vW(r,e).then(o=>{for(let a in o)({}).hasOwnProperty.call(o,a)&&(s[a]=o[a]);t&&t(s),n(s)})})})})}function CW(r,e){return new Promise(t=>{process.nextTick(()=>{let n=Object.keys(r).filter(s=>({}).hasOwnProperty.call(Ce,s)).map(s=>{let i=r[s].substring(r[s].lastIndexOf("(")+1,r[s].lastIndexOf(")")),o=s.indexOf(")")>=0?s.split(")")[1].trim():s;return o=s.indexOf("|")>=0?s.split("|")[0].trim():o,i?Ce[o](i):Ce[o]("")});Promise.all(n).then(s=>{let i={},o=0;for(let a in r)if({}.hasOwnProperty.call(r,a)&&{}.hasOwnProperty.call(Ce,a)&&s.length>o){if(r[a]==="*"||r[a]==="all")i[a]=s[o];else{let u=r[a],c="",l=[];if(u.indexOf(")")>=0&&(u=u.split(")")[1].trim()),u.indexOf("|")>=0&&(c=u.split("|")[1].trim(),l=c.split(":"),u=u.split("|")[0].trim()),u=u.replace(/,/g," ").replace(/ +/g," ").split(" "),s[o])if(Array.isArray(s[o])){let f=[];s[o].forEach(p=>{let d={};if(u.length===1&&(u[0]==="*"||u[0]==="all")?d=p:u.forEach(m=>{({}).hasOwnProperty.call(p,m)&&(d[m]=p[m])}),c&&l.length===2){if({}.hasOwnProperty.call(d,l[0].trim())){let m=d[l[0].trim()];typeof m=="number"?m===parseFloat(l[1].trim())&&f.push(d):typeof m=="string"&&m.toLowerCase()===l[1].trim().toLowerCase()&&f.push(d)}}else f.push(d)}),i[a]=f}else{let f={};u.forEach(p=>{({}).hasOwnProperty.call(s[o],p)&&(f[p]=s[o][p])}),i[a]=f}else i[a]={}}o++}e&&e(i),t(i)})})})}function n_e(r,e,t){let n=null;return setInterval(()=>{CW(r).then(i=>{JSON.stringify(n)!==JSON.stringify(i)&&(n=Object.assign({},i),t(i))})},e)}Ce.version=AW;Ce.system=ao.system;Ce.bios=ao.bios;Ce.baseboard=ao.baseboard;Ce.chassis=ao.chassis;Ce.time=Ki.time;Ce.osInfo=Ki.osInfo;Ce.versions=Ki.versions;Ce.shell=Ki.shell;Ce.uuid=Ki.uuid;Ce.cpu=qn.cpu;Ce.cpuFlags=qn.cpuFlags;Ce.cpuCache=qn.cpuCache;Ce.cpuCurrentSpeed=qn.cpuCurrentSpeed;Ce.cpuTemperature=qn.cpuTemperature;Ce.currentLoad=qn.currentLoad;Ce.fullLoad=qn.fullLoad;Ce.mem=EE.mem;Ce.memLayout=EE.memLayout;Ce.battery=SW;Ce.graphics=TW.graphics;Ce.fsSize=Ri.fsSize;Ce.fsOpenFiles=Ri.fsOpenFiles;Ce.blockDevices=Ri.blockDevices;Ce.fsStats=Ri.fsStats;Ce.disksIO=Ri.disksIO;Ce.diskLayout=Ri.diskLayout;Ce.networkInterfaceDefault=zi.networkInterfaceDefault;Ce.networkGatewayDefault=zi.networkGatewayDefault;Ce.networkInterfaces=zi.networkInterfaces;Ce.networkStats=zi.networkStats;Ce.networkConnections=zi.networkConnections;Ce.wifiNetworks=_E.wifiNetworks;Ce.wifiInterfaces=_E.wifiInterfaces;Ce.wifiConnections=_E.wifiConnections;Ce.services=kf.services;Ce.processes=kf.processes;Ce.processLoad=kf.processLoad;Ce.users=yW.users;Ce.inetChecksite=oC.inetChecksite;Ce.inetLatency=oC.inetLatency;Ce.dockerInfo=Ta.dockerInfo;Ce.dockerImages=Ta.dockerImages;Ce.dockerContainers=Ta.dockerContainers;Ce.dockerContainerStats=Ta.dockerContainerStats;Ce.dockerContainerProcesses=Ta.dockerContainerProcesses;Ce.dockerVolumes=Ta.dockerVolumes;Ce.dockerAll=Ta.dockerAll;Ce.vboxInfo=J0e.vboxInfo;Ce.printer=Q0e.printer;Ce.usb=Z0e.usb;Ce.audio=e_e.audio;Ce.bluetoothDevices=t_e.bluetoothDevices;Ce.getStaticData=OW;Ce.getDynamicData=vW;Ce.getAllData=r_e;Ce.get=CW;Ce.observe=n_e;Ce.powerShellStart=Sa.powerShellStart;Ce.powerShellRelease=Sa.powerShellRelease});Pe();var LW=gr(YD(),1),OE=gr(Pw(),1),Pi=gr(vR(),1);import ai from"node:path";import{fileURLToPath as a_e}from"node:url";var CR=(r=0)=>e=>`\x1B[${e+r}m`,DR=(r=0)=>e=>`\x1B[${38+r};5;${e}m`,wR=(r=0)=>(e,t,n)=>`\x1B[${38+r};2;${e};${t};${n}m`,bt={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},fAe=Object.keys(bt.modifier),Sz=Object.keys(bt.color),Tz=Object.keys(bt.bgColor),pAe=[...Sz,...Tz];function yz(){let r=new Map;for(let[e,t]of Object.entries(bt)){for(let[n,s]of Object.entries(t))bt[n]={open:`\x1B[${s[0]}m`,close:`\x1B[${s[1]}m`},t[n]=bt[n],r.set(s[0],s[1]);Object.defineProperty(bt,e,{value:t,enumerable:!1})}return Object.defineProperty(bt,"codes",{value:r,enumerable:!1}),bt.color.close="\x1B[39m",bt.bgColor.close="\x1B[49m",bt.color.ansi=CR(),bt.color.ansi256=DR(),bt.color.ansi16m=wR(),bt.bgColor.ansi=CR(10),bt.bgColor.ansi256=DR(10),bt.bgColor.ansi16m=wR(10),Object.defineProperties(bt,{rgbToAnsi256:{value(e,t,n){return e===t&&t===n?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(t/255*5)+Math.round(n/255*5)},enumerable:!1},hexToRgb:{value(e){let t=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!t)return[0,0,0];let[n]=t;n.length===3&&(n=[...n].map(i=>i+i).join(""));let s=Number.parseInt(n,16);return[s>>16&255,s>>8&255,s&255]},enumerable:!1},hexToAnsi256:{value:e=>bt.rgbToAnsi256(...bt.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value(e){if(e<8)return 30+e;if(e<16)return 90+(e-8);let t,n,s;if(e>=232)t=((e-232)*10+8)/255,n=t,s=t;else{e-=16;let a=e%36;t=Math.floor(e/36)/5,n=Math.floor(a/6)/5,s=a%6/5}let i=Math.max(t,n,s)*2;if(i===0)return 30;let o=30+(Math.round(s)<<2|Math.round(n)<<1|Math.round(t));return i===2&&(o+=60),o},enumerable:!1},rgbToAnsi:{value:(e,t,n)=>bt.ansi256ToAnsi(bt.rgbToAnsi256(e,t,n)),enumerable:!1},hexToAnsi:{value:e=>bt.ansi256ToAnsi(bt.hexToAnsi256(e)),enumerable:!1}}),bt}var Az=yz(),Hn=Az;import $0 from"node:process";import Oz from"node:os";import bR from"node:tty";function _n(r,e=globalThis.Deno?globalThis.Deno.args:$0.argv){let t=r.startsWith("-")?"":r.length===1?"-":"--",n=e.indexOf(t+r),s=e.indexOf("--");return n!==-1&&(s===-1||n<s)}var{env:Nt}=$0,Gp;_n("no-color")||_n("no-colors")||_n("color=false")||_n("color=never")?Gp=0:(_n("color")||_n("colors")||_n("color=true")||_n("color=always"))&&(Gp=1);function vz(){if("FORCE_COLOR"in Nt)return Nt.FORCE_COLOR==="true"?1:Nt.FORCE_COLOR==="false"?0:Nt.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(Nt.FORCE_COLOR,10),3)}function Cz(r){return r===0?!1:{level:r,hasBasic:!0,has256:r>=2,has16m:r>=3}}function Dz(r,{streamIsTTY:e,sniffFlags:t=!0}={}){let n=vz();n!==void 0&&(Gp=n);let s=t?Gp:n;if(s===0)return 0;if(t){if(_n("color=16m")||_n("color=full")||_n("color=truecolor"))return 3;if(_n("color=256"))return 2}if("TF_BUILD"in Nt&&"AGENT_NAME"in Nt)return 1;if(r&&!e&&s===void 0)return 0;let i=s||0;if(Nt.TERM==="dumb")return i;if($0.platform==="win32"){let o=Oz.release().split(".");return Number(o[0])>=10&&Number(o[2])>=10586?Number(o[2])>=14931?3:2:1}if("CI"in Nt)return"GITHUB_ACTIONS"in Nt||"GITEA_ACTIONS"in Nt?3:["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(o=>o in Nt)||Nt.CI_NAME==="codeship"?1:i;if("TEAMCITY_VERSION"in Nt)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Nt.TEAMCITY_VERSION)?1:0;if(Nt.COLORTERM==="truecolor"||Nt.TERM==="xterm-kitty")return 3;if("TERM_PROGRAM"in Nt){let o=Number.parseInt((Nt.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Nt.TERM_PROGRAM){case"iTerm.app":return o>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Nt.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Nt.TERM)||"COLORTERM"in Nt?1:i}function RR(r,e={}){let t=Dz(r,{streamIsTTY:r&&r.isTTY,...e});return Cz(t)}var wz={stdout:RR({isTTY:bR.isatty(1)}),stderr:RR({isTTY:bR.isatty(2)})},PR=wz;function IR(r,e,t){let n=r.indexOf(e);if(n===-1)return r;let s=e.length,i=0,o="";do o+=r.slice(i,n)+e+t,i=n+s,n=r.indexOf(e,i);while(n!==-1);return o+=r.slice(i),o}function LR(r,e,t,n){let s=0,i="";do{let o=r[n-1]==="\r";i+=r.slice(s,o?n-1:n)+e+(o?`\r
578
+ `)))}),r&&r(t),e(t)}),(q0e||k0e||$0e||H0e)&&e(null)})})}E9.bluetoothDevices=K0e});var D9=v(Ce=>{"use strict";var z0e=Bk().version,Sa=$t(),ao=eH(),Ki=rH(),qn=uH(),EE=_H(),S9=yH(),T9=DH(),Ri=IH(),zi=FH(),_E=HH(),kf=XH(),y9=JH(),oC=e9(),Ta=i9(),J0e=o9(),Q0e=l9(),Z0e=d9(),e_e=g9(),t_e=_9(),Hf=process.platform,gE=Hf==="win32",Gf=Hf==="freebsd",qf=Hf==="openbsd",$f=Hf==="netbsd",bi=Hf==="sunos";gE&&Sa.getCodepage();function A9(){return z0e}function O9(r){return new Promise(e=>{process.nextTick(()=>{let t={};t.version=A9(),Promise.all([ao.system(),ao.bios(),ao.baseboard(),ao.chassis(),Ki.osInfo(),Ki.uuid(),Ki.versions(),qn.cpu(),qn.cpuFlags(),T9.graphics(),zi.networkInterfaces(),EE.memLayout(),Ri.diskLayout()]).then(n=>{t.system=n[0],t.bios=n[1],t.baseboard=n[2],t.chassis=n[3],t.os=n[4],t.uuid=n[5],t.versions=n[6],t.cpu=n[7],t.cpu.flags=n[8],t.graphics=n[9],t.net=n[10],t.memLayout=n[11],t.diskLayout=n[12],r&&r(t),e(t)})})})}function v9(r,e,t){return Sa.isFunction(e)&&(t=e,e=""),Sa.isFunction(r)&&(t=r,r=""),new Promise(n=>{process.nextTick(()=>{e=e||zi.getDefaultNetworkInterface(),r=r||"";let s=(function(){let o=15;return gE&&(o=13),(Gf||qf||$f)&&(o=11),bi&&(o=6),function(){--o===0&&(t&&t(i),n(i))}})(),i={};i.time=Ki.time(),i.node=process.versions.node,i.v8=process.versions.v8,qn.cpuCurrentSpeed().then(o=>{i.cpuCurrentSpeed=o,s()}),y9.users().then(o=>{i.users=o,s()}),kf.processes().then(o=>{i.processes=o,s()}),qn.currentLoad().then(o=>{i.currentLoad=o,s()}),bi||qn.cpuTemperature().then(o=>{i.temp=o,s()}),!qf&&!Gf&&!$f&&!bi&&zi.networkStats(e).then(o=>{i.networkStats=o,s()}),bi||zi.networkConnections().then(o=>{i.networkConnections=o,s()}),EE.mem().then(o=>{i.mem=o,s()}),bi||S9().then(o=>{i.battery=o,s()}),bi||kf.services(r).then(o=>{i.services=o,s()}),bi||Ri.fsSize().then(o=>{i.fsSize=o,s()}),!gE&&!qf&&!Gf&&!$f&&!bi&&Ri.fsStats().then(o=>{i.fsStats=o,s()}),!gE&&!qf&&!Gf&&!$f&&!bi&&Ri.disksIO().then(o=>{i.disksIO=o,s()}),!qf&&!Gf&&!$f&&!bi&&_E.wifiNetworks().then(o=>{i.wifiNetworks=o,s()}),oC.inetLatency().then(o=>{i.inetLatency=o,s()})})})}function r_e(r,e,t){return new Promise(n=>{process.nextTick(()=>{let s={};e&&Sa.isFunction(e)&&!t&&(t=e,e=""),r&&Sa.isFunction(r)&&!e&&!t&&(t=r,r="",e=""),O9().then(i=>{s=i,v9(r,e).then(o=>{for(let a in o)({}).hasOwnProperty.call(o,a)&&(s[a]=o[a]);t&&t(s),n(s)})})})})}function C9(r,e){return new Promise(t=>{process.nextTick(()=>{let n=Object.keys(r).filter(s=>({}).hasOwnProperty.call(Ce,s)).map(s=>{let i=r[s].substring(r[s].lastIndexOf("(")+1,r[s].lastIndexOf(")")),o=s.indexOf(")")>=0?s.split(")")[1].trim():s;return o=s.indexOf("|")>=0?s.split("|")[0].trim():o,i?Ce[o](i):Ce[o]("")});Promise.all(n).then(s=>{let i={},o=0;for(let a in r)if({}.hasOwnProperty.call(r,a)&&{}.hasOwnProperty.call(Ce,a)&&s.length>o){if(r[a]==="*"||r[a]==="all")i[a]=s[o];else{let u=r[a],c="",l=[];if(u.indexOf(")")>=0&&(u=u.split(")")[1].trim()),u.indexOf("|")>=0&&(c=u.split("|")[1].trim(),l=c.split(":"),u=u.split("|")[0].trim()),u=u.replace(/,/g," ").replace(/ +/g," ").split(" "),s[o])if(Array.isArray(s[o])){let f=[];s[o].forEach(p=>{let d={};if(u.length===1&&(u[0]==="*"||u[0]==="all")?d=p:u.forEach(m=>{({}).hasOwnProperty.call(p,m)&&(d[m]=p[m])}),c&&l.length===2){if({}.hasOwnProperty.call(d,l[0].trim())){let m=d[l[0].trim()];typeof m=="number"?m===parseFloat(l[1].trim())&&f.push(d):typeof m=="string"&&m.toLowerCase()===l[1].trim().toLowerCase()&&f.push(d)}}else f.push(d)}),i[a]=f}else{let f={};u.forEach(p=>{({}).hasOwnProperty.call(s[o],p)&&(f[p]=s[o][p])}),i[a]=f}else i[a]={}}o++}e&&e(i),t(i)})})})}function n_e(r,e,t){let n=null;return setInterval(()=>{C9(r).then(i=>{JSON.stringify(n)!==JSON.stringify(i)&&(n=Object.assign({},i),t(i))})},e)}Ce.version=A9;Ce.system=ao.system;Ce.bios=ao.bios;Ce.baseboard=ao.baseboard;Ce.chassis=ao.chassis;Ce.time=Ki.time;Ce.osInfo=Ki.osInfo;Ce.versions=Ki.versions;Ce.shell=Ki.shell;Ce.uuid=Ki.uuid;Ce.cpu=qn.cpu;Ce.cpuFlags=qn.cpuFlags;Ce.cpuCache=qn.cpuCache;Ce.cpuCurrentSpeed=qn.cpuCurrentSpeed;Ce.cpuTemperature=qn.cpuTemperature;Ce.currentLoad=qn.currentLoad;Ce.fullLoad=qn.fullLoad;Ce.mem=EE.mem;Ce.memLayout=EE.memLayout;Ce.battery=S9;Ce.graphics=T9.graphics;Ce.fsSize=Ri.fsSize;Ce.fsOpenFiles=Ri.fsOpenFiles;Ce.blockDevices=Ri.blockDevices;Ce.fsStats=Ri.fsStats;Ce.disksIO=Ri.disksIO;Ce.diskLayout=Ri.diskLayout;Ce.networkInterfaceDefault=zi.networkInterfaceDefault;Ce.networkGatewayDefault=zi.networkGatewayDefault;Ce.networkInterfaces=zi.networkInterfaces;Ce.networkStats=zi.networkStats;Ce.networkConnections=zi.networkConnections;Ce.wifiNetworks=_E.wifiNetworks;Ce.wifiInterfaces=_E.wifiInterfaces;Ce.wifiConnections=_E.wifiConnections;Ce.services=kf.services;Ce.processes=kf.processes;Ce.processLoad=kf.processLoad;Ce.users=y9.users;Ce.inetChecksite=oC.inetChecksite;Ce.inetLatency=oC.inetLatency;Ce.dockerInfo=Ta.dockerInfo;Ce.dockerImages=Ta.dockerImages;Ce.dockerContainers=Ta.dockerContainers;Ce.dockerContainerStats=Ta.dockerContainerStats;Ce.dockerContainerProcesses=Ta.dockerContainerProcesses;Ce.dockerVolumes=Ta.dockerVolumes;Ce.dockerAll=Ta.dockerAll;Ce.vboxInfo=J0e.vboxInfo;Ce.printer=Q0e.printer;Ce.usb=Z0e.usb;Ce.audio=e_e.audio;Ce.bluetoothDevices=t_e.bluetoothDevices;Ce.getStaticData=O9;Ce.getDynamicData=v9;Ce.getAllData=r_e;Ce.get=C9;Ce.observe=n_e;Ce.powerShellStart=Sa.powerShellStart;Ce.powerShellRelease=Sa.powerShellRelease});Pe();var L9=gr(YD(),1),OE=gr(Pw(),1),Pi=gr(vR(),1);import ai from"node:path";import{fileURLToPath as a_e}from"node:url";var CR=(r=0)=>e=>`\x1B[${e+r}m`,DR=(r=0)=>e=>`\x1B[${38+r};5;${e}m`,wR=(r=0)=>(e,t,n)=>`\x1B[${38+r};2;${e};${t};${n}m`,bt={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},fAe=Object.keys(bt.modifier),Sz=Object.keys(bt.color),Tz=Object.keys(bt.bgColor),pAe=[...Sz,...Tz];function yz(){let r=new Map;for(let[e,t]of Object.entries(bt)){for(let[n,s]of Object.entries(t))bt[n]={open:`\x1B[${s[0]}m`,close:`\x1B[${s[1]}m`},t[n]=bt[n],r.set(s[0],s[1]);Object.defineProperty(bt,e,{value:t,enumerable:!1})}return Object.defineProperty(bt,"codes",{value:r,enumerable:!1}),bt.color.close="\x1B[39m",bt.bgColor.close="\x1B[49m",bt.color.ansi=CR(),bt.color.ansi256=DR(),bt.color.ansi16m=wR(),bt.bgColor.ansi=CR(10),bt.bgColor.ansi256=DR(10),bt.bgColor.ansi16m=wR(10),Object.defineProperties(bt,{rgbToAnsi256:{value(e,t,n){return e===t&&t===n?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(t/255*5)+Math.round(n/255*5)},enumerable:!1},hexToRgb:{value(e){let t=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!t)return[0,0,0];let[n]=t;n.length===3&&(n=[...n].map(i=>i+i).join(""));let s=Number.parseInt(n,16);return[s>>16&255,s>>8&255,s&255]},enumerable:!1},hexToAnsi256:{value:e=>bt.rgbToAnsi256(...bt.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value(e){if(e<8)return 30+e;if(e<16)return 90+(e-8);let t,n,s;if(e>=232)t=((e-232)*10+8)/255,n=t,s=t;else{e-=16;let a=e%36;t=Math.floor(e/36)/5,n=Math.floor(a/6)/5,s=a%6/5}let i=Math.max(t,n,s)*2;if(i===0)return 30;let o=30+(Math.round(s)<<2|Math.round(n)<<1|Math.round(t));return i===2&&(o+=60),o},enumerable:!1},rgbToAnsi:{value:(e,t,n)=>bt.ansi256ToAnsi(bt.rgbToAnsi256(e,t,n)),enumerable:!1},hexToAnsi:{value:e=>bt.ansi256ToAnsi(bt.hexToAnsi256(e)),enumerable:!1}}),bt}var Az=yz(),Hn=Az;import $0 from"node:process";import Oz from"node:os";import bR from"node:tty";function _n(r,e=globalThis.Deno?globalThis.Deno.args:$0.argv){let t=r.startsWith("-")?"":r.length===1?"-":"--",n=e.indexOf(t+r),s=e.indexOf("--");return n!==-1&&(s===-1||n<s)}var{env:Nt}=$0,Gp;_n("no-color")||_n("no-colors")||_n("color=false")||_n("color=never")?Gp=0:(_n("color")||_n("colors")||_n("color=true")||_n("color=always"))&&(Gp=1);function vz(){if("FORCE_COLOR"in Nt)return Nt.FORCE_COLOR==="true"?1:Nt.FORCE_COLOR==="false"?0:Nt.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(Nt.FORCE_COLOR,10),3)}function Cz(r){return r===0?!1:{level:r,hasBasic:!0,has256:r>=2,has16m:r>=3}}function Dz(r,{streamIsTTY:e,sniffFlags:t=!0}={}){let n=vz();n!==void 0&&(Gp=n);let s=t?Gp:n;if(s===0)return 0;if(t){if(_n("color=16m")||_n("color=full")||_n("color=truecolor"))return 3;if(_n("color=256"))return 2}if("TF_BUILD"in Nt&&"AGENT_NAME"in Nt)return 1;if(r&&!e&&s===void 0)return 0;let i=s||0;if(Nt.TERM==="dumb")return i;if($0.platform==="win32"){let o=Oz.release().split(".");return Number(o[0])>=10&&Number(o[2])>=10586?Number(o[2])>=14931?3:2:1}if("CI"in Nt)return"GITHUB_ACTIONS"in Nt||"GITEA_ACTIONS"in Nt?3:["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(o=>o in Nt)||Nt.CI_NAME==="codeship"?1:i;if("TEAMCITY_VERSION"in Nt)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Nt.TEAMCITY_VERSION)?1:0;if(Nt.COLORTERM==="truecolor"||Nt.TERM==="xterm-kitty")return 3;if("TERM_PROGRAM"in Nt){let o=Number.parseInt((Nt.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Nt.TERM_PROGRAM){case"iTerm.app":return o>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Nt.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Nt.TERM)||"COLORTERM"in Nt?1:i}function RR(r,e={}){let t=Dz(r,{streamIsTTY:r&&r.isTTY,...e});return Cz(t)}var wz={stdout:RR({isTTY:bR.isatty(1)}),stderr:RR({isTTY:bR.isatty(2)})},PR=wz;function IR(r,e,t){let n=r.indexOf(e);if(n===-1)return r;let s=e.length,i=0,o="";do o+=r.slice(i,n)+e+t,i=n+s,n=r.indexOf(e,i);while(n!==-1);return o+=r.slice(i),o}function LR(r,e,t,n){let s=0,i="";do{let o=r[n-1]==="\r";i+=r.slice(s,o?n-1:n)+e+(o?`\r
579
579
  `:`
580
580
  `)+t,s=n+1,n=r.indexOf(`
581
581
  `,s)}while(n!==-1);return i+=r.slice(s),i}var{stdout:NR,stderr:MR}=PR,k0=Symbol("GENERATOR"),ja=Symbol("STYLER"),Jc=Symbol("IS_EMPTY"),xR=["ansi","ansi","ansi256","ansi16m"],Ga=Object.create(null),bz=(r,e={})=>{if(e.level&&!(Number.isInteger(e.level)&&e.level>=0&&e.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let t=NR?NR.level:0;r.level=e.level===void 0?t:e.level};var Rz=r=>{let e=(...t)=>t.join(" ");return bz(e,r),Object.setPrototypeOf(e,Qc.prototype),e};function Qc(r){return Rz(r)}Object.setPrototypeOf(Qc.prototype,Function.prototype);for(let[r,e]of Object.entries(Hn))Ga[r]={get(){let t=qp(this,W0(e.open,e.close,this[ja]),this[Jc]);return Object.defineProperty(this,r,{value:t}),t}};Ga.visible={get(){let r=qp(this,this[ja],!0);return Object.defineProperty(this,"visible",{value:r}),r}};var H0=(r,e,t,...n)=>r==="rgb"?e==="ansi16m"?Hn[t].ansi16m(...n):e==="ansi256"?Hn[t].ansi256(Hn.rgbToAnsi256(...n)):Hn[t].ansi(Hn.rgbToAnsi(...n)):r==="hex"?H0("rgb",e,t,...Hn.hexToRgb(...n)):Hn[t][r](...n),Pz=["rgb","hex","ansi256"];for(let r of Pz){Ga[r]={get(){let{level:t}=this;return function(...n){let s=W0(H0(r,xR[t],"color",...n),Hn.color.close,this[ja]);return qp(this,s,this[Jc])}}};let e="bg"+r[0].toUpperCase()+r.slice(1);Ga[e]={get(){let{level:t}=this;return function(...n){let s=W0(H0(r,xR[t],"bgColor",...n),Hn.bgColor.close,this[ja]);return qp(this,s,this[Jc])}}}}var Iz=Object.defineProperties(()=>{},{...Ga,level:{enumerable:!0,get(){return this[k0].level},set(r){this[k0].level=r}}}),W0=(r,e,t)=>{let n,s;return t===void 0?(n=r,s=e):(n=t.openAll+r,s=e+t.closeAll),{open:r,close:e,openAll:n,closeAll:s,parent:t}},qp=(r,e,t)=>{let n=(...s)=>Lz(n,s.length===1?""+s[0]:s.join(" "));return Object.setPrototypeOf(n,Iz),n[k0]=r,n[ja]=e,n[Jc]=t,n},Lz=(r,e)=>{if(r.level<=0||!e)return r[Jc]?"":e;let t=r[ja];if(t===void 0)return e;let{openAll:n,closeAll:s}=t;if(e.includes("\x1B"))for(;t!==void 0;)e=IR(e,t.close,t.open),t=t.parent;let i=e.indexOf(`
@@ -586,14 +586,14 @@ Bus `);for(let a=1;a<o.length;a++){let u=m0e(o[a]);t.push(u)}}r&&r(t),e(t)}),u0e
586
586
  `)}rowToString(e,t){return this.rasterize(e).forEach((n,s)=>{let i="";n.forEach((o,a)=>{let{width:u}=e[a],c=this.negatePadding(e[a]),l=o;if(c>rn.stringWidth(o)&&(l+=" ".repeat(c-rn.stringWidth(o))),e[a].align&&e[a].align!=="left"&&this.wrap){let p=lee[e[a].align];l=p(l,c),rn.stringWidth(l)<c&&(l+=" ".repeat((u||0)-rn.stringWidth(l)-1))}let f=e[a].padding||[0,0,0,0];f[od]&&(i+=" ".repeat(f[od])),i+=QI(e[a],l,"| "),i+=l,i+=QI(e[a],l," |"),f[sd]&&(i+=" ".repeat(f[sd])),s===0&&t.length>0&&(i=this.renderInline(i,t[t.length-1]))}),t.push({text:i.replace(/ +$/,""),span:e.span})}),t}renderInline(e,t){let n=e.match(/^ */),s=n?n[0].length:0,i=t.text,o=rn.stringWidth(i.trimRight());return t.span?this.wrap?s<o?e:(t.hidden=!0,i.trimRight()+" ".repeat(s-o)+e.trimLeft()):(t.hidden=!0,i+e):e}rasterize(e){let t=[],n=this.columnWidths(e),s;return e.forEach((i,o)=>{i.width=n[o],this.wrap?s=rn.wrap(i.text,this.negatePadding(i),{hard:!0}).split(`
587
587
  `):s=i.text.split(`
588
588
  `),i.border&&(s.unshift("."+"-".repeat(this.negatePadding(i)+2)+"."),s.push("'"+"-".repeat(this.negatePadding(i)+2)+"'")),i.padding&&(s.unshift(...new Array(i.padding[fee]||0).fill("")),s.push(...new Array(i.padding[pee]||0).fill(""))),s.forEach((a,u)=>{t[u]||t.push([]);let c=t[u];for(let l=0;l<o;l++)c[l]===void 0&&c.push("");c.push(a)})}),t}negatePadding(e){let t=e.width||0;return e.padding&&(t-=(e.padding[od]||0)+(e.padding[sd]||0)),e.border&&(t-=4),t}columnWidths(e){if(!this.wrap)return e.map(o=>o.width||rn.stringWidth(o.text));let t=e.length,n=this.width,s=e.map(o=>{if(o.width)return t--,n-=o.width,o.width}),i=t?Math.floor(n/t):0;return s.map((o,a)=>o===void 0?Math.max(i,dee(e[a])):o)}};function QI(r,e,t){return r.border?/[.']-+[.']/.test(e)?"":e.trim().length!==0?t:" ":""}function dee(r){let e=r.padding||[],t=1+(e[od]||0)+(e[sd]||0);return r.border?t+4:t}function hee(){return typeof process=="object"&&process.stdout&&process.stdout.columns?process.stdout.columns:80}function mee(r,e){r=r.trim();let t=rn.stringWidth(r);return t<e?" ".repeat(e-t)+r:r}function gee(r,e){r=r.trim();let t=rn.stringWidth(r);return t>=e?r:" ".repeat(e-t>>1)+r}var rn;function ZI(r,e){return rn=e,new D_({width:r?.width||hee(),wrap:r?.wrap})}var eL=new RegExp("\x1B(?:\\[(?:\\d+[ABCDEFGJKSTm]|\\d+;\\d+[Hfm]|\\d+;\\d+;\\d+m|6n|s|u|\\?25[lh])|\\w)","g");function w_(r){return r.replace(eL,"")}function tL(r,e){let[t,n]=r.match(eL)||["",""];r=w_(r);let s="";for(let i=0;i<r.length;i++)i!==0&&i%e===0&&(s+=`
589
- `),s+=r.charAt(i);return t&&n&&(s=`${t}${s}${n}`),s}function b_(r){return ZI(r,{stringWidth:e=>[...e].length,stripAnsi:w_,wrap:tL})}import{dirname as rL,resolve as nL}from"path";import{readdirSync as Eee,statSync as _ee}from"fs";function iL(r,e){let t=nL(".",r),n;for(_ee(t).isDirectory()||(t=rL(t));;){if(n=e(t,Eee(t)),n)return nL(t,n);if(t=rL(n=t),n===t)break}}import{inspect as wee}from"util";import{readFileSync as bee}from"fs";import{fileURLToPath as Ree}from"url";import{basename as Pee,dirname as Iee,extname as Lee,relative as Nee,resolve as uL}from"path";import{readFileSync as See,statSync as Tee,writeFile as yee}from"fs";import{format as Aee}from"util";import{resolve as Oee}from"path";var sL={fs:{readFileSync:See,writeFile:yee},format:Aee,resolve:Oee,exists:r=>{try{return Tee(r).isFile()}catch{return!1}}};var Wn,R_=class{constructor(e){e=e||{},this.directory=e.directory||"./locales",this.updateFiles=typeof e.updateFiles=="boolean"?e.updateFiles:!0,this.locale=e.locale||"en",this.fallbackToLanguage=typeof e.fallbackToLanguage=="boolean"?e.fallbackToLanguage:!0,this.cache=Object.create(null),this.writeQueue=[]}__(...e){if(typeof arguments[0]!="string")return this._taggedLiteral(arguments[0],...arguments);let t=e.shift(),n=function(){};return typeof e[e.length-1]=="function"&&(n=e.pop()),n=n||function(){},this.cache[this.locale]||this._readLocaleFile(),!this.cache[this.locale][t]&&this.updateFiles?(this.cache[this.locale][t]=t,this._enqueueWrite({directory:this.directory,locale:this.locale,cb:n})):n(),Wn.format.apply(Wn.format,[this.cache[this.locale][t]||t].concat(e))}__n(){let e=Array.prototype.slice.call(arguments),t=e.shift(),n=e.shift(),s=e.shift(),i=function(){};typeof e[e.length-1]=="function"&&(i=e.pop()),this.cache[this.locale]||this._readLocaleFile();let o=s===1?t:n;this.cache[this.locale][t]&&(o=this.cache[this.locale][t][s===1?"one":"other"]),!this.cache[this.locale][t]&&this.updateFiles?(this.cache[this.locale][t]={one:t,other:n},this._enqueueWrite({directory:this.directory,locale:this.locale,cb:i})):i();let a=[o];return~o.indexOf("%d")&&a.push(s),Wn.format.apply(Wn.format,a.concat(e))}setLocale(e){this.locale=e}getLocale(){return this.locale}updateLocale(e){this.cache[this.locale]||this._readLocaleFile();for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(this.cache[this.locale][t]=e[t])}_taggedLiteral(e,...t){let n="";return e.forEach(function(s,i){let o=t[i+1];n+=s,typeof o<"u"&&(n+="%s")}),this.__.apply(this,[n].concat([].slice.call(t,1)))}_enqueueWrite(e){this.writeQueue.push(e),this.writeQueue.length===1&&this._processWriteQueue()}_processWriteQueue(){let e=this,t=this.writeQueue[0],n=t.directory,s=t.locale,i=t.cb,o=this._resolveLocaleFile(n,s),a=JSON.stringify(this.cache[s],null,2);Wn.fs.writeFile(o,a,"utf-8",function(u){e.writeQueue.shift(),e.writeQueue.length>0&&e._processWriteQueue(),i(u)})}_readLocaleFile(){let e={},t=this._resolveLocaleFile(this.directory,this.locale);try{Wn.fs.readFileSync&&(e=JSON.parse(Wn.fs.readFileSync(t,"utf-8")))}catch(n){if(n instanceof SyntaxError&&(n.message="syntax error in "+t),n.code==="ENOENT")e={};else throw n}this.cache[this.locale]=e}_resolveLocaleFile(e,t){let n=Wn.resolve(e,"./",t+".json");if(this.fallbackToLanguage&&!this._fileExistsSync(n)&&~t.lastIndexOf("_")){let s=Wn.resolve(e,"./",t.split("_")[0]+".json");this._fileExistsSync(s)&&(n=s)}return n}_fileExistsSync(e){return Wn.exists(e)}};function oL(r,e){Wn=e;let t=new R_(r);return{__:t.__.bind(t),__n:t.__n.bind(t),setLocale:t.setLocale.bind(t),getLocale:t.getLocale.bind(t),updateLocale:t.updateLocale.bind(t),locale:t.locale}}var vee=r=>oL(r,sL),aL=vee;var Mee="require is not supported by ESM",cL="loading a directory of commands is not supported yet for ESM",ll;try{ll=Ree(import.meta.url)}catch{ll=process.cwd()}var xee=ll.substring(0,ll.lastIndexOf("node_modules")),Uee={assert:{notStrictEqual:Cee,strictEqual:Dee},cliui:b_,findUp:iL,getEnv:r=>process.env[r],inspect:wee,getCallerFile:()=>{throw new _o(cL)},getProcessArgvBin:WI,mainFilename:xee||process.cwd(),Parser:cl,path:{basename:Pee,dirname:Iee,extname:Lee,relative:Nee,resolve:uL},process:{argv:()=>process.argv,cwd:process.cwd,emitWarning:(r,e)=>process.emitWarning(r,e),execPath:()=>process.execPath,exit:process.exit,nextTick:process.nextTick,stdColumns:typeof process.stdout.columns<"u"?process.stdout.columns:null},readFileSync:bee,require:()=>{throw new _o(Mee)},requireDirectory:()=>{throw new _o(cL)},stringWidth:r=>[...r].length,y18n:aL({directory:uL(ll,"../../../locales"),updateFiles:!1})};var BN=gr(VN(),1),{applyExtends:kte,cjsPlatformShim:Hte,Parser:Wte,processArgv:Yte,Yargs:vd}=BN.default;vd.applyExtends=(r,e,t)=>kte(r,e,t,Hte);vd.hideBin=Yte.hideBin;vd.Parser=Wte;var FN=vd;var lt=gr(V2(),1);var $d="create-cedar-app",kd="2.0.1-next.23+ee9637a66";Pe();Pe();var bW=gr($q(),1),lC=gr(Vu(),1),AE=gr(Ik(),1),Wf=gr(Si(),1),RW=gr(xk(),1),PW=gr(Vk(),1),fC=gr(DW(),1);var hr=[];for(let r=0;r<256;++r)hr.push((r+256).toString(16).slice(1));function wW(r,e=0){return(hr[r[e+0]]+hr[r[e+1]]+hr[r[e+2]]+hr[r[e+3]]+"-"+hr[r[e+4]]+hr[r[e+5]]+"-"+hr[r[e+6]]+hr[r[e+7]]+"-"+hr[r[e+8]]+hr[r[e+9]]+"-"+hr[r[e+10]]+hr[r[e+11]]+hr[r[e+12]]+hr[r[e+13]]+hr[r[e+14]]+hr[r[e+15]]).toLowerCase()}import i_e from"node:crypto";var TE=new Uint8Array(256),SE=TE.length;function aC(){return SE>TE.length-16&&(i_e.randomFillSync(TE),SE=0),TE.slice(SE,SE+=16)}import s_e from"node:crypto";var uC={randomUUID:s_e.randomUUID};function o_e(r,e,t){if(uC.randomUUID&&!e&&!r)return uC.randomUUID();r=r||{};let n=r.random||(r.rng||aC)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,e){t=t||0;for(let s=0;s<16;++s)e[t+s]=n[s];return e}return wW(n)}var cC=o_e;var yE,pC,dC,hC=cC();async function IW(){Mc.setLogger(new Qf,Wt.ERROR);let r=JSON.parse(await PW.default.run({System:["OS","Shell"],Binaries:["Node","Yarn","npm"],npmPackages:"@cedarjs/*",IDEs:["VSCode"]},{json:!0})),e=r.System?.Shell;e?.path?.match("/")?r.System.Shell.name=r.System.Shell.path.split("/").pop():e?.path.match("\\")&&(r.System.Shell.name=r.System.Shell.path.split("\\").pop());let t=await fC.default.cpu(),n=await fC.default.mem(),s;Object.keys(process.env).some(o=>o.startsWith("GITPOD_"))&&(s="gitpod");let i=lC.Resource.default().merge(new lC.Resource({[Wf.SemanticResourceAttributes.SERVICE_NAME]:$d,[Wf.SemanticResourceAttributes.SERVICE_VERSION]:kd,[Wf.SemanticResourceAttributes.OS_TYPE]:r.System?.OS?.split(" ")[0],[Wf.SemanticResourceAttributes.OS_VERSION]:r.System?.OS?.split(" ")[1],"shell.name":r.System?.Shell?.name,"node.version":r.Binaries?.Node?.version,"yarn.version":r.Binaries?.Yarn?.version,"npm.version":r.Binaries?.npm?.version,"vscode.version":r.IDEs?.VSCode?.version,"cpu.count":t.physicalCores,"memory.gb":Math.round(n.total/1073741824),"env.node_env":process.env.NODE_ENV||null,"ci.redwood":!!process.env.REDWOOD_CI,"ci.isci":RW.default.isCI,"dev.environment":s,uid:hC}));yE=new AE.NodeTracerProvider({resource:i}),dC=new bW.OTLPTraceExporter({url:process.env.REDWOOD_REDIRECT_TELEMETRY||"https://quark.quantumparticle.io/v1/traces"}),pC=new AE.BatchSpanProcessor(dC),yE.addSpanProcessor(pC),yE.register(),process.on("SIGTERM",async()=>{await ur()})}async function ur(){try{xc.trace.getActiveSpan()?.end(),await yE?.shutdown(),await pC?.shutdown(),await dC?.shutdown()}catch{}}function Pr(r){xc.trace.getActiveSpan()?.setStatus({code:Zi.ERROR,message:r.toString().split(`
590
- `)[0]}),xc.trace.getActiveSpan()?.recordException(r)}var NW="Initial commit",{telemetry:u_e}=cl(td(process.argv),{boolean:["telemetry"],default:{telemetry:process.env.REDWOOD_DISABLE_TELEMETRY===void 0||process.env.REDWOOD_DISABLE_TELEMETRY===""}}),ze=new lt.RedwoodTUI;function c_e(){let{npm_config_user_agent:r}=process.env;if(r){let e=r.match(/yarn\/(\d+)/);if(e&&e[1])return parseInt(e[1],10)>=2}return!1}async function l_e(r){let e=new lt.ReactiveTUIContent({mode:"text",content:"Checking node and yarn compatibility",spinner:{enabled:!0}});ze.startReactive(e);let[t,n]=await f_e(r);if(t){e.update({spinner:{enabled:!1},content:`${lt.RedwoodStyling.green("\u2714")} Compatibility checks passed`}),ze.stopReactive();return}if(!t){mC.default.lt(n.node.version.version,mC.default.minVersion(n.node.wanted.raw))&&(ze.stopReactive(!0),ze.displayError("Compatibility checks failed",[" You need to upgrade the version of node you're using.",` You're using ${n.node.version.version} and we currently support node ${n.node.wanted.range}.`,""," Please use tools like nvm or corepack to change to a compatible version.",` See: ${(0,Yf.terminalLink)("How to - Using nvm","https://cedarjs.com/docs/how-to/using-nvm",{fallback:()=>"How to - Using nvm https://cedarjs.com/docs/how-to/using-nvm"})}`,` See: ${(0,Yf.terminalLink)("Tutorial - Prerequisites","https://cedarjs.com/docs/tutorial/chapter1/prerequisites",{fallback:()=>"Tutorial - Prerequisites https://cedarjs.com/docs/tutorial/chapter1/prerequisites"})}`].join(`
589
+ `),s+=r.charAt(i);return t&&n&&(s=`${t}${s}${n}`),s}function b_(r){return ZI(r,{stringWidth:e=>[...e].length,stripAnsi:w_,wrap:tL})}import{dirname as rL,resolve as nL}from"path";import{readdirSync as Eee,statSync as _ee}from"fs";function iL(r,e){let t=nL(".",r),n;for(_ee(t).isDirectory()||(t=rL(t));;){if(n=e(t,Eee(t)),n)return nL(t,n);if(t=rL(n=t),n===t)break}}import{inspect as wee}from"util";import{readFileSync as bee}from"fs";import{fileURLToPath as Ree}from"url";import{basename as Pee,dirname as Iee,extname as Lee,relative as Nee,resolve as uL}from"path";import{readFileSync as See,statSync as Tee,writeFile as yee}from"fs";import{format as Aee}from"util";import{resolve as Oee}from"path";var sL={fs:{readFileSync:See,writeFile:yee},format:Aee,resolve:Oee,exists:r=>{try{return Tee(r).isFile()}catch{return!1}}};var Wn,R_=class{constructor(e){e=e||{},this.directory=e.directory||"./locales",this.updateFiles=typeof e.updateFiles=="boolean"?e.updateFiles:!0,this.locale=e.locale||"en",this.fallbackToLanguage=typeof e.fallbackToLanguage=="boolean"?e.fallbackToLanguage:!0,this.cache=Object.create(null),this.writeQueue=[]}__(...e){if(typeof arguments[0]!="string")return this._taggedLiteral(arguments[0],...arguments);let t=e.shift(),n=function(){};return typeof e[e.length-1]=="function"&&(n=e.pop()),n=n||function(){},this.cache[this.locale]||this._readLocaleFile(),!this.cache[this.locale][t]&&this.updateFiles?(this.cache[this.locale][t]=t,this._enqueueWrite({directory:this.directory,locale:this.locale,cb:n})):n(),Wn.format.apply(Wn.format,[this.cache[this.locale][t]||t].concat(e))}__n(){let e=Array.prototype.slice.call(arguments),t=e.shift(),n=e.shift(),s=e.shift(),i=function(){};typeof e[e.length-1]=="function"&&(i=e.pop()),this.cache[this.locale]||this._readLocaleFile();let o=s===1?t:n;this.cache[this.locale][t]&&(o=this.cache[this.locale][t][s===1?"one":"other"]),!this.cache[this.locale][t]&&this.updateFiles?(this.cache[this.locale][t]={one:t,other:n},this._enqueueWrite({directory:this.directory,locale:this.locale,cb:i})):i();let a=[o];return~o.indexOf("%d")&&a.push(s),Wn.format.apply(Wn.format,a.concat(e))}setLocale(e){this.locale=e}getLocale(){return this.locale}updateLocale(e){this.cache[this.locale]||this._readLocaleFile();for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(this.cache[this.locale][t]=e[t])}_taggedLiteral(e,...t){let n="";return e.forEach(function(s,i){let o=t[i+1];n+=s,typeof o<"u"&&(n+="%s")}),this.__.apply(this,[n].concat([].slice.call(t,1)))}_enqueueWrite(e){this.writeQueue.push(e),this.writeQueue.length===1&&this._processWriteQueue()}_processWriteQueue(){let e=this,t=this.writeQueue[0],n=t.directory,s=t.locale,i=t.cb,o=this._resolveLocaleFile(n,s),a=JSON.stringify(this.cache[s],null,2);Wn.fs.writeFile(o,a,"utf-8",function(u){e.writeQueue.shift(),e.writeQueue.length>0&&e._processWriteQueue(),i(u)})}_readLocaleFile(){let e={},t=this._resolveLocaleFile(this.directory,this.locale);try{Wn.fs.readFileSync&&(e=JSON.parse(Wn.fs.readFileSync(t,"utf-8")))}catch(n){if(n instanceof SyntaxError&&(n.message="syntax error in "+t),n.code==="ENOENT")e={};else throw n}this.cache[this.locale]=e}_resolveLocaleFile(e,t){let n=Wn.resolve(e,"./",t+".json");if(this.fallbackToLanguage&&!this._fileExistsSync(n)&&~t.lastIndexOf("_")){let s=Wn.resolve(e,"./",t.split("_")[0]+".json");this._fileExistsSync(s)&&(n=s)}return n}_fileExistsSync(e){return Wn.exists(e)}};function oL(r,e){Wn=e;let t=new R_(r);return{__:t.__.bind(t),__n:t.__n.bind(t),setLocale:t.setLocale.bind(t),getLocale:t.getLocale.bind(t),updateLocale:t.updateLocale.bind(t),locale:t.locale}}var vee=r=>oL(r,sL),aL=vee;var Mee="require is not supported by ESM",cL="loading a directory of commands is not supported yet for ESM",ll;try{ll=Ree(import.meta.url)}catch{ll=process.cwd()}var xee=ll.substring(0,ll.lastIndexOf("node_modules")),Uee={assert:{notStrictEqual:Cee,strictEqual:Dee},cliui:b_,findUp:iL,getEnv:r=>process.env[r],inspect:wee,getCallerFile:()=>{throw new _o(cL)},getProcessArgvBin:WI,mainFilename:xee||process.cwd(),Parser:cl,path:{basename:Pee,dirname:Iee,extname:Lee,relative:Nee,resolve:uL},process:{argv:()=>process.argv,cwd:process.cwd,emitWarning:(r,e)=>process.emitWarning(r,e),execPath:()=>process.execPath,exit:process.exit,nextTick:process.nextTick,stdColumns:typeof process.stdout.columns<"u"?process.stdout.columns:null},readFileSync:bee,require:()=>{throw new _o(Mee)},requireDirectory:()=>{throw new _o(cL)},stringWidth:r=>[...r].length,y18n:aL({directory:uL(ll,"../../../locales"),updateFiles:!1})};var BN=gr(VN(),1),{applyExtends:kte,cjsPlatformShim:Hte,Parser:Wte,processArgv:Yte,Yargs:vd}=BN.default;vd.applyExtends=(r,e,t)=>kte(r,e,t,Hte);vd.hideBin=Yte.hideBin;vd.Parser=Wte;var FN=vd;var lt=gr(V2(),1);var $d="create-cedar-app",kd="2.0.1-next.26+8b9090065";Pe();Pe();var b9=gr($q(),1),lC=gr(Vu(),1),AE=gr(Ik(),1),Wf=gr(Si(),1),R9=gr(xk(),1),P9=gr(Vk(),1),fC=gr(D9(),1);var hr=[];for(let r=0;r<256;++r)hr.push((r+256).toString(16).slice(1));function w9(r,e=0){return(hr[r[e+0]]+hr[r[e+1]]+hr[r[e+2]]+hr[r[e+3]]+"-"+hr[r[e+4]]+hr[r[e+5]]+"-"+hr[r[e+6]]+hr[r[e+7]]+"-"+hr[r[e+8]]+hr[r[e+9]]+"-"+hr[r[e+10]]+hr[r[e+11]]+hr[r[e+12]]+hr[r[e+13]]+hr[r[e+14]]+hr[r[e+15]]).toLowerCase()}import i_e from"node:crypto";var TE=new Uint8Array(256),SE=TE.length;function aC(){return SE>TE.length-16&&(i_e.randomFillSync(TE),SE=0),TE.slice(SE,SE+=16)}import s_e from"node:crypto";var uC={randomUUID:s_e.randomUUID};function o_e(r,e,t){if(uC.randomUUID&&!e&&!r)return uC.randomUUID();r=r||{};let n=r.random||(r.rng||aC)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,e){t=t||0;for(let s=0;s<16;++s)e[t+s]=n[s];return e}return w9(n)}var cC=o_e;var yE,pC,dC,hC=cC();async function I9(){Mc.setLogger(new Qf,Wt.ERROR);let r=JSON.parse(await P9.default.run({System:["OS","Shell"],Binaries:["Node","Yarn","npm"],npmPackages:"@cedarjs/*",IDEs:["VSCode"]},{json:!0})),e=r.System?.Shell;e?.path?.match("/")?r.System.Shell.name=r.System.Shell.path.split("/").pop():e?.path.match("\\")&&(r.System.Shell.name=r.System.Shell.path.split("\\").pop());let t=await fC.default.cpu(),n=await fC.default.mem(),s;Object.keys(process.env).some(o=>o.startsWith("GITPOD_"))&&(s="gitpod");let i=lC.Resource.default().merge(new lC.Resource({[Wf.SemanticResourceAttributes.SERVICE_NAME]:$d,[Wf.SemanticResourceAttributes.SERVICE_VERSION]:kd,[Wf.SemanticResourceAttributes.OS_TYPE]:r.System?.OS?.split(" ")[0],[Wf.SemanticResourceAttributes.OS_VERSION]:r.System?.OS?.split(" ")[1],"shell.name":r.System?.Shell?.name,"node.version":r.Binaries?.Node?.version,"yarn.version":r.Binaries?.Yarn?.version,"npm.version":r.Binaries?.npm?.version,"vscode.version":r.IDEs?.VSCode?.version,"cpu.count":t.physicalCores,"memory.gb":Math.round(n.total/1073741824),"env.node_env":process.env.NODE_ENV||null,"ci.redwood":!!process.env.REDWOOD_CI,"ci.isci":R9.default.isCI,"dev.environment":s,uid:hC}));yE=new AE.NodeTracerProvider({resource:i}),dC=new b9.OTLPTraceExporter({url:process.env.REDWOOD_REDIRECT_TELEMETRY||"https://quark.quantumparticle.io/v1/traces"}),pC=new AE.BatchSpanProcessor(dC),yE.addSpanProcessor(pC),yE.register(),process.on("SIGTERM",async()=>{await ur()})}async function ur(){try{xc.trace.getActiveSpan()?.end(),await yE?.shutdown(),await pC?.shutdown(),await dC?.shutdown()}catch{}}function Pr(r){xc.trace.getActiveSpan()?.setStatus({code:Zi.ERROR,message:r.toString().split(`
590
+ `)[0]}),xc.trace.getActiveSpan()?.recordException(r)}var N9="Initial commit",{telemetry:u_e}=cl(td(process.argv),{boolean:["telemetry"],default:{telemetry:process.env.REDWOOD_DISABLE_TELEMETRY===void 0||process.env.REDWOOD_DISABLE_TELEMETRY===""}}),ze=new lt.RedwoodTUI;function c_e(){let{npm_config_user_agent:r}=process.env;if(r){let e=r.match(/yarn\/(\d+)/);if(e&&e[1])return parseInt(e[1],10)>=2}return!1}async function l_e(r){let e=new lt.ReactiveTUIContent({mode:"text",content:"Checking node and yarn compatibility",spinner:{enabled:!0}});ze.startReactive(e);let[t,n]=await f_e(r);if(t){e.update({spinner:{enabled:!1},content:`${lt.RedwoodStyling.green("\u2714")} Compatibility checks passed`}),ze.stopReactive();return}if(!t){mC.default.lt(n.node.version.version,mC.default.minVersion(n.node.wanted.raw))&&(ze.stopReactive(!0),ze.displayError("Compatibility checks failed",[" You need to upgrade the version of node you're using.",` You're using ${n.node.version.version} and we currently support node ${n.node.wanted.range}.`,""," Please use tools like nvm or corepack to change to a compatible version.",` See: ${(0,Yf.terminalLink)("How to - Using nvm","https://cedarjs.com/docs/how-to/using-nvm",{fallback:()=>"How to - Using nvm https://cedarjs.com/docs/how-to/using-nvm"})}`,` See: ${(0,Yf.terminalLink)("Tutorial - Prerequisites","https://cedarjs.com/docs/tutorial/chapter1/prerequisites",{fallback:()=>"Tutorial - Prerequisites https://cedarjs.com/docs/tutorial/chapter1/prerequisites"})}`].join(`
591
591
  `)),Pr("Compatibility checks failed"),await ur(),process.exit(1)),ze.stopReactive(!0),ze.displayWarning("Compatibility checks failed",[" You may want to downgrade the version of node you're using.",` You're using ${n.node.version.version} and we currently support node ${n.node.wanted.range}.`,""," This may make your project incompatible with some deploy targets, especially those using AWS Lambdas.",""," Please use tools like nvm or corepack to change to a compatible version.",` See: ${(0,Yf.terminalLink)("How to - Use nvm","https://cedarjs.com/docs/how-to/using-nvm",{fallback:()=>"How to - Use nvm https://cedarjs.com/docs/how-to/using-nvm"})}`,` See: ${(0,Yf.terminalLink)("Tutorial - Prerequisites","https://cedarjs.com/docs/tutorial/chapter1/prerequisites",{fallback:()=>"Tutorial - Prerequisites https://cedarjs.com/docs/tutorial/chapter1/prerequisites"})}`].join(`
592
- `));try{(await ze.prompt({type:"select",name:"override-engine-error",message:"How would you like to proceed?",choices:["Override error and continue install","Quit install"],initial:0}))["override-engine-error"]==="Quit install"&&(Pr("User quit after engine check error"),await ur(),process.exit(0))}catch{Pr("User cancelled install at engine check error"),await ur(),process.exit(1)}}}function f_e(r){return new Promise(e=>{let{engines:t}=Pi.default.readJSONSync(ai.join(r,"package.json"));(0,LW.default)(t,(n,s)=>e([s.isSatisfied,s.versions]))})}async function p_e(r,{templateDir:e,overwrite:t}){let n=r,s=new lt.ReactiveTUIContent({mode:"text",content:"Creating project files",spinner:{enabled:!0}});return ze.startReactive(s),n=await gC(n,{overwrite:t}),Pi.default.ensureDirSync(ai.dirname(n)),Pi.default.copySync(e,n,{overwrite:t}),Pi.default.renameSync(ai.join(n,"gitignore.template"),ai.join(n,".gitignore")),Pi.default.ensureDirSync(ai.join(n,".redwood")),Pi.default.writeFileSync(ai.join(n,".redwood","telemetry.txt"),hC),s.update({spinner:{enabled:!1},content:`${lt.RedwoodStyling.green("\u2714")} Project files created`}),ze.stopReactive(),n}async function d_e(r){let e=new lt.ReactiveTUIContent({mode:"text",header:"Installing node modules",content:" \u23F1 This could take a while...",spinner:{enabled:!0}});ze.startReactive(e);let t=process.cwd();process.chdir(r);let n=(0,OE.default)("yarn install",{shell:!0,cwd:r});try{await n}catch(s){ze.stopReactive(!0),ze.displayError("Couldn't install node modules",[`We couldn't install node modules via ${lt.RedwoodStyling.info("'yarn install'")}. Please see below for the full error message.`,"",s].join(`
592
+ `));try{(await ze.prompt({type:"select",name:"override-engine-error",message:"How would you like to proceed?",choices:["Override error and continue install","Quit install"],initial:0}))["override-engine-error"]==="Quit install"&&(Pr("User quit after engine check error"),await ur(),process.exit(0))}catch{Pr("User cancelled install at engine check error"),await ur(),process.exit(1)}}}function f_e(r){return new Promise(e=>{let{engines:t}=Pi.default.readJSONSync(ai.join(r,"package.json"));(0,L9.default)(t,(n,s)=>e([s.isSatisfied,s.versions]))})}async function p_e(r,{templateDir:e,overwrite:t}){let n=r,s=new lt.ReactiveTUIContent({mode:"text",content:"Creating project files",spinner:{enabled:!0}});return ze.startReactive(s),n=await gC(n,{overwrite:t}),Pi.default.ensureDirSync(ai.dirname(n)),Pi.default.copySync(e,n,{overwrite:t}),Pi.default.renameSync(ai.join(n,"gitignore.template"),ai.join(n,".gitignore")),Pi.default.ensureDirSync(ai.join(n,".redwood")),Pi.default.writeFileSync(ai.join(n,".redwood","telemetry.txt"),hC),s.update({spinner:{enabled:!1},content:`${lt.RedwoodStyling.green("\u2714")} Project files created`}),ze.stopReactive(),n}async function d_e(r){let e=new lt.ReactiveTUIContent({mode:"text",header:"Installing node modules",content:" \u23F1 This could take a while...",spinner:{enabled:!0}});ze.startReactive(e);let t=process.cwd();process.chdir(r);let n=(0,OE.default)("yarn install",{shell:!0,cwd:r});try{await n}catch(s){ze.stopReactive(!0),ze.displayError("Couldn't install node modules",[`We couldn't install node modules via ${lt.RedwoodStyling.info("'yarn install'")}. Please see below for the full error message.`,"",s].join(`
593
593
  `)),Pr(s),await ur(),process.chdir(t),process.exit(1)}process.chdir(t),e.update({header:"",content:`${lt.RedwoodStyling.green("\u2714")} Installed node modules`,spinner:{enabled:!1}}),ze.stopReactive()}async function h_e(r){let e=new lt.ReactiveTUIContent({mode:"text",content:"Generating types",spinner:{enabled:!0}});ze.startReactive(e);let t=(0,OE.default)("yarn rw-gen",{shell:!0,cwd:r});try{await t}catch(n){ze.stopReactive(!0),ze.displayError("Couldn't generate types",[`We could not generate types using ${lt.RedwoodStyling.info("'yarn rw-gen'")}. Please see below for the full error message.`,"",n].join(`
594
594
  `)),Pr(n),await ur(),process.exit(1)}e.update({content:`${lt.RedwoodStyling.green("\u2714")} Generated types`,spinner:{enabled:!1}}),ze.stopReactive()}async function m_e(r,e){let t=new lt.ReactiveTUIContent({mode:"text",content:"Initializing a git repo",spinner:{enabled:!0}});ze.startReactive(t);let n=(0,OE.default)(`git init && git add . && git commit -m "${e}"`,{shell:!0,cwd:r});try{await n}catch(s){ze.stopReactive(!0),ze.displayError("Couldn't initialize a git repo",[`We could not initialize a git repo using ${lt.RedwoodStyling.info(`git init && git add . && git commit -m "${e}"`)}. Please see below for the full error message.`,"",s].join(`
595
595
  `)),Pr(s),await ur(),process.exit(1)}t.update({content:`${lt.RedwoodStyling.green("\u2714")} Initialized a git repo with commit message "${e}"`,spinner:{enabled:!1}}),ze.stopReactive()}async function g_e(r){if(r){let e=r==="."?"the current directory":r;return ze.drawText(`${lt.RedwoodStyling.green("\u2714")} Creating your Cedar app in ${e} based on command line argument`),r}try{let e=await ze.prompt({type:"input",name:"targetDir",message:"Where would you like to create your CedarJS app?",initial:"my-cedar-app"});return/^~\w/.test(e.targetDir)&&(ze.stopReactive(!0),ze.displayError("The `~username` syntax is not supported here","Please use the full path or specify the target directory on the command line."),Pr("Target dir prompt path syntax not supported"),await ur(),process.exit(1)),(0,EC.default)(e.targetDir)}catch{Pr("User cancelled install at target dir prompt"),await ur(),process.exit(1)}}async function E_e(r){if(r!==null)return ze.drawText(`${lt.RedwoodStyling.green("\u2714")} Using ${r?"TypeScript":"JavaScript"} based on command line flag`),r;try{return(await ze.prompt({type:"Select",name:"language",choices:["TypeScript","JavaScript"],message:"Select your preferred language",initial:"TypeScript"})).language==="TypeScript"}catch{Pr("User cancelled install at language prompt"),await ur(),process.exit(1)}}async function S_e(r){return r!==null?(ze.drawText(`${lt.RedwoodStyling.green("\u2714")} Setting up ${r?"an ESM":"a CJS"} project based on command line flag`),r):!1}async function T_e(r){if(r!==null)return ze.drawText(`${lt.RedwoodStyling.green("\u2714")} ${r?"Will":"Will not"} initialize a git repo based on command line flag`),r;try{return(await ze.prompt({type:"Toggle",name:"git",message:"Do you want to initialize a git repo?",enabled:"Yes",disabled:"no",initial:"Yes"})).git}catch{Pr("User cancelled install at git prompt"),await ur(),process.exit(1)}}async function gC(r,{overwrite:e,suppressWarning:t}){let n=r;if(Pi.default.existsSync(n)&&!e&&Pi.default.readdirSync(n).length>0){let s=lt.RedwoodStyling.info(n);t||(ze.stopReactive(!0),ze.displayWarning("Project directory already contains files",[`'${s}' already exists and is not empty`].join(`
596
- `)));try{let i=await ze.prompt({type:"select",name:"projectDirectoryAlreadyExists",message:"How would you like to proceed?",choices:["Quit install",`Overwrite files in '${s}' and continue install`,"Specify a different directory"],initial:0});if(i.projectDirectoryAlreadyExists===`Overwrite files in '${s}' and continue install`)await Pi.default.remove(n);else if(i.projectDirectoryAlreadyExists==="Specify a different directory"){let o=await y_e();/^~\w/.test(o)?(ze.stopReactive(!0),ze.displayError("The `~username` syntax is not supported here","Please use the full path or specify the target directory on the command line."),n=await gC(r,{overwrite:e,suppressWarning:!0})):n=ai.resolve(process.cwd(),(0,EC.default)(o)),n=await gC(n,{overwrite:e})}else i.projectDirectoryAlreadyExists==="Quit install"&&(Pr("User quit after directory already exists error"),await ur(),process.exit(1))}catch{Pr("User cancelled install after directory already exists error"),await ur(),process.exit(1)}}return n}async function y_e(){try{return(await ze.prompt({type:"input",name:"targetDirectoryInput",message:"What directory would you like to create the app in?",initial:"my-cedar-app"})).targetDirectoryInput}catch{Pr("User cancelled install at specify a different directory prompt"),await ur(),process.exit(1)}}async function A_e(r){if(r!==null)return r;try{return(await ze.prompt({type:"input",name:"commitMessage",message:"Enter a commit message",initial:NW})).commitMessage}catch{Pr("User cancelled install at commit message prompt"),await ur(),process.exit(1)}}async function O_e(r){if(r!==null)return ze.drawText(`${lt.RedwoodStyling.green("\u2714")} ${r?"Will":"Will not"} run yarn install based on command line flag`),r;try{return(await ze.prompt({type:"Toggle",name:"yarnInstall",message:"Do you want to run yarn install?",enabled:"Yes",disabled:"no",initial:"Yes"})).yarnInstall}catch{Pr("User cancelled install at yarn install prompt"),await ur(),process.exit(1)}}async function v_e(){let r=FN(td(process.argv)).scriptName($d).usage("Usage: $0 <project directory>").example("$0 my-cedar-app").version(kd).option("yes",{alias:"y",default:null,type:"boolean",describe:"Skip prompts and use defaults"}).option("node-check",{default:!0,type:"boolean",describe:"Check if the installed version of Node is supported"}).option("overwrite",{default:!1,type:"boolean",describe:"Create even if target directory isn't empty"}).option("typescript",{alias:"ts",default:null,type:"boolean",describe:"Generate a TypeScript project"}).option("esm",{hidden:!0,default:null,type:"boolean",describe:"Generate an ESM project"}).option("git-init",{alias:"git",default:null,type:"boolean",describe:"Initialize a git repository"}).option("commit-message",{alias:"m",default:null,type:"string",describe:"Commit message for the initial commit"}).option("telemetry",{default:!0,type:"boolean",describe:"Enables sending telemetry events for this create command and all Cedar CLI commands https://telemetry.redwoodjs.com"}),e=c_e();e&&r.option("yarn-install",{default:null,type:"boolean",describe:"Install node modules. Skip via --no-yarn-install."});let t=r.parse();console.log(HR(["#00ff41","#008f11"]).multiline(`
596
+ `)));try{let i=await ze.prompt({type:"select",name:"projectDirectoryAlreadyExists",message:"How would you like to proceed?",choices:["Quit install",`Overwrite files in '${s}' and continue install`,"Specify a different directory"],initial:0});if(i.projectDirectoryAlreadyExists===`Overwrite files in '${s}' and continue install`)await Pi.default.remove(n);else if(i.projectDirectoryAlreadyExists==="Specify a different directory"){let o=await y_e();/^~\w/.test(o)?(ze.stopReactive(!0),ze.displayError("The `~username` syntax is not supported here","Please use the full path or specify the target directory on the command line."),n=await gC(r,{overwrite:e,suppressWarning:!0})):n=ai.resolve(process.cwd(),(0,EC.default)(o)),n=await gC(n,{overwrite:e})}else i.projectDirectoryAlreadyExists==="Quit install"&&(Pr("User quit after directory already exists error"),await ur(),process.exit(1))}catch{Pr("User cancelled install after directory already exists error"),await ur(),process.exit(1)}}return n}async function y_e(){try{return(await ze.prompt({type:"input",name:"targetDirectoryInput",message:"What directory would you like to create the app in?",initial:"my-cedar-app"})).targetDirectoryInput}catch{Pr("User cancelled install at specify a different directory prompt"),await ur(),process.exit(1)}}async function A_e(r){if(r!==null)return r;try{return(await ze.prompt({type:"input",name:"commitMessage",message:"Enter a commit message",initial:N9})).commitMessage}catch{Pr("User cancelled install at commit message prompt"),await ur(),process.exit(1)}}async function O_e(r){if(r!==null)return ze.drawText(`${lt.RedwoodStyling.green("\u2714")} ${r?"Will":"Will not"} run yarn install based on command line flag`),r;try{return(await ze.prompt({type:"Toggle",name:"yarnInstall",message:"Do you want to run yarn install?",enabled:"Yes",disabled:"no",initial:"Yes"})).yarnInstall}catch{Pr("User cancelled install at yarn install prompt"),await ur(),process.exit(1)}}async function v_e(){let r=FN(td(process.argv)).scriptName($d).usage("Usage: $0 <project directory>").example("$0 my-cedar-app").version(kd).option("yes",{alias:"y",default:null,type:"boolean",describe:"Skip prompts and use defaults"}).option("node-check",{default:!0,type:"boolean",describe:"Check if the installed version of Node is supported"}).option("overwrite",{default:!1,type:"boolean",describe:"Create even if target directory isn't empty"}).option("typescript",{alias:"ts",default:null,type:"boolean",describe:"Generate a TypeScript project"}).option("esm",{hidden:!0,default:null,type:"boolean",describe:"Generate an ESM project"}).option("git-init",{alias:"git",default:null,type:"boolean",describe:"Initialize a git repository"}).option("commit-message",{alias:"m",default:null,type:"string",describe:"Commit message for the initial commit"}).option("telemetry",{default:!0,type:"boolean",describe:"Enables sending telemetry events for this create command and all Cedar CLI commands https://telemetry.redwoodjs.com"}),e=c_e();e&&r.option("yarn-install",{default:null,type:"boolean",describe:"Install node modules. Skip via --no-yarn-install."});let t=r.parse();console.log(HR(["#00ff41","#008f11"]).multiline(`
597
597
 
598
598
  \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588
599
599
  \u2588\u2588\u2588\u2591\u2591\u2591\u2591\u2591\u2588\u2588\u2588 \u2591\u2591\u2588\u2588\u2588 \u2591\u2591\u2588\u2588\u2588 \u2588\u2588\u2588\u2591\u2591\u2591\u2591\u2591\u2588\u2588\u2588
@@ -604,8 +604,8 @@ Bus `);for(let a=1;a<o.length;a++){let u=m0e(o[a]);t.push(u)}}r&&r(t),e(t)}),u0e
604
604
  \u2591\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2591\u2591\u2588\u2588\u2588\u2588\u2588\u2588 \u2591\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2591\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588 \u2591\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2591\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588
605
605
  \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 \u2591\u2591\u2591\u2591\u2591\u2591 \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 \u2591\u2591\u2591\u2591\u2591 \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591
606
606
 
607
- `));let s=t._,i=t["yarn-install"]??(e?t.yes:null),o=t.typescript??t.yes,a=t.esm,u=t.overwrite,c=t["git-init"]??t.yes,l=t["commit-message"]??(t.yes?NW:null);gn.getActiveSpan()?.setAttribute("yarn-install",i),gn.getActiveSpan()?.setAttribute("overwrite",u);let f=String(s).replace(/,/g,"-"),p=a_e(new URL("../templates",import.meta.url)),d=t["node-check"];d?await l_e(ai.join(p,"ts")):ze.drawText(`${lt.RedwoodStyling.info("\u2139")} Skipped node version check`),gn.getActiveSpan()?.setAttribute("node-check",d),f=await g_e(f);let m=await E_e(o);gn.getActiveSpan()?.setAttribute("typescript",m);let g=await S_e(a);gn.getActiveSpan()?.setAttribute("esm",g);let h=ai.join(p,m?g?"esm-ts":"ts":g?"esm-js":"js"),E=await T_e(c);gn.getActiveSpan()?.setAttribute("git",E);let S;E&&(S=await A_e(l));let _=!1;e&&(_=await O_e(i));let T=ai.resolve(process.cwd(),f);if(T=await p_e(T,{templateDir:h,overwrite:u}),_){let R=Date.now();await d_e(T),gn.getActiveSpan()?.setAttribute("yarn-install-time",Date.now()-R)}else e&&ze.drawText(`${lt.RedwoodStyling.info("\u2139")} Skipped yarn install step`);_&&await h_e(T),E&&await m_e(T,S);let y=T!==process.cwd();ze.drawText(["",lt.RedwoodStyling.success("Thanks for trying out CedarJS!"),"",` \u26A1\uFE0F ${lt.RedwoodStyling.redwood("Get up and running fast with this Quick Start guide")}: https://cedarjs.com/docs/quick-start`,"",`${lt.RedwoodStyling.header("Fire it up!")} \u{1F680}`,"",...[y&&`${lt.RedwoodStyling.redwood(` > ${lt.RedwoodStyling.green(`cd ${ai.relative(process.cwd(),T)}`)}`)}`,!_&&`${lt.RedwoodStyling.redwood(` > ${lt.RedwoodStyling.green("yarn install")}`)}`,`${lt.RedwoodStyling.redwood(` > ${lt.RedwoodStyling.green("yarn cedar dev")}`)}`].filter(Boolean),""].join(`
608
- `))}if(u_e)try{await IW()}catch(r){console.error("Telemetry startup error"),console.error(r)}var C_e=gn.getTracer("redwoodjs");await C_e.startActiveSpan("create-cedar-app",async r=>{await v_e(),r?.setStatus({code:Zi.OK}),r?.end()});try{await ur()}catch(r){console.error("Telemetry shutdown error"),console.error(r)}
607
+ `));let s=t._,i=t["yarn-install"]??(e?t.yes:null),o=t.typescript??t.yes,a=t.esm,u=t.overwrite,c=t["git-init"]??t.yes,l=t["commit-message"]??(t.yes?N9:null);gn.getActiveSpan()?.setAttribute("yarn-install",i),gn.getActiveSpan()?.setAttribute("overwrite",u);let f=String(s).replace(/,/g,"-"),p=a_e(new URL("../templates",import.meta.url)),d=t["node-check"];d?await l_e(ai.join(p,"ts")):ze.drawText(`${lt.RedwoodStyling.info("\u2139")} Skipped node version check`),gn.getActiveSpan()?.setAttribute("node-check",d),f=await g_e(f);let m=await E_e(o);gn.getActiveSpan()?.setAttribute("typescript",m);let g=await S_e(a);gn.getActiveSpan()?.setAttribute("esm",g);let h=ai.join(p,m?g?"esm-ts":"ts":g?"esm-js":"js"),E=await T_e(c);gn.getActiveSpan()?.setAttribute("git",E);let S;E&&(S=await A_e(l));let _=!1;e&&(_=await O_e(i));let T=ai.resolve(process.cwd(),f);if(T=await p_e(T,{templateDir:h,overwrite:u}),_){let R=Date.now();await d_e(T),gn.getActiveSpan()?.setAttribute("yarn-install-time",Date.now()-R)}else e&&ze.drawText(`${lt.RedwoodStyling.info("\u2139")} Skipped yarn install step`);_&&await h_e(T),E&&await m_e(T,S);let y=T!==process.cwd();ze.drawText(["",lt.RedwoodStyling.success("Thanks for trying out CedarJS!"),"",` \u26A1\uFE0F ${lt.RedwoodStyling.redwood("Get up and running fast with this Quick Start guide")}: https://cedarjs.com/docs/quick-start`,"",`${lt.RedwoodStyling.header("Fire it up!")} \u{1F680}`,"",...[y&&`${lt.RedwoodStyling.redwood(` > ${lt.RedwoodStyling.green(`cd ${ai.relative(process.cwd(),T)}`)}`)}`,!_&&`${lt.RedwoodStyling.redwood(` > ${lt.RedwoodStyling.green("yarn install")}`)}`,`${lt.RedwoodStyling.redwood(` > ${lt.RedwoodStyling.green("yarn cedar dev")}`)}`].filter(Boolean),""].join(`
608
+ `))}if(u_e)try{await I9()}catch(r){console.error("Telemetry startup error"),console.error(r)}var C_e=gn.getTracer("redwoodjs");await C_e.startActiveSpan("create-cedar-app",async r=>{await v_e(),r?.setStatus({code:Zi.OK}),r?.end()});try{await ur()}catch(r){console.error("Telemetry shutdown error"),console.error(r)}
609
609
  /*! Bundled license information:
610
610
 
611
611
  queue-microtask/index.js:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-cedar-app",
3
- "version": "2.0.1-next.23+ee9637a66",
3
+ "version": "2.0.1-next.26+8b9090065",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/cedarjs/cedar.git",
@@ -27,7 +27,7 @@
27
27
  "@babel/core": "^7.26.10",
28
28
  "@babel/plugin-transform-typescript": "^7.26.8",
29
29
  "@cedarjs/framework-tools": "2.0.0",
30
- "@cedarjs/tui": "2.0.1-next.23+ee9637a66",
30
+ "@cedarjs/tui": "2.0.1-next.26+8b9090065",
31
31
  "@opentelemetry/api": "1.8.0",
32
32
  "@opentelemetry/exporter-trace-otlp-http": "0.49.1",
33
33
  "@opentelemetry/resources": "1.22.0",
@@ -55,5 +55,5 @@
55
55
  "publishConfig": {
56
56
  "access": "public"
57
57
  },
58
- "gitHead": "ee9637a6646277cf451b4bc1f84718a97f336889"
58
+ "gitHead": "8b90900651144e4f60c9097680599bce3897e912"
59
59
  }
@@ -3,7 +3,7 @@
3
3
  "version": "0.0.0",
4
4
  "private": true,
5
5
  "dependencies": {
6
- "@cedarjs/api": "2.0.1-next.23",
7
- "@cedarjs/graphql-server": "2.0.1-next.23"
6
+ "@cedarjs/api": "2.0.1-next.26",
7
+ "@cedarjs/graphql-server": "2.0.1-next.26"
8
8
  }
9
9
  }
@@ -7,9 +7,9 @@
7
7
  ]
8
8
  },
9
9
  "devDependencies": {
10
- "@cedarjs/core": "2.0.1-next.23",
11
- "@cedarjs/project-config": "2.0.1-next.23",
12
- "@cedarjs/testing": "2.0.1-next.23"
10
+ "@cedarjs/core": "2.0.1-next.26",
11
+ "@cedarjs/project-config": "2.0.1-next.26",
12
+ "@cedarjs/testing": "2.0.1-next.26"
13
13
  },
14
14
  "eslintConfig": {
15
15
  "extends": "@cedarjs/eslint-config",
@@ -11,14 +11,14 @@
11
11
  ]
12
12
  },
13
13
  "dependencies": {
14
- "@cedarjs/forms": "2.0.1-next.23",
15
- "@cedarjs/router": "2.0.1-next.23",
16
- "@cedarjs/web": "2.0.1-next.23",
14
+ "@cedarjs/forms": "2.0.1-next.26",
15
+ "@cedarjs/router": "2.0.1-next.26",
16
+ "@cedarjs/web": "2.0.1-next.26",
17
17
  "react": "18.3.1",
18
18
  "react-dom": "18.3.1"
19
19
  },
20
20
  "devDependencies": {
21
- "@cedarjs/vite": "2.0.1-next.23",
21
+ "@cedarjs/vite": "2.0.1-next.26",
22
22
  "@types/react": "^18.2.55",
23
23
  "@types/react-dom": "^18.2.19"
24
24
  }
@@ -3,7 +3,7 @@
3
3
  "version": "0.0.0",
4
4
  "private": true,
5
5
  "dependencies": {
6
- "@cedarjs/api": "2.0.1-next.23",
7
- "@cedarjs/graphql-server": "2.0.1-next.23"
6
+ "@cedarjs/api": "2.0.1-next.26",
7
+ "@cedarjs/graphql-server": "2.0.1-next.26"
8
8
  }
9
9
  }
@@ -7,9 +7,9 @@
7
7
  ]
8
8
  },
9
9
  "devDependencies": {
10
- "@cedarjs/core": "2.0.1-next.23",
11
- "@cedarjs/project-config": "2.0.1-next.23",
12
- "@cedarjs/testing": "2.0.1-next.23"
10
+ "@cedarjs/core": "2.0.1-next.26",
11
+ "@cedarjs/project-config": "2.0.1-next.26",
12
+ "@cedarjs/testing": "2.0.1-next.26"
13
13
  },
14
14
  "eslintConfig": {
15
15
  "extends": "@cedarjs/eslint-config",
@@ -11,14 +11,14 @@
11
11
  ]
12
12
  },
13
13
  "dependencies": {
14
- "@cedarjs/forms": "2.0.1-next.23",
15
- "@cedarjs/router": "2.0.1-next.23",
16
- "@cedarjs/web": "2.0.1-next.23",
14
+ "@cedarjs/forms": "2.0.1-next.26",
15
+ "@cedarjs/router": "2.0.1-next.26",
16
+ "@cedarjs/web": "2.0.1-next.26",
17
17
  "react": "18.3.1",
18
18
  "react-dom": "18.3.1"
19
19
  },
20
20
  "devDependencies": {
21
- "@cedarjs/vite": "2.0.1-next.23",
21
+ "@cedarjs/vite": "2.0.1-next.26",
22
22
  "@types/react": "^18.2.55",
23
23
  "@types/react-dom": "^18.2.19"
24
24
  }