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 Sot=Object.create;var qO=Object.defineProperty;var _ot=Object.getOwnPropertyDescriptor;var Tot=Object.getOwnPropertyNames;var Dot=Object.getPrototypeOf,Cot=Object.prototype.hasOwnProperty;var ft=(e,r)=>()=>(e&&(r=e(e=0)),r);var A=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),Ho=(e,r)=>{for(var n in r)qO(e,n,{get:r[n],enumerable:!0})},UO=(e,r,n,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Tot(r))!Cot.call(e,i)&&i!==n&&qO(e,i,{get:()=>r[i],enumerable:!(o=_ot(r,i))||o.enumerable});return e},GO=(e,r,n)=>(UO(e,r,"default"),n&&UO(n,r,"default")),q=(e,r,n)=>(n=e!=null?Sot(Dot(e)):{},UO(r||!e||!e.__esModule?qO(n,"default",{value:e,enumerable:!0}):n,e)),HO=e=>UO(qO({},"__esModule",{value:!0}),e);var rfe,nfe=ft(()=>{"use strict";rfe=typeof globalThis=="object"?globalThis:global});var ofe=ft(()=>{"use strict";nfe()});var ife=ft(()=>{"use strict";ofe()});var Vf,Qj=ft(()=>{"use strict";Vf="1.9.0"});function Aot(e){var r=new Set([e]),n=new Set,o=e.match(sfe);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(sfe);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 sfe,afe,cfe=ft(()=>{"use strict";Qj();sfe=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;afe=Aot(Vf)});function xp(e,r,n,o){var i;o===void 0&&(o=!1);var a=D_[T_]=(i=D_[T_])!==null&&i!==void 0?i:{version:Vf};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!==Vf){var c=new Error("@opentelemetry/api: Registration of version v"+a.version+" for "+e+" does not match previously registered API v"+Vf);return n.error(c.stack||c.message),!1}return a[e]=r,n.debug("@opentelemetry/api: Registered a global for "+e+" v"+Vf+"."),!0}function oc(e){var r,n,o=(r=D_[T_])===null||r===void 0?void 0:r.version;if(!(!o||!afe(o)))return(n=D_[T_])===null||n===void 0?void 0:n[e]}function bp(e,r){r.debug("@opentelemetry/api: Unregistering a global for "+e+" v"+Vf+".");var n=D_[T_];n&&delete n[e]}var Pot,T_,D_,I0=ft(()=>{"use strict";ife();Qj();cfe();Pot=Vf.split(".")[0],T_=Symbol.for("opentelemetry.js.api."+Pot),D_=rfe});function C_(e,r,n){var o=oc("diag");if(o)return n.unshift(r),o[e].apply(o,Fot([],Oot(n),!1))}var Oot,Fot,ufe,lfe=ft(()=>{"use strict";I0();Oot=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},Fot=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))},ufe=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 C_("debug",this._namespace,r)},e.prototype.error=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return C_("error",this._namespace,r)},e.prototype.info=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return C_("info",this._namespace,r)},e.prototype.warn=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return C_("warn",this._namespace,r)},e.prototype.verbose=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return C_("verbose",this._namespace,r)},e}()});var Zi,WO=ft(()=>{"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 pfe(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 ffe=ft(()=>{"use strict";WO()});var Rot,Iot,Mot,Es,M0=ft(()=>{"use strict";lfe();ffe();WO();I0();Rot=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},Iot=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))},Mot="diag",Es=function(){function e(){function r(i){return function(){for(var a=[],c=0;c<arguments.length;c++)a[c]=arguments[c];var u=oc("diag");if(u)return u[i].apply(u,Iot([],Rot(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=oc("diag"),g=pfe((u=a.logLevel)!==null&&u!==void 0?u:Zi.INFO,i);if(f&&!a.suppressOverrideMessage){var b=(l=new Error().stack)!==null&&l!==void 0?l:"<failed to generate stacktrace>";f.warn("Current logger will be overwritten from "+b),g.warn("Current logger will overwrite one already registered from "+b)}return xp("diag",g,n,!0)};n.setLogger=o,n.disable=function(){bp(Mot,n)},n.createComponentLogger=function(i){return new ufe(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 kot,$ot,dfe,mfe=ft(()=>{"use strict";kot=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},$ot=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.")},dfe=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=kot(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=$ot(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 hfe,gfe=ft(()=>{"use strict";hfe=Symbol("BaggageEntryMetadata")});function yfe(e){return e===void 0&&(e={}),new dfe(new Map(Object.entries(e)))}function xfe(e){return typeof e!="string"&&(Not.error("Cannot create baggage metadata from unknown type: "+typeof e),e=""),{__TYPE__:hfe,toString:function(){return e}}}var Not,Xj=ft(()=>{"use strict";M0();mfe();gfe();Not=Es.instance()});function Zm(e){return Symbol.for(e)}var Lot,VO,A_=ft(()=>{"use strict";Lot=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}(),VO=new Lot});var e9,bfe,vfe=ft(()=>{"use strict";e9=[{n:"error",c:"error"},{n:"warn",c:"warn"},{n:"info",c:"info"},{n:"debug",c:"debug"},{n:"verbose",c:"trace"}],bfe=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<e9.length;n++)this[e9[n].n]=r(e9[n].c)}return e}()});function Efe(){return r9}var k0,Bot,zO,jot,Uot,qot,Got,t9,Hot,Wot,Vot,r9,zot,Kot,Jot,Yot,Zot,Qot,Xot,n9=ft(()=>{"use strict";k0=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)}}(),Bot=function(){function e(){}return e.prototype.createGauge=function(r,n){return Kot},e.prototype.createHistogram=function(r,n){return Jot},e.prototype.createCounter=function(r,n){return zot},e.prototype.createUpDownCounter=function(r,n){return Yot},e.prototype.createObservableGauge=function(r,n){return Qot},e.prototype.createObservableCounter=function(r,n){return Zot},e.prototype.createObservableUpDownCounter=function(r,n){return Xot},e.prototype.addBatchObservableCallback=function(r,n){},e.prototype.removeBatchObservableCallback=function(r){},e}(),zO=function(){function e(){}return e}(),jot=function(e){k0(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r.prototype.add=function(n,o){},r}(zO),Uot=function(e){k0(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r.prototype.add=function(n,o){},r}(zO),qot=function(e){k0(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r.prototype.record=function(n,o){},r}(zO),Got=function(e){k0(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r.prototype.record=function(n,o){},r}(zO),t9=function(){function e(){}return e.prototype.addCallback=function(r){},e.prototype.removeCallback=function(r){},e}(),Hot=function(e){k0(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r}(t9),Wot=function(e){k0(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r}(t9),Vot=function(e){k0(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r}(t9),r9=new Bot,zot=new jot,Kot=new qot,Jot=new Got,Yot=new Uot,Zot=new Hot,Qot=new Wot,Xot=new Vot});var KO,wfe=ft(()=>{"use strict";(function(e){e[e.INT=0]="INT",e[e.DOUBLE=1]="DOUBLE"})(KO||(KO={}))});var JO,YO,o9=ft(()=>{"use strict";JO={get:function(e,r){if(e!=null)return e[r]},keys:function(e){return e==null?[]:Object.keys(e)}},YO={set:function(e,r,n){e!=null&&(e[r]=n)}}});var eit,tit,Sfe,_fe=ft(()=>{"use strict";A_();eit=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},tit=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))},Sfe=function(){function e(){}return e.prototype.active=function(){return VO},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,tit([o],eit(i),!1))},e.prototype.bind=function(r,n){return n},e.prototype.enable=function(){return this},e.prototype.disable=function(){return this},e}()});var rit,nit,i9,oit,Qm,P_=ft(()=>{"use strict";_fe();I0();M0();rit=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},nit=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))},i9="context",oit=new Sfe,Qm=function(){function e(){}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalContextManager=function(r){return xp(i9,r,Es.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,nit([r,n,o],rit(a),!1))},e.prototype.bind=function(r,n){return this._getContextManager().bind(r,n)},e.prototype._getContextManager=function(){return oc(i9)||oit},e.prototype.disable=function(){this._getContextManager().disable(),bp(i9,Es.instance())},e}()});var Jc,s9=ft(()=>{"use strict";(function(e){e[e.NONE=0]="NONE",e[e.SAMPLED=1]="SAMPLED"})(Jc||(Jc={}))});var O_,F_,Pv,ZO=ft(()=>{"use strict";s9();O_="0000000000000000",F_="00000000000000000000000000000000",Pv={traceId:F_,spanId:O_,traceFlags:Jc.NONE}});var Xm,QO=ft(()=>{"use strict";ZO();Xm=function(){function e(r){r===void 0&&(r=Pv),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 XO(e){return e.getValue(a9)||void 0}function Tfe(){return XO(Qm.getInstance().active())}function R_(e,r){return e.setValue(a9,r)}function Dfe(e){return e.deleteValue(a9)}function Cfe(e,r){return R_(e,new Xm(r))}function eF(e){var r;return(r=XO(e))===null||r===void 0?void 0:r.spanContext()}var a9,c9=ft(()=>{"use strict";A_();QO();P_();a9=Zm("OpenTelemetry Context Key SPAN")});function I_(e){return iit.test(e)&&e!==F_}function u9(e){return sit.test(e)&&e!==O_}function eh(e){return I_(e.traceId)&&u9(e.spanId)}function Afe(e){return new Xm(e)}var iit,sit,tF=ft(()=>{"use strict";ZO();QO();iit=/^([0-9a-f]{32})$/i,sit=/^[0-9a-f]{16}$/i});function ait(e){return typeof e=="object"&&typeof e.spanId=="string"&&typeof e.traceId=="string"&&typeof e.traceFlags=="number"}var l9,rF,p9=ft(()=>{"use strict";P_();c9();QO();tF();l9=Qm.getInstance(),rF=function(){function e(){}return e.prototype.startSpan=function(r,n,o){o===void 0&&(o=l9.active());var i=!!n?.root;if(i)return new Xm;var a=o&&eF(o);return ait(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??l9.active(),p=this.startSpan(r,a,l),f=R_(l,p);return l9.with(f,u,void 0,p)}},e}()});var cit,nF,f9=ft(()=>{"use strict";p9();cit=new rF,nF=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):cit},e}()});var Pfe,Ofe=ft(()=>{"use strict";p9();Pfe=function(){function e(){}return e.prototype.getTracer=function(r,n,o){return new rF},e}()});var uit,M_,d9=ft(()=>{"use strict";f9();Ofe();uit=new Pfe,M_=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 nF(this,r,n,o)},e.prototype.getDelegate=function(){var r;return(r=this._delegate)!==null&&r!==void 0?r:uit},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 $0,Ffe=ft(()=>{"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"})($0||($0={}))});var Ov,Rfe=ft(()=>{"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"})(Ov||(Ov={}))});var Fv,Ife=ft(()=>{"use strict";(function(e){e[e.UNSET=0]="UNSET",e[e.OK=1]="OK",e[e.ERROR=2]="ERROR"})(Fv||(Fv={}))});function Mfe(e){return fit.test(e)}function kfe(e){return dit.test(e)&&!mit.test(e)}var m9,lit,pit,fit,dit,mit,$fe=ft(()=>{"use strict";m9="[_0-9a-z-*/]",lit="[a-z]"+m9+"{0,255}",pit="[a-z0-9]"+m9+"{0,240}@[a-z]"+m9+"{0,13}",fit=new RegExp("^(?:"+lit+"|"+pit+")$"),dit=/^[ -~]{0,255}[!-~]$/,mit=/,|=/});var Nfe,hit,Lfe,Bfe,jfe,Ufe=ft(()=>{"use strict";$fe();Nfe=32,hit=512,Lfe=",",Bfe="=",jfe=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+Bfe+r.get(o)),n},[]).join(Lfe)},e.prototype._parse=function(r){r.length>hit||(this._internalState=r.split(Lfe).reverse().reduce(function(n,o){var i=o.trim(),a=i.indexOf(Bfe);if(a!==-1){var c=i.slice(0,a),u=i.slice(a+1,o.length);Mfe(c)&&kfe(u)&&n.set(c,u)}return n},new Map),this._internalState.size>Nfe&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,Nfe))))},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 qfe(e){return new jfe(e)}var Gfe=ft(()=>{"use strict";Ufe()});var zf,Hfe=ft(()=>{"use strict";P_();zf=Qm.getInstance()});var hr,Wfe=ft(()=>{"use strict";M0();hr=Es.instance()});var git,Vfe,zfe=ft(()=>{"use strict";n9();git=function(){function e(){}return e.prototype.getMeter=function(r,n,o){return r9},e}(),Vfe=new git});var h9,Kfe,Jfe=ft(()=>{"use strict";zfe();I0();M0();h9="metrics",Kfe=function(){function e(){}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalMeterProvider=function(r){return xp(h9,r,Es.instance())},e.prototype.getMeterProvider=function(){return oc(h9)||Vfe},e.prototype.getMeter=function(r,n,o){return this.getMeterProvider().getMeter(r,n,o)},e.prototype.disable=function(){bp(h9,Es.instance())},e}()});var g9,Yfe=ft(()=>{"use strict";Jfe();g9=Kfe.getInstance()});var Zfe,Qfe=ft(()=>{"use strict";Zfe=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 x9(e){return e.getValue(y9)||void 0}function Xfe(){return x9(Qm.getInstance().active())}function ede(e,r){return e.setValue(y9,r)}function tde(e){return e.deleteValue(y9)}var y9,rde=ft(()=>{"use strict";P_();A_();y9=Zm("OpenTelemetry Baggage Key")});var b9,yit,nde,ode=ft(()=>{"use strict";I0();Qfe();o9();rde();Xj();M0();b9="propagation",yit=new Zfe,nde=function(){function e(){this.createBaggage=yfe,this.getBaggage=x9,this.getActiveBaggage=Xfe,this.setBaggage=ede,this.deleteBaggage=tde}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalPropagator=function(r){return xp(b9,r,Es.instance())},e.prototype.inject=function(r,n,o){return o===void 0&&(o=YO),this._getGlobalPropagator().inject(r,n,o)},e.prototype.extract=function(r,n,o){return o===void 0&&(o=JO),this._getGlobalPropagator().extract(r,n,o)},e.prototype.fields=function(){return this._getGlobalPropagator().fields()},e.prototype.disable=function(){bp(b9,Es.instance())},e.prototype._getGlobalPropagator=function(){return oc(b9)||yit},e}()});var v9,ide=ft(()=>{"use strict";ode();v9=nde.getInstance()});var E9,sde,ade=ft(()=>{"use strict";I0();d9();tF();c9();M0();E9="trace",sde=function(){function e(){this._proxyTracerProvider=new M_,this.wrapSpanContext=Afe,this.isSpanContextValid=eh,this.deleteSpan=Dfe,this.getSpan=XO,this.getActiveSpan=Tfe,this.getSpanContext=eF,this.setSpan=R_,this.setSpanContext=Cfe}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalTracerProvider=function(r){var n=xp(E9,this._proxyTracerProvider,Es.instance());return n&&this._proxyTracerProvider.setDelegate(r),n},e.prototype.getTracerProvider=function(){return oc(E9)||this._proxyTracerProvider},e.prototype.getTracer=function(r,n){return this.getTracerProvider().getTracer(r,n)},e.prototype.disable=function(){bp(E9,Es.instance()),this._proxyTracerProvider=new M_},e}()});var ha,cde=ft(()=>{"use strict";ade();ha=sde.getInstance()});var oF={};Ho(oF,{DiagConsoleLogger:()=>bfe,DiagLogLevel:()=>Zi,INVALID_SPANID:()=>O_,INVALID_SPAN_CONTEXT:()=>Pv,INVALID_TRACEID:()=>F_,ProxyTracer:()=>nF,ProxyTracerProvider:()=>M_,ROOT_CONTEXT:()=>VO,SamplingDecision:()=>$0,SpanKind:()=>Ov,SpanStatusCode:()=>Fv,TraceFlags:()=>Jc,ValueType:()=>KO,baggageEntryMetadataFromString:()=>xfe,context:()=>zf,createContextKey:()=>Zm,createNoopMeter:()=>Efe,createTraceState:()=>qfe,default:()=>xit,defaultTextMapGetter:()=>JO,defaultTextMapSetter:()=>YO,diag:()=>hr,isSpanContextValid:()=>eh,isValidSpanId:()=>u9,isValidTraceId:()=>I_,metrics:()=>g9,propagation:()=>v9,trace:()=>ha});var xit,ga=ft(()=>{"use strict";Xj();A_();vfe();WO();n9();wfe();o9();f9();d9();Ffe();Rfe();Ife();s9();Gfe();tF();ZO();Hfe();Wfe();Yfe();ide();cde();xit={context:zf,diag:hr,metrics:g9,propagation:v9,trace:ha}});var S9=A(iF=>{"use strict";Object.defineProperty(iF,"__esModule",{value:!0});iF.AbstractAsyncHooksContextManager=void 0;var bit=require("events"),vit=["addListener","on","once","prependListener","prependOnceListener"],w9=class{bind(r,n){return n instanceof bit.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),vit.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};iF.AbstractAsyncHooksContextManager=w9});var ude=A(sF=>{"use strict";Object.defineProperty(sF,"__esModule",{value:!0});sF.AsyncHooksContextManager=void 0;var Eit=(ga(),HO(oF)),wit=require("async_hooks"),Sit=S9(),_9=class extends Sit.AbstractAsyncHooksContextManager{_asyncHook;_contexts=new Map;_stack=[];constructor(){super(),this._asyncHook=wit.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]??Eit.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()}};sF.AsyncHooksContextManager=_9});var lde=A(aF=>{"use strict";Object.defineProperty(aF,"__esModule",{value:!0});aF.AsyncLocalStorageContextManager=void 0;var _it=(ga(),HO(oF)),Tit=require("async_hooks"),Dit=S9(),T9=class extends Dit.AbstractAsyncHooksContextManager{_asyncLocalStorage;constructor(){super(),this._asyncLocalStorage=new Tit.AsyncLocalStorage}active(){return this._asyncLocalStorage.getStore()??_it.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}};aF.AsyncLocalStorageContextManager=T9});var pde=A(Rv=>{"use strict";Object.defineProperty(Rv,"__esModule",{value:!0});Rv.AsyncLocalStorageContextManager=Rv.AsyncHooksContextManager=void 0;var Cit=ude();Object.defineProperty(Rv,"AsyncHooksContextManager",{enumerable:!0,get:function(){return Cit.AsyncHooksContextManager}});var Ait=lde();Object.defineProperty(Rv,"AsyncLocalStorageContextManager",{enumerable:!0,get:function(){return Ait.AsyncLocalStorageContextManager}})});var Y9=A((Clr,ime)=>{"use strict";ime.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 cme=A((Alr,ame)=>{"use strict";var xat=require("os"),sme=require("tty"),Zc=Y9(),{env:Ri}=process,ah;Zc("no-color")||Zc("no-colors")||Zc("color=false")||Zc("color=never")?ah=0:(Zc("color")||Zc("colors")||Zc("color=true")||Zc("color=always"))&&(ah=1);"FORCE_COLOR"in Ri&&(Ri.FORCE_COLOR==="true"?ah=1:Ri.FORCE_COLOR==="false"?ah=0:ah=Ri.FORCE_COLOR.length===0?1:Math.min(parseInt(Ri.FORCE_COLOR,10),3));function Z9(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function Q9(e,r){if(ah===0)return 0;if(Zc("color=16m")||Zc("color=full")||Zc("color=truecolor"))return 3;if(Zc("color=256"))return 2;if(e&&!r&&ah===void 0)return 0;let n=ah||0;if(Ri.TERM==="dumb")return n;if(process.platform==="win32"){let o=xat.release().split(".");return Number(o[0])>=10&&Number(o[2])>=10586?Number(o[2])>=14931?3:2:1}if("CI"in Ri)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(o=>o in Ri)||Ri.CI_NAME==="codeship"?1:n;if("TEAMCITY_VERSION"in Ri)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Ri.TEAMCITY_VERSION)?1:0;if(Ri.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Ri){let o=parseInt((Ri.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Ri.TERM_PROGRAM){case"iTerm.app":return o>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Ri.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Ri.TERM)||"COLORTERM"in Ri?1:n}function bat(e){let r=Q9(e,e&&e.isTTY);return Z9(r)}ame.exports={supportsColor:bat,stdout:Z9(Q9(!0,sme.isatty(1))),stderr:Z9(Q9(!0,sme.isatty(2)))}});var pme=A((Plr,lme)=>{"use strict";var vat=cme(),$v=Y9();function ume(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 X9(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($v("no-hyperlink")||$v("no-hyperlinks")||$v("hyperlink=false")||$v("hyperlink=never"))return!1;if($v("hyperlink=true")||$v("hyperlink=always")||o)return!0;if(!vat.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=ume(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=ume(u);return p.major>0||p.minor>=50}switch(l){case"alacritty":return!0}return!1}lme.exports={supportsHyperlink:X9,stdout:X9(process.stdout),stderr:X9(process.stderr)}});var gme=A((Rlr,hme)=>{"use strict";hme.exports=mme;mme.sync=wat;var fme=require("fs");function Eat(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 dme(e,r,n){return!e.isSymbolicLink()&&!e.isFile()?!1:Eat(r,n)}function mme(e,r,n){fme.stat(e,function(o,i){n(o,o?!1:dme(i,e,r))})}function wat(e,r){return dme(fme.statSync(e),e,r)}});var Eme=A((Ilr,vme)=>{"use strict";vme.exports=xme;xme.sync=Sat;var yme=require("fs");function xme(e,r,n){yme.stat(e,function(o,i){n(o,o?!1:bme(i,r))})}function Sat(e,r){return bme(yme.statSync(e),r)}function bme(e,r){return e.isFile()&&_at(e,r)}function _at(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 Sme=A((klr,wme)=>{"use strict";var Mlr=require("fs"),MF;process.platform==="win32"||global.TESTING_WINDOWS?MF=gme():MF=Eme();wme.exports=eU;eU.sync=Tat;function eU(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){eU(e,r||{},function(a,c){a?i(a):o(c)})})}MF(e,r||{},function(o,i){o&&(o.code==="EACCES"||r&&r.ignoreErrors)&&(o=null,i=!1),n(o,i)})}function Tat(e,r){try{return MF.sync(e,r||{})}catch(n){if(r&&r.ignoreErrors||n.code==="EACCES")return!1;throw n}}});var Ome=A(($lr,Pme)=>{"use strict";var Nv=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",_me=require("path"),Dat=Nv?";":":",Tme=Sme(),Dme=e=>Object.assign(new Error(`not found: ${e}`),{code:"ENOENT"}),Cme=(e,r)=>{let n=r.colon||Dat,o=e.match(/\//)||Nv&&e.match(/\\/)?[""]:[...Nv?[process.cwd()]:[],...(r.path||process.env.PATH||"").split(n)],i=Nv?r.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",a=Nv?i.split(n):[""];return Nv&&e.indexOf(".")!==-1&&a[0]!==""&&a.unshift(""),{pathEnv:o,pathExt:a,pathExtExe:i}},Ame=(e,r,n)=>{typeof r=="function"&&(n=r,r={}),r||(r={});let{pathEnv:o,pathExt:i,pathExtExe:a}=Cme(e,r),c=[],u=p=>new Promise((f,g)=>{if(p===o.length)return r.all&&c.length?f(c):g(Dme(e));let b=o[p],x=/^".*"$/.test(b)?b.slice(1,-1):b,v=_me.join(x,e),S=!x&&/^\.[\\\/]/.test(e)?e.slice(0,2)+v:v;f(l(S,p,0))}),l=(p,f,g)=>new Promise((b,x)=>{if(g===i.length)return b(u(f+1));let v=i[g];Tme(p+v,{pathExt:a},(S,_)=>{if(!S&&_)if(r.all)c.push(p+v);else return b(p+v);return b(l(p,f,g+1))})});return n?u(0).then(p=>n(null,p),n):u(0)},Cat=(e,r)=>{r=r||{};let{pathEnv:n,pathExt:o,pathExtExe:i}=Cme(e,r),a=[];for(let c=0;c<n.length;c++){let u=n[c],l=/^".*"$/.test(u)?u.slice(1,-1):u,p=_me.join(l,e),f=!l&&/^\.[\\\/]/.test(e)?e.slice(0,2)+p:p;for(let g=0;g<o.length;g++){let b=f+o[g];try{if(Tme.sync(b,{pathExt:i}))if(r.all)a.push(b);else return b}catch{}}}if(r.all&&a.length)return a;if(r.nothrow)return null;throw Dme(e)};Pme.exports=Ame;Ame.sync=Cat});var rU=A((Nlr,tU)=>{"use strict";var Fme=(e={})=>{let r=e.env||process.env;return(e.platform||process.platform)!=="win32"?"PATH":Object.keys(r).reverse().find(o=>o.toUpperCase()==="PATH")||"Path"};tU.exports=Fme;tU.exports.default=Fme});var kme=A((Llr,Mme)=>{"use strict";var Rme=require("path"),Aat=Ome(),Pat=rU();function Ime(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=Aat.sync(e.command,{path:n[Pat({env:n})],pathExt:r?Rme.delimiter:void 0})}catch{}finally{a&&process.chdir(o)}return c&&(c=Rme.resolve(i?e.options.cwd:"",c)),c}function Oat(e){return Ime(e)||Ime(e,!0)}Mme.exports=Oat});var $me=A((Blr,oU)=>{"use strict";var nU=/([()\][%!^"`<>&|;, *?])/g;function Fat(e){return e=e.replace(nU,"^$1"),e}function Rat(e,r){return e=`${e}`,e=e.replace(/(?=(\\+?)?)\1"/g,'$1$1\\"'),e=e.replace(/(?=(\\+?)?)\1$/,"$1$1"),e=`"${e}"`,e=e.replace(nU,"^$1"),r&&(e=e.replace(nU,"^$1")),e}oU.exports.command=Fat;oU.exports.argument=Rat});var Lme=A((jlr,Nme)=>{"use strict";Nme.exports=/^#!(.*)/});var jme=A((Ulr,Bme)=>{"use strict";var Iat=Lme();Bme.exports=(e="")=>{let r=e.match(Iat);if(!r)return null;let[n,o]=r[0].replace(/#! ?/,"").split(" "),i=n.split("/").pop();return i==="env"?o:o?`${i} ${o}`:i}});var qme=A((qlr,Ume)=>{"use strict";var iU=require("fs"),Mat=jme();function kat(e){let n=Buffer.alloc(150),o;try{o=iU.openSync(e,"r"),iU.readSync(o,n,0,150,0),iU.closeSync(o)}catch{}return Mat(n.toString())}Ume.exports=kat});var Vme=A((Glr,Wme)=>{"use strict";var $at=require("path"),Gme=kme(),Hme=$me(),Nat=qme(),Lat=process.platform==="win32",Bat=/\.(?:com|exe)$/i,jat=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function Uat(e){e.file=Gme(e);let r=e.file&&Nat(e.file);return r?(e.args.unshift(e.file),e.command=r,Gme(e)):e.file}function qat(e){if(!Lat)return e;let r=Uat(e),n=!Bat.test(r);if(e.options.forceShell||n){let o=jat.test(r);e.command=$at.normalize(e.command),e.command=Hme.command(e.command),e.args=e.args.map(a=>Hme.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 Gat(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:qat(o)}Wme.exports=Gat});var Jme=A((Hlr,Kme)=>{"use strict";var sU=process.platform==="win32";function aU(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 Hat(e,r){if(!sU)return;let n=e.emit;e.emit=function(o,i){if(o==="exit"){let a=zme(i,r);if(a)return n.call(e,"error",a)}return n.apply(e,arguments)}}function zme(e,r){return sU&&e===1&&!r.file?aU(r.original,"spawn"):null}function Wat(e,r){return sU&&e===1&&!r.file?aU(r.original,"spawnSync"):null}Kme.exports={hookChildProcess:Hat,verifyENOENT:zme,verifyENOENTSync:Wat,notFoundError:aU}});var kF=A((Wlr,Lv)=>{"use strict";var Yme=require("child_process"),cU=Vme(),uU=Jme();function Zme(e,r,n){let o=cU(e,r,n),i=Yme.spawn(o.command,o.args,o.options);return uU.hookChildProcess(i,o),i}function Vat(e,r,n){let o=cU(e,r,n),i=Yme.spawnSync(o.command,o.args,o.options);return i.error=i.error||uU.verifyENOENTSync(i.status,o),i}Lv.exports=Zme;Lv.exports.spawn=Zme;Lv.exports.sync=Vat;Lv.exports._parse=cU;Lv.exports._enoent=uU});var CU=A((jpr,Ahe)=>{"use strict";var{PassThrough:Lct}=require("stream");Ahe.exports=function(){var e=[],r=new Lct({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 tge=A((afr,ege)=>{"use strict";ege.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 ba=A((cfr,rge)=>{"use strict";var YF=require("fs"),Qct=tge(),Xct=e=>[typeof YF[e]=="function",!e.match(/Sync$/),!e.match(/^[A-Z]/),!e.match(/^create/),!e.match(/^(un)?watch/)].every(Boolean),eut=e=>{let r=YF[e];return Qct(r)},tut=()=>{let e={};return Object.keys(YF).forEach(r=>{Xct(r)?r==="exists"?e.exists=()=>{throw new Error("fs.exists() is deprecated")}:e[r]=eut(r):e[r]=YF[r]}),e};rge.exports=tut()});var es=A((ufr,sge)=>{"use strict";var rut=e=>{let r=n=>["a","e","i","o","u"].indexOf(n[0])!==-1?`an ${n}`:`a ${n}`;return e.map(r).join(" or ")},nge=e=>/array of /.test(e),oge=e=>e.split(" of ")[1],ige=e=>nge(e)?ige(oge(e)):["string","number","boolean","array","object","buffer","null","undefined","function"].some(r=>r===e),rT=e=>e===null?"null":Array.isArray(e)?"array":Buffer.isBuffer(e)?"buffer":typeof e,nut=(e,r,n)=>n.indexOf(e)===r,out=e=>{let r=rT(e),n;return r==="array"&&(n=e.map(o=>rT(o)).filter(nut),r+=` of ${n.join(", ")}`),r},iut=(e,r)=>{let n=oge(r);return rT(e)!=="array"?!1:e.every(o=>rT(o)===n)},kU=(e,r,n,o)=>{if(!o.some(a=>{if(!ige(a))throw new Error(`Unknown type "${a}"`);return nge(a)?iut(n,a):a===rT(n)}))throw new Error(`Argument "${r}" passed to ${e} must be ${rut(o)}. Received ${out(n)}`)},sut=(e,r,n,o)=>{n!==void 0&&(kU(e,r,n,["object"]),Object.keys(n).forEach(i=>{let a=`${r}.${i}`;if(o[i]!==void 0)kU(e,a,n[i],o[i]);else throw new Error(`Unknown argument "${a}" passed to ${e}`)}))};sge.exports={argument:kU,options:sut}});var ZF=A(age=>{"use strict";age.normalizeFileMode=e=>{let r;return typeof e=="number"?r=e.toString(8):r=e,r.substring(r.length-3)}});var XF=A(QF=>{"use strict";var cge=ba(),aut=es(),cut=(e,r)=>{let n=`${e}([path])`;aut.argument(n,"path",r,["string","undefined"])},uut=e=>{cge.rmSync(e,{recursive:!0,force:!0,maxRetries:3})},lut=e=>cge.rm(e,{recursive:!0,force:!0,maxRetries:3});QF.validateInput=cut;QF.sync=uut;QF.async=lut});var V0=A(Uv=>{"use strict";var eR=require("path"),_p=ba(),$U=ZF(),uge=es(),lge=XF(),put=(e,r,n)=>{let o=`${e}(path, [criteria])`;uge.argument(o,"path",r,["string"]),uge.options(o,"criteria",n,{empty:["boolean"],mode:["string","number"]})},pge=e=>{let r=e||{};return typeof r.empty!="boolean"&&(r.empty=!1),r.mode!==void 0&&(r.mode=$U.normalizeFileMode(r.mode)),r},fge=e=>new Error(`Path ${e} exists but is not a directory. Halting jetpack.dir() call for safety reasons.`),fut=e=>{let r;try{r=_p.statSync(e)}catch(n){if(n.code!=="ENOENT")throw n}if(r&&!r.isDirectory())throw fge(e);return r},NU=(e,r)=>{let n=r||{};try{_p.mkdirSync(e,n.mode)}catch(o){if(o.code==="ENOENT")NU(eR.dirname(e),n),_p.mkdirSync(e,n.mode);else if(o.code!=="EEXIST")throw o}},dut=(e,r,n)=>{let o=()=>{let a=$U.normalizeFileMode(r.mode);n.mode!==void 0&&n.mode!==a&&_p.chmodSync(e,n.mode)},i=()=>{n.empty&&_p.readdirSync(e).forEach(c=>{lge.sync(eR.resolve(e,c))})};o(),i()},mut=(e,r)=>{let n=pge(r),o=fut(e);o?dut(e,o,n):NU(e,n)},hut=e=>new Promise((r,n)=>{_p.stat(e).then(o=>{o.isDirectory()?r(o):n(fge(e))}).catch(o=>{o.code==="ENOENT"?r(void 0):n(o)})}),gut=e=>new Promise((r,n)=>{_p.readdir(e).then(o=>{let i=a=>{if(a===o.length)r();else{let c=eR.resolve(e,o[a]);lge.async(c).then(()=>{i(a+1)})}};i(0)}).catch(n)}),yut=(e,r,n)=>new Promise((o,i)=>{let a=()=>{let u=$U.normalizeFileMode(r.mode);return n.mode!==void 0&&n.mode!==u?_p.chmod(e,n.mode):Promise.resolve()},c=()=>n.empty?gut(e):Promise.resolve();a().then(c).then(o,i)}),LU=(e,r)=>{let n=r||{};return new Promise((o,i)=>{_p.mkdir(e,n.mode).then(o).catch(a=>{a.code==="ENOENT"?LU(eR.dirname(e),n).then(()=>_p.mkdir(e,n.mode)).then(o).catch(c=>{c.code==="EEXIST"?o():i(c)}):a.code==="EEXIST"?o():i(a)})})},xut=(e,r)=>new Promise((n,o)=>{let i=pge(r);hut(e).then(a=>a!==void 0?yut(e,a,i):LU(e,i)).then(n,o)});Uv.validateInput=put;Uv.sync=mut;Uv.createSync=NU;Uv.async=xut;Uv.createAsync=LU});var nT=A(rR=>{"use strict";var dge=require("path"),qv=ba(),BU=es(),mge=V0(),but=(e,r,n,o)=>{let i=`${e}(path, data, [options])`;BU.argument(i,"path",r,["string"]),BU.argument(i,"data",n,["string","buffer","object","array"]),BU.options(i,"options",o,{mode:["string","number"],atomic:["boolean"],jsonIndent:["number"]})},tR=".__new__",hge=(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},gge=(e,r,n)=>{try{qv.writeFileSync(e,r,n)}catch(o){if(o.code==="ENOENT")mge.createSync(dge.dirname(e)),qv.writeFileSync(e,r,n);else throw o}},vut=(e,r,n)=>{gge(e+tR,r,n),qv.renameSync(e+tR,e)},Eut=(e,r,n)=>{let o=n||{},i=hge(r,o.jsonIndent),a=gge;o.atomic&&(a=vut),a(e,i,{mode:o.mode})},yge=(e,r,n)=>new Promise((o,i)=>{qv.writeFile(e,r,n).then(o).catch(a=>{a.code==="ENOENT"?mge.createAsync(dge.dirname(e)).then(()=>qv.writeFile(e,r,n)).then(o,i):i(a)})}),wut=(e,r,n)=>new Promise((o,i)=>{yge(e+tR,r,n).then(()=>qv.rename(e+tR,e)).then(o,i)}),Sut=(e,r,n)=>{let o=n||{},i=hge(r,o.jsonIndent),a=yge;return o.atomic&&(a=wut),a(e,i,{mode:o.mode})};rR.validateInput=but;rR.sync=Eut;rR.async=Sut});var vge=A(nR=>{"use strict";var xge=ba(),bge=nT(),jU=es(),_ut=(e,r,n,o)=>{let i=`${e}(path, data, [options])`;jU.argument(i,"path",r,["string"]),jU.argument(i,"data",n,["string","buffer"]),jU.options(i,"options",o,{mode:["string","number"]})},Tut=(e,r,n)=>{try{xge.appendFileSync(e,r,n)}catch(o){if(o.code==="ENOENT")bge.sync(e,r,n);else throw o}},Dut=(e,r,n)=>new Promise((o,i)=>{xge.appendFile(e,r,n).then(o).catch(a=>{a.code==="ENOENT"?bge.async(e,r,n).then(o,i):i(a)})});nR.validateInput=_ut;nR.sync=Tut;nR.async=Dut});var _ge=A(sR=>{"use strict";var oR=ba(),UU=ZF(),Ege=es(),iR=nT(),Cut=(e,r,n)=>{let o=`${e}(path, [criteria])`;Ege.argument(o,"path",r,["string"]),Ege.options(o,"criteria",n,{content:["string","buffer","object","array"],jsonIndent:["number"],mode:["string","number"]})},wge=e=>{let r=e||{};return r.mode!==void 0&&(r.mode=UU.normalizeFileMode(r.mode)),r},Sge=e=>new Error(`Path ${e} exists but is not a file. Halting jetpack.file() call for safety reasons.`),Aut=e=>{let r;try{r=oR.statSync(e)}catch(n){if(n.code!=="ENOENT")throw n}if(r&&!r.isFile())throw Sge(e);return r},Put=(e,r,n)=>{let o=UU.normalizeFileMode(r.mode),i=()=>n.content!==void 0?(iR.sync(e,n.content,{mode:o,jsonIndent:n.jsonIndent}),!0):!1,a=()=>{n.mode!==void 0&&n.mode!==o&&oR.chmodSync(e,n.mode)};i()||a()},Out=(e,r)=>{let n="";r.content!==void 0&&(n=r.content),iR.sync(e,n,{mode:r.mode,jsonIndent:r.jsonIndent})},Fut=(e,r)=>{let n=wge(r),o=Aut(e);o!==void 0?Put(e,o,n):Out(e,n)},Rut=e=>new Promise((r,n)=>{oR.stat(e).then(o=>{o.isFile()?r(o):n(Sge(e))}).catch(o=>{o.code==="ENOENT"?r(void 0):n(o)})}),Iut=(e,r,n)=>{let o=UU.normalizeFileMode(r.mode),i=()=>new Promise((c,u)=>{n.content!==void 0?iR.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 oR.chmod(e,n.mode)};return i().then(c=>{if(!c)return a()})},Mut=(e,r)=>{let n="";return r.content!==void 0&&(n=r.content),iR.async(e,n,{mode:r.mode,jsonIndent:r.jsonIndent})},kut=(e,r)=>new Promise((n,o)=>{let i=wge(r);Rut(e).then(a=>a!==void 0?Iut(e,a,i):Mut(e,i)).then(n,o)});sR.validateInput=Cut;sR.sync=Fut;sR.async=kut});var Hv=A(Gv=>{"use strict";var Dge=require("crypto"),$ut=require("path"),uh=ba(),Tge=es(),qU=["md5","sha1","sha256","sha512"],GU=["report","follow"],Nut=(e,r,n)=>{let o=`${e}(path, [options])`;if(Tge.argument(o,"path",r,["string"]),Tge.options(o,"options",n,{checksum:["string"],mode:["boolean"],times:["boolean"],absolutePath:["boolean"],symlinks:["string"]}),n&&n.checksum!==void 0&&qU.indexOf(n.checksum)===-1)throw new Error(`Argument "options.checksum" passed to ${o} must have one of values: ${qU.join(", ")}`);if(n&&n.symlinks!==void 0&&GU.indexOf(n.symlinks)===-1)throw new Error(`Argument "options.symlinks" passed to ${o} must have one of values: ${GU.join(", ")}`)},Cge=(e,r,n)=>{let o={};return o.name=$ut.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},Lut=(e,r)=>{let n=Dge.createHash(r),o=uh.readFileSync(e);return n.update(o),n.digest("hex")},But=(e,r,n)=>{r.type==="file"&&n.checksum?r[n.checksum]=Lut(e,n.checksum):r.type==="symlink"&&(r.pointsAt=uh.readlinkSync(e))},jut=(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=Cge(e,i,o);return But(e,a,i),a},Uut=(e,r)=>new Promise((n,o)=>{let i=Dge.createHash(r),a=uh.createReadStream(e);a.on("data",c=>{i.update(c)}),a.on("end",()=>{n(i.digest("hex"))}),a.on("error",o)}),qut=(e,r,n)=>r.type==="file"&&n.checksum?Uut(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),Gut=(e,r)=>new Promise((n,o)=>{let i=uh.lstat,a=r||{};a.symlinks==="follow"&&(i=uh.stat),i(e).then(c=>{let u=Cge(e,a,c);qut(e,u,a).then(n,o)}).catch(c=>{c.code==="ENOENT"?n(void 0):o(c)})});Gv.supportedChecksumAlgorithms=qU;Gv.symlinkOptions=GU;Gv.validateInput=Nut;Gv.sync=jut;Gv.async=Gut});var cR=A(aR=>{"use strict";var Age=ba(),Hut=es(),Wut=(e,r)=>{let n=`${e}(path)`;Hut.argument(n,"path",r,["string","undefined"])},Vut=e=>{try{return Age.readdirSync(e)}catch(r){if(r.code==="ENOENT")return;throw r}},zut=e=>new Promise((r,n)=>{Age.readdir(e).then(o=>{r(o)}).catch(o=>{o.code==="ENOENT"?r(void 0):n(o)})});aR.validateInput=Wut;aR.sync=Vut;aR.async=zut});var fR=A(HU=>{"use strict";var uR=require("fs"),lR=require("path"),oT=Hv(),xfr=cR(),pR=e=>e.isDirectory()?"dir":e.isFile()?"file":e.isSymbolicLink()?"symlink":"other",Kut=(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)=>{uR.readdirSync(c,{withFileTypes:!0}).forEach(l=>{let p=typeof l=="string",f;p?f=lR.join(c,l):f=lR.join(c,l.name);let g;if(o)g=oT.sync(f,r.inspectOptions);else if(p){let b=oT.sync(f,r.inspectOptions);g={name:b.name,type:b.type}}else{let b=pR(l);if(b==="symlink"&&r.symlinks==="follow"){let x=uR.statSync(f);g={name:l.name,type:pR(x)}}else g={name:l.name,type:b}}g!==void 0&&(n(f,g),g.type==="dir"&&u<r.maxLevelsDeep&&i(f,u+1))})},a=oT.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)},Jut=5,Yut=(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<Jut){let g=a.pop();c+=1,g()}},l=g=>{a.push(g),u()},p=()=>{c-=1,u()},f=(g,b)=>{let x=(v,S)=>{S.type==="dir"&&b<r.maxLevelsDeep&&f(v,b+1)};l(()=>{uR.readdir(g,{withFileTypes:!0},(v,S)=>{v?o(v):(S.forEach(_=>{let D=typeof _=="string",O;if(D?O=lR.join(g,_):O=lR.join(g,_.name),i||D)l(()=>{oT.async(O,r.inspectOptions).then(C=>{C!==void 0&&(i?n(O,C):n(O,{name:C.name,type:C.type}),x(O,C)),p()}).catch(C=>{o(C)})});else{let C=pR(_);if(C==="symlink"&&r.symlinks==="follow")l(()=>{uR.stat(O,(F,P)=>{if(F)o(F);else{let k={name:_.name,type:pR(P)};n(O,k),x(O,k),p()}})});else{let F={name:_.name,type:C};n(O,F),x(O,F)}}}),p())})})};oT.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)})};HU.sync=Kut;HU.async=Yut});var Oge=A((vfr,Pge)=>{"use strict";var Zut=typeof process=="object"&&process&&process.platform==="win32";Pge.exports=Zut?{sep:"\\"}:{sep:"/"}});var WU=A((Efr,Mge)=>{"use strict";Mge.exports=Rge;function Rge(e,r,n){e instanceof RegExp&&(e=Fge(e,n)),r instanceof RegExp&&(r=Fge(r,n));var o=Ige(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 Fge(e,r){var n=r.match(e);return n?n[0]:null}Rge.range=Ige;function Ige(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 qge=A((wfr,Uge)=>{"use strict";var kge=WU();Uge.exports=elt;var $ge="\0SLASH"+Math.random()+"\0",Nge="\0OPEN"+Math.random()+"\0",zU="\0CLOSE"+Math.random()+"\0",Lge="\0COMMA"+Math.random()+"\0",Bge="\0PERIOD"+Math.random()+"\0";function VU(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function Qut(e){return e.split("\\\\").join($ge).split("\\{").join(Nge).split("\\}").join(zU).split("\\,").join(Lge).split("\\.").join(Bge)}function Xut(e){return e.split($ge).join("\\").split(Nge).join("{").split(zU).join("}").split(Lge).join(",").split(Bge).join(".")}function jge(e){if(!e)return[""];var r=[],n=kge("{","}",e);if(!n)return e.split(",");var o=n.pre,i=n.body,a=n.