@serverless-devs/s 2.0.100-beta.7 → 2.0.100-beta.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -31,7 +31,7 @@ __p += '`),Y&&(O+=`' +
31
31
  function print() { __p += __j.call(arguments, '') }
32
32
  `:`;
33
33
  `)+O+`return __p
34
- }`;var B=Ma(function(){return J(c,N+"return "+O).apply(i,p)});if(B.source=O,bs(B))throw B;return B}function pm(e){return Q(e).toLowerCase()}function gm(e){return Q(e).toUpperCase()}function dm(e,t,n){if(e=Q(e),e&&(n||t===i))return Vu(e);if(!e||!(t=Te(t)))return e;var u=Ze(e),a=Ze(t),c=Ku(u,a),p=Yu(u,a)+1;return bt(u,c,p).join("")}function _m(e,t,n){if(e=Q(e),e&&(n||t===i))return e.slice(0,Ju(e)+1);if(!e||!(t=Te(t)))return e;var u=Ze(e),a=Yu(u,Ze(t))+1;return bt(u,0,a).join("")}function mm(e,t,n){if(e=Q(e),e&&(n||t===i))return e.replace(bi,"");if(!e||!(t=Te(t)))return e;var u=Ze(e),a=Ku(u,Ze(t));return bt(u,a).join("")}function vm(e,t){var n=cc,u=hc;if(re(t)){var a="separator"in t?t.separator:a;n="length"in t?G(t.length):n,u="omission"in t?Te(t.omission):u}e=Q(e);var c=e.length;if(sn(e)){var p=Ze(e);c=p.length}if(n>=c)return e;var g=n-un(u);if(g<1)return u;var _=p?bt(p,0,g).join(""):e.slice(0,g);if(a===i)return _+u;if(p&&(g+=_.length-g),Ts(a)){if(e.slice(g).search(a)){var y,R=_;for(a.global||(a=Ki(a.source,Q(gu.exec(a))+"g")),a.lastIndex=0;y=a.exec(R);)var O=y.index;_=_.slice(0,O===i?g:O)}}else if(e.indexOf(Te(a),g)!=g){var S=_.lastIndexOf(a);S>-1&&(_=_.slice(0,S))}return _+u}function Em(e){return e=Q(e),e&&bc.test(e)?e.replace(cu,Yh):e}var wm=hn(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),Ps=Uo("toUpperCase");function Da(e,t,n){return e=Q(e),t=n?i:t,t===i?Bh(e)?Qh(e):Ph(e):e.match(t)||[]}var Ma=z(function(e,t){try{return Le(e,i,t)}catch(n){return bs(n)?n:new H(n)}}),Am=gt(function(e,t){return De(t,function(n){n=st(n),ht(e,n,Cs(e[n],e))}),e});function xm(e){var t=e==null?0:e.length,n=q();return e=t?ne(e,function(u){if(typeof u[1]!="function")throw new Me(f);return[n(u[0]),u[1]]}):[],z(function(u){for(var a=-1;++a<t;){var c=e[a];if(Le(c[0],this,u))return Le(c[1],this,u)}})}function ym(e){return Yp(He(e,v))}function Fs(e){return function(){return e}}function Rm(e,t){return e==null||e!==e?t:e}var Om=Wo(),Im=Wo(!0);function Se(e){return e}function qs(e){return mo(typeof e=="function"?e:He(e,v))}function Sm(e){return Eo(He(e,v))}function Cm(e,t){return wo(e,He(t,v))}var Lm=z(function(e,t){return function(n){return qn(n,e,t)}}),bm=z(function(e,t){return function(n){return qn(e,n,t)}});function Ds(e,t,n){var u=ce(t),a=Pr(t,u);n==null&&!(re(t)&&(a.length||!u.length))&&(n=t,t=e,e=this,a=Pr(t,ce(t)));var c=!(re(n)&&"chain"in n)||!!n.chain,p=_t(e);return De(a,function(g){var _=t[g];e[g]=_,p&&(e.prototype[g]=function(){var y=this.__chain__;if(c||y){var R=e(this.__wrapped__),O=R.__actions__=Re(this.__actions__);return O.push({func:_,args:arguments,thisArg:e}),R.__chain__=y,R}return _.apply(e,yt([this.value()],arguments))})}),e}function Tm(){return fe._===this&&(fe._=rp),this}function Ms(){}function $m(e){return e=G(e),z(function(t){return Ao(t,e)})}var Nm=ds(ne),Pm=ds(Wu),Fm=ds(Hi);function Ua(e){return xs(e)?Wi(st(e)):cg(e)}function qm(e){return function(t){return e==null?i:Wt(e,t)}}var Dm=Bo(),Mm=Bo(!0);function Us(){return[]}function Hs(){return!1}function Um(){return{}}function Hm(){return""}function Wm(){return!0}function Gm(e,t){if(e=G(e),e<1||e>At)return[];var n=nt,u=de(e,nt);t=q(t),e-=nt;for(var a=Xi(u,t);++n<e;)t(n);return a}function Bm(e){return W(e)?ne(e,st):$e(e)?[e]:Re(sa(Q(e)))}function Xm(e){var t=++tp;return Q(e)+t}var zm=Hr(function(e,t){return e+t},0),Vm=_s("ceil"),Km=Hr(function(e,t){return e/t},1),Ym=_s("floor");function Zm(e){return e&&e.length?Nr(e,Se,ts):i}function Jm(e,t){return e&&e.length?Nr(e,q(t,2),ts):i}function Qm(e){return Xu(e,Se)}function jm(e,t){return Xu(e,q(t,2))}function km(e){return e&&e.length?Nr(e,Se,ss):i}function ev(e,t){return e&&e.length?Nr(e,q(t,2),ss):i}var tv=Hr(function(e,t){return e*t},1),nv=_s("round"),rv=Hr(function(e,t){return e-t},0);function iv(e){return e&&e.length?Bi(e,Se):0}function sv(e,t){return e&&e.length?Bi(e,q(t,2)):0}return l.after=S0,l.ary=_a,l.assign=g_,l.assignIn=ba,l.assignInWith=kr,l.assignWith=d_,l.at=__,l.before=ma,l.bind=Cs,l.bindAll=Am,l.bindKey=va,l.castArray=U0,l.chain=pa,l.chunk=Yg,l.compact=Zg,l.concat=Jg,l.cond=xm,l.conforms=ym,l.constant=Fs,l.countBy=i0,l.create=m_,l.curry=Ea,l.curryRight=wa,l.debounce=Aa,l.defaults=v_,l.defaultsDeep=E_,l.defer=C0,l.delay=L0,l.difference=Qg,l.differenceBy=jg,l.differenceWith=kg,l.drop=ed,l.dropRight=td,l.dropRightWhile=nd,l.dropWhile=rd,l.fill=id,l.filter=u0,l.flatMap=l0,l.flatMapDeep=f0,l.flatMapDepth=c0,l.flatten=la,l.flattenDeep=sd,l.flattenDepth=ud,l.flip=b0,l.flow=Om,l.flowRight=Im,l.fromPairs=od,l.functions=I_,l.functionsIn=S_,l.groupBy=h0,l.initial=ld,l.intersection=fd,l.intersectionBy=cd,l.intersectionWith=hd,l.invert=L_,l.invertBy=b_,l.invokeMap=g0,l.iteratee=qs,l.keyBy=d0,l.keys=ce,l.keysIn=Ie,l.map=Kr,l.mapKeys=$_,l.mapValues=N_,l.matches=Sm,l.matchesProperty=Cm,l.memoize=Zr,l.merge=P_,l.mergeWith=Ta,l.method=Lm,l.methodOf=bm,l.mixin=Ds,l.negate=Jr,l.nthArg=$m,l.omit=F_,l.omitBy=q_,l.once=T0,l.orderBy=_0,l.over=Nm,l.overArgs=$0,l.overEvery=Pm,l.overSome=Fm,l.partial=Ls,l.partialRight=xa,l.partition=m0,l.pick=D_,l.pickBy=$a,l.property=Ua,l.propertyOf=qm,l.pull=_d,l.pullAll=ca,l.pullAllBy=md,l.pullAllWith=vd,l.pullAt=Ed,l.range=Dm,l.rangeRight=Mm,l.rearg=N0,l.reject=w0,l.remove=wd,l.rest=P0,l.reverse=Is,l.sampleSize=x0,l.set=U_,l.setWith=H_,l.shuffle=y0,l.slice=Ad,l.sortBy=I0,l.sortedUniq=Cd,l.sortedUniqBy=Ld,l.split=lm,l.spread=F0,l.tail=bd,l.take=Td,l.takeRight=$d,l.takeRightWhile=Nd,l.takeWhile=Pd,l.tap=Zd,l.throttle=q0,l.thru=Vr,l.toArray=Sa,l.toPairs=Na,l.toPairsIn=Pa,l.toPath=Bm,l.toPlainObject=La,l.transform=W_,l.unary=D0,l.union=Fd,l.unionBy=qd,l.unionWith=Dd,l.uniq=Md,l.uniqBy=Ud,l.uniqWith=Hd,l.unset=G_,l.unzip=Ss,l.unzipWith=ha,l.update=B_,l.updateWith=X_,l.values=dn,l.valuesIn=z_,l.without=Wd,l.words=Da,l.wrap=M0,l.xor=Gd,l.xorBy=Bd,l.xorWith=Xd,l.zip=zd,l.zipObject=Vd,l.zipObjectDeep=Kd,l.zipWith=Yd,l.entries=Na,l.entriesIn=Pa,l.extend=ba,l.extendWith=kr,Ds(l,l),l.add=zm,l.attempt=Ma,l.camelCase=Z_,l.capitalize=Fa,l.ceil=Vm,l.clamp=V_,l.clone=H0,l.cloneDeep=G0,l.cloneDeepWith=B0,l.cloneWith=W0,l.conformsTo=X0,l.deburr=qa,l.defaultTo=Rm,l.divide=Km,l.endsWith=J_,l.eq=Qe,l.escape=Q_,l.escapeRegExp=j_,l.every=s0,l.find=o0,l.findIndex=oa,l.findKey=w_,l.findLast=a0,l.findLastIndex=aa,l.findLastKey=A_,l.floor=Ym,l.forEach=ga,l.forEachRight=da,l.forIn=x_,l.forInRight=y_,l.forOwn=R_,l.forOwnRight=O_,l.get=$s,l.gt=z0,l.gte=V0,l.has=C_,l.hasIn=Ns,l.head=fa,l.identity=Se,l.includes=p0,l.indexOf=ad,l.inRange=K_,l.invoke=T_,l.isArguments=Xt,l.isArray=W,l.isArrayBuffer=K0,l.isArrayLike=Oe,l.isArrayLikeObject=se,l.isBoolean=Y0,l.isBuffer=Tt,l.isDate=Z0,l.isElement=J0,l.isEmpty=Q0,l.isEqual=j0,l.isEqualWith=k0,l.isError=bs,l.isFinite=e_,l.isFunction=_t,l.isInteger=ya,l.isLength=Qr,l.isMap=Ra,l.isMatch=t_,l.isMatchWith=n_,l.isNaN=r_,l.isNative=i_,l.isNil=u_,l.isNull=s_,l.isNumber=Oa,l.isObject=re,l.isObjectLike=ie,l.isPlainObject=Gn,l.isRegExp=Ts,l.isSafeInteger=o_,l.isSet=Ia,l.isString=jr,l.isSymbol=$e,l.isTypedArray=gn,l.isUndefined=a_,l.isWeakMap=l_,l.isWeakSet=f_,l.join=pd,l.kebabCase=k_,l.last=Ge,l.lastIndexOf=gd,l.lowerCase=em,l.lowerFirst=tm,l.lt=c_,l.lte=h_,l.max=Zm,l.maxBy=Jm,l.mean=Qm,l.meanBy=jm,l.min=km,l.minBy=ev,l.stubArray=Us,l.stubFalse=Hs,l.stubObject=Um,l.stubString=Hm,l.stubTrue=Wm,l.multiply=tv,l.nth=dd,l.noConflict=Tm,l.noop=Ms,l.now=Yr,l.pad=nm,l.padEnd=rm,l.padStart=im,l.parseInt=sm,l.random=Y_,l.reduce=v0,l.reduceRight=E0,l.repeat=um,l.replace=om,l.result=M_,l.round=nv,l.runInContext=d,l.sample=A0,l.size=R0,l.snakeCase=am,l.some=O0,l.sortedIndex=xd,l.sortedIndexBy=yd,l.sortedIndexOf=Rd,l.sortedLastIndex=Od,l.sortedLastIndexBy=Id,l.sortedLastIndexOf=Sd,l.startCase=fm,l.startsWith=cm,l.subtract=rv,l.sum=iv,l.sumBy=sv,l.template=hm,l.times=Gm,l.toFinite=mt,l.toInteger=G,l.toLength=Ca,l.toLower=pm,l.toNumber=Be,l.toSafeInteger=p_,l.toString=Q,l.toUpper=gm,l.trim=dm,l.trimEnd=_m,l.trimStart=mm,l.truncate=vm,l.unescape=Em,l.uniqueId=Xm,l.upperCase=wm,l.upperFirst=Ps,l.each=ga,l.eachRight=da,l.first=fa,Ds(l,function(){var e={};return rt(l,function(t,n){j.call(l.prototype,n)||(e[n]=t)}),e}(),{chain:!1}),l.VERSION=r,De(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){l[e].placeholder=l}),De(["drop","take"],function(e,t){K.prototype[e]=function(n){n=n===i?1:le(G(n),0);var u=this.__filtered__&&!t?new K(this):this.clone();return u.__filtered__?u.__takeCount__=de(n,u.__takeCount__):u.__views__.push({size:de(n,nt),type:e+(u.__dir__<0?"Right":"")}),u},K.prototype[e+"Right"]=function(n){return this.reverse()[e](n).reverse()}}),De(["filter","map","takeWhile"],function(e,t){var n=t+1,u=n==au||n==_c;K.prototype[e]=function(a){var c=this.clone();return c.__iteratees__.push({iteratee:q(a,3),type:n}),c.__filtered__=c.__filtered__||u,c}}),De(["head","last"],function(e,t){var n="take"+(t?"Right":"");K.prototype[e]=function(){return this[n](1).value()[0]}}),De(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");K.prototype[e]=function(){return this.__filtered__?new K(this):this[n](1)}}),K.prototype.compact=function(){return this.filter(Se)},K.prototype.find=function(e){return this.filter(e).head()},K.prototype.findLast=function(e){return this.reverse().find(e)},K.prototype.invokeMap=z(function(e,t){return typeof e=="function"?new K(this):this.map(function(n){return qn(n,e,t)})}),K.prototype.reject=function(e){return this.filter(Jr(q(e)))},K.prototype.slice=function(e,t){e=G(e);var n=this;return n.__filtered__&&(e>0||t<0)?new K(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==i&&(t=G(t),n=t<0?n.dropRight(-t):n.take(t-e)),n)},K.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},K.prototype.toArray=function(){return this.take(nt)},rt(K.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),u=/^(?:head|last)$/.test(t),a=l[u?"take"+(t=="last"?"Right":""):t],c=u||/^find/.test(t);!a||(l.prototype[t]=function(){var p=this.__wrapped__,g=u?[1]:arguments,_=p instanceof K,y=g[0],R=_||W(p),O=function(V){var Y=a.apply(l,yt([V],g));return u&&S?Y[0]:Y};R&&n&&typeof y=="function"&&y.length!=1&&(_=R=!1);var S=this.__chain__,N=!!this.__actions__.length,D=c&&!S,B=_&&!N;if(!c&&R){p=B?p:new K(this);var M=e.apply(p,g);return M.__actions__.push({func:Vr,args:[O],thisArg:i}),new Ue(M,S)}return D&&B?e.apply(this,g):(M=this.thru(O),D?u?M.value()[0]:M.value():M)})}),De(["pop","push","shift","sort","splice","unshift"],function(e){var t=vr[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",u=/^(?:pop|shift)$/.test(e);l.prototype[e]=function(){var a=arguments;if(u&&!this.__chain__){var c=this.value();return t.apply(W(c)?c:[],a)}return this[n](function(p){return t.apply(W(p)?p:[],a)})}}),rt(K.prototype,function(e,t){var n=l[t];if(n){var u=n.name+"";j.call(ln,u)||(ln[u]=[]),ln[u].push({name:t,func:n})}}),ln[Ur(i,Pt).name]=[{name:"wrapper",func:i}],K.prototype.clone=Ep,K.prototype.reverse=wp,K.prototype.value=Ap,l.prototype.at=Jd,l.prototype.chain=Qd,l.prototype.commit=jd,l.prototype.next=kd,l.prototype.plant=t0,l.prototype.reverse=n0,l.prototype.toJSON=l.prototype.valueOf=l.prototype.value=r0,l.prototype.first=l.prototype.head,Ln&&(l.prototype[Ln]=e0),l},Ot=jh();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(fe._=Ot,define(function(){return Ot})):qt?((qt.exports=Ot)._=Ot,qi._=Ot):fe._=Ot}).call(_n)});var Vn=F((ew,Ja)=>{var av="2.0.0",lv=Number.MAX_SAFE_INTEGER||9007199254740991,fv=16;Ja.exports={SEMVER_SPEC_VERSION:av,MAX_LENGTH:256,MAX_SAFE_INTEGER:lv,MAX_SAFE_COMPONENT_LENGTH:fv}});var Kn=F((tw,Qa)=>{var cv=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...i)=>console.error("SEMVER",...i):()=>{};Qa.exports=cv});var Kt=F(($t,ja)=>{var{MAX_SAFE_COMPONENT_LENGTH:Xs}=Vn(),hv=Kn();$t=ja.exports={};var pv=$t.re=[],L=$t.src=[],b=$t.t={},gv=0,X=(i,r,s)=>{let o=gv++;hv(o,r),b[i]=o,L[o]=r,pv[o]=new RegExp(r,s?"g":void 0)};X("NUMERICIDENTIFIER","0|[1-9]\\d*");X("NUMERICIDENTIFIERLOOSE","[0-9]+");X("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*");X("MAINVERSION",`(${L[b.NUMERICIDENTIFIER]})\\.(${L[b.NUMERICIDENTIFIER]})\\.(${L[b.NUMERICIDENTIFIER]})`);X("MAINVERSIONLOOSE",`(${L[b.NUMERICIDENTIFIERLOOSE]})\\.(${L[b.NUMERICIDENTIFIERLOOSE]})\\.(${L[b.NUMERICIDENTIFIERLOOSE]})`);X("PRERELEASEIDENTIFIER",`(?:${L[b.NUMERICIDENTIFIER]}|${L[b.NONNUMERICIDENTIFIER]})`);X("PRERELEASEIDENTIFIERLOOSE",`(?:${L[b.NUMERICIDENTIFIERLOOSE]}|${L[b.NONNUMERICIDENTIFIER]})`);X("PRERELEASE",`(?:-(${L[b.PRERELEASEIDENTIFIER]}(?:\\.${L[b.PRERELEASEIDENTIFIER]})*))`);X("PRERELEASELOOSE",`(?:-?(${L[b.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${L[b.PRERELEASEIDENTIFIERLOOSE]})*))`);X("BUILDIDENTIFIER","[0-9A-Za-z-]+");X("BUILD",`(?:\\+(${L[b.BUILDIDENTIFIER]}(?:\\.${L[b.BUILDIDENTIFIER]})*))`);X("FULLPLAIN",`v?${L[b.MAINVERSION]}${L[b.PRERELEASE]}?${L[b.BUILD]}?`);X("FULL",`^${L[b.FULLPLAIN]}$`);X("LOOSEPLAIN",`[v=\\s]*${L[b.MAINVERSIONLOOSE]}${L[b.PRERELEASELOOSE]}?${L[b.BUILD]}?`);X("LOOSE",`^${L[b.LOOSEPLAIN]}$`);X("GTLT","((?:<|>)?=?)");X("XRANGEIDENTIFIERLOOSE",`${L[b.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);X("XRANGEIDENTIFIER",`${L[b.NUMERICIDENTIFIER]}|x|X|\\*`);X("XRANGEPLAIN",`[v=\\s]*(${L[b.XRANGEIDENTIFIER]})(?:\\.(${L[b.XRANGEIDENTIFIER]})(?:\\.(${L[b.XRANGEIDENTIFIER]})(?:${L[b.PRERELEASE]})?${L[b.BUILD]}?)?)?`);X("XRANGEPLAINLOOSE",`[v=\\s]*(${L[b.XRANGEIDENTIFIERLOOSE]})(?:\\.(${L[b.XRANGEIDENTIFIERLOOSE]})(?:\\.(${L[b.XRANGEIDENTIFIERLOOSE]})(?:${L[b.PRERELEASELOOSE]})?${L[b.BUILD]}?)?)?`);X("XRANGE",`^${L[b.GTLT]}\\s*${L[b.XRANGEPLAIN]}$`);X("XRANGELOOSE",`^${L[b.GTLT]}\\s*${L[b.XRANGEPLAINLOOSE]}$`);X("COERCE",`(^|[^\\d])(\\d{1,${Xs}})(?:\\.(\\d{1,${Xs}}))?(?:\\.(\\d{1,${Xs}}))?(?:$|[^\\d])`);X("COERCERTL",L[b.COERCE],!0);X("LONETILDE","(?:~>?)");X("TILDETRIM",`(\\s*)${L[b.LONETILDE]}\\s+`,!0);$t.tildeTrimReplace="$1~";X("TILDE",`^${L[b.LONETILDE]}${L[b.XRANGEPLAIN]}$`);X("TILDELOOSE",`^${L[b.LONETILDE]}${L[b.XRANGEPLAINLOOSE]}$`);X("LONECARET","(?:\\^)");X("CARETTRIM",`(\\s*)${L[b.LONECARET]}\\s+`,!0);$t.caretTrimReplace="$1^";X("CARET",`^${L[b.LONECARET]}${L[b.XRANGEPLAIN]}$`);X("CARETLOOSE",`^${L[b.LONECARET]}${L[b.XRANGEPLAINLOOSE]}$`);X("COMPARATORLOOSE",`^${L[b.GTLT]}\\s*(${L[b.LOOSEPLAIN]})$|^$`);X("COMPARATOR",`^${L[b.GTLT]}\\s*(${L[b.FULLPLAIN]})$|^$`);X("COMPARATORTRIM",`(\\s*)${L[b.GTLT]}\\s*(${L[b.LOOSEPLAIN]}|${L[b.XRANGEPLAIN]})`,!0);$t.comparatorTrimReplace="$1$2$3";X("HYPHENRANGE",`^\\s*(${L[b.XRANGEPLAIN]})\\s+-\\s+(${L[b.XRANGEPLAIN]})\\s*$`);X("HYPHENRANGELOOSE",`^\\s*(${L[b.XRANGEPLAINLOOSE]})\\s+-\\s+(${L[b.XRANGEPLAINLOOSE]})\\s*$`);X("STAR","(<|>)?=?\\s*\\*");X("GTE0","^\\s*>=\\s*0.0.0\\s*$");X("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")});var Yn=F((nw,ka)=>{var dv=["includePrerelease","loose","rtl"],_v=i=>i?typeof i!="object"?{loose:!0}:dv.filter(r=>i[r]).reduce((r,s)=>(r[s]=!0,r),{}):{};ka.exports=_v});var ti=F((rw,nl)=>{var el=/^[0-9]+$/,tl=(i,r)=>{let s=el.test(i),o=el.test(r);return s&&o&&(i=+i,r=+r),i===r?0:s&&!o?-1:o&&!s?1:i<r?-1:1},mv=(i,r)=>tl(r,i);nl.exports={compareIdentifiers:tl,rcompareIdentifiers:mv}});var me=F((iw,ul)=>{var ni=Kn(),{MAX_LENGTH:rl,MAX_SAFE_INTEGER:ri}=Vn(),{re:il,t:sl}=Kt(),vv=Yn(),{compareIdentifiers:Zn}=ti(),Xe=class{constructor(r,s){if(s=vv(s),r instanceof Xe){if(r.loose===!!s.loose&&r.includePrerelease===!!s.includePrerelease)return r;r=r.version}else if(typeof r!="string")throw new TypeError(`Invalid Version: ${r}`);if(r.length>rl)throw new TypeError(`version is longer than ${rl} characters`);ni("SemVer",r,s),this.options=s,this.loose=!!s.loose,this.includePrerelease=!!s.includePrerelease;let o=r.trim().match(s.loose?il[sl.LOOSE]:il[sl.FULL]);if(!o)throw new TypeError(`Invalid Version: ${r}`);if(this.raw=r,this.major=+o[1],this.minor=+o[2],this.patch=+o[3],this.major>ri||this.major<0)throw new TypeError("Invalid major version");if(this.minor>ri||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>ri||this.patch<0)throw new TypeError("Invalid patch version");o[4]?this.prerelease=o[4].split(".").map(f=>{if(/^[0-9]+$/.test(f)){let h=+f;if(h>=0&&h<ri)return h}return f}):this.prerelease=[],this.build=o[5]?o[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(r){if(ni("SemVer.compare",this.version,this.options,r),!(r instanceof Xe)){if(typeof r=="string"&&r===this.version)return 0;r=new Xe(r,this.options)}return r.version===this.version?0:this.compareMain(r)||this.comparePre(r)}compareMain(r){return r instanceof Xe||(r=new Xe(r,this.options)),Zn(this.major,r.major)||Zn(this.minor,r.minor)||Zn(this.patch,r.patch)}comparePre(r){if(r instanceof Xe||(r=new Xe(r,this.options)),this.prerelease.length&&!r.prerelease.length)return-1;if(!this.prerelease.length&&r.prerelease.length)return 1;if(!this.prerelease.length&&!r.prerelease.length)return 0;let s=0;do{let o=this.prerelease[s],f=r.prerelease[s];if(ni("prerelease compare",s,o,f),o===void 0&&f===void 0)return 0;if(f===void 0)return 1;if(o===void 0)return-1;if(o===f)continue;return Zn(o,f)}while(++s)}compareBuild(r){r instanceof Xe||(r=new Xe(r,this.options));let s=0;do{let o=this.build[s],f=r.build[s];if(ni("prerelease compare",s,o,f),o===void 0&&f===void 0)return 0;if(f===void 0)return 1;if(o===void 0)return-1;if(o===f)continue;return Zn(o,f)}while(++s)}inc(r,s){switch(r){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",s);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",s);break;case"prepatch":this.prerelease.length=0,this.inc("patch",s),this.inc("pre",s);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",s),this.inc("pre",s);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{let o=this.prerelease.length;for(;--o>=0;)typeof this.prerelease[o]=="number"&&(this.prerelease[o]++,o=-2);o===-1&&this.prerelease.push(0)}s&&(this.prerelease[0]===s?isNaN(this.prerelease[1])&&(this.prerelease=[s,0]):this.prerelease=[s,0]);break;default:throw new Error(`invalid increment argument: ${r}`)}return this.format(),this.raw=this.version,this}};ul.exports=Xe});var Yt=F((sw,fl)=>{var{MAX_LENGTH:Ev}=Vn(),{re:ol,t:al}=Kt(),ll=me(),wv=Yn(),Av=(i,r)=>{if(r=wv(r),i instanceof ll)return i;if(typeof i!="string"||i.length>Ev||!(r.loose?ol[al.LOOSE]:ol[al.FULL]).test(i))return null;try{return new ll(i,r)}catch{return null}};fl.exports=Av});var hl=F((uw,cl)=>{var xv=Yt(),yv=(i,r)=>{let s=xv(i,r);return s?s.version:null};cl.exports=yv});var gl=F((ow,pl)=>{var Rv=Yt(),Ov=(i,r)=>{let s=Rv(i.trim().replace(/^[=v]+/,""),r);return s?s.version:null};pl.exports=Ov});var _l=F((aw,dl)=>{var Iv=me(),Sv=(i,r,s,o)=>{typeof s=="string"&&(o=s,s=void 0);try{return new Iv(i,s).inc(r,o).version}catch{return null}};dl.exports=Sv});var ze=F((lw,vl)=>{var ml=me(),Cv=(i,r,s)=>new ml(i,s).compare(new ml(r,s));vl.exports=Cv});var ii=F((fw,El)=>{var Lv=ze(),bv=(i,r,s)=>Lv(i,r,s)===0;El.exports=bv});var xl=F((cw,Al)=>{var wl=Yt(),Tv=ii(),$v=(i,r)=>{if(Tv(i,r))return null;{let s=wl(i),o=wl(r),f=s.prerelease.length||o.prerelease.length,h=f?"pre":"",m=f?"prerelease":"";for(let A in s)if((A==="major"||A==="minor"||A==="patch")&&s[A]!==o[A])return h+A;return m}};Al.exports=$v});var Rl=F((hw,yl)=>{var Nv=me(),Pv=(i,r)=>new Nv(i,r).major;yl.exports=Pv});var Il=F((pw,Ol)=>{var Fv=me(),qv=(i,r)=>new Fv(i,r).minor;Ol.exports=qv});var Cl=F((gw,Sl)=>{var Dv=me(),Mv=(i,r)=>new Dv(i,r).patch;Sl.exports=Mv});var bl=F((dw,Ll)=>{var Uv=Yt(),Hv=(i,r)=>{let s=Uv(i,r);return s&&s.prerelease.length?s.prerelease:null};Ll.exports=Hv});var $l=F((_w,Tl)=>{var Wv=ze(),Gv=(i,r,s)=>Wv(r,i,s);Tl.exports=Gv});var Pl=F((mw,Nl)=>{var Bv=ze(),Xv=(i,r)=>Bv(i,r,!0);Nl.exports=Xv});var si=F((vw,ql)=>{var Fl=me(),zv=(i,r,s)=>{let o=new Fl(i,s),f=new Fl(r,s);return o.compare(f)||o.compareBuild(f)};ql.exports=zv});var Ml=F((Ew,Dl)=>{var Vv=si(),Kv=(i,r)=>i.sort((s,o)=>Vv(s,o,r));Dl.exports=Kv});var Hl=F((ww,Ul)=>{var Yv=si(),Zv=(i,r)=>i.sort((s,o)=>Yv(o,s,r));Ul.exports=Zv});var Jn=F((Aw,Wl)=>{var Jv=ze(),Qv=(i,r,s)=>Jv(i,r,s)>0;Wl.exports=Qv});var ui=F((xw,Gl)=>{var jv=ze(),kv=(i,r,s)=>jv(i,r,s)<0;Gl.exports=kv});var zs=F((yw,Bl)=>{var e1=ze(),t1=(i,r,s)=>e1(i,r,s)!==0;Bl.exports=t1});var oi=F((Rw,Xl)=>{var n1=ze(),r1=(i,r,s)=>n1(i,r,s)>=0;Xl.exports=r1});var ai=F((Ow,zl)=>{var i1=ze(),s1=(i,r,s)=>i1(i,r,s)<=0;zl.exports=s1});var Vs=F((Iw,Vl)=>{var u1=ii(),o1=zs(),a1=Jn(),l1=oi(),f1=ui(),c1=ai(),h1=(i,r,s,o)=>{switch(r){case"===":return typeof i=="object"&&(i=i.version),typeof s=="object"&&(s=s.version),i===s;case"!==":return typeof i=="object"&&(i=i.version),typeof s=="object"&&(s=s.version),i!==s;case"":case"=":case"==":return u1(i,s,o);case"!=":return o1(i,s,o);case">":return a1(i,s,o);case">=":return l1(i,s,o);case"<":return f1(i,s,o);case"<=":return c1(i,s,o);default:throw new TypeError(`Invalid operator: ${r}`)}};Vl.exports=h1});var Yl=F((Sw,Kl)=>{var p1=me(),g1=Yt(),{re:li,t:fi}=Kt(),d1=(i,r)=>{if(i instanceof p1)return i;if(typeof i=="number"&&(i=String(i)),typeof i!="string")return null;r=r||{};let s=null;if(!r.rtl)s=i.match(li[fi.COERCE]);else{let o;for(;(o=li[fi.COERCERTL].exec(i))&&(!s||s.index+s[0].length!==i.length);)(!s||o.index+o[0].length!==s.index+s[0].length)&&(s=o),li[fi.COERCERTL].lastIndex=o.index+o[1].length+o[2].length;li[fi.COERCERTL].lastIndex=-1}return s===null?null:g1(`${s[2]}.${s[3]||"0"}.${s[4]||"0"}`,r)};Kl.exports=d1});var Jl=F((Cw,Zl)=>{"use strict";Zl.exports=function(i){i.prototype[Symbol.iterator]=function*(){for(let r=this.head;r;r=r.next)yield r.value}}});var jl=F((Lw,Ql)=>{"use strict";Ql.exports=Z;Z.Node=Zt;Z.create=Z;function Z(i){var r=this;if(r instanceof Z||(r=new Z),r.tail=null,r.head=null,r.length=0,i&&typeof i.forEach=="function")i.forEach(function(f){r.push(f)});else if(arguments.length>0)for(var s=0,o=arguments.length;s<o;s++)r.push(arguments[s]);return r}Z.prototype.removeNode=function(i){if(i.list!==this)throw new Error("removing node which does not belong to this list");var r=i.next,s=i.prev;return r&&(r.prev=s),s&&(s.next=r),i===this.head&&(this.head=r),i===this.tail&&(this.tail=s),i.list.length--,i.next=null,i.prev=null,i.list=null,r};Z.prototype.unshiftNode=function(i){if(i!==this.head){i.list&&i.list.removeNode(i);var r=this.head;i.list=this,i.next=r,r&&(r.prev=i),this.head=i,this.tail||(this.tail=i),this.length++}};Z.prototype.pushNode=function(i){if(i!==this.tail){i.list&&i.list.removeNode(i);var r=this.tail;i.list=this,i.prev=r,r&&(r.next=i),this.tail=i,this.head||(this.head=i),this.length++}};Z.prototype.push=function(){for(var i=0,r=arguments.length;i<r;i++)m1(this,arguments[i]);return this.length};Z.prototype.unshift=function(){for(var i=0,r=arguments.length;i<r;i++)v1(this,arguments[i]);return this.length};Z.prototype.pop=function(){if(!!this.tail){var i=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,i}};Z.prototype.shift=function(){if(!!this.head){var i=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,i}};Z.prototype.forEach=function(i,r){r=r||this;for(var s=this.head,o=0;s!==null;o++)i.call(r,s.value,o,this),s=s.next};Z.prototype.forEachReverse=function(i,r){r=r||this;for(var s=this.tail,o=this.length-1;s!==null;o--)i.call(r,s.value,o,this),s=s.prev};Z.prototype.get=function(i){for(var r=0,s=this.head;s!==null&&r<i;r++)s=s.next;if(r===i&&s!==null)return s.value};Z.prototype.getReverse=function(i){for(var r=0,s=this.tail;s!==null&&r<i;r++)s=s.prev;if(r===i&&s!==null)return s.value};Z.prototype.map=function(i,r){r=r||this;for(var s=new Z,o=this.head;o!==null;)s.push(i.call(r,o.value,this)),o=o.next;return s};Z.prototype.mapReverse=function(i,r){r=r||this;for(var s=new Z,o=this.tail;o!==null;)s.push(i.call(r,o.value,this)),o=o.prev;return s};Z.prototype.reduce=function(i,r){var s,o=this.head;if(arguments.length>1)s=r;else if(this.head)o=this.head.next,s=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var f=0;o!==null;f++)s=i(s,o.value,f),o=o.next;return s};Z.prototype.reduceReverse=function(i,r){var s,o=this.tail;if(arguments.length>1)s=r;else if(this.tail)o=this.tail.prev,s=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var f=this.length-1;o!==null;f--)s=i(s,o.value,f),o=o.prev;return s};Z.prototype.toArray=function(){for(var i=new Array(this.length),r=0,s=this.head;s!==null;r++)i[r]=s.value,s=s.next;return i};Z.prototype.toArrayReverse=function(){for(var i=new Array(this.length),r=0,s=this.tail;s!==null;r++)i[r]=s.value,s=s.prev;return i};Z.prototype.slice=function(i,r){r=r||this.length,r<0&&(r+=this.length),i=i||0,i<0&&(i+=this.length);var s=new Z;if(r<i||r<0)return s;i<0&&(i=0),r>this.length&&(r=this.length);for(var o=0,f=this.head;f!==null&&o<i;o++)f=f.next;for(;f!==null&&o<r;o++,f=f.next)s.push(f.value);return s};Z.prototype.sliceReverse=function(i,r){r=r||this.length,r<0&&(r+=this.length),i=i||0,i<0&&(i+=this.length);var s=new Z;if(r<i||r<0)return s;i<0&&(i=0),r>this.length&&(r=this.length);for(var o=this.length,f=this.tail;f!==null&&o>r;o--)f=f.prev;for(;f!==null&&o>i;o--,f=f.prev)s.push(f.value);return s};Z.prototype.splice=function(i,r,...s){i>this.length&&(i=this.length-1),i<0&&(i=this.length+i);for(var o=0,f=this.head;f!==null&&o<i;o++)f=f.next;for(var h=[],o=0;f&&o<r;o++)h.push(f.value),f=this.removeNode(f);f===null&&(f=this.tail),f!==this.head&&f!==this.tail&&(f=f.prev);for(var o=0;o<s.length;o++)f=_1(this,f,s[o]);return h};Z.prototype.reverse=function(){for(var i=this.head,r=this.tail,s=i;s!==null;s=s.prev){var o=s.prev;s.prev=s.next,s.next=o}return this.head=r,this.tail=i,this};function _1(i,r,s){var o=r===i.head?new Zt(s,null,r,i):new Zt(s,r,r.next,i);return o.next===null&&(i.tail=o),o.prev===null&&(i.head=o),i.length++,o}function m1(i,r){i.tail=new Zt(r,i.tail,null,i),i.head||(i.head=i.tail),i.length++}function v1(i,r){i.head=new Zt(r,null,i.head,i),i.tail||(i.tail=i.head),i.length++}function Zt(i,r,s,o){if(!(this instanceof Zt))return new Zt(i,r,s,o);this.list=o,this.value=i,r?(r.next=this,this.prev=r):this.prev=null,s?(s.prev=this,this.next=s):this.next=null}try{Jl()(Z)}catch{}});var uf=F((bw,sf)=>{"use strict";var E1=jl(),Jt=Symbol("max"),wt=Symbol("length"),mn=Symbol("lengthCalculator"),jn=Symbol("allowStale"),Qt=Symbol("maxAge"),Et=Symbol("dispose"),kl=Symbol("noDisposeOnSet"),he=Symbol("lruList"),ke=Symbol("cache"),tf=Symbol("updateAgeOnGet"),Ks=()=>1,nf=class{constructor(r){if(typeof r=="number"&&(r={max:r}),r||(r={}),r.max&&(typeof r.max!="number"||r.max<0))throw new TypeError("max must be a non-negative number");let s=this[Jt]=r.max||1/0,o=r.length||Ks;if(this[mn]=typeof o!="function"?Ks:o,this[jn]=r.stale||!1,r.maxAge&&typeof r.maxAge!="number")throw new TypeError("maxAge must be a number");this[Qt]=r.maxAge||0,this[Et]=r.dispose,this[kl]=r.noDisposeOnSet||!1,this[tf]=r.updateAgeOnGet||!1,this.reset()}set max(r){if(typeof r!="number"||r<0)throw new TypeError("max must be a non-negative number");this[Jt]=r||1/0,Qn(this)}get max(){return this[Jt]}set allowStale(r){this[jn]=!!r}get allowStale(){return this[jn]}set maxAge(r){if(typeof r!="number")throw new TypeError("maxAge must be a non-negative number");this[Qt]=r,Qn(this)}get maxAge(){return this[Qt]}set lengthCalculator(r){typeof r!="function"&&(r=Ks),r!==this[mn]&&(this[mn]=r,this[wt]=0,this[he].forEach(s=>{s.length=this[mn](s.value,s.key),this[wt]+=s.length})),Qn(this)}get lengthCalculator(){return this[mn]}get length(){return this[wt]}get itemCount(){return this[he].length}rforEach(r,s){s=s||this;for(let o=this[he].tail;o!==null;){let f=o.prev;ef(this,r,o,s),o=f}}forEach(r,s){s=s||this;for(let o=this[he].head;o!==null;){let f=o.next;ef(this,r,o,s),o=f}}keys(){return this[he].toArray().map(r=>r.key)}values(){return this[he].toArray().map(r=>r.value)}reset(){this[Et]&&this[he]&&this[he].length&&this[he].forEach(r=>this[Et](r.key,r.value)),this[ke]=new Map,this[he]=new E1,this[wt]=0}dump(){return this[he].map(r=>ci(this,r)?!1:{k:r.key,v:r.value,e:r.now+(r.maxAge||0)}).toArray().filter(r=>r)}dumpLru(){return this[he]}set(r,s,o){if(o=o||this[Qt],o&&typeof o!="number")throw new TypeError("maxAge must be a number");let f=o?Date.now():0,h=this[mn](s,r);if(this[ke].has(r)){if(h>this[Jt])return vn(this,this[ke].get(r)),!1;let w=this[ke].get(r).value;return this[Et]&&(this[kl]||this[Et](r,w.value)),w.now=f,w.maxAge=o,w.value=s,this[wt]+=h-w.length,w.length=h,this.get(r),Qn(this),!0}let m=new rf(r,s,h,f,o);return m.length>this[Jt]?(this[Et]&&this[Et](r,s),!1):(this[wt]+=m.length,this[he].unshift(m),this[ke].set(r,this[he].head),Qn(this),!0)}has(r){if(!this[ke].has(r))return!1;let s=this[ke].get(r).value;return!ci(this,s)}get(r){return Ys(this,r,!0)}peek(r){return Ys(this,r,!1)}pop(){let r=this[he].tail;return r?(vn(this,r),r.value):null}del(r){vn(this,this[ke].get(r))}load(r){this.reset();let s=Date.now();for(let o=r.length-1;o>=0;o--){let f=r[o],h=f.e||0;if(h===0)this.set(f.k,f.v);else{let m=h-s;m>0&&this.set(f.k,f.v,m)}}}prune(){this[ke].forEach((r,s)=>Ys(this,s,!1))}},Ys=(i,r,s)=>{let o=i[ke].get(r);if(o){let f=o.value;if(ci(i,f)){if(vn(i,o),!i[jn])return}else s&&(i[tf]&&(o.value.now=Date.now()),i[he].unshiftNode(o));return f.value}},ci=(i,r)=>{if(!r||!r.maxAge&&!i[Qt])return!1;let s=Date.now()-r.now;return r.maxAge?s>r.maxAge:i[Qt]&&s>i[Qt]},Qn=i=>{if(i[wt]>i[Jt])for(let r=i[he].tail;i[wt]>i[Jt]&&r!==null;){let s=r.prev;vn(i,r),r=s}},vn=(i,r)=>{if(r){let s=r.value;i[Et]&&i[Et](s.key,s.value),i[wt]-=s.length,i[ke].delete(s.key),i[he].removeNode(r)}},rf=class{constructor(r,s,o,f,h){this.key=r,this.value=s,this.length=o,this.now=f,this.maxAge=h||0}},ef=(i,r,s,o)=>{let f=s.value;ci(i,f)&&(vn(i,s),i[jn]||(f=void 0)),f&&r.call(o,f.value,f.key,i)};sf.exports=nf});var Ve=F((Tw,ff)=>{var En=class{constructor(r,s){if(s=A1(s),r instanceof En)return r.loose===!!s.loose&&r.includePrerelease===!!s.includePrerelease?r:new En(r.raw,s);if(r instanceof Zs)return this.raw=r.value,this.set=[[r]],this.format(),this;if(this.options=s,this.loose=!!s.loose,this.includePrerelease=!!s.includePrerelease,this.raw=r,this.set=r.split(/\s*\|\|\s*/).map(o=>this.parseRange(o.trim())).filter(o=>o.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${r}`);if(this.set.length>1){let o=this.set[0];if(this.set=this.set.filter(f=>!af(f[0])),this.set.length===0)this.set=[o];else if(this.set.length>1){for(let f of this.set)if(f.length===1&&I1(f[0])){this.set=[f];break}}}this.format()}format(){return this.range=this.set.map(r=>r.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(r){r=r.trim();let o=`parseRange:${Object.keys(this.options).join(",")}:${r}`,f=of.get(o);if(f)return f;let h=this.options.loose,m=h?ve[ge.HYPHENRANGELOOSE]:ve[ge.HYPHENRANGE];r=r.replace(m,q1(this.options.includePrerelease)),oe("hyphen replace",r),r=r.replace(ve[ge.COMPARATORTRIM],y1),oe("comparator trim",r,ve[ge.COMPARATORTRIM]),r=r.replace(ve[ge.TILDETRIM],R1),r=r.replace(ve[ge.CARETTRIM],O1),r=r.split(/\s+/).join(" ");let A=h?ve[ge.COMPARATORLOOSE]:ve[ge.COMPARATOR],w=r.split(" ").map(T=>S1(T,this.options)).join(" ").split(/\s+/).map(T=>F1(T,this.options)).filter(this.options.loose?T=>!!T.match(A):()=>!0).map(T=>new Zs(T,this.options)),v=w.length,I=new Map;for(let T of w){if(af(T))return[T];I.set(T.value,T)}I.size>1&&I.has("")&&I.delete("");let $=[...I.values()];return of.set(o,$),$}intersects(r,s){if(!(r instanceof En))throw new TypeError("a Range is required");return this.set.some(o=>lf(o,s)&&r.set.some(f=>lf(f,s)&&o.every(h=>f.every(m=>h.intersects(m,s)))))}test(r){if(!r)return!1;if(typeof r=="string")try{r=new x1(r,this.options)}catch{return!1}for(let s=0;s<this.set.length;s++)if(D1(this.set[s],r,this.options))return!0;return!1}};ff.exports=En;var w1=uf(),of=new w1({max:1e3}),A1=Yn(),Zs=kn(),oe=Kn(),x1=me(),{re:ve,t:ge,comparatorTrimReplace:y1,tildeTrimReplace:R1,caretTrimReplace:O1}=Kt(),af=i=>i.value==="<0.0.0-0",I1=i=>i.value==="",lf=(i,r)=>{let s=!0,o=i.slice(),f=o.pop();for(;s&&o.length;)s=o.every(h=>f.intersects(h,r)),f=o.pop();return s},S1=(i,r)=>(oe("comp",i,r),i=b1(i,r),oe("caret",i),i=C1(i,r),oe("tildes",i),i=$1(i,r),oe("xrange",i),i=P1(i,r),oe("stars",i),i),xe=i=>!i||i.toLowerCase()==="x"||i==="*",C1=(i,r)=>i.trim().split(/\s+/).map(s=>L1(s,r)).join(" "),L1=(i,r)=>{let s=r.loose?ve[ge.TILDELOOSE]:ve[ge.TILDE];return i.replace(s,(o,f,h,m,A)=>{oe("tilde",i,o,f,h,m,A);let w;return xe(f)?w="":xe(h)?w=`>=${f}.0.0 <${+f+1}.0.0-0`:xe(m)?w=`>=${f}.${h}.0 <${f}.${+h+1}.0-0`:A?(oe("replaceTilde pr",A),w=`>=${f}.${h}.${m}-${A} <${f}.${+h+1}.0-0`):w=`>=${f}.${h}.${m} <${f}.${+h+1}.0-0`,oe("tilde return",w),w})},b1=(i,r)=>i.trim().split(/\s+/).map(s=>T1(s,r)).join(" "),T1=(i,r)=>{oe("caret",i,r);let s=r.loose?ve[ge.CARETLOOSE]:ve[ge.CARET],o=r.includePrerelease?"-0":"";return i.replace(s,(f,h,m,A,w)=>{oe("caret",i,f,h,m,A,w);let v;return xe(h)?v="":xe(m)?v=`>=${h}.0.0${o} <${+h+1}.0.0-0`:xe(A)?h==="0"?v=`>=${h}.${m}.0${o} <${h}.${+m+1}.0-0`:v=`>=${h}.${m}.0${o} <${+h+1}.0.0-0`:w?(oe("replaceCaret pr",w),h==="0"?m==="0"?v=`>=${h}.${m}.${A}-${w} <${h}.${m}.${+A+1}-0`:v=`>=${h}.${m}.${A}-${w} <${h}.${+m+1}.0-0`:v=`>=${h}.${m}.${A}-${w} <${+h+1}.0.0-0`):(oe("no pr"),h==="0"?m==="0"?v=`>=${h}.${m}.${A}${o} <${h}.${m}.${+A+1}-0`:v=`>=${h}.${m}.${A}${o} <${h}.${+m+1}.0-0`:v=`>=${h}.${m}.${A} <${+h+1}.0.0-0`),oe("caret return",v),v})},$1=(i,r)=>(oe("replaceXRanges",i,r),i.split(/\s+/).map(s=>N1(s,r)).join(" ")),N1=(i,r)=>{i=i.trim();let s=r.loose?ve[ge.XRANGELOOSE]:ve[ge.XRANGE];return i.replace(s,(o,f,h,m,A,w)=>{oe("xRange",i,o,f,h,m,A,w);let v=xe(h),I=v||xe(m),$=I||xe(A),T=$;return f==="="&&T&&(f=""),w=r.includePrerelease?"-0":"",v?f===">"||f==="<"?o="<0.0.0-0":o="*":f&&T?(I&&(m=0),A=0,f===">"?(f=">=",I?(h=+h+1,m=0,A=0):(m=+m+1,A=0)):f==="<="&&(f="<",I?h=+h+1:m=+m+1),f==="<"&&(w="-0"),o=`${f+h}.${m}.${A}${w}`):I?o=`>=${h}.0.0${w} <${+h+1}.0.0-0`:$&&(o=`>=${h}.${m}.0${w} <${h}.${+m+1}.0-0`),oe("xRange return",o),o})},P1=(i,r)=>(oe("replaceStars",i,r),i.trim().replace(ve[ge.STAR],"")),F1=(i,r)=>(oe("replaceGTE0",i,r),i.trim().replace(ve[r.includePrerelease?ge.GTE0PRE:ge.GTE0],"")),q1=i=>(r,s,o,f,h,m,A,w,v,I,$,T,P)=>(xe(o)?s="":xe(f)?s=`>=${o}.0.0${i?"-0":""}`:xe(h)?s=`>=${o}.${f}.0${i?"-0":""}`:m?s=`>=${s}`:s=`>=${s}${i?"-0":""}`,xe(v)?w="":xe(I)?w=`<${+v+1}.0.0-0`:xe($)?w=`<${v}.${+I+1}.0-0`:T?w=`<=${v}.${I}.${$}-${T}`:i?w=`<${v}.${I}.${+$+1}-0`:w=`<=${w}`,`${s} ${w}`.trim()),D1=(i,r,s)=>{for(let o=0;o<i.length;o++)if(!i[o].test(r))return!1;if(r.prerelease.length&&!s.includePrerelease){for(let o=0;o<i.length;o++)if(oe(i[o].semver),i[o].semver!==Zs.ANY&&i[o].semver.prerelease.length>0){let f=i[o].semver;if(f.major===r.major&&f.minor===r.minor&&f.patch===r.patch)return!0}return!1}return!0}});var kn=F(($w,df)=>{var er=Symbol("SemVer ANY"),tr=class{static get ANY(){return er}constructor(r,s){if(s=M1(s),r instanceof tr){if(r.loose===!!s.loose)return r;r=r.value}Qs("comparator",r,s),this.options=s,this.loose=!!s.loose,this.parse(r),this.semver===er?this.value="":this.value=this.operator+this.semver.version,Qs("comp",this)}parse(r){let s=this.options.loose?cf[hf.COMPARATORLOOSE]:cf[hf.COMPARATOR],o=r.match(s);if(!o)throw new TypeError(`Invalid comparator: ${r}`);this.operator=o[1]!==void 0?o[1]:"",this.operator==="="&&(this.operator=""),o[2]?this.semver=new pf(o[2],this.options.loose):this.semver=er}toString(){return this.value}test(r){if(Qs("Comparator.test",r,this.options.loose),this.semver===er||r===er)return!0;if(typeof r=="string")try{r=new pf(r,this.options)}catch{return!1}return Js(r,this.operator,this.semver,this.options)}intersects(r,s){if(!(r instanceof tr))throw new TypeError("a Comparator is required");if((!s||typeof s!="object")&&(s={loose:!!s,includePrerelease:!1}),this.operator==="")return this.value===""?!0:new gf(r.value,s).test(this.value);if(r.operator==="")return r.value===""?!0:new gf(this.value,s).test(r.semver);let o=(this.operator===">="||this.operator===">")&&(r.operator===">="||r.operator===">"),f=(this.operator==="<="||this.operator==="<")&&(r.operator==="<="||r.operator==="<"),h=this.semver.version===r.semver.version,m=(this.operator===">="||this.operator==="<=")&&(r.operator===">="||r.operator==="<="),A=Js(this.semver,"<",r.semver,s)&&(this.operator===">="||this.operator===">")&&(r.operator==="<="||r.operator==="<"),w=Js(this.semver,">",r.semver,s)&&(this.operator==="<="||this.operator==="<")&&(r.operator===">="||r.operator===">");return o||f||h&&m||A||w}};df.exports=tr;var M1=Yn(),{re:cf,t:hf}=Kt(),Js=Vs(),Qs=Kn(),pf=me(),gf=Ve()});var nr=F((Nw,_f)=>{var U1=Ve(),H1=(i,r,s)=>{try{r=new U1(r,s)}catch{return!1}return r.test(i)};_f.exports=H1});var vf=F((Pw,mf)=>{var W1=Ve(),G1=(i,r)=>new W1(i,r).set.map(s=>s.map(o=>o.value).join(" ").trim().split(" "));mf.exports=G1});var wf=F((Fw,Ef)=>{var B1=me(),X1=Ve(),z1=(i,r,s)=>{let o=null,f=null,h=null;try{h=new X1(r,s)}catch{return null}return i.forEach(m=>{h.test(m)&&(!o||f.compare(m)===-1)&&(o=m,f=new B1(o,s))}),o};Ef.exports=z1});var xf=F((qw,Af)=>{var V1=me(),K1=Ve(),Y1=(i,r,s)=>{let o=null,f=null,h=null;try{h=new K1(r,s)}catch{return null}return i.forEach(m=>{h.test(m)&&(!o||f.compare(m)===1)&&(o=m,f=new V1(o,s))}),o};Af.exports=Y1});var Of=F((Dw,Rf)=>{var js=me(),Z1=Ve(),yf=Jn(),J1=(i,r)=>{i=new Z1(i,r);let s=new js("0.0.0");if(i.test(s)||(s=new js("0.0.0-0"),i.test(s)))return s;s=null;for(let o=0;o<i.set.length;++o){let f=i.set[o],h=null;f.forEach(m=>{let A=new js(m.semver.version);switch(m.operator){case">":A.prerelease.length===0?A.patch++:A.prerelease.push(0),A.raw=A.format();case"":case">=":(!h||yf(A,h))&&(h=A);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${m.operator}`)}}),h&&(!s||yf(s,h))&&(s=h)}return s&&i.test(s)?s:null};Rf.exports=J1});var Sf=F((Mw,If)=>{var Q1=Ve(),j1=(i,r)=>{try{return new Q1(i,r).range||"*"}catch{return null}};If.exports=j1});var hi=F((Uw,Tf)=>{var k1=me(),bf=kn(),{ANY:eE}=bf,tE=Ve(),nE=nr(),Cf=Jn(),Lf=ui(),rE=ai(),iE=oi(),sE=(i,r,s,o)=>{i=new k1(i,o),r=new tE(r,o);let f,h,m,A,w;switch(s){case">":f=Cf,h=rE,m=Lf,A=">",w=">=";break;case"<":f=Lf,h=iE,m=Cf,A="<",w="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(nE(i,r,o))return!1;for(let v=0;v<r.set.length;++v){let I=r.set[v],$=null,T=null;if(I.forEach(P=>{P.semver===eE&&(P=new bf(">=0.0.0")),$=$||P,T=T||P,f(P.semver,$.semver,o)?$=P:m(P.semver,T.semver,o)&&(T=P)}),$.operator===A||$.operator===w||(!T.operator||T.operator===A)&&h(i,T.semver))return!1;if(T.operator===w&&m(i,T.semver))return!1}return!0};Tf.exports=sE});var Nf=F((Hw,$f)=>{var uE=hi(),oE=(i,r,s)=>uE(i,r,">",s);$f.exports=oE});var Ff=F((Ww,Pf)=>{var aE=hi(),lE=(i,r,s)=>aE(i,r,"<",s);Pf.exports=lE});var Mf=F((Gw,Df)=>{var qf=Ve(),fE=(i,r,s)=>(i=new qf(i,s),r=new qf(r,s),i.intersects(r));Df.exports=fE});var Hf=F((Bw,Uf)=>{var cE=nr(),hE=ze();Uf.exports=(i,r,s)=>{let o=[],f=null,h=null,m=i.sort((I,$)=>hE(I,$,s));for(let I of m)cE(I,r,s)?(h=I,f||(f=I)):(h&&o.push([f,h]),h=null,f=null);f&&o.push([f,null]);let A=[];for(let[I,$]of o)I===$?A.push(I):!$&&I===m[0]?A.push("*"):$?I===m[0]?A.push(`<=${$}`):A.push(`${I} - ${$}`):A.push(`>=${I}`);let w=A.join(" || "),v=typeof r.raw=="string"?r.raw:String(r);return w.length<v.length?w:r}});var zf=F((Xw,Xf)=>{var Wf=Ve(),pi=kn(),{ANY:ks}=pi,rr=nr(),eu=ze(),pE=(i,r,s={})=>{if(i===r)return!0;i=new Wf(i,s),r=new Wf(r,s);let o=!1;e:for(let f of i.set){for(let h of r.set){let m=gE(f,h,s);if(o=o||m!==null,m)continue e}if(o)return!1}return!0},gE=(i,r,s)=>{if(i===r)return!0;if(i.length===1&&i[0].semver===ks){if(r.length===1&&r[0].semver===ks)return!0;s.includePrerelease?i=[new pi(">=0.0.0-0")]:i=[new pi(">=0.0.0")]}if(r.length===1&&r[0].semver===ks){if(s.includePrerelease)return!0;r=[new pi(">=0.0.0")]}let o=new Set,f,h;for(let P of i)P.operator===">"||P.operator===">="?f=Gf(f,P,s):P.operator==="<"||P.operator==="<="?h=Bf(h,P,s):o.add(P.semver);if(o.size>1)return null;let m;if(f&&h){if(m=eu(f.semver,h.semver,s),m>0)return null;if(m===0&&(f.operator!==">="||h.operator!=="<="))return null}for(let P of o){if(f&&!rr(P,String(f),s)||h&&!rr(P,String(h),s))return null;for(let ye of r)if(!rr(P,String(ye),s))return!1;return!0}let A,w,v,I,$=h&&!s.includePrerelease&&h.semver.prerelease.length?h.semver:!1,T=f&&!s.includePrerelease&&f.semver.prerelease.length?f.semver:!1;$&&$.prerelease.length===1&&h.operator==="<"&&$.prerelease[0]===0&&($=!1);for(let P of r){if(I=I||P.operator===">"||P.operator===">=",v=v||P.operator==="<"||P.operator==="<=",f){if(T&&P.semver.prerelease&&P.semver.prerelease.length&&P.semver.major===T.major&&P.semver.minor===T.minor&&P.semver.patch===T.patch&&(T=!1),P.operator===">"||P.operator===">="){if(A=Gf(f,P,s),A===P&&A!==f)return!1}else if(f.operator===">="&&!rr(f.semver,String(P),s))return!1}if(h){if($&&P.semver.prerelease&&P.semver.prerelease.length&&P.semver.major===$.major&&P.semver.minor===$.minor&&P.semver.patch===$.patch&&($=!1),P.operator==="<"||P.operator==="<="){if(w=Bf(h,P,s),w===P&&w!==h)return!1}else if(h.operator==="<="&&!rr(h.semver,String(P),s))return!1}if(!P.operator&&(h||f)&&m!==0)return!1}return!(f&&v&&!h&&m!==0||h&&I&&!f&&m!==0||T||$)},Gf=(i,r,s)=>{if(!i)return r;let o=eu(i.semver,r.semver,s);return o>0?i:o<0||r.operator===">"&&i.operator===">="?r:i},Bf=(i,r,s)=>{if(!i)return r;let o=eu(i.semver,r.semver,s);return o<0?i:o>0||r.operator==="<"&&i.operator==="<="?r:i};Xf.exports=pE});var Kf=F((zw,Vf)=>{var tu=Kt();Vf.exports={re:tu.re,src:tu.src,tokens:tu.t,SEMVER_SPEC_VERSION:Vn().SEMVER_SPEC_VERSION,SemVer:me(),compareIdentifiers:ti().compareIdentifiers,rcompareIdentifiers:ti().rcompareIdentifiers,parse:Yt(),valid:hl(),clean:gl(),inc:_l(),diff:xl(),major:Rl(),minor:Il(),patch:Cl(),prerelease:bl(),compare:ze(),rcompare:$l(),compareLoose:Pl(),compareBuild:si(),sort:Ml(),rsort:Hl(),gt:Jn(),lt:ui(),eq:ii(),neq:zs(),gte:oi(),lte:ai(),cmp:Vs(),coerce:Yl(),Comparator:kn(),Range:Ve(),satisfies:nr(),toComparators:vf(),maxSatisfying:wf(),minSatisfying:xf(),minVersion:Of(),validRange:Sf(),outside:hi(),gtr:Nf(),ltr:Ff(),intersects:Mf(),simplifyRange:Hf(),subset:zf()}});var gi=F(Fe=>{"use strict";var dE=Fe&&Fe.__createBinding||(Object.create?function(i,r,s,o){o===void 0&&(o=s),Object.defineProperty(i,o,{enumerable:!0,get:function(){return r[s]}})}:function(i,r,s,o){o===void 0&&(o=s),i[o]=r[s]}),_E=Fe&&Fe.__setModuleDefault||(Object.create?function(i,r){Object.defineProperty(i,"default",{enumerable:!0,value:r})}:function(i,r){i.default=r}),mE=Fe&&Fe.__importStar||function(i){if(i&&i.__esModule)return i;var r={};if(i!=null)for(var s in i)s!=="default"&&Object.prototype.hasOwnProperty.call(i,s)&&dE(r,i,s);return _E(r,i),r},Yf=Fe&&Fe.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(Fe,"__esModule",{value:!0});Fe.getCoreVersion=void 0;var Zf=Yf(require("path")),Jf=Yf(require("fs")),nu=mE(require("@serverless-devs/core")),vE=Kf(),Qf=Zf.default.join(nu.getRootHome(),"cache","core"),ru=Zf.default.join(Qf,"package.json");function EE(){if(Jf.default.existsSync(ru)){var i=require("@serverless-devs/core/package.json").version,r=jf();return vE.gt(r,i)?require(Qf):nu}return nu}function jf(){return Jf.default.existsSync(ru)?require(ru).version:void 0}Fe.getCoreVersion=jf;Fe.default=EE()});var rc=F(Ce=>{"use strict";var wE=Ce&&Ce.__awaiter||function(i,r,s,o){function f(h){return h instanceof s?h:new s(function(m){m(h)})}return new(s||(s=Promise))(function(h,m){function A(I){try{v(o.next(I))}catch($){m($)}}function w(I){try{v(o.throw(I))}catch($){m($)}}function v(I){I.done?h(I.value):f(I.value).then(A,w)}v((o=o.apply(i,r||[])).next())})},AE=Ce&&Ce.__generator||function(i,r){var s={label:0,sent:function(){if(h[0]&1)throw h[1];return h[1]},trys:[],ops:[]},o,f,h,m;return m={next:A(0),throw:A(1),return:A(2)},typeof Symbol=="function"&&(m[Symbol.iterator]=function(){return this}),m;function A(v){return function(I){return w([v,I])}}function w(v){if(o)throw new TypeError("Generator is already executing.");for(;s;)try{if(o=1,f&&(h=v[0]&2?f.return:v[0]?f.throw||((h=f.return)&&h.call(f),0):f.next)&&!(h=h.call(f,v[1])).done)return h;switch(f=0,h&&(v=[v[0]&2,h.value]),v[0]){case 0:case 1:h=v;break;case 4:return s.label++,{value:v[1],done:!1};case 5:s.label++,f=v[1],v=[0];continue;case 7:v=s.ops.pop(),s.trys.pop();continue;default:if(h=s.trys,!(h=h.length>0&&h[h.length-1])&&(v[0]===6||v[0]===2)){s=0;continue}if(v[0]===3&&(!h||v[1]>h[0]&&v[1]<h[3])){s.label=v[1];break}if(v[0]===6&&s.label<h[1]){s.label=h[1],h=v;break}if(h&&s.label<h[2]){s.label=h[2],s.ops.push(v);break}h[2]&&s.ops.pop(),s.trys.pop();continue}v=r.call(i,s)}catch(I){v=[6,I],f=0}finally{o=h=0}if(v[0]&5)throw v[1];return{value:v[0]?v[1]:void 0,done:!0}}},kf=Ce&&Ce.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(Ce,"__esModule",{value:!0});Ce.handlerProfileFile=Ce.getConfig=Ce.setConfig=void 0;var ec=kf(require("path")),su=kf(gi()),ut=su.default.fse,di=su.default.jsyaml,iu=su.default.getRootHome;function xE(i){var r=nc();ut.writeFileSync(r,di.dump(i))}function tc(){var i=nc();if(!ut.existsSync(i))return{};try{var r=di.load(ut.readFileSync(i,"utf8"))||{};return r}catch(s){throw s}}function nc(){var i=ec.default.join(iu(),"set-config.yml");return ut.existsSync(i)||ut.createFileSync(i),i}function yE(i,r){var s=tc();s[i]=r,xE(s)}Ce.setConfig=yE;function RE(i,r){var s=tc();return s[i]||r}Ce.getConfig=RE;function OE(i){return wE(this,void 0,void 0,function(){var r,s,o,f,h,m,A;return AE(this,function(w){switch(w.label){case 0:if(r=i.filePath||"set-config.yml",s=ec.default.join(iu(),r),o=ut.existsSync(s),f={},o)return[3,5];h=iu(),w.label=1;case 1:return w.trys.push([1,2,,4]),ut.statSync(h),[3,4];case 2:return m=w.sent(),[4,ut.mkdirSync(h)];case 3:return w.sent(),[3,4];case 4:return[3,6];case 5:try{f=di.load(ut.readFileSync(s,"utf8"))||{}}catch(v){throw v}w.label=6;case 6:return i.read?[2,f]:(A=i.configKey||"",f[A]=i.data,[4,ut.writeFileSync(s,di.dump(f))]);case 7:return w.sent(),[2,f]}})})}Ce.handlerProfileFile=OE});var ic=F((Yw,IE)=>{IE.exports={name:"@serverless-devs/s",version:"2.0.100-beta.7",description:"Serverless devs tool, serverless developer tool, supports Alibaba cloud, AWS, azure, baidu cloud, Huawei cloud, Google cloud and Tencent cloud.",homepage:"https://www.serverless-devs.com",keywords:["serverless","alibaba","tencent","azure","baidu","huawei","google","function","faas","serverless-devs"],publishConfig:{access:"public",registry:"https://registry.npmjs.org"},license:"MIT",repository:{type:"git",url:"https://github.com/Serverless-Devs/Serverless-Devs"},bugs:{url:"https://github.com/Serverless-Devs/Serverless-Devs/issues"},scripts:{start:"npm run watch",prewatch:"rm -rf lib/* && cp -r ./src/daemon ./lib",watch:"tsc -w",test:"jest test/special-command.test",prebuild:"rm -rf lib/*",build:"tsc && cp -r ./src/daemon ./lib",postbuild:"./shell/postbuild.sh","test:cov":"jest --coverage",lint:"npm run typecheck && f2elint scan -i src",fix:"f2elint fix",typecheck:"npx tsc -p tsconfig.json --noEmit",update:"rm -rf yarn.lock && rm -rf package-lock.json && rm -rf node_modules && yarn",beta:"npm publish --tag=beta"},main:"./lib/index.js",bin:{s:"bin/s"},devDependencies:{"@serverless-devs/commander":"^6.0.0","@types/jest":"^27.4.0","@types/lodash":"^4.14.168","@types/node":"^14.0.23","@typescript-eslint/eslint-plugin":"^4.14.1","@typescript-eslint/parser":"^4.14.1",ajv:"^8.10.0","babel-eslint":"^10.1.0",boxen:"^5.0.0",dotenv:"^10.0.0",esbuild:"^0.14.0",eslint:"^7.7.0","eslint-config-prettier":"^7.2.0","eslint-plugin-import":"^2.20.1","eslint-plugin-prettier":"^3.1.2",husky:"^4.2.3",inquirer:"^8.2.0","inquirer-autocomplete-prompt":"^1.3.0",jest:"^27.4.7","latest-version":"^5.1.0","lint-staged":"^10.0.8",lodash:"^4.17.20","os-locale":"5.0.0",prettier:"^2.2.1",semver:"^7.3.5","semver-diff":"^3.1.1","ts-jest":"^27.1.3","ts-node":"^9.1.1","tty-table":"^4.1.5",typescript:"^4.1.3"},"lint-staged":{"**/*.{js,jsx,ts}":"f2elint exec eslint"},dependencies:{"@serverless-devs/core":"beta"}}});var lc=F(U=>{"use strict";var SE=U&&U.__createBinding||(Object.create?function(i,r,s,o){o===void 0&&(o=s),Object.defineProperty(i,o,{enumerable:!0,get:function(){return r[s]}})}:function(i,r,s,o){o===void 0&&(o=s),i[o]=r[s]}),CE=U&&U.__setModuleDefault||(Object.create?function(i,r){Object.defineProperty(i,"default",{enumerable:!0,value:r})}:function(i,r){i.default=r}),LE=U&&U.__importStar||function(i){if(i&&i.__esModule)return i;var r={};if(i!=null)for(var s in i)s!=="default"&&Object.prototype.hasOwnProperty.call(i,s)&&SE(r,i,s);return CE(r,i),r},sr=U&&U.__awaiter||function(i,r,s,o){function f(h){return h instanceof s?h:new s(function(m){m(h)})}return new(s||(s=Promise))(function(h,m){function A(I){try{v(o.next(I))}catch($){m($)}}function w(I){try{v(o.throw(I))}catch($){m($)}}function v(I){I.done?h(I.value):f(I.value).then(A,w)}v((o=o.apply(i,r||[])).next())})},ur=U&&U.__generator||function(i,r){var s={label:0,sent:function(){if(h[0]&1)throw h[1];return h[1]},trys:[],ops:[]},o,f,h,m;return m={next:A(0),throw:A(1),return:A(2)},typeof Symbol=="function"&&(m[Symbol.iterator]=function(){return this}),m;function A(v){return function(I){return w([v,I])}}function w(v){if(o)throw new TypeError("Generator is already executing.");for(;s;)try{if(o=1,f&&(h=v[0]&2?f.return:v[0]?f.throw||((h=f.return)&&h.call(f),0):f.next)&&!(h=h.call(f,v[1])).done)return h;switch(f=0,h&&(v=[v[0]&2,h.value]),v[0]){case 0:case 1:h=v;break;case 4:return s.label++,{value:v[1],done:!1};case 5:s.label++,f=v[1],v=[0];continue;case 7:v=s.ops.pop(),s.trys.pop();continue;default:if(h=s.trys,!(h=h.length>0&&h[h.length-1])&&(v[0]===6||v[0]===2)){s=0;continue}if(v[0]===3&&(!h||v[1]>h[0]&&v[1]<h[3])){s.label=v[1];break}if(v[0]===6&&s.label<h[1]){s.label=h[1],h=v;break}if(h&&s.label<h[2]){s.label=h[2],s.ops.push(v);break}h[2]&&s.ops.pop(),s.trys.pop();continue}v=r.call(i,s)}catch(I){v=[6,I],f=0}finally{o=h=0}if(v[0]&5)throw v[1];return{value:v[0]?v[1]:void 0,done:!0}}},uu=U&&U.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(U,"__esModule",{value:!0});U.emoji=U.mark=U.replaceTemplate=U.replaceFun=U.getLang=U.printn=U.getFolderSize=U.getVersion=U.getPid=U.aiRequest=U.getCredentialWithAll=U.getCredentialWithExisted=U.getProcessArgv=U.bgRed=U.yellow=U.red=void 0;var bE=uu(require("path")),ir=uu(require("fs")),Nt=Za(),TE=uu(require("os")),ot=LE(gi()),$E=rc(),sc=ic(),_i=ot.default.colors,NE=ot.default.got,PE=ot.default.getMAC,FE=ot.default.isDocker,qE=ot.default.isCiCdEnv,DE=ot.default.getGlobalArgs,uc=ot.default.getCredential,oc=ot.default.getCredentialAliasList;U.red=_i.hex("#fd5750");U.yellow=_i.hex("#F3F99D");U.bgRed=_i.hex("#000").bgHex("#fd5750");var ME=function(){var i=process.env.serverless_devs_temp_argv;try{var r=JSON.parse(i),s=DE(r);return process.argv=process.argv.slice(0,2).concat(s._argsObj),(0,Nt.assign)({},s,{noHelpArgv:process.argv.slice(0,2).concat((0,Nt.filter)(s._argsObj,function(o){return!(0,Nt.includes)(["-h","--help"],o)}))})}catch{return{}}};U.getProcessArgv=ME;var UE=function(i){return sr(void 0,void 0,void 0,function(){var r,s;return ur(this,function(o){switch(o.label){case 0:return[4,oc()];case 1:return r=o.sent(),(0,Nt.includes)(r,i)?[4,uc(i)]:[3,3];case 2:return s=o.sent(),[2,(0,Nt.omit)(s,"Alias")];case 3:return[2]}})})};U.getCredentialWithExisted=UE;var HE=function(){return sr(void 0,void 0,void 0,function(){var i,r,s,o,f,h;return ur(this,function(m){switch(m.label){case 0:return[4,oc()];case 1:if(i=m.sent(),!(i.length>0))return[3,6];r={},s=0,o=i,m.label=2;case 2:return s<o.length?(f=o[s],[4,uc(f)]):[3,5];case 3:h=m.sent(),r[h.Alias]=(0,Nt.omit)(h,"Alias"),m.label=4;case 4:return s++,[3,2];case 5:return[2,r];case 6:return[2]}})})};U.getCredentialWithAll=HE;var WE=function(i,r){return r===void 0&&(r="unknow"),sr(void 0,void 0,void 0,function(){var s,o,f,h;return ur(this,function(m){switch(m.label){case 0:return m.trys.push([0,2,,3]),s=(0,$E.getConfig)("analysis"),s!=="enable"?[2]:FE()||qE()?[2]:[4,NE("http://qaapis.devsapp.cn/apis/v1/search?category=".concat(r,"&code=TypeError&s=").concat(i),{timeout:2e3,json:!0})];case 1:return o=m.sent(),f=(0,Nt.get)(o.body,"shorturl"),f&&console.log(`AI Tips:
34
+ }`;var B=Ma(function(){return J(c,N+"return "+O).apply(i,p)});if(B.source=O,bs(B))throw B;return B}function pm(e){return Q(e).toLowerCase()}function gm(e){return Q(e).toUpperCase()}function dm(e,t,n){if(e=Q(e),e&&(n||t===i))return Vu(e);if(!e||!(t=Te(t)))return e;var u=Ze(e),a=Ze(t),c=Ku(u,a),p=Yu(u,a)+1;return bt(u,c,p).join("")}function _m(e,t,n){if(e=Q(e),e&&(n||t===i))return e.slice(0,Ju(e)+1);if(!e||!(t=Te(t)))return e;var u=Ze(e),a=Yu(u,Ze(t))+1;return bt(u,0,a).join("")}function mm(e,t,n){if(e=Q(e),e&&(n||t===i))return e.replace(bi,"");if(!e||!(t=Te(t)))return e;var u=Ze(e),a=Ku(u,Ze(t));return bt(u,a).join("")}function vm(e,t){var n=cc,u=hc;if(re(t)){var a="separator"in t?t.separator:a;n="length"in t?G(t.length):n,u="omission"in t?Te(t.omission):u}e=Q(e);var c=e.length;if(sn(e)){var p=Ze(e);c=p.length}if(n>=c)return e;var g=n-un(u);if(g<1)return u;var _=p?bt(p,0,g).join(""):e.slice(0,g);if(a===i)return _+u;if(p&&(g+=_.length-g),Ts(a)){if(e.slice(g).search(a)){var y,R=_;for(a.global||(a=Ki(a.source,Q(gu.exec(a))+"g")),a.lastIndex=0;y=a.exec(R);)var O=y.index;_=_.slice(0,O===i?g:O)}}else if(e.indexOf(Te(a),g)!=g){var S=_.lastIndexOf(a);S>-1&&(_=_.slice(0,S))}return _+u}function Em(e){return e=Q(e),e&&bc.test(e)?e.replace(cu,Yh):e}var wm=hn(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),Ps=Uo("toUpperCase");function Da(e,t,n){return e=Q(e),t=n?i:t,t===i?Bh(e)?Qh(e):Ph(e):e.match(t)||[]}var Ma=z(function(e,t){try{return Le(e,i,t)}catch(n){return bs(n)?n:new H(n)}}),Am=gt(function(e,t){return De(t,function(n){n=st(n),ht(e,n,Cs(e[n],e))}),e});function xm(e){var t=e==null?0:e.length,n=q();return e=t?ne(e,function(u){if(typeof u[1]!="function")throw new Me(f);return[n(u[0]),u[1]]}):[],z(function(u){for(var a=-1;++a<t;){var c=e[a];if(Le(c[0],this,u))return Le(c[1],this,u)}})}function ym(e){return Yp(He(e,v))}function Fs(e){return function(){return e}}function Rm(e,t){return e==null||e!==e?t:e}var Om=Wo(),Im=Wo(!0);function Se(e){return e}function qs(e){return mo(typeof e=="function"?e:He(e,v))}function Sm(e){return Eo(He(e,v))}function Cm(e,t){return wo(e,He(t,v))}var Lm=z(function(e,t){return function(n){return qn(n,e,t)}}),bm=z(function(e,t){return function(n){return qn(e,n,t)}});function Ds(e,t,n){var u=ce(t),a=Pr(t,u);n==null&&!(re(t)&&(a.length||!u.length))&&(n=t,t=e,e=this,a=Pr(t,ce(t)));var c=!(re(n)&&"chain"in n)||!!n.chain,p=_t(e);return De(a,function(g){var _=t[g];e[g]=_,p&&(e.prototype[g]=function(){var y=this.__chain__;if(c||y){var R=e(this.__wrapped__),O=R.__actions__=Re(this.__actions__);return O.push({func:_,args:arguments,thisArg:e}),R.__chain__=y,R}return _.apply(e,yt([this.value()],arguments))})}),e}function Tm(){return fe._===this&&(fe._=rp),this}function Ms(){}function $m(e){return e=G(e),z(function(t){return Ao(t,e)})}var Nm=ds(ne),Pm=ds(Wu),Fm=ds(Hi);function Ua(e){return xs(e)?Wi(st(e)):cg(e)}function qm(e){return function(t){return e==null?i:Wt(e,t)}}var Dm=Bo(),Mm=Bo(!0);function Us(){return[]}function Hs(){return!1}function Um(){return{}}function Hm(){return""}function Wm(){return!0}function Gm(e,t){if(e=G(e),e<1||e>At)return[];var n=nt,u=de(e,nt);t=q(t),e-=nt;for(var a=Xi(u,t);++n<e;)t(n);return a}function Bm(e){return W(e)?ne(e,st):$e(e)?[e]:Re(sa(Q(e)))}function Xm(e){var t=++tp;return Q(e)+t}var zm=Hr(function(e,t){return e+t},0),Vm=_s("ceil"),Km=Hr(function(e,t){return e/t},1),Ym=_s("floor");function Zm(e){return e&&e.length?Nr(e,Se,ts):i}function Jm(e,t){return e&&e.length?Nr(e,q(t,2),ts):i}function Qm(e){return Xu(e,Se)}function jm(e,t){return Xu(e,q(t,2))}function km(e){return e&&e.length?Nr(e,Se,ss):i}function ev(e,t){return e&&e.length?Nr(e,q(t,2),ss):i}var tv=Hr(function(e,t){return e*t},1),nv=_s("round"),rv=Hr(function(e,t){return e-t},0);function iv(e){return e&&e.length?Bi(e,Se):0}function sv(e,t){return e&&e.length?Bi(e,q(t,2)):0}return l.after=S0,l.ary=_a,l.assign=g_,l.assignIn=ba,l.assignInWith=kr,l.assignWith=d_,l.at=__,l.before=ma,l.bind=Cs,l.bindAll=Am,l.bindKey=va,l.castArray=U0,l.chain=pa,l.chunk=Yg,l.compact=Zg,l.concat=Jg,l.cond=xm,l.conforms=ym,l.constant=Fs,l.countBy=i0,l.create=m_,l.curry=Ea,l.curryRight=wa,l.debounce=Aa,l.defaults=v_,l.defaultsDeep=E_,l.defer=C0,l.delay=L0,l.difference=Qg,l.differenceBy=jg,l.differenceWith=kg,l.drop=ed,l.dropRight=td,l.dropRightWhile=nd,l.dropWhile=rd,l.fill=id,l.filter=u0,l.flatMap=l0,l.flatMapDeep=f0,l.flatMapDepth=c0,l.flatten=la,l.flattenDeep=sd,l.flattenDepth=ud,l.flip=b0,l.flow=Om,l.flowRight=Im,l.fromPairs=od,l.functions=I_,l.functionsIn=S_,l.groupBy=h0,l.initial=ld,l.intersection=fd,l.intersectionBy=cd,l.intersectionWith=hd,l.invert=L_,l.invertBy=b_,l.invokeMap=g0,l.iteratee=qs,l.keyBy=d0,l.keys=ce,l.keysIn=Ie,l.map=Kr,l.mapKeys=$_,l.mapValues=N_,l.matches=Sm,l.matchesProperty=Cm,l.memoize=Zr,l.merge=P_,l.mergeWith=Ta,l.method=Lm,l.methodOf=bm,l.mixin=Ds,l.negate=Jr,l.nthArg=$m,l.omit=F_,l.omitBy=q_,l.once=T0,l.orderBy=_0,l.over=Nm,l.overArgs=$0,l.overEvery=Pm,l.overSome=Fm,l.partial=Ls,l.partialRight=xa,l.partition=m0,l.pick=D_,l.pickBy=$a,l.property=Ua,l.propertyOf=qm,l.pull=_d,l.pullAll=ca,l.pullAllBy=md,l.pullAllWith=vd,l.pullAt=Ed,l.range=Dm,l.rangeRight=Mm,l.rearg=N0,l.reject=w0,l.remove=wd,l.rest=P0,l.reverse=Is,l.sampleSize=x0,l.set=U_,l.setWith=H_,l.shuffle=y0,l.slice=Ad,l.sortBy=I0,l.sortedUniq=Cd,l.sortedUniqBy=Ld,l.split=lm,l.spread=F0,l.tail=bd,l.take=Td,l.takeRight=$d,l.takeRightWhile=Nd,l.takeWhile=Pd,l.tap=Zd,l.throttle=q0,l.thru=Vr,l.toArray=Sa,l.toPairs=Na,l.toPairsIn=Pa,l.toPath=Bm,l.toPlainObject=La,l.transform=W_,l.unary=D0,l.union=Fd,l.unionBy=qd,l.unionWith=Dd,l.uniq=Md,l.uniqBy=Ud,l.uniqWith=Hd,l.unset=G_,l.unzip=Ss,l.unzipWith=ha,l.update=B_,l.updateWith=X_,l.values=dn,l.valuesIn=z_,l.without=Wd,l.words=Da,l.wrap=M0,l.xor=Gd,l.xorBy=Bd,l.xorWith=Xd,l.zip=zd,l.zipObject=Vd,l.zipObjectDeep=Kd,l.zipWith=Yd,l.entries=Na,l.entriesIn=Pa,l.extend=ba,l.extendWith=kr,Ds(l,l),l.add=zm,l.attempt=Ma,l.camelCase=Z_,l.capitalize=Fa,l.ceil=Vm,l.clamp=V_,l.clone=H0,l.cloneDeep=G0,l.cloneDeepWith=B0,l.cloneWith=W0,l.conformsTo=X0,l.deburr=qa,l.defaultTo=Rm,l.divide=Km,l.endsWith=J_,l.eq=Qe,l.escape=Q_,l.escapeRegExp=j_,l.every=s0,l.find=o0,l.findIndex=oa,l.findKey=w_,l.findLast=a0,l.findLastIndex=aa,l.findLastKey=A_,l.floor=Ym,l.forEach=ga,l.forEachRight=da,l.forIn=x_,l.forInRight=y_,l.forOwn=R_,l.forOwnRight=O_,l.get=$s,l.gt=z0,l.gte=V0,l.has=C_,l.hasIn=Ns,l.head=fa,l.identity=Se,l.includes=p0,l.indexOf=ad,l.inRange=K_,l.invoke=T_,l.isArguments=Xt,l.isArray=W,l.isArrayBuffer=K0,l.isArrayLike=Oe,l.isArrayLikeObject=se,l.isBoolean=Y0,l.isBuffer=Tt,l.isDate=Z0,l.isElement=J0,l.isEmpty=Q0,l.isEqual=j0,l.isEqualWith=k0,l.isError=bs,l.isFinite=e_,l.isFunction=_t,l.isInteger=ya,l.isLength=Qr,l.isMap=Ra,l.isMatch=t_,l.isMatchWith=n_,l.isNaN=r_,l.isNative=i_,l.isNil=u_,l.isNull=s_,l.isNumber=Oa,l.isObject=re,l.isObjectLike=ie,l.isPlainObject=Gn,l.isRegExp=Ts,l.isSafeInteger=o_,l.isSet=Ia,l.isString=jr,l.isSymbol=$e,l.isTypedArray=gn,l.isUndefined=a_,l.isWeakMap=l_,l.isWeakSet=f_,l.join=pd,l.kebabCase=k_,l.last=Ge,l.lastIndexOf=gd,l.lowerCase=em,l.lowerFirst=tm,l.lt=c_,l.lte=h_,l.max=Zm,l.maxBy=Jm,l.mean=Qm,l.meanBy=jm,l.min=km,l.minBy=ev,l.stubArray=Us,l.stubFalse=Hs,l.stubObject=Um,l.stubString=Hm,l.stubTrue=Wm,l.multiply=tv,l.nth=dd,l.noConflict=Tm,l.noop=Ms,l.now=Yr,l.pad=nm,l.padEnd=rm,l.padStart=im,l.parseInt=sm,l.random=Y_,l.reduce=v0,l.reduceRight=E0,l.repeat=um,l.replace=om,l.result=M_,l.round=nv,l.runInContext=d,l.sample=A0,l.size=R0,l.snakeCase=am,l.some=O0,l.sortedIndex=xd,l.sortedIndexBy=yd,l.sortedIndexOf=Rd,l.sortedLastIndex=Od,l.sortedLastIndexBy=Id,l.sortedLastIndexOf=Sd,l.startCase=fm,l.startsWith=cm,l.subtract=rv,l.sum=iv,l.sumBy=sv,l.template=hm,l.times=Gm,l.toFinite=mt,l.toInteger=G,l.toLength=Ca,l.toLower=pm,l.toNumber=Be,l.toSafeInteger=p_,l.toString=Q,l.toUpper=gm,l.trim=dm,l.trimEnd=_m,l.trimStart=mm,l.truncate=vm,l.unescape=Em,l.uniqueId=Xm,l.upperCase=wm,l.upperFirst=Ps,l.each=ga,l.eachRight=da,l.first=fa,Ds(l,function(){var e={};return rt(l,function(t,n){j.call(l.prototype,n)||(e[n]=t)}),e}(),{chain:!1}),l.VERSION=r,De(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){l[e].placeholder=l}),De(["drop","take"],function(e,t){K.prototype[e]=function(n){n=n===i?1:le(G(n),0);var u=this.__filtered__&&!t?new K(this):this.clone();return u.__filtered__?u.__takeCount__=de(n,u.__takeCount__):u.__views__.push({size:de(n,nt),type:e+(u.__dir__<0?"Right":"")}),u},K.prototype[e+"Right"]=function(n){return this.reverse()[e](n).reverse()}}),De(["filter","map","takeWhile"],function(e,t){var n=t+1,u=n==au||n==_c;K.prototype[e]=function(a){var c=this.clone();return c.__iteratees__.push({iteratee:q(a,3),type:n}),c.__filtered__=c.__filtered__||u,c}}),De(["head","last"],function(e,t){var n="take"+(t?"Right":"");K.prototype[e]=function(){return this[n](1).value()[0]}}),De(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");K.prototype[e]=function(){return this.__filtered__?new K(this):this[n](1)}}),K.prototype.compact=function(){return this.filter(Se)},K.prototype.find=function(e){return this.filter(e).head()},K.prototype.findLast=function(e){return this.reverse().find(e)},K.prototype.invokeMap=z(function(e,t){return typeof e=="function"?new K(this):this.map(function(n){return qn(n,e,t)})}),K.prototype.reject=function(e){return this.filter(Jr(q(e)))},K.prototype.slice=function(e,t){e=G(e);var n=this;return n.__filtered__&&(e>0||t<0)?new K(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==i&&(t=G(t),n=t<0?n.dropRight(-t):n.take(t-e)),n)},K.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},K.prototype.toArray=function(){return this.take(nt)},rt(K.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),u=/^(?:head|last)$/.test(t),a=l[u?"take"+(t=="last"?"Right":""):t],c=u||/^find/.test(t);!a||(l.prototype[t]=function(){var p=this.__wrapped__,g=u?[1]:arguments,_=p instanceof K,y=g[0],R=_||W(p),O=function(V){var Y=a.apply(l,yt([V],g));return u&&S?Y[0]:Y};R&&n&&typeof y=="function"&&y.length!=1&&(_=R=!1);var S=this.__chain__,N=!!this.__actions__.length,D=c&&!S,B=_&&!N;if(!c&&R){p=B?p:new K(this);var M=e.apply(p,g);return M.__actions__.push({func:Vr,args:[O],thisArg:i}),new Ue(M,S)}return D&&B?e.apply(this,g):(M=this.thru(O),D?u?M.value()[0]:M.value():M)})}),De(["pop","push","shift","sort","splice","unshift"],function(e){var t=vr[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",u=/^(?:pop|shift)$/.test(e);l.prototype[e]=function(){var a=arguments;if(u&&!this.__chain__){var c=this.value();return t.apply(W(c)?c:[],a)}return this[n](function(p){return t.apply(W(p)?p:[],a)})}}),rt(K.prototype,function(e,t){var n=l[t];if(n){var u=n.name+"";j.call(ln,u)||(ln[u]=[]),ln[u].push({name:t,func:n})}}),ln[Ur(i,Pt).name]=[{name:"wrapper",func:i}],K.prototype.clone=Ep,K.prototype.reverse=wp,K.prototype.value=Ap,l.prototype.at=Jd,l.prototype.chain=Qd,l.prototype.commit=jd,l.prototype.next=kd,l.prototype.plant=t0,l.prototype.reverse=n0,l.prototype.toJSON=l.prototype.valueOf=l.prototype.value=r0,l.prototype.first=l.prototype.head,Ln&&(l.prototype[Ln]=e0),l},Ot=jh();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(fe._=Ot,define(function(){return Ot})):qt?((qt.exports=Ot)._=Ot,qi._=Ot):fe._=Ot}).call(_n)});var Vn=F((ew,Ja)=>{var av="2.0.0",lv=Number.MAX_SAFE_INTEGER||9007199254740991,fv=16;Ja.exports={SEMVER_SPEC_VERSION:av,MAX_LENGTH:256,MAX_SAFE_INTEGER:lv,MAX_SAFE_COMPONENT_LENGTH:fv}});var Kn=F((tw,Qa)=>{var cv=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...i)=>console.error("SEMVER",...i):()=>{};Qa.exports=cv});var Kt=F(($t,ja)=>{var{MAX_SAFE_COMPONENT_LENGTH:Xs}=Vn(),hv=Kn();$t=ja.exports={};var pv=$t.re=[],L=$t.src=[],b=$t.t={},gv=0,X=(i,r,s)=>{let o=gv++;hv(o,r),b[i]=o,L[o]=r,pv[o]=new RegExp(r,s?"g":void 0)};X("NUMERICIDENTIFIER","0|[1-9]\\d*");X("NUMERICIDENTIFIERLOOSE","[0-9]+");X("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*");X("MAINVERSION",`(${L[b.NUMERICIDENTIFIER]})\\.(${L[b.NUMERICIDENTIFIER]})\\.(${L[b.NUMERICIDENTIFIER]})`);X("MAINVERSIONLOOSE",`(${L[b.NUMERICIDENTIFIERLOOSE]})\\.(${L[b.NUMERICIDENTIFIERLOOSE]})\\.(${L[b.NUMERICIDENTIFIERLOOSE]})`);X("PRERELEASEIDENTIFIER",`(?:${L[b.NUMERICIDENTIFIER]}|${L[b.NONNUMERICIDENTIFIER]})`);X("PRERELEASEIDENTIFIERLOOSE",`(?:${L[b.NUMERICIDENTIFIERLOOSE]}|${L[b.NONNUMERICIDENTIFIER]})`);X("PRERELEASE",`(?:-(${L[b.PRERELEASEIDENTIFIER]}(?:\\.${L[b.PRERELEASEIDENTIFIER]})*))`);X("PRERELEASELOOSE",`(?:-?(${L[b.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${L[b.PRERELEASEIDENTIFIERLOOSE]})*))`);X("BUILDIDENTIFIER","[0-9A-Za-z-]+");X("BUILD",`(?:\\+(${L[b.BUILDIDENTIFIER]}(?:\\.${L[b.BUILDIDENTIFIER]})*))`);X("FULLPLAIN",`v?${L[b.MAINVERSION]}${L[b.PRERELEASE]}?${L[b.BUILD]}?`);X("FULL",`^${L[b.FULLPLAIN]}$`);X("LOOSEPLAIN",`[v=\\s]*${L[b.MAINVERSIONLOOSE]}${L[b.PRERELEASELOOSE]}?${L[b.BUILD]}?`);X("LOOSE",`^${L[b.LOOSEPLAIN]}$`);X("GTLT","((?:<|>)?=?)");X("XRANGEIDENTIFIERLOOSE",`${L[b.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);X("XRANGEIDENTIFIER",`${L[b.NUMERICIDENTIFIER]}|x|X|\\*`);X("XRANGEPLAIN",`[v=\\s]*(${L[b.XRANGEIDENTIFIER]})(?:\\.(${L[b.XRANGEIDENTIFIER]})(?:\\.(${L[b.XRANGEIDENTIFIER]})(?:${L[b.PRERELEASE]})?${L[b.BUILD]}?)?)?`);X("XRANGEPLAINLOOSE",`[v=\\s]*(${L[b.XRANGEIDENTIFIERLOOSE]})(?:\\.(${L[b.XRANGEIDENTIFIERLOOSE]})(?:\\.(${L[b.XRANGEIDENTIFIERLOOSE]})(?:${L[b.PRERELEASELOOSE]})?${L[b.BUILD]}?)?)?`);X("XRANGE",`^${L[b.GTLT]}\\s*${L[b.XRANGEPLAIN]}$`);X("XRANGELOOSE",`^${L[b.GTLT]}\\s*${L[b.XRANGEPLAINLOOSE]}$`);X("COERCE",`(^|[^\\d])(\\d{1,${Xs}})(?:\\.(\\d{1,${Xs}}))?(?:\\.(\\d{1,${Xs}}))?(?:$|[^\\d])`);X("COERCERTL",L[b.COERCE],!0);X("LONETILDE","(?:~>?)");X("TILDETRIM",`(\\s*)${L[b.LONETILDE]}\\s+`,!0);$t.tildeTrimReplace="$1~";X("TILDE",`^${L[b.LONETILDE]}${L[b.XRANGEPLAIN]}$`);X("TILDELOOSE",`^${L[b.LONETILDE]}${L[b.XRANGEPLAINLOOSE]}$`);X("LONECARET","(?:\\^)");X("CARETTRIM",`(\\s*)${L[b.LONECARET]}\\s+`,!0);$t.caretTrimReplace="$1^";X("CARET",`^${L[b.LONECARET]}${L[b.XRANGEPLAIN]}$`);X("CARETLOOSE",`^${L[b.LONECARET]}${L[b.XRANGEPLAINLOOSE]}$`);X("COMPARATORLOOSE",`^${L[b.GTLT]}\\s*(${L[b.LOOSEPLAIN]})$|^$`);X("COMPARATOR",`^${L[b.GTLT]}\\s*(${L[b.FULLPLAIN]})$|^$`);X("COMPARATORTRIM",`(\\s*)${L[b.GTLT]}\\s*(${L[b.LOOSEPLAIN]}|${L[b.XRANGEPLAIN]})`,!0);$t.comparatorTrimReplace="$1$2$3";X("HYPHENRANGE",`^\\s*(${L[b.XRANGEPLAIN]})\\s+-\\s+(${L[b.XRANGEPLAIN]})\\s*$`);X("HYPHENRANGELOOSE",`^\\s*(${L[b.XRANGEPLAINLOOSE]})\\s+-\\s+(${L[b.XRANGEPLAINLOOSE]})\\s*$`);X("STAR","(<|>)?=?\\s*\\*");X("GTE0","^\\s*>=\\s*0.0.0\\s*$");X("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")});var Yn=F((nw,ka)=>{var dv=["includePrerelease","loose","rtl"],_v=i=>i?typeof i!="object"?{loose:!0}:dv.filter(r=>i[r]).reduce((r,s)=>(r[s]=!0,r),{}):{};ka.exports=_v});var ti=F((rw,nl)=>{var el=/^[0-9]+$/,tl=(i,r)=>{let s=el.test(i),o=el.test(r);return s&&o&&(i=+i,r=+r),i===r?0:s&&!o?-1:o&&!s?1:i<r?-1:1},mv=(i,r)=>tl(r,i);nl.exports={compareIdentifiers:tl,rcompareIdentifiers:mv}});var me=F((iw,ul)=>{var ni=Kn(),{MAX_LENGTH:rl,MAX_SAFE_INTEGER:ri}=Vn(),{re:il,t:sl}=Kt(),vv=Yn(),{compareIdentifiers:Zn}=ti(),Xe=class{constructor(r,s){if(s=vv(s),r instanceof Xe){if(r.loose===!!s.loose&&r.includePrerelease===!!s.includePrerelease)return r;r=r.version}else if(typeof r!="string")throw new TypeError(`Invalid Version: ${r}`);if(r.length>rl)throw new TypeError(`version is longer than ${rl} characters`);ni("SemVer",r,s),this.options=s,this.loose=!!s.loose,this.includePrerelease=!!s.includePrerelease;let o=r.trim().match(s.loose?il[sl.LOOSE]:il[sl.FULL]);if(!o)throw new TypeError(`Invalid Version: ${r}`);if(this.raw=r,this.major=+o[1],this.minor=+o[2],this.patch=+o[3],this.major>ri||this.major<0)throw new TypeError("Invalid major version");if(this.minor>ri||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>ri||this.patch<0)throw new TypeError("Invalid patch version");o[4]?this.prerelease=o[4].split(".").map(f=>{if(/^[0-9]+$/.test(f)){let h=+f;if(h>=0&&h<ri)return h}return f}):this.prerelease=[],this.build=o[5]?o[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(r){if(ni("SemVer.compare",this.version,this.options,r),!(r instanceof Xe)){if(typeof r=="string"&&r===this.version)return 0;r=new Xe(r,this.options)}return r.version===this.version?0:this.compareMain(r)||this.comparePre(r)}compareMain(r){return r instanceof Xe||(r=new Xe(r,this.options)),Zn(this.major,r.major)||Zn(this.minor,r.minor)||Zn(this.patch,r.patch)}comparePre(r){if(r instanceof Xe||(r=new Xe(r,this.options)),this.prerelease.length&&!r.prerelease.length)return-1;if(!this.prerelease.length&&r.prerelease.length)return 1;if(!this.prerelease.length&&!r.prerelease.length)return 0;let s=0;do{let o=this.prerelease[s],f=r.prerelease[s];if(ni("prerelease compare",s,o,f),o===void 0&&f===void 0)return 0;if(f===void 0)return 1;if(o===void 0)return-1;if(o===f)continue;return Zn(o,f)}while(++s)}compareBuild(r){r instanceof Xe||(r=new Xe(r,this.options));let s=0;do{let o=this.build[s],f=r.build[s];if(ni("prerelease compare",s,o,f),o===void 0&&f===void 0)return 0;if(f===void 0)return 1;if(o===void 0)return-1;if(o===f)continue;return Zn(o,f)}while(++s)}inc(r,s){switch(r){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",s);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",s);break;case"prepatch":this.prerelease.length=0,this.inc("patch",s),this.inc("pre",s);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",s),this.inc("pre",s);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{let o=this.prerelease.length;for(;--o>=0;)typeof this.prerelease[o]=="number"&&(this.prerelease[o]++,o=-2);o===-1&&this.prerelease.push(0)}s&&(this.prerelease[0]===s?isNaN(this.prerelease[1])&&(this.prerelease=[s,0]):this.prerelease=[s,0]);break;default:throw new Error(`invalid increment argument: ${r}`)}return this.format(),this.raw=this.version,this}};ul.exports=Xe});var Yt=F((sw,fl)=>{var{MAX_LENGTH:Ev}=Vn(),{re:ol,t:al}=Kt(),ll=me(),wv=Yn(),Av=(i,r)=>{if(r=wv(r),i instanceof ll)return i;if(typeof i!="string"||i.length>Ev||!(r.loose?ol[al.LOOSE]:ol[al.FULL]).test(i))return null;try{return new ll(i,r)}catch{return null}};fl.exports=Av});var hl=F((uw,cl)=>{var xv=Yt(),yv=(i,r)=>{let s=xv(i,r);return s?s.version:null};cl.exports=yv});var gl=F((ow,pl)=>{var Rv=Yt(),Ov=(i,r)=>{let s=Rv(i.trim().replace(/^[=v]+/,""),r);return s?s.version:null};pl.exports=Ov});var _l=F((aw,dl)=>{var Iv=me(),Sv=(i,r,s,o)=>{typeof s=="string"&&(o=s,s=void 0);try{return new Iv(i,s).inc(r,o).version}catch{return null}};dl.exports=Sv});var ze=F((lw,vl)=>{var ml=me(),Cv=(i,r,s)=>new ml(i,s).compare(new ml(r,s));vl.exports=Cv});var ii=F((fw,El)=>{var Lv=ze(),bv=(i,r,s)=>Lv(i,r,s)===0;El.exports=bv});var xl=F((cw,Al)=>{var wl=Yt(),Tv=ii(),$v=(i,r)=>{if(Tv(i,r))return null;{let s=wl(i),o=wl(r),f=s.prerelease.length||o.prerelease.length,h=f?"pre":"",m=f?"prerelease":"";for(let A in s)if((A==="major"||A==="minor"||A==="patch")&&s[A]!==o[A])return h+A;return m}};Al.exports=$v});var Rl=F((hw,yl)=>{var Nv=me(),Pv=(i,r)=>new Nv(i,r).major;yl.exports=Pv});var Il=F((pw,Ol)=>{var Fv=me(),qv=(i,r)=>new Fv(i,r).minor;Ol.exports=qv});var Cl=F((gw,Sl)=>{var Dv=me(),Mv=(i,r)=>new Dv(i,r).patch;Sl.exports=Mv});var bl=F((dw,Ll)=>{var Uv=Yt(),Hv=(i,r)=>{let s=Uv(i,r);return s&&s.prerelease.length?s.prerelease:null};Ll.exports=Hv});var $l=F((_w,Tl)=>{var Wv=ze(),Gv=(i,r,s)=>Wv(r,i,s);Tl.exports=Gv});var Pl=F((mw,Nl)=>{var Bv=ze(),Xv=(i,r)=>Bv(i,r,!0);Nl.exports=Xv});var si=F((vw,ql)=>{var Fl=me(),zv=(i,r,s)=>{let o=new Fl(i,s),f=new Fl(r,s);return o.compare(f)||o.compareBuild(f)};ql.exports=zv});var Ml=F((Ew,Dl)=>{var Vv=si(),Kv=(i,r)=>i.sort((s,o)=>Vv(s,o,r));Dl.exports=Kv});var Hl=F((ww,Ul)=>{var Yv=si(),Zv=(i,r)=>i.sort((s,o)=>Yv(o,s,r));Ul.exports=Zv});var Jn=F((Aw,Wl)=>{var Jv=ze(),Qv=(i,r,s)=>Jv(i,r,s)>0;Wl.exports=Qv});var ui=F((xw,Gl)=>{var jv=ze(),kv=(i,r,s)=>jv(i,r,s)<0;Gl.exports=kv});var zs=F((yw,Bl)=>{var e1=ze(),t1=(i,r,s)=>e1(i,r,s)!==0;Bl.exports=t1});var oi=F((Rw,Xl)=>{var n1=ze(),r1=(i,r,s)=>n1(i,r,s)>=0;Xl.exports=r1});var ai=F((Ow,zl)=>{var i1=ze(),s1=(i,r,s)=>i1(i,r,s)<=0;zl.exports=s1});var Vs=F((Iw,Vl)=>{var u1=ii(),o1=zs(),a1=Jn(),l1=oi(),f1=ui(),c1=ai(),h1=(i,r,s,o)=>{switch(r){case"===":return typeof i=="object"&&(i=i.version),typeof s=="object"&&(s=s.version),i===s;case"!==":return typeof i=="object"&&(i=i.version),typeof s=="object"&&(s=s.version),i!==s;case"":case"=":case"==":return u1(i,s,o);case"!=":return o1(i,s,o);case">":return a1(i,s,o);case">=":return l1(i,s,o);case"<":return f1(i,s,o);case"<=":return c1(i,s,o);default:throw new TypeError(`Invalid operator: ${r}`)}};Vl.exports=h1});var Yl=F((Sw,Kl)=>{var p1=me(),g1=Yt(),{re:li,t:fi}=Kt(),d1=(i,r)=>{if(i instanceof p1)return i;if(typeof i=="number"&&(i=String(i)),typeof i!="string")return null;r=r||{};let s=null;if(!r.rtl)s=i.match(li[fi.COERCE]);else{let o;for(;(o=li[fi.COERCERTL].exec(i))&&(!s||s.index+s[0].length!==i.length);)(!s||o.index+o[0].length!==s.index+s[0].length)&&(s=o),li[fi.COERCERTL].lastIndex=o.index+o[1].length+o[2].length;li[fi.COERCERTL].lastIndex=-1}return s===null?null:g1(`${s[2]}.${s[3]||"0"}.${s[4]||"0"}`,r)};Kl.exports=d1});var Jl=F((Cw,Zl)=>{"use strict";Zl.exports=function(i){i.prototype[Symbol.iterator]=function*(){for(let r=this.head;r;r=r.next)yield r.value}}});var jl=F((Lw,Ql)=>{"use strict";Ql.exports=Z;Z.Node=Zt;Z.create=Z;function Z(i){var r=this;if(r instanceof Z||(r=new Z),r.tail=null,r.head=null,r.length=0,i&&typeof i.forEach=="function")i.forEach(function(f){r.push(f)});else if(arguments.length>0)for(var s=0,o=arguments.length;s<o;s++)r.push(arguments[s]);return r}Z.prototype.removeNode=function(i){if(i.list!==this)throw new Error("removing node which does not belong to this list");var r=i.next,s=i.prev;return r&&(r.prev=s),s&&(s.next=r),i===this.head&&(this.head=r),i===this.tail&&(this.tail=s),i.list.length--,i.next=null,i.prev=null,i.list=null,r};Z.prototype.unshiftNode=function(i){if(i!==this.head){i.list&&i.list.removeNode(i);var r=this.head;i.list=this,i.next=r,r&&(r.prev=i),this.head=i,this.tail||(this.tail=i),this.length++}};Z.prototype.pushNode=function(i){if(i!==this.tail){i.list&&i.list.removeNode(i);var r=this.tail;i.list=this,i.prev=r,r&&(r.next=i),this.tail=i,this.head||(this.head=i),this.length++}};Z.prototype.push=function(){for(var i=0,r=arguments.length;i<r;i++)m1(this,arguments[i]);return this.length};Z.prototype.unshift=function(){for(var i=0,r=arguments.length;i<r;i++)v1(this,arguments[i]);return this.length};Z.prototype.pop=function(){if(!!this.tail){var i=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,i}};Z.prototype.shift=function(){if(!!this.head){var i=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,i}};Z.prototype.forEach=function(i,r){r=r||this;for(var s=this.head,o=0;s!==null;o++)i.call(r,s.value,o,this),s=s.next};Z.prototype.forEachReverse=function(i,r){r=r||this;for(var s=this.tail,o=this.length-1;s!==null;o--)i.call(r,s.value,o,this),s=s.prev};Z.prototype.get=function(i){for(var r=0,s=this.head;s!==null&&r<i;r++)s=s.next;if(r===i&&s!==null)return s.value};Z.prototype.getReverse=function(i){for(var r=0,s=this.tail;s!==null&&r<i;r++)s=s.prev;if(r===i&&s!==null)return s.value};Z.prototype.map=function(i,r){r=r||this;for(var s=new Z,o=this.head;o!==null;)s.push(i.call(r,o.value,this)),o=o.next;return s};Z.prototype.mapReverse=function(i,r){r=r||this;for(var s=new Z,o=this.tail;o!==null;)s.push(i.call(r,o.value,this)),o=o.prev;return s};Z.prototype.reduce=function(i,r){var s,o=this.head;if(arguments.length>1)s=r;else if(this.head)o=this.head.next,s=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var f=0;o!==null;f++)s=i(s,o.value,f),o=o.next;return s};Z.prototype.reduceReverse=function(i,r){var s,o=this.tail;if(arguments.length>1)s=r;else if(this.tail)o=this.tail.prev,s=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var f=this.length-1;o!==null;f--)s=i(s,o.value,f),o=o.prev;return s};Z.prototype.toArray=function(){for(var i=new Array(this.length),r=0,s=this.head;s!==null;r++)i[r]=s.value,s=s.next;return i};Z.prototype.toArrayReverse=function(){for(var i=new Array(this.length),r=0,s=this.tail;s!==null;r++)i[r]=s.value,s=s.prev;return i};Z.prototype.slice=function(i,r){r=r||this.length,r<0&&(r+=this.length),i=i||0,i<0&&(i+=this.length);var s=new Z;if(r<i||r<0)return s;i<0&&(i=0),r>this.length&&(r=this.length);for(var o=0,f=this.head;f!==null&&o<i;o++)f=f.next;for(;f!==null&&o<r;o++,f=f.next)s.push(f.value);return s};Z.prototype.sliceReverse=function(i,r){r=r||this.length,r<0&&(r+=this.length),i=i||0,i<0&&(i+=this.length);var s=new Z;if(r<i||r<0)return s;i<0&&(i=0),r>this.length&&(r=this.length);for(var o=this.length,f=this.tail;f!==null&&o>r;o--)f=f.prev;for(;f!==null&&o>i;o--,f=f.prev)s.push(f.value);return s};Z.prototype.splice=function(i,r,...s){i>this.length&&(i=this.length-1),i<0&&(i=this.length+i);for(var o=0,f=this.head;f!==null&&o<i;o++)f=f.next;for(var h=[],o=0;f&&o<r;o++)h.push(f.value),f=this.removeNode(f);f===null&&(f=this.tail),f!==this.head&&f!==this.tail&&(f=f.prev);for(var o=0;o<s.length;o++)f=_1(this,f,s[o]);return h};Z.prototype.reverse=function(){for(var i=this.head,r=this.tail,s=i;s!==null;s=s.prev){var o=s.prev;s.prev=s.next,s.next=o}return this.head=r,this.tail=i,this};function _1(i,r,s){var o=r===i.head?new Zt(s,null,r,i):new Zt(s,r,r.next,i);return o.next===null&&(i.tail=o),o.prev===null&&(i.head=o),i.length++,o}function m1(i,r){i.tail=new Zt(r,i.tail,null,i),i.head||(i.head=i.tail),i.length++}function v1(i,r){i.head=new Zt(r,null,i.head,i),i.tail||(i.tail=i.head),i.length++}function Zt(i,r,s,o){if(!(this instanceof Zt))return new Zt(i,r,s,o);this.list=o,this.value=i,r?(r.next=this,this.prev=r):this.prev=null,s?(s.prev=this,this.next=s):this.next=null}try{Jl()(Z)}catch{}});var uf=F((bw,sf)=>{"use strict";var E1=jl(),Jt=Symbol("max"),wt=Symbol("length"),mn=Symbol("lengthCalculator"),jn=Symbol("allowStale"),Qt=Symbol("maxAge"),Et=Symbol("dispose"),kl=Symbol("noDisposeOnSet"),he=Symbol("lruList"),ke=Symbol("cache"),tf=Symbol("updateAgeOnGet"),Ks=()=>1,nf=class{constructor(r){if(typeof r=="number"&&(r={max:r}),r||(r={}),r.max&&(typeof r.max!="number"||r.max<0))throw new TypeError("max must be a non-negative number");let s=this[Jt]=r.max||1/0,o=r.length||Ks;if(this[mn]=typeof o!="function"?Ks:o,this[jn]=r.stale||!1,r.maxAge&&typeof r.maxAge!="number")throw new TypeError("maxAge must be a number");this[Qt]=r.maxAge||0,this[Et]=r.dispose,this[kl]=r.noDisposeOnSet||!1,this[tf]=r.updateAgeOnGet||!1,this.reset()}set max(r){if(typeof r!="number"||r<0)throw new TypeError("max must be a non-negative number");this[Jt]=r||1/0,Qn(this)}get max(){return this[Jt]}set allowStale(r){this[jn]=!!r}get allowStale(){return this[jn]}set maxAge(r){if(typeof r!="number")throw new TypeError("maxAge must be a non-negative number");this[Qt]=r,Qn(this)}get maxAge(){return this[Qt]}set lengthCalculator(r){typeof r!="function"&&(r=Ks),r!==this[mn]&&(this[mn]=r,this[wt]=0,this[he].forEach(s=>{s.length=this[mn](s.value,s.key),this[wt]+=s.length})),Qn(this)}get lengthCalculator(){return this[mn]}get length(){return this[wt]}get itemCount(){return this[he].length}rforEach(r,s){s=s||this;for(let o=this[he].tail;o!==null;){let f=o.prev;ef(this,r,o,s),o=f}}forEach(r,s){s=s||this;for(let o=this[he].head;o!==null;){let f=o.next;ef(this,r,o,s),o=f}}keys(){return this[he].toArray().map(r=>r.key)}values(){return this[he].toArray().map(r=>r.value)}reset(){this[Et]&&this[he]&&this[he].length&&this[he].forEach(r=>this[Et](r.key,r.value)),this[ke]=new Map,this[he]=new E1,this[wt]=0}dump(){return this[he].map(r=>ci(this,r)?!1:{k:r.key,v:r.value,e:r.now+(r.maxAge||0)}).toArray().filter(r=>r)}dumpLru(){return this[he]}set(r,s,o){if(o=o||this[Qt],o&&typeof o!="number")throw new TypeError("maxAge must be a number");let f=o?Date.now():0,h=this[mn](s,r);if(this[ke].has(r)){if(h>this[Jt])return vn(this,this[ke].get(r)),!1;let w=this[ke].get(r).value;return this[Et]&&(this[kl]||this[Et](r,w.value)),w.now=f,w.maxAge=o,w.value=s,this[wt]+=h-w.length,w.length=h,this.get(r),Qn(this),!0}let m=new rf(r,s,h,f,o);return m.length>this[Jt]?(this[Et]&&this[Et](r,s),!1):(this[wt]+=m.length,this[he].unshift(m),this[ke].set(r,this[he].head),Qn(this),!0)}has(r){if(!this[ke].has(r))return!1;let s=this[ke].get(r).value;return!ci(this,s)}get(r){return Ys(this,r,!0)}peek(r){return Ys(this,r,!1)}pop(){let r=this[he].tail;return r?(vn(this,r),r.value):null}del(r){vn(this,this[ke].get(r))}load(r){this.reset();let s=Date.now();for(let o=r.length-1;o>=0;o--){let f=r[o],h=f.e||0;if(h===0)this.set(f.k,f.v);else{let m=h-s;m>0&&this.set(f.k,f.v,m)}}}prune(){this[ke].forEach((r,s)=>Ys(this,s,!1))}},Ys=(i,r,s)=>{let o=i[ke].get(r);if(o){let f=o.value;if(ci(i,f)){if(vn(i,o),!i[jn])return}else s&&(i[tf]&&(o.value.now=Date.now()),i[he].unshiftNode(o));return f.value}},ci=(i,r)=>{if(!r||!r.maxAge&&!i[Qt])return!1;let s=Date.now()-r.now;return r.maxAge?s>r.maxAge:i[Qt]&&s>i[Qt]},Qn=i=>{if(i[wt]>i[Jt])for(let r=i[he].tail;i[wt]>i[Jt]&&r!==null;){let s=r.prev;vn(i,r),r=s}},vn=(i,r)=>{if(r){let s=r.value;i[Et]&&i[Et](s.key,s.value),i[wt]-=s.length,i[ke].delete(s.key),i[he].removeNode(r)}},rf=class{constructor(r,s,o,f,h){this.key=r,this.value=s,this.length=o,this.now=f,this.maxAge=h||0}},ef=(i,r,s,o)=>{let f=s.value;ci(i,f)&&(vn(i,s),i[jn]||(f=void 0)),f&&r.call(o,f.value,f.key,i)};sf.exports=nf});var Ve=F((Tw,ff)=>{var En=class{constructor(r,s){if(s=A1(s),r instanceof En)return r.loose===!!s.loose&&r.includePrerelease===!!s.includePrerelease?r:new En(r.raw,s);if(r instanceof Zs)return this.raw=r.value,this.set=[[r]],this.format(),this;if(this.options=s,this.loose=!!s.loose,this.includePrerelease=!!s.includePrerelease,this.raw=r,this.set=r.split(/\s*\|\|\s*/).map(o=>this.parseRange(o.trim())).filter(o=>o.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${r}`);if(this.set.length>1){let o=this.set[0];if(this.set=this.set.filter(f=>!af(f[0])),this.set.length===0)this.set=[o];else if(this.set.length>1){for(let f of this.set)if(f.length===1&&I1(f[0])){this.set=[f];break}}}this.format()}format(){return this.range=this.set.map(r=>r.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(r){r=r.trim();let o=`parseRange:${Object.keys(this.options).join(",")}:${r}`,f=of.get(o);if(f)return f;let h=this.options.loose,m=h?ve[ge.HYPHENRANGELOOSE]:ve[ge.HYPHENRANGE];r=r.replace(m,q1(this.options.includePrerelease)),oe("hyphen replace",r),r=r.replace(ve[ge.COMPARATORTRIM],y1),oe("comparator trim",r,ve[ge.COMPARATORTRIM]),r=r.replace(ve[ge.TILDETRIM],R1),r=r.replace(ve[ge.CARETTRIM],O1),r=r.split(/\s+/).join(" ");let A=h?ve[ge.COMPARATORLOOSE]:ve[ge.COMPARATOR],w=r.split(" ").map(T=>S1(T,this.options)).join(" ").split(/\s+/).map(T=>F1(T,this.options)).filter(this.options.loose?T=>!!T.match(A):()=>!0).map(T=>new Zs(T,this.options)),v=w.length,I=new Map;for(let T of w){if(af(T))return[T];I.set(T.value,T)}I.size>1&&I.has("")&&I.delete("");let $=[...I.values()];return of.set(o,$),$}intersects(r,s){if(!(r instanceof En))throw new TypeError("a Range is required");return this.set.some(o=>lf(o,s)&&r.set.some(f=>lf(f,s)&&o.every(h=>f.every(m=>h.intersects(m,s)))))}test(r){if(!r)return!1;if(typeof r=="string")try{r=new x1(r,this.options)}catch{return!1}for(let s=0;s<this.set.length;s++)if(D1(this.set[s],r,this.options))return!0;return!1}};ff.exports=En;var w1=uf(),of=new w1({max:1e3}),A1=Yn(),Zs=kn(),oe=Kn(),x1=me(),{re:ve,t:ge,comparatorTrimReplace:y1,tildeTrimReplace:R1,caretTrimReplace:O1}=Kt(),af=i=>i.value==="<0.0.0-0",I1=i=>i.value==="",lf=(i,r)=>{let s=!0,o=i.slice(),f=o.pop();for(;s&&o.length;)s=o.every(h=>f.intersects(h,r)),f=o.pop();return s},S1=(i,r)=>(oe("comp",i,r),i=b1(i,r),oe("caret",i),i=C1(i,r),oe("tildes",i),i=$1(i,r),oe("xrange",i),i=P1(i,r),oe("stars",i),i),xe=i=>!i||i.toLowerCase()==="x"||i==="*",C1=(i,r)=>i.trim().split(/\s+/).map(s=>L1(s,r)).join(" "),L1=(i,r)=>{let s=r.loose?ve[ge.TILDELOOSE]:ve[ge.TILDE];return i.replace(s,(o,f,h,m,A)=>{oe("tilde",i,o,f,h,m,A);let w;return xe(f)?w="":xe(h)?w=`>=${f}.0.0 <${+f+1}.0.0-0`:xe(m)?w=`>=${f}.${h}.0 <${f}.${+h+1}.0-0`:A?(oe("replaceTilde pr",A),w=`>=${f}.${h}.${m}-${A} <${f}.${+h+1}.0-0`):w=`>=${f}.${h}.${m} <${f}.${+h+1}.0-0`,oe("tilde return",w),w})},b1=(i,r)=>i.trim().split(/\s+/).map(s=>T1(s,r)).join(" "),T1=(i,r)=>{oe("caret",i,r);let s=r.loose?ve[ge.CARETLOOSE]:ve[ge.CARET],o=r.includePrerelease?"-0":"";return i.replace(s,(f,h,m,A,w)=>{oe("caret",i,f,h,m,A,w);let v;return xe(h)?v="":xe(m)?v=`>=${h}.0.0${o} <${+h+1}.0.0-0`:xe(A)?h==="0"?v=`>=${h}.${m}.0${o} <${h}.${+m+1}.0-0`:v=`>=${h}.${m}.0${o} <${+h+1}.0.0-0`:w?(oe("replaceCaret pr",w),h==="0"?m==="0"?v=`>=${h}.${m}.${A}-${w} <${h}.${m}.${+A+1}-0`:v=`>=${h}.${m}.${A}-${w} <${h}.${+m+1}.0-0`:v=`>=${h}.${m}.${A}-${w} <${+h+1}.0.0-0`):(oe("no pr"),h==="0"?m==="0"?v=`>=${h}.${m}.${A}${o} <${h}.${m}.${+A+1}-0`:v=`>=${h}.${m}.${A}${o} <${h}.${+m+1}.0-0`:v=`>=${h}.${m}.${A} <${+h+1}.0.0-0`),oe("caret return",v),v})},$1=(i,r)=>(oe("replaceXRanges",i,r),i.split(/\s+/).map(s=>N1(s,r)).join(" ")),N1=(i,r)=>{i=i.trim();let s=r.loose?ve[ge.XRANGELOOSE]:ve[ge.XRANGE];return i.replace(s,(o,f,h,m,A,w)=>{oe("xRange",i,o,f,h,m,A,w);let v=xe(h),I=v||xe(m),$=I||xe(A),T=$;return f==="="&&T&&(f=""),w=r.includePrerelease?"-0":"",v?f===">"||f==="<"?o="<0.0.0-0":o="*":f&&T?(I&&(m=0),A=0,f===">"?(f=">=",I?(h=+h+1,m=0,A=0):(m=+m+1,A=0)):f==="<="&&(f="<",I?h=+h+1:m=+m+1),f==="<"&&(w="-0"),o=`${f+h}.${m}.${A}${w}`):I?o=`>=${h}.0.0${w} <${+h+1}.0.0-0`:$&&(o=`>=${h}.${m}.0${w} <${h}.${+m+1}.0-0`),oe("xRange return",o),o})},P1=(i,r)=>(oe("replaceStars",i,r),i.trim().replace(ve[ge.STAR],"")),F1=(i,r)=>(oe("replaceGTE0",i,r),i.trim().replace(ve[r.includePrerelease?ge.GTE0PRE:ge.GTE0],"")),q1=i=>(r,s,o,f,h,m,A,w,v,I,$,T,P)=>(xe(o)?s="":xe(f)?s=`>=${o}.0.0${i?"-0":""}`:xe(h)?s=`>=${o}.${f}.0${i?"-0":""}`:m?s=`>=${s}`:s=`>=${s}${i?"-0":""}`,xe(v)?w="":xe(I)?w=`<${+v+1}.0.0-0`:xe($)?w=`<${v}.${+I+1}.0-0`:T?w=`<=${v}.${I}.${$}-${T}`:i?w=`<${v}.${I}.${+$+1}-0`:w=`<=${w}`,`${s} ${w}`.trim()),D1=(i,r,s)=>{for(let o=0;o<i.length;o++)if(!i[o].test(r))return!1;if(r.prerelease.length&&!s.includePrerelease){for(let o=0;o<i.length;o++)if(oe(i[o].semver),i[o].semver!==Zs.ANY&&i[o].semver.prerelease.length>0){let f=i[o].semver;if(f.major===r.major&&f.minor===r.minor&&f.patch===r.patch)return!0}return!1}return!0}});var kn=F(($w,df)=>{var er=Symbol("SemVer ANY"),tr=class{static get ANY(){return er}constructor(r,s){if(s=M1(s),r instanceof tr){if(r.loose===!!s.loose)return r;r=r.value}Qs("comparator",r,s),this.options=s,this.loose=!!s.loose,this.parse(r),this.semver===er?this.value="":this.value=this.operator+this.semver.version,Qs("comp",this)}parse(r){let s=this.options.loose?cf[hf.COMPARATORLOOSE]:cf[hf.COMPARATOR],o=r.match(s);if(!o)throw new TypeError(`Invalid comparator: ${r}`);this.operator=o[1]!==void 0?o[1]:"",this.operator==="="&&(this.operator=""),o[2]?this.semver=new pf(o[2],this.options.loose):this.semver=er}toString(){return this.value}test(r){if(Qs("Comparator.test",r,this.options.loose),this.semver===er||r===er)return!0;if(typeof r=="string")try{r=new pf(r,this.options)}catch{return!1}return Js(r,this.operator,this.semver,this.options)}intersects(r,s){if(!(r instanceof tr))throw new TypeError("a Comparator is required");if((!s||typeof s!="object")&&(s={loose:!!s,includePrerelease:!1}),this.operator==="")return this.value===""?!0:new gf(r.value,s).test(this.value);if(r.operator==="")return r.value===""?!0:new gf(this.value,s).test(r.semver);let o=(this.operator===">="||this.operator===">")&&(r.operator===">="||r.operator===">"),f=(this.operator==="<="||this.operator==="<")&&(r.operator==="<="||r.operator==="<"),h=this.semver.version===r.semver.version,m=(this.operator===">="||this.operator==="<=")&&(r.operator===">="||r.operator==="<="),A=Js(this.semver,"<",r.semver,s)&&(this.operator===">="||this.operator===">")&&(r.operator==="<="||r.operator==="<"),w=Js(this.semver,">",r.semver,s)&&(this.operator==="<="||this.operator==="<")&&(r.operator===">="||r.operator===">");return o||f||h&&m||A||w}};df.exports=tr;var M1=Yn(),{re:cf,t:hf}=Kt(),Js=Vs(),Qs=Kn(),pf=me(),gf=Ve()});var nr=F((Nw,_f)=>{var U1=Ve(),H1=(i,r,s)=>{try{r=new U1(r,s)}catch{return!1}return r.test(i)};_f.exports=H1});var vf=F((Pw,mf)=>{var W1=Ve(),G1=(i,r)=>new W1(i,r).set.map(s=>s.map(o=>o.value).join(" ").trim().split(" "));mf.exports=G1});var wf=F((Fw,Ef)=>{var B1=me(),X1=Ve(),z1=(i,r,s)=>{let o=null,f=null,h=null;try{h=new X1(r,s)}catch{return null}return i.forEach(m=>{h.test(m)&&(!o||f.compare(m)===-1)&&(o=m,f=new B1(o,s))}),o};Ef.exports=z1});var xf=F((qw,Af)=>{var V1=me(),K1=Ve(),Y1=(i,r,s)=>{let o=null,f=null,h=null;try{h=new K1(r,s)}catch{return null}return i.forEach(m=>{h.test(m)&&(!o||f.compare(m)===1)&&(o=m,f=new V1(o,s))}),o};Af.exports=Y1});var Of=F((Dw,Rf)=>{var js=me(),Z1=Ve(),yf=Jn(),J1=(i,r)=>{i=new Z1(i,r);let s=new js("0.0.0");if(i.test(s)||(s=new js("0.0.0-0"),i.test(s)))return s;s=null;for(let o=0;o<i.set.length;++o){let f=i.set[o],h=null;f.forEach(m=>{let A=new js(m.semver.version);switch(m.operator){case">":A.prerelease.length===0?A.patch++:A.prerelease.push(0),A.raw=A.format();case"":case">=":(!h||yf(A,h))&&(h=A);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${m.operator}`)}}),h&&(!s||yf(s,h))&&(s=h)}return s&&i.test(s)?s:null};Rf.exports=J1});var Sf=F((Mw,If)=>{var Q1=Ve(),j1=(i,r)=>{try{return new Q1(i,r).range||"*"}catch{return null}};If.exports=j1});var hi=F((Uw,Tf)=>{var k1=me(),bf=kn(),{ANY:eE}=bf,tE=Ve(),nE=nr(),Cf=Jn(),Lf=ui(),rE=ai(),iE=oi(),sE=(i,r,s,o)=>{i=new k1(i,o),r=new tE(r,o);let f,h,m,A,w;switch(s){case">":f=Cf,h=rE,m=Lf,A=">",w=">=";break;case"<":f=Lf,h=iE,m=Cf,A="<",w="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(nE(i,r,o))return!1;for(let v=0;v<r.set.length;++v){let I=r.set[v],$=null,T=null;if(I.forEach(P=>{P.semver===eE&&(P=new bf(">=0.0.0")),$=$||P,T=T||P,f(P.semver,$.semver,o)?$=P:m(P.semver,T.semver,o)&&(T=P)}),$.operator===A||$.operator===w||(!T.operator||T.operator===A)&&h(i,T.semver))return!1;if(T.operator===w&&m(i,T.semver))return!1}return!0};Tf.exports=sE});var Nf=F((Hw,$f)=>{var uE=hi(),oE=(i,r,s)=>uE(i,r,">",s);$f.exports=oE});var Ff=F((Ww,Pf)=>{var aE=hi(),lE=(i,r,s)=>aE(i,r,"<",s);Pf.exports=lE});var Mf=F((Gw,Df)=>{var qf=Ve(),fE=(i,r,s)=>(i=new qf(i,s),r=new qf(r,s),i.intersects(r));Df.exports=fE});var Hf=F((Bw,Uf)=>{var cE=nr(),hE=ze();Uf.exports=(i,r,s)=>{let o=[],f=null,h=null,m=i.sort((I,$)=>hE(I,$,s));for(let I of m)cE(I,r,s)?(h=I,f||(f=I)):(h&&o.push([f,h]),h=null,f=null);f&&o.push([f,null]);let A=[];for(let[I,$]of o)I===$?A.push(I):!$&&I===m[0]?A.push("*"):$?I===m[0]?A.push(`<=${$}`):A.push(`${I} - ${$}`):A.push(`>=${I}`);let w=A.join(" || "),v=typeof r.raw=="string"?r.raw:String(r);return w.length<v.length?w:r}});var zf=F((Xw,Xf)=>{var Wf=Ve(),pi=kn(),{ANY:ks}=pi,rr=nr(),eu=ze(),pE=(i,r,s={})=>{if(i===r)return!0;i=new Wf(i,s),r=new Wf(r,s);let o=!1;e:for(let f of i.set){for(let h of r.set){let m=gE(f,h,s);if(o=o||m!==null,m)continue e}if(o)return!1}return!0},gE=(i,r,s)=>{if(i===r)return!0;if(i.length===1&&i[0].semver===ks){if(r.length===1&&r[0].semver===ks)return!0;s.includePrerelease?i=[new pi(">=0.0.0-0")]:i=[new pi(">=0.0.0")]}if(r.length===1&&r[0].semver===ks){if(s.includePrerelease)return!0;r=[new pi(">=0.0.0")]}let o=new Set,f,h;for(let P of i)P.operator===">"||P.operator===">="?f=Gf(f,P,s):P.operator==="<"||P.operator==="<="?h=Bf(h,P,s):o.add(P.semver);if(o.size>1)return null;let m;if(f&&h){if(m=eu(f.semver,h.semver,s),m>0)return null;if(m===0&&(f.operator!==">="||h.operator!=="<="))return null}for(let P of o){if(f&&!rr(P,String(f),s)||h&&!rr(P,String(h),s))return null;for(let ye of r)if(!rr(P,String(ye),s))return!1;return!0}let A,w,v,I,$=h&&!s.includePrerelease&&h.semver.prerelease.length?h.semver:!1,T=f&&!s.includePrerelease&&f.semver.prerelease.length?f.semver:!1;$&&$.prerelease.length===1&&h.operator==="<"&&$.prerelease[0]===0&&($=!1);for(let P of r){if(I=I||P.operator===">"||P.operator===">=",v=v||P.operator==="<"||P.operator==="<=",f){if(T&&P.semver.prerelease&&P.semver.prerelease.length&&P.semver.major===T.major&&P.semver.minor===T.minor&&P.semver.patch===T.patch&&(T=!1),P.operator===">"||P.operator===">="){if(A=Gf(f,P,s),A===P&&A!==f)return!1}else if(f.operator===">="&&!rr(f.semver,String(P),s))return!1}if(h){if($&&P.semver.prerelease&&P.semver.prerelease.length&&P.semver.major===$.major&&P.semver.minor===$.minor&&P.semver.patch===$.patch&&($=!1),P.operator==="<"||P.operator==="<="){if(w=Bf(h,P,s),w===P&&w!==h)return!1}else if(h.operator==="<="&&!rr(h.semver,String(P),s))return!1}if(!P.operator&&(h||f)&&m!==0)return!1}return!(f&&v&&!h&&m!==0||h&&I&&!f&&m!==0||T||$)},Gf=(i,r,s)=>{if(!i)return r;let o=eu(i.semver,r.semver,s);return o>0?i:o<0||r.operator===">"&&i.operator===">="?r:i},Bf=(i,r,s)=>{if(!i)return r;let o=eu(i.semver,r.semver,s);return o<0?i:o>0||r.operator==="<"&&i.operator==="<="?r:i};Xf.exports=pE});var Kf=F((zw,Vf)=>{var tu=Kt();Vf.exports={re:tu.re,src:tu.src,tokens:tu.t,SEMVER_SPEC_VERSION:Vn().SEMVER_SPEC_VERSION,SemVer:me(),compareIdentifiers:ti().compareIdentifiers,rcompareIdentifiers:ti().rcompareIdentifiers,parse:Yt(),valid:hl(),clean:gl(),inc:_l(),diff:xl(),major:Rl(),minor:Il(),patch:Cl(),prerelease:bl(),compare:ze(),rcompare:$l(),compareLoose:Pl(),compareBuild:si(),sort:Ml(),rsort:Hl(),gt:Jn(),lt:ui(),eq:ii(),neq:zs(),gte:oi(),lte:ai(),cmp:Vs(),coerce:Yl(),Comparator:kn(),Range:Ve(),satisfies:nr(),toComparators:vf(),maxSatisfying:wf(),minSatisfying:xf(),minVersion:Of(),validRange:Sf(),outside:hi(),gtr:Nf(),ltr:Ff(),intersects:Mf(),simplifyRange:Hf(),subset:zf()}});var gi=F(Fe=>{"use strict";var dE=Fe&&Fe.__createBinding||(Object.create?function(i,r,s,o){o===void 0&&(o=s),Object.defineProperty(i,o,{enumerable:!0,get:function(){return r[s]}})}:function(i,r,s,o){o===void 0&&(o=s),i[o]=r[s]}),_E=Fe&&Fe.__setModuleDefault||(Object.create?function(i,r){Object.defineProperty(i,"default",{enumerable:!0,value:r})}:function(i,r){i.default=r}),mE=Fe&&Fe.__importStar||function(i){if(i&&i.__esModule)return i;var r={};if(i!=null)for(var s in i)s!=="default"&&Object.prototype.hasOwnProperty.call(i,s)&&dE(r,i,s);return _E(r,i),r},Yf=Fe&&Fe.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(Fe,"__esModule",{value:!0});Fe.getCoreVersion=void 0;var Zf=Yf(require("path")),Jf=Yf(require("fs")),nu=mE(require("@serverless-devs/core")),vE=Kf(),Qf=Zf.default.join(nu.getRootHome(),"cache","core"),ru=Zf.default.join(Qf,"package.json");function EE(){if(Jf.default.existsSync(ru)){var i=require("@serverless-devs/core/package.json").version,r=jf();return vE.gt(r,i)?require(Qf):nu}return nu}function jf(){return Jf.default.existsSync(ru)?require(ru).version:void 0}Fe.getCoreVersion=jf;Fe.default=EE()});var rc=F(Ce=>{"use strict";var wE=Ce&&Ce.__awaiter||function(i,r,s,o){function f(h){return h instanceof s?h:new s(function(m){m(h)})}return new(s||(s=Promise))(function(h,m){function A(I){try{v(o.next(I))}catch($){m($)}}function w(I){try{v(o.throw(I))}catch($){m($)}}function v(I){I.done?h(I.value):f(I.value).then(A,w)}v((o=o.apply(i,r||[])).next())})},AE=Ce&&Ce.__generator||function(i,r){var s={label:0,sent:function(){if(h[0]&1)throw h[1];return h[1]},trys:[],ops:[]},o,f,h,m;return m={next:A(0),throw:A(1),return:A(2)},typeof Symbol=="function"&&(m[Symbol.iterator]=function(){return this}),m;function A(v){return function(I){return w([v,I])}}function w(v){if(o)throw new TypeError("Generator is already executing.");for(;s;)try{if(o=1,f&&(h=v[0]&2?f.return:v[0]?f.throw||((h=f.return)&&h.call(f),0):f.next)&&!(h=h.call(f,v[1])).done)return h;switch(f=0,h&&(v=[v[0]&2,h.value]),v[0]){case 0:case 1:h=v;break;case 4:return s.label++,{value:v[1],done:!1};case 5:s.label++,f=v[1],v=[0];continue;case 7:v=s.ops.pop(),s.trys.pop();continue;default:if(h=s.trys,!(h=h.length>0&&h[h.length-1])&&(v[0]===6||v[0]===2)){s=0;continue}if(v[0]===3&&(!h||v[1]>h[0]&&v[1]<h[3])){s.label=v[1];break}if(v[0]===6&&s.label<h[1]){s.label=h[1],h=v;break}if(h&&s.label<h[2]){s.label=h[2],s.ops.push(v);break}h[2]&&s.ops.pop(),s.trys.pop();continue}v=r.call(i,s)}catch(I){v=[6,I],f=0}finally{o=h=0}if(v[0]&5)throw v[1];return{value:v[0]?v[1]:void 0,done:!0}}},kf=Ce&&Ce.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(Ce,"__esModule",{value:!0});Ce.handlerProfileFile=Ce.getConfig=Ce.setConfig=void 0;var ec=kf(require("path")),su=kf(gi()),ut=su.default.fse,di=su.default.jsyaml,iu=su.default.getRootHome;function xE(i){var r=nc();ut.writeFileSync(r,di.dump(i))}function tc(){var i=nc();if(!ut.existsSync(i))return{};try{var r=di.load(ut.readFileSync(i,"utf8"))||{};return r}catch(s){throw s}}function nc(){var i=ec.default.join(iu(),"set-config.yml");return ut.existsSync(i)||ut.createFileSync(i),i}function yE(i,r){var s=tc();s[i]=r,xE(s)}Ce.setConfig=yE;function RE(i,r){var s=tc();return s[i]||r}Ce.getConfig=RE;function OE(i){return wE(this,void 0,void 0,function(){var r,s,o,f,h,m,A;return AE(this,function(w){switch(w.label){case 0:if(r=i.filePath||"set-config.yml",s=ec.default.join(iu(),r),o=ut.existsSync(s),f={},o)return[3,5];h=iu(),w.label=1;case 1:return w.trys.push([1,2,,4]),ut.statSync(h),[3,4];case 2:return m=w.sent(),[4,ut.mkdirSync(h)];case 3:return w.sent(),[3,4];case 4:return[3,6];case 5:try{f=di.load(ut.readFileSync(s,"utf8"))||{}}catch(v){throw v}w.label=6;case 6:return i.read?[2,f]:(A=i.configKey||"",f[A]=i.data,[4,ut.writeFileSync(s,di.dump(f))]);case 7:return w.sent(),[2,f]}})})}Ce.handlerProfileFile=OE});var ic=F((Yw,IE)=>{IE.exports={name:"@serverless-devs/s",version:"2.0.100-beta.8",description:"Serverless devs tool, serverless developer tool, supports Alibaba cloud, AWS, azure, baidu cloud, Huawei cloud, Google cloud and Tencent cloud.",homepage:"https://www.serverless-devs.com",keywords:["serverless","alibaba","tencent","azure","baidu","huawei","google","function","faas","serverless-devs"],publishConfig:{access:"public",registry:"https://registry.npmjs.org"},license:"MIT",repository:{type:"git",url:"https://github.com/Serverless-Devs/Serverless-Devs"},bugs:{url:"https://github.com/Serverless-Devs/Serverless-Devs/issues"},scripts:{start:"npm run watch",prewatch:"rm -rf lib/* && cp -r ./src/daemon ./lib",watch:"tsc -w",test:"jest test/special-command.test",prebuild:"rm -rf lib/*",build:"tsc && cp -r ./src/daemon ./lib",postbuild:"./shell/postbuild.sh","test:cov":"jest --coverage",lint:"npm run typecheck && f2elint scan -i src",fix:"f2elint fix",typecheck:"npx tsc -p tsconfig.json --noEmit",update:"rm -rf yarn.lock && rm -rf package-lock.json && rm -rf node_modules && yarn",beta:"npm publish --tag=beta"},main:"./lib/index.js",bin:{s:"bin/s"},devDependencies:{"@serverless-devs/commander":"^6.0.0","@types/jest":"^27.4.0","@types/lodash":"^4.14.168","@types/node":"^14.0.23","@typescript-eslint/eslint-plugin":"^4.14.1","@typescript-eslint/parser":"^4.14.1",ajv:"^8.10.0","babel-eslint":"^10.1.0",boxen:"^5.0.0",dotenv:"^10.0.0",esbuild:"^0.14.0",eslint:"^7.7.0","eslint-config-prettier":"^7.2.0","eslint-plugin-import":"^2.20.1","eslint-plugin-prettier":"^3.1.2",husky:"^4.2.3",inquirer:"^8.2.0","inquirer-autocomplete-prompt":"^1.3.0",jest:"^27.4.7","latest-version":"^5.1.0","lint-staged":"^10.0.8",lodash:"^4.17.20","os-locale":"5.0.0",prettier:"^2.2.1",semver:"^7.3.5","semver-diff":"^3.1.1","ts-jest":"^27.1.3","ts-node":"^9.1.1","tty-table":"^4.1.5",typescript:"^4.1.3"},"lint-staged":{"**/*.{js,jsx,ts}":"f2elint exec eslint"},dependencies:{"@serverless-devs/core":"beta"}}});var lc=F(U=>{"use strict";var SE=U&&U.__createBinding||(Object.create?function(i,r,s,o){o===void 0&&(o=s),Object.defineProperty(i,o,{enumerable:!0,get:function(){return r[s]}})}:function(i,r,s,o){o===void 0&&(o=s),i[o]=r[s]}),CE=U&&U.__setModuleDefault||(Object.create?function(i,r){Object.defineProperty(i,"default",{enumerable:!0,value:r})}:function(i,r){i.default=r}),LE=U&&U.__importStar||function(i){if(i&&i.__esModule)return i;var r={};if(i!=null)for(var s in i)s!=="default"&&Object.prototype.hasOwnProperty.call(i,s)&&SE(r,i,s);return CE(r,i),r},sr=U&&U.__awaiter||function(i,r,s,o){function f(h){return h instanceof s?h:new s(function(m){m(h)})}return new(s||(s=Promise))(function(h,m){function A(I){try{v(o.next(I))}catch($){m($)}}function w(I){try{v(o.throw(I))}catch($){m($)}}function v(I){I.done?h(I.value):f(I.value).then(A,w)}v((o=o.apply(i,r||[])).next())})},ur=U&&U.__generator||function(i,r){var s={label:0,sent:function(){if(h[0]&1)throw h[1];return h[1]},trys:[],ops:[]},o,f,h,m;return m={next:A(0),throw:A(1),return:A(2)},typeof Symbol=="function"&&(m[Symbol.iterator]=function(){return this}),m;function A(v){return function(I){return w([v,I])}}function w(v){if(o)throw new TypeError("Generator is already executing.");for(;s;)try{if(o=1,f&&(h=v[0]&2?f.return:v[0]?f.throw||((h=f.return)&&h.call(f),0):f.next)&&!(h=h.call(f,v[1])).done)return h;switch(f=0,h&&(v=[v[0]&2,h.value]),v[0]){case 0:case 1:h=v;break;case 4:return s.label++,{value:v[1],done:!1};case 5:s.label++,f=v[1],v=[0];continue;case 7:v=s.ops.pop(),s.trys.pop();continue;default:if(h=s.trys,!(h=h.length>0&&h[h.length-1])&&(v[0]===6||v[0]===2)){s=0;continue}if(v[0]===3&&(!h||v[1]>h[0]&&v[1]<h[3])){s.label=v[1];break}if(v[0]===6&&s.label<h[1]){s.label=h[1],h=v;break}if(h&&s.label<h[2]){s.label=h[2],s.ops.push(v);break}h[2]&&s.ops.pop(),s.trys.pop();continue}v=r.call(i,s)}catch(I){v=[6,I],f=0}finally{o=h=0}if(v[0]&5)throw v[1];return{value:v[0]?v[1]:void 0,done:!0}}},uu=U&&U.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(U,"__esModule",{value:!0});U.emoji=U.mark=U.replaceTemplate=U.replaceFun=U.getLang=U.printn=U.getFolderSize=U.getVersion=U.getPid=U.aiRequest=U.getCredentialWithAll=U.getCredentialWithExisted=U.getProcessArgv=U.bgRed=U.yellow=U.red=void 0;var bE=uu(require("path")),ir=uu(require("fs")),Nt=Za(),TE=uu(require("os")),ot=LE(gi()),$E=rc(),sc=ic(),_i=ot.default.colors,NE=ot.default.got,PE=ot.default.getMAC,FE=ot.default.isDocker,qE=ot.default.isCiCdEnv,DE=ot.default.getGlobalArgs,uc=ot.default.getCredential,oc=ot.default.getCredentialAliasList;U.red=_i.hex("#fd5750");U.yellow=_i.hex("#F3F99D");U.bgRed=_i.hex("#000").bgHex("#fd5750");var ME=function(){var i=process.env.serverless_devs_temp_argv;try{var r=JSON.parse(i),s=DE(r);return process.argv=process.argv.slice(0,2).concat(s._argsObj),(0,Nt.assign)({},s,{noHelpArgv:process.argv.slice(0,2).concat((0,Nt.filter)(s._argsObj,function(o){return!(0,Nt.includes)(["-h","--help"],o)}))})}catch{return{}}};U.getProcessArgv=ME;var UE=function(i){return sr(void 0,void 0,void 0,function(){var r,s;return ur(this,function(o){switch(o.label){case 0:return[4,oc()];case 1:return r=o.sent(),(0,Nt.includes)(r,i)?[4,uc(i)]:[3,3];case 2:return s=o.sent(),[2,(0,Nt.omit)(s,"Alias")];case 3:return[2]}})})};U.getCredentialWithExisted=UE;var HE=function(){return sr(void 0,void 0,void 0,function(){var i,r,s,o,f,h;return ur(this,function(m){switch(m.label){case 0:return[4,oc()];case 1:if(i=m.sent(),!(i.length>0))return[3,6];r={},s=0,o=i,m.label=2;case 2:return s<o.length?(f=o[s],[4,uc(f)]):[3,5];case 3:h=m.sent(),r[h.Alias]=(0,Nt.omit)(h,"Alias"),m.label=4;case 4:return s++,[3,2];case 5:return[2,r];case 6:return[2]}})})};U.getCredentialWithAll=HE;var WE=function(i,r){return r===void 0&&(r="unknow"),sr(void 0,void 0,void 0,function(){var s,o,f,h;return ur(this,function(m){switch(m.label){case 0:return m.trys.push([0,2,,3]),s=(0,$E.getConfig)("analysis"),s!=="enable"?[2]:FE()||qE()?[2]:[4,NE("http://qaapis.devsapp.cn/apis/v1/search?category=".concat(r,"&code=TypeError&s=").concat(i),{timeout:2e3,json:!0})];case 1:return o=m.sent(),f=(0,Nt.get)(o.body,"shorturl"),f&&console.log(`AI Tips:
35
35
  You can try to solve the problem through: `.concat(_i.underline(f),`
36
36
  `)),[3,3];case 2:return h=m.sent(),[3,3];case 3:return[2]}})})};U.aiRequest=WE;var GE=function(){try{return PE().replace(/:/g,"")}catch{return"unknown"}};U.getPid=GE;function BE(){var i=(0,ot.getCoreVersion)(),r="".concat(process.platform,"-").concat(process.arch),s="node-".concat(process.version),o="core: ".concat(i),f="s-home: ".concat(ot.default.getRootHome()),h="".concat(sc.name,": ").concat(sc.version);return i?"".concat(h,", ").concat(o,", ").concat(f,", ").concat(r,", ").concat(s):"".concat(h,", ").concat(f,", ").concat(r,", ").concat(s)}U.getVersion=BE;function XE(i){return sr(this,void 0,void 0,function(){function r(f){return sr(this,void 0,void 0,function(){var h,m;return ur(this,function(A){switch(A.label){case 0:return h=ir.default.lstatSync(f),typeof h!="object"?[2]:(s.set(h.ino,h.size),h.isDirectory()?(m=ir.default.readdirSync(f),typeof m!="object"?[2]:[4,Promise.all(m.map(function(w){return r(bE.default.join(f,w))}))]):[3,2]);case 1:A.sent(),A.label=2;case 2:return[2]}})})}var s,o;return ur(this,function(f){switch(f.label){case 0:return s=new Map,[4,r(i)];case 1:return f.sent(),o=Array.from(s.values()).reduce(function(h,m){return h+m},0),[2,o]}})})}U.getFolderSize=XE;function zE(i,r){r===void 0&&(r=" ");for(var s="",o=0;o<i;o++)s=s+r;return s}U.printn=zE;function VE(){return"en"}U.getLang=VE;function ac(i,r){var s=/\{\{(.*?)\}\}/g,o=i.match(s);if(o)for(var f=0;f<o.length;f++){var h=o[f].replace(/{{|}}/g,""),m=(0,Nt.trim)(h.split("|")[0]);r[m]&&(i=i.replace(o[f],r[m]))}return i}U.replaceFun=ac;function KE(i,r){i.forEach(function(s){if(ir.default.existsSync(s)){var o=ir.default.readFileSync(s,"utf-8"),f=ac(o,r);ir.default.writeFileSync(s,f,"utf-8")}})}U.replaceTemplate=KE;function YE(i){if(!i)return i;var r=i.slice(-4);return"***********".concat(r)}U.mark=YE;function ZE(i,r){return TE.default.platform()==="win32"?r||"\u25C6":"".concat(i," ")}U.emoji=ZE});var fc=exports&&exports.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(exports,"__esModule",{value:!0});var JE=fc(Ya()),mi=lc(),QE=fc(gi()),vi=QE.default.colors,jE=`Configure venders account, including Alibaba Cloud, Baidu Cloud, Huawei Cloud, Tencent Cloud, etc.
37
37