forked from babel/babel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.js
3 lines (3 loc) · 108 KB
/
Makefile.js
1
2
3
/* eslint-disable */
// prettier-ignore
"use strict";var e=require("os"),t=require("fs"),r=require("path"),n=require("events"),i=require("assert"),o=require("util"),s=require("child_process");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=c(e),u=c(t),l=c(r),f=c(n),p=c(i),h=c(o),d=c(s),v="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},y=function(e){return e&&e.Math==Math&&e},g=y("object"==typeof globalThis&&globalThis)||y("object"==typeof window&&window)||y("object"==typeof self&&self)||y("object"==typeof v&&v)||function(){return this}()||Function("return this")(),m={},b=function(e){try{return!!e()}catch(e){return!0}},w=!b((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),E=!b((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),S=E,x=Function.prototype.call,O=S?x.bind(x):function(){return x.apply(x,arguments)},k={},j={}.propertyIsEnumerable,_=Object.getOwnPropertyDescriptor,A=_&&!j.call({1:2},1);k.f=A?function(e){var t=_(this,e);return!!t&&t.enumerable}:j;var R,I,F=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},L=E,T=Function.prototype,P=T.call,D=L&&T.bind.bind(P,P),C=L?D:function(e){return function(){return P.apply(e,arguments)}},N=C,M=N({}.toString),G=N("".slice),$=function(e){return G(M(e),8,-1)},B=$,U=C,W=function(e){if("Function"===B(e))return U(e)},q=b,z=$,X=Object,H=W("".split),V=q((function(){return!X("z").propertyIsEnumerable(0)}))?function(e){return"String"==z(e)?H(e,""):X(e)}:X,Y=function(e){return null==e},K=Y,Q=TypeError,J=function(e){if(K(e))throw Q("Can't call method on "+e);return e},Z=V,ee=J,te=function(e){return Z(ee(e))},re="object"==typeof document&&document.all,ne={all:re,IS_HTMLDDA:void 0===re&&void 0!==re},ie=ne.all,oe=ne.IS_HTMLDDA?function(e){return"function"==typeof e||e===ie}:function(e){return"function"==typeof e},se=oe,ce=ne.all,ae=ne.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:se(e)||e===ce}:function(e){return"object"==typeof e?null!==e:se(e)},ue=g,le=oe,fe=function(e){return le(e)?e:void 0},pe=function(e,t){return arguments.length<2?fe(ue[e]):ue[e]&&ue[e][t]},he=W({}.isPrototypeOf),de=pe("navigator","userAgent")||"",ve=g,ye=de,ge=ve.process,me=ve.Deno,be=ge&&ge.versions||me&&me.version,we=be&&be.v8;we&&(I=(R=we.split("."))[0]>0&&R[0]<4?1:+(R[0]+R[1])),!I&&ye&&(!(R=ye.match(/Edge\/(\d+)/))||R[1]>=74)&&(R=ye.match(/Chrome\/(\d+)/))&&(I=+R[1]);var Ee=I,Se=Ee,xe=b,Oe=!!Object.getOwnPropertySymbols&&!xe((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Se&&Se<41})),ke=Oe&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,je=pe,_e=oe,Ae=he,Re=Object,Ie=ke?function(e){return"symbol"==typeof e}:function(e){var t=je("Symbol");return _e(t)&&Ae(t.prototype,Re(e))},Fe=String,Le=function(e){try{return Fe(e)}catch(e){return"Object"}},Te=oe,Pe=Le,De=TypeError,Ce=function(e){if(Te(e))return e;throw De(Pe(e)+" is not a function")},Ne=Ce,Me=Y,Ge=function(e,t){var r=e[t];return Me(r)?void 0:Ne(r)},$e=O,Be=oe,Ue=ae,We=TypeError,qe={exports:{}},ze=g,Xe=Object.defineProperty,He=function(e,t){try{Xe(ze,e,{value:t,configurable:!0,writable:!0})}catch(r){ze[e]=t}return t},Ve=He,Ye=g["__core-js_shared__"]||Ve("__core-js_shared__",{}),Ke=Ye;(qe.exports=function(e,t){return Ke[e]||(Ke[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.26.0",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Qe=J,Je=Object,Ze=function(e){return Je(Qe(e))},et=Ze,tt=W({}.hasOwnProperty),rt=Object.hasOwn||function(e,t){return tt(et(e),t)},nt=W,it=0,ot=Math.random(),st=nt(1..toString),ct=function(e){return"Symbol("+(void 0===e?"":e)+")_"+st(++it+ot,36)},at=g,ut=qe.exports,lt=rt,ft=ct,pt=Oe,ht=ke,dt=ut("wks"),vt=at.Symbol,yt=vt&&vt.for,gt=ht?vt:vt&&vt.withoutSetter||ft,mt=function(e){if(!lt(dt,e)||!pt&&"string"!=typeof dt[e]){var t="Symbol."+e;pt&<(vt,e)?dt[e]=vt[e]:dt[e]=ht&&yt?yt(t):gt(t)}return dt[e]},bt=O,wt=ae,Et=Ie,St=Ge,xt=function(e,t){var r,n;if("string"===t&&Be(r=e.toString)&&!Ue(n=$e(r,e)))return n;if(Be(r=e.valueOf)&&!Ue(n=$e(r,e)))return n;if("string"!==t&&Be(r=e.toString)&&!Ue(n=$e(r,e)))return n;throw We("Can't convert object to primitive value")},Ot=TypeError,kt=mt("toPrimitive"),jt=function(e,t){if(!wt(e)||Et(e))return e;var r,n=St(e,kt);if(n){if(void 0===t&&(t="default"),r=bt(n,e,t),!wt(r)||Et(r))return r;throw Ot("Can't convert object to primitive value")}return void 0===t&&(t="number"),xt(e,t)},_t=Ie,At=function(e){var t=jt(e,"string");return _t(t)?t:t+""},Rt=ae,It=g.document,Ft=Rt(It)&&Rt(It.createElement),Lt=function(e){return Ft?It.createElement(e):{}},Tt=Lt,Pt=!w&&!b((function(){return 7!=Object.defineProperty(Tt("div"),"a",{get:function(){return 7}}).a})),Dt=w,Ct=O,Nt=k,Mt=F,Gt=te,$t=At,Bt=rt,Ut=Pt,Wt=Object.getOwnPropertyDescriptor;m.f=Dt?Wt:function(e,t){if(e=Gt(e),t=$t(t),Ut)try{return Wt(e,t)}catch(e){}if(Bt(e,t))return Mt(!Ct(Nt.f,e,t),e[t])};var qt={},zt=w&&b((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Xt=ae,Ht=String,Vt=TypeError,Yt=function(e){if(Xt(e))return e;throw Vt(Ht(e)+" is not an object")},Kt=w,Qt=Pt,Jt=zt,Zt=Yt,er=At,tr=TypeError,rr=Object.defineProperty,nr=Object.getOwnPropertyDescriptor;qt.f=Kt?Jt?function(e,t,r){if(Zt(e),t=er(t),Zt(r),"function"==typeof e&&"prototype"===t&&"value"in r&&"writable"in r&&!r.writable){var n=nr(e,t);n&&n.writable&&(e[t]=r.value,r={configurable:"configurable"in r?r.configurable:n.configurable,enumerable:"enumerable"in r?r.enumerable:n.enumerable,writable:!1})}return rr(e,t,r)}:rr:function(e,t,r){if(Zt(e),t=er(t),Zt(r),Qt)try{return rr(e,t,r)}catch(e){}if("get"in r||"set"in r)throw tr("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var ir=qt,or=F,sr=w?function(e,t,r){return ir.f(e,t,or(1,r))}:function(e,t,r){return e[t]=r,e},cr={exports:{}},ar=w,ur=rt,lr=Function.prototype,fr=ar&&Object.getOwnPropertyDescriptor,pr=ur(lr,"name"),hr={EXISTS:pr,PROPER:pr&&"something"===function(){}.name,CONFIGURABLE:pr&&(!ar||ar&&fr(lr,"name").configurable)},dr=oe,vr=Ye,yr=W(Function.toString);dr(vr.inspectSource)||(vr.inspectSource=function(e){return yr(e)});var gr,mr,br,wr=vr.inspectSource,Er=oe,Sr=g.WeakMap,xr=Er(Sr)&&/native code/.test(String(Sr)),Or=qe.exports,kr=ct,jr=Or("keys"),_r=function(e){return jr[e]||(jr[e]=kr(e))},Ar={},Rr=xr,Ir=g,Fr=ae,Lr=sr,Tr=rt,Pr=Ye,Dr=_r,Cr=Ar,Nr=Ir.TypeError,Mr=Ir.WeakMap;if(Rr||Pr.state){var Gr=Pr.state||(Pr.state=new Mr);Gr.get=Gr.get,Gr.has=Gr.has,Gr.set=Gr.set,gr=function(e,t){if(Gr.has(e))throw Nr("Object already initialized");return t.facade=e,Gr.set(e,t),t},mr=function(e){return Gr.get(e)||{}},br=function(e){return Gr.has(e)}}else{var $r=Dr("state");Cr[$r]=!0,gr=function(e,t){if(Tr(e,$r))throw Nr("Object already initialized");return t.facade=e,Lr(e,$r,t),t},mr=function(e){return Tr(e,$r)?e[$r]:{}},br=function(e){return Tr(e,$r)}}var Br={set:gr,get:mr,has:br,enforce:function(e){return br(e)?mr(e):gr(e,{})},getterFor:function(e){return function(t){var r;if(!Fr(t)||(r=mr(t)).type!==e)throw Nr("Incompatible receiver, "+e+" required");return r}}},Ur=b,Wr=oe,qr=rt,zr=w,Xr=hr.CONFIGURABLE,Hr=wr,Vr=Br.enforce,Yr=Br.get,Kr=Object.defineProperty,Qr=zr&&!Ur((function(){return 8!==Kr((function(){}),"length",{value:8}).length})),Jr=String(String).split("String"),Zr=cr.exports=function(e,t,r){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!qr(e,"name")||Xr&&e.name!==t)&&(zr?Kr(e,"name",{value:t,configurable:!0}):e.name=t),Qr&&r&&qr(r,"arity")&&e.length!==r.arity&&Kr(e,"length",{value:r.arity});try{r&&qr(r,"constructor")&&r.constructor?zr&&Kr(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=Vr(e);return qr(n,"source")||(n.source=Jr.join("string"==typeof t?t:"")),e};Function.prototype.toString=Zr((function(){return Wr(this)&&Yr(this).source||Hr(this)}),"toString");var en=oe,tn=qt,rn=cr.exports,nn=He,on=function(e,t,r,n){n||(n={});var i=n.enumerable,o=void 0!==n.name?n.name:t;if(en(r)&&rn(r,o,n),n.global)i?e[t]=r:nn(t,r);else{try{n.unsafe?e[t]&&(i=!0):delete e[t]}catch(e){}i?e[t]=r:tn.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},sn={},cn=Math.ceil,an=Math.floor,un=Math.trunc||function(e){var t=+e;return(t>0?an:cn)(t)},ln=function(e){var t=+e;return t!=t||0===t?0:un(t)},fn=ln,pn=Math.max,hn=Math.min,dn=function(e,t){var r=fn(e);return r<0?pn(r+t,0):hn(r,t)},vn=ln,yn=Math.min,gn=function(e){return e>0?yn(vn(e),9007199254740991):0},mn=gn,bn=function(e){return mn(e.length)},wn=te,En=dn,Sn=bn,xn=function(e){return function(t,r,n){var i,o=wn(t),s=Sn(o),c=En(n,s);if(e&&r!=r){for(;s>c;)if((i=o[c++])!=i)return!0}else for(;s>c;c++)if((e||c in o)&&o[c]===r)return e||c||0;return!e&&-1}},On={includes:xn(!0),indexOf:xn(!1)},kn=rt,jn=te,_n=On.indexOf,An=Ar,Rn=W([].push),In=function(e,t){var r,n=jn(e),i=0,o=[];for(r in n)!kn(An,r)&&kn(n,r)&&Rn(o,r);for(;t.length>i;)kn(n,r=t[i++])&&(~_n(o,r)||Rn(o,r));return o},Fn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ln=In,Tn=Fn.concat("length","prototype");sn.f=Object.getOwnPropertyNames||function(e){return Ln(e,Tn)};var Pn={};Pn.f=Object.getOwnPropertySymbols;var Dn=pe,Cn=sn,Nn=Pn,Mn=Yt,Gn=W([].concat),$n=Dn("Reflect","ownKeys")||function(e){var t=Cn.f(Mn(e)),r=Nn.f;return r?Gn(t,r(e)):t},Bn=rt,Un=$n,Wn=m,qn=qt,zn=function(e,t,r){for(var n=Un(t),i=qn.f,o=Wn.f,s=0;s<n.length;s++){var c=n[s];Bn(e,c)||r&&Bn(r,c)||i(e,c,o(t,c))}},Xn=b,Hn=oe,Vn=/#|\.prototype\./,Yn=function(e,t){var r=Qn[Kn(e)];return r==Zn||r!=Jn&&(Hn(t)?Xn(t):!!t)},Kn=Yn.normalize=function(e){return String(e).replace(Vn,".").toLowerCase()},Qn=Yn.data={},Jn=Yn.NATIVE="N",Zn=Yn.POLYFILL="P",ei=Yn,ti=g,ri=m.f,ni=sr,ii=on,oi=He,si=zn,ci=ei,ai=function(e,t){var r,n,i,o,s,c=e.target,a=e.global,u=e.stat;if(r=a?ti:u?ti[c]||oi(c,{}):(ti[c]||{}).prototype)for(n in t){if(o=t[n],i=e.dontCallGetSet?(s=ri(r,n))&&s.value:r[n],!ci(a?n:c+(u?".":"#")+n,e.forced)&&void 0!==i){if(typeof o==typeof i)continue;si(o,i)}(e.sham||i&&i.sham)&&ni(o,"sham",!0),ii(r,n,o,e)}},ui=qt.f,li=rt,fi=mt("toStringTag"),pi=function(e,t,r){e&&!r&&(e=e.prototype),e&&!li(e,fi)&&ui(e,fi,{configurable:!0,value:t})},hi=g,di=pi;ai({global:!0},{Reflect:{}}),di(hi.Reflect,"Reflect",!0);var vi={},yi=In,gi=Fn,mi=Object.keys||function(e){return yi(e,gi)},bi=w,wi=zt,Ei=qt,Si=Yt,xi=te,Oi=mi;vi.f=bi&&!wi?Object.defineProperties:function(e,t){Si(e);for(var r,n=xi(t),i=Oi(t),o=i.length,s=0;o>s;)Ei.f(e,r=i[s++],n[r]);return e};var ki,ji=pe("document","documentElement"),_i=Yt,Ai=vi,Ri=Fn,Ii=Ar,Fi=ji,Li=Lt,Ti=_r("IE_PROTO"),Pi=function(){},Di=function(e){return"<script>"+e+"<\/script>"},Ci=function(e){e.write(Di("")),e.close();var t=e.parentWindow.Object;return e=null,t},Ni=function(){try{ki=new ActiveXObject("htmlfile")}catch(e){}var e,t;Ni="undefined"!=typeof document?document.domain&&ki?Ci(ki):((t=Li("iframe")).style.display="none",Fi.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Di("document.F=Object")),e.close(),e.F):Ci(ki);for(var r=Ri.length;r--;)delete Ni.prototype[Ri[r]];return Ni()};Ii[Ti]=!0;var Mi=Object.create||function(e,t){var r;return null!==e?(Pi.prototype=_i(e),r=new Pi,Pi.prototype=null,r[Ti]=e):r=Ni(),void 0===t?r:Ai.f(r,t)},Gi=mt,$i=Mi,Bi=qt.f,Ui=Gi("unscopables"),Wi=Array.prototype;null==Wi[Ui]&&Bi(Wi,Ui,{configurable:!0,value:$i(null)});var qi,zi,Xi,Hi={},Vi=!b((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Yi=rt,Ki=oe,Qi=Ze,Ji=Vi,Zi=_r("IE_PROTO"),eo=Object,to=eo.prototype,ro=Ji?eo.getPrototypeOf:function(e){var t=Qi(e);if(Yi(t,Zi))return t[Zi];var r=t.constructor;return Ki(r)&&t instanceof r?r.prototype:t instanceof eo?to:null},no=b,io=oe,oo=ae,so=ro,co=on,ao=mt("iterator"),uo=!1;[].keys&&("next"in(Xi=[].keys())?(zi=so(so(Xi)))!==Object.prototype&&(qi=zi):uo=!0);var lo=!oo(qi)||no((function(){var e={};return qi[ao].call(e)!==e}));lo&&(qi={}),io(qi[ao])||co(qi,ao,(function(){return this}));var fo={IteratorPrototype:qi,BUGGY_SAFARI_ITERATORS:uo},po=fo.IteratorPrototype,ho=Mi,vo=F,yo=pi,go=Hi,mo=function(){return this},bo=oe,wo=String,Eo=TypeError,So=W,xo=Yt,Oo=function(e){if("object"==typeof e||bo(e))return e;throw Eo("Can't set "+wo(e)+" as a prototype")},ko=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=So(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return xo(r),Oo(n),t?e(r,n):r.__proto__=n,r}}():void 0),jo=ai,_o=O,Ao=oe,Ro=function(e,t,r,n){var i=t+" Iterator";return e.prototype=ho(po,{next:vo(+!n,r)}),yo(e,i,!1),go[i]=mo,e},Io=ro,Fo=ko,Lo=pi,To=sr,Po=on,Do=Hi,Co=hr.PROPER,No=hr.CONFIGURABLE,Mo=fo.IteratorPrototype,Go=fo.BUGGY_SAFARI_ITERATORS,$o=mt("iterator"),Bo=function(){return this},Uo=te,Wo=function(e){Wi[Ui][e]=!0},qo=Hi,zo=Br,Xo=qt.f,Ho=function(e,t,r,n,i,o,s){Ro(r,t,n);var c,a,u,l=function(e){if(e===i&&v)return v;if(!Go&&e in h)return h[e];switch(e){case"keys":case"values":case"entries":return function(){return new r(this,e)}}return function(){return new r(this)}},f=t+" Iterator",p=!1,h=e.prototype,d=h[$o]||h["@@iterator"]||i&&h[i],v=!Go&&d||l(i),y="Array"==t&&h.entries||d;if(y&&(c=Io(y.call(new e)))!==Object.prototype&&c.next&&(Io(c)!==Mo&&(Fo?Fo(c,Mo):Ao(c[$o])||Po(c,$o,Bo)),Lo(c,f,!0)),Co&&"values"==i&&d&&"values"!==d.name&&(No?To(h,"name","values"):(p=!0,v=function(){return _o(d,this)})),i)if(a={values:l("values"),keys:o?v:l("keys"),entries:l("entries")},s)for(u in a)(Go||p||!(u in h))&&Po(h,u,a[u]);else jo({target:t,proto:!0,forced:Go||p},a);return h[$o]!==v&&Po(h,$o,v,{name:i}),Do[t]=v,a},Vo=function(e,t){return{value:e,done:t}},Yo=w,Ko=zo.set,Qo=zo.getterFor("Array Iterator");Ho(Array,"Array",(function(e,t){Ko(this,{type:"Array Iterator",target:Uo(e),index:0,kind:t})}),(function(){var e=Qo(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,Vo(void 0,!0)):Vo("keys"==r?n:"values"==r?t[n]:[n,t[n]],!1)}),"values");var Jo=qo.Arguments=qo.Array;if(Wo("keys"),Wo("values"),Wo("entries"),Yo&&"values"!==Jo.name)try{Xo(Jo,"name",{value:"values"})}catch(e){}var Zo={};Zo[mt("toStringTag")]="z";var es="[object z]"===String(Zo),ts=oe,rs=$,ns=mt("toStringTag"),is=Object,os="Arguments"==rs(function(){return arguments}()),ss=es?rs:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=is(e),ns))?r:os?rs(t):"Object"==(n=rs(t))&&ts(t.callee)?"Arguments":n},cs=ss,as=String,us=function(e){if("Symbol"===cs(e))throw TypeError("Cannot convert a Symbol value to a string");return as(e)},ls=Yt,fs=function(){var e=ls(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},ps=b,hs=g.RegExp,ds=ps((function(){var e=hs("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),vs=ds||ps((function(){return!hs("a","y").sticky})),ys=ds||ps((function(){var e=hs("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),gs={BROKEN_CARET:ys,MISSED_STICKY:vs,UNSUPPORTED_Y:ds},ms=b,bs=g.RegExp,ws=ms((function(){var e=bs(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),Es=b,Ss=g.RegExp,xs=Es((function(){var e=Ss("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),Os=O,ks=W,js=us,_s=fs,As=gs,Rs=qe.exports,Is=Mi,Fs=Br.get,Ls=ws,Ts=xs,Ps=Rs("native-string-replace",String.prototype.replace),Ds=RegExp.prototype.exec,Cs=Ds,Ns=ks("".charAt),Ms=ks("".indexOf),Gs=ks("".replace),$s=ks("".slice),Bs=function(){var e=/a/,t=/b*/g;return Os(Ds,e,"a"),Os(Ds,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),Us=As.BROKEN_CARET,Ws=void 0!==/()??/.exec("")[1];(Bs||Ws||Us||Ls||Ts)&&(Cs=function(e){var t,r,n,i,o,s,c,a=this,u=Fs(a),l=js(e),f=u.raw;if(f)return f.lastIndex=a.lastIndex,t=Os(Cs,f,l),a.lastIndex=f.lastIndex,t;var p=u.groups,h=Us&&a.sticky,d=Os(_s,a),v=a.source,y=0,g=l;if(h&&(d=Gs(d,"y",""),-1===Ms(d,"g")&&(d+="g"),g=$s(l,a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==Ns(l,a.lastIndex-1))&&(v="(?: "+v+")",g=" "+g,y++),r=new RegExp("^(?:"+v+")",d)),Ws&&(r=new RegExp("^"+v+"$(?!\\s)",d)),Bs&&(n=a.lastIndex),i=Os(Ds,h?r:a,g),h?i?(i.input=$s(i.input,y),i[0]=$s(i[0],y),i.index=a.lastIndex,a.lastIndex+=i[0].length):a.lastIndex=0:Bs&&i&&(a.lastIndex=a.global?i.index+i[0].length:n),Ws&&i&&i.length>1&&Os(Ps,i[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(i[o]=void 0)})),i&&p)for(i.groups=s=Is(null),o=0;o<p.length;o++)s[(c=p[o])[0]]=i[c[1]];return i});var qs=Cs;ai({target:"RegExp",proto:!0,forced:/./.exec!==qs},{exec:qs});var zs=E,Xs=Function.prototype,Hs=Xs.apply,Vs=Xs.call,Ys="object"==typeof Reflect&&Reflect.apply||(zs?Vs.bind(Hs):function(){return Vs.apply(Hs,arguments)}),Ks=W,Qs=on,Js=qs,Zs=b,ec=mt,tc=sr,rc=ec("species"),nc=RegExp.prototype,ic=function(e,t,r,n){var i=ec(e),o=!Zs((function(){var t={};return t[i]=function(){return 7},7!=""[e](t)})),s=o&&!Zs((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[rc]=function(){return r},r.flags="",r[i]=/./[i]),r.exec=function(){return t=!0,null},r[i](""),!t}));if(!o||!s||r){var c=Ks(/./[i]),a=t(i,""[e],(function(e,t,r,n,i){var s=Ks(e),a=t.exec;return a===Js||a===nc.exec?o&&!i?{done:!0,value:c(t,r,n)}:{done:!0,value:s(r,t,n)}:{done:!1}}));Qs(String.prototype,e,a[0]),Qs(nc,i,a[1])}n&&tc(nc[i],"sham",!0)},oc=W,sc=ln,cc=us,ac=J,uc=oc("".charAt),lc=oc("".charCodeAt),fc=oc("".slice),pc=function(e){return function(t,r){var n,i,o=cc(ac(t)),s=sc(r),c=o.length;return s<0||s>=c?e?"":void 0:(n=lc(o,s))<55296||n>56319||s+1===c||(i=lc(o,s+1))<56320||i>57343?e?uc(o,s):n:e?fc(o,s,s+2):i-56320+(n-55296<<10)+65536}},hc={codeAt:pc(!1),charAt:pc(!0)}.charAt,dc=function(e,t,r){return t+(r?hc(e,t).length:1)},vc=W,yc=Ze,gc=Math.floor,mc=vc("".charAt),bc=vc("".replace),wc=vc("".slice),Ec=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Sc=/\$([$&'`]|\d{1,2})/g,xc=function(e,t,r,n,i,o){var s=r+e.length,c=n.length,a=Sc;return void 0!==i&&(i=yc(i),a=Ec),bc(o,a,(function(o,a){var u;switch(mc(a,0)){case"$":return"$";case"&":return e;case"`":return wc(t,0,r);case"'":return wc(t,s);case"<":u=i[wc(a,1,-1)];break;default:var l=+a;if(0===l)return o;if(l>c){var f=gc(l/10);return 0===f?o:f<=c?void 0===n[f-1]?mc(a,1):n[f-1]+mc(a,1):o}u=n[l-1]}return void 0===u?"":u}))},Oc=O,kc=Yt,jc=oe,_c=$,Ac=qs,Rc=TypeError,Ic=function(e,t){var r=e.exec;if(jc(r)){var n=Oc(r,e,t);return null!==n&&kc(n),n}if("RegExp"===_c(e))return Oc(Ac,e,t);throw Rc("RegExp#exec called on incompatible receiver")},Fc=Ys,Lc=O,Tc=W,Pc=ic,Dc=b,Cc=Yt,Nc=oe,Mc=Y,Gc=ln,$c=gn,Bc=us,Uc=J,Wc=dc,qc=Ge,zc=xc,Xc=Ic,Hc=mt("replace"),Vc=Math.max,Yc=Math.min,Kc=Tc([].concat),Qc=Tc([].push),Jc=Tc("".indexOf),Zc=Tc("".slice),ea="$0"==="a".replace(/./,"$0"),ta=!!/./[Hc]&&""===/./[Hc]("a","$0"),ra=!Dc((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}));Pc("replace",(function(e,t,r){var n=ta?"$":"$0";return[function(e,r){var n=Uc(this),i=Mc(e)?void 0:qc(e,Hc);return i?Lc(i,e,n,r):Lc(t,Bc(n),e,r)},function(e,i){var o=Cc(this),s=Bc(e);if("string"==typeof i&&-1===Jc(i,n)&&-1===Jc(i,"$<")){var c=r(t,o,s,i);if(c.done)return c.value}var a=Nc(i);a||(i=Bc(i));var u=o.global;if(u){var l=o.unicode;o.lastIndex=0}for(var f=[];;){var p=Xc(o,s);if(null===p)break;if(Qc(f,p),!u)break;""===Bc(p[0])&&(o.lastIndex=Wc(s,$c(o.lastIndex),l))}for(var h,d="",v=0,y=0;y<f.length;y++){for(var g=Bc((p=f[y])[0]),m=Vc(Yc(Gc(p.index),s.length),0),b=[],w=1;w<p.length;w++)Qc(b,void 0===(h=p[w])?h:String(h));var E=p.groups;if(a){var S=Kc([g],b,m,s);void 0!==E&&Qc(S,E);var x=Bc(Fc(i,void 0,S))}else x=zc(g,s,m,b,E,i);m>=v&&(d+=Zc(s,v,m)+x,v=m+g.length)}return d+Zc(s,v)}]}),!ra||!ea||ta);var na=ae,ia=$,oa=mt("match"),sa=function(e){var t;return na(e)&&(void 0!==(t=e[oa])?!!t:"RegExp"==ia(e))},ca=O,aa=rt,ua=he,la=fs,fa=RegExp.prototype,pa=function(e){var t=e.flags;return void 0!==t||"flags"in fa||aa(e,"flags")||!ua(fa,e)?t:ca(la,e)},ha=ai,da=O,va=W,ya=J,ga=oe,ma=Y,ba=sa,wa=us,Ea=Ge,Sa=pa,xa=xc,Oa=mt("replace"),ka=TypeError,ja=va("".indexOf);va("".replace);var _a=va("".slice),Aa=Math.max,Ra=function(e,t,r){return r>e.length?-1:""===t?r:ja(e,t,r)};ha({target:"String",proto:!0},{replaceAll:function(e,t){var r,n,i,o,s,c,a,u,l=ya(this),f=0,p=0,h="";if(!ma(e)){if(ba(e)&&(r=wa(ya(Sa(e))),!~ja(r,"g")))throw ka("`.replaceAll` does not allow non-global regexes");if(n=Ea(e,Oa))return da(n,e,l,t)}for(i=wa(l),o=wa(e),(s=ga(t))||(t=wa(t)),c=o.length,a=Aa(1,c),f=Ra(i,o,0);-1!==f;)u=s?wa(t(o,f,i)):xa(o,i,f,[],void 0,t),h+=_a(i,p,f)+u,p=f+c,f=Ra(i,o,f+a);return p<i.length&&(h+=_a(i,p)),h}});var Ia=qt.f,Fa=function(e,t,r){r in e||Ia(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})},La=oe,Ta=ae,Pa=ko,Da=function(e,t,r){var n,i;return Pa&&La(n=t.constructor)&&n!==r&&Ta(i=n.prototype)&&i!==r.prototype&&Pa(e,i),e},Ca=us,Na=ae,Ma=sr,Ga=Error,$a=W("".replace),Ba=String(Ga("zxcasd").stack),Ua=/\n\s*at [^:]*:[^\n]*/,Wa=Ua.test(Ba),qa=F,za=!b((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",qa(1,7)),7!==e.stack)})),Xa=pe,Ha=rt,Va=sr,Ya=he,Ka=ko,Qa=zn,Ja=Fa,Za=Da,eu=function(e,t){return void 0===e?arguments.length<2?"":t:Ca(e)},tu=function(e,t){Na(t)&&"cause"in t&&Ma(e,"cause",t.cause)},ru=function(e,t){if(Wa&&"string"==typeof e&&!Ga.prepareStackTrace)for(;t--;)e=$a(e,Ua,"");return e},nu=za,iu=w,ou=ai,su=Ys,cu=function(e,t,r,n){var i="stackTraceLimit",o=n?2:1,s=e.split("."),c=s[s.length-1],a=Xa.apply(null,s);if(a){var u=a.prototype;if(Ha(u,"cause")&&delete u.cause,!r)return a;var l=Xa("Error"),f=t((function(e,t){var r=eu(n?t:e,void 0),i=n?new a(e):new a;return void 0!==r&&Va(i,"message",r),nu&&Va(i,"stack",ru(i.stack,2)),this&&Ya(u,this)&&Za(i,this,f),arguments.length>o&&tu(i,arguments[o]),i}));f.prototype=u,"Error"!==c?Ka?Ka(f,l):Qa(f,l,{name:!0}):iu&&i in a&&(Ja(f,a,i),Ja(f,a,"prepareStackTrace")),Qa(f,a);try{u.name!==c&&Va(u,"name",c),u.constructor=f}catch(e){}return f}},au=g.WebAssembly,uu=7!==Error("e",{cause:7}).cause,lu=function(e,t){var r={};r[e]=cu(e,t,uu),ou({global:!0,constructor:!0,arity:1,forced:uu},r)},fu=function(e,t){if(au&&au[e]){var r={};r[e]=cu("WebAssembly."+e,t,uu),ou({target:"WebAssembly",stat:!0,constructor:!0,arity:1,forced:uu},r)}};lu("Error",(function(e){return function(t){return su(e,this,arguments)}})),lu("EvalError",(function(e){return function(t){return su(e,this,arguments)}})),lu("RangeError",(function(e){return function(t){return su(e,this,arguments)}})),lu("ReferenceError",(function(e){return function(t){return su(e,this,arguments)}})),lu("SyntaxError",(function(e){return function(t){return su(e,this,arguments)}})),lu("TypeError",(function(e){return function(t){return su(e,this,arguments)}})),lu("URIError",(function(e){return function(t){return su(e,this,arguments)}})),fu("CompileError",(function(e){return function(t){return su(e,this,arguments)}})),fu("LinkError",(function(e){return function(t){return su(e,this,arguments)}})),fu("RuntimeError",(function(e){return function(t){return su(e,this,arguments)}}));var pu=Ce,hu=E,du=W(W.bind),vu=$,yu=Array.isArray||function(e){return"Array"==vu(e)},gu=W,mu=b,bu=oe,wu=ss,Eu=wr,Su=function(){},xu=[],Ou=pe("Reflect","construct"),ku=/^\s*(?:class|function)\b/,ju=gu(ku.exec),_u=!ku.exec(Su),Au=function(e){if(!bu(e))return!1;try{return Ou(Su,xu,e),!0}catch(e){return!1}},Ru=function(e){if(!bu(e))return!1;switch(wu(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return _u||!!ju(ku,Eu(e))}catch(e){return!0}};Ru.sham=!0;var Iu=!Ou||mu((function(){var e;return Au(Au.call)||!Au(Object)||!Au((function(){e=!0}))||e}))?Ru:Au,Fu=yu,Lu=Iu,Tu=ae,Pu=mt("species"),Du=Array,Cu=function(e){var t;return Fu(e)&&(t=e.constructor,(Lu(t)&&(t===Du||Fu(t.prototype))||Tu(t)&&null===(t=t[Pu]))&&(t=void 0)),void 0===t?Du:t},Nu=function(e,t){return new(Cu(e))(0===t?0:t)},Mu=function(e,t){return pu(e),void 0===t?e:hu?du(e,t):function(){return e.apply(t,arguments)}},Gu=V,$u=Ze,Bu=bn,Uu=Nu,Wu=W([].push),qu=function(e){var t=1==e,r=2==e,n=3==e,i=4==e,o=6==e,s=7==e,c=5==e||o;return function(a,u,l,f){for(var p,h,d=$u(a),v=Gu(d),y=Mu(u,l),g=Bu(v),m=0,b=f||Uu,w=t?b(a,g):r||s?b(a,0):void 0;g>m;m++)if((c||m in v)&&(h=y(p=v[m],m,d),e))if(t)w[m]=h;else if(h)switch(e){case 3:return!0;case 5:return p;case 6:return m;case 2:Wu(w,p)}else switch(e){case 4:return!1;case 7:Wu(w,p)}return o?-1:n||i?i:w}},zu={forEach:qu(0),map:qu(1),filter:qu(2),some:qu(3),every:qu(4),find:qu(5),findIndex:qu(6),filterReject:qu(7)},Xu=b,Hu=Ee,Vu=mt("species"),Yu=function(e){return Hu>=51||!Xu((function(){var t=[];return(t.constructor={})[Vu]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},Ku=zu.map;ai({target:"Array",proto:!0,forced:!Yu("map")},{map:function(e){return Ku(this,e,arguments.length>1?arguments[1]:void 0)}});var Qu,Ju,Zu=ai,el=O,tl=oe,rl=Yt,nl=us,il=(Qu=!1,(Ju=/[ac]/).exec=function(){return Qu=!0,/./.exec.apply(this,arguments)},!0===Ju.test("abc")&&Qu),ol=/./.test;Zu({target:"RegExp",proto:!0,forced:!il},{test:function(e){var t=rl(this),r=nl(e),n=t.exec;if(!tl(n))return el(ol,t,r);var i=el(n,t,r);return null!==i&&(rl(i),!0)}});var sl=J,cl=us,al=W("".replace),ul="[\t\n\v\f\r \u2028\u2029\ufeff]",ll=RegExp("^"+ul+ul+"*"),fl=RegExp(ul+ul+"*$"),pl=function(e){return function(t){var r=cl(sl(t));return 1&e&&(r=al(r,ll,"")),2&e&&(r=al(r,fl,"")),r}},hl={start:pl(1),end:pl(2),trim:pl(3)},dl=hr.PROPER,vl=b,yl="\t\n\v\f\r \u2028\u2029\ufeff",gl=function(e){return vl((function(){return!!yl[e]()||"
"!=="
"[e]()||dl&&yl[e].name!==e}))},ml=hl.trim;ai({target:"String",proto:!0,forced:gl("trim")},{trim:function(){return ml(this)}});var bl=At,wl=qt,El=F,Sl=function(e,t,r){var n=bl(t);n in e?wl.f(e,n,El(0,r)):e[n]=r},xl=W([].slice),Ol=ai,kl=yu,jl=Iu,_l=ae,Al=dn,Rl=bn,Il=te,Fl=Sl,Ll=mt,Tl=xl,Pl=Yu("slice"),Dl=Ll("species"),Cl=Array,Nl=Math.max;Ol({target:"Array",proto:!0,forced:!Pl},{slice:function(e,t){var r,n,i,o=Il(this),s=Rl(o),c=Al(e,s),a=Al(void 0===t?s:t,s);if(kl(o)&&(r=o.constructor,(jl(r)&&(r===Cl||kl(r.prototype))||_l(r)&&null===(r=r[Dl]))&&(r=void 0),r===Cl||void 0===r))return Tl(o,c,a);for(n=new(void 0===r?Cl:r)(Nl(a-c,0)),i=0;c<a;c++,i++)c in o&&Fl(n,i,o[c]);return n.length=i,n}});var Ml=b,Gl=function(e,t){var r=[][e];return!!r&&Ml((function(){r.call(null,t||function(){return 1},1)}))},$l=ai,Bl=On.indexOf,Ul=Gl,Wl=W([].indexOf),ql=!!Wl&&1/Wl([1],1,-0)<0,zl=Ul("indexOf");$l({target:"Array",proto:!0,forced:ql||!zl},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return ql?Wl(this,e,t)||0:Bl(this,e,t)}});var Xl=w,Hl=yu,Vl=TypeError,Yl=Object.getOwnPropertyDescriptor,Kl=Xl&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}()?function(e,t){if(Hl(e)&&!Yl(e,"length").writable)throw Vl("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t},Ql=TypeError,Jl=function(e){if(e>9007199254740991)throw Ql("Maximum allowed index exceeded");return e},Zl=ai,ef=Ze,tf=bn,rf=Kl,nf=Jl,of=b((function(){return 4294967297!==[].push.call({length:4294967296},1)})),sf=!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}();Zl({target:"Array",proto:!0,arity:1,forced:of||sf},{push:function(e){var t=ef(this),r=tf(t),n=arguments.length;nf(r+n);for(var i=0;i<n;i++)t[r]=arguments[i],r++;return rf(t,r),r}});var cf=ai,af=b,uf=yu,lf=ae,ff=Ze,pf=bn,hf=Jl,df=Sl,vf=Nu,yf=Yu,gf=Ee,mf=mt("isConcatSpreadable"),bf=gf>=51||!af((function(){var e=[];return e[mf]=!1,e.concat()[0]!==e})),wf=yf("concat"),Ef=function(e){if(!lf(e))return!1;var t=e[mf];return void 0!==t?!!t:uf(e)};cf({target:"Array",proto:!0,arity:1,forced:!bf||!wf},{concat:function(e){var t,r,n,i,o,s=ff(this),c=vf(s,0),a=0;for(t=-1,n=arguments.length;t<n;t++)if(Ef(o=-1===t?s:arguments[t]))for(i=pf(o),hf(a+i),r=0;r<i;r++,a++)r in o&&df(c,a,o[r]);else hf(a+1),df(c,a++,o);return c.length=a,c}});var Sf=Le,xf=TypeError,Of=function(e,t){if(!delete e[t])throw xf("Cannot delete property "+Sf(t)+" of "+Sf(e))},kf=ai,jf=Ze,_f=bn,Af=Kl,Rf=Of,If=Jl,Ff=1!==[].unshift(0),Lf=!function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(e){return e instanceof TypeError}}();kf({target:"Array",proto:!0,arity:1,forced:Ff||Lf},{unshift:function(e){var t=jf(this),r=_f(t),n=arguments.length;if(n){If(r+n);for(var i=r;i--;){var o=i+n;i in t?t[o]=t[i]:Rf(t,o)}for(var s=0;s<n;s++)t[s]=arguments[s]}return Af(t,r+n)}});var Tf={},Pf=O,Df=Yt,Cf=Y,Nf=gn,Mf=us,Gf=J,$f=Ge,Bf=dc,Uf=Ic;ic("match",(function(e,t,r){return[function(t){var r=Gf(this),n=Cf(t)?void 0:$f(t,e);return n?Pf(n,t,r):new RegExp(t)[e](Mf(r))},function(e){var n=Df(this),i=Mf(e),o=r(t,n,i);if(o.done)return o.value;if(!n.global)return Uf(n,i);var s=n.unicode;n.lastIndex=0;for(var c,a=[],u=0;null!==(c=Uf(n,i));){var l=Mf(c[0]);a[u]=l,""===l&&(n.lastIndex=Bf(i,Nf(n.lastIndex),s)),u++}return 0===u?null:a}]}));var Wf,qf,zf,Xf={};function Hf(){if(Wf)return Xf;Wf=1;var e=l.default,t="win32"===process.platform,r=u.default,n=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function i(e){return"function"==typeof e?e:function(){var e;if(n){var t=new Error;e=function(e){e&&(t.message=e.message,r(e=t))}}else e=r;return e;function r(e){if(e){if(process.throwDeprecation)throw e;if(!process.noDeprecation){var t="fs: missing callback "+(e.stack||e.message);process.traceDeprecation?console.trace(t):console.error(t)}}}}()}if(e.normalize,t)var o=/(.*?)(?:[\/\\]+|$)/g;else o=/(.*?)(?:[\/]+|$)/g;if(t)var s=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/;else s=/^[\/]*/;return Xf.realpathSync=function(n,i){if(n=e.resolve(n),i&&Object.prototype.hasOwnProperty.call(i,n))return i[n];var c,a,u,l,f=n,p={},h={};function d(){var e=s.exec(n);c=e[0].length,a=e[0],u=e[0],l="",t&&!h[u]&&(r.lstatSync(u),h[u]=!0)}for(d();c<n.length;){o.lastIndex=c;var v=o.exec(n);if(l=a,a+=v[0],u=l+v[1],c=o.lastIndex,!(h[u]||i&&i[u]===u)){var y;if(i&&Object.prototype.hasOwnProperty.call(i,u))y=i[u];else{var g=r.lstatSync(u);if(!g.isSymbolicLink()){h[u]=!0,i&&(i[u]=u);continue}var m=null;if(!t){var b=g.dev.toString(32)+":"+g.ino.toString(32);p.hasOwnProperty(b)&&(m=p[b])}null===m&&(r.statSync(u),m=r.readlinkSync(u)),y=e.resolve(l,m),i&&(i[u]=y),t||(p[b]=m)}n=e.resolve(y,n.slice(c)),d()}}return i&&(i[f]=n),n},Xf.realpath=function(n,c,a){if("function"!=typeof a&&(a=i(c),c=null),n=e.resolve(n),c&&Object.prototype.hasOwnProperty.call(c,n))return process.nextTick(a.bind(null,null,c[n]));var u,l,f,p,h=n,d={},v={};function y(){var e=s.exec(n);u=e[0].length,l=e[0],f=e[0],p="",t&&!v[f]?r.lstat(f,(function(e){if(e)return a(e);v[f]=!0,g()})):process.nextTick(g)}function g(){if(u>=n.length)return c&&(c[h]=n),a(null,n);o.lastIndex=u;var e=o.exec(n);return p=l,l+=e[0],f=p+e[1],u=o.lastIndex,v[f]||c&&c[f]===f?process.nextTick(g):c&&Object.prototype.hasOwnProperty.call(c,f)?w(c[f]):r.lstat(f,m)}function m(e,n){if(e)return a(e);if(!n.isSymbolicLink())return v[f]=!0,c&&(c[f]=f),process.nextTick(g);if(!t){var i=n.dev.toString(32)+":"+n.ino.toString(32);if(d.hasOwnProperty(i))return b(null,d[i],f)}r.stat(f,(function(e){if(e)return a(e);r.readlink(f,(function(e,r){t||(d[i]=r),b(e,r)}))}))}function b(t,r,n){if(t)return a(t);var i=e.resolve(p,r);c&&(c[n]=i),w(i)}function w(t){n=e.resolve(t,n.slice(u)),y()}y()},Xf}function Vf(){if(zf)return qf;zf=1,qf=c,c.realpath=c,c.sync=a,c.realpathSync=a,c.monkeypatch=function(){e.realpath=c,e.realpathSync=a},c.unmonkeypatch=function(){e.realpath=t,e.realpathSync=r};var e=u.default,t=e.realpath,r=e.realpathSync,n=process.version,i=/^v[0-5]\./.test(n),o=Hf();function s(e){return e&&"realpath"===e.syscall&&("ELOOP"===e.code||"ENOMEM"===e.code||"ENAMETOOLONG"===e.code)}function c(e,r,n){if(i)return t(e,r,n);"function"==typeof r&&(n=r,r=null),t(e,r,(function(t,i){s(t)?o.realpath(e,r,n):n(t,i)}))}function a(e,t){if(i)return r(e,t);try{return r(e,t)}catch(r){if(s(r))return o.realpathSync(e,t);throw r}}return qf}var Yf=zu.filter;ai({target:"Array",proto:!0,forced:!Yu("filter")},{filter:function(e){return Yf(this,e,arguments.length>1?arguments[1]:void 0)}});var Kf=Iu,Qf=Le,Jf=TypeError,Zf=Yt,ep=function(e){if(Kf(e))return e;throw Jf(Qf(e)+" is not a constructor")},tp=Y,rp=mt("species"),np=dn,ip=bn,op=Sl,sp=Array,cp=Math.max,ap=function(e,t,r){for(var n=ip(e),i=np(t,n),o=np(void 0===r?n:r,n),s=sp(cp(o-i,0)),c=0;i<o;i++,c++)op(s,c,e[i]);return s.length=c,s},up=Ys,lp=O,fp=W,pp=ic,hp=Yt,dp=Y,vp=sa,yp=J,gp=function(e,t){var r,n=Zf(e).constructor;return void 0===n||tp(r=Zf(n)[rp])?t:ep(r)},mp=dc,bp=gn,wp=us,Ep=Ge,Sp=ap,xp=Ic,Op=qs,kp=b,jp=gs.UNSUPPORTED_Y,_p=Math.min,Ap=[].push,Rp=fp(/./.exec),Ip=fp(Ap),Fp=fp("".slice),Lp=!kp((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));pp("split",(function(e,t,r){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,r){var n=wp(yp(this)),i=void 0===r?4294967295:r>>>0;if(0===i)return[];if(void 0===e)return[n];if(!vp(e))return lp(t,n,e,i);for(var o,s,c,a=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),l=0,f=new RegExp(e.source,u+"g");(o=lp(Op,f,n))&&!((s=f.lastIndex)>l&&(Ip(a,Fp(n,l,o.index)),o.length>1&&o.index<n.length&&up(Ap,a,Sp(o,1)),c=o[0].length,l=s,a.length>=i));)f.lastIndex===o.index&&f.lastIndex++;return l===n.length?!c&&Rp(f,"")||Ip(a,""):Ip(a,Fp(n,l)),a.length>i?Sp(a,0,i):a}:"0".split(void 0,0).length?function(e,r){return void 0===e&&0===r?[]:lp(t,this,e,r)}:t,[function(t,r){var i=yp(this),o=dp(t)?void 0:Ep(t,e);return o?lp(o,t,i,r):lp(n,wp(i),t,r)},function(e,i){var o=hp(this),s=wp(e),c=r(n,o,s,i,n!==t);if(c.done)return c.value;var a=gp(o,RegExp),u=o.unicode,l=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(jp?"g":"y"),f=new a(jp?"^(?:"+o.source+")":o,l),p=void 0===i?4294967295:i>>>0;if(0===p)return[];if(0===s.length)return null===xp(f,s)?[s]:[];for(var h=0,d=0,v=[];d<s.length;){f.lastIndex=jp?0:d;var y,g=xp(f,jp?Fp(s,d):s);if(null===g||(y=_p(bp(f.lastIndex+(jp?d:0)),s.length))===h)d=mp(s,d,u);else{if(Ip(v,Fp(s,h,d)),v.length===p)return v;for(var m=1;m<=g.length-1;m++)if(Ip(v,g[m]),v.length===p)return v;d=h=y}}return Ip(v,Fp(s,h)),v}]}),!Lp,jp);var Tp=pe,Pp=qt,Dp=w,Cp=mt("species"),Np=w,Mp=g,Gp=W,$p=ei,Bp=Da,Up=sr,Wp=sn.f,qp=he,zp=sa,Xp=us,Hp=pa,Vp=gs,Yp=Fa,Kp=on,Qp=b,Jp=rt,Zp=Br.enforce,eh=function(e){var t=Tp(e),r=Pp.f;Dp&&t&&!t[Cp]&&r(t,Cp,{configurable:!0,get:function(){return this}})},th=ws,rh=xs,nh=mt("match"),ih=Mp.RegExp,oh=ih.prototype,sh=Mp.SyntaxError,ch=Gp(oh.exec),ah=Gp("".charAt),uh=Gp("".replace),lh=Gp("".indexOf),fh=Gp("".slice),ph=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,hh=/a/g,dh=/a/g,vh=new ih(hh)!==hh,yh=Vp.MISSED_STICKY,gh=Vp.UNSUPPORTED_Y,mh=Np&&(!vh||yh||th||rh||Qp((function(){return dh[nh]=!1,ih(hh)!=hh||ih(dh)==dh||"/a/i"!=ih(hh,"i")})));if($p("RegExp",mh)){for(var bh=function(e,t){var r,n,i,o,s,c,a=qp(oh,this),u=zp(e),l=void 0===t,f=[],p=e;if(!a&&u&&l&&e.constructor===bh)return e;if((u||qp(oh,e))&&(e=e.source,l&&(t=Hp(p))),e=void 0===e?"":Xp(e),t=void 0===t?"":Xp(t),p=e,th&&"dotAll"in hh&&(n=!!t&&lh(t,"s")>-1)&&(t=uh(t,/s/g,"")),r=t,yh&&"sticky"in hh&&(i=!!t&&lh(t,"y")>-1)&&gh&&(t=uh(t,/y/g,"")),rh&&(o=function(e){for(var t,r=e.length,n=0,i="",o=[],s={},c=!1,a=!1,u=0,l="";n<=r;n++){if("\\"===(t=ah(e,n)))t+=ah(e,++n);else if("]"===t)c=!1;else if(!c)switch(!0){case"["===t:c=!0;break;case"("===t:ch(ph,fh(e,n+1))&&(n+=2,a=!0),i+=t,u++;continue;case">"===t&&a:if(""===l||Jp(s,l))throw new sh("Invalid capture group name");s[l]=!0,o[o.length]=[l,u],a=!1,l="";continue}a?l+=t:i+=t}return[i,o]}(e),e=o[0],f=o[1]),s=Bp(ih(e,t),a?this:oh,bh),(n||i||f.length)&&(c=Zp(s),n&&(c.dotAll=!0,c.raw=bh(function(e){for(var t,r=e.length,n=0,i="",o=!1;n<=r;n++)"\\"!==(t=ah(e,n))?o||"."!==t?("["===t?o=!0:"]"===t&&(o=!1),i+=t):i+="[\\s\\S]":i+=t+ah(e,++n);return i}(e),r)),i&&(c.sticky=!0),f.length&&(c.groups=f)),e!==p)try{Up(s,"source",""===p?"(?:)":p)}catch(e){}return s},wh=Wp(ih),Eh=0;wh.length>Eh;)Yp(bh,ih,wh[Eh++]);oh.constructor=bh,bh.prototype=oh,Kp(Mp,"RegExp",bh,{constructor:!0})}eh("RegExp");var Sh,xh,Oh,kh,jh,_h,Ah,Rh,Ih=cr.exports,Fh=qt,Lh=w,Th=ws,Ph=$,Dh=function(e,t,r){return r.get&&Ih(r.get,t,{getter:!0}),r.set&&Ih(r.set,t,{setter:!0}),Fh.f(e,t,r)},Ch=Br.get,Nh=RegExp.prototype,Mh=TypeError;function Gh(){if(xh)return Sh;xh=1,Sh=function(t,r){for(var n=[],i=0;i<t.length;i++){var o=r(t[i],i);e(o)?n.push.apply(n,o):n.push(o)}return n};var e=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};return Sh}function $h(){if(_h)return jh;_h=1;var e=Gh(),t=function(){if(kh)return Oh;function e(e,n,i){e instanceof RegExp&&(e=t(e,i)),n instanceof RegExp&&(n=t(n,i));var o=r(e,n,i);return o&&{start:o[0],end:o[1],pre:i.slice(0,o[0]),body:i.slice(o[0]+e.length,o[1]),post:i.slice(o[1]+n.length)}}function t(e,t){var r=t.match(e);return r?r[0]:null}function r(e,t,r){var n,i,o,s,c,a=r.indexOf(e),u=r.indexOf(t,a+1),l=a;if(a>=0&&u>0){for(n=[],o=r.length;l>=0&&!c;)l==a?(n.push(l),a=r.indexOf(e,l+1)):1==n.length?c=[n.pop(),u]:((i=n.pop())<o&&(o=i,s=u),u=r.indexOf(t,l+1)),l=a<u&&a>=0?a:u;n.length&&(c=[o,s])}return c}return kh=1,Oh=e,e.range=r,Oh}();jh=function(e){if(!e)return[];"{}"===e.substr(0,2)&&(e="\\{\\}"+e.substr(2));return d(function(e){return e.split("\\\\").join(r).split("\\{").join(n).split("\\}").join(i).split("\\,").join(o).split("\\.").join(s)}(e),!0).map(a)};var r="\0SLASH"+Math.random()+"\0",n="\0OPEN"+Math.random()+"\0",i="\0CLOSE"+Math.random()+"\0",o="\0COMMA"+Math.random()+"\0",s="\0PERIOD"+Math.random()+"\0";function c(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function a(e){return e.split(r).join("\\").split(n).join("{").split(i).join("}").split(o).join(",").split(s).join(".")}function u(e){if(!e)return[""];var r=[],n=t("{","}",e);if(!n)return e.split(",");var i=n.pre,o=n.body,s=n.post,c=i.split(",");c[c.length-1]+="{"+o+"}";var a=u(s);return s.length&&(c[c.length-1]+=a.shift(),c.push.apply(c,a)),r.push.apply(r,c),r}function l(e){return"{"+e+"}"}function f(e){return/^-?0\d/.test(e)}function p(e,t){return e<=t}function h(e,t){return e>=t}function d(r,n){var o=[],s=t("{","}",r);if(!s||/\$$/.test(s.pre))return[r];var a,v=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(s.body),y=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(s.body),g=v||y,m=s.body.indexOf(",")>=0;if(!g&&!m)return s.post.match(/,.*\}/)?d(r=s.pre+"{"+s.body+i+s.post):[r];if(g)a=s.body.split(/\.\./);else if(1===(a=u(s.body)).length&&1===(a=d(a[0],!1).map(l)).length)return(E=s.post.length?d(s.post,!1):[""]).map((function(e){return s.pre+a[0]+e}));var b,w=s.pre,E=s.post.length?d(s.post,!1):[""];if(g){var S=c(a[0]),x=c(a[1]),O=Math.max(a[0].length,a[1].length),k=3==a.length?Math.abs(c(a[2])):1,j=p;x<S&&(k*=-1,j=h);var _=a.some(f);b=[];for(var A=S;j(A,x);A+=k){var R;if(y)"\\"===(R=String.fromCharCode(A))&&(R="");else if(R=String(A),_){var I=O-R.length;if(I>0){var F=new Array(I+1).join("0");R=A<0?"-"+F+R.slice(1):F+R}}b.push(R)}}else b=e(a,(function(e){return d(e,!1)}));for(var L=0;L<b.length;L++)for(var T=0;T<E.length;T++){var P=w+b[L]+E[T];(!n||g||P)&&o.push(P)}return o}return jh}function Bh(){if(Rh)return Ah;Rh=1,Ah=u,u.Minimatch=l;var e=function(){try{return require("path")}catch(e){}}()||{sep:"/"};u.sep=e.sep;var t=u.GLOBSTAR=l.GLOBSTAR={},r=$h(),n={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},i="[^/]",o="[^/]*?",s="().*{}+?[]^$\\!".split("").reduce((function(e,t){return e[t]=!0,e}),{});var c=/\/+/;function a(e,t){t=t||{};var r={};return Object.keys(e).forEach((function(t){r[t]=e[t]})),Object.keys(t).forEach((function(e){r[e]=t[e]})),r}function u(e,t,r){return p(t),r||(r={}),!(!r.nocomment&&"#"===t.charAt(0))&&new l(t,r).match(e)}function l(t,r){if(!(this instanceof l))return new l(t,r);p(t),r||(r={}),t=t.trim(),r.allowWindowsEscape||"/"===e.sep||(t=t.split(e.sep).join("/")),this.options=r,this.set=[],this.pattern=t,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!r.partial,this.make()}function f(e,t){return t||(t=this instanceof l?this.options:{}),e=void 0===e?this.pattern:e,p(e),t.nobrace||!/\{(?:(?!\{).)*\}/.test(e)?[e]:r(e)}u.filter=function(e,t){return t=t||{},function(r,n,i){return u(r,e,t)}},u.defaults=function(e){if(!e||"object"!=typeof e||!Object.keys(e).length)return u;var t=u,r=function(r,n,i){return t(r,n,a(e,i))};return(r.Minimatch=function(r,n){return new t.Minimatch(r,a(e,n))}).defaults=function(r){return t.defaults(a(e,r)).Minimatch},r.filter=function(r,n){return t.filter(r,a(e,n))},r.defaults=function(r){return t.defaults(a(e,r))},r.makeRe=function(r,n){return t.makeRe(r,a(e,n))},r.braceExpand=function(r,n){return t.braceExpand(r,a(e,n))},r.match=function(r,n,i){return t.match(r,n,a(e,i))},r},l.defaults=function(e){return u.defaults(e).Minimatch},l.prototype.debug=function(){},l.prototype.make=function(){var e=this.pattern,t=this.options;if(!t.nocomment&&"#"===e.charAt(0))return void(this.comment=!0);if(!e)return void(this.empty=!0);this.parseNegate();var r=this.globSet=this.braceExpand();t.debug&&(this.debug=function(){console.error.apply(console,arguments)});this.debug(this.pattern,r),r=this.globParts=r.map((function(e){return e.split(c)})),this.debug(this.pattern,r),r=r.map((function(e,t,r){return e.map(this.parse,this)}),this),this.debug(this.pattern,r),r=r.filter((function(e){return-1===e.indexOf(!1)})),this.debug(this.pattern,r),this.set=r},l.prototype.parseNegate=function(){var e=this.pattern,t=!1,r=this.options,n=0;if(r.nonegate)return;for(var i=0,o=e.length;i<o&&"!"===e.charAt(i);i++)t=!t,n++;n&&(this.pattern=e.substr(n));this.negate=t},u.braceExpand=function(e,t){return f(e,t)},l.prototype.braceExpand=f;var p=function(e){if("string"!=typeof e)throw new TypeError("invalid pattern");if(e.length>65536)throw new TypeError("pattern is too long")};l.prototype.parse=function(e,r){p(e);var c=this.options;if("**"===e){if(!c.noglobstar)return t;e="*"}if(""===e)return"";var a,u="",l=!!c.nocase,f=!1,d=[],v=[],y=!1,g=-1,m=-1,b="."===e.charAt(0)?"":c.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",w=this;function E(){if(a){switch(a){case"*":u+=o,l=!0;break;case"?":u+=i,l=!0;break;default:u+="\\"+a}w.debug("clearStateChar %j %j",a,u),a=!1}}for(var S,x=0,O=e.length;x<O&&(S=e.charAt(x));x++)if(this.debug("%s\t%s %s %j",e,x,u,S),f&&s[S])u+="\\"+S,f=!1;else switch(S){case"/":return!1;case"\\":E(),f=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",e,x,u,S),y){this.debug(" in class"),"!"===S&&x===m+1&&(S="^"),u+=S;continue}w.debug("call clearStateChar %j",a),E(),a=S,c.noext&&E();continue;case"(":if(y){u+="(";continue}if(!a){u+="\\(";continue}d.push({type:a,start:x-1,reStart:u.length,open:n[a].open,close:n[a].close}),u+="!"===a?"(?:(?!(?:":"(?:",this.debug("plType %j %j",a,u),a=!1;continue;case")":if(y||!d.length){u+="\\)";continue}E(),l=!0;var k=d.pop();u+=k.close,"!"===k.type&&v.push(k),k.reEnd=u.length;continue;case"|":if(y||!d.length||f){u+="\\|",f=!1;continue}E(),u+="|";continue;case"[":if(E(),y){u+="\\"+S;continue}y=!0,m=x,g=u.length,u+=S;continue;case"]":if(x===m+1||!y){u+="\\"+S,f=!1;continue}var j=e.substring(m+1,x);try{RegExp("["+j+"]")}catch(e){var _=this.parse(j,h);u=u.substr(0,g)+"\\["+_[0]+"\\]",l=l||_[1],y=!1;continue}l=!0,y=!1,u+=S;continue;default:E(),f?f=!1:!s[S]||"^"===S&&y||(u+="\\"),u+=S}y&&(j=e.substr(m+1),_=this.parse(j,h),u=u.substr(0,g)+"\\["+_[0],l=l||_[1]);for(k=d.pop();k;k=d.pop()){var A=u.slice(k.reStart+k.open.length);this.debug("setting tail",u,k),A=A.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(e,t,r){return r||(r="\\"),t+t+r+"|"})),this.debug("tail=%j\n %s",A,A,k,u);var R="*"===k.type?o:"?"===k.type?i:"\\"+k.type;l=!0,u=u.slice(0,k.reStart)+R+"\\("+A}E(),f&&(u+="\\\\");var I=!1;switch(u.charAt(0)){case"[":case".":case"(":I=!0}for(var F=v.length-1;F>-1;F--){var L=v[F],T=u.slice(0,L.reStart),P=u.slice(L.reStart,L.reEnd-8),D=u.slice(L.reEnd-8,L.reEnd),C=u.slice(L.reEnd);D+=C;var N=T.split("(").length-1,M=C;for(x=0;x<N;x++)M=M.replace(/\)[+*?]?/,"");var G="";""===(C=M)&&r!==h&&(G="$"),u=T+P+C+G+D}""!==u&&l&&(u="(?=.)"+u);I&&(u=b+u);if(r===h)return[u,l];if(!l)return function(e){return e.replace(/\\(.)/g,"$1")}(e);var $=c.nocase?"i":"";try{var B=new RegExp("^"+u+"$",$)}catch(e){return new RegExp("$.")}return B._glob=e,B._src=u,B};var h={};return u.makeRe=function(e,t){return new l(e,t||{}).makeRe()},l.prototype.makeRe=function(){if(this.regexp||!1===this.regexp)return this.regexp;var e=this.set;if(!e.length)return this.regexp=!1,this.regexp;var r=this.options,n=r.noglobstar?o:r.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",i=r.nocase?"i":"",s=e.map((function(e){return e.map((function(e){return e===t?n:"string"==typeof e?function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(e):e._src})).join("\\/")})).join("|");s="^(?:"+s+")$",this.negate&&(s="^(?!"+s+").*$");try{this.regexp=new RegExp(s,i)}catch(e){this.regexp=!1}return this.regexp},u.match=function(e,t,r){var n=new l(t,r=r||{});return e=e.filter((function(e){return n.match(e)})),n.options.nonull&&!e.length&&e.push(t),e},l.prototype.match=function(t,r){if(void 0===r&&(r=this.partial),this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return""===t;if("/"===t&&r)return!0;var n=this.options;"/"!==e.sep&&(t=t.split(e.sep).join("/")),t=t.split(c),this.debug(this.pattern,"split",t);var i,o,s=this.set;for(this.debug(this.pattern,"set",s),o=t.length-1;o>=0&&!(i=t[o]);o--);for(o=0;o<s.length;o++){var a=s[o],u=t;if(n.matchBase&&1===a.length&&(u=[i]),this.matchOne(u,a,r))return!!n.flipNegate||!this.negate}return!n.flipNegate&&this.negate},l.prototype.matchOne=function(e,r,n){var i=this.options;this.debug("matchOne",{this:this,file:e,pattern:r}),this.debug("matchOne",e.length,r.length);for(var o=0,s=0,c=e.length,a=r.length;o<c&&s<a;o++,s++){this.debug("matchOne loop");var u,l=r[s],f=e[o];if(this.debug(r,l,f),!1===l)return!1;if(l===t){this.debug("GLOBSTAR",[r,l,f]);var p=o,h=s+1;if(h===a){for(this.debug("** at the end");o<c;o++)if("."===e[o]||".."===e[o]||!i.dot&&"."===e[o].charAt(0))return!1;return!0}for(;p<c;){var d=e[p];if(this.debug("\nglobstar while",e,p,r,h,d),this.matchOne(e.slice(p),r.slice(h),n))return this.debug("globstar found match!",p,c,d),!0;if("."===d||".."===d||!i.dot&&"."===d.charAt(0)){this.debug("dot detected!",e,p,r,h);break}this.debug("globstar swallow a segment, and continue"),p++}return!(!n||(this.debug("\n>>> no match, partial?",e,p,r,h),p!==c))}if("string"==typeof l?(u=f===l,this.debug("string match",l,f,u)):(u=f.match(l),this.debug("pattern match",l,f,u)),!u)return!1}if(o===c&&s===a)return!0;if(o===c)return n;if(s===a)return o===c-1&&""===e[o];throw new Error("wtf?")},Ah}Lh&&Th&&Dh(Nh,"dotAll",{configurable:!0,get:function(){if(this!==Nh){if("RegExp"===Ph(this))return!!Ch(this).dotAll;throw Mh("Incompatible receiver, RegExp required")}}});var Uh,Wh,qh={exports:{}},zh={exports:{}};function Xh(){return Wh||(Wh=1,function(e){try{var t=require("util");if("function"!=typeof t.inherits)throw"";e.exports=t.inherits}catch(t){e.exports=(Uh||(Uh=1,"function"==typeof Object.create?zh.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:zh.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}),zh.exports)}}(qh)),qh.exports}var Hh,Vh={exports:{}};function Yh(){if(Hh)return Vh.exports;function e(e){return"/"===e.charAt(0)}function t(e){var t=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/.exec(e),r=t[1]||"",n=Boolean(r&&":"!==r.charAt(1));return Boolean(t[2]||n)}return Hh=1,Vh.exports="win32"===process.platform?t:e,Vh.exports.posix=e,Vh.exports.win32=t,Vh.exports}var Kh=ap,Qh=Math.floor,Jh=function(e,t){var r=e.length,n=Qh(r/2);return r<8?Zh(e,t):ed(e,Jh(Kh(e,0,n),t),Jh(Kh(e,n),t),t)},Zh=function(e,t){for(var r,n,i=e.length,o=1;o<i;){for(n=o,r=e[o];n&&t(e[n-1],r)>0;)e[n]=e[--n];n!==o++&&(e[n]=r)}return e},ed=function(e,t,r,n){for(var i=t.length,o=r.length,s=0,c=0;s<i||c<o;)e[s+c]=s<i&&c<o?n(t[s],r[c])<=0?t[s++]:r[c++]:s<i?t[s++]:r[c++];return e},td=Jh,rd=de.match(/firefox\/(\d+)/i),nd=!!rd&&+rd[1],id=/MSIE|Trident/.test(de),od=de.match(/AppleWebKit\/(\d+)\./),sd=!!od&&+od[1],cd=ai,ad=W,ud=Ce,ld=Ze,fd=bn,pd=Of,hd=us,dd=b,vd=td,yd=Gl,gd=nd,md=id,bd=Ee,wd=sd,Ed=[],Sd=ad(Ed.sort),xd=ad(Ed.push),Od=dd((function(){Ed.sort(void 0)})),kd=dd((function(){Ed.sort(null)})),jd=yd("sort"),_d=!dd((function(){if(bd)return bd<70;if(!(gd&&gd>3)){if(md)return!0;if(wd)return wd<603;var e,t,r,n,i="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)Ed.push({k:t+n,v:r})}for(Ed.sort((function(e,t){return t.v-e.v})),n=0;n<Ed.length;n++)t=Ed[n].k.charAt(0),i.charAt(i.length-1)!==t&&(i+=t);return"DGBEFHACIJK"!==i}}));cd({target:"Array",proto:!0,forced:Od||!kd||!jd||!_d},{sort:function(e){void 0!==e&&ud(e);var t=ld(this);if(_d)return void 0===e?Sd(t):Sd(t,e);var r,n,i=[],o=fd(t);for(n=0;n<o;n++)n in t&&xd(i,t[n]);for(vd(i,function(e){return function(t,r){return void 0===r?-1:void 0===t?1:void 0!==e?+e(t,r)||0:hd(t)>hd(r)?1:-1}}(e)),r=fd(i),n=0;n<r;)t[n]=i[n++];for(;n<o;)pd(t,n++);return t}});var Ad,Rd,Id,Fd={};function Ld(){if(Ad)return Fd;function e(e,t){return Object.prototype.hasOwnProperty.call(e,t)}Ad=1,Fd.setopts=function(n,s,u){u||(u={});if(u.matchBase&&-1===s.indexOf("/")){if(u.noglobstar)throw new Error("base matching requires globstar");s="**/"+s}n.silent=!!u.silent,n.pattern=s,n.strict=!1!==u.strict,n.realpath=!!u.realpath,n.realpathCache=u.realpathCache||Object.create(null),n.follow=!!u.follow,n.dot=!!u.dot,n.mark=!!u.mark,n.nodir=!!u.nodir,n.nodir&&(n.mark=!0);n.sync=!!u.sync,n.nounique=!!u.nounique,n.nonull=!!u.nonull,n.nosort=!!u.nosort,n.nocase=!!u.nocase,n.stat=!!u.stat,n.noprocess=!!u.noprocess,n.absolute=!!u.absolute,n.fs=u.fs||t,n.maxLength=u.maxLength||1/0,n.cache=u.cache||Object.create(null),n.statCache=u.statCache||Object.create(null),n.symlinks=u.symlinks||Object.create(null),function(e,t){e.ignore=t.ignore||[],Array.isArray(e.ignore)||(e.ignore=[e.ignore]);e.ignore.length&&(e.ignore=e.ignore.map(c))}(n,u),n.changedCwd=!1;var l=process.cwd();e(u,"cwd")?(n.cwd=r.resolve(u.cwd),n.changedCwd=n.cwd!==l):n.cwd=l;n.root=u.root||r.resolve(n.cwd,"/"),n.root=r.resolve(n.root),"win32"===process.platform&&(n.root=n.root.replace(/\\/g,"/"));n.cwdAbs=i(n.cwd)?n.cwd:a(n,n.cwd),"win32"===process.platform&&(n.cwdAbs=n.cwdAbs.replace(/\\/g,"/"));n.nomount=!!u.nomount,u.nonegate=!0,u.nocomment=!0,u.allowWindowsEscape=!1,n.minimatch=new o(s,u),n.options=n.minimatch.options},Fd.ownProp=e,Fd.makeAbs=a,Fd.finish=function(e){for(var t=e.nounique,r=t?[]:Object.create(null),n=0,i=e.matches.length;n<i;n++){var o=e.matches[n];if(o&&0!==Object.keys(o).length){var c=Object.keys(o);t?r.push.apply(r,c):c.forEach((function(e){r[e]=!0}))}else if(e.nonull){var u=e.minimatch.globSet[n];t?r.push(u):r[u]=!0}}t||(r=Object.keys(r));e.nosort||(r=r.sort(s));if(e.mark){for(n=0;n<r.length;n++)r[n]=e._mark(r[n]);e.nodir&&(r=r.filter((function(t){var r=!/\/$/.test(t),n=e.cache[t]||e.cache[a(e,t)];return r&&n&&(r="DIR"!==n&&!Array.isArray(n)),r})))}e.ignore.length&&(r=r.filter((function(t){return!f(e,t)})));e.found=r},Fd.mark=function(e,t){var r=a(e,t),n=e.cache[r],i=t;if(n){var o="DIR"===n||Array.isArray(n),s="/"===t.slice(-1);if(o&&!s?i+="/":!o&&s&&(i=i.slice(0,-1)),i!==t){var c=a(e,i);e.statCache[c]=e.statCache[r],e.cache[c]=e.cache[r]}}return i},Fd.isIgnored=f,Fd.childrenIgnored=function(e,t){return!!e.ignore.length&&e.ignore.some((function(e){return!(!e.gmatcher||!e.gmatcher.match(t))}))};var t=u.default,r=l.default,n=Bh(),i=Yh(),o=n.Minimatch;function s(e,t){return e.localeCompare(t,"en")}function c(e){var t=null;if("/**"===e.slice(-3)){var r=e.replace(/(\/\*\*)+$/,"");t=new o(r,{dot:!0})}return{matcher:new o(e,{dot:!0}),gmatcher:t}}function a(e,t){var n=t;return n="/"===t.charAt(0)?r.join(e.root,t):i(t)||""===t?t:e.changedCwd?r.resolve(e.cwd,t):r.resolve(t),"win32"===process.platform&&(n=n.replace(/\\/g,"/")),n}function f(e,t){return!!e.ignore.length&&e.ignore.some((function(e){return e.matcher.match(t)||!(!e.gmatcher||!e.gmatcher.match(t))}))}return Fd}var Td,Pd,Dd=ai,Cd=Ze,Nd=dn,Md=ln,Gd=bn,$d=Kl,Bd=Jl,Ud=Nu,Wd=Sl,qd=Of,zd=Yu("splice"),Xd=Math.max,Hd=Math.min;function Vd(){if(Pd)return Td;return Pd=1,Td=function e(t,r){if(t&&r)return e(t)(r);if("function"!=typeof t)throw new TypeError("need wrapper function");return Object.keys(t).forEach((function(e){n[e]=t[e]})),n;function n(){for(var e=new Array(arguments.length),r=0;r<e.length;r++)e[r]=arguments[r];var n=t.apply(this,e),i=e[e.length-1];return"function"==typeof n&&n!==i&&Object.keys(i).forEach((function(e){n[e]=i[e]})),n}},Td}Dd({target:"Array",proto:!0,forced:!zd},{splice:function(e,t){var r,n,i,o,s,c,a=Cd(this),u=Gd(a),l=Nd(e,u),f=arguments.length;for(0===f?r=n=0:1===f?(r=0,n=u-l):(r=f-2,n=Hd(Xd(Md(t),0),u-l)),Bd(u+r-n),i=Ud(a,n),o=0;o<n;o++)(s=l+o)in a&&Wd(i,o,a[s]);if(i.length=n,r<n){for(o=l;o<u-n;o++)c=o+r,(s=o+n)in a?a[c]=a[s]:qd(a,c);for(o=u;o>u-n+r;o--)qd(a,o-1)}else if(r>n)for(o=u-n;o>l;o--)c=o+r-1,(s=o+n-1)in a?a[c]=a[s]:qd(a,c);for(o=0;o<r;o++)a[o+l]=arguments[o+2];return $d(a,u-n+r),i}});var Yd,Kd,Qd,Jd,Zd,ev,tv,rv,nv,iv,ov,sv,cv,av,uv={exports:{}};function lv(){if(Yd)return uv.exports;Yd=1;var e=Vd();function t(e){var t=function t(){return t.called?t.value:(t.called=!0,t.value=e.apply(this,arguments))};return t.called=!1,t}function r(e){var t=function t(){if(t.called)throw new Error(t.onceError);return t.called=!0,t.value=e.apply(this,arguments)},r=e.name||"Function wrapped with `once`";return t.onceError=r+" shouldn't be called more than once",t.called=!1,t}return uv.exports=e(t),uv.exports.strict=e(r),t.proto=t((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return t(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return r(this)},configurable:!0})})),uv.exports}function fv(){if(Qd)return Kd;Qd=1;var e=Vd(),t=Object.create(null),r=lv();function n(e){for(var t=e.length,r=[],n=0;n<t;n++)r[n]=e[n];return r}return Kd=e((function(e,i){return t[e]?(t[e].push(i),null):(t[e]=[i],function(e){return r((function r(){var i=t[e],o=i.length,s=n(arguments);try{for(var c=0;c<o;c++)i[c].apply(null,s)}finally{i.length>o?(i.splice(0,o),process.nextTick((function(){r.apply(null,s)}))):delete t[e]}}))}(e))})),Kd}function pv(){if(Zd)return Jd;Zd=1,Jd=m;var e=Vf(),t=Bh();t.Minimatch;var r=Xh(),n=f.default.EventEmitter,i=l.default,o=p.default,s=Yh(),c=function(){if(Id)return Rd;Id=1,Rd=f,f.GlobSync=h;var e=Vf(),t=Bh();t.Minimatch,pv().Glob;var r=l.default,n=p.default,i=Yh(),o=Ld(),s=o.setopts,c=o.ownProp,a=o.childrenIgnored,u=o.isIgnored;function f(e,t){if("function"==typeof t||3===arguments.length)throw new TypeError("callback provided to sync glob\nSee: https://github.com/isaacs/node-glob/issues/167");return new h(e,t).found}function h(e,t){if(!e)throw new Error("must provide pattern");if("function"==typeof t||3===arguments.length)throw new TypeError("callback provided to sync glob\nSee: https://github.com/isaacs/node-glob/issues/167");if(!(this instanceof h))return new h(e,t);if(s(this,e,t),this.noprocess)return this;var r=this.minimatch.set.length;this.matches=new Array(r);for(var n=0;n<r;n++)this._process(this.minimatch.set[n],n,!1);this._finish()}return h.prototype._finish=function(){if(n.ok(this instanceof h),this.realpath){var t=this;this.matches.forEach((function(r,n){var i=t.matches[n]=Object.create(null);for(var o in r)try{o=t._makeAbs(o),i[e.realpathSync(o,t.realpathCache)]=!0}catch(e){if("stat"!==e.syscall)throw e;i[t._makeAbs(o)]=!0}}))}o.finish(this)},h.prototype._process=function(e,r,o){n.ok(this instanceof h);for(var s,c=0;"string"==typeof e[c];)c++;switch(c){case e.length:return void this._processSimple(e.join("/"),r);case 0:s=null;break;default:s=e.slice(0,c).join("/")}var u,l=e.slice(c);null===s?u=".":i(s)||i(e.map((function(e){return"string"==typeof e?e:"[*]"})).join("/"))?(s&&i(s)||(s="/"+s),u=s):u=s;var f=this._makeAbs(u);a(this,u)||(l[0]===t.GLOBSTAR?this._processGlobStar(s,u,f,l,r,o):this._processReaddir(s,u,f,l,r,o))},h.prototype._processReaddir=function(e,t,n,i,o,s){var c=this._readdir(n,s);if(c){for(var a=i[0],u=!!this.minimatch.negate,l=a._glob,f=this.dot||"."===l.charAt(0),p=[],h=0;h<c.length;h++)("."!==(y=c[h]).charAt(0)||f)&&(u&&!e?!y.match(a):y.match(a))&&p.push(y);var d=p.length;if(0!==d)if(1!==i.length||this.mark||this.stat)for(i.shift(),h=0;h<d;h++){var v;y=p[h],v=e?[e,y]:[y],this._process(v.concat(i),o,s)}else{this.matches[o]||(this.matches[o]=Object.create(null));for(h=0;h<d;h++){var y=p[h];e&&(y="/"!==e.slice(-1)?e+"/"+y:e+y),"/"!==y.charAt(0)||this.nomount||(y=r.join(this.root,y)),this._emitMatch(o,y)}}}},h.prototype._emitMatch=function(e,t){if(!u(this,t)){var r=this._makeAbs(t);if(this.mark&&(t=this._mark(t)),this.absolute&&(t=r),!this.matches[e][t]){if(this.nodir){var n=this.cache[r];if("DIR"===n||Array.isArray(n))return}this.matches[e][t]=!0,this.stat&&this._stat(t)}}},h.prototype._readdirInGlobStar=function(e){if(this.follow)return this._readdir(e,!1);var t,r;try{r=this.fs.lstatSync(e)}catch(e){if("ENOENT"===e.code)return null}var n=r&&r.isSymbolicLink();return this.symlinks[e]=n,n||!r||r.isDirectory()?t=this._readdir(e,!1):this.cache[e]="FILE",t},h.prototype._readdir=function(e,t){if(t&&!c(this.symlinks,e))return this._readdirInGlobStar(e);if(c(this.cache,e)){var r=this.cache[e];if(!r||"FILE"===r)return null;if(Array.isArray(r))return r}try{return this._readdirEntries(e,this.fs.readdirSync(e))}catch(t){return this._readdirError(e,t),null}},h.prototype._readdirEntries=function(e,t){if(!this.mark&&!this.stat)for(var r=0;r<t.length;r++){var n=t[r];n="/"===e?e+n:e+"/"+n,this.cache[n]=!0}return this.cache[e]=t,t},h.prototype._readdirError=function(e,t){switch(t.code){case"ENOTSUP":case"ENOTDIR":var r=this._makeAbs(e);if(this.cache[r]="FILE",r===this.cwdAbs){var n=new Error(t.code+" invalid cwd "+this.cwd);throw n.path=this.cwd,n.code=t.code,n}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(e)]=!1;break;default:if(this.cache[this._makeAbs(e)]=!1,this.strict)throw t;this.silent||console.error("glob error",t)}},h.prototype._processGlobStar=function(e,t,r,n,i,o){var s=this._readdir(r,o);if(s){var c=n.slice(1),a=e?[e]:[],u=a.concat(c);this._process(u,i,!1);var l=s.length;if(!this.symlinks[r]||!o)for(var f=0;f<l;f++)if("."!==s[f].charAt(0)||this.dot){var p=a.concat(s[f],c);this._process(p,i,!0);var h=a.concat(s[f],n);this._process(h,i,!0)}}},h.prototype._processSimple=function(e,t){var n=this._stat(e);if(this.matches[t]||(this.matches[t]=Object.create(null)),n){if(e&&i(e)&&!this.nomount){var o=/[\/\\]$/.test(e);"/"===e.charAt(0)?e=r.join(this.root,e):(e=r.resolve(this.root,e),o&&(e+="/"))}"win32"===process.platform&&(e=e.replace(/\\/g,"/")),this._emitMatch(t,e)}},h.prototype._stat=function(e){var t=this._makeAbs(e),r="/"===e.slice(-1);if(e.length>this.maxLength)return!1;if(!this.stat&&c(this.cache,t)){var n=this.cache[t];if(Array.isArray(n)&&(n="DIR"),!r||"DIR"===n)return n;if(r&&"FILE"===n)return!1}var i=this.statCache[t];if(!i){var o;try{o=this.fs.lstatSync(t)}catch(e){if(e&&("ENOENT"===e.code||"ENOTDIR"===e.code))return this.statCache[t]=!1,!1}if(o&&o.isSymbolicLink())try{i=this.fs.statSync(t)}catch(e){i=o}else i=o}return this.statCache[t]=i,n=!0,i&&(n=i.isDirectory()?"DIR":"FILE"),this.cache[t]=this.cache[t]||n,(!r||"FILE"!==n)&&n},h.prototype._mark=function(e){return o.mark(this,e)},h.prototype._makeAbs=function(e){return o.makeAbs(this,e)},Rd}(),a=Ld(),u=a.setopts,h=a.ownProp,d=fv(),v=a.childrenIgnored,y=a.isIgnored,g=lv();function m(e,t,r){if("function"==typeof t&&(r=t,t={}),t||(t={}),t.sync){if(r)throw new TypeError("callback provided to sync glob");return c(e,t)}return new w(e,t,r)}m.sync=c;var b=m.GlobSync=c.GlobSync;function w(e,t,r){if("function"==typeof t&&(r=t,t=null),t&&t.sync){if(r)throw new TypeError("callback provided to sync glob");return new b(e,t)}if(!(this instanceof w))return new w(e,t,r);u(this,e,t),this._didRealPath=!1;var n=this.minimatch.set.length;this.matches=new Array(n),"function"==typeof r&&(r=g(r),this.on("error",r),this.on("end",(function(e){r(null,e)})));var i=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(0===n)return s();for(var o=0;o<n;o++)this._process(this.minimatch.set[o],o,!1,s);function s(){--i._processing,i._processing<=0&&i._finish()}}return m.glob=m,m.hasMagic=function(e,t){var r=function(e,t){if(null===t||"object"!=typeof t)return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e}({},t);r.noprocess=!0;var n=new w(e,r).minimatch.set;if(!e)return!1;if(n.length>1)return!0;for(var i=0;i<n[0].length;i++)if("string"!=typeof n[0][i])return!0;return!1},m.Glob=w,r(w,n),w.prototype._finish=function(){if(o(this instanceof w),!this.aborted){if(this.realpath&&!this._didRealpath)return this._realpath();a.finish(this),this.emit("end",this.found)}},w.prototype._realpath=function(){if(!this._didRealpath){this._didRealpath=!0;var e=this.matches.length;if(0===e)return this._finish();for(var t=this,r=0;r<this.matches.length;r++)this._realpathSet(r,n)}function n(){0==--e&&t._finish()}},w.prototype._realpathSet=function(t,r){var n=this.matches[t];if(!n)return r();var i=Object.keys(n),o=this,s=i.length;if(0===s)return r();var c=this.matches[t]=Object.create(null);i.forEach((function(n,i){n=o._makeAbs(n),e.realpath(n,o.realpathCache,(function(e,i){e?"stat"===e.syscall?c[n]=!0:o.emit("error",e):c[i]=!0,0==--s&&(o.matches[t]=c,r())}))}))},w.prototype._mark=function(e){return a.mark(this,e)},w.prototype._makeAbs=function(e){return a.makeAbs(this,e)},w.prototype.abort=function(){this.aborted=!0,this.emit("abort")},w.prototype.pause=function(){this.paused||(this.paused=!0,this.emit("pause"))},w.prototype.resume=function(){if(this.paused){if(this.emit("resume"),this.paused=!1,this._emitQueue.length){var e=this._emitQueue.slice(0);this._emitQueue.length=0;for(var t=0;t<e.length;t++){var r=e[t];this._emitMatch(r[0],r[1])}}if(this._processQueue.length){var n=this._processQueue.slice(0);this._processQueue.length=0;for(t=0;t<n.length;t++){var i=n[t];this._processing--,this._process(i[0],i[1],i[2],i[3])}}}},w.prototype._process=function(e,r,n,i){if(o(this instanceof w),o("function"==typeof i),!this.aborted)if(this._processing++,this.paused)this._processQueue.push([e,r,n,i]);else{for(var c,a=0;"string"==typeof e[a];)a++;switch(a){case e.length:return void this._processSimple(e.join("/"),r,i);case 0:c=null;break;default:c=e.slice(0,a).join("/")}var u,l=e.slice(a);null===c?u=".":s(c)||s(e.map((function(e){return"string"==typeof e?e:"[*]"})).join("/"))?(c&&s(c)||(c="/"+c),u=c):u=c;var f=this._makeAbs(u);if(v(this,u))return i();l[0]===t.GLOBSTAR?this._processGlobStar(c,u,f,l,r,n,i):this._processReaddir(c,u,f,l,r,n,i)}},w.prototype._processReaddir=function(e,t,r,n,i,o,s){var c=this;this._readdir(r,o,(function(a,u){return c._processReaddir2(e,t,r,n,i,o,u,s)}))},w.prototype._processReaddir2=function(e,t,r,n,o,s,c,a){if(!c)return a();for(var u=n[0],l=!!this.minimatch.negate,f=u._glob,p=this.dot||"."===f.charAt(0),h=[],d=0;d<c.length;d++){if("."!==(y=c[d]).charAt(0)||p)(l&&!e?!y.match(u):y.match(u))&&h.push(y)}var v=h.length;if(0===v)return a();if(1===n.length&&!this.mark&&!this.stat){this.matches[o]||(this.matches[o]=Object.create(null));for(d=0;d<v;d++){var y=h[d];e&&(y="/"!==e?e+"/"+y:e+y),"/"!==y.charAt(0)||this.nomount||(y=i.join(this.root,y)),this._emitMatch(o,y)}return a()}n.shift();for(d=0;d<v;d++){y=h[d];e&&(y="/"!==e?e+"/"+y:e+y),this._process([y].concat(n),o,s,a)}a()},w.prototype._emitMatch=function(e,t){if(!this.aborted&&!y(this,t))if(this.paused)this._emitQueue.push([e,t]);else{var r=s(t)?t:this._makeAbs(t);if(this.mark&&(t=this._mark(t)),this.absolute&&(t=r),!this.matches[e][t]){if(this.nodir){var n=this.cache[r];if("DIR"===n||Array.isArray(n))return}this.matches[e][t]=!0;var i=this.statCache[r];i&&this.emit("stat",t,i),this.emit("match",t)}}},w.prototype._readdirInGlobStar=function(e,t){if(!this.aborted){if(this.follow)return this._readdir(e,!1,t);var r=this,n=d("lstat\0"+e,(function(n,i){if(n&&"ENOENT"===n.code)return t();var o=i&&i.isSymbolicLink();r.symlinks[e]=o,o||!i||i.isDirectory()?r._readdir(e,!1,t):(r.cache[e]="FILE",t())}));n&&r.fs.lstat(e,n)}},w.prototype._readdir=function(e,t,r){if(!this.aborted&&(r=d("readdir\0"+e+"\0"+t,r))){if(t&&!h(this.symlinks,e))return this._readdirInGlobStar(e,r);if(h(this.cache,e)){var n=this.cache[e];if(!n||"FILE"===n)return r();if(Array.isArray(n))return r(null,n)}this.fs.readdir(e,function(e,t,r){return function(n,i){n?e._readdirError(t,n,r):e._readdirEntries(t,i,r)}}(this,e,r))}},w.prototype._readdirEntries=function(e,t,r){if(!this.aborted){if(!this.mark&&!this.stat)for(var n=0;n<t.length;n++){var i=t[n];i="/"===e?e+i:e+"/"+i,this.cache[i]=!0}return this.cache[e]=t,r(null,t)}},w.prototype._readdirError=function(e,t,r){if(!this.aborted){switch(t.code){case"ENOTSUP":case"ENOTDIR":var n=this._makeAbs(e);if(this.cache[n]="FILE",n===this.cwdAbs){var i=new Error(t.code+" invalid cwd "+this.cwd);i.path=this.cwd,i.code=t.code,this.emit("error",i),this.abort()}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(e)]=!1;break;default:this.cache[this._makeAbs(e)]=!1,this.strict&&(this.emit("error",t),this.abort()),this.silent||console.error("glob error",t)}return r()}},w.prototype._processGlobStar=function(e,t,r,n,i,o,s){var c=this;this._readdir(r,o,(function(a,u){c._processGlobStar2(e,t,r,n,i,o,u,s)}))},w.prototype._processGlobStar2=function(e,t,r,n,i,o,s,c){if(!s)return c();var a=n.slice(1),u=e?[e]:[],l=u.concat(a);this._process(l,i,!1,c);var f=this.symlinks[r],p=s.length;if(f&&o)return c();for(var h=0;h<p;h++){if("."!==s[h].charAt(0)||this.dot){var d=u.concat(s[h],a);this._process(d,i,!0,c);var v=u.concat(s[h],n);this._process(v,i,!0,c)}}c()},w.prototype._processSimple=function(e,t,r){var n=this;this._stat(e,(function(i,o){n._processSimple2(e,t,i,o,r)}))},w.prototype._processSimple2=function(e,t,r,n,o){if(this.matches[t]||(this.matches[t]=Object.create(null)),!n)return o();if(e&&s(e)&&!this.nomount){var c=/[\/\\]$/.test(e);"/"===e.charAt(0)?e=i.join(this.root,e):(e=i.resolve(this.root,e),c&&(e+="/"))}"win32"===process.platform&&(e=e.replace(/\\/g,"/")),this._emitMatch(t,e),o()},w.prototype._stat=function(e,t){var r=this._makeAbs(e),n="/"===e.slice(-1);if(e.length>this.maxLength)return t();if(!this.stat&&h(this.cache,r)){var i=this.cache[r];if(Array.isArray(i)&&(i="DIR"),!n||"DIR"===i)return t(null,i);if(n&&"FILE"===i)return t()}var o=this.statCache[r];if(void 0!==o){if(!1===o)return t(null,o);var s=o.isDirectory()?"DIR":"FILE";return n&&"FILE"===s?t():t(null,s,o)}var c=this,a=d("stat\0"+r,(function(n,i){if(i&&i.isSymbolicLink())return c.fs.stat(r,(function(n,o){n?c._stat2(e,r,null,i,t):c._stat2(e,r,n,o,t)}));c._stat2(e,r,n,i,t)}));a&&c.fs.lstat(r,a)},w.prototype._stat2=function(e,t,r,n,i){if(r&&("ENOENT"===r.code||"ENOTDIR"===r.code))return this.statCache[t]=!1,i();var o="/"===e.slice(-1);if(this.statCache[t]=n,"/"===t.slice(-1)&&n&&!n.isDirectory())return i(null,!1,n);var s=!0;return n&&(s=n.isDirectory()?"DIR":"FILE"),this.cache[t]=this.cache[t]||s,o&&"FILE"===s?i():i(null,s,n)},Jd}function hv(){if(ev)return Tf;ev=1;var e=a.default,t=u.default,r=pv(),n=kg(),i=Object.create(n);Tf.extend=Object.assign;var o=Boolean(process.versions.electron),s={fatal:!1,globOptions:{},maxdepth:255,noglob:!1,silent:!1,verbose:!1,execPath:null,bufLength:65536},c={reset:function(){Object.assign(this,s),o||(this.execPath=process.execPath)},resetForTesting:function(){this.reset(),this.silent=!0}};c.reset(),Tf.config=c;var l={error:null,errorCode:0,currentCmd:"shell.js"};function f(e){return"object"==typeof e&&null!==e}function p(){c.silent||console.error.apply(console,arguments)}function h(e){if("string"!=typeof e)throw new TypeError("input must be a string");return e.replace(/\\/g,"/")}function d(e,t,r){if("string"!=typeof e)throw new Error("msg must be a string");var n={continue:!1,code:1,prefix:l.currentCmd+": ",silent:!1};"number"==typeof t&&f(r)?r.code=t:f(t)?r=t:"number"==typeof t?r={code:t}:"number"!=typeof t&&(r={}),r=Object.assign({},n,r),l.errorCode||(l.errorCode=r.code);var i=h(r.prefix+e);if(l.error=l.error?l.error+"\n":"",l.error+=i,c.fatal)throw new Error(i);if(e.length>0&&!r.silent&&p(i),!r.continue)throw{msg:"earlyExit",retValue:new v("",l.error,l.errorCode)}}function v(e,t,r){var n;return e instanceof Array?((n=e).stdout=e.join("\n"),e.length>0&&(n.stdout+="\n")):(n=new String(e)).stdout=e,n.stderr=t,n.code=r,E.forEach((function(e){n[e]=i[e].bind(n)})),n}function y(e,t,r){if("string"!=typeof e&&!f(e))throw new Error("options must be strings or key-value pairs");if(!f(t))throw new Error("parseOptions() internal error: map must be an object");if(r&&!f(r))throw new Error("parseOptions() internal error: errorOptions must be object");if("--"===e)return{};var n={};if(Object.keys(t).forEach((function(e){var r=t[e];"!"!==r[0]&&(n[r]=!1)})),""===e)return n;if("string"==typeof e){if("-"!==e[0])throw new Error("Options string must start with a '-'");e.slice(1).split("").forEach((function(e){if(e in t){var i=t[e];"!"===i[0]?n[i.slice(1)]=!1:n[i]=!0}else d("option not recognized: "+e,r||{})}))}else Object.keys(e).forEach((function(i){var o=i[1];if(o in t){var s=t[o];n[s]=e[i]}else d("option not recognized: "+o,r||{})}));return n}function g(e){if(!Array.isArray(e))throw new TypeError("must be an array");var t=[];return e.forEach((function(e){if("string"!=typeof e)t.push(e);else{var n;try{n=(n=r.sync(e,c.globOptions)).length>0?n:[e]}catch(t){n=[e]}t=t.concat(n)}})),t}Tf.state=l,delete process.env.OLDPWD,Tf.isObject=f,Tf.log=p,Tf.convertErrorOutput=h,Tf.error=d,Tf.ShellString=v,Tf.parseOptions=y,Tf.expand=g;var m="function"==typeof Buffer.alloc?function(e){return Buffer.alloc(e||c.bufLength)}:function(e){return new Buffer(e||c.bufLength)};function b(t,r,n){return n=n||{},function(){var i=null;l.currentCmd=t,l.error=null,l.errorCode=0;try{var o=[].slice.call(arguments,0);if(c.verbose&&console.error.apply(console,[t].concat(o)),l.pipedValue=this&&"string"==typeof this.stdout?this.stdout:"",!1===n.unix)i=r.apply(this,o);else{f(o[0])&&"Object"===o[0].constructor.name||(0===o.length||"string"!=typeof o[0]||o[0].length<=1||"-"!==o[0][0])&&o.unshift(""),o=(o=o.reduce((function(e,t){return Array.isArray(t)?e.concat(t):(e.push(t),e)}),[])).map((function(e){return f(e)&&"String"===e.constructor.name?e.toString():e}));var s=e.homedir();o=o.map((function(e){return"string"==typeof e&&"~/"===e.slice(0,2)||"~"===e?e.replace(/^~/,s):e})),c.noglob||!0!==n.allowGlobbing||(o=o.slice(0,n.globStart).concat(g(o.slice(n.globStart))));try{f(n.cmdOptions)&&(o[0]=y(o[0],n.cmdOptions)),i=r.apply(this,o)}catch(e){if("earlyExit"!==e.msg)throw e;i=e.retValue}}}catch(e){if(!l.error)throw e.name="ShellJSInternalError",e;if(c.fatal)throw e}return n.wrapOutput&&("string"==typeof i||Array.isArray(i))&&(i=new v(i,l.error,l.errorCode)),l.currentCmd="shell.js",i}}Tf.buffer=m,Tf.unlinkSync=function(e){try{t.unlinkSync(e)}catch(r){if("EPERM"!==r.code)throw r;t.chmodSync(e,"0666"),t.unlinkSync(e)}},Tf.statFollowLinks=function(){return t.statSync.apply(t,arguments)},Tf.statNoFollowLinks=function(){return t.lstatSync.apply(t,arguments)},Tf.randomFileName=function(){return"shelljs_"+function e(t){if(1===t)return parseInt(16*Math.random(),10).toString(16);for(var r="",n=0;n<t;n++)r+=e(1);return r}(20)},Tf.wrap=b,Tf.readFromPipe=function(){return l.pipedValue};var w={allowGlobbing:!0,canReceivePipe:!1,cmdOptions:null,globStart:1,pipeOnly:!1,wrapOutput:!0,unix:!0},E=[];return Tf.register=function(e,t,r){if(r=r||{},Object.keys(r).forEach((function(e){if(!w.hasOwnProperty(e))throw new Error("Unknown option '"+e+"'");if(typeof r[e]!=typeof w[e])throw new TypeError("Unsupported type '"+typeof r[e]+"' for option '"+e+"'")})),r=Object.assign({},w,r),n.hasOwnProperty(e))throw new Error("Command `"+e+"` already exists");r.pipeOnly?(r.canReceivePipe=!0,i[e]=b(e,t,r)):n[e]=b(e,t,r),r.canReceivePipe&&E.push(e)},Tf}function dv(){if(rv)return tv;rv=1;var e=hv(),t=u.default;function r(r,i){var o=e.readFromPipe();return i||o||e.error("no paths given"),(i=[].slice.call(arguments,1)).forEach((function(r){t.existsSync(r)?e.statFollowLinks(r).isDirectory()&&e.error(r+": Is a directory"):e.error("no such file or directory: "+r),o+=t.readFileSync(r,"utf8")})),r.number&&(o=n(o)),o}function n(e){var t=e.split("\n"),r=t.pop();return t=t.map((function(e,t){return i(t+1,e)})),r.length&&(r=i(t.length+1,r)),t.push(r),t.join("\n")}function i(e,t){return(" "+e).slice(-6)+"\t"+t}return e.register("cat",r,{canReceivePipe:!0,cmdOptions:{n:"number"}}),tv=r}function vv(){if(iv)return nv;iv=1;var e=a.default,t=hv();function r(r,n){n||(n=e.homedir()),"-"===n&&(process.env.OLDPWD?n=process.env.OLDPWD:t.error("could not find previous directory"));try{var i=process.cwd();process.chdir(n),process.env.OLDPWD=i}catch(e){var o;try{t.statFollowLinks(n),o="not a directory: "+n}catch(e){o="no such file or directory: "+n}o&&t.error(o)}return""}return t.register("cd",r,{}),nv=r}function yv(){if(sv)return ov;sv=1;var e,t=hv(),r=u.default,n=l.default,i={OTHER_EXEC:(e={EXEC:1,WRITE:2,READ:4}).EXEC,OTHER_WRITE:e.WRITE,OTHER_READ:e.READ,GROUP_EXEC:e.EXEC<<3,GROUP_WRITE:e.WRITE<<3,GROUP_READ:e.READ<<3,OWNER_EXEC:e.EXEC<<6,OWNER_WRITE:e.WRITE<<6,OWNER_READ:e.READ<<6,STICKY:parseInt("01000",8),SETGID:parseInt("02000",8),SETUID:parseInt("04000",8),TYPE_MASK:parseInt("0770000",8)};function o(e,o,s){var c;return s||(e.length>0&&"-"===e.charAt(0)?[].unshift.call(arguments,""):t.error("You must specify a file.")),e=t.parseOptions(e,{R:"recursive",c:"changes",v:"verbose"}),s=[].slice.call(arguments,2),e.recursive?(c=[],s.forEach((function e(n){var i=t.statNoFollowLinks(n);i.isSymbolicLink()||(c.push(n),i.isDirectory()&&r.readdirSync(n).forEach((function(t){e(n+"/"+t)})))}))):c=s,c.forEach((function(s){if(s=n.resolve(s),r.existsSync(s)||t.error("File not found: "+s),!e.recursive||!t.statNoFollowLinks(s).isSymbolicLink()){var c=t.statFollowLinks(s),a=c.isDirectory(),u=c.mode,l=u&i.TYPE_MASK,f=u;isNaN(parseInt(o,8))?o.split(",").forEach((function(n){var o=/([ugoa]*)([=\+-])([rwxXst]*)/i.exec(n);if(o){var c=o[1],p=o[2],h=o[3],d=-1!==c.indexOf("u")||"a"===c||""===c,v=-1!==c.indexOf("g")||"a"===c||""===c,y=-1!==c.indexOf("o")||"a"===c||""===c,g=-1!==h.indexOf("r"),m=-1!==h.indexOf("w"),b=-1!==h.indexOf("x"),w=-1!==h.indexOf("X"),E=-1!==h.indexOf("t"),S=-1!==h.indexOf("s");w&&a&&(b=!0);var x=0;switch(d&&(x|=(g?i.OWNER_READ:0)+(m?i.OWNER_WRITE:0)+(b?i.OWNER_EXEC:0)+(S?i.SETUID:0)),v&&(x|=(g?i.GROUP_READ:0)+(m?i.GROUP_WRITE:0)+(b?i.GROUP_EXEC:0)+(S?i.SETGID:0)),y&&(x|=(g?i.OTHER_READ:0)+(m?i.OTHER_WRITE:0)+(b?i.OTHER_EXEC:0)),E&&(x|=i.STICKY),p){case"+":f|=x;break;case"-":f&=~x;break;case"=":f=l+x,t.statFollowLinks(s).isDirectory()&&(f|=i.SETUID+i.SETGID&u);break;default:t.error("Could not recognize operator: `"+p+"`")}e.verbose&&console.log(s+" -> "+f.toString(8)),u!==f&&(!e.verbose&&e.changes&&console.log(s+" -> "+f.toString(8)),r.chmodSync(s,f),u=f)}else t.error("Invalid symbolic mode change: "+n)})):(f=l+parseInt(o,8),t.statFollowLinks(s).isDirectory()&&(f|=i.SETUID+i.SETGID&u),r.chmodSync(s,f))}})),""}return t.register("chmod",o,{}),ov=o}function gv(){if(av)return cv;av=1;var e=u.default,t=l.default,r=hv();function n(t,n,i){e.existsSync(t)||r.error("copyFileSync: no such file or directory: "+t);var o="win32"===process.platform;try{if(i.update&&r.statFollowLinks(t).mtime<e.statSync(n).mtime)return}catch(e){}if(r.statNoFollowLinks(t).isSymbolicLink()&&!i.followsymlink){try{r.statNoFollowLinks(n),r.unlinkSync(n)}catch(e){}var s=e.readlinkSync(t);e.symlinkSync(s,n,o?"junction":null)}else{var c=r.buffer(),a=c.length,u=a,l=0,f=null,p=null;try{f=e.openSync(t,"r")}catch(e){r.error("copyFileSync: could not read src file ("+t+")")}try{p=e.openSync(n,"w")}catch(e){r.error("copyFileSync: could not write to dest file (code="+e.code+"):"+n)}for(;u===a;)u=e.readSync(f,c,0,a,l),e.writeSync(p,c,0,u),l+=u;e.closeSync(f),e.closeSync(p),e.chmodSync(n,r.statFollowLinks(t).mode)}}function i(t,o,c,a){if(a||(a={}),!(c>=r.config.maxdepth)){c++;var u="win32"===process.platform;try{e.mkdirSync(o)}catch(e){if("EEXIST"!==e.code)throw e}for(var l=e.readdirSync(t),f=0;f<l.length;f++){var p,h=t+"/"+l[f],d=o+"/"+l[f],v=r.statNoFollowLinks(h);if(a.followsymlink&&s(t,h))console.error("Cycle link found."),p=e.readlinkSync(h),e.symlinkSync(p,d,u?"junction":null);else if(v.isDirectory())i(h,d,c,a);else if(v.isSymbolicLink()&&!a.followsymlink){p=e.readlinkSync(h);try{r.statNoFollowLinks(d),r.unlinkSync(d)}catch(e){}e.symlinkSync(p,d,u?"junction":null)}else v.isSymbolicLink()&&a.followsymlink?(v=r.statFollowLinks(h)).isDirectory()?i(h,d,c,a):n(h,d,a):e.existsSync(d)&&a.no_force?r.log("skipping existing file: "+l[f]):n(h,d,a)}var y=r.statFollowLinks(t);e.chmodSync(o,y.mode)}}function o(e,r){var n=e[r];return e.slice(0,r).some((function(e){return t.basename(e)===t.basename(n)}))}function s(t,n){if(r.statNoFollowLinks(n).isSymbolicLink()&&r.statFollowLinks(n).isDirectory()){var i=e.realpathSync(t),o=e.realpathSync(n);if(new RegExp(o).test(i))return!0}return!1}function c(s,c,a){s.followsymlink&&(s.noFollowsymlink=!1),s.recursive||s.noFollowsymlink||(s.followsymlink=!0),arguments.length<3?r.error("missing <source> and/or <dest>"):(c=[].slice.call(arguments,1,arguments.length-1),a=arguments[arguments.length-1]);var u=e.existsSync(a),l=u&&r.statFollowLinks(a);return u&&l.isDirectory()||!(c.length>1)||r.error("dest is not a directory (too many sources)"),u&&l.isFile()&&s.no_force?new r.ShellString("","",0):(c.forEach((function(u,f){if(!e.existsSync(u))return""===u&&(u="''"),void r.error("no such file or directory: "+u,{continue:!0});var p=r.statFollowLinks(u);if(!s.noFollowsymlink&&p.isDirectory())if(s.recursive){var h=l&&l.isDirectory()?t.join(a,t.basename(u)):a;try{r.statFollowLinks(t.dirname(a)),i(u,h,0,{no_force:s.no_force,followsymlink:s.followsymlink})}catch(e){r.error("cannot create directory '"+a+"': No such file or directory")}}else r.error("omitting directory '"+u+"'",{continue:!0});else{var d=a;l&&l.isDirectory()&&(d=t.normalize(a+"/"+t.basename(u)));var v=e.existsSync(d);if(v&&o(c,f))return void(s.no_force||r.error("will not overwrite just-created '"+d+"' with '"+u+"'",{continue:!0}));if(v&&s.no_force)return;if(""===t.relative(u,d))return void r.error("'"+d+"' and '"+u+"' are the same file",{continue:!0});n(u,d,s)}})),new r.ShellString("",r.state.error,r.state.errorCode))}return r.register("cp",c,{cmdOptions:{f:"!no_force",n:"no_force",u:"update",R:"recursive",r:"recursive",L:"followsymlink",P:"noFollowsymlink"},wrapOutput:!1}),cv=c}var mv,bv,wv,Ev,Sv,xv={};function Ov(){if(mv)return xv;mv=1;var e=hv(),t=vv(),r=l.default;e.register("dirs",u,{wrapOutput:!1}),e.register("pushd",c,{wrapOutput:!1}),e.register("popd",a,{wrapOutput:!1});var n=[];function i(e){return/^[\-+]\d+$/.test(e)}function o(t){if(i(t)){if(Math.abs(t)<n.length+1)return/^-/.test(t)?Number(t)-1:Number(t);e.error(t+": directory stack index out of range")}else e.error(t+": invalid number")}function s(){return[process.cwd()].concat(n)}function c(c,a){i(c)&&(a=c,c=""),c=e.parseOptions(c,{n:"no-cd",q:"quiet"});var l=s();if("+0"===a)return l;if(a)if(i(a)){var f=o(a);l=l.slice(f).concat(l.slice(0,f))}else c["no-cd"]?l.splice(1,0,a):l.unshift(a);else{if(!(l.length>1))return e.error("no other directory");l=l.splice(1,1).concat(l)}return c["no-cd"]?l=l.slice(1):(a=r.resolve(l.shift()),t("",a)),n=l,u(c.quiet?"-q":"")}function a(s,c){if(i(s)&&(c=s,s=""),s=e.parseOptions(s,{n:"no-cd",q:"quiet"}),!n.length)return e.error("directory stack empty");if(c=o(c||"+0"),s["no-cd"]||c>0||n.length+c===0)c=c>0?c-1:c,n.splice(c,1);else{var a=r.resolve(n.shift());t("",a)}return u(s.quiet?"-q":"")}function u(t,r){if(i(t)&&(r=t,t=""),(t=e.parseOptions(t,{c:"clear",q:"quiet"})).clear)return n=[];var c=s();return r?((r=o(r))<0&&(r=c.length+r),t.quiet||e.log(c[r]),c[r]):(t.quiet||e.log(c.join(" ")),c)}return xv.pushd=c,xv.popd=a,xv.dirs=u,xv}function kv(){if(wv)return bv;wv=1;var e=h.default.format,t=hv();function r(r){var n=[].slice.call(arguments,r?0:1),i={};try{i=t.parseOptions(n[0],{e:"escapes",n:"no_newline"},{silent:!0}),n[0]&&n.shift()}catch(e){t.state.error=null}var o=e.apply(null,n);return i.no_newline||(o+="\n"),process.stdout.write(o),o}return t.register("echo",r,{allowGlobbing:!1}),bv=r}function jv(){if(Sv)return Ev;Sv=1;var e=hv();return Ev=function(){return e.state.error}}var _v,Av={exports:{}};function Rv(){return _v||(_v=1,function(e){if(require.main!==e)throw new Error("This file should not be required");var t=d.default,r=u.default,n=process.argv[2],i=r.readFileSync(n,"utf8"),o=JSON.parse(i),s=o.command,c=o.execOptions,a=o.pipe,l=o.stdoutFile,f=o.stderrFile,p=t.exec(s,c,(function(e){e?void 0===e.code?process.exitCode=1:process.exitCode=e.code:process.exitCode=0})),h=r.createWriteStream(l),v=r.createWriteStream(f);p.stdout.pipe(h),p.stderr.pipe(v),p.stdout.pipe(process.stdout),p.stderr.pipe(process.stderr),a&&p.stdin.end(a)}(Av)),Av.exports}var Iv=ai,Fv=pe,Lv=Ys,Tv=O,Pv=W,Dv=b,Cv=yu,Nv=oe,Mv=ae,Gv=Ie,$v=xl,Bv=Oe,Uv=Fv("JSON","stringify"),Wv=Pv(/./.exec),qv=Pv("".charAt),zv=Pv("".charCodeAt),Xv=Pv("".replace),Hv=Pv(1..toString),Vv=/[\uD800-\uDFFF]/g,Yv=/^[\uD800-\uDBFF]$/,Kv=/^[\uDC00-\uDFFF]$/,Qv=!Bv||Dv((function(){var e=Fv("Symbol")();return"[null]"!=Uv([e])||"{}"!=Uv({a:e})||"{}"!=Uv(Object(e))})),Jv=Dv((function(){return'"\\udf06\\ud834"'!==Uv("\udf06\ud834")||'"\\udead"'!==Uv("\udead")})),Zv=function(e,t){var r=$v(arguments),n=t;if((Mv(t)||void 0!==e)&&!Gv(e))return Cv(t)||(t=function(e,t){if(Nv(n)&&(t=Tv(n,this,e,t)),!Gv(t))return t}),r[1]=t,Lv(Uv,null,r)},ey=function(e,t,r){var n=qv(r,t-1),i=qv(r,t+1);return Wv(Yv,e)&&!Wv(Kv,i)||Wv(Kv,e)&&!Wv(Yv,n)?"\\u"+Hv(zv(e,0),16):e};Uv&&Iv({target:"JSON",stat:!0,arity:3,forced:Qv||Jv},{stringify:function(e,t,r){var n=$v(arguments),i=Lv(Qv?Zv:Uv,null,n);return Jv&&"string"==typeof i?Xv(i,Vv,ey):i}});var ty,ry,ny,iy,oy,sy,cy,ay,uy,ly,fy,py,hy,dy,vy,yy,gy,my,by,wy,Ey,Sy={};function xy(){if(ty)return Sy;ty=1;var e,t=hv(),r=a.default,n=u.default;function i(e){if(!e||!n.existsSync(e))return!1;if(!t.statFollowLinks(e).isDirectory())return!1;var r=e+"/"+t.randomFileName();try{return n.writeFileSync(r," "),t.unlinkSync(r),e}catch(e){return!1}}function o(){return e||(e=i(r.tmpdir())||i(process.env.TMPDIR)||i(process.env.TEMP)||i(process.env.TMP)||i(process.env.Wimp$ScrapDir)||i("C:\\TEMP")||i("C:\\TMP")||i("\\TEMP")||i("\\TMP")||i("/tmp")||i("/var/tmp")||i("/usr/tmp")||i("."))}return t.register("tempdir",o,{allowGlobbing:!1,wrapOutput:!1}),Sy.tempDir=o,Sy.isCached=function(){return e},Sy.clearCache=function(){e=void 0},Sy}function Oy(){if(ny)return ry;ny=1;var e=l.default;function t(){return e.resolve(process.cwd())}return hv().register("pwd",t,{allowGlobbing:!1}),ry=t}function ky(){if(oy)return iy;oy=1;var e=hv(),t=xy().tempDir,r=Oy(),n=l.default,i=u.default,o=d.default,s=20971520;function c(c,a,u){a=a||{},c||e.error("must specify command");var l=e.readFromPipe();return"function"==typeof a&&(u=a,a={async:!0}),"object"==typeof a&&"function"==typeof u&&(a.async=!0),(a=e.extend({silent:e.config.silent,async:!1},a)).async?function(t,n,i,c){n=e.extend({silent:e.config.silent,cwd:r().toString(),env:process.env,maxBuffer:s,encoding:"utf8"},n);var a=o.exec(t,n,(function(e,t,r){c&&(e?void 0===e.code?c(1,t,r):c(e.code,t,r):c(0,t,r))}));return i&&a.stdin.end(i),n.silent||(a.stdout.pipe(process.stdout),a.stderr.pipe(process.stderr)),a}(c,a,l,u):function(c,a,u){e.config.execPath||e.error("Unable to find a path to the node binary. Please manually set config.execPath");var l=t(),f=n.resolve(l+"/"+e.randomFileName()),p=n.resolve(l+"/"+e.randomFileName()),h=n.resolve(l+"/"+e.randomFileName());a=e.extend({silent:e.config.silent,cwd:r().toString(),env:process.env,maxBuffer:s,encoding:"utf8"},a),i.existsSync(f)&&e.unlinkSync(f),i.existsSync(p)&&e.unlinkSync(p),i.existsSync(h)&&e.unlinkSync(h),a.cwd=n.resolve(a.cwd);var d={command:c,execOptions:a,pipe:u,stdoutFile:h,stderrFile:p};function v(e,t){i.writeFileSync(e,t,{encoding:"utf8",mode:parseInt("600",8)})}v(h,""),v(p,""),v(f,JSON.stringify(d));var y=[n.join(__dirname,"exec-child.js"),f];a.silent?a.stdio="ignore":a.stdio=[0,1,2];var g=0;try{delete a.shell,o.execFileSync(e.config.execPath,y,a)}catch(e){g=e.status||1}var m="",b="";"buffer"===a.encoding?(m=i.readFileSync(h),b=i.readFileSync(p)):(m=i.readFileSync(h,a.encoding),b=i.readFileSync(p,a.encoding));try{e.unlinkSync(f)}catch(e){}try{e.unlinkSync(p)}catch(e){}try{e.unlinkSync(h)}catch(e){}return 0!==g&&e.error(b,g,{continue:!0,silent:!0}),e.ShellString(m,b,g)}(c,a,l)}return e.register("exec",c,{unix:!1,canReceivePipe:!0,wrapOutput:!1}),iy=c}function jy(){if(cy)return sy;cy=1;var e=l.default,t=u.default,r=hv(),n=pv(),i=e.sep+"**";function o(o,c){o.all_deprecated&&(r.log("ls: Option -a is deprecated. Use -A instead"),o.all=!0),c=c?[].slice.call(arguments,1):["."];var a=[];function u(e,t,n){"win32"===process.platform&&(t=t.replace(/\\/g,"/")),o.long?(n=n||(o.link?r.statFollowLinks(e):r.statNoFollowLinks(e)),a.push(s(t,n))):a.push(t)}return c.forEach((function(s){var c;try{if((c=o.link?r.statFollowLinks(s):r.statNoFollowLinks(s)).isSymbolicLink())try{var a=r.statFollowLinks(s);a.isDirectory()&&(c=a)}catch(e){}}catch(e){return void r.error("no such file or directory: "+s,2,{continue:!0})}c.isDirectory()&&!o.directory?o.recursive?n.sync(s+i,{dot:o.all,follow:o.link}).forEach((function(t){e.relative(s,t)&&u(t,e.relative(s,t))})):o.all?t.readdirSync(s).forEach((function(t){u(e.join(s,t),t)})):t.readdirSync(s).forEach((function(t){"."!==t[0]&&u(e.join(s,t),t)})):u(s,s,c)})),a}function s(e,t){return t.name=e,t.toString=function(){return[this.mode,this.nlink,this.uid,this.gid,this.size,this.mtime,this.name].join(" ")},t}return r.register("ls",o,{cmdOptions:{R:"recursive",A:"all",L:"link",a:"all_deprecated",d:"directory",l:"long"}}),sy=o}function _y(){if(uy)return ay;uy=1;var e=l.default,t=hv(),r=jy();function n(n,i){i?"string"==typeof i&&(i=[].slice.call(arguments,1)):t.error("no path specified");var o=[];function s(e){"win32"===process.platform&&(e=e.replace(/\\/g,"/")),o.push(e)}return i.forEach((function(n){var i;try{i=t.statFollowLinks(n)}catch(e){t.error("no such file or directory: "+n)}s(n),i.isDirectory()&&r({recursive:!0,all:!0},n).forEach((function(t){s(e.join(n,t))}))})),o}return t.register("find",n,{}),ay=n}function Ay(){if(fy)return ly;fy=1;var e=hv(),t=u.default;function r(r,n,i){var o=e.readFromPipe();i||o||e.error("no paths given",2),i=[].slice.call(arguments,2),o&&i.unshift("-");var s=[];return r.ignoreCase&&(n=new RegExp(n,"i")),i.forEach((function(i){if(t.existsSync(i)||"-"===i){var c="-"===i?o:t.readFileSync(i,"utf8");if(r.nameOnly)c.match(n)&&s.push(i);else c.split("\n").forEach((function(e){var t=e.match(n);(r.inverse&&!t||!r.inverse&&t)&&s.push(e)}))}else e.error("no such file or directory: "+i,2,{continue:!0})})),s.join("\n")+"\n"}return e.register("grep",r,{globStart:2,canReceivePipe:!0,cmdOptions:{v:"inverse",l:"nameOnly",i:"ignoreCase"}}),ly=r}function Ry(){if(hy)return py;hy=1;var e=hv(),t=u.default;function r(r,n){for(var i=e.buffer(),o=i.length,s=o,c=0,a=t.openSync(r,"r"),u=0,l="";s===o&&u<n;){s=t.readSync(a,i,0,o,c);var f=i.toString("utf8",0,s);u+=f.split("\n").length-1,l+=f,c+=s}return t.closeSync(a),l}function n(n,i){var o=[],s=e.readFromPipe();i||s||e.error("no paths given");var c=1;!0===n.numLines?(c=2,n.numLines=Number(arguments[1])):!1===n.numLines&&(n.numLines=10),i=[].slice.call(arguments,c),s&&i.unshift("-");var a=!1;return i.forEach((function(i){if("-"!==i){if(!t.existsSync(i))return void e.error("no such file or directory: "+i,{continue:!0});if(e.statFollowLinks(i).isDirectory())return void e.error("error reading '"+i+"': Is a directory",{continue:!0})}var c=("-"===i?s:n.numLines<0?t.readFileSync(i,"utf8"):r(i,n.numLines)).split("\n"),u=""===c[c.length-1];u&&c.pop(),a=u||n.numLines<c.length,o=o.concat(c.slice(0,n.numLines))})),a&&o.push(""),o.join("\n")}return e.register("head",n,{canReceivePipe:!0,cmdOptions:{n:"numLines"}}),py=n}function Iy(){if(vy)return dy;vy=1;var e=u.default,t=l.default,r=hv();function n(n,i,o){i&&o||r.error("Missing <source> and/or <dest>"),i=String(i);var s=t.normalize(i).replace(RegExp(t.sep+"$"),""),c=t.resolve(i)===s;if(o=t.resolve(process.cwd(),String(o)),e.existsSync(o)&&(n.force||r.error("Destination file exists",{continue:!0}),e.unlinkSync(o)),n.symlink){var a="win32"===process.platform,u=a?"file":null,l=c?s:t.resolve(process.cwd(),t.dirname(o),i);e.existsSync(l)?a&&r.statFollowLinks(l).isDirectory()&&(u="junction"):r.error("Source file does not exist",{continue:!0});try{e.symlinkSync("junction"===u?l:i,o,u)}catch(e){r.error(e.message)}}else{e.existsSync(i)||r.error("Source file does not exist",{continue:!0});try{e.linkSync(i,o)}catch(e){r.error(e.message)}}return""}return r.register("ln",n,{cmdOptions:{s:"symlink",f:"force"}}),dy=n}function Fy(){if(gy)return yy;gy=1;var e=hv(),t=u.default,r=l.default;function n(i){var o=r.dirname(i);o===i&&e.error("dirname() failed: ["+i+"]"),t.existsSync(o)||n(o),t.mkdirSync(i,parseInt("0777",8))}function i(i,o){return o||e.error("no paths given"),"string"==typeof o&&(o=[].slice.call(arguments,1)),o.forEach((function(o){try{var s=e.statNoFollowLinks(o);return void(i.fullpath?s.isFile()&&e.error("cannot create directory "+o+": File exists",{continue:!0}):e.error("path already exists: "+o,{continue:!0}))}catch(e){}var c=r.dirname(o);if(t.existsSync(c)||i.fullpath)try{i.fullpath?n(r.resolve(o)):t.mkdirSync(o,parseInt("0777",8))}catch(t){var a;if("EACCES"===t.code)a="Permission denied";else{if("ENOTDIR"!==t.code&&"ENOENT"!==t.code)throw t;a="Not a directory"}e.error("cannot create directory "+o+": "+a,{continue:!0})}else e.error("no such file or directory: "+c,{continue:!0})})),""}return e.register("mkdir",i,{cmdOptions:{p:"fullpath"}}),yy=i}function Ly(){if(by)return my;by=1;var e=hv(),t=u.default;function r(i,o,s){var c;c=t.readdirSync(i);for(var a=0;a<c.length;a++){var u=i+"/"+c[a];if(e.statNoFollowLinks(u).isDirectory())r(u,o);else if(o||n(u))try{e.unlinkSync(u)}catch(t){e.error("could not remove file (code "+t.code+"): "+u,{continue:!0})}}if(!s){var l;try{for(var f=Date.now();;)try{if(l=t.rmdirSync(i),t.existsSync(i))throw{code:"EAGAIN"};break}catch(e){if("win32"!==process.platform||"ENOTEMPTY"!==e.code&&"EBUSY"!==e.code&&"EPERM"!==e.code&&"EAGAIN"!==e.code){if("ENOENT"===e.code)break;throw e}if(Date.now()-f>1e3)throw e}}catch(t){e.error("could not remove directory (code "+t.code+"): "+i,{continue:!0})}return l}}function n(e){var r=!0;try{var n=t.openSync(e,"a");t.closeSync(n)}catch(e){r=!1}return r}function i(t,r){r.force||n(t)?e.unlinkSync(t):e.error("permission denied: "+t,{continue:!0})}function o(t,n){n.recursive?r(t,n.force):e.error("path is a directory",{continue:!0})}function s(t,n){var i;try{i=e.statFollowLinks(t)}catch(r){return void e.unlinkSync(t)}if(i.isFile())e.unlinkSync(t);else if(i.isDirectory())if("/"===t[t.length-1])if(n.recursive){r(t,n.force,!0)}else e.error("path is a directory",{continue:!0});else e.unlinkSync(t)}function c(t){e.unlinkSync(t)}function a(t,r){return r||e.error("no paths given"),(r=[].slice.call(arguments,1)).forEach((function(r){var n;try{var a="/"===r[r.length-1]?r.slice(0,-1):r;n=e.statNoFollowLinks(a)}catch(n){return void(t.force||e.error("no such file or directory: "+r,{continue:!0}))}n.isFile()?i(r,t):n.isDirectory()?o(r,t):n.isSymbolicLink()?s(r,t):n.isFIFO()&&c(r)})),""}return e.register("rm",a,{cmdOptions:{f:"force",r:"recursive",R:"recursive"}}),my=a}function Ty(){if(Ey)return wy;Ey=1;var e=u.default,t=l.default,r=hv(),n=gv(),i=Ly();function o(e,r){var n=e[r];return e.slice(0,r).some((function(e){return t.basename(e)===t.basename(n)}))}function s(s,c,a){arguments.length<3?r.error("missing <source> and/or <dest>"):arguments.length>3?(c=[].slice.call(arguments,1,arguments.length-1),a=arguments[arguments.length-1]):"string"==typeof c?c=[c]:r.error("invalid arguments");var u=e.existsSync(a),l=u&&r.statFollowLinks(a);return u&&l.isDirectory()||!(c.length>1)||r.error("dest is not a directory (too many sources)"),u&&l.isFile()&&s.no_force&&r.error("dest file already exists: "+a),c.forEach((function(u,l){if(e.existsSync(u)){var f=a;if(e.existsSync(a)&&r.statFollowLinks(a).isDirectory()&&(f=t.normalize(a+"/"+t.basename(u))),e.existsSync(f)&&o(c,l))s.no_force||r.error("will not overwrite just-created '"+f+"' with '"+u+"'",{continue:!0});else if(e.existsSync(f)&&s.no_force)r.error("dest file already exists: "+f,{continue:!0});else if(t.resolve(u)!==t.dirname(t.resolve(f)))try{e.renameSync(u,f)}catch(e){"EXDEV"===e.code&&(n("-r",u,f),i("-rf",u))}else r.error("cannot move to self: "+u,{continue:!0})}else r.error("no such file or directory: "+u,{continue:!0})})),""}return r.register("mv",s,{cmdOptions:{f:"!no_force",n:"no_force"}}),wy=s}var Py,Dy={};function Cy(){return Py||(Py=1),Dy}var Ny,My,Gy,$y,By,Uy={};function Wy(){return Ny||(Ny=1),Uy}function qy(){if(Gy)return My;Gy=1;var e=hv(),t=u.default;function r(r,n,i,o){var s=e.readFromPipe();"string"!=typeof i&&"function"!=typeof i&&("number"==typeof i?i=i.toString():e.error("invalid replacement string")),"string"==typeof n&&(n=RegExp(n)),o||s||e.error("no files given"),o=[].slice.call(arguments,3),s&&o.unshift("-");var c=[];return o.forEach((function(o){if(t.existsSync(o)||"-"===o){var a=("-"===o?s:t.readFileSync(o,"utf8")).split("\n").map((function(e){return e.replace(n,i)})).join("\n");c.push(a),r.inplace&&t.writeFileSync(o,a,"utf8")}else e.error("no such file or directory: "+o,2,{continue:!0})})),c.join("\n")}return e.register("sed",r,{globStart:3,canReceivePipe:!0,cmdOptions:{i:"inplace"}}),My=r}function zy(){if(By)return $y;By=1;var e=hv();function t(t){if(!t){var r=[].slice.call(arguments,0);r.length<2&&e.error("must provide an argument"),t=r[1]}var n="+"===t[0];n&&(t="-"+t.slice(1)),t=e.parseOptions(t,{e:"fatal",v:"verbose",f:"noglob"}),n&&Object.keys(t).forEach((function(e){t[e]=!t[e]})),Object.keys(t).forEach((function(r){n!==t[r]&&(e.config[r]=t[r])}))}return e.register("set",t,{allowGlobbing:!1,wrapOutput:!1}),$y=t}var Xy=hl.end,Hy=gl("trimEnd")?function(){return Xy(this)}:"".trimEnd;ai({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==Hy},{trimRight:Hy});var Vy,Yy,Ky,Qy,Jy,Zy,eg,tg,rg,ng,ig,og,sg,cg,ag,ug,lg;function fg(){if(Yy)return Vy;Yy=1;var e=hv(),t=u.default;function r(e){var t=e.match(/^\s*(\d*)\s*(.*)$/);return{num:Number(t[1]),value:t[2]}}function n(e,t){var r=e.toLowerCase(),n=t.toLowerCase();return r===n?-1*e.localeCompare(t):r.localeCompare(n)}function i(e,t){var i=r(e),o=r(t);return i.hasOwnProperty("num")&&o.hasOwnProperty("num")&&i.num!==o.num?i.num-o.num:n(i.value,o.value)}function o(r,o){var s=e.readFromPipe();o||s||e.error("no files given"),o=[].slice.call(arguments,1),s&&o.unshift("-");var c=o.reduce((function(r,n){if("-"!==n){if(!t.existsSync(n))return e.error("no such file or directory: "+n,{continue:!0}),r;if(e.statFollowLinks(n).isDirectory())return e.error("read failed: "+n+": Is a directory",{continue:!0}),r}var i="-"===n?s:t.readFileSync(n,"utf8");return r.concat(i.trimRight().split("\n"))}),[]),a=c.sort(r.numerical?i:n);return r.reverse&&(a=a.reverse()),a.join("\n")+"\n"}return e.register("sort",o,{canReceivePipe:!0,cmdOptions:{r:"reverse",n:"numerical"}}),Vy=o}function pg(){if(Qy)return Ky;Qy=1;var e=hv(),t=u.default;function r(r,n){var i=[],o=e.readFromPipe();n||o||e.error("no paths given");var s=1;!0===r.numLines?(s=2,r.numLines=Number(arguments[1])):!1===r.numLines&&(r.numLines=10),r.numLines=-1*Math.abs(r.numLines),n=[].slice.call(arguments,s),o&&n.unshift("-");var c=!1;return n.forEach((function(n){if("-"!==n){if(!t.existsSync(n))return void e.error("no such file or directory: "+n,{continue:!0});if(e.statFollowLinks(n).isDirectory())return void e.error("error reading '"+n+"': Is a directory",{continue:!0})}var s=("-"===n?o:t.readFileSync(n,"utf8")).split("\n");""===s[s.length-1]?(s.pop(),c=!0):c=!1,i=i.concat(s.slice(r.numLines))})),c&&i.push(""),i.join("\n")}return e.register("tail",r,{canReceivePipe:!0,cmdOptions:{n:"numLines"}}),Ky=r}function hg(){if(Zy)return Jy;Zy=1;var e=hv(),t=u.default;function r(r,n){n||e.error("no path given");var i=!1;if(Object.keys(r).forEach((function(e){!0===r[e]&&(i=!0)})),i||e.error("could not interpret expression"),r.link)try{return e.statNoFollowLinks(n).isSymbolicLink()}catch(e){return!1}if(!t.existsSync(n))return!1;if(r.exists)return!0;var o=e.statFollowLinks(n);return r.block?o.isBlockDevice():r.character?o.isCharacterDevice():r.directory?o.isDirectory():r.file?o.isFile():r.pipe?o.isFIFO():!!r.socket&&o.isSocket()}return e.register("test",r,{cmdOptions:{b:"block",c:"character",d:"directory",e:"exists",f:"file",L:"link",p:"pipe",S:"socket"},wrapOutput:!1,allowGlobbing:!1}),Jy=r}function dg(){if(tg)return eg;tg=1;var e=hv(),t=u.default,r=l.default;function n(n,i){i||e.error("wrong arguments"),t.existsSync(r.dirname(i))||e.error("no such file or directory: "+r.dirname(i));try{return t.writeFileSync(i,this.stdout||this.toString(),"utf8"),this}catch(t){e.error("could not write to file (code "+t.code+"): "+i,{continue:!0})}}return e.register("to",n,{pipeOnly:!0,wrapOutput:!1}),eg=n}function vg(){if(ng)return rg;ng=1;var e=hv(),t=u.default,r=l.default;function n(n,i){i||e.error("wrong arguments"),t.existsSync(r.dirname(i))||e.error("no such file or directory: "+r.dirname(i));try{return t.appendFileSync(i,this.stdout||this.toString(),"utf8"),this}catch(t){e.error("could not append to file (code "+t.code+"): "+i,{continue:!0})}}return e.register("toEnd",n,{pipeOnly:!0,wrapOutput:!1}),rg=n}function yg(){if(og)return ig;og=1;var e=hv(),t=u.default;function r(t,r){return r?"string"==typeof r?r=[].slice.call(arguments,1):e.error("file arg should be a string file path or an Array of string file paths"):e.error("no files given"),r.forEach((function(e){n(t,e)})),""}function n(r,n){var o=i(n);if((!o||!o.isDirectory())&&(o||!r.no_create)){t.closeSync(t.openSync(n,"a"));var s=new Date,c=r.date||s,a=r.date||s;if(r.reference){var u=i(r.reference);u||e.error("failed to get attributess of "+r.reference),c=u.mtime,a=u.atime}else r.date&&(c=r.date,a=r.date);r.atime_only&&r.mtime_only||(r.atime_only?c=o.mtime:r.mtime_only&&(a=o.atime)),t.utimesSync(n,a,c)}}function i(t){try{return e.statFollowLinks(t)}catch(e){return null}}return e.register("touch",r,{cmdOptions:{a:"atime_only",c:"no_create",d:"date",m:"mtime_only",r:"reference"}}),ig=r}function gg(){if(cg)return sg;cg=1;var e=hv(),t=u.default;function r(r,n,i){var o=e.readFromPipe();o||(n||e.error("no input given"),t.existsSync(n)?e.statFollowLinks(n).isDirectory()&&e.error("error reading '"+n+"'"):e.error(n+": No such file or directory")),i&&t.existsSync(i)&&e.statFollowLinks(i).isDirectory()&&e.error(i+": Is a directory");var s=(n?t.readFileSync(n,"utf8"):o).trimRight().split("\n"),c=s.reduceRight((function(e,t){return 0===e.length?[{count:1,ln:t}]:0===(n=e[0].ln,i=t,r.ignoreCase?n.toLocaleLowerCase().localeCompare(i.toLocaleLowerCase()):n.localeCompare(i))?[{count:e[0].count+1,ln:t}].concat(e.slice(1)):[{count:1,ln:t}].concat(e);var n,i}),[]).filter((function(e){return!r.duplicates||e.count>1})).map((function(e){return(r.count?(t=7,n=e.count,(i=""+n).length<t&&(i=Array(t-i.length+1).join(" ")+i),i+" "):"")+e.ln;var t,n,i})).join("\n")+"\n";return i?(new e.ShellString(c).to(i),""):c}return e.register("uniq",r,{canReceivePipe:!0,cmdOptions:{i:"ignoreCase",c:"count",d:"duplicates"}}),sg=r}function mg(){if(ug)return ag;ug=1;var e=hv(),t=u.default,r=l.default;e.register("which",s,{allowGlobbing:!1,cmdOptions:{a:"all"}});function n(){return"win32"===process.platform}function i(e){return e?e.split(r.delimiter):[]}function o(r){return t.existsSync(r)&&!e.statFollowLinks(r).isDirectory()&&(n()||function(e){try{t.accessSync(e,1)}catch(e){return!1}return!0}(r))}function s(t,s){s||e.error("must specify command");var c=n(),a=i(process.env.PATH),u=[];if(-1===s.indexOf("/")){var l=[""];if(c)l=i((process.env.PATHEXT||".com;.exe;.bat;.cmd;.vbs;.vbe;.js;.jse;.wsf;.wsh").toUpperCase());for(var f=0;f<a.length&&(!(u.length>0)||t.all);f++){var p=r.resolve(a[f],s);c&&(p=p.toUpperCase());var h=p.match(/\.[^<>:"/\|?*.]+$/);if(h&&l.indexOf(h[0])>=0){if(o(p)){u.push(p);break}}else for(var d=0;d<l.length;d++){var v=p+l[d];if(o(v)){u.push(v);break}}}}else o(s)&&u.push(r.resolve(s));return u.length>0?t.all?u:u[0]:t.all?[]:null}return ag=s}function bg(){return lg||(lg={"/node_modules/shelljs/src/cat.js":dv,"/node_modules/shelljs/src/cd.js":vv,"/node_modules/shelljs/src/chmod.js":yv,"/node_modules/shelljs/src/common.js":hv,"/node_modules/shelljs/src/cp.js":gv,"/node_modules/shelljs/src/dirs.js":Ov,"/node_modules/shelljs/src/echo.js":kv,"/node_modules/shelljs/src/error.js":jv,"/node_modules/shelljs/src/exec-child.js":Rv,"/node_modules/shelljs/src/exec.js":ky,"/node_modules/shelljs/src/find.js":_y,"/node_modules/shelljs/src/grep.js":Ay,"/node_modules/shelljs/src/head.js":Ry,"/node_modules/shelljs/src/ln.js":Iy,"/node_modules/shelljs/src/ls.js":jy,"/node_modules/shelljs/src/mkdir.js":Fy,"/node_modules/shelljs/src/mv.js":Ty,"/node_modules/shelljs/src/popd.js":Cy,"/node_modules/shelljs/src/pushd.js":Wy,"/node_modules/shelljs/src/pwd.js":Oy,"/node_modules/shelljs/src/rm.js":Ly,"/node_modules/shelljs/src/sed.js":qy,"/node_modules/shelljs/src/set.js":zy,"/node_modules/shelljs/src/sort.js":fg,"/node_modules/shelljs/src/tail.js":pg,"/node_modules/shelljs/src/tempdir.js":xy,"/node_modules/shelljs/src/test.js":hg,"/node_modules/shelljs/src/to.js":dg,"/node_modules/shelljs/src/toEnd.js":vg,"/node_modules/shelljs/src/touch.js":yg,"/node_modules/shelljs/src/uniq.js":gg,"/node_modules/shelljs/src/which.js":mg})}function wg(e,t){var r,n=function(e){var t=e[0];if("/"===t||"\\"===t)return!1;var r=e[1],n=e[2];return!(!("."!==t||r&&"/"!==r&&"\\"!==r)||!("."!==t||"."!==r||n&&"/"!==n&&"\\"!==n))&&(":"!==r||"/"!==n&&"\\"!==n)}(e);"/"===(e=Eg(e))[0]&&(t="");for(var i=bg(),o=["",".js",".json"];!(r=Eg(n?t+"/node_modules/"+e:t+"/"+e)).endsWith("/..");){for(var s=0;s<o.length;s++){var c=r+o[s];if(i[c])return c}if(!n)break;var a=Eg(t+"/..");if(a===t)break;t=a}return null}function Eg(e){for(var t=(e=e.replace(/\\/g,"/")).split("/"),r=""===t[0],n=1;n<t.length;n++)"."!==t[n]&&""!==t[n]||t.splice(n--,1);for(n=1;n<t.length;n++)".."===t[n]&&n>0&&".."!==t[n-1]&&"."!==t[n-1]&&(t.splice(--n,2),n--);return e=t.join("/"),r&&"/"!==e[0]?e="/"+e:0===e.length&&(e="."),e}ai({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==Hy},{trimEnd:Hy});var Sg,xg={},Og=["cat","cd","chmod","cp","dirs","echo","exec","find","grep","head","ln","ls","mkdir","mv","pwd","rm","sed","set","sort","tail","tempdir","test","to","toEnd","touch","uniq","which"];function kg(){if(Sg)return xg;Sg=1;var e=hv();return Og.forEach((function(e){!function(e){function t(t){var r=wg(t,e);if(null!==r)return bg()[r]();throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}return t.resolve=function(t){var r=wg(t,e);return null!==r?r:require.resolve(t)},t}("/node_modules/shelljs")("./src/"+e)})),xg.exit=process.exit,xg.error=jv(),xg.ShellString=e.ShellString,xg.env=process.env,xg.config=e.config,xg}var jg=kg(),_g=hv();Object.keys(jg).forEach((function(e){v[e]=jg[e]}));var Ag=dg();String.prototype.to=_g.wrap("to",Ag);var Rg=vg();String.prototype.toEnd=_g.wrap("toEnd",Rg),v.config.fatal=!0,v.target={};var Ig,Fg=process.argv.slice(2),Lg=Fg.indexOf("--");Lg>-1&&(Ig=Fg.slice(Lg+1,Fg.length),Fg=Fg.slice(0,Lg)),setTimeout((function(){var e;if(1!==Fg.length||"--help"!==Fg[0]){for(e in v.target)!function(e,t){v.target[e]=function(){return t.done||(t.done=!0,t.result=t.apply(t,arguments)),t.result}}(e,v.target[e]);Fg.length>0?Fg.forEach((function(e){e in v.target?v.target[e](Ig):console.log("no such target: "+e)})):"all"in v.target&&v.target.all(Ig)}else for(e in console.log("Available targets:"),v.target)console.log(" "+e)}),0);const Tg=global,Pg=new Proxy(global.target,{set:function(e,t,r){return Reflect.set(...arguments)},get:function(e,t,r){return Gg(`make ${t}`),Reflect.get(...arguments)}}),Dg=["packages","codemods","eslint"],Cg=["eslint","scripts","benchmark",...Dg,"*.{js,cjs,mjs,ts}","--format","codeframe","--ext",".js,.cjs,.mjs,.ts"],Ng=Tg.which("yarn").stdout,Mg=process.execPath;function Gg(...e){console.log.apply(console,e)}function $g(e,t,r,n=!0){Gg(`${e.replaceAll(Ng,"yarn").replaceAll(Mg,"node")} ${t.join(" ")}`);try{return s.execFileSync(e,t,{stdio:n?"inherit":void 0,cwd:r&&l.default.resolve(r),env:process.env})}catch(r){throw n&&0!=r.status&&(console.error(new Error(`\ncommand: ${e} ${t.join(" ")}\ncode: ${r.status}`)),process.exit(r.status)),r}}function Bg(e,t,r){return $g(Ng,e,t,r)}function Ug(e,t,r){return $g(Mg,e,t,r)}function Wg(e,t){const r=process.env;process.env=Object.assign(Object.assign({},r),t),e(),process.env=r}Tg.config.verbose=!0,Pg["clean-all"]=function(){Tg.rm("-rf",["node_modules","package-lock.json",".changelog"]),Dg.forEach((e=>{Tg.rm("-rf",`${e}/*/test/tmp`),Tg.rm("-rf",`${e}/*/package-lock.json`)})),Pg.clean(),Pg["clean-lib"]()},Pg.clean=function(){Pg["test-clean"](),Tg.rm("-rf",[".npmrc","coverage","packages/*/npm-debug*","node_modules/.cache"])},Pg["test-clean"]=function(){Dg.forEach((e=>{Tg.rm("-rf",`${e}/*/test/tmp`),Tg.rm("-rf",`${e}/*/test-fixtures.json`)}))},Pg["clean-lib"]=function(){Tg.rm("-rf",Dg.map((e=>`${e}/*/lib`)))},Pg["clean-runtime-helpers"]=function(){Tg.rm("-rf",["packages/babel-runtime/helpers/**/*.js","packages/babel-runtime-corejs2/helpers/**/*.js","packages/babel-runtime-corejs3/helpers/**/*.js","packages/babel-runtime/helpers/**/*.mjs","packages/babel-runtime-corejs2/helpers/**/*.mjs","packages/babel-runtime-corejs3/helpers/**/*.mjs","packages/babel-runtime-corejs2/core-js"])},Pg["use-cjs"]=function(){Ug(["scripts/set-module-type.js","script"]),Pg.bootstrap()},Pg["use-esm"]=function(){Ug(["scripts/set-module-type.js","module"]),Pg.bootstrap()},Pg["bootstrap-only"]=function(){Pg["clean-all"](),Bg(["install"])},Pg.bootstrap=function(){Pg["bootstrap-only"](),Pg["generate-tsconfig"](),Pg.build()},Pg.build=function(){Pg["build-no-bundle"](),"true"!=process.env.BABEL_COVERAGE&&Pg["build-standalone"]()},Pg["build-standalone"]=function(){Bg(["gulp","build-babel-standalone"])},Pg["build-bundle"]=function(){Pg.clean(),Pg["clean-lib"](),Ug(["scripts/set-module-type.js"]),Bg(["gulp","build"]),Pg["build-flow-typings"](),Pg["build-dist"]()},Pg["build-no-bundle"]=function(){Pg.clean(),Pg["clean-lib"](),Ug(["scripts/set-module-type.js"]),Wg((()=>{Bg(["gulp","build-dev"])}),{BABEL_ENV:"development"}),Pg["build-flow-typings"](),Pg["build-dist"]()},Pg["build-flow-typings"]=function(){t.writeFileSync("packages/babel-types/lib/index.js.flow",Ug(["packages/babel-types/scripts/generators/flow.js"],void 0,!1))},Pg["build-dist"]=function(){Pg["build-plugin-transform-runtime-dist"]()},Pg["build-plugin-transform-runtime-dist"]=function(){Ug(["scripts/build-dist.js"],"packages/babel-plugin-transform-runtime")},Pg.prepublish=function(){Pg["bootstrap-only"](),Wg((()=>{Pg["prepublish-build"](),Pg.test()}),{IS_PUBLISH:"true"}),Ug(["scripts/set-module-type.js","clean"])},Pg["prepublish-build"]=function(){Pg["clean-lib"](),Pg["clean-runtime-helpers"](),Wg((()=>{Pg["build-bundle"]()}),{NODE_ENV:"production",BABEL_ENV:"production",STRIP_BABEL_8_FLAG:"true"}),Wg((()=>{Pg["prepublish-build-standalone"](),Pg["clone-license"](),Pg["prepublish-prepare-dts"]()}),{NODE_ENV:"production",STRIP_BABEL_8_FLAG:"true"})},Pg["prepublish-build-standalone"]=function(){Wg((()=>{Pg["build-standalone"]()}),{BABEL_ENV:"production",IS_PUBLISH:"true"})},Pg["prepublish-prepare-dts"]=function(){Pg.tscheck(),Bg(["gulp","bundle-dts"]),Pg["build-typescript-legacy-typings"]()},Pg.tscheck=function(){Pg["generate-tsconfig"](),Tg.rm("-rf","tsconfig.tsbuildinfo"),Tg.rm("-rf","dts"),Bg(["tsc","-b","."])},Pg["generate-tsconfig"]=function(){Ug(["scripts/generators/tsconfig.js"]),Ug(["scripts/generators/archived-libs-typings.js"])},Pg["generate-type-helpers"]=function(){Bg(["gulp","generate-type-helpers"])},Pg["build-typescript-legacy-typings"]=function(){t.writeFileSync("packages/babel-types/lib/index-legacy.d.ts",Ug(["packages/babel-types/scripts/generators/typescript-legacy.js"],void 0,!1))},Pg["clone-license"]=function(){Ug(["scripts/clone-license.js"])},Pg.lint=function(){Wg((()=>{Bg(Cg)}),{BABEL_ENV:"test"})},Pg.fix=function(){Pg["fix-json"](),Pg["fix-js"]()},Pg["fix-js"]=function(){Bg([...Cg,"--fix"])},Pg["fix-json"]=function(){Bg(["prettier",`{${Dg.join(",")}}/*/test/fixtures/**/options.json`,"--write","--loglevel","warn"])},Pg.watch=function(){Pg["build-no-bundle"](),Wg((()=>{Bg(["gulp","watch"])}),{BABEL_ENV:"development",WATCH_SKIP_BUILD:"true"})},Pg.test=function(){Pg.lint(),Pg["test-only"]()},Pg["test-only"]=function(e=[]){Bg(["jest",...e])},Pg["test-cov"]=function(){Pg.build(),Wg((()=>{Bg(["c8","jest"])}),{BABEL_ENV:"test",BABEL_COVERAGE:"true"})},Pg["new-version-checklist"]=function(){},Pg["new-version"]=function(){Pg["new-version-checklist"](),$g("git",["pull","--rebase"]),Bg(["release-tool","version","-f","@babel/standalone"])},Pg["new-version"]=function(){Pg["new-version-checklist"](),$g("git",["pull","--rebase"]),Bg(["release-tool","version","-f","@babel/standalone"])};