@serverless-devs/s 2.0.97-beta.6 → 2.0.97-beta.7
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.
- package/lib/clean/index.js +1 -1
- package/lib/cli/index.js +1 -1
- package/lib/component/index.js +1 -1
- package/lib/config/add/index.js +1 -1
- package/lib/config/delete/index.js +1 -1
- package/lib/config/get/index.js +1 -1
- package/lib/config/index.js +1 -1
- package/lib/index.js +97 -117
- package/lib/init/index.js +76 -91
- package/lib/set/analysis/index.js +1 -1
- package/lib/set/index.js +1 -1
- package/lib/set/locale/index.js +1 -1
- package/lib/set/registry/index.js +1 -1
- package/lib/set/workspace/index.js +1 -1
- package/lib/update-notifier/index.js +19 -19
- package/package.json +1 -1
|
@@ -31,7 +31,7 @@ __p += '`),Y&&(R+=`' +
|
|
|
31
31
|
function print() { __p += __j.call(arguments, '') }
|
|
32
32
|
`:`;
|
|
33
33
|
`)+R+`return __p
|
|
34
|
-
}`;var B=sl(function(){return k(h,N+"return "+R).apply(i,g)});if(B.source=R,js(B))throw B;return B}function fm(e){return Z(e).toLowerCase()}function cm(e){return Z(e).toUpperCase()}function hm(e,t,n){if(e=Z(e),e&&(n||t===i))return po(e);if(!e||!(t=Pe(t)))return e;var u=Ze(e),l=Ze(t),h=go(u,l),g=_o(u,l)+1;return Nt(u,h,g).join("")}function pm(e,t,n){if(e=Z(e),e&&(n||t===i))return e.slice(0,mo(e)+1);if(!e||!(t=Pe(t)))return e;var u=Ze(e),l=_o(u,Ze(t))+1;return Nt(u,0,l).join("")}function gm(e,t,n){if(e=Z(e),e&&(n||t===i))return e.replace(ji,"");if(!e||!(t=Pe(t)))return e;var u=Ze(e),l=go(u,Ze(t));return Nt(u,l).join("")}function dm(e,t){var n=ah,u=lh;if(ie(t)){var l="separator"in t?t.separator:l;n="length"in t?G(t.length):n,u="omission"in t?Pe(t.omission):u}e=Z(e);var h=e.length;if(hn(e)){var g=Ze(e);h=g.length}if(n>=h)return e;var d=n-pn(u);if(d<1)return u;var m=g?Nt(g,0,d).join(""):e.slice(0,d);if(l===i)return m+u;if(g&&(d+=m.length-d),Ys(l)){if(e.slice(d).search(l)){var O,S=m;for(l.global||(l=fs(l.source,Z(Du.exec(l))+"g")),l.lastIndex=0;O=l.exec(S);)var R=O.index;m=m.slice(0,R===i?d:R)}}else if(e.indexOf(Pe(l),d)!=d){var I=m.lastIndexOf(l);I>-1&&(m=m.slice(0,I))}return m+u}function _m(e){return e=Z(e),e&&Ih.test(e)?e.replace($u,zp):e}var vm=En(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),Zs=ua("toUpperCase");function il(e,t,n){return e=Z(e),t=n?i:t,t===i?Wp(e)?Yp(e):Lp(e):e.match(t)||[]}var sl=z(function(e,t){try{return Le(e,i,t)}catch(n){return js(n)?n:new W(n)}}),mm=vt(function(e,t){return He(t,function(n){n=ot(n),dt(e,n,zs(e[n],e))}),e});function Em(e){var t=e==null?0:e.length,n=q();return e=t?re(e,function(u){if(typeof u[1]!="function")throw new We(f);return[n(u[0]),u[1]]}):[],z(function(u){for(var l=-1;++l<t;){var h=e[l];if(Le(h[0],this,u))return Le(h[1],this,u)}})}function ym(e){return zg(Ge(e,p))}function Js(e){return function(){return e}}function wm(e,t){return e==null||e!==e?t:e}var xm=aa(),Am=aa(!0);function Te(e){return e}function Qs(e){return Mo(typeof e=="function"?e:Ge(e,p))}function Om(e){return Wo(Ge(e,p))}function Sm(e,t){return Uo(e,Ge(t,p))}var Rm=z(function(e,t){return function(n){return Zn(n,e,t)}}),Im=z(function(e,t){return function(n){return Zn(e,n,t)}});function eu(e,t,n){var u=he(t),l=kr(t,u);n==null&&!(ie(t)&&(l.length||!u.length))&&(n=t,t=e,e=this,l=kr(t,he(t)));var h=!(ie(n)&&"chain"in n)||!!n.chain,g=Et(e);return He(l,function(d){var m=t[d];e[d]=m,g&&(e.prototype[d]=function(){var O=this.__chain__;if(h||O){var S=e(this.__wrapped__),R=S.__actions__=Ie(this.__actions__);return R.push({func:m,args:arguments,thisArg:e}),S.__chain__=O,S}return m.apply(e,It([this.value()],arguments))})}),e}function bm(){return ce._===this&&(ce._=eg),this}function tu(){}function Cm(e){return e=G(e),z(function(t){return Go(t,e)})}var Tm=$s(re),Lm=$s(ao),$m=$s(rs);function ul(e){return Hs(e)?is(ot(e)):ad(e)}function Pm(e){return function(t){return e==null?i:Xt(e,t)}}var Nm=fa(),Dm=fa(!0);function nu(){return[]}function ru(){return!1}function qm(){return{}}function Fm(){return""}function Mm(){return!0}function Hm(e,t){if(e=G(e),e<1||e>St)return[];var n=it,u=ve(e,it);t=q(t),e-=it;for(var l=os(u,t);++n<e;)t(n);return l}function Wm(e){return U(e)?re(e,ot):Ne(e)?[e]:Ie(Ra(Z(e)))}function Um(e){var t=++Jp;return Z(e)+t}var Gm=ni(function(e,t){return e+t},0),Bm=Ps("ceil"),Xm=ni(function(e,t){return e/t},1),zm=Ps("floor");function Vm(e){return e&&e.length?Kr(e,Te,ms):i}function jm(e,t){return e&&e.length?Kr(e,q(t,2),ms):i}function Ym(e){return co(e,Te)}function Km(e,t){return co(e,q(t,2))}function km(e){return e&&e.length?Kr(e,Te,xs):i}function Zm(e,t){return e&&e.length?Kr(e,q(t,2),xs):i}var Jm=ni(function(e,t){return e*t},1),Qm=Ps("round"),e1=ni(function(e,t){return e-t},0);function t1(e){return e&&e.length?us(e,Te):0}function n1(e,t){return e&&e.length?us(e,q(t,2)):0}return c.after=Ov,c.ary=Fa,c.assign=c0,c.assignIn=Za,c.assignInWith=di,c.assignWith=h0,c.at=p0,c.before=Ma,c.bind=zs,c.bindAll=mm,c.bindKey=Ha,c.castArray=qv,c.chain=Na,c.chunk=zd,c.compact=Vd,c.concat=jd,c.cond=Em,c.conforms=ym,c.constant=Js,c.countBy=tv,c.create=g0,c.curry=Wa,c.curryRight=Ua,c.debounce=Ga,c.defaults=d0,c.defaultsDeep=_0,c.defer=Sv,c.delay=Rv,c.difference=Yd,c.differenceBy=Kd,c.differenceWith=kd,c.drop=Zd,c.dropRight=Jd,c.dropRightWhile=Qd,c.dropWhile=e_,c.fill=t_,c.filter=rv,c.flatMap=uv,c.flatMapDeep=ov,c.flatMapDepth=av,c.flatten=Ta,c.flattenDeep=n_,c.flattenDepth=r_,c.flip=Iv,c.flow=xm,c.flowRight=Am,c.fromPairs=i_,c.functions=A0,c.functionsIn=O0,c.groupBy=lv,c.initial=u_,c.intersection=o_,c.intersectionBy=a_,c.intersectionWith=l_,c.invert=R0,c.invertBy=I0,c.invokeMap=cv,c.iteratee=Qs,c.keyBy=hv,c.keys=he,c.keysIn=Ce,c.map=li,c.mapKeys=C0,c.mapValues=T0,c.matches=Om,c.matchesProperty=Sm,c.memoize=ci,c.merge=L0,c.mergeWith=Ja,c.method=Rm,c.methodOf=Im,c.mixin=eu,c.negate=hi,c.nthArg=Cm,c.omit=$0,c.omitBy=P0,c.once=bv,c.orderBy=pv,c.over=Tm,c.overArgs=Cv,c.overEvery=Lm,c.overSome=$m,c.partial=Vs,c.partialRight=Ba,c.partition=gv,c.pick=N0,c.pickBy=Qa,c.property=ul,c.propertyOf=Pm,c.pull=p_,c.pullAll=$a,c.pullAllBy=g_,c.pullAllWith=d_,c.pullAt=__,c.range=Nm,c.rangeRight=Dm,c.rearg=Tv,c.reject=vv,c.remove=v_,c.rest=Lv,c.reverse=Bs,c.sampleSize=Ev,c.set=q0,c.setWith=F0,c.shuffle=yv,c.slice=m_,c.sortBy=Av,c.sortedUniq=S_,c.sortedUniqBy=R_,c.split=um,c.spread=$v,c.tail=I_,c.take=b_,c.takeRight=C_,c.takeRightWhile=T_,c.takeWhile=L_,c.tap=V_,c.throttle=Pv,c.thru=ai,c.toArray=Ya,c.toPairs=el,c.toPairsIn=tl,c.toPath=Wm,c.toPlainObject=ka,c.transform=M0,c.unary=Nv,c.union=$_,c.unionBy=P_,c.unionWith=N_,c.uniq=D_,c.uniqBy=q_,c.uniqWith=F_,c.unset=H0,c.unzip=Xs,c.unzipWith=Pa,c.update=W0,c.updateWith=U0,c.values=xn,c.valuesIn=G0,c.without=M_,c.words=il,c.wrap=Dv,c.xor=H_,c.xorBy=W_,c.xorWith=U_,c.zip=G_,c.zipObject=B_,c.zipObjectDeep=X_,c.zipWith=z_,c.entries=el,c.entriesIn=tl,c.extend=Za,c.extendWith=di,eu(c,c),c.add=Gm,c.attempt=sl,c.camelCase=V0,c.capitalize=nl,c.ceil=Bm,c.clamp=B0,c.clone=Fv,c.cloneDeep=Hv,c.cloneDeepWith=Wv,c.cloneWith=Mv,c.conformsTo=Uv,c.deburr=rl,c.defaultTo=wm,c.divide=Xm,c.endsWith=j0,c.eq=Qe,c.escape=Y0,c.escapeRegExp=K0,c.every=nv,c.find=iv,c.findIndex=ba,c.findKey=v0,c.findLast=sv,c.findLastIndex=Ca,c.findLastKey=m0,c.floor=zm,c.forEach=Da,c.forEachRight=qa,c.forIn=E0,c.forInRight=y0,c.forOwn=w0,c.forOwnRight=x0,c.get=Ks,c.gt=Gv,c.gte=Bv,c.has=S0,c.hasIn=ks,c.head=La,c.identity=Te,c.includes=fv,c.indexOf=s_,c.inRange=X0,c.invoke=b0,c.isArguments=jt,c.isArray=U,c.isArrayBuffer=Xv,c.isArrayLike=be,c.isArrayLikeObject=ue,c.isBoolean=zv,c.isBuffer=Dt,c.isDate=Vv,c.isElement=jv,c.isEmpty=Yv,c.isEqual=Kv,c.isEqualWith=kv,c.isError=js,c.isFinite=Zv,c.isFunction=Et,c.isInteger=Xa,c.isLength=pi,c.isMap=za,c.isMatch=Jv,c.isMatchWith=Qv,c.isNaN=e0,c.isNative=t0,c.isNil=r0,c.isNull=n0,c.isNumber=Va,c.isObject=ie,c.isObjectLike=se,c.isPlainObject=rr,c.isRegExp=Ys,c.isSafeInteger=i0,c.isSet=ja,c.isString=gi,c.isSymbol=Ne,c.isTypedArray=wn,c.isUndefined=s0,c.isWeakMap=u0,c.isWeakSet=o0,c.join=f_,c.kebabCase=k0,c.last=Xe,c.lastIndexOf=c_,c.lowerCase=Z0,c.lowerFirst=J0,c.lt=a0,c.lte=l0,c.max=Vm,c.maxBy=jm,c.mean=Ym,c.meanBy=Km,c.min=km,c.minBy=Zm,c.stubArray=nu,c.stubFalse=ru,c.stubObject=qm,c.stubString=Fm,c.stubTrue=Mm,c.multiply=Jm,c.nth=h_,c.noConflict=bm,c.noop=tu,c.now=fi,c.pad=Q0,c.padEnd=em,c.padStart=tm,c.parseInt=nm,c.random=z0,c.reduce=dv,c.reduceRight=_v,c.repeat=rm,c.replace=im,c.result=D0,c.round=Qm,c.runInContext=v,c.sample=mv,c.size=wv,c.snakeCase=sm,c.some=xv,c.sortedIndex=E_,c.sortedIndexBy=y_,c.sortedIndexOf=w_,c.sortedLastIndex=x_,c.sortedLastIndexBy=A_,c.sortedLastIndexOf=O_,c.startCase=om,c.startsWith=am,c.subtract=e1,c.sum=t1,c.sumBy=n1,c.template=lm,c.times=Hm,c.toFinite=yt,c.toInteger=G,c.toLength=Ka,c.toLower=fm,c.toNumber=ze,c.toSafeInteger=f0,c.toString=Z,c.toUpper=cm,c.trim=hm,c.trimEnd=pm,c.trimStart=gm,c.truncate=dm,c.unescape=_m,c.uniqueId=Um,c.upperCase=vm,c.upperFirst=Zs,c.each=Da,c.eachRight=qa,c.first=La,eu(c,function(){var e={};return st(c,function(t,n){J.call(c.prototype,n)||(e[n]=t)}),e}(),{chain:!1}),c.VERSION=r,He(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){c[e].placeholder=c}),He(["drop","take"],function(e,t){j.prototype[e]=function(n){n=n===i?1:fe(G(n),0);var u=this.__filtered__&&!t?new j(this):this.clone();return u.__filtered__?u.__takeCount__=ve(n,u.__takeCount__):u.__views__.push({size:ve(n,it),type:e+(u.__dir__<0?"Right":"")}),u},j.prototype[e+"Right"]=function(n){return this.reverse()[e](n).reverse()}}),He(["filter","map","takeWhile"],function(e,t){var n=t+1,u=n==Cu||n==ph;j.prototype[e]=function(l){var h=this.clone();return h.__iteratees__.push({iteratee:q(l,3),type:n}),h.__filtered__=h.__filtered__||u,h}}),He(["head","last"],function(e,t){var n="take"+(t?"Right":"");j.prototype[e]=function(){return this[n](1).value()[0]}}),He(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");j.prototype[e]=function(){return this.__filtered__?new j(this):this[n](1)}}),j.prototype.compact=function(){return this.filter(Te)},j.prototype.find=function(e){return this.filter(e).head()},j.prototype.findLast=function(e){return this.reverse().find(e)},j.prototype.invokeMap=z(function(e,t){return typeof e=="function"?new j(this):this.map(function(n){return Zn(n,e,t)})}),j.prototype.reject=function(e){return this.filter(hi(q(e)))},j.prototype.slice=function(e,t){e=G(e);var n=this;return n.__filtered__&&(e>0||t<0)?new j(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)},j.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},j.prototype.toArray=function(){return this.take(it)},st(j.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),u=/^(?:head|last)$/.test(t),l=c[u?"take"+(t=="last"?"Right":""):t],h=u||/^find/.test(t);!l||(c.prototype[t]=function(){var g=this.__wrapped__,d=u?[1]:arguments,m=g instanceof j,O=d[0],S=m||U(g),R=function(V){var Y=l.apply(c,It([V],d));return u&&I?Y[0]:Y};S&&n&&typeof O=="function"&&O.length!=1&&(m=S=!1);var I=this.__chain__,N=!!this.__actions__.length,F=h&&!I,B=m&&!N;if(!h&&S){g=B?g:new j(this);var M=e.apply(g,d);return M.__actions__.push({func:ai,args:[R],thisArg:i}),new Ue(M,I)}return F&&B?e.apply(this,d):(M=this.thru(R),F?u?M.value()[0]:M.value():M)})}),He(["pop","push","shift","sort","splice","unshift"],function(e){var t=Nr[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",u=/^(?:pop|shift)$/.test(e);c.prototype[e]=function(){var l=arguments;if(u&&!this.__chain__){var h=this.value();return t.apply(U(h)?h:[],l)}return this[n](function(g){return t.apply(U(g)?g:[],l)})}}),st(j.prototype,function(e,t){var n=c[t];if(n){var u=n.name+"";J.call(_n,u)||(_n[u]=[]),_n[u].push({name:t,func:n})}}),_n[ti(i,Ft).name]=[{name:"wrapper",func:i}],j.prototype.clone=_g,j.prototype.reverse=vg,j.prototype.value=mg,c.prototype.at=j_,c.prototype.chain=Y_,c.prototype.commit=K_,c.prototype.next=k_,c.prototype.plant=J_,c.prototype.reverse=Q_,c.prototype.toJSON=c.prototype.valueOf=c.prototype.value=ev,c.prototype.first=c.prototype.head,Xn&&(c.prototype[Xn]=Z_),c},Ct=Kp();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(ce._=Ct,define(function(){return Ct})):Ht?((Ht.exports=Ct)._=Ct,Qi._=Ct):ce._=Ct}).call(An)});var or=T((Hw,vl)=>{var s1="2.0.0",u1=256,o1=Number.MAX_SAFE_INTEGER||9007199254740991,a1=16;vl.exports={SEMVER_SPEC_VERSION:s1,MAX_LENGTH:u1,MAX_SAFE_INTEGER:o1,MAX_SAFE_COMPONENT_LENGTH:a1}});var ar=T((Ww,ml)=>{var l1=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...i)=>console.error("SEMVER",...i):()=>{};ml.exports=l1});var kt=T((qt,El)=>{var{MAX_SAFE_COMPONENT_LENGTH:ou}=or(),f1=ar();qt=El.exports={};var c1=qt.re=[],L=qt.src=[],$=qt.t={},h1=0,X=(i,r,s)=>{let o=h1++;f1(o,r),$[i]=o,L[o]=r,c1[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[$.NUMERICIDENTIFIER]})\\.(${L[$.NUMERICIDENTIFIER]})\\.(${L[$.NUMERICIDENTIFIER]})`);X("MAINVERSIONLOOSE",`(${L[$.NUMERICIDENTIFIERLOOSE]})\\.(${L[$.NUMERICIDENTIFIERLOOSE]})\\.(${L[$.NUMERICIDENTIFIERLOOSE]})`);X("PRERELEASEIDENTIFIER",`(?:${L[$.NUMERICIDENTIFIER]}|${L[$.NONNUMERICIDENTIFIER]})`);X("PRERELEASEIDENTIFIERLOOSE",`(?:${L[$.NUMERICIDENTIFIERLOOSE]}|${L[$.NONNUMERICIDENTIFIER]})`);X("PRERELEASE",`(?:-(${L[$.PRERELEASEIDENTIFIER]}(?:\\.${L[$.PRERELEASEIDENTIFIER]})*))`);X("PRERELEASELOOSE",`(?:-?(${L[$.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${L[$.PRERELEASEIDENTIFIERLOOSE]})*))`);X("BUILDIDENTIFIER","[0-9A-Za-z-]+");X("BUILD",`(?:\\+(${L[$.BUILDIDENTIFIER]}(?:\\.${L[$.BUILDIDENTIFIER]})*))`);X("FULLPLAIN",`v?${L[$.MAINVERSION]}${L[$.PRERELEASE]}?${L[$.BUILD]}?`);X("FULL",`^${L[$.FULLPLAIN]}$`);X("LOOSEPLAIN",`[v=\\s]*${L[$.MAINVERSIONLOOSE]}${L[$.PRERELEASELOOSE]}?${L[$.BUILD]}?`);X("LOOSE",`^${L[$.LOOSEPLAIN]}$`);X("GTLT","((?:<|>)?=?)");X("XRANGEIDENTIFIERLOOSE",`${L[$.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);X("XRANGEIDENTIFIER",`${L[$.NUMERICIDENTIFIER]}|x|X|\\*`);X("XRANGEPLAIN",`[v=\\s]*(${L[$.XRANGEIDENTIFIER]})(?:\\.(${L[$.XRANGEIDENTIFIER]})(?:\\.(${L[$.XRANGEIDENTIFIER]})(?:${L[$.PRERELEASE]})?${L[$.BUILD]}?)?)?`);X("XRANGEPLAINLOOSE",`[v=\\s]*(${L[$.XRANGEIDENTIFIERLOOSE]})(?:\\.(${L[$.XRANGEIDENTIFIERLOOSE]})(?:\\.(${L[$.XRANGEIDENTIFIERLOOSE]})(?:${L[$.PRERELEASELOOSE]})?${L[$.BUILD]}?)?)?`);X("XRANGE",`^${L[$.GTLT]}\\s*${L[$.XRANGEPLAIN]}$`);X("XRANGELOOSE",`^${L[$.GTLT]}\\s*${L[$.XRANGEPLAINLOOSE]}$`);X("COERCE",`(^|[^\\d])(\\d{1,${ou}})(?:\\.(\\d{1,${ou}}))?(?:\\.(\\d{1,${ou}}))?(?:$|[^\\d])`);X("COERCERTL",L[$.COERCE],!0);X("LONETILDE","(?:~>?)");X("TILDETRIM",`(\\s*)${L[$.LONETILDE]}\\s+`,!0);qt.tildeTrimReplace="$1~";X("TILDE",`^${L[$.LONETILDE]}${L[$.XRANGEPLAIN]}$`);X("TILDELOOSE",`^${L[$.LONETILDE]}${L[$.XRANGEPLAINLOOSE]}$`);X("LONECARET","(?:\\^)");X("CARETTRIM",`(\\s*)${L[$.LONECARET]}\\s+`,!0);qt.caretTrimReplace="$1^";X("CARET",`^${L[$.LONECARET]}${L[$.XRANGEPLAIN]}$`);X("CARETLOOSE",`^${L[$.LONECARET]}${L[$.XRANGEPLAINLOOSE]}$`);X("COMPARATORLOOSE",`^${L[$.GTLT]}\\s*(${L[$.LOOSEPLAIN]})$|^$`);X("COMPARATOR",`^${L[$.GTLT]}\\s*(${L[$.FULLPLAIN]})$|^$`);X("COMPARATORTRIM",`(\\s*)${L[$.GTLT]}\\s*(${L[$.LOOSEPLAIN]}|${L[$.XRANGEPLAIN]})`,!0);qt.comparatorTrimReplace="$1$2$3";X("HYPHENRANGE",`^\\s*(${L[$.XRANGEPLAIN]})\\s+-\\s+(${L[$.XRANGEPLAIN]})\\s*$`);X("HYPHENRANGELOOSE",`^\\s*(${L[$.XRANGEPLAINLOOSE]})\\s+-\\s+(${L[$.XRANGEPLAINLOOSE]})\\s*$`);X("STAR","(<|>)?=?\\s*\\*");X("GTE0","^\\s*>=\\s*0.0.0\\s*$");X("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")});var lr=T((Uw,yl)=>{var p1=["includePrerelease","loose","rtl"],g1=i=>i?typeof i!="object"?{loose:!0}:p1.filter(r=>i[r]).reduce((r,s)=>(r[s]=!0,r),{}):{};yl.exports=g1});var vi=T((Gw,Al)=>{var wl=/^[0-9]+$/,xl=(i,r)=>{let s=wl.test(i),o=wl.test(r);return s&&o&&(i=+i,r=+r),i===r?0:s&&!o?-1:o&&!s?1:i<r?-1:1},d1=(i,r)=>xl(r,i);Al.exports={compareIdentifiers:xl,rcompareIdentifiers:d1}});var Ee=T((Bw,Il)=>{var mi=ar(),{MAX_LENGTH:Ol,MAX_SAFE_INTEGER:Ei}=or(),{re:Sl,t:Rl}=kt(),_1=lr(),{compareIdentifiers:fr}=vi(),Ve=class{constructor(r,s){if(s=_1(s),r instanceof Ve){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>Ol)throw new TypeError(`version is longer than ${Ol} characters`);mi("SemVer",r,s),this.options=s,this.loose=!!s.loose,this.includePrerelease=!!s.includePrerelease;let o=r.trim().match(s.loose?Sl[Rl.LOOSE]:Sl[Rl.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>Ei||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Ei||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Ei||this.patch<0)throw new TypeError("Invalid patch version");o[4]?this.prerelease=o[4].split(".").map(f=>{if(/^[0-9]+$/.test(f)){let a=+f;if(a>=0&&a<Ei)return a}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(mi("SemVer.compare",this.version,this.options,r),!(r instanceof Ve)){if(typeof r=="string"&&r===this.version)return 0;r=new Ve(r,this.options)}return r.version===this.version?0:this.compareMain(r)||this.comparePre(r)}compareMain(r){return r instanceof Ve||(r=new Ve(r,this.options)),fr(this.major,r.major)||fr(this.minor,r.minor)||fr(this.patch,r.patch)}comparePre(r){if(r instanceof Ve||(r=new Ve(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(mi("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 fr(o,f)}while(++s)}compareBuild(r){r instanceof Ve||(r=new Ve(r,this.options));let s=0;do{let o=this.build[s],f=r.build[s];if(mi("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 fr(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}};Il.exports=Ve});var Zt=T((Xw,Ll)=>{var{MAX_LENGTH:v1}=or(),{re:bl,t:Cl}=kt(),Tl=Ee(),m1=lr(),E1=(i,r)=>{if(r=m1(r),i instanceof Tl)return i;if(typeof i!="string"||i.length>v1||!(r.loose?bl[Cl.LOOSE]:bl[Cl.FULL]).test(i))return null;try{return new Tl(i,r)}catch{return null}};Ll.exports=E1});var Pl=T((zw,$l)=>{var y1=Zt(),w1=(i,r)=>{let s=y1(i,r);return s?s.version:null};$l.exports=w1});var Dl=T((Vw,Nl)=>{var x1=Zt(),A1=(i,r)=>{let s=x1(i.trim().replace(/^[=v]+/,""),r);return s?s.version:null};Nl.exports=A1});var Fl=T((jw,ql)=>{var O1=Ee(),S1=(i,r,s,o)=>{typeof s=="string"&&(o=s,s=void 0);try{return new O1(i,s).inc(r,o).version}catch{return null}};ql.exports=S1});var je=T((Yw,Hl)=>{var Ml=Ee(),R1=(i,r,s)=>new Ml(i,s).compare(new Ml(r,s));Hl.exports=R1});var yi=T((Kw,Wl)=>{var I1=je(),b1=(i,r,s)=>I1(i,r,s)===0;Wl.exports=b1});var Bl=T((kw,Gl)=>{var Ul=Zt(),C1=yi(),T1=(i,r)=>{if(C1(i,r))return null;{let s=Ul(i),o=Ul(r),f=s.prerelease.length||o.prerelease.length,a=f?"pre":"",_=f?"prerelease":"";for(let E in s)if((E==="major"||E==="minor"||E==="patch")&&s[E]!==o[E])return a+E;return _}};Gl.exports=T1});var zl=T((Zw,Xl)=>{var L1=Ee(),$1=(i,r)=>new L1(i,r).major;Xl.exports=$1});var jl=T((Jw,Vl)=>{var P1=Ee(),N1=(i,r)=>new P1(i,r).minor;Vl.exports=N1});var Kl=T((Qw,Yl)=>{var D1=Ee(),q1=(i,r)=>new D1(i,r).patch;Yl.exports=q1});var Zl=T((ex,kl)=>{var F1=Zt(),M1=(i,r)=>{let s=F1(i,r);return s&&s.prerelease.length?s.prerelease:null};kl.exports=M1});var Ql=T((tx,Jl)=>{var H1=je(),W1=(i,r,s)=>H1(r,i,s);Jl.exports=W1});var tf=T((nx,ef)=>{var U1=je(),G1=(i,r)=>U1(i,r,!0);ef.exports=G1});var wi=T((rx,rf)=>{var nf=Ee(),B1=(i,r,s)=>{let o=new nf(i,s),f=new nf(r,s);return o.compare(f)||o.compareBuild(f)};rf.exports=B1});var uf=T((ix,sf)=>{var X1=wi(),z1=(i,r)=>i.sort((s,o)=>X1(s,o,r));sf.exports=z1});var af=T((sx,of)=>{var V1=wi(),j1=(i,r)=>i.sort((s,o)=>V1(o,s,r));of.exports=j1});var cr=T((ux,lf)=>{var Y1=je(),K1=(i,r,s)=>Y1(i,r,s)>0;lf.exports=K1});var xi=T((ox,ff)=>{var k1=je(),Z1=(i,r,s)=>k1(i,r,s)<0;ff.exports=Z1});var au=T((ax,cf)=>{var J1=je(),Q1=(i,r,s)=>J1(i,r,s)!==0;cf.exports=Q1});var Ai=T((lx,hf)=>{var eE=je(),tE=(i,r,s)=>eE(i,r,s)>=0;hf.exports=tE});var Oi=T((fx,pf)=>{var nE=je(),rE=(i,r,s)=>nE(i,r,s)<=0;pf.exports=rE});var lu=T((cx,gf)=>{var iE=yi(),sE=au(),uE=cr(),oE=Ai(),aE=xi(),lE=Oi(),fE=(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 iE(i,s,o);case"!=":return sE(i,s,o);case">":return uE(i,s,o);case">=":return oE(i,s,o);case"<":return aE(i,s,o);case"<=":return lE(i,s,o);default:throw new TypeError(`Invalid operator: ${r}`)}};gf.exports=fE});var _f=T((hx,df)=>{var cE=Ee(),hE=Zt(),{re:Si,t:Ri}=kt(),pE=(i,r)=>{if(i instanceof cE)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(Si[Ri.COERCE]);else{let o;for(;(o=Si[Ri.COERCERTL].exec(i))&&(!s||s.index+s[0].length!==i.length);)(!s||o.index+o[0].length!==s.index+s[0].length)&&(s=o),Si[Ri.COERCERTL].lastIndex=o.index+o[1].length+o[2].length;Si[Ri.COERCERTL].lastIndex=-1}return s===null?null:hE(`${s[2]}.${s[3]||"0"}.${s[4]||"0"}`,r)};df.exports=pE});var mf=T((px,vf)=>{"use strict";vf.exports=function(i){i.prototype[Symbol.iterator]=function*(){for(let r=this.head;r;r=r.next)yield r.value}}});var yf=T((gx,Ef)=>{"use strict";Ef.exports=K;K.Node=Jt;K.create=K;function K(i){var r=this;if(r instanceof K||(r=new K),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}K.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};K.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++}};K.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++}};K.prototype.push=function(){for(var i=0,r=arguments.length;i<r;i++)dE(this,arguments[i]);return this.length};K.prototype.unshift=function(){for(var i=0,r=arguments.length;i<r;i++)_E(this,arguments[i]);return this.length};K.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}};K.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}};K.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};K.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};K.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};K.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};K.prototype.map=function(i,r){r=r||this;for(var s=new K,o=this.head;o!==null;)s.push(i.call(r,o.value,this)),o=o.next;return s};K.prototype.mapReverse=function(i,r){r=r||this;for(var s=new K,o=this.tail;o!==null;)s.push(i.call(r,o.value,this)),o=o.prev;return s};K.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};K.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};K.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};K.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};K.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 K;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};K.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 K;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};K.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 a=[],o=0;f&&o<r;o++)a.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=gE(this,f,s[o]);return a};K.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 gE(i,r,s){var o=r===i.head?new Jt(s,null,r,i):new Jt(s,r,r.next,i);return o.next===null&&(i.tail=o),o.prev===null&&(i.head=o),i.length++,o}function dE(i,r){i.tail=new Jt(r,i.tail,null,i),i.head||(i.head=i.tail),i.length++}function _E(i,r){i.head=new Jt(r,null,i.head,i),i.tail||(i.tail=i.head),i.length++}function Jt(i,r,s,o){if(!(this instanceof Jt))return new Jt(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{mf()(K)}catch{}});var If=T((dx,Rf)=>{"use strict";var vE=yf(),Qt=Symbol("max"),xt=Symbol("length"),On=Symbol("lengthCalculator"),hr=Symbol("allowStale"),en=Symbol("maxAge"),At=Symbol("dispose"),wf=Symbol("noDisposeOnSet"),pe=Symbol("lruList"),tt=Symbol("cache"),xf=Symbol("updateAgeOnGet"),fu=()=>1,Af=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[Qt]=r.max||1/0,o=r.length||fu;if(this[On]=typeof o!="function"?fu:o,this[hr]=r.stale||!1,r.maxAge&&typeof r.maxAge!="number")throw new TypeError("maxAge must be a number");this[en]=r.maxAge||0,this[At]=r.dispose,this[wf]=r.noDisposeOnSet||!1,this[xf]=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[Qt]=r||1/0,pr(this)}get max(){return this[Qt]}set allowStale(r){this[hr]=!!r}get allowStale(){return this[hr]}set maxAge(r){if(typeof r!="number")throw new TypeError("maxAge must be a non-negative number");this[en]=r,pr(this)}get maxAge(){return this[en]}set lengthCalculator(r){typeof r!="function"&&(r=fu),r!==this[On]&&(this[On]=r,this[xt]=0,this[pe].forEach(s=>{s.length=this[On](s.value,s.key),this[xt]+=s.length})),pr(this)}get lengthCalculator(){return this[On]}get length(){return this[xt]}get itemCount(){return this[pe].length}rforEach(r,s){s=s||this;for(let o=this[pe].tail;o!==null;){let f=o.prev;Sf(this,r,o,s),o=f}}forEach(r,s){s=s||this;for(let o=this[pe].head;o!==null;){let f=o.next;Sf(this,r,o,s),o=f}}keys(){return this[pe].toArray().map(r=>r.key)}values(){return this[pe].toArray().map(r=>r.value)}reset(){this[At]&&this[pe]&&this[pe].length&&this[pe].forEach(r=>this[At](r.key,r.value)),this[tt]=new Map,this[pe]=new vE,this[xt]=0}dump(){return this[pe].map(r=>Ii(this,r)?!1:{k:r.key,v:r.value,e:r.now+(r.maxAge||0)}).toArray().filter(r=>r)}dumpLru(){return this[pe]}set(r,s,o){if(o=o||this[en],o&&typeof o!="number")throw new TypeError("maxAge must be a number");let f=o?Date.now():0,a=this[On](s,r);if(this[tt].has(r)){if(a>this[Qt])return Sn(this,this[tt].get(r)),!1;let y=this[tt].get(r).value;return this[At]&&(this[wf]||this[At](r,y.value)),y.now=f,y.maxAge=o,y.value=s,this[xt]+=a-y.length,y.length=a,this.get(r),pr(this),!0}let _=new Of(r,s,a,f,o);return _.length>this[Qt]?(this[At]&&this[At](r,s),!1):(this[xt]+=_.length,this[pe].unshift(_),this[tt].set(r,this[pe].head),pr(this),!0)}has(r){if(!this[tt].has(r))return!1;let s=this[tt].get(r).value;return!Ii(this,s)}get(r){return cu(this,r,!0)}peek(r){return cu(this,r,!1)}pop(){let r=this[pe].tail;return r?(Sn(this,r),r.value):null}del(r){Sn(this,this[tt].get(r))}load(r){this.reset();let s=Date.now();for(let o=r.length-1;o>=0;o--){let f=r[o],a=f.e||0;if(a===0)this.set(f.k,f.v);else{let _=a-s;_>0&&this.set(f.k,f.v,_)}}}prune(){this[tt].forEach((r,s)=>cu(this,s,!1))}},cu=(i,r,s)=>{let o=i[tt].get(r);if(o){let f=o.value;if(Ii(i,f)){if(Sn(i,o),!i[hr])return}else s&&(i[xf]&&(o.value.now=Date.now()),i[pe].unshiftNode(o));return f.value}},Ii=(i,r)=>{if(!r||!r.maxAge&&!i[en])return!1;let s=Date.now()-r.now;return r.maxAge?s>r.maxAge:i[en]&&s>i[en]},pr=i=>{if(i[xt]>i[Qt])for(let r=i[pe].tail;i[xt]>i[Qt]&&r!==null;){let s=r.prev;Sn(i,r),r=s}},Sn=(i,r)=>{if(r){let s=r.value;i[At]&&i[At](s.key,s.value),i[xt]-=s.length,i[tt].delete(s.key),i[pe].removeNode(r)}},Of=class{constructor(r,s,o,f,a){this.key=r,this.value=s,this.length=o,this.now=f,this.maxAge=a||0}},Sf=(i,r,s,o)=>{let f=s.value;Ii(i,f)&&(Sn(i,s),i[hr]||(f=void 0)),f&&r.call(o,f.value,f.key,i)};Rf.exports=Af});var Ye=T((_x,Lf)=>{var Rn=class{constructor(r,s){if(s=EE(s),r instanceof Rn)return r.loose===!!s.loose&&r.includePrerelease===!!s.includePrerelease?r:new Rn(r.raw,s);if(r instanceof hu)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=>!Cf(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&&OE(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=bf.get(o);if(f)return f;let a=this.options.loose,_=a?ye[_e.HYPHENRANGELOOSE]:ye[_e.HYPHENRANGE];r=r.replace(_,NE(this.options.includePrerelease)),ae("hyphen replace",r),r=r.replace(ye[_e.COMPARATORTRIM],wE),ae("comparator trim",r,ye[_e.COMPARATORTRIM]),r=r.replace(ye[_e.TILDETRIM],xE),r=r.replace(ye[_e.CARETTRIM],AE),r=r.split(/\s+/).join(" ");let E=a?ye[_e.COMPARATORLOOSE]:ye[_e.COMPARATOR],y=r.split(" ").map(P=>SE(P,this.options)).join(" ").split(/\s+/).map(P=>PE(P,this.options)).filter(this.options.loose?P=>!!P.match(E):()=>!0).map(P=>new hu(P,this.options)),p=y.length,A=new Map;for(let P of y){if(Cf(P))return[P];A.set(P.value,P)}A.size>1&&A.has("")&&A.delete("");let b=[...A.values()];return bf.set(o,b),b}intersects(r,s){if(!(r instanceof Rn))throw new TypeError("a Range is required");return this.set.some(o=>Tf(o,s)&&r.set.some(f=>Tf(f,s)&&o.every(a=>f.every(_=>a.intersects(_,s)))))}test(r){if(!r)return!1;if(typeof r=="string")try{r=new yE(r,this.options)}catch{return!1}for(let s=0;s<this.set.length;s++)if(DE(this.set[s],r,this.options))return!0;return!1}};Lf.exports=Rn;var mE=If(),bf=new mE({max:1e3}),EE=lr(),hu=gr(),ae=ar(),yE=Ee(),{re:ye,t:_e,comparatorTrimReplace:wE,tildeTrimReplace:xE,caretTrimReplace:AE}=kt(),Cf=i=>i.value==="<0.0.0-0",OE=i=>i.value==="",Tf=(i,r)=>{let s=!0,o=i.slice(),f=o.pop();for(;s&&o.length;)s=o.every(a=>f.intersects(a,r)),f=o.pop();return s},SE=(i,r)=>(ae("comp",i,r),i=bE(i,r),ae("caret",i),i=RE(i,r),ae("tildes",i),i=TE(i,r),ae("xrange",i),i=$E(i,r),ae("stars",i),i),Oe=i=>!i||i.toLowerCase()==="x"||i==="*",RE=(i,r)=>i.trim().split(/\s+/).map(s=>IE(s,r)).join(" "),IE=(i,r)=>{let s=r.loose?ye[_e.TILDELOOSE]:ye[_e.TILDE];return i.replace(s,(o,f,a,_,E)=>{ae("tilde",i,o,f,a,_,E);let y;return Oe(f)?y="":Oe(a)?y=`>=${f}.0.0 <${+f+1}.0.0-0`:Oe(_)?y=`>=${f}.${a}.0 <${f}.${+a+1}.0-0`:E?(ae("replaceTilde pr",E),y=`>=${f}.${a}.${_}-${E} <${f}.${+a+1}.0-0`):y=`>=${f}.${a}.${_} <${f}.${+a+1}.0-0`,ae("tilde return",y),y})},bE=(i,r)=>i.trim().split(/\s+/).map(s=>CE(s,r)).join(" "),CE=(i,r)=>{ae("caret",i,r);let s=r.loose?ye[_e.CARETLOOSE]:ye[_e.CARET],o=r.includePrerelease?"-0":"";return i.replace(s,(f,a,_,E,y)=>{ae("caret",i,f,a,_,E,y);let p;return Oe(a)?p="":Oe(_)?p=`>=${a}.0.0${o} <${+a+1}.0.0-0`:Oe(E)?a==="0"?p=`>=${a}.${_}.0${o} <${a}.${+_+1}.0-0`:p=`>=${a}.${_}.0${o} <${+a+1}.0.0-0`:y?(ae("replaceCaret pr",y),a==="0"?_==="0"?p=`>=${a}.${_}.${E}-${y} <${a}.${_}.${+E+1}-0`:p=`>=${a}.${_}.${E}-${y} <${a}.${+_+1}.0-0`:p=`>=${a}.${_}.${E}-${y} <${+a+1}.0.0-0`):(ae("no pr"),a==="0"?_==="0"?p=`>=${a}.${_}.${E}${o} <${a}.${_}.${+E+1}-0`:p=`>=${a}.${_}.${E}${o} <${a}.${+_+1}.0-0`:p=`>=${a}.${_}.${E} <${+a+1}.0.0-0`),ae("caret return",p),p})},TE=(i,r)=>(ae("replaceXRanges",i,r),i.split(/\s+/).map(s=>LE(s,r)).join(" ")),LE=(i,r)=>{i=i.trim();let s=r.loose?ye[_e.XRANGELOOSE]:ye[_e.XRANGE];return i.replace(s,(o,f,a,_,E,y)=>{ae("xRange",i,o,f,a,_,E,y);let p=Oe(a),A=p||Oe(_),b=A||Oe(E),P=b;return f==="="&&P&&(f=""),y=r.includePrerelease?"-0":"",p?f===">"||f==="<"?o="<0.0.0-0":o="*":f&&P?(A&&(_=0),E=0,f===">"?(f=">=",A?(a=+a+1,_=0,E=0):(_=+_+1,E=0)):f==="<="&&(f="<",A?a=+a+1:_=+_+1),f==="<"&&(y="-0"),o=`${f+a}.${_}.${E}${y}`):A?o=`>=${a}.0.0${y} <${+a+1}.0.0-0`:b&&(o=`>=${a}.${_}.0${y} <${a}.${+_+1}.0-0`),ae("xRange return",o),o})},$E=(i,r)=>(ae("replaceStars",i,r),i.trim().replace(ye[_e.STAR],"")),PE=(i,r)=>(ae("replaceGTE0",i,r),i.trim().replace(ye[r.includePrerelease?_e.GTE0PRE:_e.GTE0],"")),NE=i=>(r,s,o,f,a,_,E,y,p,A,b,P,D)=>(Oe(o)?s="":Oe(f)?s=`>=${o}.0.0${i?"-0":""}`:Oe(a)?s=`>=${o}.${f}.0${i?"-0":""}`:_?s=`>=${s}`:s=`>=${s}${i?"-0":""}`,Oe(p)?y="":Oe(A)?y=`<${+p+1}.0.0-0`:Oe(b)?y=`<${p}.${+A+1}.0-0`:P?y=`<=${p}.${A}.${b}-${P}`:i?y=`<${p}.${A}.${+b+1}-0`:y=`<=${y}`,`${s} ${y}`.trim()),DE=(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(ae(i[o].semver),i[o].semver!==hu.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 gr=T((vx,qf)=>{var dr=Symbol("SemVer ANY"),_r=class{static get ANY(){return dr}constructor(r,s){if(s=qE(s),r instanceof _r){if(r.loose===!!s.loose)return r;r=r.value}gu("comparator",r,s),this.options=s,this.loose=!!s.loose,this.parse(r),this.semver===dr?this.value="":this.value=this.operator+this.semver.version,gu("comp",this)}parse(r){let s=this.options.loose?$f[Pf.COMPARATORLOOSE]:$f[Pf.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 Nf(o[2],this.options.loose):this.semver=dr}toString(){return this.value}test(r){if(gu("Comparator.test",r,this.options.loose),this.semver===dr||r===dr)return!0;if(typeof r=="string")try{r=new Nf(r,this.options)}catch{return!1}return pu(r,this.operator,this.semver,this.options)}intersects(r,s){if(!(r instanceof _r))throw new TypeError("a Comparator is required");if((!s||typeof s!="object")&&(s={loose:!!s,includePrerelease:!1}),this.operator==="")return this.value===""?!0:new Df(r.value,s).test(this.value);if(r.operator==="")return r.value===""?!0:new Df(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==="<"),a=this.semver.version===r.semver.version,_=(this.operator===">="||this.operator==="<=")&&(r.operator===">="||r.operator==="<="),E=pu(this.semver,"<",r.semver,s)&&(this.operator===">="||this.operator===">")&&(r.operator==="<="||r.operator==="<"),y=pu(this.semver,">",r.semver,s)&&(this.operator==="<="||this.operator==="<")&&(r.operator===">="||r.operator===">");return o||f||a&&_||E||y}};qf.exports=_r;var qE=lr(),{re:$f,t:Pf}=kt(),pu=lu(),gu=ar(),Nf=Ee(),Df=Ye()});var vr=T((mx,Ff)=>{var FE=Ye(),ME=(i,r,s)=>{try{r=new FE(r,s)}catch{return!1}return r.test(i)};Ff.exports=ME});var Hf=T((Ex,Mf)=>{var HE=Ye(),WE=(i,r)=>new HE(i,r).set.map(s=>s.map(o=>o.value).join(" ").trim().split(" "));Mf.exports=WE});var Uf=T((yx,Wf)=>{var UE=Ee(),GE=Ye(),BE=(i,r,s)=>{let o=null,f=null,a=null;try{a=new GE(r,s)}catch{return null}return i.forEach(_=>{a.test(_)&&(!o||f.compare(_)===-1)&&(o=_,f=new UE(o,s))}),o};Wf.exports=BE});var Bf=T((wx,Gf)=>{var XE=Ee(),zE=Ye(),VE=(i,r,s)=>{let o=null,f=null,a=null;try{a=new zE(r,s)}catch{return null}return i.forEach(_=>{a.test(_)&&(!o||f.compare(_)===1)&&(o=_,f=new XE(o,s))}),o};Gf.exports=VE});var Vf=T((xx,zf)=>{var du=Ee(),jE=Ye(),Xf=cr(),YE=(i,r)=>{i=new jE(i,r);let s=new du("0.0.0");if(i.test(s)||(s=new du("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],a=null;f.forEach(_=>{let E=new du(_.semver.version);switch(_.operator){case">":E.prerelease.length===0?E.patch++:E.prerelease.push(0),E.raw=E.format();case"":case">=":(!a||Xf(E,a))&&(a=E);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${_.operator}`)}}),a&&(!s||Xf(s,a))&&(s=a)}return s&&i.test(s)?s:null};zf.exports=YE});var Yf=T((Ax,jf)=>{var KE=Ye(),kE=(i,r)=>{try{return new KE(i,r).range||"*"}catch{return null}};jf.exports=kE});var bi=T((Ox,Jf)=>{var ZE=Ee(),Kf=gr(),{ANY:JE}=Kf,QE=Ye(),ey=vr(),kf=cr(),Zf=xi(),ty=Oi(),ny=Ai(),ry=(i,r,s,o)=>{i=new ZE(i,o),r=new QE(r,o);let f,a,_,E,y;switch(s){case">":f=kf,a=ty,_=Zf,E=">",y=">=";break;case"<":f=Zf,a=ny,_=kf,E="<",y="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(ey(i,r,o))return!1;for(let p=0;p<r.set.length;++p){let A=r.set[p],b=null,P=null;if(A.forEach(D=>{D.semver===JE&&(D=new Kf(">=0.0.0")),b=b||D,P=P||D,f(D.semver,b.semver,o)?b=D:_(D.semver,P.semver,o)&&(P=D)}),b.operator===E||b.operator===y||(!P.operator||P.operator===E)&&a(i,P.semver))return!1;if(P.operator===y&&_(i,P.semver))return!1}return!0};Jf.exports=ry});var ec=T((Sx,Qf)=>{var iy=bi(),sy=(i,r,s)=>iy(i,r,">",s);Qf.exports=sy});var nc=T((Rx,tc)=>{var uy=bi(),oy=(i,r,s)=>uy(i,r,"<",s);tc.exports=oy});var sc=T((Ix,ic)=>{var rc=Ye(),ay=(i,r,s)=>(i=new rc(i,s),r=new rc(r,s),i.intersects(r));ic.exports=ay});var oc=T((bx,uc)=>{var ly=vr(),fy=je();uc.exports=(i,r,s)=>{let o=[],f=null,a=null,_=i.sort((A,b)=>fy(A,b,s));for(let A of _)ly(A,r,s)?(a=A,f||(f=A)):(a&&o.push([f,a]),a=null,f=null);f&&o.push([f,null]);let E=[];for(let[A,b]of o)A===b?E.push(A):!b&&A===_[0]?E.push("*"):b?A===_[0]?E.push(`<=${b}`):E.push(`${A} - ${b}`):E.push(`>=${A}`);let y=E.join(" || "),p=typeof r.raw=="string"?r.raw:String(r);return y.length<p.length?y:r}});var hc=T((Cx,cc)=>{var ac=Ye(),Ci=gr(),{ANY:_u}=Ci,mr=vr(),vu=je(),cy=(i,r,s={})=>{if(i===r)return!0;i=new ac(i,s),r=new ac(r,s);let o=!1;e:for(let f of i.set){for(let a of r.set){let _=hy(f,a,s);if(o=o||_!==null,_)continue e}if(o)return!1}return!0},hy=(i,r,s)=>{if(i===r)return!0;if(i.length===1&&i[0].semver===_u){if(r.length===1&&r[0].semver===_u)return!0;s.includePrerelease?i=[new Ci(">=0.0.0-0")]:i=[new Ci(">=0.0.0")]}if(r.length===1&&r[0].semver===_u){if(s.includePrerelease)return!0;r=[new Ci(">=0.0.0")]}let o=new Set,f,a;for(let D of i)D.operator===">"||D.operator===">="?f=lc(f,D,s):D.operator==="<"||D.operator==="<="?a=fc(a,D,s):o.add(D.semver);if(o.size>1)return null;let _;if(f&&a){if(_=vu(f.semver,a.semver,s),_>0)return null;if(_===0&&(f.operator!==">="||a.operator!=="<="))return null}for(let D of o){if(f&&!mr(D,String(f),s)||a&&!mr(D,String(a),s))return null;for(let Re of r)if(!mr(D,String(Re),s))return!1;return!0}let E,y,p,A,b=a&&!s.includePrerelease&&a.semver.prerelease.length?a.semver:!1,P=f&&!s.includePrerelease&&f.semver.prerelease.length?f.semver:!1;b&&b.prerelease.length===1&&a.operator==="<"&&b.prerelease[0]===0&&(b=!1);for(let D of r){if(A=A||D.operator===">"||D.operator===">=",p=p||D.operator==="<"||D.operator==="<=",f){if(P&&D.semver.prerelease&&D.semver.prerelease.length&&D.semver.major===P.major&&D.semver.minor===P.minor&&D.semver.patch===P.patch&&(P=!1),D.operator===">"||D.operator===">="){if(E=lc(f,D,s),E===D&&E!==f)return!1}else if(f.operator===">="&&!mr(f.semver,String(D),s))return!1}if(a){if(b&&D.semver.prerelease&&D.semver.prerelease.length&&D.semver.major===b.major&&D.semver.minor===b.minor&&D.semver.patch===b.patch&&(b=!1),D.operator==="<"||D.operator==="<="){if(y=fc(a,D,s),y===D&&y!==a)return!1}else if(a.operator==="<="&&!mr(a.semver,String(D),s))return!1}if(!D.operator&&(a||f)&&_!==0)return!1}return!(f&&p&&!a&&_!==0||a&&A&&!f&&_!==0||P||b)},lc=(i,r,s)=>{if(!i)return r;let o=vu(i.semver,r.semver,s);return o>0?i:o<0||r.operator===">"&&i.operator===">="?r:i},fc=(i,r,s)=>{if(!i)return r;let o=vu(i.semver,r.semver,s);return o<0?i:o>0||r.operator==="<"&&i.operator==="<="?r:i};cc.exports=cy});var gc=T((Tx,pc)=>{var mu=kt();pc.exports={re:mu.re,src:mu.src,tokens:mu.t,SEMVER_SPEC_VERSION:or().SEMVER_SPEC_VERSION,SemVer:Ee(),compareIdentifiers:vi().compareIdentifiers,rcompareIdentifiers:vi().rcompareIdentifiers,parse:Zt(),valid:Pl(),clean:Dl(),inc:Fl(),diff:Bl(),major:zl(),minor:jl(),patch:Kl(),prerelease:Zl(),compare:je(),rcompare:Ql(),compareLoose:tf(),compareBuild:wi(),sort:uf(),rsort:af(),gt:cr(),lt:xi(),eq:yi(),neq:au(),gte:Ai(),lte:Oi(),cmp:lu(),coerce:_f(),Comparator:gr(),Range:Ye(),satisfies:vr(),toComparators:Hf(),maxSatisfying:Uf(),minSatisfying:Bf(),minVersion:Vf(),validRange:Yf(),outside:bi(),gtr:ec(),ltr:nc(),intersects:sc(),simplifyRange:oc(),subset:hc()}});var at=T(tn=>{"use strict";var dc=tn&&tn.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(tn,"__esModule",{value:!0});tn.getCoreVersion=void 0;var _c=dc(require("path")),vc=dc(require("fs")),py=gc(),gy=require("@serverless-devs/core"),Eu=_c.default.join(gy.getRootHome(),"cache","core"),mc=_c.default.join(Eu,"package.json");function dy(){if(vc.default.existsSync(mc)){var i=require("@serverless-devs/core/package.json").version,r=Ec();return py.gt(r,i)?require(Eu):require("@serverless-devs/core")}return require("@serverless-devs/core")}function Ec(){return vc.default.existsSync(Eu)?require(mc).version:void 0}tn.getCoreVersion=Ec;tn.default=dy()});var yc=T(($x,_y)=>{_y.exports={name:"@serverless-devs/s",version:"2.0.97-beta.6",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:"npx jest",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.0.1","@types/lodash":"^4.14.168","@types/node":"^14.0.23","@typescript-eslint/eslint-plugin":"^4.14.1","@typescript-eslint/parser":"^4.14.1","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.1.0","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.0.1","ts-node":"^9.1.1","tty-table":"^4.1.5",typescript:"^4.1.3"},"lint-staged":{"**/*.{js,jsx,ts}":"f2elint exec eslint"},jest:{coverageDirectory:"coverage",testEnvironment:"node",coverageProvider:"v8",preset:"ts-jest",testMatch:["**/test/**/*test.[jt]s"],setupFilesAfterEnv:["./jest.setup.ts"]},dependencies:{"@serverless-devs/core":"beta"}}});var yr=T(H=>{"use strict";var vy=H&&H.__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]}),my=H&&H.__setModuleDefault||(Object.create?function(i,r){Object.defineProperty(i,"default",{enumerable:!0,value:r})}:function(i,r){i.default=r}),Ey=H&&H.__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)&&vy(r,i,s);return my(r,i),r},wc=H&&H.__awaiter||function(i,r,s,o){function f(a){return a instanceof s?a:new s(function(_){_(a)})}return new(s||(s=Promise))(function(a,_){function E(A){try{p(o.next(A))}catch(b){_(b)}}function y(A){try{p(o.throw(A))}catch(b){_(b)}}function p(A){A.done?a(A.value):f(A.value).then(E,y)}p((o=o.apply(i,r||[])).next())})},xc=H&&H.__generator||function(i,r){var s={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},o,f,a,_;return _={next:E(0),throw:E(1),return:E(2)},typeof Symbol=="function"&&(_[Symbol.iterator]=function(){return this}),_;function E(p){return function(A){return y([p,A])}}function y(p){if(o)throw new TypeError("Generator is already executing.");for(;s;)try{if(o=1,f&&(a=p[0]&2?f.return:p[0]?f.throw||((a=f.return)&&a.call(f),0):f.next)&&!(a=a.call(f,p[1])).done)return a;switch(f=0,a&&(p=[p[0]&2,a.value]),p[0]){case 0:case 1:a=p;break;case 4:return s.label++,{value:p[1],done:!1};case 5:s.label++,f=p[1],p=[0];continue;case 7:p=s.ops.pop(),s.trys.pop();continue;default:if(a=s.trys,!(a=a.length>0&&a[a.length-1])&&(p[0]===6||p[0]===2)){s=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){s.label=p[1];break}if(p[0]===6&&s.label<a[1]){s.label=a[1],a=p;break}if(a&&s.label<a[2]){s.label=a[2],s.ops.push(p);break}a[2]&&s.ops.pop(),s.trys.pop();continue}p=r.call(i,s)}catch(A){p=[6,A],f=0}finally{o=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},Ti=H&&H.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(H,"__esModule",{value:!0});H.emoji=H.mark=H.replaceTemplate=H.getTemplatekey=H.replaceFun=H.getLang=H.printn=H.checkTemplateFile=H.checkAndReturnTemplateFile=H.yamlLoad=H.getFolderSize=H.getVersion=H.getErrorMessage=H.bgRed=H.yellow=H.red=void 0;var ge=Ti(require("path")),Fe=Ti(require("fs")),yu=Ti(_l()),yy=Ti(require("os")),wy=xu(),In=Ey(at()),Li=In.default.colors,xy=In.default.jsyaml,Ay=In.default.makeUnderLine,Ac=In.default.isDebugMode,Oc=yc();H.red=Li.hex("#fd5750");H.yellow=Li.hex("#F3F99D");H.bgRed=Li.hex("#000").bgHex("#fd5750");var Oy=function(i){var r=Ac?Ac():void 0;if(r){console.log(i);return}var s=i.message?i.message:"";try{var o=JSON.parse(s);console.log("".concat((0,H.bgRed)("ERROR:"),`
|
|
34
|
+
}`;var B=sl(function(){return k(h,N+"return "+R).apply(i,g)});if(B.source=R,js(B))throw B;return B}function fm(e){return Z(e).toLowerCase()}function cm(e){return Z(e).toUpperCase()}function hm(e,t,n){if(e=Z(e),e&&(n||t===i))return po(e);if(!e||!(t=Pe(t)))return e;var u=Ze(e),l=Ze(t),h=go(u,l),g=_o(u,l)+1;return Nt(u,h,g).join("")}function pm(e,t,n){if(e=Z(e),e&&(n||t===i))return e.slice(0,mo(e)+1);if(!e||!(t=Pe(t)))return e;var u=Ze(e),l=_o(u,Ze(t))+1;return Nt(u,0,l).join("")}function gm(e,t,n){if(e=Z(e),e&&(n||t===i))return e.replace(ji,"");if(!e||!(t=Pe(t)))return e;var u=Ze(e),l=go(u,Ze(t));return Nt(u,l).join("")}function dm(e,t){var n=ah,u=lh;if(ie(t)){var l="separator"in t?t.separator:l;n="length"in t?G(t.length):n,u="omission"in t?Pe(t.omission):u}e=Z(e);var h=e.length;if(hn(e)){var g=Ze(e);h=g.length}if(n>=h)return e;var d=n-pn(u);if(d<1)return u;var m=g?Nt(g,0,d).join(""):e.slice(0,d);if(l===i)return m+u;if(g&&(d+=m.length-d),Ys(l)){if(e.slice(d).search(l)){var O,S=m;for(l.global||(l=fs(l.source,Z(Du.exec(l))+"g")),l.lastIndex=0;O=l.exec(S);)var R=O.index;m=m.slice(0,R===i?d:R)}}else if(e.indexOf(Pe(l),d)!=d){var I=m.lastIndexOf(l);I>-1&&(m=m.slice(0,I))}return m+u}function _m(e){return e=Z(e),e&&Ih.test(e)?e.replace($u,zp):e}var vm=En(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),Zs=ua("toUpperCase");function il(e,t,n){return e=Z(e),t=n?i:t,t===i?Wp(e)?Yp(e):Lp(e):e.match(t)||[]}var sl=z(function(e,t){try{return Le(e,i,t)}catch(n){return js(n)?n:new W(n)}}),mm=vt(function(e,t){return He(t,function(n){n=ot(n),dt(e,n,zs(e[n],e))}),e});function Em(e){var t=e==null?0:e.length,n=q();return e=t?re(e,function(u){if(typeof u[1]!="function")throw new We(f);return[n(u[0]),u[1]]}):[],z(function(u){for(var l=-1;++l<t;){var h=e[l];if(Le(h[0],this,u))return Le(h[1],this,u)}})}function ym(e){return zg(Ge(e,p))}function Js(e){return function(){return e}}function wm(e,t){return e==null||e!==e?t:e}var xm=aa(),Am=aa(!0);function Te(e){return e}function Qs(e){return Mo(typeof e=="function"?e:Ge(e,p))}function Om(e){return Wo(Ge(e,p))}function Sm(e,t){return Uo(e,Ge(t,p))}var Rm=z(function(e,t){return function(n){return Zn(n,e,t)}}),Im=z(function(e,t){return function(n){return Zn(e,n,t)}});function eu(e,t,n){var u=he(t),l=kr(t,u);n==null&&!(ie(t)&&(l.length||!u.length))&&(n=t,t=e,e=this,l=kr(t,he(t)));var h=!(ie(n)&&"chain"in n)||!!n.chain,g=Et(e);return He(l,function(d){var m=t[d];e[d]=m,g&&(e.prototype[d]=function(){var O=this.__chain__;if(h||O){var S=e(this.__wrapped__),R=S.__actions__=Ie(this.__actions__);return R.push({func:m,args:arguments,thisArg:e}),S.__chain__=O,S}return m.apply(e,It([this.value()],arguments))})}),e}function bm(){return ce._===this&&(ce._=eg),this}function tu(){}function Cm(e){return e=G(e),z(function(t){return Go(t,e)})}var Tm=$s(re),Lm=$s(ao),$m=$s(rs);function ul(e){return Hs(e)?is(ot(e)):ad(e)}function Pm(e){return function(t){return e==null?i:Xt(e,t)}}var Nm=fa(),Dm=fa(!0);function nu(){return[]}function ru(){return!1}function qm(){return{}}function Fm(){return""}function Mm(){return!0}function Hm(e,t){if(e=G(e),e<1||e>St)return[];var n=it,u=ve(e,it);t=q(t),e-=it;for(var l=os(u,t);++n<e;)t(n);return l}function Wm(e){return U(e)?re(e,ot):Ne(e)?[e]:Ie(Ra(Z(e)))}function Um(e){var t=++Jp;return Z(e)+t}var Gm=ni(function(e,t){return e+t},0),Bm=Ps("ceil"),Xm=ni(function(e,t){return e/t},1),zm=Ps("floor");function Vm(e){return e&&e.length?Kr(e,Te,ms):i}function jm(e,t){return e&&e.length?Kr(e,q(t,2),ms):i}function Ym(e){return co(e,Te)}function Km(e,t){return co(e,q(t,2))}function km(e){return e&&e.length?Kr(e,Te,xs):i}function Zm(e,t){return e&&e.length?Kr(e,q(t,2),xs):i}var Jm=ni(function(e,t){return e*t},1),Qm=Ps("round"),e1=ni(function(e,t){return e-t},0);function t1(e){return e&&e.length?us(e,Te):0}function n1(e,t){return e&&e.length?us(e,q(t,2)):0}return c.after=Ov,c.ary=Fa,c.assign=c0,c.assignIn=Za,c.assignInWith=di,c.assignWith=h0,c.at=p0,c.before=Ma,c.bind=zs,c.bindAll=mm,c.bindKey=Ha,c.castArray=qv,c.chain=Na,c.chunk=zd,c.compact=Vd,c.concat=jd,c.cond=Em,c.conforms=ym,c.constant=Js,c.countBy=tv,c.create=g0,c.curry=Wa,c.curryRight=Ua,c.debounce=Ga,c.defaults=d0,c.defaultsDeep=_0,c.defer=Sv,c.delay=Rv,c.difference=Yd,c.differenceBy=Kd,c.differenceWith=kd,c.drop=Zd,c.dropRight=Jd,c.dropRightWhile=Qd,c.dropWhile=e_,c.fill=t_,c.filter=rv,c.flatMap=uv,c.flatMapDeep=ov,c.flatMapDepth=av,c.flatten=Ta,c.flattenDeep=n_,c.flattenDepth=r_,c.flip=Iv,c.flow=xm,c.flowRight=Am,c.fromPairs=i_,c.functions=A0,c.functionsIn=O0,c.groupBy=lv,c.initial=u_,c.intersection=o_,c.intersectionBy=a_,c.intersectionWith=l_,c.invert=R0,c.invertBy=I0,c.invokeMap=cv,c.iteratee=Qs,c.keyBy=hv,c.keys=he,c.keysIn=Ce,c.map=li,c.mapKeys=C0,c.mapValues=T0,c.matches=Om,c.matchesProperty=Sm,c.memoize=ci,c.merge=L0,c.mergeWith=Ja,c.method=Rm,c.methodOf=Im,c.mixin=eu,c.negate=hi,c.nthArg=Cm,c.omit=$0,c.omitBy=P0,c.once=bv,c.orderBy=pv,c.over=Tm,c.overArgs=Cv,c.overEvery=Lm,c.overSome=$m,c.partial=Vs,c.partialRight=Ba,c.partition=gv,c.pick=N0,c.pickBy=Qa,c.property=ul,c.propertyOf=Pm,c.pull=p_,c.pullAll=$a,c.pullAllBy=g_,c.pullAllWith=d_,c.pullAt=__,c.range=Nm,c.rangeRight=Dm,c.rearg=Tv,c.reject=vv,c.remove=v_,c.rest=Lv,c.reverse=Bs,c.sampleSize=Ev,c.set=q0,c.setWith=F0,c.shuffle=yv,c.slice=m_,c.sortBy=Av,c.sortedUniq=S_,c.sortedUniqBy=R_,c.split=um,c.spread=$v,c.tail=I_,c.take=b_,c.takeRight=C_,c.takeRightWhile=T_,c.takeWhile=L_,c.tap=V_,c.throttle=Pv,c.thru=ai,c.toArray=Ya,c.toPairs=el,c.toPairsIn=tl,c.toPath=Wm,c.toPlainObject=ka,c.transform=M0,c.unary=Nv,c.union=$_,c.unionBy=P_,c.unionWith=N_,c.uniq=D_,c.uniqBy=q_,c.uniqWith=F_,c.unset=H0,c.unzip=Xs,c.unzipWith=Pa,c.update=W0,c.updateWith=U0,c.values=xn,c.valuesIn=G0,c.without=M_,c.words=il,c.wrap=Dv,c.xor=H_,c.xorBy=W_,c.xorWith=U_,c.zip=G_,c.zipObject=B_,c.zipObjectDeep=X_,c.zipWith=z_,c.entries=el,c.entriesIn=tl,c.extend=Za,c.extendWith=di,eu(c,c),c.add=Gm,c.attempt=sl,c.camelCase=V0,c.capitalize=nl,c.ceil=Bm,c.clamp=B0,c.clone=Fv,c.cloneDeep=Hv,c.cloneDeepWith=Wv,c.cloneWith=Mv,c.conformsTo=Uv,c.deburr=rl,c.defaultTo=wm,c.divide=Xm,c.endsWith=j0,c.eq=Qe,c.escape=Y0,c.escapeRegExp=K0,c.every=nv,c.find=iv,c.findIndex=ba,c.findKey=v0,c.findLast=sv,c.findLastIndex=Ca,c.findLastKey=m0,c.floor=zm,c.forEach=Da,c.forEachRight=qa,c.forIn=E0,c.forInRight=y0,c.forOwn=w0,c.forOwnRight=x0,c.get=Ks,c.gt=Gv,c.gte=Bv,c.has=S0,c.hasIn=ks,c.head=La,c.identity=Te,c.includes=fv,c.indexOf=s_,c.inRange=X0,c.invoke=b0,c.isArguments=jt,c.isArray=U,c.isArrayBuffer=Xv,c.isArrayLike=be,c.isArrayLikeObject=ue,c.isBoolean=zv,c.isBuffer=Dt,c.isDate=Vv,c.isElement=jv,c.isEmpty=Yv,c.isEqual=Kv,c.isEqualWith=kv,c.isError=js,c.isFinite=Zv,c.isFunction=Et,c.isInteger=Xa,c.isLength=pi,c.isMap=za,c.isMatch=Jv,c.isMatchWith=Qv,c.isNaN=e0,c.isNative=t0,c.isNil=r0,c.isNull=n0,c.isNumber=Va,c.isObject=ie,c.isObjectLike=se,c.isPlainObject=rr,c.isRegExp=Ys,c.isSafeInteger=i0,c.isSet=ja,c.isString=gi,c.isSymbol=Ne,c.isTypedArray=wn,c.isUndefined=s0,c.isWeakMap=u0,c.isWeakSet=o0,c.join=f_,c.kebabCase=k0,c.last=Xe,c.lastIndexOf=c_,c.lowerCase=Z0,c.lowerFirst=J0,c.lt=a0,c.lte=l0,c.max=Vm,c.maxBy=jm,c.mean=Ym,c.meanBy=Km,c.min=km,c.minBy=Zm,c.stubArray=nu,c.stubFalse=ru,c.stubObject=qm,c.stubString=Fm,c.stubTrue=Mm,c.multiply=Jm,c.nth=h_,c.noConflict=bm,c.noop=tu,c.now=fi,c.pad=Q0,c.padEnd=em,c.padStart=tm,c.parseInt=nm,c.random=z0,c.reduce=dv,c.reduceRight=_v,c.repeat=rm,c.replace=im,c.result=D0,c.round=Qm,c.runInContext=v,c.sample=mv,c.size=wv,c.snakeCase=sm,c.some=xv,c.sortedIndex=E_,c.sortedIndexBy=y_,c.sortedIndexOf=w_,c.sortedLastIndex=x_,c.sortedLastIndexBy=A_,c.sortedLastIndexOf=O_,c.startCase=om,c.startsWith=am,c.subtract=e1,c.sum=t1,c.sumBy=n1,c.template=lm,c.times=Hm,c.toFinite=yt,c.toInteger=G,c.toLength=Ka,c.toLower=fm,c.toNumber=ze,c.toSafeInteger=f0,c.toString=Z,c.toUpper=cm,c.trim=hm,c.trimEnd=pm,c.trimStart=gm,c.truncate=dm,c.unescape=_m,c.uniqueId=Um,c.upperCase=vm,c.upperFirst=Zs,c.each=Da,c.eachRight=qa,c.first=La,eu(c,function(){var e={};return st(c,function(t,n){J.call(c.prototype,n)||(e[n]=t)}),e}(),{chain:!1}),c.VERSION=r,He(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){c[e].placeholder=c}),He(["drop","take"],function(e,t){j.prototype[e]=function(n){n=n===i?1:fe(G(n),0);var u=this.__filtered__&&!t?new j(this):this.clone();return u.__filtered__?u.__takeCount__=ve(n,u.__takeCount__):u.__views__.push({size:ve(n,it),type:e+(u.__dir__<0?"Right":"")}),u},j.prototype[e+"Right"]=function(n){return this.reverse()[e](n).reverse()}}),He(["filter","map","takeWhile"],function(e,t){var n=t+1,u=n==Cu||n==ph;j.prototype[e]=function(l){var h=this.clone();return h.__iteratees__.push({iteratee:q(l,3),type:n}),h.__filtered__=h.__filtered__||u,h}}),He(["head","last"],function(e,t){var n="take"+(t?"Right":"");j.prototype[e]=function(){return this[n](1).value()[0]}}),He(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");j.prototype[e]=function(){return this.__filtered__?new j(this):this[n](1)}}),j.prototype.compact=function(){return this.filter(Te)},j.prototype.find=function(e){return this.filter(e).head()},j.prototype.findLast=function(e){return this.reverse().find(e)},j.prototype.invokeMap=z(function(e,t){return typeof e=="function"?new j(this):this.map(function(n){return Zn(n,e,t)})}),j.prototype.reject=function(e){return this.filter(hi(q(e)))},j.prototype.slice=function(e,t){e=G(e);var n=this;return n.__filtered__&&(e>0||t<0)?new j(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)},j.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},j.prototype.toArray=function(){return this.take(it)},st(j.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),u=/^(?:head|last)$/.test(t),l=c[u?"take"+(t=="last"?"Right":""):t],h=u||/^find/.test(t);!l||(c.prototype[t]=function(){var g=this.__wrapped__,d=u?[1]:arguments,m=g instanceof j,O=d[0],S=m||U(g),R=function(V){var Y=l.apply(c,It([V],d));return u&&I?Y[0]:Y};S&&n&&typeof O=="function"&&O.length!=1&&(m=S=!1);var I=this.__chain__,N=!!this.__actions__.length,F=h&&!I,B=m&&!N;if(!h&&S){g=B?g:new j(this);var M=e.apply(g,d);return M.__actions__.push({func:ai,args:[R],thisArg:i}),new Ue(M,I)}return F&&B?e.apply(this,d):(M=this.thru(R),F?u?M.value()[0]:M.value():M)})}),He(["pop","push","shift","sort","splice","unshift"],function(e){var t=Nr[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",u=/^(?:pop|shift)$/.test(e);c.prototype[e]=function(){var l=arguments;if(u&&!this.__chain__){var h=this.value();return t.apply(U(h)?h:[],l)}return this[n](function(g){return t.apply(U(g)?g:[],l)})}}),st(j.prototype,function(e,t){var n=c[t];if(n){var u=n.name+"";J.call(_n,u)||(_n[u]=[]),_n[u].push({name:t,func:n})}}),_n[ti(i,Ft).name]=[{name:"wrapper",func:i}],j.prototype.clone=_g,j.prototype.reverse=vg,j.prototype.value=mg,c.prototype.at=j_,c.prototype.chain=Y_,c.prototype.commit=K_,c.prototype.next=k_,c.prototype.plant=J_,c.prototype.reverse=Q_,c.prototype.toJSON=c.prototype.valueOf=c.prototype.value=ev,c.prototype.first=c.prototype.head,Xn&&(c.prototype[Xn]=Z_),c},Ct=Kp();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(ce._=Ct,define(function(){return Ct})):Ht?((Ht.exports=Ct)._=Ct,Qi._=Ct):ce._=Ct}).call(An)});var or=T((Hw,vl)=>{var s1="2.0.0",u1=256,o1=Number.MAX_SAFE_INTEGER||9007199254740991,a1=16;vl.exports={SEMVER_SPEC_VERSION:s1,MAX_LENGTH:u1,MAX_SAFE_INTEGER:o1,MAX_SAFE_COMPONENT_LENGTH:a1}});var ar=T((Ww,ml)=>{var l1=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...i)=>console.error("SEMVER",...i):()=>{};ml.exports=l1});var kt=T((qt,El)=>{var{MAX_SAFE_COMPONENT_LENGTH:ou}=or(),f1=ar();qt=El.exports={};var c1=qt.re=[],L=qt.src=[],$=qt.t={},h1=0,X=(i,r,s)=>{let o=h1++;f1(o,r),$[i]=o,L[o]=r,c1[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[$.NUMERICIDENTIFIER]})\\.(${L[$.NUMERICIDENTIFIER]})\\.(${L[$.NUMERICIDENTIFIER]})`);X("MAINVERSIONLOOSE",`(${L[$.NUMERICIDENTIFIERLOOSE]})\\.(${L[$.NUMERICIDENTIFIERLOOSE]})\\.(${L[$.NUMERICIDENTIFIERLOOSE]})`);X("PRERELEASEIDENTIFIER",`(?:${L[$.NUMERICIDENTIFIER]}|${L[$.NONNUMERICIDENTIFIER]})`);X("PRERELEASEIDENTIFIERLOOSE",`(?:${L[$.NUMERICIDENTIFIERLOOSE]}|${L[$.NONNUMERICIDENTIFIER]})`);X("PRERELEASE",`(?:-(${L[$.PRERELEASEIDENTIFIER]}(?:\\.${L[$.PRERELEASEIDENTIFIER]})*))`);X("PRERELEASELOOSE",`(?:-?(${L[$.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${L[$.PRERELEASEIDENTIFIERLOOSE]})*))`);X("BUILDIDENTIFIER","[0-9A-Za-z-]+");X("BUILD",`(?:\\+(${L[$.BUILDIDENTIFIER]}(?:\\.${L[$.BUILDIDENTIFIER]})*))`);X("FULLPLAIN",`v?${L[$.MAINVERSION]}${L[$.PRERELEASE]}?${L[$.BUILD]}?`);X("FULL",`^${L[$.FULLPLAIN]}$`);X("LOOSEPLAIN",`[v=\\s]*${L[$.MAINVERSIONLOOSE]}${L[$.PRERELEASELOOSE]}?${L[$.BUILD]}?`);X("LOOSE",`^${L[$.LOOSEPLAIN]}$`);X("GTLT","((?:<|>)?=?)");X("XRANGEIDENTIFIERLOOSE",`${L[$.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);X("XRANGEIDENTIFIER",`${L[$.NUMERICIDENTIFIER]}|x|X|\\*`);X("XRANGEPLAIN",`[v=\\s]*(${L[$.XRANGEIDENTIFIER]})(?:\\.(${L[$.XRANGEIDENTIFIER]})(?:\\.(${L[$.XRANGEIDENTIFIER]})(?:${L[$.PRERELEASE]})?${L[$.BUILD]}?)?)?`);X("XRANGEPLAINLOOSE",`[v=\\s]*(${L[$.XRANGEIDENTIFIERLOOSE]})(?:\\.(${L[$.XRANGEIDENTIFIERLOOSE]})(?:\\.(${L[$.XRANGEIDENTIFIERLOOSE]})(?:${L[$.PRERELEASELOOSE]})?${L[$.BUILD]}?)?)?`);X("XRANGE",`^${L[$.GTLT]}\\s*${L[$.XRANGEPLAIN]}$`);X("XRANGELOOSE",`^${L[$.GTLT]}\\s*${L[$.XRANGEPLAINLOOSE]}$`);X("COERCE",`(^|[^\\d])(\\d{1,${ou}})(?:\\.(\\d{1,${ou}}))?(?:\\.(\\d{1,${ou}}))?(?:$|[^\\d])`);X("COERCERTL",L[$.COERCE],!0);X("LONETILDE","(?:~>?)");X("TILDETRIM",`(\\s*)${L[$.LONETILDE]}\\s+`,!0);qt.tildeTrimReplace="$1~";X("TILDE",`^${L[$.LONETILDE]}${L[$.XRANGEPLAIN]}$`);X("TILDELOOSE",`^${L[$.LONETILDE]}${L[$.XRANGEPLAINLOOSE]}$`);X("LONECARET","(?:\\^)");X("CARETTRIM",`(\\s*)${L[$.LONECARET]}\\s+`,!0);qt.caretTrimReplace="$1^";X("CARET",`^${L[$.LONECARET]}${L[$.XRANGEPLAIN]}$`);X("CARETLOOSE",`^${L[$.LONECARET]}${L[$.XRANGEPLAINLOOSE]}$`);X("COMPARATORLOOSE",`^${L[$.GTLT]}\\s*(${L[$.LOOSEPLAIN]})$|^$`);X("COMPARATOR",`^${L[$.GTLT]}\\s*(${L[$.FULLPLAIN]})$|^$`);X("COMPARATORTRIM",`(\\s*)${L[$.GTLT]}\\s*(${L[$.LOOSEPLAIN]}|${L[$.XRANGEPLAIN]})`,!0);qt.comparatorTrimReplace="$1$2$3";X("HYPHENRANGE",`^\\s*(${L[$.XRANGEPLAIN]})\\s+-\\s+(${L[$.XRANGEPLAIN]})\\s*$`);X("HYPHENRANGELOOSE",`^\\s*(${L[$.XRANGEPLAINLOOSE]})\\s+-\\s+(${L[$.XRANGEPLAINLOOSE]})\\s*$`);X("STAR","(<|>)?=?\\s*\\*");X("GTE0","^\\s*>=\\s*0.0.0\\s*$");X("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")});var lr=T((Uw,yl)=>{var p1=["includePrerelease","loose","rtl"],g1=i=>i?typeof i!="object"?{loose:!0}:p1.filter(r=>i[r]).reduce((r,s)=>(r[s]=!0,r),{}):{};yl.exports=g1});var vi=T((Gw,Al)=>{var wl=/^[0-9]+$/,xl=(i,r)=>{let s=wl.test(i),o=wl.test(r);return s&&o&&(i=+i,r=+r),i===r?0:s&&!o?-1:o&&!s?1:i<r?-1:1},d1=(i,r)=>xl(r,i);Al.exports={compareIdentifiers:xl,rcompareIdentifiers:d1}});var Ee=T((Bw,Il)=>{var mi=ar(),{MAX_LENGTH:Ol,MAX_SAFE_INTEGER:Ei}=or(),{re:Sl,t:Rl}=kt(),_1=lr(),{compareIdentifiers:fr}=vi(),Ve=class{constructor(r,s){if(s=_1(s),r instanceof Ve){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>Ol)throw new TypeError(`version is longer than ${Ol} characters`);mi("SemVer",r,s),this.options=s,this.loose=!!s.loose,this.includePrerelease=!!s.includePrerelease;let o=r.trim().match(s.loose?Sl[Rl.LOOSE]:Sl[Rl.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>Ei||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Ei||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Ei||this.patch<0)throw new TypeError("Invalid patch version");o[4]?this.prerelease=o[4].split(".").map(f=>{if(/^[0-9]+$/.test(f)){let a=+f;if(a>=0&&a<Ei)return a}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(mi("SemVer.compare",this.version,this.options,r),!(r instanceof Ve)){if(typeof r=="string"&&r===this.version)return 0;r=new Ve(r,this.options)}return r.version===this.version?0:this.compareMain(r)||this.comparePre(r)}compareMain(r){return r instanceof Ve||(r=new Ve(r,this.options)),fr(this.major,r.major)||fr(this.minor,r.minor)||fr(this.patch,r.patch)}comparePre(r){if(r instanceof Ve||(r=new Ve(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(mi("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 fr(o,f)}while(++s)}compareBuild(r){r instanceof Ve||(r=new Ve(r,this.options));let s=0;do{let o=this.build[s],f=r.build[s];if(mi("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 fr(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}};Il.exports=Ve});var Zt=T((Xw,Ll)=>{var{MAX_LENGTH:v1}=or(),{re:bl,t:Cl}=kt(),Tl=Ee(),m1=lr(),E1=(i,r)=>{if(r=m1(r),i instanceof Tl)return i;if(typeof i!="string"||i.length>v1||!(r.loose?bl[Cl.LOOSE]:bl[Cl.FULL]).test(i))return null;try{return new Tl(i,r)}catch{return null}};Ll.exports=E1});var Pl=T((zw,$l)=>{var y1=Zt(),w1=(i,r)=>{let s=y1(i,r);return s?s.version:null};$l.exports=w1});var Dl=T((Vw,Nl)=>{var x1=Zt(),A1=(i,r)=>{let s=x1(i.trim().replace(/^[=v]+/,""),r);return s?s.version:null};Nl.exports=A1});var Fl=T((jw,ql)=>{var O1=Ee(),S1=(i,r,s,o)=>{typeof s=="string"&&(o=s,s=void 0);try{return new O1(i,s).inc(r,o).version}catch{return null}};ql.exports=S1});var je=T((Yw,Hl)=>{var Ml=Ee(),R1=(i,r,s)=>new Ml(i,s).compare(new Ml(r,s));Hl.exports=R1});var yi=T((Kw,Wl)=>{var I1=je(),b1=(i,r,s)=>I1(i,r,s)===0;Wl.exports=b1});var Bl=T((kw,Gl)=>{var Ul=Zt(),C1=yi(),T1=(i,r)=>{if(C1(i,r))return null;{let s=Ul(i),o=Ul(r),f=s.prerelease.length||o.prerelease.length,a=f?"pre":"",_=f?"prerelease":"";for(let E in s)if((E==="major"||E==="minor"||E==="patch")&&s[E]!==o[E])return a+E;return _}};Gl.exports=T1});var zl=T((Zw,Xl)=>{var L1=Ee(),$1=(i,r)=>new L1(i,r).major;Xl.exports=$1});var jl=T((Jw,Vl)=>{var P1=Ee(),N1=(i,r)=>new P1(i,r).minor;Vl.exports=N1});var Kl=T((Qw,Yl)=>{var D1=Ee(),q1=(i,r)=>new D1(i,r).patch;Yl.exports=q1});var Zl=T((ex,kl)=>{var F1=Zt(),M1=(i,r)=>{let s=F1(i,r);return s&&s.prerelease.length?s.prerelease:null};kl.exports=M1});var Ql=T((tx,Jl)=>{var H1=je(),W1=(i,r,s)=>H1(r,i,s);Jl.exports=W1});var tf=T((nx,ef)=>{var U1=je(),G1=(i,r)=>U1(i,r,!0);ef.exports=G1});var wi=T((rx,rf)=>{var nf=Ee(),B1=(i,r,s)=>{let o=new nf(i,s),f=new nf(r,s);return o.compare(f)||o.compareBuild(f)};rf.exports=B1});var uf=T((ix,sf)=>{var X1=wi(),z1=(i,r)=>i.sort((s,o)=>X1(s,o,r));sf.exports=z1});var af=T((sx,of)=>{var V1=wi(),j1=(i,r)=>i.sort((s,o)=>V1(o,s,r));of.exports=j1});var cr=T((ux,lf)=>{var Y1=je(),K1=(i,r,s)=>Y1(i,r,s)>0;lf.exports=K1});var xi=T((ox,ff)=>{var k1=je(),Z1=(i,r,s)=>k1(i,r,s)<0;ff.exports=Z1});var au=T((ax,cf)=>{var J1=je(),Q1=(i,r,s)=>J1(i,r,s)!==0;cf.exports=Q1});var Ai=T((lx,hf)=>{var eE=je(),tE=(i,r,s)=>eE(i,r,s)>=0;hf.exports=tE});var Oi=T((fx,pf)=>{var nE=je(),rE=(i,r,s)=>nE(i,r,s)<=0;pf.exports=rE});var lu=T((cx,gf)=>{var iE=yi(),sE=au(),uE=cr(),oE=Ai(),aE=xi(),lE=Oi(),fE=(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 iE(i,s,o);case"!=":return sE(i,s,o);case">":return uE(i,s,o);case">=":return oE(i,s,o);case"<":return aE(i,s,o);case"<=":return lE(i,s,o);default:throw new TypeError(`Invalid operator: ${r}`)}};gf.exports=fE});var _f=T((hx,df)=>{var cE=Ee(),hE=Zt(),{re:Si,t:Ri}=kt(),pE=(i,r)=>{if(i instanceof cE)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(Si[Ri.COERCE]);else{let o;for(;(o=Si[Ri.COERCERTL].exec(i))&&(!s||s.index+s[0].length!==i.length);)(!s||o.index+o[0].length!==s.index+s[0].length)&&(s=o),Si[Ri.COERCERTL].lastIndex=o.index+o[1].length+o[2].length;Si[Ri.COERCERTL].lastIndex=-1}return s===null?null:hE(`${s[2]}.${s[3]||"0"}.${s[4]||"0"}`,r)};df.exports=pE});var mf=T((px,vf)=>{"use strict";vf.exports=function(i){i.prototype[Symbol.iterator]=function*(){for(let r=this.head;r;r=r.next)yield r.value}}});var yf=T((gx,Ef)=>{"use strict";Ef.exports=K;K.Node=Jt;K.create=K;function K(i){var r=this;if(r instanceof K||(r=new K),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}K.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};K.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++}};K.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++}};K.prototype.push=function(){for(var i=0,r=arguments.length;i<r;i++)dE(this,arguments[i]);return this.length};K.prototype.unshift=function(){for(var i=0,r=arguments.length;i<r;i++)_E(this,arguments[i]);return this.length};K.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}};K.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}};K.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};K.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};K.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};K.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};K.prototype.map=function(i,r){r=r||this;for(var s=new K,o=this.head;o!==null;)s.push(i.call(r,o.value,this)),o=o.next;return s};K.prototype.mapReverse=function(i,r){r=r||this;for(var s=new K,o=this.tail;o!==null;)s.push(i.call(r,o.value,this)),o=o.prev;return s};K.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};K.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};K.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};K.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};K.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 K;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};K.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 K;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};K.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 a=[],o=0;f&&o<r;o++)a.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=gE(this,f,s[o]);return a};K.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 gE(i,r,s){var o=r===i.head?new Jt(s,null,r,i):new Jt(s,r,r.next,i);return o.next===null&&(i.tail=o),o.prev===null&&(i.head=o),i.length++,o}function dE(i,r){i.tail=new Jt(r,i.tail,null,i),i.head||(i.head=i.tail),i.length++}function _E(i,r){i.head=new Jt(r,null,i.head,i),i.tail||(i.tail=i.head),i.length++}function Jt(i,r,s,o){if(!(this instanceof Jt))return new Jt(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{mf()(K)}catch{}});var If=T((dx,Rf)=>{"use strict";var vE=yf(),Qt=Symbol("max"),xt=Symbol("length"),On=Symbol("lengthCalculator"),hr=Symbol("allowStale"),en=Symbol("maxAge"),At=Symbol("dispose"),wf=Symbol("noDisposeOnSet"),pe=Symbol("lruList"),tt=Symbol("cache"),xf=Symbol("updateAgeOnGet"),fu=()=>1,Af=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[Qt]=r.max||1/0,o=r.length||fu;if(this[On]=typeof o!="function"?fu:o,this[hr]=r.stale||!1,r.maxAge&&typeof r.maxAge!="number")throw new TypeError("maxAge must be a number");this[en]=r.maxAge||0,this[At]=r.dispose,this[wf]=r.noDisposeOnSet||!1,this[xf]=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[Qt]=r||1/0,pr(this)}get max(){return this[Qt]}set allowStale(r){this[hr]=!!r}get allowStale(){return this[hr]}set maxAge(r){if(typeof r!="number")throw new TypeError("maxAge must be a non-negative number");this[en]=r,pr(this)}get maxAge(){return this[en]}set lengthCalculator(r){typeof r!="function"&&(r=fu),r!==this[On]&&(this[On]=r,this[xt]=0,this[pe].forEach(s=>{s.length=this[On](s.value,s.key),this[xt]+=s.length})),pr(this)}get lengthCalculator(){return this[On]}get length(){return this[xt]}get itemCount(){return this[pe].length}rforEach(r,s){s=s||this;for(let o=this[pe].tail;o!==null;){let f=o.prev;Sf(this,r,o,s),o=f}}forEach(r,s){s=s||this;for(let o=this[pe].head;o!==null;){let f=o.next;Sf(this,r,o,s),o=f}}keys(){return this[pe].toArray().map(r=>r.key)}values(){return this[pe].toArray().map(r=>r.value)}reset(){this[At]&&this[pe]&&this[pe].length&&this[pe].forEach(r=>this[At](r.key,r.value)),this[tt]=new Map,this[pe]=new vE,this[xt]=0}dump(){return this[pe].map(r=>Ii(this,r)?!1:{k:r.key,v:r.value,e:r.now+(r.maxAge||0)}).toArray().filter(r=>r)}dumpLru(){return this[pe]}set(r,s,o){if(o=o||this[en],o&&typeof o!="number")throw new TypeError("maxAge must be a number");let f=o?Date.now():0,a=this[On](s,r);if(this[tt].has(r)){if(a>this[Qt])return Sn(this,this[tt].get(r)),!1;let y=this[tt].get(r).value;return this[At]&&(this[wf]||this[At](r,y.value)),y.now=f,y.maxAge=o,y.value=s,this[xt]+=a-y.length,y.length=a,this.get(r),pr(this),!0}let _=new Of(r,s,a,f,o);return _.length>this[Qt]?(this[At]&&this[At](r,s),!1):(this[xt]+=_.length,this[pe].unshift(_),this[tt].set(r,this[pe].head),pr(this),!0)}has(r){if(!this[tt].has(r))return!1;let s=this[tt].get(r).value;return!Ii(this,s)}get(r){return cu(this,r,!0)}peek(r){return cu(this,r,!1)}pop(){let r=this[pe].tail;return r?(Sn(this,r),r.value):null}del(r){Sn(this,this[tt].get(r))}load(r){this.reset();let s=Date.now();for(let o=r.length-1;o>=0;o--){let f=r[o],a=f.e||0;if(a===0)this.set(f.k,f.v);else{let _=a-s;_>0&&this.set(f.k,f.v,_)}}}prune(){this[tt].forEach((r,s)=>cu(this,s,!1))}},cu=(i,r,s)=>{let o=i[tt].get(r);if(o){let f=o.value;if(Ii(i,f)){if(Sn(i,o),!i[hr])return}else s&&(i[xf]&&(o.value.now=Date.now()),i[pe].unshiftNode(o));return f.value}},Ii=(i,r)=>{if(!r||!r.maxAge&&!i[en])return!1;let s=Date.now()-r.now;return r.maxAge?s>r.maxAge:i[en]&&s>i[en]},pr=i=>{if(i[xt]>i[Qt])for(let r=i[pe].tail;i[xt]>i[Qt]&&r!==null;){let s=r.prev;Sn(i,r),r=s}},Sn=(i,r)=>{if(r){let s=r.value;i[At]&&i[At](s.key,s.value),i[xt]-=s.length,i[tt].delete(s.key),i[pe].removeNode(r)}},Of=class{constructor(r,s,o,f,a){this.key=r,this.value=s,this.length=o,this.now=f,this.maxAge=a||0}},Sf=(i,r,s,o)=>{let f=s.value;Ii(i,f)&&(Sn(i,s),i[hr]||(f=void 0)),f&&r.call(o,f.value,f.key,i)};Rf.exports=Af});var Ye=T((_x,Lf)=>{var Rn=class{constructor(r,s){if(s=EE(s),r instanceof Rn)return r.loose===!!s.loose&&r.includePrerelease===!!s.includePrerelease?r:new Rn(r.raw,s);if(r instanceof hu)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=>!Cf(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&&OE(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=bf.get(o);if(f)return f;let a=this.options.loose,_=a?ye[_e.HYPHENRANGELOOSE]:ye[_e.HYPHENRANGE];r=r.replace(_,NE(this.options.includePrerelease)),ae("hyphen replace",r),r=r.replace(ye[_e.COMPARATORTRIM],wE),ae("comparator trim",r,ye[_e.COMPARATORTRIM]),r=r.replace(ye[_e.TILDETRIM],xE),r=r.replace(ye[_e.CARETTRIM],AE),r=r.split(/\s+/).join(" ");let E=a?ye[_e.COMPARATORLOOSE]:ye[_e.COMPARATOR],y=r.split(" ").map(P=>SE(P,this.options)).join(" ").split(/\s+/).map(P=>PE(P,this.options)).filter(this.options.loose?P=>!!P.match(E):()=>!0).map(P=>new hu(P,this.options)),p=y.length,A=new Map;for(let P of y){if(Cf(P))return[P];A.set(P.value,P)}A.size>1&&A.has("")&&A.delete("");let b=[...A.values()];return bf.set(o,b),b}intersects(r,s){if(!(r instanceof Rn))throw new TypeError("a Range is required");return this.set.some(o=>Tf(o,s)&&r.set.some(f=>Tf(f,s)&&o.every(a=>f.every(_=>a.intersects(_,s)))))}test(r){if(!r)return!1;if(typeof r=="string")try{r=new yE(r,this.options)}catch{return!1}for(let s=0;s<this.set.length;s++)if(DE(this.set[s],r,this.options))return!0;return!1}};Lf.exports=Rn;var mE=If(),bf=new mE({max:1e3}),EE=lr(),hu=gr(),ae=ar(),yE=Ee(),{re:ye,t:_e,comparatorTrimReplace:wE,tildeTrimReplace:xE,caretTrimReplace:AE}=kt(),Cf=i=>i.value==="<0.0.0-0",OE=i=>i.value==="",Tf=(i,r)=>{let s=!0,o=i.slice(),f=o.pop();for(;s&&o.length;)s=o.every(a=>f.intersects(a,r)),f=o.pop();return s},SE=(i,r)=>(ae("comp",i,r),i=bE(i,r),ae("caret",i),i=RE(i,r),ae("tildes",i),i=TE(i,r),ae("xrange",i),i=$E(i,r),ae("stars",i),i),Oe=i=>!i||i.toLowerCase()==="x"||i==="*",RE=(i,r)=>i.trim().split(/\s+/).map(s=>IE(s,r)).join(" "),IE=(i,r)=>{let s=r.loose?ye[_e.TILDELOOSE]:ye[_e.TILDE];return i.replace(s,(o,f,a,_,E)=>{ae("tilde",i,o,f,a,_,E);let y;return Oe(f)?y="":Oe(a)?y=`>=${f}.0.0 <${+f+1}.0.0-0`:Oe(_)?y=`>=${f}.${a}.0 <${f}.${+a+1}.0-0`:E?(ae("replaceTilde pr",E),y=`>=${f}.${a}.${_}-${E} <${f}.${+a+1}.0-0`):y=`>=${f}.${a}.${_} <${f}.${+a+1}.0-0`,ae("tilde return",y),y})},bE=(i,r)=>i.trim().split(/\s+/).map(s=>CE(s,r)).join(" "),CE=(i,r)=>{ae("caret",i,r);let s=r.loose?ye[_e.CARETLOOSE]:ye[_e.CARET],o=r.includePrerelease?"-0":"";return i.replace(s,(f,a,_,E,y)=>{ae("caret",i,f,a,_,E,y);let p;return Oe(a)?p="":Oe(_)?p=`>=${a}.0.0${o} <${+a+1}.0.0-0`:Oe(E)?a==="0"?p=`>=${a}.${_}.0${o} <${a}.${+_+1}.0-0`:p=`>=${a}.${_}.0${o} <${+a+1}.0.0-0`:y?(ae("replaceCaret pr",y),a==="0"?_==="0"?p=`>=${a}.${_}.${E}-${y} <${a}.${_}.${+E+1}-0`:p=`>=${a}.${_}.${E}-${y} <${a}.${+_+1}.0-0`:p=`>=${a}.${_}.${E}-${y} <${+a+1}.0.0-0`):(ae("no pr"),a==="0"?_==="0"?p=`>=${a}.${_}.${E}${o} <${a}.${_}.${+E+1}-0`:p=`>=${a}.${_}.${E}${o} <${a}.${+_+1}.0-0`:p=`>=${a}.${_}.${E} <${+a+1}.0.0-0`),ae("caret return",p),p})},TE=(i,r)=>(ae("replaceXRanges",i,r),i.split(/\s+/).map(s=>LE(s,r)).join(" ")),LE=(i,r)=>{i=i.trim();let s=r.loose?ye[_e.XRANGELOOSE]:ye[_e.XRANGE];return i.replace(s,(o,f,a,_,E,y)=>{ae("xRange",i,o,f,a,_,E,y);let p=Oe(a),A=p||Oe(_),b=A||Oe(E),P=b;return f==="="&&P&&(f=""),y=r.includePrerelease?"-0":"",p?f===">"||f==="<"?o="<0.0.0-0":o="*":f&&P?(A&&(_=0),E=0,f===">"?(f=">=",A?(a=+a+1,_=0,E=0):(_=+_+1,E=0)):f==="<="&&(f="<",A?a=+a+1:_=+_+1),f==="<"&&(y="-0"),o=`${f+a}.${_}.${E}${y}`):A?o=`>=${a}.0.0${y} <${+a+1}.0.0-0`:b&&(o=`>=${a}.${_}.0${y} <${a}.${+_+1}.0-0`),ae("xRange return",o),o})},$E=(i,r)=>(ae("replaceStars",i,r),i.trim().replace(ye[_e.STAR],"")),PE=(i,r)=>(ae("replaceGTE0",i,r),i.trim().replace(ye[r.includePrerelease?_e.GTE0PRE:_e.GTE0],"")),NE=i=>(r,s,o,f,a,_,E,y,p,A,b,P,D)=>(Oe(o)?s="":Oe(f)?s=`>=${o}.0.0${i?"-0":""}`:Oe(a)?s=`>=${o}.${f}.0${i?"-0":""}`:_?s=`>=${s}`:s=`>=${s}${i?"-0":""}`,Oe(p)?y="":Oe(A)?y=`<${+p+1}.0.0-0`:Oe(b)?y=`<${p}.${+A+1}.0-0`:P?y=`<=${p}.${A}.${b}-${P}`:i?y=`<${p}.${A}.${+b+1}-0`:y=`<=${y}`,`${s} ${y}`.trim()),DE=(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(ae(i[o].semver),i[o].semver!==hu.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 gr=T((vx,qf)=>{var dr=Symbol("SemVer ANY"),_r=class{static get ANY(){return dr}constructor(r,s){if(s=qE(s),r instanceof _r){if(r.loose===!!s.loose)return r;r=r.value}gu("comparator",r,s),this.options=s,this.loose=!!s.loose,this.parse(r),this.semver===dr?this.value="":this.value=this.operator+this.semver.version,gu("comp",this)}parse(r){let s=this.options.loose?$f[Pf.COMPARATORLOOSE]:$f[Pf.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 Nf(o[2],this.options.loose):this.semver=dr}toString(){return this.value}test(r){if(gu("Comparator.test",r,this.options.loose),this.semver===dr||r===dr)return!0;if(typeof r=="string")try{r=new Nf(r,this.options)}catch{return!1}return pu(r,this.operator,this.semver,this.options)}intersects(r,s){if(!(r instanceof _r))throw new TypeError("a Comparator is required");if((!s||typeof s!="object")&&(s={loose:!!s,includePrerelease:!1}),this.operator==="")return this.value===""?!0:new Df(r.value,s).test(this.value);if(r.operator==="")return r.value===""?!0:new Df(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==="<"),a=this.semver.version===r.semver.version,_=(this.operator===">="||this.operator==="<=")&&(r.operator===">="||r.operator==="<="),E=pu(this.semver,"<",r.semver,s)&&(this.operator===">="||this.operator===">")&&(r.operator==="<="||r.operator==="<"),y=pu(this.semver,">",r.semver,s)&&(this.operator==="<="||this.operator==="<")&&(r.operator===">="||r.operator===">");return o||f||a&&_||E||y}};qf.exports=_r;var qE=lr(),{re:$f,t:Pf}=kt(),pu=lu(),gu=ar(),Nf=Ee(),Df=Ye()});var vr=T((mx,Ff)=>{var FE=Ye(),ME=(i,r,s)=>{try{r=new FE(r,s)}catch{return!1}return r.test(i)};Ff.exports=ME});var Hf=T((Ex,Mf)=>{var HE=Ye(),WE=(i,r)=>new HE(i,r).set.map(s=>s.map(o=>o.value).join(" ").trim().split(" "));Mf.exports=WE});var Uf=T((yx,Wf)=>{var UE=Ee(),GE=Ye(),BE=(i,r,s)=>{let o=null,f=null,a=null;try{a=new GE(r,s)}catch{return null}return i.forEach(_=>{a.test(_)&&(!o||f.compare(_)===-1)&&(o=_,f=new UE(o,s))}),o};Wf.exports=BE});var Bf=T((wx,Gf)=>{var XE=Ee(),zE=Ye(),VE=(i,r,s)=>{let o=null,f=null,a=null;try{a=new zE(r,s)}catch{return null}return i.forEach(_=>{a.test(_)&&(!o||f.compare(_)===1)&&(o=_,f=new XE(o,s))}),o};Gf.exports=VE});var Vf=T((xx,zf)=>{var du=Ee(),jE=Ye(),Xf=cr(),YE=(i,r)=>{i=new jE(i,r);let s=new du("0.0.0");if(i.test(s)||(s=new du("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],a=null;f.forEach(_=>{let E=new du(_.semver.version);switch(_.operator){case">":E.prerelease.length===0?E.patch++:E.prerelease.push(0),E.raw=E.format();case"":case">=":(!a||Xf(E,a))&&(a=E);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${_.operator}`)}}),a&&(!s||Xf(s,a))&&(s=a)}return s&&i.test(s)?s:null};zf.exports=YE});var Yf=T((Ax,jf)=>{var KE=Ye(),kE=(i,r)=>{try{return new KE(i,r).range||"*"}catch{return null}};jf.exports=kE});var bi=T((Ox,Jf)=>{var ZE=Ee(),Kf=gr(),{ANY:JE}=Kf,QE=Ye(),ey=vr(),kf=cr(),Zf=xi(),ty=Oi(),ny=Ai(),ry=(i,r,s,o)=>{i=new ZE(i,o),r=new QE(r,o);let f,a,_,E,y;switch(s){case">":f=kf,a=ty,_=Zf,E=">",y=">=";break;case"<":f=Zf,a=ny,_=kf,E="<",y="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(ey(i,r,o))return!1;for(let p=0;p<r.set.length;++p){let A=r.set[p],b=null,P=null;if(A.forEach(D=>{D.semver===JE&&(D=new Kf(">=0.0.0")),b=b||D,P=P||D,f(D.semver,b.semver,o)?b=D:_(D.semver,P.semver,o)&&(P=D)}),b.operator===E||b.operator===y||(!P.operator||P.operator===E)&&a(i,P.semver))return!1;if(P.operator===y&&_(i,P.semver))return!1}return!0};Jf.exports=ry});var ec=T((Sx,Qf)=>{var iy=bi(),sy=(i,r,s)=>iy(i,r,">",s);Qf.exports=sy});var nc=T((Rx,tc)=>{var uy=bi(),oy=(i,r,s)=>uy(i,r,"<",s);tc.exports=oy});var sc=T((Ix,ic)=>{var rc=Ye(),ay=(i,r,s)=>(i=new rc(i,s),r=new rc(r,s),i.intersects(r));ic.exports=ay});var oc=T((bx,uc)=>{var ly=vr(),fy=je();uc.exports=(i,r,s)=>{let o=[],f=null,a=null,_=i.sort((A,b)=>fy(A,b,s));for(let A of _)ly(A,r,s)?(a=A,f||(f=A)):(a&&o.push([f,a]),a=null,f=null);f&&o.push([f,null]);let E=[];for(let[A,b]of o)A===b?E.push(A):!b&&A===_[0]?E.push("*"):b?A===_[0]?E.push(`<=${b}`):E.push(`${A} - ${b}`):E.push(`>=${A}`);let y=E.join(" || "),p=typeof r.raw=="string"?r.raw:String(r);return y.length<p.length?y:r}});var hc=T((Cx,cc)=>{var ac=Ye(),Ci=gr(),{ANY:_u}=Ci,mr=vr(),vu=je(),cy=(i,r,s={})=>{if(i===r)return!0;i=new ac(i,s),r=new ac(r,s);let o=!1;e:for(let f of i.set){for(let a of r.set){let _=hy(f,a,s);if(o=o||_!==null,_)continue e}if(o)return!1}return!0},hy=(i,r,s)=>{if(i===r)return!0;if(i.length===1&&i[0].semver===_u){if(r.length===1&&r[0].semver===_u)return!0;s.includePrerelease?i=[new Ci(">=0.0.0-0")]:i=[new Ci(">=0.0.0")]}if(r.length===1&&r[0].semver===_u){if(s.includePrerelease)return!0;r=[new Ci(">=0.0.0")]}let o=new Set,f,a;for(let D of i)D.operator===">"||D.operator===">="?f=lc(f,D,s):D.operator==="<"||D.operator==="<="?a=fc(a,D,s):o.add(D.semver);if(o.size>1)return null;let _;if(f&&a){if(_=vu(f.semver,a.semver,s),_>0)return null;if(_===0&&(f.operator!==">="||a.operator!=="<="))return null}for(let D of o){if(f&&!mr(D,String(f),s)||a&&!mr(D,String(a),s))return null;for(let Re of r)if(!mr(D,String(Re),s))return!1;return!0}let E,y,p,A,b=a&&!s.includePrerelease&&a.semver.prerelease.length?a.semver:!1,P=f&&!s.includePrerelease&&f.semver.prerelease.length?f.semver:!1;b&&b.prerelease.length===1&&a.operator==="<"&&b.prerelease[0]===0&&(b=!1);for(let D of r){if(A=A||D.operator===">"||D.operator===">=",p=p||D.operator==="<"||D.operator==="<=",f){if(P&&D.semver.prerelease&&D.semver.prerelease.length&&D.semver.major===P.major&&D.semver.minor===P.minor&&D.semver.patch===P.patch&&(P=!1),D.operator===">"||D.operator===">="){if(E=lc(f,D,s),E===D&&E!==f)return!1}else if(f.operator===">="&&!mr(f.semver,String(D),s))return!1}if(a){if(b&&D.semver.prerelease&&D.semver.prerelease.length&&D.semver.major===b.major&&D.semver.minor===b.minor&&D.semver.patch===b.patch&&(b=!1),D.operator==="<"||D.operator==="<="){if(y=fc(a,D,s),y===D&&y!==a)return!1}else if(a.operator==="<="&&!mr(a.semver,String(D),s))return!1}if(!D.operator&&(a||f)&&_!==0)return!1}return!(f&&p&&!a&&_!==0||a&&A&&!f&&_!==0||P||b)},lc=(i,r,s)=>{if(!i)return r;let o=vu(i.semver,r.semver,s);return o>0?i:o<0||r.operator===">"&&i.operator===">="?r:i},fc=(i,r,s)=>{if(!i)return r;let o=vu(i.semver,r.semver,s);return o<0?i:o>0||r.operator==="<"&&i.operator==="<="?r:i};cc.exports=cy});var gc=T((Tx,pc)=>{var mu=kt();pc.exports={re:mu.re,src:mu.src,tokens:mu.t,SEMVER_SPEC_VERSION:or().SEMVER_SPEC_VERSION,SemVer:Ee(),compareIdentifiers:vi().compareIdentifiers,rcompareIdentifiers:vi().rcompareIdentifiers,parse:Zt(),valid:Pl(),clean:Dl(),inc:Fl(),diff:Bl(),major:zl(),minor:jl(),patch:Kl(),prerelease:Zl(),compare:je(),rcompare:Ql(),compareLoose:tf(),compareBuild:wi(),sort:uf(),rsort:af(),gt:cr(),lt:xi(),eq:yi(),neq:au(),gte:Ai(),lte:Oi(),cmp:lu(),coerce:_f(),Comparator:gr(),Range:Ye(),satisfies:vr(),toComparators:Hf(),maxSatisfying:Uf(),minSatisfying:Bf(),minVersion:Vf(),validRange:Yf(),outside:bi(),gtr:ec(),ltr:nc(),intersects:sc(),simplifyRange:oc(),subset:hc()}});var at=T(tn=>{"use strict";var dc=tn&&tn.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(tn,"__esModule",{value:!0});tn.getCoreVersion=void 0;var _c=dc(require("path")),vc=dc(require("fs")),py=gc(),gy=require("@serverless-devs/core"),Eu=_c.default.join(gy.getRootHome(),"cache","core"),mc=_c.default.join(Eu,"package.json");function dy(){if(vc.default.existsSync(mc)){var i=require("@serverless-devs/core/package.json").version,r=Ec();return py.gt(r,i)?require(Eu):require("@serverless-devs/core")}return require("@serverless-devs/core")}function Ec(){return vc.default.existsSync(Eu)?require(mc).version:void 0}tn.getCoreVersion=Ec;tn.default=dy()});var yc=T(($x,_y)=>{_y.exports={name:"@serverless-devs/s",version:"2.0.97-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:"npx jest",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.0.1","@types/lodash":"^4.14.168","@types/node":"^14.0.23","@typescript-eslint/eslint-plugin":"^4.14.1","@typescript-eslint/parser":"^4.14.1","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.1.0","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.0.1","ts-node":"^9.1.1","tty-table":"^4.1.5",typescript:"^4.1.3"},"lint-staged":{"**/*.{js,jsx,ts}":"f2elint exec eslint"},jest:{coverageDirectory:"coverage",testEnvironment:"node",coverageProvider:"v8",preset:"ts-jest",testMatch:["**/test/**/*test.[jt]s"],setupFilesAfterEnv:["./jest.setup.ts"]},dependencies:{"@serverless-devs/core":"beta"}}});var yr=T(H=>{"use strict";var vy=H&&H.__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]}),my=H&&H.__setModuleDefault||(Object.create?function(i,r){Object.defineProperty(i,"default",{enumerable:!0,value:r})}:function(i,r){i.default=r}),Ey=H&&H.__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)&&vy(r,i,s);return my(r,i),r},wc=H&&H.__awaiter||function(i,r,s,o){function f(a){return a instanceof s?a:new s(function(_){_(a)})}return new(s||(s=Promise))(function(a,_){function E(A){try{p(o.next(A))}catch(b){_(b)}}function y(A){try{p(o.throw(A))}catch(b){_(b)}}function p(A){A.done?a(A.value):f(A.value).then(E,y)}p((o=o.apply(i,r||[])).next())})},xc=H&&H.__generator||function(i,r){var s={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},o,f,a,_;return _={next:E(0),throw:E(1),return:E(2)},typeof Symbol=="function"&&(_[Symbol.iterator]=function(){return this}),_;function E(p){return function(A){return y([p,A])}}function y(p){if(o)throw new TypeError("Generator is already executing.");for(;s;)try{if(o=1,f&&(a=p[0]&2?f.return:p[0]?f.throw||((a=f.return)&&a.call(f),0):f.next)&&!(a=a.call(f,p[1])).done)return a;switch(f=0,a&&(p=[p[0]&2,a.value]),p[0]){case 0:case 1:a=p;break;case 4:return s.label++,{value:p[1],done:!1};case 5:s.label++,f=p[1],p=[0];continue;case 7:p=s.ops.pop(),s.trys.pop();continue;default:if(a=s.trys,!(a=a.length>0&&a[a.length-1])&&(p[0]===6||p[0]===2)){s=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){s.label=p[1];break}if(p[0]===6&&s.label<a[1]){s.label=a[1],a=p;break}if(a&&s.label<a[2]){s.label=a[2],s.ops.push(p);break}a[2]&&s.ops.pop(),s.trys.pop();continue}p=r.call(i,s)}catch(A){p=[6,A],f=0}finally{o=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},Ti=H&&H.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(H,"__esModule",{value:!0});H.emoji=H.mark=H.replaceTemplate=H.getTemplatekey=H.replaceFun=H.getLang=H.printn=H.checkTemplateFile=H.checkAndReturnTemplateFile=H.yamlLoad=H.getFolderSize=H.getVersion=H.getErrorMessage=H.bgRed=H.yellow=H.red=void 0;var ge=Ti(require("path")),Fe=Ti(require("fs")),yu=Ti(_l()),yy=Ti(require("os")),wy=xu(),In=Ey(at()),Li=In.default.colors,xy=In.default.jsyaml,Ay=In.default.makeUnderLine,Ac=In.default.isDebugMode,Oc=yc();H.red=Li.hex("#fd5750");H.yellow=Li.hex("#F3F99D");H.bgRed=Li.hex("#000").bgHex("#fd5750");var Oy=function(i){var r=Ac?Ac():void 0;if(r){console.log(i);return}var s=i.message?i.message:"";try{var o=JSON.parse(s);console.log("".concat((0,H.bgRed)("ERROR:"),`
|
|
35
35
|
`).concat(o.message,`
|
|
36
36
|
`)),o.tips&&console.log("".concat((0,H.yellow)(Ay(o.tips)),`
|
|
37
37
|
`))}catch{console.log("".concat((0,H.bgRed)("ERROR:"),`
|