prisma
Version:
Prisma is an open-source database toolkit. It includes a JavaScript/TypeScript ORM for Node.js, migrations and a modern GUI to view and edit the data in your database. You can use Prisma in new projects or add it to an existing one.
2 lines • 2.64 MB
JavaScript
#!/usr/bin/env node
"use strict";var Qrt=Object.create;var BO=Object.defineProperty;var Xrt=Object.getOwnPropertyDescriptor;var ent=Object.getOwnPropertyNames;var tnt=Object.getPrototypeOf,rnt=Object.prototype.hasOwnProperty;var pt=(e,r)=>()=>(e&&(r=e(e=0)),r);var C=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),ec=(e,r)=>{for(var n in r)BO(e,n,{get:r[n],enumerable:!0})},LO=(e,r,n,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of ent(r))!rnt.call(e,i)&&i!==n&&BO(e,i,{get:()=>r[i],enumerable:!(o=Xrt(r,i))||o.enumerable});return e},UO=(e,r,n)=>(LO(e,r,"default"),n&&LO(n,r,"default")),H=(e,r,n)=>(n=e!=null?Qrt(tnt(e)):{},LO(r||!e||!e.__esModule?BO(n,"default",{value:e,enumerable:!0}):n,e)),jO=e=>LO(BO({},"__esModule",{value:!0}),e);var ope,ipe=pt(()=>{"use strict";ope=typeof globalThis=="object"?globalThis:global});var spe=pt(()=>{"use strict";ipe()});var ape=pt(()=>{"use strict";spe()});var Gf,FU=pt(()=>{"use strict";Gf="1.9.0"});function nnt(e){var r=new Set([e]),n=new Set,o=e.match(cpe);if(!o)return function(){return!1};var i={major:+o[1],minor:+o[2],patch:+o[3],prerelease:o[4]};if(i.prerelease!=null)return function(l){return l===e};function a(u){return n.add(u),!1}function c(u){return r.add(u),!0}return function(l){if(r.has(l))return!0;if(n.has(l))return!1;var p=l.match(cpe);if(!p)return a(l);var f={major:+p[1],minor:+p[2],patch:+p[3],prerelease:p[4]};return f.prerelease!=null||i.major!==f.major?a(l):i.major===0?i.minor===f.minor&&i.patch<=f.patch?c(l):a(l):i.minor<=f.minor?c(l):a(l)}}var cpe,upe,lpe=pt(()=>{"use strict";FU();cpe=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;upe=nnt(Gf)});function hp(e,r,n,o){var i;o===void 0&&(o=!1);var a=T1[_1]=(i=T1[_1])!==null&&i!==void 0?i:{version:Gf};if(!o&&a[e]){var c=new Error("@opentelemetry/api: Attempted duplicate registration of API: "+e);return n.error(c.stack||c.message),!1}if(a.version!==Gf){var c=new Error("@opentelemetry/api: Registration of version v"+a.version+" for "+e+" does not match previously registered API v"+Gf);return n.error(c.stack||c.message),!1}return a[e]=r,n.debug("@opentelemetry/api: Registered a global for "+e+" v"+Gf+"."),!0}function tc(e){var r,n,o=(r=T1[_1])===null||r===void 0?void 0:r.version;if(!(!o||!upe(o)))return(n=T1[_1])===null||n===void 0?void 0:n[e]}function gp(e,r){r.debug("@opentelemetry/api: Unregistering a global for "+e+" v"+Gf+".");var n=T1[_1];n&&delete n[e]}var ont,_1,T1,U0=pt(()=>{"use strict";ape();FU();lpe();ont=Gf.split(".")[0],_1=Symbol.for("opentelemetry.js.api."+ont),T1=ope});function D1(e,r,n){var o=tc("diag");if(o)return n.unshift(r),o[e].apply(o,snt([],int(n),!1))}var int,snt,ppe,fpe=pt(()=>{"use strict";U0();int=function(e,r){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var o=n.call(e),i,a=[],c;try{for(;(r===void 0||r-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(u){c={error:u}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(c)throw c.error}}return a},snt=function(e,r,n){if(n||arguments.length===2)for(var o=0,i=r.length,a;o<i;o++)(a||!(o in r))&&(a||(a=Array.prototype.slice.call(r,0,o)),a[o]=r[o]);return e.concat(a||Array.prototype.slice.call(r))},ppe=function(){function e(r){this._namespace=r.namespace||"DiagComponentLogger"}return e.prototype.debug=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return D1("debug",this._namespace,r)},e.prototype.error=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return D1("error",this._namespace,r)},e.prototype.info=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return D1("info",this._namespace,r)},e.prototype.warn=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return D1("warn",this._namespace,r)},e.prototype.verbose=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return D1("verbose",this._namespace,r)},e}()});var zi,qO=pt(()=>{"use strict";(function(e){e[e.NONE=0]="NONE",e[e.ERROR=30]="ERROR",e[e.WARN=50]="WARN",e[e.INFO=60]="INFO",e[e.DEBUG=70]="DEBUG",e[e.VERBOSE=80]="VERBOSE",e[e.ALL=9999]="ALL"})(zi||(zi={}))});function dpe(e,r){e<zi.NONE?e=zi.NONE:e>zi.ALL&&(e=zi.ALL),r=r||{};function n(o,i){var a=r[o];return typeof a=="function"&&e>=i?a.bind(r):function(){}}return{error:n("error",zi.ERROR),warn:n("warn",zi.WARN),info:n("info",zi.INFO),debug:n("debug",zi.DEBUG),verbose:n("verbose",zi.VERBOSE)}}var mpe=pt(()=>{"use strict";qO()});var ant,cnt,unt,xs,j0=pt(()=>{"use strict";fpe();mpe();qO();U0();ant=function(e,r){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var o=n.call(e),i,a=[],c;try{for(;(r===void 0||r-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(u){c={error:u}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(c)throw c.error}}return a},cnt=function(e,r,n){if(n||arguments.length===2)for(var o=0,i=r.length,a;o<i;o++)(a||!(o in r))&&(a||(a=Array.prototype.slice.call(r,0,o)),a[o]=r[o]);return e.concat(a||Array.prototype.slice.call(r))},unt="diag",xs=function(){function e(){function r(i){return function(){for(var a=[],c=0;c<arguments.length;c++)a[c]=arguments[c];var u=tc("diag");if(u)return u[i].apply(u,cnt([],ant(a),!1))}}var n=this,o=function(i,a){var c,u,l;if(a===void 0&&(a={logLevel:zi.INFO}),i===n){var p=new Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return n.error((c=p.stack)!==null&&c!==void 0?c:p.message),!1}typeof a=="number"&&(a={logLevel:a});var f=tc("diag"),g=dpe((u=a.logLevel)!==null&&u!==void 0?u:zi.INFO,i);if(f&&!a.suppressOverrideMessage){var x=(l=new Error().stack)!==null&&l!==void 0?l:"<failed to generate stacktrace>";f.warn("Current logger will be overwritten from "+x),g.warn("Current logger will overwrite one already registered from "+x)}return hp("diag",g,n,!0)};n.setLogger=o,n.disable=function(){gp(unt,n)},n.createComponentLogger=function(i){return new ppe(i)},n.verbose=r("verbose"),n.debug=r("debug"),n.info=r("info"),n.warn=r("warn"),n.error=r("error")}return e.instance=function(){return this._instance||(this._instance=new e),this._instance},e}()});var lnt,pnt,hpe,gpe=pt(()=>{"use strict";lnt=function(e,r){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var o=n.call(e),i,a=[],c;try{for(;(r===void 0||r-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(u){c={error:u}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(c)throw c.error}}return a},pnt=function(e){var r=typeof Symbol=="function"&&Symbol.iterator,n=r&&e[r],o=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")},hpe=function(){function e(r){this._entries=r?new Map(r):new Map}return e.prototype.getEntry=function(r){var n=this._entries.get(r);if(n)return Object.assign({},n)},e.prototype.getAllEntries=function(){return Array.from(this._entries.entries()).map(function(r){var n=lnt(r,2),o=n[0],i=n[1];return[o,i]})},e.prototype.setEntry=function(r,n){var o=new e(this._entries);return o._entries.set(r,n),o},e.prototype.removeEntry=function(r){var n=new e(this._entries);return n._entries.delete(r),n},e.prototype.removeEntries=function(){for(var r,n,o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var a=new e(this._entries);try{for(var c=pnt(o),u=c.next();!u.done;u=c.next()){var l=u.value;a._entries.delete(l)}}catch(p){r={error:p}}finally{try{u&&!u.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}return a},e.prototype.clear=function(){return new e},e}()});var ype,xpe=pt(()=>{"use strict";ype=Symbol("BaggageEntryMetadata")});function bpe(e){return e===void 0&&(e={}),new hpe(new Map(Object.entries(e)))}function Epe(e){return typeof e!="string"&&(fnt.error("Cannot create baggage metadata from unknown type: "+typeof e),e=""),{__TYPE__:ype,toString:function(){return e}}}var fnt,MU=pt(()=>{"use strict";j0();gpe();xpe();fnt=xs.instance()});function Zm(e){return Symbol.for(e)}var dnt,GO,A1=pt(()=>{"use strict";dnt=function(){function e(r){var n=this;n._currentContext=r?new Map(r):new Map,n.getValue=function(o){return n._currentContext.get(o)},n.setValue=function(o,i){var a=new e(n._currentContext);return a._currentContext.set(o,i),a},n.deleteValue=function(o){var i=new e(n._currentContext);return i._currentContext.delete(o),i}}return e}(),GO=new dnt});var kU,vpe,Spe=pt(()=>{"use strict";kU=[{n:"error",c:"error"},{n:"warn",c:"warn"},{n:"info",c:"info"},{n:"debug",c:"debug"},{n:"verbose",c:"trace"}],vpe=function(){function e(){function r(o){return function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];if(console){var c=console[o];if(typeof c!="function"&&(c=console.log),typeof c=="function")return c.apply(console,i)}}}for(var n=0;n<kU.length;n++)this[kU[n].n]=r(kU[n].c)}return e}()});function wpe(){return $U}var q0,mnt,HO,hnt,gnt,ynt,xnt,NU,bnt,Ent,vnt,$U,Snt,wnt,_nt,Tnt,Dnt,Ant,Cnt,LU=pt(()=>{"use strict";q0=function(){var e=function(r,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,i){o.__proto__=i}||function(o,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(o[a]=i[a])},e(r,n)};return function(r,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(r,n);function o(){this.constructor=r}r.prototype=n===null?Object.create(n):(o.prototype=n.prototype,new o)}}(),mnt=function(){function e(){}return e.prototype.createGauge=function(r,n){return wnt},e.prototype.createHistogram=function(r,n){return _nt},e.prototype.createCounter=function(r,n){return Snt},e.prototype.createUpDownCounter=function(r,n){return Tnt},e.prototype.createObservableGauge=function(r,n){return Ant},e.prototype.createObservableCounter=function(r,n){return Dnt},e.prototype.createObservableUpDownCounter=function(r,n){return Cnt},e.prototype.addBatchObservableCallback=function(r,n){},e.prototype.removeBatchObservableCallback=function(r){},e}(),HO=function(){function e(){}return e}(),hnt=function(e){q0(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r.prototype.add=function(n,o){},r}(HO),gnt=function(e){q0(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r.prototype.add=function(n,o){},r}(HO),ynt=function(e){q0(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r.prototype.record=function(n,o){},r}(HO),xnt=function(e){q0(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r.prototype.record=function(n,o){},r}(HO),NU=function(){function e(){}return e.prototype.addCallback=function(r){},e.prototype.removeCallback=function(r){},e}(),bnt=function(e){q0(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r}(NU),Ent=function(e){q0(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r}(NU),vnt=function(e){q0(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r}(NU),$U=new mnt,Snt=new hnt,wnt=new ynt,_nt=new xnt,Tnt=new gnt,Dnt=new bnt,Ant=new Ent,Cnt=new vnt});var WO,_pe=pt(()=>{"use strict";(function(e){e[e.INT=0]="INT",e[e.DOUBLE=1]="DOUBLE"})(WO||(WO={}))});var VO,zO,BU=pt(()=>{"use strict";VO={get:function(e,r){if(e!=null)return e[r]},keys:function(e){return e==null?[]:Object.keys(e)}},zO={set:function(e,r,n){e!=null&&(e[r]=n)}}});var Pnt,Ont,Tpe,Dpe=pt(()=>{"use strict";A1();Pnt=function(e,r){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var o=n.call(e),i,a=[],c;try{for(;(r===void 0||r-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(u){c={error:u}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(c)throw c.error}}return a},Ont=function(e,r,n){if(n||arguments.length===2)for(var o=0,i=r.length,a;o<i;o++)(a||!(o in r))&&(a||(a=Array.prototype.slice.call(r,0,o)),a[o]=r[o]);return e.concat(a||Array.prototype.slice.call(r))},Tpe=function(){function e(){}return e.prototype.active=function(){return GO},e.prototype.with=function(r,n,o){for(var i=[],a=3;a<arguments.length;a++)i[a-3]=arguments[a];return n.call.apply(n,Ont([o],Pnt(i),!1))},e.prototype.bind=function(r,n){return n},e.prototype.enable=function(){return this},e.prototype.disable=function(){return this},e}()});var Int,Rnt,UU,Fnt,Qm,C1=pt(()=>{"use strict";Dpe();U0();j0();Int=function(e,r){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var o=n.call(e),i,a=[],c;try{for(;(r===void 0||r-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(u){c={error:u}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(c)throw c.error}}return a},Rnt=function(e,r,n){if(n||arguments.length===2)for(var o=0,i=r.length,a;o<i;o++)(a||!(o in r))&&(a||(a=Array.prototype.slice.call(r,0,o)),a[o]=r[o]);return e.concat(a||Array.prototype.slice.call(r))},UU="context",Fnt=new Tpe,Qm=function(){function e(){}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalContextManager=function(r){return hp(UU,r,xs.instance())},e.prototype.active=function(){return this._getContextManager().active()},e.prototype.with=function(r,n,o){for(var i,a=[],c=3;c<arguments.length;c++)a[c-3]=arguments[c];return(i=this._getContextManager()).with.apply(i,Rnt([r,n,o],Int(a),!1))},e.prototype.bind=function(r,n){return this._getContextManager().bind(r,n)},e.prototype._getContextManager=function(){return tc(UU)||Fnt},e.prototype.disable=function(){this._getContextManager().disable(),gp(UU,xs.instance())},e}()});var zc,jU=pt(()=>{"use strict";(function(e){e[e.NONE=0]="NONE",e[e.SAMPLED=1]="SAMPLED"})(zc||(zc={}))});var P1,O1,TE,KO=pt(()=>{"use strict";jU();P1="0000000000000000",O1="00000000000000000000000000000000",TE={traceId:O1,spanId:P1,traceFlags:zc.NONE}});var Xm,JO=pt(()=>{"use strict";KO();Xm=function(){function e(r){r===void 0&&(r=TE),this._spanContext=r}return e.prototype.spanContext=function(){return this._spanContext},e.prototype.setAttribute=function(r,n){return this},e.prototype.setAttributes=function(r){return this},e.prototype.addEvent=function(r,n){return this},e.prototype.addLink=function(r){return this},e.prototype.addLinks=function(r){return this},e.prototype.setStatus=function(r){return this},e.prototype.updateName=function(r){return this},e.prototype.end=function(r){},e.prototype.isRecording=function(){return!1},e.prototype.recordException=function(r,n){},e}()});function YO(e){return e.getValue(qU)||void 0}function Ape(){return YO(Qm.getInstance().active())}function I1(e,r){return e.setValue(qU,r)}function Cpe(e){return e.deleteValue(qU)}function Ppe(e,r){return I1(e,new Xm(r))}function ZO(e){var r;return(r=YO(e))===null||r===void 0?void 0:r.spanContext()}var qU,GU=pt(()=>{"use strict";A1();JO();C1();qU=Zm("OpenTelemetry Context Key SPAN")});function R1(e){return Mnt.test(e)&&e!==O1}function HU(e){return knt.test(e)&&e!==P1}function eh(e){return R1(e.traceId)&&HU(e.spanId)}function Ope(e){return new Xm(e)}var Mnt,knt,QO=pt(()=>{"use strict";KO();JO();Mnt=/^([0-9a-f]{32})$/i,knt=/^[0-9a-f]{16}$/i});function Nnt(e){return typeof e=="object"&&typeof e.spanId=="string"&&typeof e.traceId=="string"&&typeof e.traceFlags=="number"}var WU,XO,VU=pt(()=>{"use strict";C1();GU();JO();QO();WU=Qm.getInstance(),XO=function(){function e(){}return e.prototype.startSpan=function(r,n,o){o===void 0&&(o=WU.active());var i=!!n?.root;if(i)return new Xm;var a=o&&ZO(o);return Nnt(a)&&eh(a)?new Xm(a):new Xm},e.prototype.startActiveSpan=function(r,n,o,i){var a,c,u;if(!(arguments.length<2)){arguments.length===2?u=n:arguments.length===3?(a=n,u=o):(a=n,c=o,u=i);var l=c??WU.active(),p=this.startSpan(r,a,l),f=I1(l,p);return WU.with(f,u,void 0,p)}},e}()});var $nt,eI,zU=pt(()=>{"use strict";VU();$nt=new XO,eI=function(){function e(r,n,o,i){this._provider=r,this.name=n,this.version=o,this.options=i}return e.prototype.startSpan=function(r,n,o){return this._getTracer().startSpan(r,n,o)},e.prototype.startActiveSpan=function(r,n,o,i){var a=this._getTracer();return Reflect.apply(a.startActiveSpan,a,arguments)},e.prototype._getTracer=function(){if(this._delegate)return this._delegate;var r=this._provider.getDelegateTracer(this.name,this.version,this.options);return r?(this._delegate=r,this._delegate):$nt},e}()});var Ipe,Rpe=pt(()=>{"use strict";VU();Ipe=function(){function e(){}return e.prototype.getTracer=function(r,n,o){return new XO},e}()});var Lnt,F1,KU=pt(()=>{"use strict";zU();Rpe();Lnt=new Ipe,F1=function(){function e(){}return e.prototype.getTracer=function(r,n,o){var i;return(i=this.getDelegateTracer(r,n,o))!==null&&i!==void 0?i:new eI(this,r,n,o)},e.prototype.getDelegate=function(){var r;return(r=this._delegate)!==null&&r!==void 0?r:Lnt},e.prototype.setDelegate=function(r){this._delegate=r},e.prototype.getDelegateTracer=function(r,n,o){var i;return(i=this._delegate)===null||i===void 0?void 0:i.getTracer(r,n,o)},e}()});var G0,Fpe=pt(()=>{"use strict";(function(e){e[e.NOT_RECORD=0]="NOT_RECORD",e[e.RECORD=1]="RECORD",e[e.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"})(G0||(G0={}))});var DE,Mpe=pt(()=>{"use strict";(function(e){e[e.INTERNAL=0]="INTERNAL",e[e.SERVER=1]="SERVER",e[e.CLIENT=2]="CLIENT",e[e.PRODUCER=3]="PRODUCER",e[e.CONSUMER=4]="CONSUMER"})(DE||(DE={}))});var AE,kpe=pt(()=>{"use strict";(function(e){e[e.UNSET=0]="UNSET",e[e.OK=1]="OK",e[e.ERROR=2]="ERROR"})(AE||(AE={}))});function Npe(e){return jnt.test(e)}function $pe(e){return qnt.test(e)&&!Gnt.test(e)}var JU,Bnt,Unt,jnt,qnt,Gnt,Lpe=pt(()=>{"use strict";JU="[_0-9a-z-*/]",Bnt="[a-z]"+JU+"{0,255}",Unt="[a-z0-9]"+JU+"{0,240}@[a-z]"+JU+"{0,13}",jnt=new RegExp("^(?:"+Bnt+"|"+Unt+")$"),qnt=/^[ -~]{0,255}[!-~]$/,Gnt=/,|=/});var Bpe,Hnt,Upe,jpe,qpe,Gpe=pt(()=>{"use strict";Lpe();Bpe=32,Hnt=512,Upe=",",jpe="=",qpe=function(){function e(r){this._internalState=new Map,r&&this._parse(r)}return e.prototype.set=function(r,n){var o=this._clone();return o._internalState.has(r)&&o._internalState.delete(r),o._internalState.set(r,n),o},e.prototype.unset=function(r){var n=this._clone();return n._internalState.delete(r),n},e.prototype.get=function(r){return this._internalState.get(r)},e.prototype.serialize=function(){var r=this;return this._keys().reduce(function(n,o){return n.push(o+jpe+r.get(o)),n},[]).join(Upe)},e.prototype._parse=function(r){r.length>Hnt||(this._internalState=r.split(Upe).reverse().reduce(function(n,o){var i=o.trim(),a=i.indexOf(jpe);if(a!==-1){var c=i.slice(0,a),u=i.slice(a+1,o.length);Npe(c)&&$pe(u)&&n.set(c,u)}return n},new Map),this._internalState.size>Bpe&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,Bpe))))},e.prototype._keys=function(){return Array.from(this._internalState.keys()).reverse()},e.prototype._clone=function(){var r=new e;return r._internalState=new Map(this._internalState),r},e}()});function Hpe(e){return new qpe(e)}var Wpe=pt(()=>{"use strict";Gpe()});var Hf,Vpe=pt(()=>{"use strict";C1();Hf=Qm.getInstance()});var yr,zpe=pt(()=>{"use strict";j0();yr=xs.instance()});var Wnt,Kpe,Jpe=pt(()=>{"use strict";LU();Wnt=function(){function e(){}return e.prototype.getMeter=function(r,n,o){return $U},e}(),Kpe=new Wnt});var YU,Ype,Zpe=pt(()=>{"use strict";Jpe();U0();j0();YU="metrics",Ype=function(){function e(){}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalMeterProvider=function(r){return hp(YU,r,xs.instance())},e.prototype.getMeterProvider=function(){return tc(YU)||Kpe},e.prototype.getMeter=function(r,n,o){return this.getMeterProvider().getMeter(r,n,o)},e.prototype.disable=function(){gp(YU,xs.instance())},e}()});var ZU,Qpe=pt(()=>{"use strict";Zpe();ZU=Ype.getInstance()});var Xpe,efe=pt(()=>{"use strict";Xpe=function(){function e(){}return e.prototype.inject=function(r,n){},e.prototype.extract=function(r,n){return r},e.prototype.fields=function(){return[]},e}()});function XU(e){return e.getValue(QU)||void 0}function tfe(){return XU(Qm.getInstance().active())}function rfe(e,r){return e.setValue(QU,r)}function nfe(e){return e.deleteValue(QU)}var QU,ofe=pt(()=>{"use strict";C1();A1();QU=Zm("OpenTelemetry Baggage Key")});var ej,Vnt,ife,sfe=pt(()=>{"use strict";U0();efe();BU();ofe();MU();j0();ej="propagation",Vnt=new Xpe,ife=function(){function e(){this.createBaggage=bpe,this.getBaggage=XU,this.getActiveBaggage=tfe,this.setBaggage=rfe,this.deleteBaggage=nfe}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalPropagator=function(r){return hp(ej,r,xs.instance())},e.prototype.inject=function(r,n,o){return o===void 0&&(o=zO),this._getGlobalPropagator().inject(r,n,o)},e.prototype.extract=function(r,n,o){return o===void 0&&(o=VO),this._getGlobalPropagator().extract(r,n,o)},e.prototype.fields=function(){return this._getGlobalPropagator().fields()},e.prototype.disable=function(){gp(ej,xs.instance())},e.prototype._getGlobalPropagator=function(){return tc(ej)||Vnt},e}()});var tj,afe=pt(()=>{"use strict";sfe();tj=ife.getInstance()});var rj,cfe,ufe=pt(()=>{"use strict";U0();KU();QO();GU();j0();rj="trace",cfe=function(){function e(){this._proxyTracerProvider=new F1,this.wrapSpanContext=Ope,this.isSpanContextValid=eh,this.deleteSpan=Cpe,this.getSpan=YO,this.getActiveSpan=Ape,this.getSpanContext=ZO,this.setSpan=I1,this.setSpanContext=Ppe}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalTracerProvider=function(r){var n=hp(rj,this._proxyTracerProvider,xs.instance());return n&&this._proxyTracerProvider.setDelegate(r),n},e.prototype.getTracerProvider=function(){return tc(rj)||this._proxyTracerProvider},e.prototype.getTracer=function(r,n){return this.getTracerProvider().getTracer(r,n)},e.prototype.disable=function(){gp(rj,xs.instance()),this._proxyTracerProvider=new F1},e}()});var pa,lfe=pt(()=>{"use strict";ufe();pa=cfe.getInstance()});var tI={};ec(tI,{DiagConsoleLogger:()=>vpe,DiagLogLevel:()=>zi,INVALID_SPANID:()=>P1,INVALID_SPAN_CONTEXT:()=>TE,INVALID_TRACEID:()=>O1,ProxyTracer:()=>eI,ProxyTracerProvider:()=>F1,ROOT_CONTEXT:()=>GO,SamplingDecision:()=>G0,SpanKind:()=>DE,SpanStatusCode:()=>AE,TraceFlags:()=>zc,ValueType:()=>WO,baggageEntryMetadataFromString:()=>Epe,context:()=>Hf,createContextKey:()=>Zm,createNoopMeter:()=>wpe,createTraceState:()=>Hpe,default:()=>znt,defaultTextMapGetter:()=>VO,defaultTextMapSetter:()=>zO,diag:()=>yr,isSpanContextValid:()=>eh,isValidSpanId:()=>HU,isValidTraceId:()=>R1,metrics:()=>ZU,propagation:()=>tj,trace:()=>pa});var znt,fa=pt(()=>{"use strict";MU();A1();Spe();qO();LU();_pe();BU();zU();KU();Fpe();Mpe();kpe();jU();Wpe();QO();KO();Vpe();zpe();Qpe();afe();lfe();znt={context:Hf,diag:yr,metrics:ZU,propagation:tj,trace:pa}});var oj=C(rI=>{"use strict";Object.defineProperty(rI,"__esModule",{value:!0});rI.AbstractAsyncHooksContextManager=void 0;var Knt=require("events"),Jnt=["addListener","on","once","prependListener","prependOnceListener"],nj=class{bind(r,n){return n instanceof Knt.EventEmitter?this._bindEventEmitter(r,n):typeof n=="function"?this._bindFunction(r,n):n}_bindFunction(r,n){let o=this,i=function(...a){return o.with(r,()=>n.apply(this,a))};return Object.defineProperty(i,"length",{enumerable:!1,configurable:!0,writable:!1,value:n.length}),i}_bindEventEmitter(r,n){return this._getPatchMap(n)!==void 0||(this._createPatchMap(n),Jnt.forEach(i=>{n[i]!==void 0&&(n[i]=this._patchAddListener(n,n[i],r))}),typeof n.removeListener=="function"&&(n.removeListener=this._patchRemoveListener(n,n.removeListener)),typeof n.off=="function"&&(n.off=this._patchRemoveListener(n,n.off)),typeof n.removeAllListeners=="function"&&(n.removeAllListeners=this._patchRemoveAllListeners(n,n.removeAllListeners))),n}_patchRemoveListener(r,n){let o=this;return function(i,a){let c=o._getPatchMap(r)?.[i];if(c===void 0)return n.call(this,i,a);let u=c.get(a);return n.call(this,i,u||a)}}_patchRemoveAllListeners(r,n){let o=this;return function(i){let a=o._getPatchMap(r);return a!==void 0&&(arguments.length===0?o._createPatchMap(r):a[i]!==void 0&&delete a[i]),n.apply(this,arguments)}}_patchAddListener(r,n,o){let i=this;return function(a,c){if(i._wrapped)return n.call(this,a,c);let u=i._getPatchMap(r);u===void 0&&(u=i._createPatchMap(r));let l=u[a];l===void 0&&(l=new WeakMap,u[a]=l);let p=i.bind(o,c);l.set(c,p),i._wrapped=!0;try{return n.call(this,a,p)}finally{i._wrapped=!1}}}_createPatchMap(r){let n=Object.create(null);return r[this._kOtListeners]=n,n}_getPatchMap(r){return r[this._kOtListeners]}_kOtListeners=Symbol("OtListeners");_wrapped=!1};rI.AbstractAsyncHooksContextManager=nj});var pfe=C(nI=>{"use strict";Object.defineProperty(nI,"__esModule",{value:!0});nI.AsyncHooksContextManager=void 0;var Ynt=(fa(),jO(tI)),Znt=require("async_hooks"),Qnt=oj(),ij=class extends Qnt.AbstractAsyncHooksContextManager{_asyncHook;_contexts=new Map;_stack=[];constructor(){super(),this._asyncHook=Znt.createHook({init:this._init.bind(this),before:this._before.bind(this),after:this._after.bind(this),destroy:this._destroy.bind(this),promiseResolve:this._destroy.bind(this)})}active(){return this._stack[this._stack.length-1]??Ynt.ROOT_CONTEXT}with(r,n,o,...i){this._enterContext(r);try{return n.call(o,...i)}finally{this._exitContext()}}enable(){return this._asyncHook.enable(),this}disable(){return this._asyncHook.disable(),this._contexts.clear(),this._stack=[],this}_init(r,n){if(n==="TIMERWRAP")return;let o=this._stack[this._stack.length-1];o!==void 0&&this._contexts.set(r,o)}_destroy(r){this._contexts.delete(r)}_before(r){let n=this._contexts.get(r);n!==void 0&&this._enterContext(n)}_after(){this._exitContext()}_enterContext(r){this._stack.push(r)}_exitContext(){this._stack.pop()}};nI.AsyncHooksContextManager=ij});var ffe=C(oI=>{"use strict";Object.defineProperty(oI,"__esModule",{value:!0});oI.AsyncLocalStorageContextManager=void 0;var Xnt=(fa(),jO(tI)),eot=require("async_hooks"),tot=oj(),sj=class extends tot.AbstractAsyncHooksContextManager{_asyncLocalStorage;constructor(){super(),this._asyncLocalStorage=new eot.AsyncLocalStorage}active(){return this._asyncLocalStorage.getStore()??Xnt.ROOT_CONTEXT}with(r,n,o,...i){let a=o==null?n:n.bind(o);return this._asyncLocalStorage.run(r,a,...i)}enable(){return this}disable(){return this._asyncLocalStorage.disable(),this}};oI.AsyncLocalStorageContextManager=sj});var dfe=C(CE=>{"use strict";Object.defineProperty(CE,"__esModule",{value:!0});CE.AsyncLocalStorageContextManager=CE.AsyncHooksContextManager=void 0;var rot=pfe();Object.defineProperty(CE,"AsyncHooksContextManager",{enumerable:!0,get:function(){return rot.AsyncHooksContextManager}});var not=ffe();Object.defineProperty(CE,"AsyncLocalStorageContextManager",{enumerable:!0,get:function(){return not.AsyncLocalStorageContextManager}})});var Oj=C((Qcr,ade)=>{"use strict";ade.exports=(e,r=process.argv)=>{let n=e.startsWith("-")?"":e.length===1?"-":"--",o=r.indexOf(n+e),i=r.indexOf("--");return o!==-1&&(i===-1||o<i)}});var lde=C((Xcr,ude)=>{"use strict";var Kit=require("os"),cde=require("tty"),Jc=Oj(),{env:Oi}=process,ah;Jc("no-color")||Jc("no-colors")||Jc("color=false")||Jc("color=never")?ah=0:(Jc("color")||Jc("colors")||Jc("color=true")||Jc("color=always"))&&(ah=1);"FORCE_COLOR"in Oi&&(Oi.FORCE_COLOR==="true"?ah=1:Oi.FORCE_COLOR==="false"?ah=0:ah=Oi.FORCE_COLOR.length===0?1:Math.min(parseInt(Oi.FORCE_COLOR,10),3));function Ij(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function Rj(e,r){if(ah===0)return 0;if(Jc("color=16m")||Jc("color=full")||Jc("color=truecolor"))return 3;if(Jc("color=256"))return 2;if(e&&!r&&ah===void 0)return 0;let n=ah||0;if(Oi.TERM==="dumb")return n;if(process.platform==="win32"){let o=Kit.release().split(".");return Number(o[0])>=10&&Number(o[2])>=10586?Number(o[2])>=14931?3:2:1}if("CI"in Oi)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(o=>o in Oi)||Oi.CI_NAME==="codeship"?1:n;if("TEAMCITY_VERSION"in Oi)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Oi.TEAMCITY_VERSION)?1:0;if(Oi.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Oi){let o=parseInt((Oi.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Oi.TERM_PROGRAM){case"iTerm.app":return o>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Oi.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Oi.TERM)||"COLORTERM"in Oi?1:n}function Jit(e){let r=Rj(e,e&&e.isTTY);return Ij(r)}ude.exports={supportsColor:Jit,stdout:Ij(Rj(!0,cde.isatty(1))),stderr:Ij(Rj(!0,cde.isatty(2)))}});var dde=C((eur,fde)=>{"use strict";var Yit=lde(),RE=Oj();function pde(e){if(/^\d{3,4}$/.test(e)){let n=/(\d{1,2})(\d{2})/.exec(e)||[];return{major:0,minor:parseInt(n[1],10),patch:parseInt(n[2],10)}}let r=(e||"").split(".").map(n=>parseInt(n,10));return{major:r[0],minor:r[1],patch:r[2]}}function Fj(e){let{CI:r,FORCE_HYPERLINK:n,NETLIFY:o,TEAMCITY_VERSION:i,TERM_PROGRAM:a,TERM_PROGRAM_VERSION:c,VTE_VERSION:u,TERM:l}=process.env;if(n)return!(n.length>0&&parseInt(n,10)===0);if(RE("no-hyperlink")||RE("no-hyperlinks")||RE("hyperlink=false")||RE("hyperlink=never"))return!1;if(RE("hyperlink=true")||RE("hyperlink=always")||o)return!0;if(!Yit.supportsColor(e)||e&&!e.isTTY)return!1;if("WT_SESSION"in process.env)return!0;if(process.platform==="win32"||r||i)return!1;if(a){let p=pde(c||"");switch(a){case"iTerm.app":return p.major===3?p.minor>=1:p.major>3;case"WezTerm":return p.major>=20200620;case"vscode":return p.major>1||p.major===1&&p.minor>=72;case"ghostty":return!0}}if(u){if(u==="0.50.0")return!1;let p=pde(u);return p.major>0||p.minor>=50}switch(l){case"alacritty":return!0}return!1}fde.exports={supportsHyperlink:Fj,stdout:Fj(process.stdout),stderr:Fj(process.stderr)}});var xde=C((nur,yde)=>{"use strict";yde.exports=gde;gde.sync=Qit;var mde=require("fs");function Zit(e,r){var n=r.pathExt!==void 0?r.pathExt:process.env.PATHEXT;if(!n||(n=n.split(";"),n.indexOf("")!==-1))return!0;for(var o=0;o<n.length;o++){var i=n[o].toLowerCase();if(i&&e.substr(-i.length).toLowerCase()===i)return!0}return!1}function hde(e,r,n){return!e.isSymbolicLink()&&!e.isFile()?!1:Zit(r,n)}function gde(e,r,n){mde.stat(e,function(o,i){n(o,o?!1:hde(i,e,r))})}function Qit(e,r){return hde(mde.statSync(e),e,r)}});var wde=C((our,Sde)=>{"use strict";Sde.exports=Ede;Ede.sync=Xit;var bde=require("fs");function Ede(e,r,n){bde.stat(e,function(o,i){n(o,o?!1:vde(i,r))})}function Xit(e,r){return vde(bde.statSync(e),r)}function vde(e,r){return e.isFile()&&est(e,r)}function est(e,r){var n=e.mode,o=e.uid,i=e.gid,a=r.uid!==void 0?r.uid:process.getuid&&process.getuid(),c=r.gid!==void 0?r.gid:process.getgid&&process.getgid(),u=parseInt("100",8),l=parseInt("010",8),p=parseInt("001",8),f=u|l,g=n&p||n&l&&i===c||n&u&&o===a||n&f&&a===0;return g}});var Tde=C((sur,_de)=>{"use strict";var iur=require("fs"),II;process.platform==="win32"||global.TESTING_WINDOWS?II=xde():II=wde();_de.exports=Mj;Mj.sync=tst;function Mj(e,r,n){if(typeof r=="function"&&(n=r,r={}),!n){if(typeof Promise!="function")throw new TypeError("callback not provided");return new Promise(function(o,i){Mj(e,r||{},function(a,c){a?i(a):o(c)})})}II(e,r||{},function(o,i){o&&(o.code==="EACCES"||r&&r.ignoreErrors)&&(o=null,i=!1),n(o,i)})}function tst(e,r){try{return II.sync(e,r||{})}catch(n){if(r&&r.ignoreErrors||n.code==="EACCES")return!1;throw n}}});var Rde=C((aur,Ide)=>{"use strict";var FE=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",Dde=require("path"),rst=FE?";":":",Ade=Tde(),Cde=e=>Object.assign(new Error(`not found: ${e}`),{code:"ENOENT"}),Pde=(e,r)=>{let n=r.colon||rst,o=e.match(/\//)||FE&&e.match(/\\/)?[""]:[...FE?[process.cwd()]:[],...(r.path||process.env.PATH||"").split(n)],i=FE?r.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",a=FE?i.split(n):[""];return FE&&e.indexOf(".")!==-1&&a[0]!==""&&a.unshift(""),{pathEnv:o,pathExt:a,pathExtExe:i}},Ode=(e,r,n)=>{typeof r=="function"&&(n=r,r={}),r||(r={});let{pathEnv:o,pathExt:i,pathExtExe:a}=Pde(e,r),c=[],u=p=>new Promise((f,g)=>{if(p===o.length)return r.all&&c.length?f(c):g(Cde(e));let x=o[p],b=/^".*"$/.test(x)?x.slice(1,-1):x,E=Dde.join(b,e),S=!b&&/^\.[\\\/]/.test(e)?e.slice(0,2)+E:E;f(l(S,p,0))}),l=(p,f,g)=>new Promise((x,b)=>{if(g===i.length)return x(u(f+1));let E=i[g];Ade(p+E,{pathExt:a},(S,_)=>{if(!S&&_)if(r.all)c.push(p+E);else return x(p+E);return x(l(p,f,g+1))})});return n?u(0).then(p=>n(null,p),n):u(0)},nst=(e,r)=>{r=r||{};let{pathEnv:n,pathExt:o,pathExtExe:i}=Pde(e,r),a=[];for(let c=0;c<n.length;c++){let u=n[c],l=/^".*"$/.test(u)?u.slice(1,-1):u,p=Dde.join(l,e),f=!l&&/^\.[\\\/]/.test(e)?e.slice(0,2)+p:p;for(let g=0;g<o.length;g++){let x=f+o[g];try{if(Ade.sync(x,{pathExt:i}))if(r.all)a.push(x);else return x}catch{}}}if(r.all&&a.length)return a;if(r.nothrow)return null;throw Cde(e)};Ide.exports=Ode;Ode.sync=nst});var Nj=C((cur,kj)=>{"use strict";var Fde=(e={})=>{let r=e.env||process.env;return(e.platform||process.platform)!=="win32"?"PATH":Object.keys(r).reverse().find(o=>o.toUpperCase()==="PATH")||"Path"};kj.exports=Fde;kj.exports.default=Fde});var $de=C((uur,Nde)=>{"use strict";var Mde=require("path"),ost=Rde(),ist=Nj();function kde(e,r){let n=e.options.env||process.env,o=process.cwd(),i=e.options.cwd!=null,a=i&&process.chdir!==void 0&&!process.chdir.disabled;if(a)try{process.chdir(e.options.cwd)}catch{}let c;try{c=ost.sync(e.command,{path:n[ist({env:n})],pathExt:r?Mde.delimiter:void 0})}catch{}finally{a&&process.chdir(o)}return c&&(c=Mde.resolve(i?e.options.cwd:"",c)),c}function sst(e){return kde(e)||kde(e,!0)}Nde.exports=sst});var Lde=C((lur,Lj)=>{"use strict";var $j=/([()\][%!^"`<>&|;, *?])/g;function ast(e){return e=e.replace($j,"^$1"),e}function cst(e,r){return e=`${e}`,e=e.replace(/(?=(\\+?)?)\1"/g,'$1$1\\"'),e=e.replace(/(?=(\\+?)?)\1$/,"$1$1"),e=`"${e}"`,e=e.replace($j,"^$1"),r&&(e=e.replace($j,"^$1")),e}Lj.exports.command=ast;Lj.exports.argument=cst});var Ude=C((pur,Bde)=>{"use strict";Bde.exports=/^#!(.*)/});var qde=C((fur,jde)=>{"use strict";var ust=Ude();jde.exports=(e="")=>{let r=e.match(ust);if(!r)return null;let[n,o]=r[0].replace(/#! ?/,"").split(" "),i=n.split("/").pop();return i==="env"?o:o?`${i} ${o}`:i}});var Hde=C((dur,Gde)=>{"use strict";var Bj=require("fs"),lst=qde();function pst(e){let n=Buffer.alloc(150),o;try{o=Bj.openSync(e,"r"),Bj.readSync(o,n,0,150,0),Bj.closeSync(o)}catch{}return lst(n.toString())}Gde.exports=pst});var Kde=C((mur,zde)=>{"use strict";var fst=require("path"),Wde=$de(),Vde=Lde(),dst=Hde(),mst=process.platform==="win32",hst=/\.(?:com|exe)$/i,gst=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function yst(e){e.file=Wde(e);let r=e.file&&dst(e.file);return r?(e.args.unshift(e.file),e.command=r,Wde(e)):e.file}function xst(e){if(!mst)return e;let r=yst(e),n=!hst.test(r);if(e.options.forceShell||n){let o=gst.test(r);e.command=fst.normalize(e.command),e.command=Vde.command(e.command),e.args=e.args.map(a=>Vde.argument(a,o));let i=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${i}"`],e.command=process.env.comspec||"cmd.exe",e.options.windowsVerbatimArguments=!0}return e}function bst(e,r,n){r&&!Array.isArray(r)&&(n=r,r=null),r=r?r.slice(0):[],n=Object.assign({},n);let o={command:e,args:r,options:n,file:void 0,original:{command:e,args:r}};return n.shell?o:xst(o)}zde.exports=bst});var Zde=C((hur,Yde)=>{"use strict";var Uj=process.platform==="win32";function jj(e,r){return Object.assign(new Error(`${r} ${e.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${r} ${e.command}`,path:e.command,spawnargs:e.args})}function Est(e,r){if(!Uj)return;let n=e.emit;e.emit=function(o,i){if(o==="exit"){let a=Jde(i,r);if(a)return n.call(e,"error",a)}return n.apply(e,arguments)}}function Jde(e,r){return Uj&&e===1&&!r.file?jj(r.original,"spawn"):null}function vst(e,r){return Uj&&e===1&&!r.file?jj(r.original,"spawnSync"):null}Yde.exports={hookChildProcess:Est,verifyENOENT:Jde,verifyENOENTSync:vst,notFoundError:jj}});var RI=C((gur,ME)=>{"use strict";var Qde=require("child_process"),qj=Kde(),Gj=Zde();function Xde(e,r,n){let o=qj(e,r,n),i=Qde.spawn(o.command,o.args,o.options);return Gj.hookChildProcess(i,o),i}function Sst(e,r,n){let o=qj(e,r,n),i=Qde.spawnSync(o.command,o.args,o.options);return i.error=i.error||Gj.verifyENOENTSync(i.status,o),i}ME.exports=Xde;ME.exports.spawn=Xde;ME.exports.sync=Sst;ME.exports._parse=qj;ME.exports._enoent=Gj});var a9=C((plr,Ome)=>{"use strict";var{PassThrough:mat}=require("stream");Ome.exports=function(){var e=[],r=new mat({objectMode:!0});return r.setMaxListeners(0),r.add=n,r.isEmpty=o,r.on("unpipe",i),Array.prototype.slice.call(arguments).forEach(n),r;function n(a){return Array.isArray(a)?(a.forEach(n),this):(e.push(a),a.once("end",i.bind(null,a)),a.once("error",r.emit.bind(r,"error")),a.pipe(r,{end:!1}),this)}function o(){return e.length==0}function i(a){e=e.filter(function(c){return c!==a}),!e.length&&r.readable&&r.end()}}});var nhe=C((Rlr,rhe)=>{"use strict";rhe.exports=e=>function(){let r=arguments.length,n=new Array(r);for(let o=0;o<r;o+=1)n[o]=arguments[o];return new Promise((o,i)=>{n.push((a,c)=>{a?i(a):o(c)}),e.apply(null,n)})}});var ha=C((Flr,ohe)=>{"use strict";var zI=require("fs"),Cat=nhe(),Pat=e=>[typeof zI[e]=="function",!e.match(/Sync$/),!e.match(/^[A-Z]/),!e.match(/^create/),!e.match(/^(un)?watch/)].every(Boolean),Oat=e=>{let r=zI[e];return Cat(r)},Iat=()=>{let e={};return Object.keys(zI).forEach(r=>{Pat(r)?r==="exists"?e.exists=()=>{throw new Error("fs.exists() is deprecated")}:e[r]=Oat(r):e[r]=zI[r]}),e};ohe.exports=Iat()});var Yi=C((Mlr,che)=>{"use strict";var Rat=e=>{let r=n=>["a","e","i","o","u"].indexOf(n[0])!==-1?`an ${n}`:`a ${n}`;return e.map(r).join(" or ")},ihe=e=>/array of /.test(e),she=e=>e.split(" of ")[1],ahe=e=>ihe(e)?ahe(she(e)):["string","number","boolean","array","object","buffer","null","undefined","function"].some(r=>r===e),tT=e=>e===null?"null":Array.isArray(e)?"array":Buffer.isBuffer(e)?"buffer":typeof e,Fat=(e,r,n)=>n.indexOf(e)===r,Mat=e=>{let r=tT(e),n;return r==="array"&&(n=e.map(o=>tT(o)).filter(Fat),r+=` of ${n.join(", ")}`),r},kat=(e,r)=>{let n=she(r);return tT(e)!=="array"?!1:e.every(o=>tT(o)===n)},h9=(e,r,n,o)=>{if(!o.some(a=>{if(!ahe(a))throw new Error(`Unknown type "${a}"`);return ihe(a)?kat(n,a):a===tT(n)}))throw new Error(`Argument "${r}" passed to ${e} must be ${Rat(o)}. Received ${Mat(n)}`)},Nat=(e,r,n,o)=>{n!==void 0&&(h9(e,r,n,["object"]),Object.keys(n).forEach(i=>{let a=`${r}.${i}`;if(o[i]!==void 0)h9(e,a,n[i],o[i]);else throw new Error(`Unknown argument "${a}" passed to ${e}`)}))};che.exports={argument:h9,options:Nat}});var KI=C(uhe=>{"use strict";uhe.normalizeFileMode=e=>{let r;return typeof e=="number"?r=e.toString(8):r=e,r.substring(r.length-3)}});var YI=C(JI=>{"use strict";var lhe=ha(),$at=Yi(),Lat=(e,r)=>{let n=`${e}([path])`;$at.argument(n,"path",r,["string","undefined"])},Bat=e=>{lhe.rmSync(e,{recursive:!0,force:!0,maxRetries:3})},Uat=e=>lhe.rm(e,{recursive:!0,force:!0,maxRetries:3});JI.validateInput=Lat;JI.sync=Bat;JI.async=Uat});var X0=C($E=>{"use strict";var ZI=require("path"),vp=ha(),g9=KI(),phe=Yi(),fhe=YI(),jat=(e,r,n)=>{let o=`${e}(path, [criteria])`;phe.argument(o,"path",r,["string"]),phe.options(o,"criteria",n,{empty:["boolean"],mode:["string","number"]})},dhe=e=>{let r=e||{};return typeof r.empty!="boolean"&&(r.empty=!1),r.mode!==void 0&&(r.mode=g9.normalizeFileMode(r.mode)),r},mhe=e=>new Error(`Path ${e} exists but is not a directory. Halting jetpack.dir() call for safety reasons.`),qat=e=>{let r;try{r=vp.statSync(e)}catch(n){if(n.code!=="ENOENT")throw n}if(r&&!r.isDirectory())throw mhe(e);return r},y9=(e,r)=>{let n=r||{};try{vp.mkdirSync(e,n.mode)}catch(o){if(o.code==="ENOENT")y9(ZI.dirname(e),n),vp.mkdirSync(e,n.mode);else if(o.code!=="EEXIST")throw o}},Gat=(e,r,n)=>{let o=()=>{let a=g9.normalizeFileMode(r.mode);n.mode!==void 0&&n.mode!==a&&vp.chmodSync(e,n.mode)},i=()=>{n.empty&&vp.readdirSync(e).forEach(c=>{fhe.sync(ZI.resolve(e,c))})};o(),i()},Hat=(e,r)=>{let n=dhe(r),o=qat(e);o?Gat(e,o,n):y9(e,n)},Wat=e=>new Promise((r,n)=>{vp.stat(e).then(o=>{o.isDirectory()?r(o):n(mhe(e))}).catch(o=>{o.code==="ENOENT"?r(void 0):n(o)})}),Vat=e=>new Promise((r,n)=>{vp.readdir(e).then(o=>{let i=a=>{if(a===o.length)r();else{let c=ZI.resolve(e,o[a]);fhe.async(c).then(()=>{i(a+1)})}};i(0)}).catch(n)}),zat=(e,r,n)=>new Promise((o,i)=>{let a=()=>{let u=g9.normalizeFileMode(r.mode);return n.mode!==void 0&&n.mode!==u?vp.chmod(e,n.mode):Promise.resolve()},c=()=>n.empty?Vat(e):Promise.resolve();a().then(c).then(o,i)}),x9=(e,r)=>{let n=r||{};return new Promise((o,i)=>{vp.mkdir(e,n.mode).then(o).catch(a=>{a.code==="ENOENT"?x9(ZI.dirname(e),n).then(()=>vp.mkdir(e,n.mode)).then(o).catch(c=>{c.code==="EEXIST"?o():i(c)}):a.code==="EEXIST"?o():i(a)})})},Kat=(e,r)=>new Promise((n,o)=>{let i=dhe(r);Wat(e).then(a=>a!==void 0?zat(e,a,i):x9(e,i)).then(n,o)});$E.validateInput=jat;$E.sync=Hat;$E.createSync=y9;$E.async=Kat;$E.createAsync=x9});var rT=C(XI=>{"use strict";var hhe=require("path"),LE=ha(),b9=Yi(),ghe=X0(),Jat=(e,r,n,o)=>{let i=`${e}(path, data, [options])`;b9.argument(i,"path",r,["string"]),b9.argument(i,"data",n,["string","buffer","object","array"]),b9.options(i,"options",o,{mode:["string","number"],atomic:["boolean"],jsonIndent:["number"]})},QI=".__new__",yhe=(e,r)=>{let n=r;return typeof n!="number"&&(n=2),typeof e=="object"&&!Buffer.isBuffer(e)&&e!==null?JSON.stringify(e,null,n):e},xhe=(e,r,n)=>{try{LE.writeFileSync(e,r,n)}catch(o){if(o.code==="ENOENT")ghe.createSync(hhe.dirname(e)),LE.writeFileSync(e,r,n);else throw o}},Yat=(e,r,n)=>{xhe(e+QI,r,n),LE.renameSync(e+QI,e)},Zat=(e,r,n)=>{let o=n||{},i=yhe(r,o.jsonIndent),a=xhe;o.atomic&&(a=Yat),a(e,i,{mode:o.mode})},bhe=(e,r,n)=>new Promise((o,i)=>{LE.writeFile(e,r,n).then(o).catch(a=>{a.code==="ENOENT"?ghe.createAsync(hhe.dirname(e)).then(()=>LE.writeFile(e,r,n)).then(o,i):i(a)})}),Qat=(e,r,n)=>new Promise((o,i)=>{bhe(e+QI,r,n).then(()=>LE.rename(e+QI,e)).then(o,i)}),Xat=(e,r,n)=>{let o=n||{},i=yhe(r,o.jsonIndent),a=bhe;return o.atomic&&(a=Qat),a(e,i,{mode:o.mode})};XI.validateInput=Jat;XI.sync=Zat;XI.async=Xat});var She=C(eR=>{"use strict";var Ehe=ha(),vhe=rT(),E9=Yi(),ect=(e,r,n,o)=>{let i=`${e}(path, data, [options])`;E9.argument(i,"path",r,["string"]),E9.argument(i,"data",n,["string","buffer"]),E9.options(i,"options",o,{mode:["string","number"]})},tct=(e,r,n)=>{try{Ehe.appendFileSync(e,r,n)}catch(o){if(o.code==="ENOENT")vhe.sync(e,r,n);else throw o}},rct=(e,r,n)=>new Promise((o,i)=>{Ehe.appendFile(e,r,n).then(o).catch(a=>{a.code==="ENOENT"?vhe.async(e,r,n).then(o,i):i(a)})});eR.validateInput=ect;eR.sync=tct;eR.async=rct});var Dhe=C(nR=>{"use strict";var tR=ha(),v9=KI(),whe=Yi(),rR=rT(),nct=(e,r,n)=>{let o=`${e}(path, [criteria])`;whe.argument(o,"path",r,["string"]),whe.options(o,"criteria",n,{content:["string","buffer","object","array"],jsonIndent:["number"],mode:["string","number"]})},_he=e=>{let r=e||{};return r.mode!==void 0&&(r.mode=v9.normalizeFileMode(r.mode)),r},The=e=>new Error(`Path ${e} exists but is not a file. Halting jetpack.file() call for safety reasons.`),oct=e=>{let r;try{r=tR.statSync(e)}catch(n){if(n.code!=="ENOENT")throw n}if(r&&!r.isFile())throw The(e);return r},ict=(e,r,n)=>{let o=v9.normalizeFileMode(r.mode),i=()=>n.content!==void 0?(rR.sync(e,n.content,{mode:o,jsonIndent:n.jsonIndent}),!0):!1,a=()=>{n.mode!==void 0&&n.mode!==o&&tR.chmodSync(e,n.mode)};i()||a()},sct=(e,r)=>{let n="";r.content!==void 0&&(n=r.content),rR.sync(e,n,{mode:r.mode,jsonIndent:r.jsonIndent})},act=(e,r)=>{let n=_he(r),o=oct(e);o!==void 0?ict(e,o,n):sct(e,n)},cct=e=>new Promise((r,n)=>{tR.stat(e).then(o=>{o.isFile()?r(o):n(The(e))}).catch(o=>{o.code==="ENOENT"?r(void 0):n(o)})}),uct=(e,r,n)=>{let o=v9.normalizeFileMode(r.mode),i=()=>new Promise((c,u)=>{n.content!==void 0?rR.async(e,n.content,{mode:o,jsonIndent:n.jsonIndent}).then(()=>{c(!0)}).catch(u):c(!1)}),a=()=>{if(n.mode!==void 0&&n.mode!==o)return tR.chmod(e,n.mode)};return i().then(c=>{if(!c)return a()})},lct=(e,r)=>{let n="";return r.content!==void 0&&(n=r.content),rR.async(e,n,{mode:r.mode,jsonIndent:r.jsonIndent})},pct=(e,r)=>new Promise((n,o)=>{let i=_he(r);cct(e).then(a=>a!==void 0?uct(e,a,i):lct(e,i)).then(n,o)});nR.validateInput=nct;nR.sync=act;nR.async=pct});var UE=C(BE=>{"use strict";var Che=require("crypto"),fct=require("path"),uh=ha(),Ahe=Yi(),S9=["md5","sha1","sha256","sha512"],w9=["report","follow"],dct=(e,r,n)=>{let o=`${e}(path, [options])`;if(Ahe.argument(o,"path",r,["string"]),Ahe.options(o,"options",n,{checksum:["string"],mode:["boolean"],times:["boolean"],absolutePath:["boolean"],symlinks:["string"]}),n&&n.checksum!==void 0&&S9.indexOf(n.checksum)===-1)throw new Error(`Argument "options.checksum" passed to ${o} must have one of values: ${S9.join(", ")}`);if(n&&n.symlinks!==void 0&&w9.indexOf(n.symlinks)===-1)throw new Error(`Argument "options.symlinks" passed to ${o} must have one of values: ${w9.join(", ")}`)},Phe=(e,r,n)=>{let o={};return o.name=fct.basename(e),n.isFile()?(o.type="file",o.size=n.size):n.isDirectory()?o.type="dir":n.isSymbolicLink()?o.type="symlink":o.type="other",r.mode&&(o.mode=n.mode),r.times&&(o.accessTime=n.atime,o.modifyTime=n.mtime,o.changeTime=n.ctime,o.birthTime=n.birthtime),r.absolutePath&&(o.absolutePath=e),o},mct=(e,r)=>{let n=Che.createHash(r),o=uh.readFileSync(e);return n.update(o),n.digest("hex")},hct=(e,r,n)=>{r.type==="file"&&n.checksum?r[n.checksum]=mct(e,n.checksum):r.type==="symlink"&&(r.pointsAt=uh.readlinkSync(e))},gct=(e,r)=>{let n=uh.lstatSync,o,i=r||{};i.symlinks==="follow"&&(n=uh.statSync);try{o=n(e)}catch(c){if(c.code==="ENOENT")return;throw c}let a=Phe(e,i,o);return hct(e,a,i),a},yct=(e,r)=>new Promise((n,o)=>{let i=Che.createHash(r),a=uh.createReadStream(e);a.on("data",c=>{i.update(c)}),a.on("end",()=>{n(i.digest("hex"))}),a.on("error",o)}),xct=(e,r,n)=>r.type==="file"&&n.checksum?yct(e,n.checksum).then(o=>(r[n.checksum]=o,r)):r.type==="symlink"?uh.readlink(e).then(o=>(r.pointsAt=o,r)):Promise.resolve(r),bct=(e,r)=>new Promise((n,o)=>{let i=uh.lstat,a=r||{};a.symlinks==="follow"&&(i=uh.stat),i(e).then(c=>{let u=Phe(e,a,c);xct(e,u,a).then(n,o)}).catch(c=>{c.code==="ENOENT"?n(void 0):o(c)})});BE.supportedChecksumAlgorithms=S9;BE.symlinkOptions=w9;BE.validateInput=dct;BE.sync=gct;BE.async=bct});var iR=C(oR=>{"use strict";var Ohe=ha(),Ect=Yi(),vct=(e,r)=>{let n=`${e}(path)`;Ect.argument(n,"path",r,["string","undefined"])},Sct=e=>{try{return Ohe.readdirSync(e)}catch(r){if(r.code==="ENOENT")return;throw r}},wct=e=>new Promise((r,n)=>{Ohe.readdir(e).then(o=>{r(o)}).catch(o=>{o.code==="ENOENT"?r(void 0):n(o)})});oR.validateInput=vct;oR.sync=Sct;oR.async=wct});var uR=C(_9=>{"use strict";var sR=require("fs"),aR=require("path"),nT=UE(),Glr=iR(),cR=e=>e.isDirectory()?"dir":e.isFile()?"file":e.isSymbolicLink()?"symlink":"other",_ct=(e,r,n)=>{r.maxLevelsDeep===void 0&&(r.maxLevelsDeep=1/0);let o=r.inspectOptions!==void 0;r.symlinks&&(r.inspectOptions===void 0?r.inspectOptions={symlinks:r.symlinks}:r.inspectOptions.symlinks=r.symlinks);let i=(c,u)=>{sR.readdirSync(c,{withFileTypes:!0}).forEach(l=>{let p=typeof l=="string",f;p?f=aR.join(c,l):f=aR.join(c,l.name);let g;if(o)g=nT.sync(f,r.inspectOptions);else if(p){let x=nT.sync(f,r.inspectOptions);g={name:x.name,type:x.type}}else{let x=cR(l);if(x==="symlink"&&r.symlinks==="follow"){let b=sR.statSync(f);g={name:l.name,type:cR(b)}}else g={name:l.name,type:x}}g!==void 0&&(n(f,g),g.type==="dir"&&u<r.maxLevelsDeep&&i(f,u+1))})},a=nT.sync(e,r.inspectOptions);a?(o?n(e,a):n(e,{name:a.name,type:a.type}),a.type==="dir"&&i(e,1)):n(e,void 0)},Tct=5,Dct=(e,r,n,o)=>{r.maxLevelsDeep===void 0&&(r.maxLevelsDeep=1/0);let i=r.inspectOptions!==void 0;r.symlinks&&(r.inspectOptions===void 0?r.inspectOptions={symlinks:r.symlinks}:r.inspectOptions.symlinks=r.symlinks);let a=[],c=0,u=()=>{if(a.length===0&&c===0)o();else if(a.length>0&&c<Tct){let g=a.pop();c+=1,g()}},l=g=>{a.push(g),u()},p=()=>{c-=1,u()},f=(g,x)=>{let b=(E,S)=>{S.type==="dir"&&x<r.maxLevelsDeep&&f(E,x+1)};l(()=>{sR.readdir(g,{withFileTypes:!0},(E,S)=>{E?o(E):(S.forEach(_=>{let D=typeof _=="string",R;if(D?R=aR.join(g,_):R=aR.join(g,_.name),i||D)l(()=>{nT.async(R,r.inspectOptions).then(A=>{A!==void 0&&(i?n(R,A):n(R,{name:A.name,type:A.type}),b(R,A)),p()}).catch(A=>{o(A)})});else{let A=cR(_);if(A==="symlink"&&r.symlinks==="follow")l(()=>{sR.stat(R,(O,I)=>{if(O)o(O);else{let N={name:_.name,type:cR(I)};n(R,N),b(R,N),p()}})});else{let O={name:_.name,type:A};n(R,O),b(R,O)}}}),p())})})};nT.async(e,r.inspectOptions).then(g=>{g?(i?n(e,g):n(e,{name:g.name,type:g.type}),g.type==="dir"?f(e,1):o()):(n(e,void 0),o())}).catch(g=>{o(g)})};_9.sync=_ct;_9.async=Dct});var Rhe=C((Wlr,Ihe)=>{"use strict";var Act=typeof process=="object"&&process&&process.platform==="win32";Ihe.exports=Act?{sep:"\\"}:{sep:"/"}});var T9=C((Vlr,Nhe)=>{"use strict";Nhe.exports=Mhe;function Mhe(e,r,n){e instanceof RegExp&&(e=Fhe(e,n)),r instanceof RegExp&&(r=Fhe(r,n));var o=khe(e,r,n);return o&&{start:o[0],end:o[1],pre:n.slice(0,o[0]),body:n.slice(o[0]+e.length,o[1]),post:n.slice(o[1]+r.length)}}function Fhe(e,r){var n=r.match(e);return n?n[0]:null}Mhe.range=khe;function khe(e,r,n){var o,i,a,c,u,l=n.indexOf(e),p=n.indexOf(r,l+1),f=l;if(l>=0&&p>0){if(e===r)return[l,p];for(o=[],a=n.length;f>=0&&!u;)f==l?(o.push(f),l=n.indexOf(e,f+1)):o.length==1?u=[o.pop(),p]:(i=o.pop(),i<a&&(a=i,c=p),p=n.indexOf(r,f+1)),f=l<p&&l>=0?l:p;o.length&&(u=[a,c])}return u}});var Hhe=C((zlr,Ghe)=>{"use strict";var $he=T9();Ghe.exports=Oct;var Lhe="\0SLASH"+Math.random()+"\0",Bhe="\0OPEN"+Math.random()+"\0",A9="\0CLOSE"+Math.random()+"\0",Uhe="\0COMMA"+Math.random()+"\0",jhe="\0PERIOD"+Math.random()+"\0";function D9(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function Cct(e){return e.split("\\\\").join(Lhe).split("\\{").join(Bhe).split("\\}").join(A9).split("\\,").join(Uhe).split("\\.").join(jhe)}function Pct(e){return e.split(Lhe).join("\\").split(Bhe).join("{").split(A9).join("}").split(Uhe).join(",").split(jhe).join(".")}function qhe(e){if(!e)return[""];var r=[],n=$he("{","}",e);if(!n)return e.split(",");var o=n.pre,i=n.body,a=n.