forked from babel/babel
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile.js
4 lines (4 loc) · 208 KB
/
Makefile.js
1
2
3
4
// source hash: eedcb6fe0fc75120b551b3e717d4d27afaeaa76e
/* 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"),a=require("node:buffer"),c=require("node:path"),u=require("node:child_process"),l=require("node:process"),f=require("node:url"),h=require("node:os"),p=require("node:fs");require("node:timers/promises");var d=require("stream"),v=require("node:util");function g(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}function m(e,t){return e.get(g(e,t))}function y(e,t,r){return e.set(g(e,t),r),r}function b(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}function E(e,t,r,n,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void r(e)}a.done?t(c):Promise.resolve(c).then(n,i)}function w(e,t,r){return(t=b(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function S(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function O(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,s,a=[],c=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=o.call(r)).done)&&(a.push(n.value),a.length!==t);c=!0);}catch(e){u=!0,i=e}finally{try{if(!c&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw i}}return a}}(e,t)||R(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function R(e,t){if(e){if("string"==typeof e)return I(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?I(e,t):void 0}}function I(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function A(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=R(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function x(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function T(e,t,r){x(e,t),t.set(e,r)}var j="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function k(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var L=function(e){return e&&e.Math===Math&&e},P=L("object"==typeof globalThis&&globalThis)||L("object"==typeof window&&window)||L("object"==typeof self&&self)||L("object"==typeof j&&j)||L("object"==typeof j&&j)||function(){return this}()||Function("return this")(),N={},_=function(e){try{return!!e()}catch(e){return!0}},C=!_((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),F=!_((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),D=F,M=Function.prototype.call,U=D?M.bind(M):function(){return M.apply(M,arguments)},G={},B={}.propertyIsEnumerable,$=Object.getOwnPropertyDescriptor,q=$&&!B.call({1:2},1);G.f=q?function(e){var t=$(this,e);return!!t&&t.enumerable}:B;var W,H,z=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},X=F,V=Function.prototype,Y=V.call,K=X&&V.bind.bind(Y,Y),J=X?K:function(e){return function(){return Y.apply(e,arguments)}},Q=J,Z=Q({}.toString),ee=Q("".slice),te=function(e){return ee(Z(e),8,-1)},re=_,ne=te,ie=Object,oe=J("".split),se=re((function(){return!ie("z").propertyIsEnumerable(0)}))?function(e){return"String"===ne(e)?oe(e,""):ie(e)}:ie,ae=function(e){return null==e},ce=ae,ue=TypeError,le=function(e){if(ce(e))throw new ue("Can't call method on "+e);return e},fe=se,he=le,pe=function(e){return fe(he(e))},de="object"==typeof document&&document.all,ve=void 0===de&&void 0!==de?function(e){return"function"==typeof e||e===de}:function(e){return"function"==typeof e},ge=ve,me=function(e){return"object"==typeof e?null!==e:ge(e)},ye=P,be=ve,Ee=function(e,t){return arguments.length<2?(r=ye[e],be(r)?r:void 0):ye[e]&&ye[e][t];var r},we=J({}.isPrototypeOf),Se="undefined"!=typeof navigator&&String(navigator.userAgent)||"",Oe=P,Re=Se,Ie=Oe.process,Ae=Oe.Deno,xe=Ie&&Ie.versions||Ae&&Ae.version,Te=xe&&xe.v8;Te&&(H=(W=Te.split("."))[0]>0&&W[0]<4?1:+(W[0]+W[1])),!H&&Re&&(!(W=Re.match(/Edge\/(\d+)/))||W[1]>=74)&&(W=Re.match(/Chrome\/(\d+)/))&&(H=+W[1]);var je=H,ke=je,Le=_,Pe=P.String,Ne=!!Object.getOwnPropertySymbols&&!Le((function(){var e=Symbol("symbol detection");return!Pe(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ke&&ke<41})),_e=Ne&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ce=Ee,Fe=ve,De=we,Me=Object,Ue=_e?function(e){return"symbol"==typeof e}:function(e){var t=Ce("Symbol");return Fe(t)&&De(t.prototype,Me(e))},Ge=String,Be=function(e){try{return Ge(e)}catch(e){return"Object"}},$e=ve,qe=Be,We=TypeError,He=function(e){if($e(e))return e;throw new We(qe(e)+" is not a function")},ze=He,Xe=ae,Ve=function(e,t){var r=e[t];return Xe(r)?void 0:ze(r)},Ye=U,Ke=ve,Je=me,Qe=TypeError,Ze={exports:{}},et=P,tt=Object.defineProperty,rt=function(e,t){try{tt(et,e,{value:t,configurable:!0,writable:!0})}catch(r){et[e]=t}return t},nt=P,it=rt,ot="__core-js_shared__",st=Ze.exports=nt[ot]||it(ot,{});(st.versions||(st.versions=[])).push({version:"3.36.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.36.1/LICENSE",source:"https://github.com/zloirock/core-js"});var at=Ze.exports,ct=at,ut=function(e,t){return ct[e]||(ct[e]=t||{})},lt=le,ft=Object,ht=function(e){return ft(lt(e))},pt=ht,dt=J({}.hasOwnProperty),vt=Object.hasOwn||function(e,t){return dt(pt(e),t)},gt=J,mt=0,yt=Math.random(),bt=gt(1..toString),Et=function(e){return"Symbol("+(void 0===e?"":e)+")_"+bt(++mt+yt,36)},wt=ut,St=vt,Ot=Et,Rt=Ne,It=_e,At=P.Symbol,xt=wt("wks"),Tt=It?At.for||At:At&&At.withoutSetter||Ot,jt=function(e){return St(xt,e)||(xt[e]=Rt&&St(At,e)?At[e]:Tt("Symbol."+e)),xt[e]},kt=U,Lt=me,Pt=Ue,Nt=Ve,_t=function(e,t){var r,n;if("string"===t&&Ke(r=e.toString)&&!Je(n=Ye(r,e)))return n;if(Ke(r=e.valueOf)&&!Je(n=Ye(r,e)))return n;if("string"!==t&&Ke(r=e.toString)&&!Je(n=Ye(r,e)))return n;throw new Qe("Can't convert object to primitive value")},Ct=TypeError,Ft=jt("toPrimitive"),Dt=function(e,t){if(!Lt(e)||Pt(e))return e;var r,n=Nt(e,Ft);if(n){if(void 0===t&&(t="default"),r=kt(n,e,t),!Lt(r)||Pt(r))return r;throw new Ct("Can't convert object to primitive value")}return void 0===t&&(t="number"),_t(e,t)},Mt=Dt,Ut=Ue,Gt=function(e){var t=Mt(e,"string");return Ut(t)?t:t+""},Bt=me,$t=P.document,qt=Bt($t)&&Bt($t.createElement),Wt=function(e){return qt?$t.createElement(e):{}},Ht=Wt,zt=!C&&!_((function(){return 7!==Object.defineProperty(Ht("div"),"a",{get:function(){return 7}}).a})),Xt=C,Vt=U,Yt=G,Kt=z,Jt=pe,Qt=Gt,Zt=vt,er=zt,tr=Object.getOwnPropertyDescriptor;N.f=Xt?tr:function(e,t){if(e=Jt(e),t=Qt(t),er)try{return tr(e,t)}catch(e){}if(Zt(e,t))return Kt(!Vt(Yt.f,e,t),e[t])};var rr={},nr=C&&_((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),ir=me,or=String,sr=TypeError,ar=function(e){if(ir(e))return e;throw new sr(or(e)+" is not an object")},cr=C,ur=zt,lr=nr,fr=ar,hr=Gt,pr=TypeError,dr=Object.defineProperty,vr=Object.getOwnPropertyDescriptor,gr="enumerable",mr="configurable",yr="writable";rr.f=cr?lr?function(e,t,r){if(fr(e),t=hr(t),fr(r),"function"==typeof e&&"prototype"===t&&"value"in r&&yr in r&&!r[yr]){var n=vr(e,t);n&&n[yr]&&(e[t]=r.value,r={configurable:mr in r?r[mr]:n[mr],enumerable:gr in r?r[gr]:n[gr],writable:!1})}return dr(e,t,r)}:dr:function(e,t,r){if(fr(e),t=hr(t),fr(r),ur)try{return dr(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new pr("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var br=rr,Er=z,wr=C?function(e,t,r){return br.f(e,t,Er(1,r))}:function(e,t,r){return e[t]=r,e},Sr={exports:{}},Or=C,Rr=vt,Ir=Function.prototype,Ar=Or&&Object.getOwnPropertyDescriptor,xr=Rr(Ir,"name"),Tr={EXISTS:xr,PROPER:xr&&"something"===function(){}.name,CONFIGURABLE:xr&&(!Or||Or&&Ar(Ir,"name").configurable)},jr=ve,kr=at,Lr=J(Function.toString);jr(kr.inspectSource)||(kr.inspectSource=function(e){return Lr(e)});var Pr,Nr,_r,Cr=kr.inspectSource,Fr=ve,Dr=P.WeakMap,Mr=Fr(Dr)&&/native code/.test(String(Dr)),Ur=Et,Gr=ut("keys"),Br=function(e){return Gr[e]||(Gr[e]=Ur(e))},$r={},qr=Mr,Wr=P,Hr=me,zr=wr,Xr=vt,Vr=at,Yr=Br,Kr=$r,Jr="Object already initialized",Qr=Wr.TypeError,Zr=Wr.WeakMap;if(qr||Vr.state){var en=Vr.state||(Vr.state=new Zr);en.get=en.get,en.has=en.has,en.set=en.set,Pr=function(e,t){if(en.has(e))throw new Qr(Jr);return t.facade=e,en.set(e,t),t},Nr=function(e){return en.get(e)||{}},_r=function(e){return en.has(e)}}else{var tn=Yr("state");Kr[tn]=!0,Pr=function(e,t){if(Xr(e,tn))throw new Qr(Jr);return t.facade=e,zr(e,tn,t),t},Nr=function(e){return Xr(e,tn)?e[tn]:{}},_r=function(e){return Xr(e,tn)}}var rn={set:Pr,get:Nr,has:_r,enforce:function(e){return _r(e)?Nr(e):Pr(e,{})},getterFor:function(e){return function(t){var r;if(!Hr(t)||(r=Nr(t)).type!==e)throw new Qr("Incompatible receiver, "+e+" required");return r}}},nn=J,on=_,sn=ve,an=vt,cn=C,un=Tr.CONFIGURABLE,ln=Cr,fn=rn.enforce,hn=rn.get,pn=String,dn=Object.defineProperty,vn=nn("".slice),gn=nn("".replace),mn=nn([].join),yn=cn&&!on((function(){return 8!==dn((function(){}),"length",{value:8}).length})),bn=String(String).split("String"),En=Sr.exports=function(e,t,r){"Symbol("===vn(pn(t),0,7)&&(t="["+gn(pn(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!an(e,"name")||un&&e.name!==t)&&(cn?dn(e,"name",{value:t,configurable:!0}):e.name=t),yn&&r&&an(r,"arity")&&e.length!==r.arity&&dn(e,"length",{value:r.arity});try{r&&an(r,"constructor")&&r.constructor?cn&&dn(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=fn(e);return an(n,"source")||(n.source=mn(bn,"string"==typeof t?t:"")),e};Function.prototype.toString=En((function(){return sn(this)&&hn(this).source||ln(this)}),"toString");var wn=Sr.exports,Sn=ve,On=rr,Rn=wn,In=rt,An=function(e,t,r,n){n||(n={});var i=n.enumerable,o=void 0!==n.name?n.name:t;if(Sn(r)&&Rn(r,o,n),n.global)i?e[t]=r:In(t,r);else{try{n.unsafe?e[t]&&(i=!0):delete e[t]}catch(e){}i?e[t]=r:On.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},xn={},Tn=Math.ceil,jn=Math.floor,kn=Math.trunc||function(e){var t=+e;return(t>0?jn:Tn)(t)},Ln=function(e){var t=+e;return t!=t||0===t?0:kn(t)},Pn=Ln,Nn=Math.max,_n=Math.min,Cn=function(e,t){var r=Pn(e);return r<0?Nn(r+t,0):_n(r,t)},Fn=Ln,Dn=Math.min,Mn=function(e){var t=Fn(e);return t>0?Dn(t,9007199254740991):0},Un=Mn,Gn=function(e){return Un(e.length)},Bn=pe,$n=Cn,qn=Gn,Wn=function(e){return function(t,r,n){var i=Bn(t),o=qn(i);if(0===o)return!e&&-1;var s,a=$n(n,o);if(e&&r!=r){for(;o>a;)if((s=i[a++])!=s)return!0}else for(;o>a;a++)if((e||a in i)&&i[a]===r)return e||a||0;return!e&&-1}},Hn={includes:Wn(!0),indexOf:Wn(!1)},zn=vt,Xn=pe,Vn=Hn.indexOf,Yn=$r,Kn=J([].push),Jn=function(e,t){var r,n=Xn(e),i=0,o=[];for(r in n)!zn(Yn,r)&&zn(n,r)&&Kn(o,r);for(;t.length>i;)zn(n,r=t[i++])&&(~Vn(o,r)||Kn(o,r));return o},Qn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Zn=Jn,ei=Qn.concat("length","prototype");xn.f=Object.getOwnPropertyNames||function(e){return Zn(e,ei)};var ti={};ti.f=Object.getOwnPropertySymbols;var ri=Ee,ni=xn,ii=ti,oi=ar,si=J([].concat),ai=ri("Reflect","ownKeys")||function(e){var t=ni.f(oi(e)),r=ii.f;return r?si(t,r(e)):t},ci=vt,ui=ai,li=N,fi=rr,hi=function(e,t,r){for(var n=ui(t),i=fi.f,o=li.f,s=0;s<n.length;s++){var a=n[s];ci(e,a)||r&&ci(r,a)||i(e,a,o(t,a))}},pi=_,di=ve,vi=/#|\.prototype\./,gi=function(e,t){var r=yi[mi(e)];return r===Ei||r!==bi&&(di(t)?pi(t):!!t)},mi=gi.normalize=function(e){return String(e).replace(vi,".").toLowerCase()},yi=gi.data={},bi=gi.NATIVE="N",Ei=gi.POLYFILL="P",wi=gi,Si=P,Oi=N.f,Ri=wr,Ii=An,Ai=rt,xi=hi,Ti=wi,ji=function(e,t){var r,n,i,o,s,a=e.target,c=e.global,u=e.stat;if(r=c?Si:u?Si[a]||Ai(a,{}):Si[a]&&Si[a].prototype)for(n in t){if(o=t[n],i=e.dontCallGetSet?(s=Oi(r,n))&&s.value:r[n],!Ti(c?n:a+(u?".":"#")+n,e.forced)&&void 0!==i){if(typeof o==typeof i)continue;xi(o,i)}(e.sham||i&&i.sham)&&Ri(o,"sham",!0),Ii(r,n,o,e)}},ki=F,Li=Function.prototype,Pi=Li.apply,Ni=Li.call,_i="object"==typeof Reflect&&Reflect.apply||(ki?Ni.bind(Pi):function(){return Ni.apply(Pi,arguments)}),Ci=J,Fi=He,Di=function(e,t,r){try{return Ci(Fi(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}},Mi=me,Ui=function(e){return Mi(e)||null===e},Gi=String,Bi=TypeError,$i=Di,qi=me,Wi=le,Hi=function(e){if(Ui(e))return e;throw new Bi("Can't set "+Gi(e)+" as a prototype")},zi=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=$i(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return Wi(r),Hi(n),qi(r)?(t?e(r,n):r.__proto__=n,r):r}}():void 0),Xi=rr.f,Vi=function(e,t,r){r in e||Xi(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})},Yi=ve,Ki=me,Ji=zi,Qi=function(e,t,r){var n,i;return Ji&&Yi(n=t.constructor)&&n!==r&&Ki(i=n.prototype)&&i!==r.prototype&&Ji(e,i),e},Zi={};Zi[jt("toStringTag")]="z";var eo="[object z]"===String(Zi),to=ve,ro=te,no=jt("toStringTag"),io=Object,oo="Arguments"===ro(function(){return arguments}()),so=eo?ro: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=io(e),no))?r:oo?ro(t):"Object"===(n=ro(t))&&to(t.callee)?"Arguments":n},ao=so,co=String,uo=function(e){if("Symbol"===ao(e))throw new TypeError("Cannot convert a Symbol value to a string");return co(e)},lo=uo,fo=me,ho=wr,po=Error,vo=J("".replace),go=String(new po("zxcasd").stack),mo=/\n\s*at [^:]*:[^\n]*/,yo=mo.test(go),bo=z,Eo=!_((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",bo(1,7)),7!==e.stack)})),wo=wr,So=function(e,t){if(yo&&"string"==typeof e&&!po.prepareStackTrace)for(;t--;)e=vo(e,mo,"");return e},Oo=Eo,Ro=Error.captureStackTrace,Io=Ee,Ao=vt,xo=wr,To=we,jo=zi,ko=hi,Lo=Vi,Po=Qi,No=function(e,t){return void 0===e?arguments.length<2?"":t:lo(e)},_o=function(e,t){fo(t)&&"cause"in t&&ho(e,"cause",t.cause)},Co=function(e,t,r,n){Oo&&(Ro?Ro(e,t):wo(e,"stack",So(r,n)))},Fo=C,Do=ji,Mo=_i,Uo=function(e,t,r,n){var i="stackTraceLimit",o=n?2:1,s=e.split("."),a=s[s.length-1],c=Io.apply(null,s);if(c){var u=c.prototype;if(Ao(u,"cause")&&delete u.cause,!r)return c;var l=Io("Error"),f=t((function(e,t){var r=No(n?t:e,void 0),i=n?new c(e):new c;return void 0!==r&&xo(i,"message",r),Co(i,f,i.stack,2),this&&To(u,this)&&Po(i,this,f),arguments.length>o&&_o(i,arguments[o]),i}));f.prototype=u,"Error"!==a?jo?jo(f,l):ko(f,l,{name:!0}):Fo&&i in c&&(Lo(f,c,i),Lo(f,c,"prepareStackTrace")),ko(f,c);try{u.name!==a&&xo(u,"name",a),u.constructor=f}catch(e){}return f}},Go="WebAssembly",Bo=P[Go],$o=7!==new Error("e",{cause:7}).cause,qo=function(e,t){var r={};r[e]=Uo(e,t,$o),Do({global:!0,constructor:!0,arity:1,forced:$o},r)},Wo=function(e,t){if(Bo&&Bo[e]){var r={};r[e]=Uo(Go+"."+e,t,$o),Do({target:Go,stat:!0,constructor:!0,arity:1,forced:$o},r)}};qo("Error",(function(e){return function(t){return Mo(e,this,arguments)}})),qo("EvalError",(function(e){return function(t){return Mo(e,this,arguments)}})),qo("RangeError",(function(e){return function(t){return Mo(e,this,arguments)}})),qo("ReferenceError",(function(e){return function(t){return Mo(e,this,arguments)}})),qo("SyntaxError",(function(e){return function(t){return Mo(e,this,arguments)}})),qo("TypeError",(function(e){return function(t){return Mo(e,this,arguments)}})),qo("URIError",(function(e){return function(t){return Mo(e,this,arguments)}})),Wo("CompileError",(function(e){return function(t){return Mo(e,this,arguments)}})),Wo("LinkError",(function(e){return function(t){return Mo(e,this,arguments)}})),Wo("RuntimeError",(function(e){return function(t){return Mo(e,this,arguments)}}));var Ho=te,zo=J,Xo=function(e){if("Function"===Ho(e))return zo(e)},Vo=He,Yo=F,Ko=Xo(Xo.bind),Jo=function(e,t){return Vo(e),void 0===t?e:Yo?Ko(e,t):function(){return e.apply(t,arguments)}},Qo=te,Zo=Array.isArray||function(e){return"Array"===Qo(e)},es=J,ts=_,rs=ve,ns=so,is=Cr,os=function(){},ss=Ee("Reflect","construct"),as=/^\s*(?:class|function)\b/,cs=es(as.exec),us=!as.test(os),ls=function(e){if(!rs(e))return!1;try{return ss(os,[],e),!0}catch(e){return!1}},fs=function(e){if(!rs(e))return!1;switch(ns(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return us||!!cs(as,is(e))}catch(e){return!0}};fs.sham=!0;var hs=!ss||ts((function(){var e;return ls(ls.call)||!ls(Object)||!ls((function(){e=!0}))||e}))?fs:ls,ps=Zo,ds=hs,vs=me,gs=jt("species"),ms=Array,ys=function(e){var t;return ps(e)&&(t=e.constructor,(ds(t)&&(t===ms||ps(t.prototype))||vs(t)&&null===(t=t[gs]))&&(t=void 0)),void 0===t?ms:t},bs=function(e,t){return new(ys(e))(0===t?0:t)},Es=Jo,ws=se,Ss=ht,Os=Gn,Rs=bs,Is=J([].push),As=function(e){var t=1===e,r=2===e,n=3===e,i=4===e,o=6===e,s=7===e,a=5===e||o;return function(c,u,l,f){for(var h,p,d=Ss(c),v=ws(d),g=Os(v),m=Es(u,l),y=0,b=f||Rs,E=t?b(c,g):r||s?b(c,0):void 0;g>y;y++)if((a||y in v)&&(p=m(h=v[y],y,d),e))if(t)E[y]=p;else if(p)switch(e){case 3:return!0;case 5:return h;case 6:return y;case 2:Is(E,h)}else switch(e){case 4:return!1;case 7:Is(E,h)}return o?-1:n||i?i:E}},xs={forEach:As(0),map:As(1),filter:As(2),some:As(3),every:As(4),find:As(5),findIndex:As(6),filterReject:As(7)},Ts=_,js=je,ks=jt("species"),Ls=function(e){return js>=51||!Ts((function(){var t=[];return(t.constructor={})[ks]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},Ps=xs.filter;ji({target:"Array",proto:!0,forced:!Ls("filter")},{filter:function(e){return Ps(this,e,arguments.length>1?arguments[1]:void 0)}});var Ns={},_s=Jn,Cs=Qn,Fs=Object.keys||function(e){return _s(e,Cs)},Ds=C,Ms=nr,Us=rr,Gs=ar,Bs=pe,$s=Fs;Ns.f=Ds&&!Ms?Object.defineProperties:function(e,t){Gs(e);for(var r,n=Bs(t),i=$s(t),o=i.length,s=0;o>s;)Us.f(e,r=i[s++],n[r]);return e};var qs,Ws=Ee("document","documentElement"),Hs=ar,zs=Ns,Xs=Qn,Vs=$r,Ys=Ws,Ks=Wt,Js="prototype",Qs="script",Zs=Br("IE_PROTO"),ea=function(){},ta=function(e){return"<"+Qs+">"+e+"</"+Qs+">"},ra=function(e){e.write(ta("")),e.close();var t=e.parentWindow.Object;return e=null,t},na=function(){try{qs=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;na="undefined"!=typeof document?document.domain&&qs?ra(qs):(t=Ks("iframe"),r="java"+Qs+":",t.style.display="none",Ys.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(ta("document.F=Object")),e.close(),e.F):ra(qs);for(var n=Xs.length;n--;)delete na[Js][Xs[n]];return na()};Vs[Zs]=!0;var ia=Object.create||function(e,t){var r;return null!==e?(ea[Js]=Hs(e),r=new ea,ea[Js]=null,r[Zs]=e):r=na(),void 0===t?r:zs.f(r,t)},oa=jt,sa=ia,aa=rr.f,ca=oa("unscopables"),ua=Array.prototype;void 0===ua[ca]&&aa(ua,ca,{configurable:!0,value:sa(null)});var la,fa,ha,pa=function(e){ua[ca][e]=!0},da={},va=!_((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),ga=vt,ma=ve,ya=ht,ba=va,Ea=Br("IE_PROTO"),wa=Object,Sa=wa.prototype,Oa=ba?wa.getPrototypeOf:function(e){var t=ya(e);if(ga(t,Ea))return t[Ea];var r=t.constructor;return ma(r)&&t instanceof r?r.prototype:t instanceof wa?Sa:null},Ra=_,Ia=ve,Aa=me,xa=Oa,Ta=An,ja=jt("iterator"),ka=!1;[].keys&&("next"in(ha=[].keys())?(fa=xa(xa(ha)))!==Object.prototype&&(la=fa):ka=!0);var La=!Aa(la)||Ra((function(){var e={};return la[ja].call(e)!==e}));La&&(la={}),Ia(la[ja])||Ta(la,ja,(function(){return this}));var Pa={IteratorPrototype:la,BUGGY_SAFARI_ITERATORS:ka},Na=rr.f,_a=vt,Ca=jt("toStringTag"),Fa=function(e,t,r){e&&!r&&(e=e.prototype),e&&!_a(e,Ca)&&Na(e,Ca,{configurable:!0,value:t})},Da=Pa.IteratorPrototype,Ma=ia,Ua=z,Ga=Fa,Ba=da,$a=function(){return this},qa=function(e,t,r,n){var i=t+" Iterator";return e.prototype=Ma(Da,{next:Ua(+!n,r)}),Ga(e,i,!1),Ba[i]=$a,e},Wa=ji,Ha=U,za=ve,Xa=qa,Va=Oa,Ya=zi,Ka=Fa,Ja=wr,Qa=An,Za=da,ec=Tr.PROPER,tc=Tr.CONFIGURABLE,rc=Pa.IteratorPrototype,nc=Pa.BUGGY_SAFARI_ITERATORS,ic=jt("iterator"),oc="keys",sc="values",ac="entries",cc=function(){return this},uc=function(e,t,r,n,i,o,s){Xa(r,t,n);var a,c,u,l=function(e){if(e===i&&v)return v;if(!nc&&e&&e in p)return p[e];switch(e){case oc:case sc:case ac:return function(){return new r(this,e)}}return function(){return new r(this)}},f=t+" Iterator",h=!1,p=e.prototype,d=p[ic]||p["@@iterator"]||i&&p[i],v=!nc&&d||l(i),g="Array"===t&&p.entries||d;if(g&&(a=Va(g.call(new e)))!==Object.prototype&&a.next&&(Va(a)!==rc&&(Ya?Ya(a,rc):za(a[ic])||Qa(a,ic,cc)),Ka(a,f,!0)),ec&&i===sc&&d&&d.name!==sc&&(tc?Ja(p,"name",sc):(h=!0,v=function(){return Ha(d,this)})),i)if(c={values:l(sc),keys:o?v:l(oc),entries:l(ac)},s)for(u in c)(nc||h||!(u in p))&&Qa(p,u,c[u]);else Wa({target:t,proto:!0,forced:nc||h},c);return p[ic]!==v&&Qa(p,ic,v,{name:i}),Za[t]=v,c},lc=function(e,t){return{value:e,done:t}},fc=pe,hc=pa,pc=da,dc=rn,vc=rr.f,gc=uc,mc=lc,yc=C,bc="Array Iterator",Ec=dc.set,wc=dc.getterFor(bc),Sc=gc(Array,"Array",(function(e,t){Ec(this,{type:bc,target:fc(e),index:0,kind:t})}),(function(){var e=wc(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=void 0,mc(void 0,!0);switch(e.kind){case"keys":return mc(r,!1);case"values":return mc(t[r],!1)}return mc([r,t[r]],!1)}),"values"),Oc=pc.Arguments=pc.Array;if(hc("keys"),hc("values"),hc("entries"),yc&&"values"!==Oc.name)try{vc(Oc,"name",{value:"values"})}catch(e){}var Rc=xs.map;ji({target:"Array",proto:!0,forced:!Ls("map")},{map:function(e){return Rc(this,e,arguments.length>1?arguments[1]:void 0)}});var Ic=C,Ac=Zo,xc=TypeError,Tc=Object.getOwnPropertyDescriptor,jc=Ic&&!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(Ac(e)&&!Tc(e,"length").writable)throw new xc("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t},kc=TypeError,Lc=function(e){if(e>9007199254740991)throw kc("Maximum allowed index exceeded");return e},Pc=ht,Nc=Gn,_c=jc,Cc=Lc;ji({target:"Array",proto:!0,arity:1,forced:_((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function(e){var t=Pc(this),r=Nc(t),n=arguments.length;Cc(r+n);for(var i=0;i<n;i++)t[r]=arguments[i],r++;return _c(t,r),r}});var Fc=C,Dc=rr,Mc=z,Uc=function(e,t,r){Fc?Dc.f(e,t,Mc(0,r)):e[t]=r},Gc=J([].slice),Bc=ji,$c=Zo,qc=hs,Wc=me,Hc=Cn,zc=Gn,Xc=pe,Vc=Uc,Yc=jt,Kc=Gc,Jc=Ls("slice"),Qc=Yc("species"),Zc=Array,eu=Math.max;Bc({target:"Array",proto:!0,forced:!Jc},{slice:function(e,t){var r,n,i,o=Xc(this),s=zc(o),a=Hc(e,s),c=Hc(void 0===t?s:t,s);if($c(o)&&(r=o.constructor,(qc(r)&&(r===Zc||$c(r.prototype))||Wc(r)&&null===(r=r[Qc]))&&(r=void 0),r===Zc||void 0===r))return Kc(o,a,c);for(n=new(void 0===r?Zc:r)(eu(c-a,0)),i=0;a<c;a++,i++)a in o&&Vc(n,i,o[a]);return n.length=i,n}});var tu=Zo,ru=ve,nu=te,iu=uo,ou=J([].push),su=ji,au=Ee,cu=_i,uu=U,lu=J,fu=_,hu=ve,pu=Ue,du=Gc,vu=function(e){if(ru(e))return e;if(tu(e)){for(var t=e.length,r=[],n=0;n<t;n++){var i=e[n];"string"==typeof i?ou(r,i):"number"!=typeof i&&"Number"!==nu(i)&&"String"!==nu(i)||ou(r,iu(i))}var o=r.length,s=!0;return function(e,t){if(s)return s=!1,t;if(tu(this))return t;for(var n=0;n<o;n++)if(r[n]===e)return t}}},gu=Ne,mu=String,yu=au("JSON","stringify"),bu=lu(/./.exec),Eu=lu("".charAt),wu=lu("".charCodeAt),Su=lu("".replace),Ou=lu(1..toString),Ru=/[\uD800-\uDFFF]/g,Iu=/^[\uD800-\uDBFF]$/,Au=/^[\uDC00-\uDFFF]$/,xu=!gu||fu((function(){var e=au("Symbol")("stringify detection");return"[null]"!==yu([e])||"{}"!==yu({a:e})||"{}"!==yu(Object(e))})),Tu=fu((function(){return'"\\udf06\\ud834"'!==yu("\udf06\ud834")||'"\\udead"'!==yu("\udead")})),ju=function(e,t){var r=du(arguments),n=vu(t);if(hu(n)||void 0!==e&&!pu(e))return r[1]=function(e,t){if(hu(n)&&(t=uu(n,this,mu(e),t)),!pu(t))return t},cu(yu,null,r)},ku=function(e,t,r){var n=Eu(r,t-1),i=Eu(r,t+1);return bu(Iu,e)&&!bu(Au,i)||bu(Au,e)&&!bu(Iu,n)?"\\u"+Ou(wu(e,0),16):e};yu&&su({target:"JSON",stat:!0,arity:3,forced:xu||Tu},{stringify:function(e,t,r){var n=du(arguments),i=cu(xu?ju:yu,null,n);return Tu&&"string"==typeof i?Su(i,Ru,ku):i}});var Lu=me,Pu=te,Nu=jt("match"),_u=function(e){var t;return Lu(e)&&(void 0!==(t=e[Nu])?!!t:"RegExp"===Pu(e))},Cu=ar,Fu=function(){var e=Cu(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},Du=U,Mu=vt,Uu=we,Gu=Fu,Bu=RegExp.prototype,$u=function(e){var t=e.flags;return void 0!==t||"flags"in Bu||Mu(e,"flags")||!Uu(Bu,e)?t:Du(Gu,e)},qu=_,Wu=P.RegExp,Hu=qu((function(){var e=Wu("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),zu=Hu||qu((function(){return!Wu("a","y").sticky})),Xu=Hu||qu((function(){var e=Wu("^r","gy");return e.lastIndex=2,null!==e.exec("str")})),Vu={BROKEN_CARET:Xu,MISSED_STICKY:zu,UNSUPPORTED_Y:Hu},Yu=wn,Ku=rr,Ju=function(e,t,r){return r.get&&Yu(r.get,t,{getter:!0}),r.set&&Yu(r.set,t,{setter:!0}),Ku.f(e,t,r)},Qu=Ee,Zu=Ju,el=C,tl=jt("species"),rl=function(e){var t=Qu(e);el&&t&&!t[tl]&&Zu(t,tl,{configurable:!0,get:function(){return this}})},nl=_,il=P.RegExp,ol=nl((function(){var e=il(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)})),sl=_,al=P.RegExp,cl=sl((function(){var e=al("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),ul=C,ll=P,fl=J,hl=wi,pl=Qi,dl=wr,vl=ia,gl=xn.f,ml=we,yl=_u,bl=uo,El=$u,wl=Vu,Sl=Vi,Ol=An,Rl=_,Il=vt,Al=rn.enforce,xl=rl,Tl=ol,jl=cl,kl=jt("match"),Ll=ll.RegExp,Pl=Ll.prototype,Nl=ll.SyntaxError,_l=fl(Pl.exec),Cl=fl("".charAt),Fl=fl("".replace),Dl=fl("".indexOf),Ml=fl("".slice),Ul=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Gl=/a/g,Bl=/a/g,$l=new Ll(Gl)!==Gl,ql=wl.MISSED_STICKY,Wl=wl.UNSUPPORTED_Y,Hl=ul&&(!$l||ql||Tl||jl||Rl((function(){return Bl[kl]=!1,Ll(Gl)!==Gl||Ll(Bl)===Bl||"/a/i"!==String(Ll(Gl,"i"))})));if(hl("RegExp",Hl)){for(var zl=function(e,t){var r,n,i,o,s,a,c=ml(Pl,this),u=yl(e),l=void 0===t,f=[],h=e;if(!c&&u&&l&&e.constructor===zl)return e;if((u||ml(Pl,e))&&(e=e.source,l&&(t=El(h))),e=void 0===e?"":bl(e),t=void 0===t?"":bl(t),h=e,Tl&&"dotAll"in Gl&&(n=!!t&&Dl(t,"s")>-1)&&(t=Fl(t,/s/g,"")),r=t,ql&&"sticky"in Gl&&(i=!!t&&Dl(t,"y")>-1)&&Wl&&(t=Fl(t,/y/g,"")),jl&&(o=function(e){for(var t,r=e.length,n=0,i="",o=[],s=vl(null),a=!1,c=!1,u=0,l="";n<=r;n++){if("\\"===(t=Cl(e,n)))t+=Cl(e,++n);else if("]"===t)a=!1;else if(!a)switch(!0){case"["===t:a=!0;break;case"("===t:_l(Ul,Ml(e,n+1))&&(n+=2,c=!0),i+=t,u++;continue;case">"===t&&c:if(""===l||Il(s,l))throw new Nl("Invalid capture group name");s[l]=!0,o[o.length]=[l,u],c=!1,l="";continue}c?l+=t:i+=t}return[i,o]}(e),e=o[0],f=o[1]),s=pl(Ll(e,t),c?this:Pl,zl),(n||i||f.length)&&(a=Al(s),n&&(a.dotAll=!0,a.raw=zl(function(e){for(var t,r=e.length,n=0,i="",o=!1;n<=r;n++)"\\"!==(t=Cl(e,n))?o||"."!==t?("["===t?o=!0:"]"===t&&(o=!1),i+=t):i+="[\\s\\S]":i+=t+Cl(e,++n);return i}(e),r)),i&&(a.sticky=!0),f.length&&(a.groups=f)),e!==h)try{dl(s,"source",""===h?"(?:)":h)}catch(e){}return s},Xl=gl(Ll),Vl=0;Xl.length>Vl;)Sl(zl,Ll,Xl[Vl++]);Pl.constructor=zl,zl.prototype=Pl,Ol(ll,"RegExp",zl,{constructor:!0})}xl("RegExp");var Yl=C,Kl=ol,Jl=te,Ql=Ju,Zl=rn.get,ef=RegExp.prototype,tf=TypeError;Yl&&Kl&&Ql(ef,"dotAll",{configurable:!0,get:function(){if(this!==ef){if("RegExp"===Jl(this))return!!Zl(this).dotAll;throw new tf("Incompatible receiver, RegExp required")}}});var rf=U,nf=J,of=uo,sf=Fu,af=Vu,cf=ia,uf=rn.get,lf=ol,ff=cl,hf=ut("native-string-replace",String.prototype.replace),pf=RegExp.prototype.exec,df=pf,vf=nf("".charAt),gf=nf("".indexOf),mf=nf("".replace),yf=nf("".slice),bf=function(){var e=/a/,t=/b*/g;return rf(pf,e,"a"),rf(pf,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),Ef=af.BROKEN_CARET,wf=void 0!==/()??/.exec("")[1];(bf||wf||Ef||lf||ff)&&(df=function(e){var t,r,n,i,o,s,a,c=this,u=uf(c),l=of(e),f=u.raw;if(f)return f.lastIndex=c.lastIndex,t=rf(df,f,l),c.lastIndex=f.lastIndex,t;var h=u.groups,p=Ef&&c.sticky,d=rf(sf,c),v=c.source,g=0,m=l;if(p&&(d=mf(d,"y",""),-1===gf(d,"g")&&(d+="g"),m=yf(l,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==vf(l,c.lastIndex-1))&&(v="(?: "+v+")",m=" "+m,g++),r=new RegExp("^(?:"+v+")",d)),wf&&(r=new RegExp("^"+v+"$(?!\\s)",d)),bf&&(n=c.lastIndex),i=rf(pf,p?r:c,m),p?i?(i.input=yf(i.input,g),i[0]=yf(i[0],g),i.index=c.lastIndex,c.lastIndex+=i[0].length):c.lastIndex=0:bf&&i&&(c.lastIndex=c.global?i.index+i[0].length:n),wf&&i&&i.length>1&&rf(hf,i[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(i[o]=void 0)})),i&&h)for(i.groups=s=cf(null),o=0;o<h.length;o++)s[(a=h[o])[0]]=i[a[1]];return i});var Sf=df;ji({target:"RegExp",proto:!0,forced:/./.exec!==Sf},{exec:Sf});var Of,Rf,If=ji,Af=U,xf=ve,Tf=ar,jf=uo,kf=(Of=!1,(Rf=/[ac]/).exec=function(){return Of=!0,/./.exec.apply(this,arguments)},!0===Rf.test("abc")&&Of),Lf=/./.test;If({target:"RegExp",proto:!0,forced:!kf},{test:function(e){var t=Tf(this),r=jf(e),n=t.exec;if(!xf(n))return Af(Lf,t,r);var i=Af(n,t,r);return null!==i&&(Tf(i),!0)}});var Pf=U,Nf=An,_f=Sf,Cf=_,Ff=jt,Df=wr,Mf=Ff("species"),Uf=RegExp.prototype,Gf=function(e,t,r,n){var i=Ff(e),o=!Cf((function(){var t={};return t[i]=function(){return 7},7!==""[e](t)})),s=o&&!Cf((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[Mf]=function(){return r},r.flags="",r[i]=/./[i]),r.exec=function(){return t=!0,null},r[i](""),!t}));if(!o||!s||r){var a=/./[i],c=t(i,""[e],(function(e,t,r,n,i){var s=t.exec;return s===_f||s===Uf.exec?o&&!i?{done:!0,value:Pf(a,t,r,n)}:{done:!0,value:Pf(e,r,t,n)}:{done:!1}}));Nf(String.prototype,e,c[0]),Nf(Uf,i,c[1])}n&&Df(Uf[i],"sham",!0)},Bf=J,$f=Ln,qf=uo,Wf=le,Hf=Bf("".charAt),zf=Bf("".charCodeAt),Xf=Bf("".slice),Vf=function(e){return function(t,r){var n,i,o=qf(Wf(t)),s=$f(r),a=o.length;return s<0||s>=a?e?"":void 0:(n=zf(o,s))<55296||n>56319||s+1===a||(i=zf(o,s+1))<56320||i>57343?e?Hf(o,s):n:e?Xf(o,s,s+2):i-56320+(n-55296<<10)+65536}},Yf={codeAt:Vf(!1),charAt:Vf(!0)},Kf=Yf.charAt,Jf=function(e,t,r){return t+(r?Kf(e,t).length:1)},Qf=U,Zf=ar,eh=ve,th=te,rh=Sf,nh=TypeError,ih=function(e,t){var r=e.exec;if(eh(r)){var n=Qf(r,e,t);return null!==n&&Zf(n),n}if("RegExp"===th(e))return Qf(rh,e,t);throw new nh("RegExp#exec called on incompatible receiver")},oh=U,sh=ar,ah=ae,ch=Mn,uh=uo,lh=le,fh=Ve,hh=Jf,ph=ih;Gf("match",(function(e,t,r){return[function(t){var r=lh(this),n=ah(t)?void 0:fh(t,e);return n?oh(n,t,r):new RegExp(t)[e](uh(r))},function(e){var n=sh(this),i=uh(e),o=r(t,n,i);if(o.done)return o.value;if(!n.global)return ph(n,i);var s=n.unicode;n.lastIndex=0;for(var a,c=[],u=0;null!==(a=ph(n,i));){var l=uh(a[0]);c[u]=l,""===l&&(n.lastIndex=hh(i,ch(n.lastIndex),s)),u++}return 0===u?null:c}]}));var dh=J,vh=ht,gh=Math.floor,mh=dh("".charAt),yh=dh("".replace),bh=dh("".slice),Eh=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,wh=/\$([$&'`]|\d{1,2})/g,Sh=function(e,t,r,n,i,o){var s=r+e.length,a=n.length,c=wh;return void 0!==i&&(i=vh(i),c=Eh),yh(o,c,(function(o,c){var u;switch(mh(c,0)){case"$":return"$";case"&":return e;case"`":return bh(t,0,r);case"'":return bh(t,s);case"<":u=i[bh(c,1,-1)];break;default:var l=+c;if(0===l)return o;if(l>a){var f=gh(l/10);return 0===f?o:f<=a?void 0===n[f-1]?mh(c,1):n[f-1]+mh(c,1):o}u=n[l-1]}return void 0===u?"":u}))},Oh=_i,Rh=U,Ih=J,Ah=Gf,xh=_,Th=ar,jh=ve,kh=ae,Lh=Ln,Ph=Mn,Nh=uo,_h=le,Ch=Jf,Fh=Ve,Dh=Sh,Mh=ih,Uh=jt("replace"),Gh=Math.max,Bh=Math.min,$h=Ih([].concat),qh=Ih([].push),Wh=Ih("".indexOf),Hh=Ih("".slice),zh="$0"==="a".replace(/./,"$0"),Xh=!!/./[Uh]&&""===/./[Uh]("a","$0"),Vh=!xh((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}));Ah("replace",(function(e,t,r){var n=Xh?"$":"$0";return[function(e,r){var n=_h(this),i=kh(e)?void 0:Fh(e,Uh);return i?Rh(i,e,n,r):Rh(t,Nh(n),e,r)},function(e,i){var o=Th(this),s=Nh(e);if("string"==typeof i&&-1===Wh(i,n)&&-1===Wh(i,"$<")){var a=r(t,o,s,i);if(a.done)return a.value}var c=jh(i);c||(i=Nh(i));var u,l=o.global;l&&(u=o.unicode,o.lastIndex=0);for(var f,h=[];null!==(f=Mh(o,s))&&(qh(h,f),l);){""===Nh(f[0])&&(o.lastIndex=Ch(s,Ph(o.lastIndex),u))}for(var p,d="",v=0,g=0;g<h.length;g++){for(var m,y=Nh((f=h[g])[0]),b=Gh(Bh(Lh(f.index),s.length),0),E=[],w=1;w<f.length;w++)qh(E,void 0===(p=f[w])?p:String(p));var S=f.groups;if(c){var O=$h([y],E,b,s);void 0!==S&&qh(O,S),m=Nh(Oh(i,void 0,O))}else m=Dh(y,s,b,E,S,i);b>=v&&(d+=Hh(s,v,b)+m,v=b+y.length)}return d+Hh(s,v)}]}),!Vh||!zh||Xh);var Yh=ji,Kh=U,Jh=J,Qh=le,Zh=ve,ep=ae,tp=_u,rp=uo,np=Ve,ip=$u,op=Sh,sp=jt("replace"),ap=TypeError,cp=Jh("".indexOf);Jh("".replace);var up=Jh("".slice),lp=Math.max;Yh({target:"String",proto:!0},{replaceAll:function(e,t){var r,n,i,o,s,a,c,u,l=Qh(this),f=0,h=0,p="";if(!ep(e)){if(tp(e)&&(r=rp(Qh(ip(e))),!~cp(r,"g")))throw new ap("`.replaceAll` does not allow non-global regexes");if(n=np(e,sp))return Kh(n,e,l,t)}for(i=rp(l),o=rp(e),(s=Zh(t))||(t=rp(t)),a=o.length,c=lp(1,a),f=cp(i,o);-1!==f;)u=s?rp(t(o,f,i)):op(o,i,f,[],void 0,t),p+=up(i,h,f)+u,h=f+a,f=f+c>i.length?-1:cp(i,o,f+c);return h<i.length&&(p+=up(i,h)),p}});var fp="\t\n\v\f\r \u2028\u2029\ufeff",hp=le,pp=uo,dp=fp,vp=J("".replace),gp=RegExp("^["+dp+"]+"),mp=RegExp("(^|[^"+dp+"])["+dp+"]+$"),yp=function(e){return function(t){var r=pp(hp(t));return 1&e&&(r=vp(r,gp,"")),2&e&&(r=vp(r,mp,"$1")),r}},bp={start:yp(1),end:yp(2),trim:yp(3)},Ep=Tr.PROPER,wp=_,Sp=fp,Op=function(e){return wp((function(){return!!Sp[e]()||"
"!=="
"[e]()||Ep&&Sp[e].name!==e}))},Rp=bp.trim;ji({target:"String",proto:!0,forced:Op("trim")},{trim:function(){return Rp(this)}});var Ip=_,Ap=function(e,t){var r=[][e];return!!r&&Ip((function(){r.call(null,t||function(){return 1},1)}))},xp=ji,Tp=Hn.indexOf,jp=Ap,kp=Xo([].indexOf),Lp=!!kp&&1/kp([1],1,-0)<0;xp({target:"Array",proto:!0,forced:Lp||!jp("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return Lp?kp(this,e,t)||0:Tp(this,e,t)}});var Pp=ji,Np=_,_p=Zo,Cp=me,Fp=ht,Dp=Gn,Mp=Lc,Up=Uc,Gp=bs,Bp=Ls,$p=je,qp=jt("isConcatSpreadable"),Wp=$p>=51||!Np((function(){var e=[];return e[qp]=!1,e.concat()[0]!==e})),Hp=function(e){if(!Cp(e))return!1;var t=e[qp];return void 0!==t?!!t:_p(e)};Pp({target:"Array",proto:!0,arity:1,forced:!Wp||!Bp("concat")},{concat:function(e){var t,r,n,i,o,s=Fp(this),a=Gp(s,0),c=0;for(t=-1,n=arguments.length;t<n;t++)if(Hp(o=-1===t?s:arguments[t]))for(i=Dp(o),Mp(c+i),r=0;r<i;r++,c++)r in o&&Up(a,c,o[r]);else Mp(c+1),Up(a,c++,o);return a.length=c,a}});var zp=Be,Xp=TypeError,Vp=function(e,t){if(!delete e[t])throw new Xp("Cannot delete property "+zp(t)+" of "+zp(e))},Yp=ht,Kp=Gn,Jp=jc,Qp=Vp,Zp=Lc;ji({target:"Array",proto:!0,arity:1,forced:1!==[].unshift(0)||!function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(e){return e instanceof TypeError}}()},{unshift:function(e){var t=Yp(this),r=Kp(t),n=arguments.length;if(n){Zp(r+n);for(var i=r;i--;){var o=i+n;i in t?t[o]=t[i]:Qp(t,o)}for(var s=0;s<n;s++)t[s]=arguments[s]}return Jp(t,r+n)}});var ed,td,rd,nd={},id={};function od(){if(ed)return id;ed=1;var e=r,n="win32"===process.platform,i=t,o=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function s(e){return"function"==typeof e?e:function(){var e;if(o){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,n)var a=/(.*?)(?:[\/\\]+|$)/g;else a=/(.*?)(?:[\/]+|$)/g;if(n)var c=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/;else c=/^[\/]*/;return id.realpathSync=function(t,r){if(t=e.resolve(t),r&&Object.prototype.hasOwnProperty.call(r,t))return r[t];var o,s,u,l,f=t,h={},p={};function d(){var e=c.exec(t);o=e[0].length,s=e[0],u=e[0],l="",n&&!p[u]&&(i.lstatSync(u),p[u]=!0)}for(d();o<t.length;){a.lastIndex=o;var v=a.exec(t);if(l=s,s+=v[0],u=l+v[1],o=a.lastIndex,!(p[u]||r&&r[u]===u)){var g;if(r&&Object.prototype.hasOwnProperty.call(r,u))g=r[u];else{var m=i.lstatSync(u);if(!m.isSymbolicLink()){p[u]=!0,r&&(r[u]=u);continue}var y=null;if(!n){var b=m.dev.toString(32)+":"+m.ino.toString(32);h.hasOwnProperty(b)&&(y=h[b])}null===y&&(i.statSync(u),y=i.readlinkSync(u)),g=e.resolve(l,y),r&&(r[u]=g),n||(h[b]=y)}t=e.resolve(g,t.slice(o)),d()}}return r&&(r[f]=t),t},id.realpath=function(t,r,o){if("function"!=typeof o&&(o=s(r),r=null),t=e.resolve(t),r&&Object.prototype.hasOwnProperty.call(r,t))return process.nextTick(o.bind(null,null,r[t]));var u,l,f,h,p=t,d={},v={};function g(){var e=c.exec(t);u=e[0].length,l=e[0],f=e[0],h="",n&&!v[f]?i.lstat(f,(function(e){if(e)return o(e);v[f]=!0,m()})):process.nextTick(m)}function m(){if(u>=t.length)return r&&(r[p]=t),o(null,t);a.lastIndex=u;var e=a.exec(t);return h=l,l+=e[0],f=h+e[1],u=a.lastIndex,v[f]||r&&r[f]===f?process.nextTick(m):r&&Object.prototype.hasOwnProperty.call(r,f)?E(r[f]):i.lstat(f,y)}function y(e,t){if(e)return o(e);if(!t.isSymbolicLink())return v[f]=!0,r&&(r[f]=f),process.nextTick(m);if(!n){var s=t.dev.toString(32)+":"+t.ino.toString(32);if(d.hasOwnProperty(s))return b(null,d[s],f)}i.stat(f,(function(e){if(e)return o(e);i.readlink(f,(function(e,t){n||(d[s]=t),b(e,t)}))}))}function b(t,n,i){if(t)return o(t);var s=e.resolve(h,n);r&&(r[i]=s),E(s)}function E(r){t=e.resolve(r,t.slice(u)),g()}g()},id}function sd(){if(rd)return td;rd=1,td=c,c.realpath=c,c.sync=u,c.realpathSync=u,c.monkeypatch=function(){e.realpath=c,e.realpathSync=u},c.unmonkeypatch=function(){e.realpath=r,e.realpathSync=n};var e=t,r=e.realpath,n=e.realpathSync,i=process.version,o=/^v[0-5]\./.test(i),s=od();function a(e){return e&&"realpath"===e.syscall&&("ELOOP"===e.code||"ENOMEM"===e.code||"ENAMETOOLONG"===e.code)}function c(e,t,n){if(o)return r(e,t,n);"function"==typeof t&&(n=t,t=null),r(e,t,(function(r,i){a(r)?s.realpath(e,t,n):n(r,i)}))}function u(e,t){if(o)return n(e,t);try{return n(e,t)}catch(r){if(a(r))return s.realpathSync(e,t);throw r}}return td}var ad,cd,ud,ld,fd,hd,pd,dd,vd=hs,gd=Be,md=TypeError,yd=function(e){if(vd(e))return e;throw new md(gd(e)+" is not a constructor")},bd=ar,Ed=yd,wd=ae,Sd=jt("species"),Od=function(e,t){var r,n=bd(e).constructor;return void 0===n||wd(r=bd(n)[Sd])?t:Ed(r)},Rd=U,Id=J,Ad=Gf,xd=ar,Td=ae,jd=le,kd=Od,Ld=Jf,Pd=Mn,Nd=uo,_d=Ve,Cd=ih,Fd=_,Dd=Vu.UNSUPPORTED_Y,Md=Math.min,Ud=Id([].push),Gd=Id("".slice),Bd=!Fd((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]})),$d="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;function qd(){if(cd)return ad;cd=1,ad=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 ad}function Wd(){if(hd)return fd;hd=1;var e=qd(),t=function(){if(ld)return ud;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,a,c=r.indexOf(e),u=r.indexOf(t,c+1),l=c;if(c>=0&&u>0){for(n=[],o=r.length;l>=0&&!a;)l==c?(n.push(l),c=r.indexOf(e,l+1)):1==n.length?a=[n.pop(),u]:((i=n.pop())<o&&(o=i,s=u),u=r.indexOf(t,l+1)),l=c<u&&c>=0?c:u;n.length&&(a=[o,s])}return a}return ld=1,ud=e,e.range=r,ud}();fd=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(c)};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 a(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function c(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,a=i.split(",");a[a.length-1]+="{"+o+"}";var c=u(s);return s.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),r.push.apply(r,a),r}function l(e){return"{"+e+"}"}function f(e){return/^-?0\d/.test(e)}function h(e,t){return e<=t}function p(e,t){return e>=t}function d(r,n){var o=[],s=t("{","}",r);if(!s||/\$$/.test(s.pre))return[r];var c,v=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(s.body),g=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(s.body),m=v||g,y=s.body.indexOf(",")>=0;if(!m&&!y)return s.post.match(/,.*\}/)?d(r=s.pre+"{"+s.body+i+s.post):[r];if(m)c=s.body.split(/\.\./);else if(1===(c=u(s.body)).length&&1===(c=d(c[0],!1).map(l)).length)return(w=s.post.length?d(s.post,!1):[""]).map((function(e){return s.pre+c[0]+e}));var b,E=s.pre,w=s.post.length?d(s.post,!1):[""];if(m){var S=a(c[0]),O=a(c[1]),R=Math.max(c[0].length,c[1].length),I=3==c.length?Math.abs(a(c[2])):1,A=h;O<S&&(I*=-1,A=p);var x=c.some(f);b=[];for(var T=S;A(T,O);T+=I){var j;if(g)"\\"===(j=String.fromCharCode(T))&&(j="");else if(j=String(T),x){var k=R-j.length;if(k>0){var L=new Array(k+1).join("0");j=T<0?"-"+L+j.slice(1):L+j}}b.push(j)}}else b=e(c,(function(e){return d(e,!1)}));for(var P=0;P<b.length;P++)for(var N=0;N<w.length;N++){var _=E+b[P]+w[N];(!n||m||_)&&o.push(_)}return o}return fd}function Hd(){if(dd)return pd;dd=1,pd=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=Wd(),n={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},i="[^/]",o=i+"*?",s="().*{}+?[]^$\\!".split("").reduce((function(e,t){return e[t]=!0,e}),{});var a=/\/+/;function c(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 h(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);h(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,h(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,c(e,i))};return(r.Minimatch=function(r,n){return new t.Minimatch(r,c(e,n))}).defaults=function(r){return t.defaults(c(e,r)).Minimatch},r.filter=function(r,n){return t.filter(r,c(e,n))},r.defaults=function(r){return t.defaults(c(e,r))},r.makeRe=function(r,n){return t.makeRe(r,c(e,n))},r.braceExpand=function(r,n){return t.braceExpand(r,c(e,n))},r.match=function(r,n,i){return t.match(r,n,c(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(a)})),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 h=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){h(e);var a=this.options;if("**"===e){if(!a.noglobstar)return t;e="*"}if(""===e)return"";var c,u="",l=!!a.nocase,f=!1,d=[],v=[],g=!1,m=-1,y=-1,b="."===e.charAt(0)?"":a.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",E=this;function w(){if(c){switch(c){case"*":u+=o,l=!0;break;case"?":u+=i,l=!0;break;default:u+="\\"+c}E.debug("clearStateChar %j %j",c,u),c=!1}}for(var S,O=0,R=e.length;O<R&&(S=e.charAt(O));O++)if(this.debug("%s\t%s %s %j",e,O,u,S),f&&s[S])u+="\\"+S,f=!1;else switch(S){case"/":return!1;case"\\":w(),f=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",e,O,u,S),g){this.debug(" in class"),"!"===S&&O===y+1&&(S="^"),u+=S;continue}E.debug("call clearStateChar %j",c),w(),c=S,a.noext&&w();continue;case"(":if(g){u+="(";continue}if(!c){u+="\\(";continue}d.push({type:c,start:O-1,reStart:u.length,open:n[c].open,close:n[c].close}),u+="!"===c?"(?:(?!(?:":"(?:",this.debug("plType %j %j",c,u),c=!1;continue;case")":if(g||!d.length){u+="\\)";continue}w(),l=!0;var I=d.pop();u+=I.close,"!"===I.type&&v.push(I),I.reEnd=u.length;continue;case"|":if(g||!d.length||f){u+="\\|",f=!1;continue}w(),u+="|";continue;case"[":if(w(),g){u+="\\"+S;continue}g=!0,y=O,m=u.length,u+=S;continue;case"]":if(O===y+1||!g){u+="\\"+S,f=!1;continue}var A=e.substring(y+1,O);try{RegExp("["+A+"]")}catch(e){var x=this.parse(A,p);u=u.substr(0,m)+"\\["+x[0]+"\\]",l=l||x[1],g=!1;continue}l=!0,g=!1,u+=S;continue;default:w(),f?f=!1:!s[S]||"^"===S&&g||(u+="\\"),u+=S}g&&(A=e.substr(y+1),x=this.parse(A,p),u=u.substr(0,m)+"\\["+x[0],l=l||x[1]);for(I=d.pop();I;I=d.pop()){var T=u.slice(I.reStart+I.open.length);this.debug("setting tail",u,I),T=T.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(e,t,r){return r||(r="\\"),t+t+r+"|"})),this.debug("tail=%j\n %s",T,T,I,u);var j="*"===I.type?o:"?"===I.type?i:"\\"+I.type;l=!0,u=u.slice(0,I.reStart)+j+"\\("+T}w(),f&&(u+="\\\\");var k=!1;switch(u.charAt(0)){case"[":case".":case"(":k=!0}for(var L=v.length-1;L>-1;L--){var P=v[L],N=u.slice(0,P.reStart),_=u.slice(P.reStart,P.reEnd-8),C=u.slice(P.reEnd-8,P.reEnd),F=u.slice(P.reEnd);C+=F;var D=N.split("(").length-1,M=F;for(O=0;O<D;O++)M=M.replace(/\)[+*?]?/,"");var U="";""===(F=M)&&r!==p&&(U="$"),u=N+_+F+U+C}""!==u&&l&&(u="(?=.)"+u);k&&(u=b+u);if(r===p)return[u,l];if(!l)return function(e){return e.replace(/\\(.)/g,"$1")}(e);var G=a.nocase?"i":"";try{var B=new RegExp("^"+u+"$",G)}catch(e){return new RegExp("$.")}return B._glob=e,B._src=u,B};var p={};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(a),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 c=s[o],u=t;if(n.matchBase&&1===c.length&&(u=[i]),this.matchOne(u,c,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,a=e.length,c=r.length;o<a&&s<c;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 h=o,p=s+1;if(p===c){for(this.debug("** at the end");o<a;o++)if("."===e[o]||".."===e[o]||!i.dot&&"."===e[o].charAt(0))return!1;return!0}for(;h<a;){var d=e[h];if(this.debug("\nglobstar while",e,h,r,p,d),this.matchOne(e.slice(h),r.slice(p),n))return this.debug("globstar found match!",h,a,d),!0;if("."===d||".."===d||!i.dot&&"."===d.charAt(0)){this.debug("dot detected!",e,h,r,p);break}this.debug("globstar swallow a segment, and continue"),h++}return!(!n||(this.debug("\n>>> no match, partial?",e,h,r,p),h!==a))}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===a&&s===c)return!0;if(o===a)return n;if(s===c)return o===a-1&&""===e[o];throw new Error("wtf?")},pd}Ad("split",(function(e,t,r){var n="0".split(void 0,0).length?function(e,r){return void 0===e&&0===r?[]:Rd(t,this,e,r)}:t;return[function(t,r){var i=jd(this),o=Td(t)?void 0:_d(t,e);return o?Rd(o,t,i,r):Rd(n,Nd(i),t,r)},function(e,i){var o=xd(this),s=Nd(e);if(!$d){var a=r(n,o,s,i,n!==t);if(a.done)return a.value}var c=kd(o,RegExp),u=o.unicode,l=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(Dd?"g":"y"),f=new c(Dd?"^(?:"+o.source+")":o,l),h=void 0===i?4294967295:i>>>0;if(0===h)return[];if(0===s.length)return null===Cd(f,s)?[s]:[];for(var p=0,d=0,v=[];d<s.length;){f.lastIndex=Dd?0:d;var g,m=Cd(f,Dd?Gd(s,d):s);if(null===m||(g=Md(Pd(f.lastIndex+(Dd?d:0)),s.length))===p)d=Ld(s,d,u);else{if(Ud(v,Gd(s,p,d)),v.length===h)return v;for(var y=1;y<=m.length-1;y++)if(Ud(v,m[y]),v.length===h)return v;d=p=g}}return Ud(v,Gd(s,p)),v}]}),$d||!Bd,Dd);var zd,Xd,Vd={exports:{}},Yd={exports:{}};function Kd(){if(Xd)return Vd.exports;Xd=1;try{var e=require("util");if("function"!=typeof e.inherits)throw"";Vd.exports=e.inherits}catch(e){Vd.exports=(zd||(zd=1,"function"==typeof Object.create?Yd.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:Yd.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}),Yd.exports)}return Vd.exports}var Jd,Qd={exports:{}};function Zd(){if(Jd)return Qd.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 Jd=1,Qd.exports="win32"===process.platform?t:e,Qd.exports.posix=e,Qd.exports.win32=t,Qd.exports}var ev=Gc,tv=Math.floor,rv=function(e,t){var r=e.length;if(r<8)for(var n,i,o=1;o<r;){for(i=o,n=e[o];i&&t(e[i-1],n)>0;)e[i]=e[--i];i!==o++&&(e[i]=n)}else for(var s=tv(r/2),a=rv(ev(e,0,s),t),c=rv(ev(e,s),t),u=a.length,l=c.length,f=0,h=0;f<u||h<l;)e[f+h]=f<u&&h<l?t(a[f],c[h])<=0?a[f++]:c[h++]:f<u?a[f++]:c[h++];return e},nv=rv,iv=Se.match(/firefox\/(\d+)/i),ov=!!iv&&+iv[1],sv=/MSIE|Trident/.test(Se),av=Se.match(/AppleWebKit\/(\d+)\./),cv=!!av&&+av[1],uv=ji,lv=J,fv=He,hv=ht,pv=Gn,dv=Vp,vv=uo,gv=_,mv=nv,yv=Ap,bv=ov,Ev=sv,wv=je,Sv=cv,Ov=[],Rv=lv(Ov.sort),Iv=lv(Ov.push),Av=gv((function(){Ov.sort(void 0)})),xv=gv((function(){Ov.sort(null)})),Tv=yv("sort"),jv=!gv((function(){if(wv)return wv<70;if(!(bv&&bv>3)){if(Ev)return!0;if(Sv)return Sv<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++)Ov.push({k:t+n,v:r})}for(Ov.sort((function(e,t){return t.v-e.v})),n=0;n<Ov.length;n++)t=Ov[n].k.charAt(0),i.charAt(i.length-1)!==t&&(i+=t);return"DGBEFHACIJK"!==i}}));uv({target:"Array",proto:!0,forced:Av||!xv||!Tv||!jv},{sort:function(e){void 0!==e&&fv(e);var t=hv(this);if(jv)return void 0===e?Rv(t):Rv(t,e);var r,n,i=[],o=pv(t);for(n=0;n<o;n++)n in t&&Iv(i,t[n]);for(mv(i,function(e){return function(t,r){return void 0===r?-1:void 0===t?1:void 0!==e?+e(t,r)||0:vv(t)>vv(r)?1:-1}}(e)),r=pv(i),n=0;n<r;)t[n]=i[n++];for(;n<o;)dv(t,n++);return t}});var kv,Lv,Pv,Nv={};function _v(){if(kv)return Nv;function e(e,t){return Object.prototype.hasOwnProperty.call(e,t)}kv=1,Nv.setopts=function(t,r,o){o||(o={});if(o.matchBase&&-1===r.indexOf("/")){if(o.noglobstar)throw new Error("base matching requires globstar");r="**/"+r}t.silent=!!o.silent,t.pattern=r,t.strict=!1!==o.strict,t.realpath=!!o.realpath,t.realpathCache=o.realpathCache||Object.create(null),t.follow=!!o.follow,t.dot=!!o.dot,t.mark=!!o.mark,t.nodir=!!o.nodir,t.nodir&&(t.mark=!0);t.sync=!!o.sync,t.nounique=!!o.nounique,t.nonull=!!o.nonull,t.nosort=!!o.nosort,t.nocase=!!o.nocase,t.stat=!!o.stat,t.noprocess=!!o.noprocess,t.absolute=!!o.absolute,t.fs=o.fs||n,t.maxLength=o.maxLength||1/0,t.cache=o.cache||Object.create(null),t.statCache=o.statCache||Object.create(null),t.symlinks=o.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(u))}(t,o),t.changedCwd=!1;var c=process.cwd();e(o,"cwd")?(t.cwd=i.resolve(o.cwd),t.changedCwd=t.cwd!==c):t.cwd=c;t.root=o.root||i.resolve(t.cwd,"/"),t.root=i.resolve(t.root),"win32"===process.platform&&(t.root=t.root.replace(/\\/g,"/"));t.cwdAbs=s(t.cwd)?t.cwd:l(t,t.cwd),"win32"===process.platform&&(t.cwdAbs=t.cwdAbs.replace(/\\/g,"/"));t.nomount=!!o.nomount,o.nonegate=!0,o.nocomment=!0,o.allowWindowsEscape=!1,t.minimatch=new a(r,o),t.options=t.minimatch.options},Nv.ownProp=e,Nv.makeAbs=l,Nv.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 s=Object.keys(o);t?r.push.apply(r,s):s.forEach((function(e){r[e]=!0}))}else if(e.nonull){var a=e.minimatch.globSet[n];t?r.push(a):r[a]=!0}}t||(r=Object.keys(r));e.nosort||(r=r.sort(c));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[l(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},Nv.mark=function(e,t){var r=l(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 a=l(e,i);e.statCache[a]=e.statCache[r],e.cache[a]=e.cache[r]}}return i},Nv.isIgnored=f,Nv.childrenIgnored=function(e,t){return!!e.ignore.length&&e.ignore.some((function(e){return!(!e.gmatcher||!e.gmatcher.match(t))}))};var n=t,i=r,o=Hd(),s=Zd(),a=o.Minimatch;function c(e,t){return e.localeCompare(t,"en")}function u(e){var t=null;if("/**"===e.slice(-3)){var r=e.replace(/(\/\*\*)+$/,"");t=new a(r,{dot:!0})}return{matcher:new a(e,{dot:!0}),gmatcher:t}}function l(e,t){var r=t;return r="/"===t.charAt(0)?i.join(e.root,t):s(t)||""===t?t:e.changedCwd?i.resolve(e.cwd,t):i.resolve(t),"win32"===process.platform&&(r=r.replace(/\\/g,"/")),r}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 Nv}var Cv,Fv,Dv=ji,Mv=ht,Uv=Cn,Gv=Ln,Bv=Gn,$v=jc,qv=Lc,Wv=bs,Hv=Uc,zv=Vp,Xv=Ls("splice"),Vv=Math.max,Yv=Math.min;function Kv(){if(Fv)return Cv;return Fv=1,Cv=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}},Cv}Dv({target:"Array",proto:!0,forced:!Xv},{splice:function(e,t){var r,n,i,o,s,a,c=Mv(this),u=Bv(c),l=Uv(e,u),f=arguments.length;for(0===f?r=n=0:1===f?(r=0,n=u-l):(r=f-2,n=Yv(Vv(Gv(t),0),u-l)),qv(u+r-n),i=Wv(c,n),o=0;o<n;o++)(s=l+o)in c&&Hv(i,o,c[s]);if(i.length=n,r<n){for(o=l;o<u-n;o++)a=o+r,(s=o+n)in c?c[a]=c[s]:zv(c,a);for(o=u;o>u-n+r;o--)zv(c,o-1)}else if(r>n)for(o=u-n;o>l;o--)a=o+r-1,(s=o+n-1)in c?c[a]=c[s]:zv(c,a);for(o=0;o<r;o++)c[o+l]=arguments[o+2];return $v(c,u-n+r),i}});var Jv,Qv,Zv,eg,tg,rg,ng,ig,og,sg,ag,cg,ug,lg,fg={exports:{}};function hg(){if(Jv)return fg.exports;Jv=1;var e=Kv();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 fg.exports=e(t),fg.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})})),fg.exports}function pg(){if(Zv)return Qv;Zv=1;var e=Kv(),t=Object.create(null),r=hg();return Qv=e((function(e,n){return t[e]?(t[e].push(n),null):(t[e]=[n],function(e){return r((function r(){var n=t[e],i=n.length,o=function(e){for(var t=e.length,r=[],n=0;n<t;n++)r[n]=e[n];return r}(arguments);try{for(var s=0;s<i;s++)n[s].apply(null,o)}finally{n.length>i?(n.splice(0,i),process.nextTick((function(){r.apply(null,o)}))):delete t[e]}}))}(e))})),Qv}function dg(){if(tg)return eg;tg=1,eg=y;var e=sd(),t=Hd();t.Minimatch;var o=Kd(),s=n.EventEmitter,a=r,c=i,u=Zd(),l=function(){if(Pv)return Lv;Pv=1,Lv=h,h.GlobSync=p;var e=sd(),t=Hd();t.Minimatch,dg().Glob;var n=r,o=i,s=Zd(),a=_v(),c=a.setopts,u=a.ownProp,l=a.childrenIgnored,f=a.isIgnored;function h(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 p(e,t).found}function p(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 p))return new p(e,t);if(c(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 p.prototype._finish=function(){if(o.ok(this instanceof p),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}}))}a.finish(this)},p.prototype._process=function(e,r,n){o.ok(this instanceof p);for(var i,a=0;"string"==typeof e[a];)a++;switch(a){case e.length:return void this._processSimple(e.join("/"),r);case 0:i=null;break;default:i=e.slice(0,a).join("/")}var c,u=e.slice(a);null===i?c=".":s(i)||s(e.map((function(e){return"string"==typeof e?e:"[*]"})).join("/"))?(i&&s(i)||(i="/"+i),c=i):c=i;var f=this._makeAbs(c);l(this,c)||(u[0]===t.GLOBSTAR?this._processGlobStar(i,c,f,u,r,n):this._processReaddir(i,c,f,u,r,n))},p.prototype._processReaddir=function(e,t,r,i,o,s){var a=this._readdir(r,s);if(a){for(var c=i[0],u=!!this.minimatch.negate,l=c._glob,f=this.dot||"."===l.charAt(0),h=[],p=0;p<a.length;p++)("."!==(g=a[p]).charAt(0)||f)&&(u&&!e?!g.match(c):g.match(c))&&h.push(g);var d=h.length;if(0!==d)if(1!==i.length||this.mark||this.stat)for(i.shift(),p=0;p<d;p++){var v;g=h[p],v=e?[e,g]:[g],this._process(v.concat(i),o,s)}else{this.matches[o]||(this.matches[o]=Object.create(null));for(p=0;p<d;p++){var g=h[p];e&&(g="/"!==e.slice(-1)?e+"/"+g:e+g),"/"!==g.charAt(0)||this.nomount||(g=n.join(this.root,g)),this._emitMatch(o,g)}}}},p.prototype._emitMatch=function(e,t){if(!f(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)}}},p.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},p.prototype._readdir=function(e,t){if(t&&!u(this.symlinks,e))return this._readdirInGlobStar(e);if(u(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}},p.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},p.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)}},p.prototype._processGlobStar=function(e,t,r,n,i,o){var s=this._readdir(r,o);if(s){var a=n.slice(1),c=e?[e]:[],u=c.concat(a);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 h=c.concat(s[f],a);this._process(h,i,!0);var p=c.concat(s[f],n);this._process(p,i,!0)}}},p.prototype._processSimple=function(e,t){var r=this._stat(e);if(this.matches[t]||(this.matches[t]=Object.create(null)),r){if(e&&s(e)&&!this.nomount){var i=/[\/\\]$/.test(e);"/"===e.charAt(0)?e=n.join(this.root,e):(e=n.resolve(this.root,e),i&&(e+="/"))}"win32"===process.platform&&(e=e.replace(/\\/g,"/")),this._emitMatch(t,e)}},p.prototype._stat=function(e){var t=this._makeAbs(e),r="/"===e.slice(-1);if(e.length>this.maxLength)return!1;if(!this.stat&&u(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},p.prototype._mark=function(e){return a.mark(this,e)},p.prototype._makeAbs=function(e){return a.makeAbs(this,e)},Lv}(),f=_v(),h=f.setopts,p=f.ownProp,d=pg(),v=f.childrenIgnored,g=f.isIgnored,m=hg();function y(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 l(e,t)}return new E(e,t,r)}y.sync=l;var b=y.GlobSync=l.GlobSync;function E(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 E))return new E(e,t,r);h(this,e,t),this._didRealPath=!1;var n=this.minimatch.set.length;this.matches=new Array(n),"function"==typeof r&&(r=m(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 a();for(var o=!0,s=0;s<n;s++)this._process(this.minimatch.set[s],s,!1,a);function a(){--i._processing,i._processing<=0&&(o?process.nextTick((function(){i._finish()})):i._finish())}o=!1}return y.glob=y,y.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 E(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},y.Glob=E,o(E,s),E.prototype._finish=function(){if(c(this instanceof E),!this.aborted){if(this.realpath&&!this._didRealpath)return this._realpath();f.finish(this),this.emit("end",this.found)}},E.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()}},E.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 a=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?a[n]=!0:o.emit("error",e):a[i]=!0,0==--s&&(o.matches[t]=a,r())}))}))},E.prototype._mark=function(e){return f.mark(this,e)},E.prototype._makeAbs=function(e){return f.makeAbs(this,e)},E.prototype.abort=function(){this.aborted=!0,this.emit("abort")},E.prototype.pause=function(){this.paused||(this.paused=!0,this.emit("pause"))},E.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])}}}},E.prototype._process=function(e,r,n,i){if(c(this instanceof E),c("function"==typeof i),!this.aborted)if(this._processing++,this.paused)this._processQueue.push([e,r,n,i]);else{for(var o,s=0;"string"==typeof e[s];)s++;switch(s){case e.length:return void this._processSimple(e.join("/"),r,i);case 0:o=null;break;default:o=e.slice(0,s).join("/")}var a,l=e.slice(s);null===o?a=".":u(o)||u(e.map((function(e){return"string"==typeof e?e:"[*]"})).join("/"))?(o&&u(o)||(o="/"+o),a=o):a=o;var f=this._makeAbs(a);if(v(this,a))return i();l[0]===t.GLOBSTAR?this._processGlobStar(o,a,f,l,r,n,i):this._processReaddir(o,a,f,l,r,n,i)}},E.prototype._processReaddir=function(e,t,r,n,i,o,s){var a=this;this._readdir(r,o,(function(c,u){return a._processReaddir2(e,t,r,n,i,o,u,s)}))},E.prototype._processReaddir2=function(e,t,r,n,i,o,s,c){if(!s)return c();for(var u=n[0],l=!!this.minimatch.negate,f=u._glob,h=this.dot||"."===f.charAt(0),p=[],d=0;d<s.length;d++){if("."!==(g=s[d]).charAt(0)||h)(l&&!e?!g.match(u):g.match(u))&&p.push(g)}var v=p.length;if(0===v)return c();if(1===n.length&&!this.mark&&!this.stat){this.matches[i]||(this.matches[i]=Object.create(null));for(d=0;d<v;d++){var g=p[d];e&&(g="/"!==e?e+"/"+g:e+g),"/"!==g.charAt(0)||this.nomount||(g=a.join(this.root,g)),this._emitMatch(i,g)}return c()}n.shift();for(d=0;d<v;d++){g=p[d];e&&(g="/"!==e?e+"/"+g:e+g),this._process([g].concat(n),i,o,c)}c()},E.prototype._emitMatch=function(e,t){if(!this.aborted&&!g(this,t))if(this.paused)this._emitQueue.push([e,t]);else{var r=u(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)}}},E.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)}},E.prototype._readdir=function(e,t,r){if(!this.aborted&&(r=d("readdir\0"+e+"\0"+t,r))){if(t&&!p(this.symlinks,e))return this._readdirInGlobStar(e,r);if(p(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))}},E.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)}},E.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()}},E.prototype._processGlobStar=function(e,t,r,n,i,o,s){var a=this;this._readdir(r,o,(function(c,u){a._processGlobStar2(e,t,r,n,i,o,u,s)}))},E.prototype._processGlobStar2=function(e,t,r,n,i,o,s,a){if(!s)return a();var c=n.slice(1),u=e?[e]:[],l=u.concat(c);this._process(l,i,!1,a);var f=this.symlinks[r],h=s.length;if(f&&o)return a();for(var p=0;p<h;p++){if("."!==s[p].charAt(0)||this.dot){var d=u.concat(s[p],c);this._process(d,i,!0,a);var v=u.concat(s[p],n);this._process(v,i,!0,a)}}a()},E.prototype._processSimple=function(e,t,r){var n=this;this._stat(e,(function(i,o){n._processSimple2(e,t,i,o,r)}))},E.prototype._processSimple2=function(e,t,r,n,i){if(this.matches[t]||(this.matches[t]=Object.create(null)),!n)return i();if(e&&u(e)&&!this.nomount){var o=/[\/\\]$/.test(e);"/"===e.charAt(0)?e=a.join(this.root,e):(e=a.resolve(this.root,e),o&&(e+="/"))}"win32"===process.platform&&(e=e.replace(/\\/g,"/")),this._emitMatch(t,e),i()},E.prototype._stat=function(e,t){var r=this._makeAbs(e),n="/"===e.slice(-1);if(e.length>this.maxLength)return t();if(!this.stat&&p(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 a=this,c=d("stat\0"+r,(function(n,i){if(i&&i.isSymbolicLink())return a.fs.stat(r,(function(n,o){n?a._stat2(e,r,null,i,t):a._stat2(e,r,n,o,t)}));a._stat2(e,r,n,i,t)}));c&&a.fs.lstat(r,c)},E.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)},eg}function vg(){if(rg)return nd;rg=1;var r=e,n=t,i=dg(),o=ny(),s=Object.create(o);nd.extend=Object.assign;var a=Boolean(process.versions.electron),c={fatal:!1,globOptions:{},maxdepth:255,noglob:!1,silent:!1,verbose:!1,execPath:null,bufLength:65536},u={reset:function(){Object.assign(this,c),a||(this.execPath=process.execPath)},resetForTesting:function(){this.reset(),this.silent=!0}};u.reset(),nd.config=u;var l={error:null,errorCode:0,currentCmd:"shell.js"};function f(e){return"object"==typeof e&&null!==e}function h(){u.silent||console.error.apply(console,arguments)}function p(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=p(r.prefix+e);if(l.error=l.error?l.error+"\n":"",l.error+=i,u.fatal)throw new Error(i);if(e.length>0&&!r.silent&&h(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,w.forEach((function(e){n[e]=s[e].bind(n)})),n}function g(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 m(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 r;try{r=(r=i.sync(e,u.globOptions)).length>0?r:[e]}catch(t){r=[e]}t=t.concat(r)}})),t}nd.state=l,delete process.env.OLDPWD,nd.isObject=f,nd.log=h,nd.convertErrorOutput=p,nd.error=d,nd.ShellString=v,nd.parseOptions=g,nd.expand=m;var y="function"==typeof Buffer.alloc?function(e){return Buffer.alloc(e||u.bufLength)}:function(e){return new Buffer(e||u.bufLength)};function b(e,t,n){return n=n||{},function(){var i=null;l.currentCmd=e,l.error=null,l.errorCode=0;try{var o=[].slice.call(arguments,0);if(u.verbose&&console.error.apply(console,[e].concat(o)),l.pipedValue=this&&"string"==typeof this.stdout?this.stdout:"",!1===n.unix)i=t.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=r.homedir();o=o.map((function(e){return"string"==typeof e&&"~/"===e.slice(0,2)||"~"===e?e.replace(/^~/,s):e})),u.noglob||!0!==n.allowGlobbing||(o=o.slice(0,n.globStart).concat(m(o.slice(n.globStart))));try{f(n.cmdOptions)&&(o[0]=g(o[0],n.cmdOptions)),i=t.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(u.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}}nd.buffer=y,nd.unlinkSync=function(e){try{n.unlinkSync(e)}catch(t){if("EPERM"!==t.code)throw t;n.chmodSync(e,"0666"),n.unlinkSync(e)}},nd.statFollowLinks=function(){return n.statSync.apply(n,arguments)},nd.statNoFollowLinks=function(){return n.lstatSync.apply(n,arguments)},nd.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)},nd.wrap=b,nd.readFromPipe=function(){return l.pipedValue};var E={allowGlobbing:!0,canReceivePipe:!1,cmdOptions:null,globStart:1,pipeOnly:!1,wrapOutput:!0,unix:!0},w=[];return nd.register=function(e,t,r){if(r=r||{},Object.keys(r).forEach((function(e){if(!E.hasOwnProperty(e))throw new Error("Unknown option '"+e+"'");if(typeof r[e]!=typeof E[e])throw new TypeError("Unsupported type '"+typeof r[e]+"' for option '"+e+"'")})),r=Object.assign({},E,r),o.hasOwnProperty(e))throw new Error("Command `"+e+"` already exists");r.pipeOnly?(r.canReceivePipe=!0,s[e]=b(e,t,r)):o[e]=b(e,t,r),r.canReceivePipe&&w.push(e)},nd}function gg(){if(ig)return ng;ig=1;var e=vg(),r=t;function n(t,n){var o=e.readFromPipe();return n||o||e.error("no paths given"),(n=[].slice.call(arguments,1)).forEach((function(t){r.existsSync(t)?e.statFollowLinks(t).isDirectory()&&e.error(t+": Is a directory"):e.error("no such file or directory: "+t),o+=r.readFileSync(t,"utf8")})),t.number&&(o=function(e){var t=e.split("\n"),r=t.pop();t=t.map((function(e,t){return i(t+1,e)})),r.length&&(r=i(t.length+1,r));return t.push(r),t.join("\n")}(o)),o}function i(e,t){return(" "+e).slice(-6)+"\t"+t}return e.register("cat",n,{canReceivePipe:!0,cmdOptions:{n:"number"}}),ng=n}function mg(){if(sg)return og;sg=1;var t=e,r=vg();function n(e,n){n||(n=t.homedir()),"-"===n&&(process.env.OLDPWD?n=process.env.OLDPWD:r.error("could not find previous directory"));try{var i=process.cwd();process.chdir(n),process.env.OLDPWD=i}catch(e){var o;try{r.statFollowLinks(n),o="not a directory: "+n}catch(e){o="no such file or directory: "+n}o&&r.error(o)}return""}return r.register("cd",n,{}),og=n}function yg(){if(cg)return ag;cg=1;var e=vg(),n=t,i=r,o=function(e){return{OTHER_EXEC:e.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)}}({EXEC:1,WRITE:2,READ:4});function s(t,r,s){var a;return s||(t.length>0&&"-"===t.charAt(0)?[].unshift.call(arguments,""):e.error("You must specify a file.")),t=e.parseOptions(t,{R:"recursive",c:"changes",v:"verbose"}),s=[].slice.call(arguments,2),t.recursive?(a=[],s.forEach((function t(r){var i=e.statNoFollowLinks(r);i.isSymbolicLink()||(a.push(r),i.isDirectory()&&n.readdirSync(r).forEach((function(e){t(r+"/"+e)})))}))):a=s,a.forEach((function(s){if(s=i.resolve(s),n.existsSync(s)||e.error("File not found: "+s),!t.recursive||!e.statNoFollowLinks(s).isSymbolicLink()){var a=e.statFollowLinks(s),c=a.isDirectory(),u=a.mode,l=u&o.TYPE_MASK,f=u;isNaN(parseInt(r,8))?r.split(",").forEach((function(r){var i=/([ugoa]*)([=\+-])([rwxXst]*)/i.exec(r);if(i){var a=i[1],h=i[2],p=i[3],d=-1!==a.indexOf("u")||"a"===a||""===a,v=-1!==a.indexOf("g")||"a"===a||""===a,g=-1!==a.indexOf("o")||"a"===a||""===a,m=-1!==p.indexOf("r"),y=-1!==p.indexOf("w"),b=-1!==p.indexOf("x"),E=-1!==p.indexOf("X"),w=-1!==p.indexOf("t"),S=-1!==p.indexOf("s");E&&c&&(b=!0);var O=0;switch(d&&(O|=(m?o.OWNER_READ:0)+(y?o.OWNER_WRITE:0)+(b?o.OWNER_EXEC:0)+(S?o.SETUID:0)),v&&(O|=(m?o.GROUP_READ:0)+(y?o.GROUP_WRITE:0)+(b?o.GROUP_EXEC:0)+(S?o.SETGID:0)),g&&(O|=(m?o.OTHER_READ:0)+(y?o.OTHER_WRITE:0)+(b?o.OTHER_EXEC:0)),w&&(O|=o.STICKY),h){case"+":f|=O;break;case"-":f&=~O;break;case"=":f=l+O,e.statFollowLinks(s).isDirectory()&&(f|=o.SETUID+o.SETGID&u);break;default:e.error("Could not recognize operator: `"+h+"`")}t.verbose&&console.log(s+" -> "+f.toString(8)),u!==f&&(!t.verbose&&t.changes&&console.log(s+" -> "+f.toString(8)),n.chmodSync(s,f),u=f)}else e.error("Invalid symbolic mode change: "+r)})):(f=l+parseInt(r,8),e.statFollowLinks(s).isDirectory()&&(f|=o.SETUID+o.SETGID&u),n.chmodSync(s,f))}})),""}return e.register("chmod",s,{}),ag=s}function bg(){if(lg)return ug;lg=1;var e=t,n=r,i=vg();function o(t,r,n){e.existsSync(t)||i.error("copyFileSync: no such file or directory: "+t);var o="win32"===process.platform;try{if(n.update&&i.statFollowLinks(t).mtime<e.statSync(r).mtime)return}catch(e){}if(i.statNoFollowLinks(t).isSymbolicLink()&&!n.followsymlink){try{i.statNoFollowLinks(r),i.unlinkSync(r)}catch(e){}var s=e.readlinkSync(t);e.symlinkSync(s,r,o?"junction":null)}else{var a=i.buffer(),c=a.length,u=c,l=0,f=null,h=null;try{f=e.openSync(t,"r")}catch(e){i.error("copyFileSync: could not read src file ("+t+")")}try{h=e.openSync(r,"w")}catch(e){i.error("copyFileSync: could not write to dest file (code="+e.code+"):"+r)}for(;u===c;)u=e.readSync(f,a,0,c,l),e.writeSync(h,a,0,u),l+=u;e.closeSync(f),e.closeSync(h),e.chmodSync(r,i.statFollowLinks(t).mode)}}function s(t,r,n,c){if(c||(c={}),!(n>=i.config.maxdepth)){n++;var u="win32"===process.platform;try{e.mkdirSync(r)}catch(e){if("EEXIST"!==e.code)throw e}for(var l=e.readdirSync(t),f=0;f<l.length;f++){var h,p=t+"/"+l[f],d=r+"/"+l[f],v=i.statNoFollowLinks(p);if(c.followsymlink&&a(t,p))console.error("Cycle link found."),h=e.readlinkSync(p),e.symlinkSync(h,d,u?"junction":null);else if(v.isDirectory())s(p,d,n,c);else if(v.isSymbolicLink()&&!c.followsymlink){h=e.readlinkSync(p);try{i.statNoFollowLinks(d),i.unlinkSync(d)}catch(e){}e.symlinkSync(h,d,u?"junction":null)}else v.isSymbolicLink()&&c.followsymlink?(v=i.statFollowLinks(p)).isDirectory()?s(p,d,n,c):o(p,d,c):e.existsSync(d)&&c.no_force?i.log("skipping existing file: "+l[f]):o(p,d,c)}var g=i.statFollowLinks(t);e.chmodSync(r,g.mode)}}function a(t,r){if(i.statNoFollowLinks(r).isSymbolicLink()&&i.statFollowLinks(r).isDirectory()){var n=e.realpathSync(t),o=e.realpathSync(r);if(new RegExp(o).test(n))return!0}return!1}function c(t,r,a){t.followsymlink&&(t.noFollowsymlink=!1),t.recursive||t.noFollowsymlink||(t.followsymlink=!0),arguments.length<3?i.error("missing <source> and/or <dest>"):(r=[].slice.call(arguments,1,arguments.length-1),a=arguments[arguments.length-1]);var c=e.existsSync(a),u=c&&i.statFollowLinks(a);return c&&u.isDirectory()||!(r.length>1)||i.error("dest is not a directory (too many sources)"),c&&u.isFile()&&t.no_force?new i.ShellString("","",0):(r.forEach((function(c,l){if(!e.existsSync(c))return""===c&&(c="''"),void i.error("no such file or directory: "+c,{continue:!0});var f=i.statFollowLinks(c);if(!t.noFollowsymlink&&f.isDirectory())if(t.recursive){var h=u&&u.isDirectory()?n.join(a,n.basename(c)):a;try{i.statFollowLinks(n.dirname(a)),s(c,h,0,{no_force:t.no_force,followsymlink:t.followsymlink})}catch(e){i.error("cannot create directory '"+a+"': No such file or directory")}}else i.error("omitting directory '"+c+"'",{continue:!0});else{var p=a;u&&u.isDirectory()&&(p=n.normalize(a+"/"+n.basename(c)));var d=e.existsSync(p);if(d&&function(e,t){var r=e[t];return e.slice(0,t).some((function(e){return n.basename(e)===n.basename(r)}))}(r,l))return void(t.no_force||i.error("will not overwrite just-created '"+p+"' with '"+c+"'",{continue:!0}));if(d&&t.no_force)return;if(""===n.relative(c,p))return void i.error("'"+p+"' and '"+c+"' are the same file",{continue:!0});o(c,p,t)}})),new i.ShellString("",i.state.error,i.state.errorCode))}return i.register("cp",c,{cmdOptions:{f:"!no_force",n:"no_force",u:"update",R:"recursive",r:"recursive",L:"followsymlink",P:"noFollowsymlink"},wrapOutput:!1}),ug=c}var Eg,wg,Sg,Og,Rg,Ig={};function Ag(){if(Eg)return Ig;Eg=1;var e=vg(),t=mg(),n=r;e.register("dirs",l,{wrapOutput:!1}),e.register("pushd",c,{wrapOutput:!1}),e.register("popd",u,{wrapOutput:!1});var i=[];function o(e){return/^[\-+]\d+$/.test(e)}function s(t){if(o(t)){if(Math.abs(t)<i.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 a(){return[process.cwd()].concat(i)}function c(r,c){o(r)&&(c=r,r=""),r=e.parseOptions(r,{n:"no-cd",q:"quiet"});var u=a();if("+0"===c)return u;if(c)if(o(c)){var f=s(c);u=u.slice(f).concat(u.slice(0,f))}else r["no-cd"]?u.splice(1,0,c):u.unshift(c);else{if(!(u.length>1))return e.error("no other directory");u=u.splice(1,1).concat(u)}return r["no-cd"]?u=u.slice(1):(c=n.resolve(u.shift()),t("",c)),i=u,l(r.quiet?"-q":"")}function u(r,a){if(o(r)&&(a=r,r=""),r=e.parseOptions(r,{n:"no-cd",q:"quiet"}),!i.length)return e.error("directory stack empty");if(a=s(a||"+0"),r["no-cd"]||a>0||i.length+a===0)a=a>0?a-1:a,i.splice(a,1);else{var c=n.resolve(i.shift());t("",c)}return l(r.quiet?"-q":"")}function l(t,r){if(o(t)&&(r=t,t=""),(t=e.parseOptions(t,{c:"clear",q:"quiet"})).clear)return i=[];var n=a();return r?((r=s(r))<0&&(r=n.length+r),t.quiet||e.log(n[r]),n[r]):(t.quiet||e.log(n.join(" ")),n)}return Ig.pushd=c,Ig.popd=u,Ig.dirs=l,Ig}function xg(){if(Sg)return wg;Sg=1;var e=o.format,t=vg();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}),wg=r}function Tg(){if(Rg)return Og;Rg=1;var e=vg();return Og=function(){return e.state.error}}var jg,kg={exports:{}};function Lg(){return jg||(jg=1,function(e){if(require.main!==e)throw new Error("This file should not be required");var r=s,n=t,i=process.argv[2],o=n.readFileSync(i,"utf8"),a=JSON.parse(o),c=a.command,u=a.execOptions,l=a.pipe,f=a.stdoutFile,h=a.stderrFile,p=r.exec(c,u,(function(e){e?void 0===e.code?process.exitCode=1:process.exitCode=e.code:process.exitCode=0})),d=n.createWriteStream(f),v=n.createWriteStream(h);p.stdout.pipe(d),p.stderr.pipe(v),p.stdout.pipe(process.stdout),p.stderr.pipe(process.stderr),l&&p.stdin.end(l)}(kg)),kg.exports}kg.exports;var Pg,Ng,_g,Cg,Fg,Dg,Mg,Ug,Gg,Bg,$g,qg,Wg,Hg,zg,Xg,Vg,Yg,Kg,Jg,Qg,Zg={};function em(){if(Pg)return Zg;Pg=1;var r,n=vg(),i=e,o=t;function s(e){if(!e||!o.existsSync(e))return!1;if(!n.statFollowLinks(e).isDirectory())return!1;var t=e+"/"+n.randomFileName();try{return o.writeFileSync(t," "),n.unlinkSync(t),e}catch(e){return!1}}function a(){return r||(r=s(i.tmpdir())||s(process.env.TMPDIR)||s(process.env.TEMP)||s(process.env.TMP)||s(process.env.Wimp$ScrapDir)||s("C:\\TEMP")||s("C:\\TMP")||s("\\TEMP")||s("\\TMP")||s("/tmp")||s("/var/tmp")||s("/usr/tmp")||s("."))}return n.register("tempdir",a,{allowGlobbing:!1,wrapOutput:!1}),Zg.tempDir=a,Zg.isCached=function(){return r},Zg.clearCache=function(){r=void 0},Zg}function tm(){if(_g)return Ng;_g=1;var e=r;function t(){return e.resolve(process.cwd())}return vg().register("pwd",t,{allowGlobbing:!1}),Ng=t}function rm(){if(Fg)return Cg;Fg=1;var e=vg(),n=em().tempDir,i=tm(),o=r,a=t,c=s,u=20971520,l=1;function f(t,r,s){r=r||{},t||e.error("must specify command");var f=e.readFromPipe();return"function"==typeof r&&(s=r,r={async:!0}),"object"==typeof r&&"function"==typeof s&&(r.async=!0),(r=e.extend({silent:e.config.silent,async:!1},r)).async?function(t,r,n,o){r=e.extend({silent:e.config.silent,cwd:i().toString(),env:process.env,maxBuffer:u,encoding:"utf8"},r);var s=c.exec(t,r,(function(e,t,r){o&&(e?void 0===e.code?o(1,t,r):o(e.code,t,r):o(0,t,r))}));return n&&s.stdin.end(n),r.silent||(s.stdout.pipe(process.stdout),s.stderr.pipe(process.stderr)),s}(t,r,f,s):function(t,r,s){e.config.execPath||e.error("Unable to find a path to the node binary. Please manually set config.execPath");var f=n(),h=o.resolve(f+"/"+e.randomFileName()),p=o.resolve(f+"/"+e.randomFileName()),d=o.resolve(f+"/"+e.randomFileName());r=e.extend({silent:e.config.silent,cwd:i().toString(),env:process.env,maxBuffer:u,encoding:"utf8"},r),a.existsSync(h)&&e.unlinkSync(h),a.existsSync(p)&&e.unlinkSync(p),a.existsSync(d)&&e.unlinkSync(d),r.cwd=o.resolve(r.cwd);var v={command:t,execOptions:r,pipe:s,stdoutFile:d,stderrFile:p};function g(e,t){a.writeFileSync(e,t,{encoding:"utf8",mode:parseInt("600",8)})}g(d,""),g(p,""),g(h,JSON.stringify(v));var m=[o.join(__dirname,"exec-child.js"),h];r.silent?r.stdio="ignore":r.stdio=[0,1,2];var y=0;try{delete r.shell,c.execFileSync(e.config.execPath,m,r)}catch(e){y=e.status||l}var b="",E="";"buffer"===r.encoding?(b=a.readFileSync(d),E=a.readFileSync(p)):(b=a.readFileSync(d,r.encoding),E=a.readFileSync(p,r.encoding));try{e.unlinkSync(h)}catch(e){}try{e.unlinkSync(p)}catch(e){}try{e.unlinkSync(d)}catch(e){}return 0!==y&&e.error(E,y,{continue:!0,silent:!0}),e.ShellString(b,E,y)}(t,r,f)}return e.register("exec",f,{unix:!1,canReceivePipe:!0,wrapOutput:!1}),Cg=f}function nm(){if(Mg)return Dg;Mg=1;var e=r,n=t,i=vg(),o=dg(),s=e.sep+"**";function a(t,r){t.all_deprecated&&(i.log("ls: Option -a is deprecated. Use -A instead"),t.all=!0),r=r?[].slice.call(arguments,1):["."];var a=[];function c(e,r,n){var o,s;"win32"===process.platform&&(r=r.replace(/\\/g,"/")),t.long?(n=n||(t.link?i.statFollowLinks(e):i.statNoFollowLinks(e)),a.push((o=r,(s=n).name=o,s.toString=function(){return[this.mode,this.nlink,this.uid,this.gid,this.size,this.mtime,this.name].join(" ")},s))):a.push(r)}return r.forEach((function(r){var a;try{if((a=t.link?i.statFollowLinks(r):i.statNoFollowLinks(r)).isSymbolicLink())try{var u=i.statFollowLinks(r);u.isDirectory()&&(a=u)}catch(e){}}catch(e){return void i.error("no such file or directory: "+r,2,{continue:!0})}a.isDirectory()&&!t.directory?t.recursive?o.sync(r+s,{dot:t.all,follow:t.link}).forEach((function(t){e.relative(r,t)&&c(t,e.relative(r,t))})):t.all?n.readdirSync(r).forEach((function(t){c(e.join(r,t),t)})):n.readdirSync(r).forEach((function(t){"."!==t[0]&&c(e.join(r,t),t)})):c(r,r,a)})),a}return i.register("ls",a,{cmdOptions:{R:"recursive",A:"all",L:"link",a:"all_deprecated",d:"directory",l:"long"}}),Dg=a}function im(){if(Gg)return Ug;Gg=1;var e=r,t=vg(),n=nm();function i(r,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(r){var i;try{i=t.statFollowLinks(r)}catch(e){t.error("no such file or directory: "+r)}s(r),i.isDirectory()&&n({recursive:!0,all:!0},r).forEach((function(t){s(e.join(r,t))}))})),o}return t.register("find",i,{}),Ug=i}function om(){if($g)return Bg;$g=1;var e=vg(),r=t;function n(t,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 t.ignoreCase&&(n=new RegExp(n,"i")),i.forEach((function(i){if(r.existsSync(i)||"-"===i){var a="-"===i?o:r.readFileSync(i,"utf8");if(t.nameOnly)a.match(n)&&s.push(i);else a.split("\n").forEach((function(e){var r=e.match(n);(t.inverse&&!r||!t.inverse&&r)&&s.push(e)}))}else e.error("no such file or directory: "+i,2,{continue:!0})})),s.join("\n")+"\n"}return e.register("grep",n,{globStart:2,canReceivePipe:!0,cmdOptions:{v:"inverse",l:"nameOnly",i:"ignoreCase"}}),Bg=n}function sm(){if(Wg)return qg;Wg=1;var e=vg(),r=t;function n(t,n){var i=[],o=e.readFromPipe();n||o||e.error("no paths given");var s=1;!0===t.numLines?(s=2,t.numLines=Number(arguments[1])):!1===t.numLines&&(t.numLines=10),n=[].slice.call(arguments,s),o&&n.unshift("-");var a=!1;return n.forEach((function(n){if("-"!==n){if(!r.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;s="-"===n?o:t.numLines<0?r.readFileSync(n,"utf8"):function(t,n){for(var i=e.buffer(),o=i.length,s=o,a=0,c=r.openSync(t,"r"),u=0,l="";s===o&&u<n;){s=r.readSync(c,i,0,o,a);var f=i.toString("utf8",0,s);u+=f.split("\n").length-1,l+=f,a+=s}return r.closeSync(c),l}(n,t.numLines);var c=s.split("\n"),u=""===c[c.length-1];u&&c.pop(),a=u||t.numLines<c.length,i=i.concat(c.slice(0,t.numLines))})),a&&i.push(""),i.join("\n")}return e.register("head",n,{canReceivePipe:!0,cmdOptions:{n:"numLines"}}),qg=n}function am(){if(zg)return Hg;zg=1;var e=t,n=r,i=vg();function o(t,r,o){r&&o||i.error("Missing <source> and/or <dest>"),r=String(r);var s=n.normalize(r).replace(RegExp(n.sep+"$"),""),a=n.resolve(r)===s;if(o=n.resolve(process.cwd(),String(o)),e.existsSync(o)&&(t.force||i.error("Destination file exists",{continue:!0}),e.unlinkSync(o)),t.symlink){var c="win32"===process.platform,u=c?"file":null,l=a?s:n.resolve(process.cwd(),n.dirname(o),r);e.existsSync(l)?c&&i.statFollowLinks(l).isDirectory()&&(u="junction"):i.error("Source file does not exist",{continue:!0});try{e.symlinkSync("junction"===u?l:r,o,u)}catch(e){i.error(e.message)}}else{e.existsSync(r)||i.error("Source file does not exist",{continue:!0});try{e.linkSync(r,o)}catch(e){i.error(e.message)}}return""}return i.register("ln",o,{cmdOptions:{s:"symlink",f:"force"}}),Hg=o}function cm(){if(Vg)return Xg;Vg=1;var e=vg(),n=t,i=r;function o(t){var r=i.dirname(t);r===t&&e.error("dirname() failed: ["+t+"]"),n.existsSync(r)||o(r),n.mkdirSync(t,parseInt("0777",8))}function s(t,r){return r||e.error("no paths given"),"string"==typeof r&&(r=[].slice.call(arguments,1)),r.forEach((function(r){try{var s=e.statNoFollowLinks(r);return void(t.fullpath?s.isFile()&&e.error("cannot create directory "+r+": File exists",{continue:!0}):e.error("path already exists: "+r,{continue:!0}))}catch(e){}var a=i.dirname(r);if(n.existsSync(a)||t.fullpath)try{t.fullpath?o(i.resolve(r)):n.mkdirSync(r,parseInt("0777",8))}catch(t){var c;if("EACCES"===t.code)c="Permission denied";else{if("ENOTDIR"!==t.code&&"ENOENT"!==t.code)throw t;c="Not a directory"}e.error("cannot create directory "+r+": "+c,{continue:!0})}else e.error("no such file or directory: "+a,{continue:!0})})),""}return e.register("mkdir",s,{cmdOptions:{p:"fullpath"}}),Xg=s}function um(){if(Kg)return Yg;Kg=1;var e=vg(),r=t;function n(t,o,s){var a;a=r.readdirSync(t);for(var c=0;c<a.length;c++){var u=t+"/"+a[c];if(e.statNoFollowLinks(u).isDirectory())n(u,o);else if(o||i(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=r.rmdirSync(t),r.existsSync(t))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(r){e.error("could not remove directory (code "+r.code+"): "+t,{continue:!0})}return l}}function i(e){var t=!0;try{var n=r.openSync(e,"a");r.closeSync(n)}catch(e){t=!1}return t}function o(t,r){return r||e.error("no paths given"),(r=[].slice.call(arguments,1)).forEach((function(r){var o;try{var s="/"===r[r.length-1]?r.slice(0,-1):r;o=e.statNoFollowLinks(s)}catch(n){return void(t.force||e.error("no such file or directory: "+r,{continue:!0}))}o.isFile()?function(t,r){r.force||i(t)?e.unlinkSync(t):e.error("permission denied: "+t,{continue:!0})}(r,t):o.isDirectory()?function(t,r){r.recursive?n(t,r.force):e.error("path is a directory",{continue:!0})}(r,t):o.isSymbolicLink()?function(t,r){var i;try{i=e.statFollowLinks(t)}catch(r){return void e.unlinkSync(t)}i.isFile()?e.unlinkSync(t):i.isDirectory()&&("/"===t[t.length-1]?r.recursive?n(t,r.force,!0):e.error("path is a directory",{continue:!0}):e.unlinkSync(t))}(r,t):o.isFIFO()&&function(t){e.unlinkSync(t)}(r)})),""}return e.register("rm",o,{cmdOptions:{f:"force",r:"recursive",R:"recursive"}}),Yg=o}function lm(){if(Qg)return Jg;Qg=1;var e=t,n=r,i=vg(),o=bg(),s=um();function a(t,r,a){arguments.length<3?i.error("missing <source> and/or <dest>"):arguments.length>3?(r=[].slice.call(arguments,1,arguments.length-1),a=arguments[arguments.length-1]):"string"==typeof r?r=[r]:i.error("invalid arguments");var c=e.existsSync(a),u=c&&i.statFollowLinks(a);return c&&u.isDirectory()||!(r.length>1)||i.error("dest is not a directory (too many sources)"),c&&u.isFile()&&t.no_force&&i.error("dest file already exists: "+a),r.forEach((function(c,u){if(e.existsSync(c)){var l=a;if(e.existsSync(a)&&i.statFollowLinks(a).isDirectory()&&(l=n.normalize(a+"/"+n.basename(c))),e.existsSync(l)&&function(e,t){var r=e[t];return e.slice(0,t).some((function(e){return n.basename(e)===n.basename(r)}))}(r,u))t.no_force||i.error("will not overwrite just-created '"+l+"' with '"+c+"'",{continue:!0});else if(e.existsSync(l)&&t.no_force)i.error("dest file already exists: "+l,{continue:!0});else if(n.resolve(c)!==n.dirname(n.resolve(l)))try{e.renameSync(c,l)}catch(e){"EXDEV"===e.code&&(o("-r",c,l),s("-rf",c))}else i.error("cannot move to self: "+c,{continue:!0})}else i.error("no such file or directory: "+c,{continue:!0})})),""}return i.register("mv",a,{cmdOptions:{f:"!no_force",n:"no_force"}}),Jg=a}var fm,hm={};function pm(){return fm||(fm=1),hm}var dm,vm,gm,mm,ym,bm={};function Em(){return dm||(dm=1),bm}function wm(){if(gm)return vm;gm=1;var e=vg(),r=t;function n(t,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 a=[];return o.forEach((function(o){if(r.existsSync(o)||"-"===o){var c=("-"===o?s:r.readFileSync(o,"utf8")).split("\n").map((function(e){return e.replace(n,i)})).join("\n");a.push(c),t.inplace&&r.writeFileSync(o,c,"utf8")}else e.error("no such file or directory: "+o,2,{continue:!0})})),a.join("\n")}return e.register("sed",n,{globStart:3,canReceivePipe:!0,cmdOptions:{i:"inplace"}}),vm=n}function Sm(){if(ym)return mm;ym=1;var e=vg();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}),mm=t}var Om=bp.end,Rm=Op("trimEnd")?function(){return Om(this)}:"".trimEnd;ji({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==Rm},{trimRight:Rm});var Im,Am,xm,Tm,jm,km,Lm,Pm,Nm,_m,Cm,Fm,Dm,Mm,Um,Gm,Bm;function $m(){if(Am)return Im;Am=1;var e=vg(),r=t;function n(e){var t=e.match(/^\s*(\d*)\s*(.*)$/);return{num:Number(t[1]),value:t[2]}}function i(e,t){var r=e.toLowerCase(),n=t.toLowerCase();return r===n?-1*e.localeCompare(t):r.localeCompare(n)}function o(e,t){var r=n(e),o=n(t);return r.hasOwnProperty("num")&&o.hasOwnProperty("num")&&r.num!==o.num?r.num-o.num:i(r.value,o.value)}function s(t,n){var s=e.readFromPipe();n||s||e.error("no files given"),n=[].slice.call(arguments,1),s&&n.unshift("-");var a=n.reduce((function(t,n){if("-"!==n){if(!r.existsSync(n))return e.error("no such file or directory: "+n,{continue:!0}),t;if(e.statFollowLinks(n).isDirectory())return e.error("read failed: "+n+": Is a directory",{continue:!0}),t}var i="-"===n?s:r.readFileSync(n,"utf8");return t.concat(i.trimRight().split("\n"))}),[]).sort(t.numerical?o:i);return t.reverse&&(a=a.reverse()),a.join("\n")+"\n"}return e.register("sort",s,{canReceivePipe:!0,cmdOptions:{r:"reverse",n:"numerical"}}),Im=s}function qm(){if(Tm)return xm;Tm=1;var e=vg(),r=t;function n(t,n){var i=[],o=e.readFromPipe();n||o||e.error("no paths given");var s=1;!0===t.numLines?(s=2,t.numLines=Number(arguments[1])):!1===t.numLines&&(t.numLines=10),t.numLines=-1*Math.abs(t.numLines),n=[].slice.call(arguments,s),o&&n.unshift("-");var a=!1;return n.forEach((function(n){if("-"!==n){if(!r.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:r.readFileSync(n,"utf8")).split("\n");""===s[s.length-1]?(s.pop(),a=!0):a=!1,i=i.concat(s.slice(t.numLines))})),a&&i.push(""),i.join("\n")}return e.register("tail",n,{canReceivePipe:!0,cmdOptions:{n:"numLines"}}),xm=n}function Wm(){if(km)return jm;km=1;var e=vg(),r=t;function n(t,n){n||e.error("no path given");var i=!1;if(Object.keys(t).forEach((function(e){!0===t[e]&&(i=!0)})),i||e.error("could not interpret expression"),t.link)try{return e.statNoFollowLinks(n).isSymbolicLink()}catch(e){return!1}if(!r.existsSync(n))return!1;if(t.exists)return!0;var o=e.statFollowLinks(n);return t.block?o.isBlockDevice():t.character?o.isCharacterDevice():t.directory?o.isDirectory():t.file?o.isFile():t.pipe?o.isFIFO():!!t.socket&&o.isSocket()}return e.register("test",n,{cmdOptions:{b:"block",c:"character",d:"directory",e:"exists",f:"file",L:"link",p:"pipe",S:"socket"},wrapOutput:!1,allowGlobbing:!1}),jm=n}function Hm(){if(Pm)return Lm;Pm=1;var e=vg(),n=t,i=r;function o(t,r){r||e.error("wrong arguments"),n.existsSync(i.dirname(r))||e.error("no such file or directory: "+i.dirname(r));try{return n.writeFileSync(r,this.stdout||this.toString(),"utf8"),this}catch(t){e.error("could not write to file (code "+t.code+"): "+r,{continue:!0})}}return e.register("to",o,{pipeOnly:!0,wrapOutput:!1}),Lm=o}function zm(){if(_m)return Nm;_m=1;var e=vg(),n=t,i=r;function o(t,r){r||e.error("wrong arguments"),n.existsSync(i.dirname(r))||e.error("no such file or directory: "+i.dirname(r));try{return n.appendFileSync(r,this.stdout||this.toString(),"utf8"),this}catch(t){e.error("could not append to file (code "+t.code+"): "+r,{continue:!0})}}return e.register("toEnd",o,{pipeOnly:!0,wrapOutput:!1}),Nm=o}function Xm(){if(Fm)return Cm;Fm=1;var e=vg(),r=t;function n(t,n){return n?"string"==typeof n?n=[].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"),n.forEach((function(n){!function(t,n){var o=i(n);if(o&&o.isDirectory())return;if(!o&&t.no_create)return;r.closeSync(r.openSync(n,"a"));var s=new Date,a=t.date||s,c=t.date||s;if(t.reference){var u=i(t.reference);u||e.error("failed to get attributess of "+t.reference),a=u.mtime,c=u.atime}else t.date&&(a=t.date,c=t.date);t.atime_only&&t.mtime_only||(t.atime_only?a=o.mtime:t.mtime_only&&(c=o.atime));r.utimesSync(n,c,a)}(t,n)})),""}function i(t){try{return e.statFollowLinks(t)}catch(e){return null}}return e.register("touch",n,{cmdOptions:{a:"atime_only",c:"no_create",d:"date",m:"mtime_only",r:"reference"}}),Cm=n}function Vm(){if(Mm)return Dm;Mm=1;var e=vg(),r=t;function n(t,n,i){var o=e.readFromPipe();o||(n||e.error("no input given"),r.existsSync(n)?e.statFollowLinks(n).isDirectory()&&e.error("error reading '"+n+"'"):e.error(n+": No such file or directory")),i&&r.existsSync(i)&&e.statFollowLinks(i).isDirectory()&&e.error(i+": Is a directory");var s=(n?r.readFileSync(n,"utf8"):o).trimRight().split("\n"),a=s.reduceRight((function(e,r){return 0===e.length?[{count:1,ln:r}]:0===(n=e[0].ln,i=r,t.ignoreCase?n.toLocaleLowerCase().localeCompare(i.toLocaleLowerCase()):n.localeCompare(i))?[{count:e[0].count+1,ln:r}].concat(e.slice(1)):[{count:1,ln:r}].concat(e);var n,i}),[]).filter((function(e){return!t.duplicates||e.count>1})).map((function(e){return(t.count?(r=7,n=e.count,(i=""+n).length<r&&(i=Array(r-i.length+1).join(" ")+i),i+" "):"")+e.ln;var r,n,i})).join("\n")+"\n";return i?(new e.ShellString(a).to(i),""):a}return e.register("uniq",n,{canReceivePipe:!0,cmdOptions:{i:"ignoreCase",c:"count",d:"duplicates"}}),Dm=n}function Ym(){if(Gm)return Um;Gm=1;var e=vg(),n=t,i=r;e.register("which",l,{allowGlobbing:!1,cmdOptions:{a:"all"}});var o=".com;.exe;.bat;.cmd;.vbs;.vbe;.js;.jse;.wsf;.wsh",s=1;function a(){return"win32"===process.platform}function c(e){return e?e.split(i.delimiter):[]}function u(t){return n.existsSync(t)&&!e.statFollowLinks(t).isDirectory()&&(a()||function(e){try{n.accessSync(e,s)}catch(e){return!1}return!0}(t))}function l(t,r){r||e.error("must specify command");var n=a(),s=c(process.env.PATH),l=[];if(-1===r.indexOf("/")){var f=[""];if(n)f=c((process.env.PATHEXT||o).toUpperCase());for(var h=0;h<s.length&&(!(l.length>0)||t.all);h++){var p=i.resolve(s[h],r);n&&(p=p.toUpperCase());var d=p.match(/\.[^<>:"/\|?*.]+$/);if(d&&f.indexOf(d[0])>=0){if(u(p)){l.push(p);break}}else for(var v=0;v<f.length;v++){var g=p+f[v];if(u(g)){l.push(g);break}}}}else u(r)&&l.push(i.resolve(r));return l.length>0?t.all?l:l[0]:t.all?[]:null}return Um=l}function Km(){return Bm||(Bm={"/node_modules/shelljs/src/cat.js":gg,"/node_modules/shelljs/src/cd.js":mg,"/node_modules/shelljs/src/chmod.js":yg,"/node_modules/shelljs/src/common.js":vg,"/node_modules/shelljs/src/cp.js":bg,"/node_modules/shelljs/src/dirs.js":Ag,"/node_modules/shelljs/src/echo.js":xg,"/node_modules/shelljs/src/error.js":Tg,"/node_modules/shelljs/src/exec-child.js":Lg,"/node_modules/shelljs/src/exec.js":rm,"/node_modules/shelljs/src/find.js":im,"/node_modules/shelljs/src/grep.js":om,"/node_modules/shelljs/src/head.js":sm,"/node_modules/shelljs/src/ln.js":am,"/node_modules/shelljs/src/ls.js":nm,"/node_modules/shelljs/src/mkdir.js":cm,"/node_modules/shelljs/src/mv.js":lm,"/node_modules/shelljs/src/popd.js":pm,"/node_modules/shelljs/src/pushd.js":Em,"/node_modules/shelljs/src/pwd.js":tm,"/node_modules/shelljs/src/rm.js":um,"/node_modules/shelljs/src/sed.js":wm,"/node_modules/shelljs/src/set.js":Sm,"/node_modules/shelljs/src/sort.js":$m,"/node_modules/shelljs/src/tail.js":qm,"/node_modules/shelljs/src/tempdir.js":em,"/node_modules/shelljs/src/test.js":Wm,"/node_modules/shelljs/src/to.js":Hm,"/node_modules/shelljs/src/toEnd.js":zm,"/node_modules/shelljs/src/touch.js":Xm,"/node_modules/shelljs/src/uniq.js":Vm,"/node_modules/shelljs/src/which.js":Ym})}function Jm(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=Qm(e))[0]&&(t="");for(var i=Km(),o=["",".js",".json"];!(r=Qm(n?t+"/node_modules/"+e:t+"/"+e)).endsWith("/..");){for(var s=0;s<o.length;s++){var a=r+o[s];if(i[a])return a}if(!n)break;var c=Qm(t+"/..");if(c===t)break;t=c}return null}function Qm(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}ji({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==Rm},{trimEnd:Rm});var Zm,ey,ty,ry={};function ny(){if(ty)return ry;ty=1;var e=vg();return(ey?Zm:(ey=1,Zm=["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"])).forEach((function(e){!function(e){function t(t){var r=Jm(t,e);if(null!==r)return Km()[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=Jm(t,e);return null!==r?r:require.resolve(t)},t}("/node_modules/shelljs")("./src/"+e)})),ry.exit=process.exit,ry.error=Tg(),ry.ShellString=e.ShellString,ry.env=process.env,ry.config=e.config,ry}var iy=ny(),oy=vg();Object.keys(iy).forEach((function(e){j[e]=iy[e]}));var sy=Hm();String.prototype.to=oy.wrap("to",sy);var ay=zm();String.prototype.toEnd=oy.wrap("toEnd",ay),j.config.fatal=!0,j.target={};var cy,uy=process.argv.slice(2),ly=uy.indexOf("--");ly>-1&&(cy=uy.slice(ly+1,uy.length),uy=uy.slice(0,ly)),setTimeout((function(){var e;if(1!==uy.length||"--help"!==uy[0]){for(e in j.target)!function(e,t){j.target[e]=function(){return t.done||(t.done=!0,t.result=t.apply(t,arguments)),t.result}}(e,j.target[e]);uy.length>0?uy.forEach((function(e){e in j.target?j.target[e](cy):console.log("no such target: "+e)})):"all"in j.target&&j.target.all(cy)}else for(e in console.log("Available targets:"),j.target)console.log(" "+e)}),0);var fy={exports:{}};!function(e,t){var r;t=fy.exports=m,r="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e)}:function(){},t.SEMVER_SPEC_VERSION="2.0.0";var n=256,i=Number.MAX_SAFE_INTEGER||9007199254740991,o=n-6,s=t.re=[],a=t.safeRe=[],c=t.src=[],u=t.tokens={},l=0;function f(e){u[e]=l++}var h="[a-zA-Z0-9-]",p=[["\\s",1],["\\d",n],[h,o]];function d(e){for(var t=0;t<p.length;t++){var r=p[t][0],n=p[t][1];e=e.split(r+"*").join(r+"{0,"+n+"}").split(r+"+").join(r+"{1,"+n+"}")}return e}f("NUMERICIDENTIFIER"),c[u.NUMERICIDENTIFIER]="0|[1-9]\\d*",f("NUMERICIDENTIFIERLOOSE"),c[u.NUMERICIDENTIFIERLOOSE]="\\d+",f("NONNUMERICIDENTIFIER"),c[u.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+h+"*",f("MAINVERSION"),c[u.MAINVERSION]="("+c[u.NUMERICIDENTIFIER]+")\\.("+c[u.NUMERICIDENTIFIER]+")\\.("+c[u.NUMERICIDENTIFIER]+")",f("MAINVERSIONLOOSE"),c[u.MAINVERSIONLOOSE]="("+c[u.NUMERICIDENTIFIERLOOSE]+")\\.("+c[u.NUMERICIDENTIFIERLOOSE]+")\\.("+c[u.NUMERICIDENTIFIERLOOSE]+")",f("PRERELEASEIDENTIFIER"),c[u.PRERELEASEIDENTIFIER]="(?:"+c[u.NUMERICIDENTIFIER]+"|"+c[u.NONNUMERICIDENTIFIER]+")",f("PRERELEASEIDENTIFIERLOOSE"),c[u.PRERELEASEIDENTIFIERLOOSE]="(?:"+c[u.NUMERICIDENTIFIERLOOSE]+"|"+c[u.NONNUMERICIDENTIFIER]+")",f("PRERELEASE"),c[u.PRERELEASE]="(?:-("+c[u.PRERELEASEIDENTIFIER]+"(?:\\."+c[u.PRERELEASEIDENTIFIER]+")*))",f("PRERELEASELOOSE"),c[u.PRERELEASELOOSE]="(?:-?("+c[u.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+c[u.PRERELEASEIDENTIFIERLOOSE]+")*))",f("BUILDIDENTIFIER"),c[u.BUILDIDENTIFIER]=h+"+",f("BUILD"),c[u.BUILD]="(?:\\+("+c[u.BUILDIDENTIFIER]+"(?:\\."+c[u.BUILDIDENTIFIER]+")*))",f("FULL"),f("FULLPLAIN"),c[u.FULLPLAIN]="v?"+c[u.MAINVERSION]+c[u.PRERELEASE]+"?"+c[u.BUILD]+"?",c[u.FULL]="^"+c[u.FULLPLAIN]+"$",f("LOOSEPLAIN"),c[u.LOOSEPLAIN]="[v=\\s]*"+c[u.MAINVERSIONLOOSE]+c[u.PRERELEASELOOSE]+"?"+c[u.BUILD]+"?",f("LOOSE"),c[u.LOOSE]="^"+c[u.LOOSEPLAIN]+"$",f("GTLT"),c[u.GTLT]="((?:<|>)?=?)",f("XRANGEIDENTIFIERLOOSE"),c[u.XRANGEIDENTIFIERLOOSE]=c[u.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",f("XRANGEIDENTIFIER"),c[u.XRANGEIDENTIFIER]=c[u.NUMERICIDENTIFIER]+"|x|X|\\*",f("XRANGEPLAIN"),c[u.XRANGEPLAIN]="[v=\\s]*("+c[u.XRANGEIDENTIFIER]+")(?:\\.("+c[u.XRANGEIDENTIFIER]+")(?:\\.("+c[u.XRANGEIDENTIFIER]+")(?:"+c[u.PRERELEASE]+")?"+c[u.BUILD]+"?)?)?",f("XRANGEPLAINLOOSE"),c[u.XRANGEPLAINLOOSE]="[v=\\s]*("+c[u.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+c[u.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+c[u.XRANGEIDENTIFIERLOOSE]+")(?:"+c[u.PRERELEASELOOSE]+")?"+c[u.BUILD]+"?)?)?",f("XRANGE"),c[u.XRANGE]="^"+c[u.GTLT]+"\\s*"+c[u.XRANGEPLAIN]+"$",f("XRANGELOOSE"),c[u.XRANGELOOSE]="^"+c[u.GTLT]+"\\s*"+c[u.XRANGEPLAINLOOSE]+"$",f("COERCE"),c[u.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",f("COERCERTL"),s[u.COERCERTL]=new RegExp(c[u.COERCE],"g"),a[u.COERCERTL]=new RegExp(d(c[u.COERCE]),"g"),f("LONETILDE"),c[u.LONETILDE]="(?:~>?)",f("TILDETRIM"),c[u.TILDETRIM]="(\\s*)"+c[u.LONETILDE]+"\\s+",s[u.TILDETRIM]=new RegExp(c[u.TILDETRIM],"g"),a[u.TILDETRIM]=new RegExp(d(c[u.TILDETRIM]),"g");f("TILDE"),c[u.TILDE]="^"+c[u.LONETILDE]+c[u.XRANGEPLAIN]+"$",f("TILDELOOSE"),c[u.TILDELOOSE]="^"+c[u.LONETILDE]+c[u.XRANGEPLAINLOOSE]+"$",f("LONECARET"),c[u.LONECARET]="(?:\\^)",f("CARETTRIM"),c[u.CARETTRIM]="(\\s*)"+c[u.LONECARET]+"\\s+",s[u.CARETTRIM]=new RegExp(c[u.CARETTRIM],"g"),a[u.CARETTRIM]=new RegExp(d(c[u.CARETTRIM]),"g");f("CARET"),c[u.CARET]="^"+c[u.LONECARET]+c[u.XRANGEPLAIN]+"$",f("CARETLOOSE"),c[u.CARETLOOSE]="^"+c[u.LONECARET]+c[u.XRANGEPLAINLOOSE]+"$",f("COMPARATORLOOSE"),c[u.COMPARATORLOOSE]="^"+c[u.GTLT]+"\\s*("+c[u.LOOSEPLAIN]+")$|^$",f("COMPARATOR"),c[u.COMPARATOR]="^"+c[u.GTLT]+"\\s*("+c[u.FULLPLAIN]+")$|^$",f("COMPARATORTRIM"),c[u.COMPARATORTRIM]="(\\s*)"+c[u.GTLT]+"\\s*("+c[u.LOOSEPLAIN]+"|"+c[u.XRANGEPLAIN]+")",s[u.COMPARATORTRIM]=new RegExp(c[u.COMPARATORTRIM],"g"),a[u.COMPARATORTRIM]=new RegExp(d(c[u.COMPARATORTRIM]),"g");f("HYPHENRANGE"),c[u.HYPHENRANGE]="^\\s*("+c[u.XRANGEPLAIN]+")\\s+-\\s+("+c[u.XRANGEPLAIN]+")\\s*$",f("HYPHENRANGELOOSE"),c[u.HYPHENRANGELOOSE]="^\\s*("+c[u.XRANGEPLAINLOOSE]+")\\s+-\\s+("+c[u.XRANGEPLAINLOOSE]+")\\s*$",f("STAR"),c[u.STAR]="(<|>)?=?\\s*\\*";for(var v=0;v<l;v++)r(v,c[v]),s[v]||(s[v]=new RegExp(c[v]),a[v]=new RegExp(d(c[v])));function g(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof m)return e;if("string"!=typeof e)return null;if(e.length>n)return null;if(!(t.loose?a[u.LOOSE]:a[u.FULL]).test(e))return null;try{return new m(e,t)}catch(e){return null}}function m(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof m){if(e.loose===t.loose)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>n)throw new TypeError("version is longer than "+n+" characters");if(!(this instanceof m))return new m(e,t);r("SemVer",e,t),this.options=t,this.loose=!!t.loose;var o=e.trim().match(t.loose?a[u.LOOSE]:a[u.FULL]);if(!o)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+o[1],this.minor=+o[2],this.patch=+o[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");o[4]?this.prerelease=o[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<i)return t}return e})):this.prerelease=[],this.build=o[5]?o[5].split("."):[],this.format()}t.parse=g,t.valid=function(e,t){var r=g(e,t);return r?r.version:null},t.clean=function(e,t){var r=g(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null},t.SemVer=m,m.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},m.prototype.toString=function(){return this.version},m.prototype.compare=function(e){return r("SemVer.compare",this.version,this.options,e),e instanceof m||(e=new m(e,this.options)),this.compareMain(e)||this.comparePre(e)},m.prototype.compareMain=function(e){return e instanceof m||(e=new m(e,this.options)),b(this.major,e.major)||b(this.minor,e.minor)||b(this.patch,e.patch)},m.prototype.comparePre=function(e){if(e instanceof m||(e=new m(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var t=0;do{var n=this.prerelease[t],i=e.prerelease[t];if(r("prerelease compare",t,n,i),void 0===n&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===n)return-1;if(n!==i)return b(n,i)}while(++t)},m.prototype.compareBuild=function(e){e instanceof m||(e=new m(e,this.options));var t=0;do{var n=this.build[t],i=e.build[t];if(r("prerelease compare",t,n,i),void 0===n&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===n)return-1;if(n!==i)return b(n,i)}while(++t)},m.prototype.inc=function(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var r=this.prerelease.length;--r>=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);-1===r&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this},t.inc=function(e,t,r,n){"string"==typeof r&&(n=r,r=void 0);try{return new m(e,r).inc(t,n).version}catch(e){return null}},t.diff=function(e,t){if(O(e,t))return null;var r=g(e),n=g(t),i="";if(r.prerelease.length||n.prerelease.length){i="pre";var o="prerelease"}for(var s in r)if(("major"===s||"minor"===s||"patch"===s)&&r[s]!==n[s])return i+s;return o},t.compareIdentifiers=b;var y=/^[0-9]+$/;function b(e,t){var r=y.test(e),n=y.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:e<t?-1:1}function E(e,t,r){return new m(e,r).compare(new m(t,r))}function w(e,t,r){return E(e,t,r)>0}function S(e,t,r){return E(e,t,r)<0}function O(e,t,r){return 0===E(e,t,r)}function R(e,t,r){return 0!==E(e,t,r)}function I(e,t,r){return E(e,t,r)>=0}function A(e,t,r){return E(e,t,r)<=0}function x(e,t,r,n){switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return O(e,r,n);case"!=":return R(e,r,n);case">":return w(e,r,n);case">=":return I(e,r,n);case"<":return S(e,r,n);case"<=":return A(e,r,n);default:throw new TypeError("Invalid operator: "+t)}}function T(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof T){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof T))return new T(e,t);e=e.trim().split(/\s+/).join(" "),r("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===j?this.value="":this.value=this.operator+this.semver.version,r("comp",this)}t.rcompareIdentifiers=function(e,t){return b(t,e)},t.major=function(e,t){return new m(e,t).major},t.minor=function(e,t){return new m(e,t).minor},t.patch=function(e,t){return new m(e,t).patch},t.compare=E,t.compareLoose=function(e,t){return E(e,t,!0)},t.compareBuild=function(e,t,r){var n=new m(e,r),i=new m(t,r);return n.compare(i)||n.compareBuild(i)},t.rcompare=function(e,t,r){return E(t,e,r)},t.sort=function(e,r){return e.sort((function(e,n){return t.compareBuild(e,n,r)}))},t.rsort=function(e,r){return e.sort((function(e,n){return t.compareBuild(n,e,r)}))},t.gt=w,t.lt=S,t.eq=O,t.neq=R,t.gte=I,t.lte=A,t.cmp=x,t.Comparator=T;var j={};function k(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof k)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new k(e.raw,t);if(e instanceof T)return new k(e.value,t);if(!(this instanceof k))return new k(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map((function(e){return this.parseRange(e.trim())}),this).filter((function(e){return e.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: "+this.raw);this.format()}function L(e,t){for(var r=!0,n=e.slice(),i=n.pop();r&&n.length;)r=n.every((function(e){return i.intersects(e,t)})),i=n.pop();return r}function P(e){return!e||"x"===e.toLowerCase()||"*"===e}function N(e,t,r,n,i,o,s,a,c,u,l,f,h){return((t=P(r)?"":P(n)?">="+r+".0.0":P(i)?">="+r+"."+n+".0":">="+t)+" "+(a=P(c)?"":P(u)?"<"+(+c+1)+".0.0":P(l)?"<"+c+"."+(+u+1)+".0":f?"<="+c+"."+u+"."+l+"-"+f:"<="+a)).trim()}function _(e,t,n){for(var i=0;i<e.length;i++)if(!e[i].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(i=0;i<e.length;i++)if(r(e[i].semver),e[i].semver!==j&&e[i].semver.prerelease.length>0){var o=e[i].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch)return!0}return!1}return!0}function C(e,t,r){try{t=new k(t,r)}catch(e){return!1}return t.test(e)}function F(e,t,r,n){var i,o,s,a,c;switch(e=new m(e,n),t=new k(t,n),r){case">":i=w,o=A,s=S,a=">",c=">=";break;case"<":i=S,o=I,s=w,a="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(C(e,t,n))return!1;for(var u=0;u<t.set.length;++u){var l=t.set[u],f=null,h=null;if(l.forEach((function(e){e.semver===j&&(e=new T(">=0.0.0")),f=f||e,h=h||e,i(e.semver,f.semver,n)?f=e:s(e.semver,h.semver,n)&&(h=e)})),f.operator===a||f.operator===c)return!1;if((!h.operator||h.operator===a)&&o(e,h.semver))return!1;if(h.operator===c&&s(e,h.semver))return!1}return!0}T.prototype.parse=function(e){var t=this.options.loose?a[u.COMPARATORLOOSE]:a[u.COMPARATOR],r=e.match(t);if(!r)throw new TypeError("Invalid comparator: "+e);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new m(r[2],this.options.loose):this.semver=j},T.prototype.toString=function(){return this.value},T.prototype.test=function(e){if(r("Comparator.test",e,this.options.loose),this.semver===j||e===j)return!0;if("string"==typeof e)try{e=new m(e,this.options)}catch(e){return!1}return x(e,this.operator,this.semver,this.options)},T.prototype.intersects=function(e,t){if(!(e instanceof T))throw new TypeError("a Comparator is required");var r;if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||(r=new k(e.value,t),C(this.value,r,t));if(""===e.operator)return""===e.value||(r=new k(this.value,t),C(e.semver,r,t));var n=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),i=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),o=this.semver.version===e.semver.version,s=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),a=x(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),c=x(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return n||i||o&&s||a||c},t.Range=k,k.prototype.format=function(){return this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim(),this.range},k.prototype.toString=function(){return this.range},k.prototype.parseRange=function(e){var t=this.options.loose,n=t?a[u.HYPHENRANGELOOSE]:a[u.HYPHENRANGE];e=e.replace(n,N),r("hyphen replace",e),e=e.replace(a[u.COMPARATORTRIM],"$1$2$3"),r("comparator trim",e,a[u.COMPARATORTRIM]),e=(e=(e=e.replace(a[u.TILDETRIM],"$1~")).replace(a[u.CARETTRIM],"$1^")).split(/\s+/).join(" ");var i=t?a[u.COMPARATORLOOSE]:a[u.COMPARATOR],o=e.split(" ").map((function(e){return function(e,t){return r("comp",e,t),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){r("caret",e,t);var n=t.loose?a[u.CARETLOOSE]:a[u.CARET];return e.replace(n,(function(t,n,i,o,s){var a;return r("caret",e,t,n,i,o,s),P(n)?a="":P(i)?a=">="+n+".0.0 <"+(+n+1)+".0.0":P(o)?a="0"===n?">="+n+"."+i+".0 <"+n+"."+(+i+1)+".0":">="+n+"."+i+".0 <"+(+n+1)+".0.0":s?(r("replaceCaret pr",s),a="0"===n?"0"===i?">="+n+"."+i+"."+o+"-"+s+" <"+n+"."+i+"."+(+o+1):">="+n+"."+i+"."+o+"-"+s+" <"+n+"."+(+i+1)+".0":">="+n+"."+i+"."+o+"-"+s+" <"+(+n+1)+".0.0"):(r("no pr"),a="0"===n?"0"===i?">="+n+"."+i+"."+o+" <"+n+"."+i+"."+(+o+1):">="+n+"."+i+"."+o+" <"+n+"."+(+i+1)+".0":">="+n+"."+i+"."+o+" <"+(+n+1)+".0.0"),r("caret return",a),a}))}(e,t)})).join(" ")}(e,t),r("caret",e),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){var n=t.loose?a[u.TILDELOOSE]:a[u.TILDE];return e.replace(n,(function(t,n,i,o,s){var a;return r("tilde",e,t,n,i,o,s),P(n)?a="":P(i)?a=">="+n+".0.0 <"+(+n+1)+".0.0":P(o)?a=">="+n+"."+i+".0 <"+n+"."+(+i+1)+".0":s?(r("replaceTilde pr",s),a=">="+n+"."+i+"."+o+"-"+s+" <"+n+"."+(+i+1)+".0"):a=">="+n+"."+i+"."+o+" <"+n+"."+(+i+1)+".0",r("tilde return",a),a}))}(e,t)})).join(" ")}(e,t),r("tildes",e),e=function(e,t){return r("replaceXRanges",e,t),e.split(/\s+/).map((function(e){return function(e,t){e=e.trim();var n=t.loose?a[u.XRANGELOOSE]:a[u.XRANGE];return e.replace(n,(function(n,i,o,s,a,c){r("xRange",e,n,i,o,s,a,c);var u=P(o),l=u||P(s),f=l||P(a),h=f;return"="===i&&h&&(i=""),c=t.includePrerelease?"-0":"",u?n=">"===i||"<"===i?"<0.0.0-0":"*":i&&h?(l&&(s=0),a=0,">"===i?(i=">=",l?(o=+o+1,s=0,a=0):(s=+s+1,a=0)):"<="===i&&(i="<",l?o=+o+1:s=+s+1),n=i+o+"."+s+"."+a+c):l?n=">="+o+".0.0"+c+" <"+(+o+1)+".0.0"+c:f&&(n=">="+o+"."+s+".0"+c+" <"+o+"."+(+s+1)+".0"+c),r("xRange return",n),n}))}(e,t)})).join(" ")}(e,t),r("xrange",e),e=function(e,t){return r("replaceStars",e,t),e.trim().replace(a[u.STAR],"")}(e,t),r("stars",e),e}(e,this.options)}),this).join(" ").split(/\s+/);return this.options.loose&&(o=o.filter((function(e){return!!e.match(i)}))),o=o.map((function(e){return new T(e,this.options)}),this)},k.prototype.intersects=function(e,t){if(!(e instanceof k))throw new TypeError("a Range is required");return this.set.some((function(r){return L(r,t)&&e.set.some((function(e){return L(e,t)&&r.every((function(r){return e.every((function(e){return r.intersects(e,t)}))}))}))}))},t.toComparators=function(e,t){return new k(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))},k.prototype.test=function(e){if(!e)return!1;if("string"==typeof e)try{e=new m(e,this.options)}catch(e){return!1}for(var t=0;t<this.set.length;t++)if(_(this.set[t],e,this.options))return!0;return!1},t.satisfies=C,t.maxSatisfying=function(e,t,r){var n=null,i=null;try{var o=new k(t,r)}catch(e){return null}return e.forEach((function(e){o.test(e)&&(n&&-1!==i.compare(e)||(i=new m(n=e,r)))})),n},t.minSatisfying=function(e,t,r){var n=null,i=null;try{var o=new k(t,r)}catch(e){return null}return e.forEach((function(e){o.test(e)&&(n&&1!==i.compare(e)||(i=new m(n=e,r)))})),n},t.minVersion=function(e,t){e=new k(e,t);var r=new m("0.0.0");if(e.test(r))return r;if(r=new m("0.0.0-0"),e.test(r))return r;r=null;for(var n=0;n<e.set.length;++n){e.set[n].forEach((function(e){var t=new m(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":r&&!w(r,t)||(r=t);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}))}if(r&&e.test(r))return r;return null},t.validRange=function(e,t){try{return new k(e,t).range||"*"}catch(e){return null}},t.ltr=function(e,t,r){return F(e,t,"<",r)},t.gtr=function(e,t,r){return F(e,t,">",r)},t.outside=F,t.prerelease=function(e,t){var r=g(e,t);return r&&r.prerelease.length?r.prerelease:null},t.intersects=function(e,t,r){return e=new k(e,r),t=new k(t,r),e.intersects(t)},t.coerce=function(e,t){if(e instanceof m)return e;"number"==typeof e&&(e=String(e));if("string"!=typeof e)return null;var r=null;if((t=t||{}).rtl){for(var n;(n=a[u.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&n.index+n[0].length===r.index+r[0].length||(r=n),a[u.COERCERTL].lastIndex=n.index+n[1].length+n[2].length;a[u.COERCERTL].lastIndex=-1}else r=e.match(a[u.COERCE]);if(null===r)return null;return g(r[2]+"."+(r[3]||"0")+"."+(r[4]||"0"),t)}}(0,fy.exports);var hy,py,dy,vy,gy=k(fy.exports),my="process"===te(P.process),yy=we,by=TypeError,Ey=function(e,t){if(yy(t,e))return e;throw new by("Incorrect invocation")},wy=TypeError,Sy=function(e,t){if(e<t)throw new wy("Not enough arguments");return e},Oy=/(?:ipad|iphone|ipod).*applewebkit/i.test(Se),Ry=P,Iy=_i,Ay=Jo,xy=ve,Ty=vt,jy=_,ky=Ws,Ly=Gc,Py=Wt,Ny=Sy,_y=Oy,Cy=my,Fy=Ry.setImmediate,Dy=Ry.clearImmediate,My=Ry.process,Uy=Ry.Dispatch,Gy=Ry.Function,By=Ry.MessageChannel,$y=Ry.String,qy=0,Wy={},Hy="onreadystatechange";jy((function(){hy=Ry.location}));var zy=function(e){if(Ty(Wy,e)){var t=Wy[e];delete Wy[e],t()}},Xy=function(e){return function(){zy(e)}},Vy=function(e){zy(e.data)},Yy=function(e){Ry.postMessage($y(e),hy.protocol+"//"+hy.host)};Fy&&Dy||(Fy=function(e){Ny(arguments.length,1);var t=xy(e)?e:Gy(e),r=Ly(arguments,1);return Wy[++qy]=function(){Iy(t,void 0,r)},py(qy),qy},Dy=function(e){delete Wy[e]},Cy?py=function(e){My.nextTick(Xy(e))}:Uy&&Uy.now?py=function(e){Uy.now(Xy(e))}:By&&!_y?(vy=(dy=new By).port2,dy.port1.onmessage=Vy,py=Ay(vy.postMessage,vy)):Ry.addEventListener&&xy(Ry.postMessage)&&!Ry.importScripts&&hy&&"file:"!==hy.protocol&&!jy(Yy)?(py=Yy,Ry.addEventListener("message",Vy,!1)):py=Hy in Py("script")?function(e){ky.appendChild(Py("script"))[Hy]=function(){ky.removeChild(this),zy(e)}}:function(e){setTimeout(Xy(e),0)});var Ky={set:Fy,clear:Dy},Jy=P,Qy=C,Zy=Object.getOwnPropertyDescriptor,eb=function(e){if(!Qy)return Jy[e];var t=Zy(Jy,e);return t&&t.value},tb=function(){this.head=null,this.tail=null};tb.prototype={add:function(e){var t={item:e,next:null},r=this.tail;r?r.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}};var rb,nb,ib,ob,sb,ab=tb,cb=/ipad|iphone|ipod/i.test(Se)&&"undefined"!=typeof Pebble,ub=/web0s(?!.*chrome)/i.test(Se),lb=P,fb=eb,hb=Jo,pb=Ky.set,db=ab,vb=Oy,gb=cb,mb=ub,yb=my,bb=lb.MutationObserver||lb.WebKitMutationObserver,Eb=lb.document,wb=lb.process,Sb=lb.Promise,Ob=fb("queueMicrotask");if(!Ob){var Rb=new db,Ib=function(){var e,t;for(yb&&(e=wb.domain)&&e.exit();t=Rb.get();)try{t()}catch(e){throw Rb.head&&rb(),e}e&&e.enter()};vb||yb||mb||!bb||!Eb?!gb&&Sb&&Sb.resolve?((ob=Sb.resolve(void 0)).constructor=Sb,sb=hb(ob.then,ob),rb=function(){sb(Ib)}):yb?rb=function(){wb.nextTick(Ib)}:(pb=hb(pb,lb),rb=function(){pb(Ib)}):(nb=!0,ib=Eb.createTextNode(""),new bb(Ib).observe(ib,{characterData:!0}),rb=function(){ib.data=nb=!nb}),Ob=function(e){Rb.head||rb(),Rb.add(e)}}var Ab=Ob,xb=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},Tb=P.Promise,jb="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,kb=!jb&&!my&&"object"==typeof window&&"object"==typeof document,Lb=P,Pb=Tb,Nb=ve,_b=wi,Cb=Cr,Fb=jt,Db=kb,Mb=jb,Ub=je;Pb&&Pb.prototype;var Gb=Fb("species"),Bb=!1,$b=Nb(Lb.PromiseRejectionEvent),qb=_b("Promise",(function(){var e=Cb(Pb),t=e!==String(Pb);if(!t&&66===Ub)return!0;if(!Ub||Ub<51||!/native code/.test(e)){var r=new Pb((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))};if((r.constructor={})[Gb]=n,!(Bb=r.then((function(){}))instanceof n))return!0}return!t&&(Db||Mb)&&!$b})),Wb={CONSTRUCTOR:qb,REJECTION_EVENT:$b,SUBCLASSING:Bb},Hb={},zb=He,Xb=TypeError,Vb=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw new Xb("Bad Promise constructor");t=e,r=n})),this.resolve=zb(t),this.reject=zb(r)};Hb.f=function(e){return new Vb(e)};var Yb,Kb,Jb,Qb=ji,Zb=my,eE=P,tE=U,rE=An,nE=zi,iE=Fa,oE=rl,sE=He,aE=ve,cE=me,uE=Ey,lE=Od,fE=Ky.set,hE=Ab,pE=function(e,t){try{1===arguments.length?console.error(e):console.error(e,t)}catch(e){}},dE=xb,vE=ab,gE=rn,mE=Tb,yE=Hb,bE="Promise",EE=Wb.CONSTRUCTOR,wE=Wb.REJECTION_EVENT,SE=Wb.SUBCLASSING,OE=gE.getterFor(bE),RE=gE.set,IE=mE&&mE.prototype,AE=mE,xE=IE,TE=eE.TypeError,jE=eE.document,kE=eE.process,LE=yE.f,PE=LE,NE=!!(jE&&jE.createEvent&&eE.dispatchEvent),_E="unhandledrejection",CE=function(e){var t;return!(!cE(e)||!aE(t=e.then))&&t},FE=function(e,t){var r,n,i,o=t.value,s=1===t.state,a=s?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{a?(s||(2===t.rejection&&BE(t),t.rejection=1),!0===a?r=o:(l&&l.enter(),r=a(o),l&&(l.exit(),i=!0)),r===e.promise?u(new TE("Promise-chain cycle")):(n=CE(r))?tE(n,r,c,u):c(r)):u(o)}catch(e){l&&!i&&l.exit(),u(e)}},DE=function(e,t){e.notified||(e.notified=!0,hE((function(){for(var r,n=e.reactions;r=n.get();)FE(r,e);e.notified=!1,t&&!e.rejection&&UE(e)})))},ME=function(e,t,r){var n,i;NE?((n=jE.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),eE.dispatchEvent(n)):n={promise:t,reason:r},!wE&&(i=eE["on"+e])?i(n):e===_E&&pE("Unhandled promise rejection",r)},UE=function(e){tE(fE,eE,(function(){var t,r=e.facade,n=e.value;if(GE(e)&&(t=dE((function(){Zb?kE.emit("unhandledRejection",n,r):ME(_E,r,n)})),e.rejection=Zb||GE(e)?2:1,t.error))throw t.value}))},GE=function(e){return 1!==e.rejection&&!e.parent},BE=function(e){tE(fE,eE,(function(){var t=e.facade;Zb?kE.emit("rejectionHandled",t):ME("rejectionhandled",t,e.value)}))},$E=function(e,t,r){return function(n){e(t,n,r)}},qE=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,DE(e,!0))},WE=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw new TE("Promise can't be resolved itself");var n=CE(t);n?hE((function(){var r={done:!1};try{tE(n,t,$E(WE,r,e),$E(qE,r,e))}catch(t){qE(r,t,e)}})):(e.value=t,e.state=1,DE(e,!1))}catch(t){qE({done:!1},t,e)}}};if(EE&&(xE=(AE=function(e){uE(this,xE),sE(e),tE(Yb,this);var t=OE(this);try{e($E(WE,t),$E(qE,t))}catch(e){qE(t,e)}}).prototype,(Yb=function(e){RE(this,{type:bE,done:!1,notified:!1,parent:!1,reactions:new vE,rejection:!1,state:0,value:void 0})}).prototype=rE(xE,"then",(function(e,t){var r=OE(this),n=LE(lE(this,AE));return r.parent=!0,n.ok=!aE(e)||e,n.fail=aE(t)&&t,n.domain=Zb?kE.domain:void 0,0===r.state?r.reactions.add(n):hE((function(){FE(n,r)})),n.promise})),Kb=function(){var e=new Yb,t=OE(e);this.promise=e,this.resolve=$E(WE,t),this.reject=$E(qE,t)},yE.f=LE=function(e){return e===AE||undefined===e?new Kb(e):PE(e)},aE(mE)&&IE!==Object.prototype)){Jb=IE.then,SE||rE(IE,"then",(function(e,t){var r=this;return new AE((function(e,t){tE(Jb,r,e,t)})).then(e,t)}),{unsafe:!0});try{delete IE.constructor}catch(e){}nE&&nE(IE,xE)}Qb({global:!0,constructor:!0,wrap:!0,forced:EE},{Promise:AE}),iE(AE,bE,!1),oE(bE);var HE=da,zE=jt("iterator"),XE=Array.prototype,VE=function(e){return void 0!==e&&(HE.Array===e||XE[zE]===e)},YE=so,KE=Ve,JE=ae,QE=da,ZE=jt("iterator"),ew=function(e){if(!JE(e))return KE(e,ZE)||KE(e,"@@iterator")||QE[YE(e)]},tw=U,rw=He,nw=ar,iw=Be,ow=ew,sw=TypeError,aw=function(e,t){var r=arguments.length<2?ow(e):t;if(rw(r))return nw(tw(r,e));throw new sw(iw(e)+" is not iterable")},cw=U,uw=ar,lw=Ve,fw=function(e,t,r){var n,i;uw(e);try{if(!(n=lw(e,"return"))){if("throw"===t)throw r;return r}n=cw(n,e)}catch(e){i=!0,n=e}if("throw"===t)throw r;if(i)throw n;return uw(n),r},hw=Jo,pw=U,dw=ar,vw=Be,gw=VE,mw=Gn,yw=we,bw=aw,Ew=ew,ww=fw,Sw=TypeError,Ow=function(e,t){this.stopped=e,this.result=t},Rw=Ow.prototype,Iw=function(e,t,r){var n,i,o,s,a,c,u,l=r&&r.that,f=!(!r||!r.AS_ENTRIES),h=!(!r||!r.IS_RECORD),p=!(!r||!r.IS_ITERATOR),d=!(!r||!r.INTERRUPTED),v=hw(t,l),g=function(e){return n&&ww(n,"normal",e),new Ow(!0,e)},m=function(e){return f?(dw(e),d?v(e[0],e[1],g):v(e[0],e[1])):d?v(e,g):v(e)};if(h)n=e.iterator;else if(p)n=e;else{if(!(i=Ew(e)))throw new Sw(vw(e)+" is not iterable");if(gw(i)){for(o=0,s=mw(e);s>o;o++)if((a=m(e[o]))&&yw(Rw,a))return a;return new Ow(!1)}n=bw(e,i)}for(c=h?e.next:n.next;!(u=pw(c,n)).done;){try{a=m(u.value)}catch(e){ww(n,"throw",e)}if("object"==typeof a&&a&&yw(Rw,a))return a}return new Ow(!1)},Aw=jt("iterator"),xw=!1;try{var Tw=0,jw={next:function(){return{done:!!Tw++}},return:function(){xw=!0}};jw[Aw]=function(){return this},Array.from(jw,(function(){throw 2}))}catch(e){}var kw=function(e,t){try{if(!t&&!xw)return!1}catch(e){return!1}var r=!1;try{var n={};n[Aw]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(e){}return r},Lw=Tb,Pw=Wb.CONSTRUCTOR||!kw((function(e){Lw.all(e).then(void 0,(function(){}))})),Nw=U,_w=He,Cw=Hb,Fw=xb,Dw=Iw;ji({target:"Promise",stat:!0,forced:Pw},{all:function(e){var t=this,r=Cw.f(t),n=r.resolve,i=r.reject,o=Fw((function(){var r=_w(t.resolve),o=[],s=0,a=1;Dw(e,(function(e){var c=s++,u=!1;a++,Nw(r,t,e).then((function(e){u||(u=!0,o[c]=e,--a||n(o))}),i)})),--a||n(o)}));return o.error&&i(o.value),r.promise}});var Mw=ji,Uw=Wb.CONSTRUCTOR,Gw=Tb,Bw=Ee,$w=ve,qw=An,Ww=Gw&&Gw.prototype;if(Mw({target:"Promise",proto:!0,forced:Uw,real:!0},{catch:function(e){return this.then(void 0,e)}}),$w(Gw)){var Hw=Bw("Promise").prototype.catch;Ww.catch!==Hw&&qw(Ww,"catch",Hw,{unsafe:!0})}var zw=U,Xw=He,Vw=Hb,Yw=xb,Kw=Iw;ji({target:"Promise",stat:!0,forced:Pw},{race:function(e){var t=this,r=Vw.f(t),n=r.reject,i=Yw((function(){var i=Xw(t.resolve);Kw(e,(function(e){zw(i,t,e).then(r.resolve,n)}))}));return i.error&&n(i.value),r.promise}});var Jw=Hb;ji({target:"Promise",stat:!0,forced:Wb.CONSTRUCTOR},{reject:function(e){var t=Jw.f(this);return(0,t.reject)(e),t.promise}});var Qw=ar,Zw=me,eS=Hb,tS=function(e,t){if(Qw(e),Zw(t)&&t.constructor===e)return t;var r=eS.f(e);return(0,r.resolve)(t),r.promise},rS=ji,nS=Wb.CONSTRUCTOR,iS=tS;Ee("Promise"),rS({target:"Promise",stat:!0,forced:nS},{resolve:function(e){return iS(this,e)}});var oS,sS=_u,aS=TypeError,cS=function(e){if(sS(e))throw new aS("The method doesn't accept regular expressions");return e},uS=jt("match"),lS=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[uS]=!1,"/./"[e](t)}catch(e){}}return!1},fS=ji,hS=Xo,pS=N.f,dS=Mn,vS=uo,gS=cS,mS=le,yS=lS,bS=hS("".slice),ES=Math.min,wS=yS("startsWith");fS({target:"String",proto:!0,forced:!!(wS||(oS=pS(String.prototype,"startsWith"),!oS||oS.writable))&&!wS},{startsWith:function(e){var t=vS(mS(this));gS(e);var r=dS(ES(arguments.length>1?arguments[1]:void 0,t.length)),n=vS(e);return bS(t,r,r+n.length)===n}});var SS,OS,RS,IS,AS,xS={exports:{}};AS="win32"===process.platform||j.TESTING_WINDOWS?function(){if(IS)return RS;IS=1,RS=n,n.sync=function(t,n){return r(e.statSync(t),t,n)};var e=t;function r(e,t,r){return!(!e.isSymbolicLink()&&!e.isFile())&&function(e,t){var r=void 0!==t.pathExt?t.pathExt:process.env.PATHEXT;if(!r)return!0;if(-1!==(r=r.split(";")).indexOf(""))return!0;for(var n=0;n<r.length;n++){var i=r[n].toLowerCase();if(i&&e.substr(-i.length).toLowerCase()===i)return!0}return!1}(t,r)}function n(t,n,i){e.stat(t,(function(e,o){i(e,!e&&r(o,t,n))}))}return RS}():function(){if(OS)return SS;OS=1,SS=r,r.sync=function(t,r){return n(e.statSync(t),r)};var e=t;function r(t,r,i){e.stat(t,(function(e,t){i(e,!e&&n(t,r))}))}function n(e,t){return e.isFile()&&function(e,t){var r=e.mode,n=e.uid,i=e.gid,o=void 0!==t.uid?t.uid:process.getuid&&process.getuid(),s=void 0!==t.gid?t.gid:process.getgid&&process.getgid(),a=parseInt("100",8),c=parseInt("010",8);return r&parseInt("001",8)||r&c&&i===s||r&a&&n===o||r&(a|c)&&0===o}(e,t)}return SS}();var TS=jS;function jS(e,t,r){if("function"==typeof t&&(r=t,t={}),!r){if("function"!=typeof Promise)throw new TypeError("callback not provided");return new Promise((function(r,n){jS(e,t||{},(function(e,t){e?n(e):r(t)}))}))}AS(e,t||{},(function(e,n){e&&("EACCES"===e.code||t&&t.ignoreErrors)&&(e=null,n=!1),r(e,n)}))}jS.sync=function(e,t){try{return AS.sync(e,t||{})}catch(e){if(t&&t.ignoreErrors||"EACCES"===e.code)return!1;throw e}},k(TS);const kS="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,LS=r,PS=kS?";":":",NS=TS,_S=e=>Object.assign(new Error(`not found: ${e}`),{code:"ENOENT"}),CS=(e,t)=>{const r=t.colon||PS,n=e.match(/\//)||kS&&e.match(/\\/)?[""]:[...kS?[process.cwd()]:[],...(t.path||process.env.PATH||"").split(r)],i=kS?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",o=kS?i.split(r):[""];return kS&&-1!==e.indexOf(".")&&""!==o[0]&&o.unshift(""),{pathEnv:n,pathExt:o,pathExtExe:i}},FS=(e,t,r)=>{"function"==typeof t&&(r=t,t={}),t||(t={});const n=CS(e,t),i=n.pathEnv,o=n.pathExt,s=n.pathExtExe,a=[],c=r=>new Promise(((n,o)=>{if(r===i.length)return t.all&&a.length?n(a):o(_S(e));const s=i[r],c=/^".*"$/.test(s)?s.slice(1,-1):s,l=LS.join(c,e),f=!c&&/^\.[\\\/]/.test(e)?e.slice(0,2)+l:l;n(u(f,r,0))})),u=(e,r,n)=>new Promise(((i,l)=>{if(n===o.length)return i(c(r+1));const f=o[n];NS(e+f,{pathExt:s},((o,s)=>{if(!o&&s){if(!t.all)return i(e+f);a.push(e+f)}return i(u(e,r,n+1))}))}));return r?c(0).then((e=>r(null,e)),r):c(0)};var DS=FS;FS.sync=(e,t)=>{const r=CS(e,t=t||{}),n=r.pathEnv,i=r.pathExt,o=r.pathExtExe,s=[];for(let r=0;r<n.length;r++){const a=n[r],c=/^".*"$/.test(a)?a.slice(1,-1):a,u=LS.join(c,e),l=!c&&/^\.[\\\/]/.test(e)?e.slice(0,2)+u:u;for(let e=0;e<i.length;e++){const r=l+i[e];try{if(NS.sync(r,{pathExt:o})){if(!t.all)return r;s.push(r)}}catch(e){}}}if(t.all&&s.length)return s;if(t.nothrow)return null;throw _S(e)},k(DS);var MS={exports:{}};const US=(e={})=>{const t=e.env||process.env;return"win32"!==(e.platform||process.platform)?"PATH":Object.keys(t).reverse().find((e=>"PATH"===e.toUpperCase()))||"Path"};MS.exports=US,MS.exports.default=US;var GS=MS.exports;k(GS);const BS=r,$S=DS,qS=GS;function WS(e,t){const r=e.options.env||process.env,n=process.cwd(),i=null!=e.options.cwd,o=i&&void 0!==process.chdir&&!process.chdir.disabled;if(o)try{process.chdir(e.options.cwd)}catch(e){}let s;try{s=$S.sync(e.command,{path:r[qS({env:r})],pathExt:t?BS.delimiter:void 0})}catch(e){}finally{o&&process.chdir(n)}return s&&(s=BS.resolve(i?e.options.cwd:"",s)),s}var HS=function(e){return WS(e)||WS(e,!0)};k(HS);var zS={};const XS=/([()\][%!^"`<>&|;, *?])/g;zS.command=function(e){return e=e.replace(XS,"^$1")},zS.argument=function(e,t){return e=(e=`"${e=(e=(e=`${e}`).replace(/(\\*)"/g,'$1$1\\"')).replace(/(\\*)$/,"$1$1")}"`).replace(XS,"^$1"),t&&(e=e.replace(XS,"^$1")),e};var VS=/^#!(.*)/;k(VS);const YS=VS;var KS=(e="")=>{const t=e.match(YS);if(!t)return null;const r=O(t[0].replace(/#! ?/,"").split(" "),2),n=r[0],i=r[1],o=n.split("/").pop();return"env"===o?i:i?`${o} ${i}`:o};k(KS);const JS=t,QS=KS;var ZS=function(e){const t=Buffer.alloc(150);let r;try{r=JS.openSync(e,"r"),JS.readSync(r,t,0,150,0),JS.closeSync(r)}catch(e){}return QS(t.toString())};k(ZS);const eO=r,tO=HS,rO=zS,nO=ZS,iO="win32"===process.platform,oO=/\.(?:com|exe)$/i,sO=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function aO(e){if(!iO)return e;const t=function(e){e.file=tO(e);const t=e.file&&nO(e.file);return t?(e.args.unshift(e.file),e.command=t,tO(e)):e.file}(e),r=!oO.test(t);if(e.options.forceShell||r){const r=sO.test(t);e.command=eO.normalize(e.command),e.command=rO.command(e.command),e.args=e.args.map((e=>rO.argument(e,r)));const n=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${n}"`],e.command=process.env.comspec||"cmd.exe",e.options.windowsVerbatimArguments=!0}return e}var cO=function(e,t,r){t&&!Array.isArray(t)&&(r=t,t=null);const n={command:e,args:t=t?t.slice(0):[],options:r=Object.assign({},r),file:void 0,original:{command:e,args:t}};return r.shell?n:aO(n)};k(cO);const uO="win32"===process.platform;function lO(e,t){return Object.assign(new Error(`${t} ${e.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${t} ${e.command}`,path:e.command,spawnargs:e.args})}function fO(e,t){return uO&&1===e&&!t.file?lO(t.original,"spawn"):null}var hO={hookChildProcess:function(e,t){if(!uO)return;const r=e.emit;e.emit=function(n,i){if("exit"===n){const n=fO(i,t);if(n)return r.call(e,"error",n)}return r.apply(e,arguments)}},verifyENOENT:fO,verifyENOENTSync:function(e,t){return uO&&1===e&&!t.file?lO(t.original,"spawnSync"):null},notFoundError:lO};k(hO);const pO=s,dO=cO,vO=hO;function gO(e,t,r){const n=dO(e,t,r),i=pO.spawn(n.command,n.args,n.options);return vO.hookChildProcess(i,n),i}xS.exports=gO,xS.exports.spawn=gO,xS.exports.sync=function(e,t,r){const n=dO(e,t,r),i=pO.spawnSync(n.command,n.args,n.options);return i.error=i.error||vO.verifyENOENTSync(i.status,n),i},xS.exports._parse=dO,xS.exports._enoent=vO;var mO=k(xS.exports);var yO=Yf.charAt,bO=uo,EO=rn,wO=uc,SO=lc,OO="String Iterator",RO=EO.set,IO=EO.getterFor(OO);wO(String,"String",(function(e){RO(this,{type:OO,string:bO(e),index:0})}),(function(){var e,t=IO(this),r=t.string,n=t.index;return n>=r.length?SO(void 0,!0):(e=yO(r,n),t.index+=e.length,SO(e,!1))}));var AO=_,xO=C,TO=jt("iterator"),jO=!AO((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),r.delete("a",2),r.delete("b",void 0),!t.size&&!xO||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[TO]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host})),kO=C,LO=J,PO=U,NO=_,_O=Fs,CO=ti,FO=G,DO=ht,MO=se,UO=Object.assign,GO=Object.defineProperty,BO=LO([].concat),$O=!UO||NO((function(){if(kO&&1!==UO({b:1},UO(GO({},"a",{enumerable:!0,get:function(){GO(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection"),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!==UO({},e)[r]||_O(UO({},t)).join("")!==n}))?function(e,t){for(var r=DO(e),n=arguments.length,i=1,o=CO.f,s=FO.f;n>i;)for(var a,c=MO(arguments[i++]),u=o?BO(_O(c),o(c)):_O(c),l=u.length,f=0;l>f;)a=u[f++],kO&&!PO(s,c,a)||(r[a]=c[a]);return r}:UO,qO=ar,WO=fw,HO=Jo,zO=U,XO=ht,VO=function(e,t,r,n){try{return n?t(qO(r)[0],r[1]):t(r)}catch(t){WO(e,"throw",t)}},YO=VE,KO=hs,JO=Gn,QO=Uc,ZO=aw,eR=ew,tR=Array,rR=function(e){var t=XO(e),r=KO(this),n=arguments.length,i=n>1?arguments[1]:void 0,o=void 0!==i;o&&(i=HO(i,n>2?arguments[2]:void 0));var s,a,c,u,l,f,h=eR(t),p=0;if(!h||this===tR&&YO(h))for(s=JO(t),a=r?new this(s):tR(s);s>p;p++)f=o?i(t[p],p):t[p],QO(a,p,f);else for(a=r?new this:[],l=(u=ZO(t,h)).next;!(c=zO(l,u)).done;p++)f=o?VO(u,i,[c.value,p],!0):c.value,QO(a,p,f);return a.length=p,a},nR=J,iR=2147483647,oR=/[^\0-\u007E]/,sR=/[.\u3002\uFF0E\uFF61]/g,aR="Overflow: input needs wider integers to process",cR=RangeError,uR=nR(sR.exec),lR=Math.floor,fR=String.fromCharCode,hR=nR("".charCodeAt),pR=nR([].join),dR=nR([].push),vR=nR("".replace),gR=nR("".split),mR=nR("".toLowerCase),yR=function(e){return e+22+75*(e<26)},bR=function(e,t,r){var n=0;for(e=r?lR(e/700):e>>1,e+=lR(e/t);e>455;)e=lR(e/35),n+=36;return lR(n+36*e/(e+38))},ER=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var i=hR(e,r++);if(i>=55296&&i<=56319&&r<n){var o=hR(e,r++);56320==(64512&o)?dR(t,((1023&i)<<10)+(1023&o)+65536):(dR(t,i),r--)}else dR(t,i)}return t}(e);var r,n,i=e.length,o=128,s=0,a=72;for(r=0;r<e.length;r++)(n=e[r])<128&&dR(t,fR(n));var c=t.length,u=c;for(c&&dR(t,"-");u<i;){var l=iR;for(r=0;r<e.length;r++)(n=e[r])>=o&&n<l&&(l=n);var f=u+1;if(l-o>lR((iR-s)/f))throw new cR(aR);for(s+=(l-o)*f,o=l,r=0;r<e.length;r++){if((n=e[r])<o&&++s>iR)throw new cR(aR);if(n===o){for(var h=s,p=36;;){var d=p<=a?1:p>=a+26?26:p-a;if(h<d)break;var v=h-d,g=36-d;dR(t,fR(yR(d+v%g))),h=lR(v/g),p+=36}dR(t,fR(yR(h))),a=bR(s,f,u===c),s=0,u++}}s++,o++}return pR(t,"")},wR=An,SR=function(e,t,r){for(var n in t)wR(e,n,t[n],r);return e},OR=ji,RR=P,IR=eb,AR=U,xR=J,TR=C,jR=jO,kR=An,LR=Ju,PR=SR,NR=Fa,_R=qa,CR=rn,FR=Ey,DR=ve,MR=vt,UR=Jo,GR=so,BR=ar,$R=me,qR=uo,WR=ia,HR=z,zR=aw,XR=ew,VR=lc,YR=Sy,KR=nv,JR=jt("iterator"),QR="URLSearchParams",ZR=QR+"Iterator",eI=CR.set,tI=CR.getterFor(QR),rI=CR.getterFor(ZR),nI=IR("fetch"),iI=IR("Request"),oI=IR("Headers"),sI=iI&&iI.prototype,aI=oI&&oI.prototype,cI=RR.RegExp,uI=RR.TypeError,lI=RR.decodeURIComponent,fI=RR.encodeURIComponent,hI=xR("".charAt),pI=xR([].join),dI=xR([].push),vI=xR("".replace),gI=xR([].shift),mI=xR([].splice),yI=xR("".split),bI=xR("".slice),EI=/\+/g,wI=Array(4),SI=function(e){return wI[e-1]||(wI[e-1]=cI("((?:%[\\da-f]{2}){"+e+"})","gi"))},OI=function(e){try{return lI(e)}catch(t){return e}},RI=function(e){var t=vI(e,EI," "),r=4;try{return lI(t)}catch(e){for(;r;)t=vI(t,SI(r--),OI);return t}},II=/[!'()~]|%20/g,AI={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},xI=function(e){return AI[e]},TI=function(e){return vI(fI(e),II,xI)},jI=_R((function(e,t){eI(this,{type:ZR,target:tI(e).entries,index:0,kind:t})}),QR,(function(){var e=rI(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=void 0,VR(void 0,!0);var n=t[r];switch(e.kind){case"keys":return VR(n.key,!1);case"values":return VR(n.value,!1)}return VR([n.key,n.value],!1)}),!0),kI=function(e){this.entries=[],this.url=null,void 0!==e&&($R(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===hI(e,0)?bI(e,1):e:qR(e)))};kI.prototype={type:QR,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,i,o,s,a,c=this.entries,u=XR(e);if(u)for(r=(t=zR(e,u)).next;!(n=AR(r,t)).done;){if(o=(i=zR(BR(n.value))).next,(s=AR(o,i)).done||(a=AR(o,i)).done||!AR(o,i).done)throw new uI("Expected sequence with length 2");dI(c,{key:qR(s.value),value:qR(a.value)})}else for(var l in e)MR(e,l)&&dI(c,{key:l,value:qR(e[l])})},parseQuery:function(e){if(e)for(var t,r,n=this.entries,i=yI(e,"&"),o=0;o<i.length;)(t=i[o++]).length&&(r=yI(t,"="),dI(n,{key:RI(gI(r)),value:RI(pI(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],dI(r,TI(e.key)+"="+TI(e.value));return pI(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var LI=function(){FR(this,PI);var e=eI(this,new kI(arguments.length>0?arguments[0]:void 0));TR||(this.size=e.entries.length)},PI=LI.prototype;if(PR(PI,{append:function(e,t){var r=tI(this);YR(arguments.length,2),dI(r.entries,{key:qR(e),value:qR(t)}),TR||this.length++,r.updateURL()},delete:function(e){for(var t=tI(this),r=YR(arguments.length,1),n=t.entries,i=qR(e),o=r<2?void 0:arguments[1],s=void 0===o?o:qR(o),a=0;a<n.length;){var c=n[a];if(c.key!==i||void 0!==s&&c.value!==s)a++;else if(mI(n,a,1),void 0!==s)break}TR||(this.size=n.length),t.updateURL()},get:function(e){var t=tI(this).entries;YR(arguments.length,1);for(var r=qR(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){var t=tI(this).entries;YR(arguments.length,1);for(var r=qR(e),n=[],i=0;i<t.length;i++)t[i].key===r&&dI(n,t[i].value);return n},has:function(e){for(var t=tI(this).entries,r=YR(arguments.length,1),n=qR(e),i=r<2?void 0:arguments[1],o=void 0===i?i:qR(i),s=0;s<t.length;){var a=t[s++];if(a.key===n&&(void 0===o||a.value===o))return!0}return!1},set:function(e,t){var r=tI(this);YR(arguments.length,1);for(var n,i=r.entries,o=!1,s=qR(e),a=qR(t),c=0;c<i.length;c++)(n=i[c]).key===s&&(o?mI(i,c--,1):(o=!0,n.value=a));o||dI(i,{key:s,value:a}),TR||(this.size=i.length),r.updateURL()},sort:function(){var e=tI(this);KR(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=tI(this).entries,n=UR(e,arguments.length>1?arguments[1]:void 0),i=0;i<r.length;)n((t=r[i++]).value,t.key,this)},keys:function(){return new jI(this,"keys")},values:function(){return new jI(this,"values")},entries:function(){return new jI(this,"entries")}},{enumerable:!0}),kR(PI,JR,PI.entries,{name:"entries"}),kR(PI,"toString",(function(){return tI(this).serialize()}),{enumerable:!0}),TR&&LR(PI,"size",{get:function(){return tI(this).entries.length},configurable:!0,enumerable:!0}),NR(LI,QR),OR({global:!0,constructor:!0,forced:!jR},{URLSearchParams:LI}),!jR&&DR(oI)){var NI=xR(aI.has),_I=xR(aI.set),CI=function(e){if($R(e)){var t,r=e.body;if(GR(r)===QR)return t=e.headers?new oI(e.headers):new oI,NI(t,"content-type")||_I(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),WR(e,{body:HR(0,qR(r)),headers:HR(0,t)})}return e};if(DR(nI)&&OR({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return nI(e,arguments.length>1?CI(arguments[1]):{})}}),DR(iI)){var FI=function(e){return FR(this,sI),new iI(e,arguments.length>1?CI(arguments[1]):{})};sI.constructor=FI,FI.prototype=sI,OR({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:FI})}}var DI,MI=ji,UI=C,GI=jO,BI=P,$I=Jo,qI=J,WI=An,HI=Ju,zI=Ey,XI=vt,VI=$O,YI=rR,KI=Gc,JI=Yf.codeAt,QI=function(e){var t,r,n=[],i=gR(vR(mR(e),sR,"."),".");for(t=0;t<i.length;t++)r=i[t],dR(n,uR(oR,r)?"xn--"+ER(r):r);return pR(n,".")},ZI=uo,eA=Fa,tA=Sy,rA={URLSearchParams:LI,getState:tI},nA=rn,iA=nA.set,oA=nA.getterFor("URL"),sA=rA.URLSearchParams,aA=rA.getState,cA=BI.URL,uA=BI.TypeError,lA=BI.parseInt,fA=Math.floor,hA=Math.pow,pA=qI("".charAt),dA=qI(/./.exec),vA=qI([].join),gA=qI(1..toString),mA=qI([].pop),yA=qI([].push),bA=qI("".replace),EA=qI([].shift),wA=qI("".split),SA=qI("".slice),OA=qI("".toLowerCase),RA=qI([].unshift),IA="Invalid scheme",AA="Invalid host",xA="Invalid port",TA=/[a-z]/i,jA=/[\d+-.a-z]/i,kA=/\d/,LA=/^0x/i,PA=/^[0-7]+$/,NA=/^\d+$/,_A=/^[\da-f]+$/i,CA=/[\0\t\n\r #%/:<>?@[\\\]^|]/,FA=/[\0\t\n\r #/:<>?@[\\\]^|]/,DA=/^[\u0000-\u0020]+/,MA=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,UA=/[\t\n\r]/g,GA=function(e){var t,r,n,i;if("number"==typeof e){for(t=[],r=0;r<4;r++)RA(t,e%256),e=fA(e/256);return vA(t,".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,i=0,o=0;o<8;o++)0!==e[o]?(i>r&&(t=n,r=i),n=null,i=0):(null===n&&(n=o),++i);return i>r&&(t=n,r=i),t}(e),r=0;r<8;r++)i&&0===e[r]||(i&&(i=!1),n===r?(t+=r?":":"::",i=!0):(t+=gA(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},BA={},$A=VI({},BA,{" ":1,'"':1,"<":1,">":1,"`":1}),qA=VI({},$A,{"#":1,"?":1,"{":1,"}":1}),WA=VI({},qA,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),HA=function(e,t){var r=JI(e,0);return r>32&&r<127&&!XI(t,e)?e:encodeURIComponent(e)},zA={ftp:21,file:null,http:80,https:443,ws:80,wss:443},XA=function(e,t){var r;return 2===e.length&&dA(TA,pA(e,0))&&(":"===(r=pA(e,1))||!t&&"|"===r)},VA=function(e){var t;return e.length>1&&XA(SA(e,0,2))&&(2===e.length||"/"===(t=pA(e,2))||"\\"===t||"?"===t||"#"===t)},YA=function(e){return"."===e||"%2e"===OA(e)},KA={},JA={},QA={},ZA={},ex={},tx={},rx={},nx={},ix={},ox={},sx={},ax={},cx={},ux={},lx={},fx={},hx={},px={},dx={},vx={},gx={},mx=function(e,t,r){var n,i,o,s=ZI(e);if(t){if(i=this.parse(s))throw new uA(i);this.searchParams=null}else{if(void 0!==r&&(n=new mx(r,!0)),i=this.parse(s,null,n))throw new uA(i);(o=aA(new sA)).bindURL(this),this.searchParams=o}};mx.prototype={type:"URL",parse:function(e,t,r){var n,i,o,s,a,c=this,u=t||KA,l=0,f="",h=!1,p=!1,d=!1;for(e=ZI(e),t||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,e=bA(e,DA,""),e=bA(e,MA,"$1")),e=bA(e,UA,""),n=YI(e);l<=n.length;){switch(i=n[l],u){case KA:if(!i||!dA(TA,i)){if(t)return IA;u=QA;continue}f+=OA(i),u=JA;break;case JA:if(i&&(dA(jA,i)||"+"===i||"-"===i||"."===i))f+=OA(i);else{if(":"!==i){if(t)return IA;f="",u=QA,l=0;continue}if(t&&(c.isSpecial()!==XI(zA,f)||"file"===f&&(c.includesCredentials()||null!==c.port)||"file"===c.scheme&&!c.host))return;if(c.scheme=f,t)return void(c.isSpecial()&&zA[c.scheme]===c.port&&(c.port=null));f="","file"===c.scheme?u=ux:c.isSpecial()&&r&&r.scheme===c.scheme?u=ZA:c.isSpecial()?u=nx:"/"===n[l+1]?(u=ex,l++):(c.cannotBeABaseURL=!0,yA(c.path,""),u=dx)}break;case QA:if(!r||r.cannotBeABaseURL&&"#"!==i)return IA;if(r.cannotBeABaseURL&&"#"===i){c.scheme=r.scheme,c.path=KI(r.path),c.query=r.query,c.fragment="",c.cannotBeABaseURL=!0,u=gx;break}u="file"===r.scheme?ux:tx;continue;case ZA:if("/"!==i||"/"!==n[l+1]){u=tx;continue}u=ix,l++;break;case ex:if("/"===i){u=ox;break}u=px;continue;case tx:if(c.scheme=r.scheme,i===DI)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=KI(r.path),c.query=r.query;else if("/"===i||"\\"===i&&c.isSpecial())u=rx;else if("?"===i)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=KI(r.path),c.query="",u=vx;else{if("#"!==i){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=KI(r.path),c.path.length--,u=px;continue}c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=KI(r.path),c.query=r.query,c.fragment="",u=gx}break;case rx:if(!c.isSpecial()||"/"!==i&&"\\"!==i){if("/"!==i){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,u=px;continue}u=ox}else u=ix;break;case nx:if(u=ix,"/"!==i||"/"!==pA(f,l+1))continue;l++;break;case ix:if("/"!==i&&"\\"!==i){u=ox;continue}break;case ox:if("@"===i){h&&(f="%40"+f),h=!0,o=YI(f);for(var v=0;v<o.length;v++){var g=o[v];if(":"!==g||d){var m=HA(g,WA);d?c.password+=m:c.username+=m}else d=!0}f=""}else if(i===DI||"/"===i||"?"===i||"#"===i||"\\"===i&&c.isSpecial()){if(h&&""===f)return"Invalid authority";l-=YI(f).length+1,f="",u=sx}else f+=i;break;case sx:case ax:if(t&&"file"===c.scheme){u=fx;continue}if(":"!==i||p){if(i===DI||"/"===i||"?"===i||"#"===i||"\\"===i&&c.isSpecial()){if(c.isSpecial()&&""===f)return AA;if(t&&""===f&&(c.includesCredentials()||null!==c.port))return;if(s=c.parseHost(f))return s;if(f="",u=hx,t)return;continue}"["===i?p=!0:"]"===i&&(p=!1),f+=i}else{if(""===f)return AA;if(s=c.parseHost(f))return s;if(f="",u=cx,t===ax)return}break;case cx:if(!dA(kA,i)){if(i===DI||"/"===i||"?"===i||"#"===i||"\\"===i&&c.isSpecial()||t){if(""!==f){var y=lA(f,10);if(y>65535)return xA;c.port=c.isSpecial()&&y===zA[c.scheme]?null:y,f=""}if(t)return;u=hx;continue}return xA}f+=i;break;case ux:if(c.scheme="file","/"===i||"\\"===i)u=lx;else{if(!r||"file"!==r.scheme){u=px;continue}switch(i){case DI:c.host=r.host,c.path=KI(r.path),c.query=r.query;break;case"?":c.host=r.host,c.path=KI(r.path),c.query="",u=vx;break;case"#":c.host=r.host,c.path=KI(r.path),c.query=r.query,c.fragment="",u=gx;break;default:VA(vA(KI(n,l),""))||(c.host=r.host,c.path=KI(r.path),c.shortenPath()),u=px;continue}}break;case lx:if("/"===i||"\\"===i){u=fx;break}r&&"file"===r.scheme&&!VA(vA(KI(n,l),""))&&(XA(r.path[0],!0)?yA(c.path,r.path[0]):c.host=r.host),u=px;continue;case fx:if(i===DI||"/"===i||"\\"===i||"?"===i||"#"===i){if(!t&&XA(f))u=px;else if(""===f){if(c.host="",t)return;u=hx}else{if(s=c.parseHost(f))return s;if("localhost"===c.host&&(c.host=""),t)return;f="",u=hx}continue}f+=i;break;case hx:if(c.isSpecial()){if(u=px,"/"!==i&&"\\"!==i)continue}else if(t||"?"!==i)if(t||"#"!==i){if(i!==DI&&(u=px,"/"!==i))continue}else c.fragment="",u=gx;else c.query="",u=vx;break;case px:if(i===DI||"/"===i||"\\"===i&&c.isSpecial()||!t&&("?"===i||"#"===i)){if(".."===(a=OA(a=f))||"%2e."===a||".%2e"===a||"%2e%2e"===a?(c.shortenPath(),"/"===i||"\\"===i&&c.isSpecial()||yA(c.path,"")):YA(f)?"/"===i||"\\"===i&&c.isSpecial()||yA(c.path,""):("file"===c.scheme&&!c.path.length&&XA(f)&&(c.host&&(c.host=""),f=pA(f,0)+":"),yA(c.path,f)),f="","file"===c.scheme&&(i===DI||"?"===i||"#"===i))for(;c.path.length>1&&""===c.path[0];)EA(c.path);"?"===i?(c.query="",u=vx):"#"===i&&(c.fragment="",u=gx)}else f+=HA(i,qA);break;case dx:"?"===i?(c.query="",u=vx):"#"===i?(c.fragment="",u=gx):i!==DI&&(c.path[0]+=HA(i,BA));break;case vx:t||"#"!==i?i!==DI&&("'"===i&&c.isSpecial()?c.query+="%27":c.query+="#"===i?"%23":HA(i,BA)):(c.fragment="",u=gx);break;case gx:i!==DI&&(c.fragment+=HA(i,$A))}l++}},parseHost:function(e){var t,r,n;if("["===pA(e,0)){if("]"!==pA(e,e.length-1))return AA;if(t=function(e){var t,r,n,i,o,s,a,c=[0,0,0,0,0,0,0,0],u=0,l=null,f=0,h=function(){return pA(e,f)};if(":"===h()){if(":"!==pA(e,1))return;f+=2,l=++u}for(;h();){if(8===u)return;if(":"!==h()){for(t=r=0;r<4&&dA(_A,h());)t=16*t+lA(h(),16),f++,r++;if("."===h()){if(0===r)return;if(f-=r,u>6)return;for(n=0;h();){if(i=null,n>0){if(!("."===h()&&n<4))return;f++}if(!dA(kA,h()))return;for(;dA(kA,h());){if(o=lA(h(),10),null===i)i=o;else{if(0===i)return;i=10*i+o}if(i>255)return;f++}c[u]=256*c[u]+i,2!=++n&&4!==n||u++}if(4!==n)return;break}if(":"===h()){if(f++,!h())return}else if(h())return;c[u++]=t}else{if(null!==l)return;f++,l=++u}}if(null!==l)for(s=u-l,u=7;0!==u&&s>0;)a=c[u],c[u--]=c[l+s-1],c[l+--s]=a;else if(8!==u)return;return c}(SA(e,1,-1)),!t)return AA;this.host=t}else if(this.isSpecial()){if(e=QI(e),dA(CA,e))return AA;if(t=function(e){var t,r,n,i,o,s,a,c=wA(e,".");if(c.length&&""===c[c.length-1]&&c.length--,(t=c.length)>4)return e;for(r=[],n=0;n<t;n++){if(""===(i=c[n]))return e;if(o=10,i.length>1&&"0"===pA(i,0)&&(o=dA(LA,i)?16:8,i=SA(i,8===o?1:2)),""===i)s=0;else{if(!dA(10===o?NA:8===o?PA:_A,i))return e;s=lA(i,o)}yA(r,s)}for(n=0;n<t;n++)if(s=r[n],n===t-1){if(s>=hA(256,5-t))return null}else if(s>255)return null;for(a=mA(r),n=0;n<r.length;n++)a+=r[n]*hA(256,3-n);return a}(e),null===t)return AA;this.host=t}else{if(dA(FA,e))return AA;for(t="",r=YI(e),n=0;n<r.length;n++)t+=HA(r[n],BA);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return XI(zA,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"===this.scheme&&1===t&&XA(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,i=e.host,o=e.port,s=e.path,a=e.query,c=e.fragment,u=t+":";return null!==i?(u+="//",e.includesCredentials()&&(u+=r+(n?":"+n:"")+"@"),u+=GA(i),null!==o&&(u+=":"+o)):"file"===t&&(u+="//"),u+=e.cannotBeABaseURL?s[0]:s.length?"/"+vA(s,"/"):"",null!==a&&(u+="?"+a),null!==c&&(u+="#"+c),u},setHref:function(e){var t=this.parse(e);if(t)throw new uA(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"===e)try{return new yx(e.path[0]).origin}catch(e){return"null"}return"file"!==e&&this.isSpecial()?e+"://"+GA(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(ZI(e)+":",KA)},getUsername:function(){return this.username},setUsername:function(e){var t=YI(ZI(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=HA(t[r],WA)}},getPassword:function(){return this.password},setPassword:function(e){var t=YI(ZI(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=HA(t[r],WA)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?GA(e):GA(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,sx)},getHostname:function(){var e=this.host;return null===e?"":GA(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,ax)},getPort:function(){var e=this.port;return null===e?"":ZI(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""===(e=ZI(e))?this.port=null:this.parse(e,cx))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+vA(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,hx))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""===(e=ZI(e))?this.query=null:("?"===pA(e,0)&&(e=SA(e,1)),this.query="",this.parse(e,vx)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!==(e=ZI(e))?("#"===pA(e,0)&&(e=SA(e,1)),this.fragment="",this.parse(e,gx)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var yx=function(e){var t=zI(this,bx),r=tA(arguments.length,1)>1?arguments[1]:void 0,n=iA(t,new mx(e,!1,r));UI||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},bx=yx.prototype,Ex=function(e,t){return{get:function(){return oA(this)[e]()},set:t&&function(e){return oA(this)[t](e)},configurable:!0,enumerable:!0}};if(UI&&(HI(bx,"href",Ex("serialize","setHref")),HI(bx,"origin",Ex("getOrigin")),HI(bx,"protocol",Ex("getProtocol","setProtocol")),HI(bx,"username",Ex("getUsername","setUsername")),HI(bx,"password",Ex("getPassword","setPassword")),HI(bx,"host",Ex("getHost","setHost")),HI(bx,"hostname",Ex("getHostname","setHostname")),HI(bx,"port",Ex("getPort","setPort")),HI(bx,"pathname",Ex("getPathname","setPathname")),HI(bx,"search",Ex("getSearch","setSearch")),HI(bx,"searchParams",Ex("getSearchParams")),HI(bx,"hash",Ex("getHash","setHash"))),WI(bx,"toJSON",(function(){return oA(this).serialize()}),{enumerable:!0}),WI(bx,"toString",(function(){return oA(this).serialize()}),{enumerable:!0}),cA){var wx=cA.createObjectURL,Sx=cA.revokeObjectURL;wx&&WI(yx,"createObjectURL",$I(wx,cA)),Sx&&WI(yx,"revokeObjectURL",$I(Sx,cA))}eA(yx,"URL"),MI({global:!0,constructor:!0,forced:!GI,sham:!UI},{URL:yx});var Ox=U;ji({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return Ox(URL.prototype.toString,this)}});var Rx=An,Ix=J,Ax=uo,xx=Sy,Tx=URLSearchParams,jx=Tx.prototype,kx=Ix(jx.append),Lx=Ix(jx.delete),Px=Ix(jx.forEach),Nx=Ix([].push),_x=new Tx("a=1&a=2&b=3");_x.delete("a",1),_x.delete("b",void 0),_x+""!="a=2"&&Rx(jx,"delete",(function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return Lx(this,e);var n=[];Px(this,(function(e,t){Nx(n,{key:t,value:e})})),xx(t,1);for(var i,o=Ax(e),s=Ax(r),a=0,c=0,u=!1,l=n.length;a<l;)i=n[a++],u||i.key===o?(u=!0,Lx(this,i.key)):c++;for(;c<l;)(i=n[c++]).key===o&&i.value===s||kx(this,i.key,i.value)}),{enumerable:!0,unsafe:!0});var Cx=An,Fx=J,Dx=uo,Mx=Sy,Ux=URLSearchParams,Gx=Ux.prototype,Bx=Fx(Gx.getAll),$x=Fx(Gx.has),qx=new Ux("a=1");!qx.has("a",2)&&qx.has("a",void 0)||Cx(Gx,"has",(function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return $x(this,e);var n=Bx(this,e);Mx(t,1);for(var i=Dx(r),o=0;o<n.length;)if(n[o++]===i)return!0;return!1}),{enumerable:!0,unsafe:!0});var Wx=C,Hx=J,zx=Ju,Xx=URLSearchParams.prototype,Vx=Hx(Xx.forEach);function Yx(e={}){const t=e.env,r=void 0===t?process.env:t,n=e.platform;return"win32"!==(void 0===n?process.platform:n)?"PATH":Object.keys(r).reverse().find((e=>"PATH"===e.toUpperCase()))||"Path"}Wx&&!("size"in Xx)&&zx(Xx,"size",{get:function(){var e=0;return Vx(this,(function(){e++})),e},configurable:!0,enumerable:!0});const Kx=["env"];function Jx(e={}){let t=e.env,r=void 0===t?l.env:t,n=S(e,Kx);r=Object.assign({},r);const i=Yx({env:r});return n.path=r[i],r[i]=function(e={}){const t=e.cwd,r=void 0===t?l.cwd():t,n=e.path,i=void 0===n?l.env[Yx()]:n,o=e.execPath,s=void 0===o?l.execPath:o;let a;const u=r instanceof URL?f.fileURLToPath(r):r;let h=c.resolve(u);const p=[];for(;a!==h;)p.push(c.join(h,"node_modules/.bin")),a=h,h=c.resolve(h,"..");return p.push(c.resolve(u,s,"..")),[...p,i].join(c.delimiter)}(n),r}var Qx=!_((function(){return Object.isExtensible(Object.preventExtensions({}))})),Zx={exports:{}},eT={},tT=te,rT=pe,nT=xn.f,iT=Gc,oT="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];eT.f=function(e){return oT&&"Window"===tT(e)?function(e){try{return nT(e)}catch(e){return iT(oT)}}(e):nT(rT(e))};var sT=_((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})),aT=_,cT=me,uT=te,lT=sT,fT=Object.isExtensible,hT=aT((function(){fT(1)}))||lT?function(e){return!!cT(e)&&((!lT||"ArrayBuffer"!==uT(e))&&(!fT||fT(e)))}:fT,pT=ji,dT=J,vT=$r,gT=me,mT=vt,yT=rr.f,bT=xn,ET=eT,wT=hT,ST=Qx,OT=!1,RT=Et("meta"),IT=0,AT=function(e){yT(e,RT,{value:{objectID:"O"+IT++,weakData:{}}})},xT=Zx.exports={enable:function(){xT.enable=function(){},OT=!0;var e=bT.f,t=dT([].splice),r={};r[RT]=1,e(r).length&&(bT.f=function(r){for(var n=e(r),i=0,o=n.length;i<o;i++)if(n[i]===RT){t(n,i,1);break}return n},pT({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:ET.f}))},fastKey:function(e,t){if(!gT(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!mT(e,RT)){if(!wT(e))return"F";if(!t)return"E";AT(e)}return e[RT].objectID},getWeakData:function(e,t){if(!mT(e,RT)){if(!wT(e))return!0;if(!t)return!1;AT(e)}return e[RT].weakData},onFreeze:function(e){return ST&&OT&&wT(e)&&!mT(e,RT)&&AT(e),e}};vT[RT]=!0;var TT=Zx.exports,jT=ji,kT=P,LT=J,PT=wi,NT=An,_T=TT,CT=Iw,FT=Ey,DT=ve,MT=ae,UT=me,GT=_,BT=kw,$T=Fa,qT=Qi,WT=function(e,t,r){var n=-1!==e.indexOf("Map"),i=-1!==e.indexOf("Weak"),o=n?"set":"add",s=kT[e],a=s&&s.prototype,c=s,u={},l=function(e){var t=LT(a[e]);NT(a,e,"add"===e?function(e){return t(this,0===e?0:e),this}:"delete"===e?function(e){return!(i&&!UT(e))&&t(this,0===e?0:e)}:"get"===e?function(e){return i&&!UT(e)?void 0:t(this,0===e?0:e)}:"has"===e?function(e){return!(i&&!UT(e))&&t(this,0===e?0:e)}:function(e,r){return t(this,0===e?0:e,r),this})};if(PT(e,!DT(s)||!(i||a.forEach&&!GT((function(){(new s).entries().next()})))))c=r.getConstructor(t,e,n,o),_T.enable();else if(PT(e,!0)){var f=new c,h=f[o](i?{}:-0,1)!==f,p=GT((function(){f.has(1)})),d=BT((function(e){new s(e)})),v=!i&>((function(){for(var e=new s,t=5;t--;)e[o](t,t);return!e.has(-0)}));d||((c=t((function(e,t){FT(e,a);var r=qT(new s,e,c);return MT(t)||CT(t,r[o],{that:r,AS_ENTRIES:n}),r}))).prototype=a,a.constructor=c),(p||v)&&(l("delete"),l("has"),n&&l("get")),(v||h)&&l(o),i&&a.clear&&delete a.clear}return u[e]=c,jT({global:!0,constructor:!0,forced:c!==s},u),$T(c,e),i||r.setStrong(c,e,n),c},HT=J,zT=SR,XT=TT.getWeakData,VT=Ey,YT=ar,KT=ae,JT=me,QT=Iw,ZT=vt,ej=rn.set,tj=rn.getterFor,rj=xs.find,nj=xs.findIndex,ij=HT([].splice),oj=0,sj=function(e){return e.frozen||(e.frozen=new aj)},aj=function(){this.entries=[]},cj=function(e,t){return rj(e.entries,(function(e){return e[0]===t}))};aj.prototype={get:function(e){var t=cj(this,e);if(t)return t[1]},has:function(e){return!!cj(this,e)},set:function(e,t){var r=cj(this,e);r?r[1]=t:this.entries.push([e,t])},delete:function(e){var t=nj(this.entries,(function(t){return t[0]===e}));return~t&&ij(this.entries,t,1),!!~t}};var uj,lj={getConstructor:function(e,t,r,n){var i=e((function(e,i){VT(e,o),ej(e,{type:t,id:oj++,frozen:void 0}),KT(i)||QT(i,e[n],{that:e,AS_ENTRIES:r})})),o=i.prototype,s=tj(t),a=function(e,t,r){var n=s(e),i=XT(YT(t),!0);return!0===i?sj(n).set(t,r):i[n.id]=r,e};return zT(o,{delete:function(e){var t=s(this);if(!JT(e))return!1;var r=XT(e);return!0===r?sj(t).delete(e):r&&ZT(r,t.id)&&delete r[t.id]},has:function(e){var t=s(this);if(!JT(e))return!1;var r=XT(e);return!0===r?sj(t).has(e):r&&ZT(r,t.id)}}),zT(o,r?{get:function(e){var t=s(this);if(JT(e)){var r=XT(e);return!0===r?sj(t).get(e):r?r[t.id]:void 0}},set:function(e,t){return a(this,e,t)}}:{add:function(e){return a(this,e,!0)}}),i}},fj=Qx,hj=P,pj=J,dj=SR,vj=TT,gj=WT,mj=lj,yj=me,bj=rn.enforce,Ej=_,wj=Mr,Sj=Object,Oj=Array.isArray,Rj=Sj.isExtensible,Ij=Sj.isFrozen,Aj=Sj.isSealed,xj=Sj.freeze,Tj=Sj.seal,jj=!hj.ActiveXObject&&"ActiveXObject"in hj,kj=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},Lj=gj("WeakMap",kj,mj),Pj=Lj.prototype,Nj=pj(Pj.set);if(wj)if(jj){uj=mj.getConstructor(kj,"WeakMap",!0),vj.enable();var _j=pj(Pj.delete),Cj=pj(Pj.has),Fj=pj(Pj.get);dj(Pj,{delete:function(e){if(yj(e)&&!Rj(e)){var t=bj(this);return t.frozen||(t.frozen=new uj),_j(this,e)||t.frozen.delete(e)}return _j(this,e)},has:function(e){if(yj(e)&&!Rj(e)){var t=bj(this);return t.frozen||(t.frozen=new uj),Cj(this,e)||t.frozen.has(e)}return Cj(this,e)},get:function(e){if(yj(e)&&!Rj(e)){var t=bj(this);return t.frozen||(t.frozen=new uj),Cj(this,e)?Fj(this,e):t.frozen.get(e)}return Fj(this,e)},set:function(e,t){if(yj(e)&&!Rj(e)){var r=bj(this);r.frozen||(r.frozen=new uj),Cj(this,e)?Nj(this,e,t):r.frozen.set(e,t)}else Nj(this,e,t);return this}})}else fj&&Ej((function(){var e=xj([]);return Nj(new Lj,e,1),!Ij(e)}))&&dj(Pj,{set:function(e,t){var r;return Oj(e)&&(Ij(e)?r=xj:Aj(e)&&(r=Tj)),Nj(this,e,t),r&&r(e),this}});var Dj=ji,Mj=C,Uj=J,Gj=vt,Bj=ve,$j=we,qj=uo,Wj=Ju,Hj=hi,zj=P.Symbol,Xj=zj&&zj.prototype;if(Mj&&Bj(zj)&&(!("description"in Xj)||void 0!==zj().description)){var Vj={},Yj=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:qj(arguments[0]),t=$j(Xj,this)?new zj(e):void 0===e?zj():zj(e);return""===e&&(Vj[t]=!0),t};Hj(Yj,zj),Yj.prototype=Xj,Xj.constructor=Yj;var Kj="Symbol(description detection)"===String(zj("description detection")),Jj=Uj(Xj.valueOf),Qj=Uj(Xj.toString),Zj=/^Symbol\((.*)\)[^)]+$/,ek=Uj("".replace),tk=Uj("".slice);Wj(Xj,"description",{configurable:!0,get:function(){var e=Jj(this);if(Gj(Vj,e))return"";var t=Qj(e),r=Kj?tk(t,7,-1):ek(t,Zj,"$1");return""===r?void 0:r}}),Dj({global:!0,constructor:!0,forced:!0},{Symbol:Yj})}var rk=rR;ji({target:"Array",stat:!0,forced:!kw((function(e){Array.from(e)}))},{from:rk});var nk=Iw,ik=Uc;ji({target:"Object",stat:!0},{fromEntries:function(e){var t={};return nk(e,(function(e,r){ik(t,e,r)}),{AS_ENTRIES:!0}),t}});const ok=(e,t)=>({name:`SIGRT${t+1}`,number:sk+t,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),sk=34,ak=64,ck=[{name:"SIGHUP",number:1,action:"terminate",description:"Terminal closed",standard:"posix"},{name:"SIGINT",number:2,action:"terminate",description:"User interruption with CTRL-C",standard:"ansi"},{name:"SIGQUIT",number:3,action:"core",description:"User interruption with CTRL-\\",standard:"posix"},{name:"SIGILL",number:4,action:"core",description:"Invalid machine instruction",standard:"ansi"},{name:"SIGTRAP",number:5,action:"core",description:"Debugger breakpoint",standard:"posix"},{name:"SIGABRT",number:6,action:"core",description:"Aborted",standard:"ansi"},{name:"SIGIOT",number:6,action:"core",description:"Aborted",standard:"bsd"},{name:"SIGBUS",number:7,action:"core",description:"Bus error due to misaligned, non-existing address or paging error",standard:"bsd"},{name:"SIGEMT",number:7,action:"terminate",description:"Command should be emulated but is not implemented",standard:"other"},{name:"SIGFPE",number:8,action:"core",description:"Floating point arithmetic error",standard:"ansi"},{name:"SIGKILL",number:9,action:"terminate",description:"Forced termination",standard:"posix",forced:!0},{name:"SIGUSR1",number:10,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGSEGV",number:11,action:"core",description:"Segmentation fault",standard:"ansi"},{name:"SIGUSR2",number:12,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGPIPE",number:13,action:"terminate",description:"Broken pipe or socket",standard:"posix"},{name:"SIGALRM",number:14,action:"terminate",description:"Timeout or timer",standard:"posix"},{name:"SIGTERM",number:15,action:"terminate",description:"Termination",standard:"ansi"},{name:"SIGSTKFLT",number:16,action:"terminate",description:"Stack is empty or overflowed",standard:"other"},{name:"SIGCHLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"posix"},{name:"SIGCLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"other"},{name:"SIGCONT",number:18,action:"unpause",description:"Unpaused",standard:"posix",forced:!0},{name:"SIGSTOP",number:19,action:"pause",description:"Paused",standard:"posix",forced:!0},{name:"SIGTSTP",number:20,action:"pause",description:'Paused using CTRL-Z or "suspend"',standard:"posix"},{name:"SIGTTIN",number:21,action:"pause",description:"Background process cannot read terminal input",standard:"posix"},{name:"SIGBREAK",number:21,action:"terminate",description:"User interruption with CTRL-BREAK",standard:"other"},{name:"SIGTTOU",number:22,action:"pause",description:"Background process cannot write to terminal output",standard:"posix"},{name:"SIGURG",number:23,action:"ignore",description:"Socket received out-of-band data",standard:"bsd"},{name:"SIGXCPU",number:24,action:"core",description:"Process timed out",standard:"bsd"},{name:"SIGXFSZ",number:25,action:"core",description:"File too big",standard:"bsd"},{name:"SIGVTALRM",number:26,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGPROF",number:27,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGWINCH",number:28,action:"ignore",description:"Terminal window size changed",standard:"bsd"},{name:"SIGIO",number:29,action:"terminate",description:"I/O is available",standard:"other"},{name:"SIGPOLL",number:29,action:"terminate",description:"Watched event",standard:"other"},{name:"SIGINFO",number:29,action:"ignore",description:"Request for process information",standard:"other"},{name:"SIGPWR",number:30,action:"terminate",description:"Device running out of power",standard:"systemv"},{name:"SIGSYS",number:31,action:"core",description:"Invalid system call",standard:"other"},{name:"SIGUNUSED",number:31,action:"terminate",description:"Invalid system call",standard:"other"}],uk=()=>{const e=(()=>{const e=ak-sk+1;return Array.from({length:e},ok)})();return[...ck,...e].map(lk)},lk=({name:e,number:t,description:r,action:n,forced:i=!1,standard:o})=>{const s=h.constants.signals[e],a=void 0!==s;return{name:e,number:a?s:t,description:r,supported:a,action:n,forced:i,standard:o}},fk=({name:e,number:t,description:r,supported:n,action:i,forced:o,standard:s})=>[e,{name:e,number:t,description:r,supported:n,action:i,forced:o,standard:s}],hk=(()=>{const e=uk();return Object.fromEntries(e.map(fk))})(),pk=(e,t)=>{const r=dk(e,t);if(void 0===r)return{};return{[e]:{name:r.name,number:e,description:r.description,supported:r.supported,action:r.action,forced:r.forced,standard:r.standard}}},dk=(e,t)=>{const r=t.find((({name:t})=>h.constants.signals[t]===e));return void 0!==r?r:t.find((t=>t.number===e))};(()=>{const e=uk(),t=ak+1,r=Array.from({length:t},((t,r)=>pk(r,e)));Object.assign({},...r)})();const vk=({stdout:e,stderr:t,all:r,error:n,signal:i,exitCode:o,command:s,escapedCommand:a,timedOut:c,isCanceled:u,killed:f,parsed:{options:{timeout:h,cwd:p=l.cwd()}}})=>{o=null===o?void 0:o;const d=void 0===(i=null===i?void 0:i)?void 0:hk[i].description,v=(({timedOut:e,timeout:t,errorCode:r,signal:n,signalDescription:i,exitCode:o,isCanceled:s})=>e?`timed out after ${t} milliseconds`:s?"was canceled":void 0!==r?`failed with ${r}`:void 0!==n?`was killed with ${n} (${i})`:void 0!==o?`failed with exit code ${o}`:"failed")({timedOut:c,timeout:h,errorCode:n&&n.code,signal:i,signalDescription:d,exitCode:o,isCanceled:u}),g=`Command ${v}: ${s}`,m="[object Error]"===Object.prototype.toString.call(n),y=m?`${g}\n${n.message}`:g,b=[y,t,e].filter(Boolean).join("\n");return m?(n.originalMessage=n.message,n.message=b):n=new Error(b),n.shortMessage=y,n.command=s,n.escapedCommand=a,n.exitCode=o,n.signal=i,n.signalDescription=d,n.stdout=e,n.stderr=t,n.cwd=p,void 0!==r&&(n.all=r),"bufferedData"in n&&delete n.bufferedData,n.failed=!0,n.timedOut=Boolean(c),n.isCanceled=u,n.killed=f&&!c,n};var gk=Hn.includes,mk=pa;ji({target:"Array",proto:!0,forced:_((function(){return!Array(1).includes()}))},{includes:function(e){return gk(this,e,arguments.length>1?arguments[1]:void 0)}}),mk("includes");var yk=ji,bk=cS,Ek=le,wk=uo,Sk=lS,Ok=J("".indexOf);yk({target:"String",proto:!0,forced:!Sk("includes")},{includes:function(e){return!!~Ok(wk(Ek(this)),wk(bk(e)),arguments.length>1?arguments[1]:void 0)}});const Rk=["stdin","stdout","stderr"],Ik=e=>{if(!e)return;const t=e.stdio;if(void 0===t)return Rk.map((t=>e[t]));if((e=>Rk.some((t=>void 0!==e[t])))(e))throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${Rk.map((e=>`\`${e}\``)).join(", ")}`);if("string"==typeof t)return t;if(!Array.isArray(t))throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof t}\``);const r=Math.max(t.length,Rk.length);return Array.from({length:r},((e,r)=>t[r]))};var Ak=ji,xk=Tb,Tk=_,jk=Ee,kk=ve,Lk=Od,Pk=tS,Nk=An,_k=xk&&xk.prototype;if(Ak({target:"Promise",proto:!0,real:!0,forced:!!xk&&Tk((function(){_k.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=Lk(this,jk("Promise")),r=kk(e);return this.then(r?function(r){return Pk(t,e()).then((function(){return r}))}:e,r?function(r){return Pk(t,e()).then((function(){throw r}))}:e)}}),kk(xk)){var Ck=jk("Promise").prototype.finally;_k.finally!==Ck&&Nk(_k,"finally",Ck,{unsafe:!0})}var Fk=P;ji({global:!0,forced:Fk.globalThis!==Fk},{globalThis:Fk}),WT("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),lj);const Dk=[];Dk.push("SIGHUP","SIGINT","SIGTERM"),"win32"!==process.platform&&Dk.push("SIGALRM","SIGABRT","SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT"),"linux"===process.platform&&Dk.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT");const Mk=e=>!!e&&"object"==typeof e&&"function"==typeof e.removeListener&&"function"==typeof e.emit&&"function"==typeof e.reallyExit&&"function"==typeof e.listeners&&"function"==typeof e.kill&&"number"==typeof e.pid&&"function"==typeof e.on,Uk=Symbol.for("signal-exit emitter"),Gk=globalThis,Bk=Object.defineProperty.bind(Object);class $k{constructor(){if(w(this,"emitted",{afterExit:!1,exit:!1}),w(this,"listeners",{afterExit:[],exit:[]}),w(this,"count",0),w(this,"id",Math.random()),Gk[Uk])return Gk[Uk];Bk(Gk,Uk,{value:this,writable:!1,enumerable:!1,configurable:!1})}on(e,t){this.listeners[e].push(t)}removeListener(e,t){const r=this.listeners[e],n=r.indexOf(t);-1!==n&&(0===n&&1===r.length?r.length=0:r.splice(n,1))}emit(e,t,r){if(this.emitted[e])return!1;this.emitted[e]=!0;let n=!1;for(var i,o=A(this.listeners[e]);!(i=o()).done;){n=!0===(0,i.value)(t,r)||n}return"exit"===e&&(n=this.emit("afterExit",t,r)||n),n}}class qk{}var Wk=new WeakMap,Hk=new WeakMap,zk=new WeakMap,Xk=new WeakMap,Vk=new WeakMap,Yk=new WeakMap,Kk=new WeakMap,Jk=new WeakSet;function Qk(e){return Mk(m(zk,this))?(m(zk,this).exitCode=e||0,m(Hk,this).emit("exit",m(zk,this).exitCode,null),m(Vk,this).call(m(zk,this),m(zk,this).exitCode)):0}function Zk(e,...t){const r=m(Xk,this);if("exit"===e&&Mk(m(zk,this))){"number"==typeof t[0]&&(m(zk,this).exitCode=t[0]);const n=r.call(m(zk,this),e,...t);return m(Hk,this).emit("exit",m(zk,this).exitCode,null),n}return r.call(m(zk,this),e,...t)}const eL=globalThis.process;Mk(eL)?new class extends qk{constructor(e){var t,r;super(),x(t=this,r=Jk),r.add(t),T(this,Wk,"win32"===eL.platform?"SIGINT":"SIGHUP"),T(this,Hk,new $k),T(this,zk,void 0),T(this,Xk,void 0),T(this,Vk,void 0),T(this,Yk,{}),T(this,Kk,!1),y(zk,this,e),y(Yk,this,{});for(var n,i=A(Dk);!(n=i()).done;){const t=n.value;m(Yk,this)[t]=()=>{const r=m(zk,this).listeners(t);let n=m(Hk,this).count;const i=e;if("object"==typeof i.__signal_exit_emitter__&&"number"==typeof i.__signal_exit_emitter__.count&&(n+=i.__signal_exit_emitter__.count),r.length===n){this.unload();const r=m(Hk,this).emit("exit",null,t),n="SIGHUP"===t?m(Wk,this):t;r||e.kill(e.pid,n)}}}y(Vk,this,e.reallyExit),y(Xk,this,e.emit)}onExit(e,t){if(!Mk(m(zk,this)))return()=>{};!1===m(Kk,this)&&this.load();const r=null!=t&&t.alwaysLast?"afterExit":"exit";return m(Hk,this).on(r,e),()=>{m(Hk,this).removeListener(r,e),0===m(Hk,this).listeners.exit.length&&0===m(Hk,this).listeners.afterExit.length&&this.unload()}}load(){if(!m(Kk,this)){y(Kk,this,!0),m(Hk,this).count+=1;for(var e,t=A(Dk);!(e=t()).done;){const t=e.value;try{const e=m(Yk,this)[t];e&&m(zk,this).on(t,e)}catch(e){}}m(zk,this).emit=(e,...t)=>g(Jk,this,Zk).call(this,e,...t),m(zk,this).reallyExit=e=>g(Jk,this,Qk).call(this,e)}}unload(){m(Kk,this)&&(y(Kk,this,!1),Dk.forEach((e=>{const t=m(Yk,this)[e];if(!t)throw new Error("Listener not defined for signal: "+e);try{m(zk,this).removeListener(e,t)}catch(e){}})),m(zk,this).emit=m(Xk,this),m(zk,this).reallyExit=m(Vk,this),m(Hk,this).count-=1)}}(eL):new class extends qk{onExit(){return()=>{}}load(){}unload(){}};var tL=P,rL={},nL=jt;rL.f=nL;var iL=tL,oL=vt,sL=rL,aL=rr.f,cL=function(e){var t=iL.Symbol||(iL.Symbol={});oL(t,e)||aL(t,e,{value:sL.f(e)})};cL("asyncIterator");var uL=te,lL=TypeError,fL=Di(ArrayBuffer.prototype,"byteLength","get")||function(e){if("ArrayBuffer"!==uL(e))throw new lL("ArrayBuffer expected");return e.byteLength},hL=fL,pL=J(ArrayBuffer.prototype.slice),dL=function(e){if(0!==hL(e))return!1;try{return pL(e,0,0),!1}catch(e){return!0}},vL=C,gL=Ju,mL=dL,yL=ArrayBuffer.prototype;vL&&!("detached"in yL)&&gL(yL,"detached",{configurable:!0,get:function(){return mL(this)}});var bL,EL,wL,SL,OL=Ln,RL=Mn,IL=RangeError,AL=function(e){if(void 0===e)return 0;var t=OL(e),r=RL(t);if(t!==r)throw new IL("Wrong length or index");return r},xL=my,TL=_,jL=je,kL=kb,LL=jb,PL=my,NL=P.structuredClone,_L=!!NL&&!TL((function(){if(LL&&jL>92||PL&&jL>94||kL&&jL>97)return!1;var e=new ArrayBuffer(8),t=NL(e,{transfer:[e]});return 0!==e.byteLength||8!==t.byteLength})),CL=P,FL=function(e){try{if(xL)return Function('return require("'+e+'")')()}catch(e){}},DL=_L,ML=CL.structuredClone,UL=CL.ArrayBuffer,GL=CL.MessageChannel,BL=!1;if(DL)BL=function(e){ML(e,{transfer:[e]})};else if(UL)try{GL||(bL=FL("worker_threads"))&&(GL=bL.MessageChannel),GL&&(EL=new GL,wL=new UL(2),SL=function(e){EL.port1.postMessage(null,[e])},2===wL.byteLength&&(SL(wL),0===wL.byteLength&&(BL=SL)))}catch(e){}var $L=P,qL=J,WL=Di,HL=AL,zL=dL,XL=fL,VL=BL,YL=_L,KL=$L.structuredClone,JL=$L.ArrayBuffer,QL=$L.DataView,ZL=$L.TypeError,eP=Math.min,tP=JL.prototype,rP=QL.prototype,nP=qL(tP.slice),iP=WL(tP,"resizable","get"),oP=WL(tP,"maxByteLength","get"),sP=qL(rP.getInt8),aP=qL(rP.setInt8),cP=(YL||VL)&&function(e,t,r){var n,i=XL(e),o=void 0===t?i:HL(t),s=!iP||!iP(e);if(zL(e))throw new ZL("ArrayBuffer is detached");if(YL&&(e=KL(e,{transfer:[e]}),i===o&&(r||s)))return e;if(i>=o&&(!r||s))n=nP(e,0,o);else{var a=r&&!s&&oP?{maxByteLength:oP(e)}:void 0;n=new JL(o,a);for(var c=new QL(e),u=new QL(n),l=eP(o,i),f=0;f<l;f++)aP(u,f,sP(c,f))}return YL||VL(e),n},uP=cP;uP&&ji({target:"ArrayBuffer",proto:!0},{transfer:function(){return uP(this,arguments.length?arguments[0]:void 0,!0)}});var lP=cP;lP&&ji({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return lP(this,arguments.length?arguments[0]:void 0,!1)}});var fP,hP,pP,dP={exports:{}},vP="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView,gP=vP,mP=C,yP=P,bP=ve,EP=me,wP=vt,SP=so,OP=Be,RP=wr,IP=An,AP=Ju,xP=we,TP=Oa,jP=zi,kP=jt,LP=Et,PP=rn.enforce,NP=rn.get,_P=yP.Int8Array,CP=_P&&_P.prototype,FP=yP.Uint8ClampedArray,DP=FP&&FP.prototype,MP=_P&&TP(_P),UP=CP&&TP(CP),GP=Object.prototype,BP=yP.TypeError,$P=kP("toStringTag"),qP=LP("TYPED_ARRAY_TAG"),WP="TypedArrayConstructor",HP=gP&&!!jP&&"Opera"!==SP(yP.opera),zP=!1,XP={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},VP={BigInt64Array:8,BigUint64Array:8},YP=function(e){var t=TP(e);if(EP(t)){var r=NP(t);return r&&wP(r,WP)?r[WP]:YP(t)}},KP=function(e){if(!EP(e))return!1;var t=SP(e);return wP(XP,t)||wP(VP,t)};for(fP in XP)(pP=(hP=yP[fP])&&hP.prototype)?PP(pP)[WP]=hP:HP=!1;for(fP in VP)(pP=(hP=yP[fP])&&hP.prototype)&&(PP(pP)[WP]=hP);if((!HP||!bP(MP)||MP===Function.prototype)&&(MP=function(){throw new BP("Incorrect invocation")},HP))for(fP in XP)yP[fP]&&jP(yP[fP],MP);if((!HP||!UP||UP===GP)&&(UP=MP.prototype,HP))for(fP in XP)yP[fP]&&jP(yP[fP].prototype,UP);if(HP&&TP(DP)!==UP&&jP(DP,UP),mP&&!wP(UP,$P))for(fP in zP=!0,AP(UP,$P,{configurable:!0,get:function(){return EP(this)?this[qP]:void 0}}),XP)yP[fP]&&RP(yP[fP],qP,fP);var JP={NATIVE_ARRAY_BUFFER_VIEWS:HP,TYPED_ARRAY_TAG:zP&&qP,aTypedArray:function(e){if(KP(e))return e;throw new BP("Target is not a typed array")},aTypedArrayConstructor:function(e){if(bP(e)&&(!jP||xP(MP,e)))return e;throw new BP(OP(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,r,n){if(mP){if(r)for(var i in XP){var o=yP[i];if(o&&wP(o.prototype,e))try{delete o.prototype[e]}catch(r){try{o.prototype[e]=t}catch(e){}}}UP[e]&&!r||IP(UP,e,r?t:HP&&CP[e]||t,n)}},exportTypedArrayStaticMethod:function(e,t,r){var n,i;if(mP){if(jP){if(r)for(n in XP)if((i=yP[n])&&wP(i,e))try{delete i[e]}catch(e){}if(MP[e]&&!r)return;try{return IP(MP,e,r?t:HP&&MP[e]||t)}catch(e){}}for(n in XP)!(i=yP[n])||i[e]&&!r||IP(i,e,t)}},getTypedArrayConstructor:YP,isView:function(e){if(!EP(e))return!1;var t=SP(e);return"DataView"===t||wP(XP,t)||wP(VP,t)},isTypedArray:KP,TypedArray:MP,TypedArrayPrototype:UP},QP=P,ZP=_,eN=kw,tN=JP.NATIVE_ARRAY_BUFFER_VIEWS,rN=QP.ArrayBuffer,nN=QP.Int8Array,iN=!tN||!ZP((function(){nN(1)}))||!ZP((function(){new nN(-1)}))||!eN((function(e){new nN,new nN(null),new nN(1.5),new nN(e)}),!0)||ZP((function(){return 1!==new nN(new rN(2),1,void 0).length})),oN=Math.sign||function(e){var t=+e;return 0===t||t!=t?t:t<0?-1:1},sN=Math.abs,aN=2220446049250313e-31,cN=1/aN,uN=function(e,t,r,n){var i=+e,o=sN(i),s=oN(i);if(o<n)return s*function(e){return e+cN-cN}(o/n/t)*n*t;var a=(1+t/aN)*o,c=a-(a-o);return c>r||c!=c?s*(1/0):s*c},lN=Math.fround||function(e){return uN(e,1.1920928955078125e-7,34028234663852886e22,11754943508222875e-54)},fN=Array,hN=Math.abs,pN=Math.pow,dN=Math.floor,vN=Math.log,gN=Math.LN2,mN={pack:function(e,t,r){var n,i,o,s=fN(r),a=8*r-t-1,c=(1<<a)-1,u=c>>1,l=23===t?pN(2,-24)-pN(2,-77):0,f=e<0||0===e&&1/e<0?1:0,h=0;for((e=hN(e))!=e||e===1/0?(i=e!=e?1:0,n=c):(n=dN(vN(e)/gN),e*(o=pN(2,-n))<1&&(n--,o*=2),(e+=n+u>=1?l/o:l*pN(2,1-u))*o>=2&&(n++,o/=2),n+u>=c?(i=0,n=c):n+u>=1?(i=(e*o-1)*pN(2,t),n+=u):(i=e*pN(2,u-1)*pN(2,t),n=0));t>=8;)s[h++]=255&i,i/=256,t-=8;for(n=n<<t|i,a+=t;a>0;)s[h++]=255&n,n/=256,a-=8;return s[--h]|=128*f,s},unpack:function(e,t){var r,n=e.length,i=8*n-t-1,o=(1<<i)-1,s=o>>1,a=i-7,c=n-1,u=e[c--],l=127&u;for(u>>=7;a>0;)l=256*l+e[c--],a-=8;for(r=l&(1<<-a)-1,l>>=-a,a+=t;a>0;)r=256*r+e[c--],a-=8;if(0===l)l=1-s;else{if(l===o)return r?NaN:u?-1/0:1/0;r+=pN(2,t),l-=s}return(u?-1:1)*r*pN(2,l-t)}},yN=ht,bN=Cn,EN=Gn,wN=function(e){for(var t=yN(this),r=EN(t),n=arguments.length,i=bN(n>1?arguments[1]:void 0,r),o=n>2?arguments[2]:void 0,s=void 0===o?r:bN(o,r);s>i;)t[i++]=e;return t},SN=P,ON=J,RN=C,IN=vP,AN=wr,xN=Ju,TN=SR,jN=_,kN=Ey,LN=Ln,PN=Mn,NN=AL,_N=lN,CN=mN,FN=Oa,DN=zi,MN=wN,UN=Gc,GN=Qi,BN=hi,$N=Fa,qN=rn,WN=Tr.PROPER,HN=Tr.CONFIGURABLE,zN="ArrayBuffer",XN="DataView",VN="prototype",YN="Wrong index",KN=qN.getterFor(zN),JN=qN.getterFor(XN),QN=qN.set,ZN=SN[zN],e_=ZN,t_=e_&&e_[VN],r_=SN[XN],n_=r_&&r_[VN],i_=Object.prototype,o_=SN.Array,s_=SN.RangeError,a_=ON(MN),c_=ON([].reverse),u_=CN.pack,l_=CN.unpack,f_=function(e){return[255&e]},h_=function(e){return[255&e,e>>8&255]},p_=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},d_=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},v_=function(e){return u_(_N(e),23,4)},g_=function(e){return u_(e,52,8)},m_=function(e,t,r){xN(e[VN],t,{configurable:!0,get:function(){return r(this)[t]}})},y_=function(e,t,r,n){var i=JN(e),o=NN(r),s=!!n;if(o+t>i.byteLength)throw new s_(YN);var a=i.bytes,c=o+i.byteOffset,u=UN(a,c,c+t);return s?u:c_(u)},b_=function(e,t,r,n,i,o){var s=JN(e),a=NN(r),c=n(+i),u=!!o;if(a+t>s.byteLength)throw new s_(YN);for(var l=s.bytes,f=a+s.byteOffset,h=0;h<t;h++)l[f+h]=c[u?h:t-h-1]};if(IN){var E_=WN&&ZN.name!==zN;jN((function(){ZN(1)}))&&jN((function(){new ZN(-1)}))&&!jN((function(){return new ZN,new ZN(1.5),new ZN(NaN),1!==ZN.length||E_&&!HN}))?E_&&HN&&AN(ZN,"name",zN):((e_=function(e){return kN(this,t_),GN(new ZN(NN(e)),this,e_)})[VN]=t_,t_.constructor=e_,BN(e_,ZN)),DN&&FN(n_)!==i_&&DN(n_,i_);var w_=new r_(new e_(2)),S_=ON(n_.setInt8);w_.setInt8(0,2147483648),w_.setInt8(1,2147483649),!w_.getInt8(0)&&w_.getInt8(1)||TN(n_,{setInt8:function(e,t){S_(this,e,t<<24>>24)},setUint8:function(e,t){S_(this,e,t<<24>>24)}},{unsafe:!0})}else t_=(e_=function(e){kN(this,t_);var t=NN(e);QN(this,{type:zN,bytes:a_(o_(t),0),byteLength:t}),RN||(this.byteLength=t,this.detached=!1)})[VN],r_=function(e,t,r){kN(this,n_),kN(e,t_);var n=KN(e),i=n.byteLength,o=LN(t);if(o<0||o>i)throw new s_("Wrong offset");if(o+(r=void 0===r?i-o:PN(r))>i)throw new s_("Wrong length");QN(this,{type:XN,buffer:e,byteLength:r,byteOffset:o,bytes:n.bytes}),RN||(this.buffer=e,this.byteLength=r,this.byteOffset=o)},n_=r_[VN],RN&&(m_(e_,"byteLength",KN),m_(r_,"buffer",JN),m_(r_,"byteLength",JN),m_(r_,"byteOffset",JN)),TN(n_,{getInt8:function(e){return y_(this,1,e)[0]<<24>>24},getUint8:function(e){return y_(this,1,e)[0]},getInt16:function(e){var t=y_(this,2,e,arguments.length>1&&arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=y_(this,2,e,arguments.length>1&&arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return d_(y_(this,4,e,arguments.length>1&&arguments[1]))},getUint32:function(e){return d_(y_(this,4,e,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(e){return l_(y_(this,4,e,arguments.length>1&&arguments[1]),23)},getFloat64:function(e){return l_(y_(this,8,e,arguments.length>1&&arguments[1]),52)},setInt8:function(e,t){b_(this,1,e,f_,t)},setUint8:function(e,t){b_(this,1,e,f_,t)},setInt16:function(e,t){b_(this,2,e,h_,t,arguments.length>2&&arguments[2])},setUint16:function(e,t){b_(this,2,e,h_,t,arguments.length>2&&arguments[2])},setInt32:function(e,t){b_(this,4,e,p_,t,arguments.length>2&&arguments[2])},setUint32:function(e,t){b_(this,4,e,p_,t,arguments.length>2&&arguments[2])},setFloat32:function(e,t){b_(this,4,e,v_,t,arguments.length>2&&arguments[2])},setFloat64:function(e,t){b_(this,8,e,g_,t,arguments.length>2&&arguments[2])}});$N(e_,zN),$N(r_,XN);var O_={ArrayBuffer:e_,DataView:r_},R_=me,I_=Math.floor,A_=Number.isInteger||function(e){return!R_(e)&&isFinite(e)&&I_(e)===e},x_=Ln,T_=RangeError,j_=function(e){var t=x_(e);if(t<0)throw new T_("The argument can't be less than 0");return t},k_=RangeError,L_=function(e,t){var r=j_(e);if(r%t)throw new k_("Wrong offset");return r},P_=Math.round,N_=so,__=function(e){var t=N_(e);return"BigInt64Array"===t||"BigUint64Array"===t},C_=Dt,F_=TypeError,D_=function(e){var t=C_(e,"number");if("number"==typeof t)throw new F_("Can't convert number to bigint");return BigInt(t)},M_=Jo,U_=U,G_=yd,B_=ht,$_=Gn,q_=aw,W_=ew,H_=VE,z_=__,X_=JP.aTypedArrayConstructor,V_=D_,Y_=Gn,K_=function(e,t,r){for(var n=0,i=arguments.length>2?r:Y_(t),o=new e(i);i>n;)o[n]=t[n++];return o},J_=ji,Q_=P,Z_=U,eC=C,tC=iN,rC=JP,nC=O_,iC=Ey,oC=z,sC=wr,aC=A_,cC=Mn,uC=AL,lC=L_,fC=function(e){var t=P_(e);return t<0?0:t>255?255:255&t},hC=Gt,pC=vt,dC=so,vC=me,gC=Ue,mC=ia,yC=we,bC=zi,EC=xn.f,wC=function(e){var t,r,n,i,o,s,a,c,u=G_(this),l=B_(e),f=arguments.length,h=f>1?arguments[1]:void 0,p=void 0!==h,d=W_(l);if(d&&!H_(d))for(c=(a=q_(l,d)).next,l=[];!(s=U_(c,a)).done;)l.push(s.value);for(p&&f>2&&(h=M_(h,arguments[2])),r=$_(l),n=new(X_(u))(r),i=z_(n),t=0;r>t;t++)o=p?h(l[t],t):l[t],n[t]=i?V_(o):+o;return n},SC=xs.forEach,OC=rl,RC=Ju,IC=rr,AC=N,xC=K_,TC=Qi,jC=rn.get,kC=rn.set,LC=rn.enforce,PC=IC.f,NC=AC.f,_C=Q_.RangeError,CC=nC.ArrayBuffer,FC=CC.prototype,DC=nC.DataView,MC=rC.NATIVE_ARRAY_BUFFER_VIEWS,UC=rC.TYPED_ARRAY_TAG,GC=rC.TypedArray,BC=rC.TypedArrayPrototype,$C=rC.isTypedArray,qC="BYTES_PER_ELEMENT",WC="Wrong length",HC=function(e,t){RC(e,t,{configurable:!0,get:function(){return jC(this)[t]}})},zC=function(e){var t;return yC(FC,e)||"ArrayBuffer"===(t=dC(e))||"SharedArrayBuffer"===t},XC=function(e,t){return $C(e)&&!gC(t)&&t in e&&aC(+t)&&t>=0},VC=function(e,t){return t=hC(t),XC(e,t)?oC(2,e[t]):NC(e,t)},YC=function(e,t,r){return t=hC(t),!(XC(e,t)&&vC(r)&&pC(r,"value"))||pC(r,"get")||pC(r,"set")||r.configurable||pC(r,"writable")&&!r.writable||pC(r,"enumerable")&&!r.enumerable?PC(e,t,r):(e[t]=r.value,e)};eC?(MC||(AC.f=VC,IC.f=YC,HC(BC,"buffer"),HC(BC,"byteOffset"),HC(BC,"byteLength"),HC(BC,"length")),J_({target:"Object",stat:!0,forced:!MC},{getOwnPropertyDescriptor:VC,defineProperty:YC}),dP.exports=function(e,t,r){var n=e.match(/\d+/)[0]/8,i=e+(r?"Clamped":"")+"Array",o="get"+e,s="set"+e,a=Q_[i],c=a,u=c&&c.prototype,l={},f=function(e,t){PC(e,t,{get:function(){return function(e,t){var r=jC(e);return r.view[o](t*n+r.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,i){var o=jC(e);o.view[s](t*n+o.byteOffset,r?fC(i):i,!0)}(this,t,e)},enumerable:!0})};MC?tC&&(c=t((function(e,t,r,i){return iC(e,u),TC(vC(t)?zC(t)?void 0!==i?new a(t,lC(r,n),i):void 0!==r?new a(t,lC(r,n)):new a(t):$C(t)?xC(c,t):Z_(wC,c,t):new a(uC(t)),e,c)})),bC&&bC(c,GC),SC(EC(a),(function(e){e in c||sC(c,e,a[e])})),c.prototype=u):(c=t((function(e,t,r,i){iC(e,u);var o,s,a,l=0,h=0;if(vC(t)){if(!zC(t))return $C(t)?xC(c,t):Z_(wC,c,t);o=t,h=lC(r,n);var p=t.byteLength;if(void 0===i){if(p%n)throw new _C(WC);if((s=p-h)<0)throw new _C(WC)}else if((s=cC(i)*n)+h>p)throw new _C(WC);a=s/n}else a=uC(t),o=new CC(s=a*n);for(kC(e,{buffer:o,byteOffset:h,byteLength:s,length:a,view:new DC(o)});l<a;)f(e,l++)})),bC&&bC(c,GC),u=c.prototype=mC(BC)),u.constructor!==c&&sC(u,"constructor",c),LC(u).TypedArrayConstructor=c,UC&&sC(u,UC,i);var h=c!==a;l[i]=c,J_({global:!0,constructor:!0,forced:h,sham:!MC},l),qC in c||sC(c,qC,n),qC in u||sC(u,qC,n),OC(i)}):dP.exports=function(){},(0,dP.exports)("Uint8",(function(e){return function(t,r,n){return e(this,t,r,n)}}));var KC=Gn,JC=Ln,QC=JP.aTypedArray;(0,JP.exportTypedArrayMethod)("at",(function(e){var t=QC(this),r=KC(t),n=JC(e),i=n>=0?n:r+n;return i<0||i>=r?void 0:t[i]}));var ZC=wN,eF=D_,tF=so,rF=U,nF=_,iF=JP.aTypedArray,oF=JP.exportTypedArrayMethod,sF=J("".slice);oF("fill",(function(e){var t=arguments.length;iF(this);var r="Big"===sF(tF(this),0,3)?eF(e):+e;return rF(ZC,this,r,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)}),nF((function(){var e=0;return new Int8Array(2).fill({valueOf:function(){return e++}}),1!==e})));var aF=Jo,cF=se,uF=ht,lF=Gn,fF=function(e){var t=1===e;return function(r,n,i){for(var o,s=uF(r),a=cF(s),c=lF(a),u=aF(n,i);c-- >0;)if(u(o=a[c],c,s))switch(e){case 0:return o;case 1:return c}return t?-1:void 0}},hF={findLast:fF(0),findLastIndex:fF(1)},pF=hF.findLast,dF=JP.aTypedArray;(0,JP.exportTypedArrayMethod)("findLast",(function(e){return pF(dF(this),e,arguments.length>1?arguments[1]:void 0)}));var vF=hF.findLastIndex,gF=JP.aTypedArray;(0,JP.exportTypedArrayMethod)("findLastIndex",(function(e){return vF(gF(this),e,arguments.length>1?arguments[1]:void 0)}));var mF=P,yF=_,bF=J,EF=JP,wF=Sc,SF=jt("iterator"),OF=mF.Uint8Array,RF=bF(wF.values),IF=bF(wF.keys),AF=bF(wF.entries),xF=EF.aTypedArray,TF=EF.exportTypedArrayMethod,jF=OF&&OF.prototype,kF=!yF((function(){jF[SF].call([1])})),LF=!!jF&&jF.values&&jF[SF]===jF.values&&"values"===jF.values.name,PF=function(){return RF(xF(this))};TF("entries",(function(){return AF(xF(this))}),kF),TF("keys",(function(){return IF(xF(this))}),kF),TF("values",PF,kF||!LF,{name:"values"}),TF(SF,PF,kF||!LF,{name:"values"});var NF=P,_F=U,CF=JP,FF=Gn,DF=L_,MF=ht,UF=_,GF=NF.RangeError,BF=NF.Int8Array,$F=BF&&BF.prototype,qF=$F&&$F.set,WF=CF.aTypedArray,HF=CF.exportTypedArrayMethod,zF=!UF((function(){var e=new Uint8ClampedArray(2);return _F(qF,e,{length:1,0:3},1),3!==e[1]})),XF=zF&&CF.NATIVE_ARRAY_BUFFER_VIEWS&&UF((function(){var e=new BF(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]}));HF("set",(function(e){WF(this);var t=DF(arguments.length>1?arguments[1]:void 0,1),r=MF(e);if(zF)return _F(qF,this,r,t);var n=this.length,i=FF(r),o=0;if(i+t>n)throw new GF("Wrong length");for(;o<i;)this[t+o]=r[o++]}),!zF||XF);var VF=Xo,YF=_,KF=He,JF=nv,QF=ov,ZF=sv,eD=je,tD=cv,rD=JP.aTypedArray,nD=JP.exportTypedArrayMethod,iD=P.Uint16Array,oD=iD&&VF(iD.prototype.sort),sD=!(!oD||YF((function(){oD(new iD(2),null)}))&&YF((function(){oD(new iD(2),{})}))),aD=!!oD&&!YF((function(){if(eD)return eD<74;if(QF)return QF<67;if(ZF)return!0;if(tD)return tD<602;var e,t,r=new iD(516),n=Array(516);for(e=0;e<516;e++)t=e%4,r[e]=515-e,n[e]=e-2*t+3;for(oD(r,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(r[e]!==n[e])return!0}));nD("sort",(function(e){return void 0!==e&&KF(e),aD?oD(this,e):JF(rD(this),function(e){return function(t,r){return void 0!==e?+e(t,r)||0:r!=r?-1:t!=t?1:0===t&&0===r?1/t>0&&1/r<0?1:-1:t>r}}(e))}),!aD||sD);var cD=Gn,uD=function(e,t){for(var r=cD(e),n=new t(r),i=0;i<r;i++)n[i]=e[r-i-1];return n},lD=JP.aTypedArray,fD=JP.getTypedArrayConstructor;(0,JP.exportTypedArrayMethod)("toReversed",(function(){return uD(lD(this),fD(this))}));var hD=He,pD=K_,dD=JP.aTypedArray,vD=JP.getTypedArrayConstructor,gD=JP.exportTypedArrayMethod,mD=J(JP.TypedArrayPrototype.sort);gD("toSorted",(function(e){void 0!==e&&hD(e);var t=dD(this),r=pD(vD(t),t);return mD(r,e)}));var yD=JP.exportTypedArrayMethod,bD=_,ED=J,wD=P.Uint8Array,SD=wD&&wD.prototype||{},OD=[].toString,RD=ED([].join);bD((function(){OD.call({})}))&&(OD=function(){return RD(this)});var ID=SD.toString!==OD;yD("toString",OD,ID);var AD=Gn,xD=Ln,TD=RangeError,jD=function(e,t,r,n){var i=AD(e),o=xD(r),s=o<0?i+o:o;if(s>=i||s<0)throw new TD("Incorrect index");for(var a=new t(i),c=0;c<i;c++)a[c]=c===s?n:e[c];return a},kD=__,LD=Ln,PD=D_,ND=JP.aTypedArray,_D=JP.getTypedArrayConstructor,CD=JP.exportTypedArrayMethod,FD=!!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(e){return 8===e}}();CD("with",{with:function(e,t){var r=ND(this),n=LD(e),i=kD(r)?PD(t):+t;return jD(r,_D(r),n,i)}}.with,!FD),new TextEncoder;const DD=d.PassThrough;k((function(){var e=[],t=new DD({objectMode:!0});return t.setMaxListeners(0),t.add=r,t.isEmpty=function(){return 0==e.length},t.on("unpipe",n),Array.prototype.slice.call(arguments).forEach(r),t;function r(i){return Array.isArray(i)?(i.forEach(r),this):(e.push(i),i.once("end",n.bind(null,i)),i.once("error",t.emit.bind(t,"error")),i.pipe(t,{end:!1}),this)}function n(r){!(e=e.filter((function(e){return e!==r}))).length&&t.readable&&t.end()}}));const MD=({input:e,inputFile:t})=>"string"!=typeof t?e:((e=>{if(void 0!==e)throw new TypeError("The `input` and `inputFile` options cannot be both set.")})(e),p.readFileSync(t)),UD=e=>{const t=MD(e);if(null!==(r=t)&&"object"==typeof r&&"function"==typeof r.pipe)throw new TypeError("The `input` option cannot be a stream in sync mode");var r;return t},GD=(BD=function*(){},function(){var e=this,t=arguments;return new Promise((function(r,n){var i=BD.apply(e,t);function o(e){E(i,r,n,o,s,"next",e)}function s(e){E(i,r,n,o,s,"throw",e)}o(void 0)}))})().constructor.prototype;var BD;["then","catch","finally"].map((e=>[e,Reflect.getOwnPropertyDescriptor(GD,e)]));var $D=ht,qD=Gn,WD=Ln,HD=pa;ji({target:"Array",proto:!0},{at:function(e){var t=$D(this),r=qD(t),n=WD(e),i=n>=0?n:r+n;return i<0||i>=r?void 0:t[i]}}),HD("at");var zD=ji,XD=le,VD=Ln,YD=uo,KD=_,JD=J("".charAt);zD({target:"String",proto:!0,forced:KD((function(){return"\ud842"!=="𠮷".at(-2)}))},{at:function(e){var t=YD(XD(this)),r=t.length,n=VD(e),i=n>=0?n:r+n;return i<0||i>=r?void 0:JD(t,i)}});var QD=ji,ZD=Xo,eM=N.f,tM=Mn,rM=uo,nM=cS,iM=le,oM=lS,sM=ZD("".slice),aM=Math.min,cM=oM("endsWith"),uM=!cM&&!!function(){var e=eM(String.prototype,"endsWith");return e&&!e.writable}();QD({target:"String",proto:!0,forced:!uM&&!cM},{endsWith:function(e){var t=rM(iM(this));nM(e);var r=arguments.length>1?arguments[1]:void 0,n=t.length,i=void 0===r?n:aM(tM(r),n),o=rM(e);return sM(t,i-o.length,i)===o}});const lM=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],fM=/^[\w.-]+$/,hM=(e,t)=>lM(e,t).join(" "),pM=(e,t)=>lM(e,t).map((e=>(e=>"string"!=typeof e||fM.test(e)?e:`"${e.replaceAll('"','\\"')}"`)(e))).join(" ");var dM=Ln,vM=uo,gM=le,mM=RangeError,yM=J,bM=Mn,EM=uo,wM=le,SM=yM((function(e){var t=vM(gM(this)),r="",n=dM(e);if(n<0||n===1/0)throw new mM("Wrong number of repetitions");for(;n>0;(n>>>=1)&&(t+=t))1&n&&(r+=t);return r})),OM=yM("".slice),RM=Math.ceil,IM=function(e){return function(t,r,n){var i,o,s=EM(wM(t)),a=bM(r),c=s.length,u=void 0===n?" ":EM(n);return a<=c||""===u?s:((o=SM(u,RM((i=a-c)/u.length))).length>i&&(o=OM(o,0,i)),e?s+o:o+s)}},AM={start:IM(!1),end:IM(!0)},xM=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(Se),TM=AM.start;ji({target:"String",proto:!0,forced:xM},{padStart:function(e){return TM(this,e,arguments.length>1?arguments[1]:void 0)}});const jM=v.debuglog("execa").enabled,kM=(e,t)=>String(e).padStart(t,"0"),LM=(e,{verbose:t})=>{t&&l.stderr.write(`[${(()=>{const e=new Date;return`${kM(e.getHours(),2)}:${kM(e.getMinutes(),2)}:${kM(e.getSeconds(),2)}.${kM(e.getMilliseconds(),3)}`})()}] ${e}\n`)},PM=(e,t,r={})=>{const n=mO._parse(e,t,r);return e=n.command,t=n.args,r=n.options,(r=Object.assign({maxBuffer:1e8,buffer:!0,stripFinalNewline:!0,extendEnv:!0,preferLocal:!1,localDir:r.cwd||l.cwd(),execPath:l.execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:jM},r)).env=(({env:e,extendEnv:t,preferLocal:r,localDir:n,execPath:i})=>{const o=t?Object.assign(Object.assign({},l.env),e):e;return r?Jx({env:o,cwd:n,execPath:i}):o})(r),r.stdio=Ik(r),"win32"===l.platform&&"cmd"===c.basename(e,".exe")&&t.unshift("/q"),{file:e,args:t,options:r,parsed:n}},NM=(e,t,r)=>"string"==typeof t||a.Buffer.isBuffer(t)?e.stripFinalNewline?function(e){const t="string"==typeof e?"\n":"\n".charCodeAt(),r="string"==typeof e?"\r":"\r".charCodeAt();return e[e.length-1]===t&&(e=e.slice(0,-1)),e[e.length-1]===r&&(e=e.slice(0,-1)),e}(t):t:void 0===r?void 0:"";const _M=global,CM=new Proxy(global.target,{set:function(e,t,r){return Reflect.set(...arguments)},get:function(e,t,r){return UM(`make ${t}`),Reflect.get(...arguments)}}),FM=["packages","codemods","eslint"],DM=_M.which("yarn").stdout,MM=process.execPath;function UM(...e){console.log.apply(console,e)}function GM(e,t,n,i=!0){UM(`${e.replaceAll(DM,"yarn").replaceAll(MM,"node")} ${t.join(" ")}`);try{return function(e,t,r){const n=PM(e,t,r),i=hM(e,t),o=pM(e,t);LM(o,n.options);const s=UD(n.options);let a;try{a=u.spawnSync(n.file,n.args,Object.assign(Object.assign({},n.options),{},{input:s}))}catch(e){throw vk({error:e,stdout:"",stderr:"",all:"",command:i,escapedCommand:o,parsed:n,timedOut:!1,isCanceled:!1,killed:!1})}const c=NM(n.options,a.stdout,a.error),l=NM(n.options,a.stderr,a.error);if(a.error||0!==a.status||null!==a.signal){const e=vk({stdout:c,stderr:l,error:a.error,signal:a.signal,exitCode:a.status,command:i,escapedCommand:o,parsed:n,timedOut:a.error&&"ETIMEDOUT"===a.error.code,isCanceled:!1,killed:null!==a.signal});if(!n.options.reject)return e;throw e}return{command:i,escapedCommand:o,exitCode:0,stdout:c,stderr:l,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}}(e,t,{stdio:i?"inherit":void 0,cwd:n&&r.resolve(n),env:process.env}).stdout}catch(r){throw i&&0!==r.exitCode&&(console.error(new Error(`\ncommand: ${e} ${t.join(" ")}\ncode: ${r.exitCode}`)),process.exit(r.exitCode)),r}}function BM(e,t,r){return GM(DM,e,t,r)}function $M(e,t,r){return GM(MM,e,t,r)}function qM(e,t){const r=process.env;process.env=Object.assign(Object.assign({},r),t),e(),process.env=r}function WM(...e){const r=["--format","codeframe",...e.filter(Boolean)],n=t.readdirSync("packages").filter((e=>t.existsSync(`packages/${e}/package.json`))),i=[];for(let e=0,t=40;e<n.length;e+=t)i.push([`packages/{${n.slice(e,e+t)}}/**/*`]);const o=["eslint","codemods","scripts","benchmark","*.{js,cjs,mjs,ts}"];if(i.push(o),process.env.ESLINT_GO_BRRRR)qM((()=>BM(["eslint","packages",...o,...r])),{BABEL_ENV:"test",NODE_OPTIONS:"--max-old-space-size=16384"});else for(var s,a=A(i);!(s=a()).done;){const e=s.value;qM((()=>BM(["eslint",...e,...r])),{BABEL_ENV:"test"})}}function HM(e,r,n){const i="./build/"+e.toLowerCase();_M.rm("-rf",i),_M.mkdir("-p","build"),GM("git",["clone","--filter=blob:none","--sparse","--single-branch","--shallow-since='2 years ago'",r,i]),GM("git",["sparse-checkout","set",...n],i),GM("git",["checkout","-q",function(e){const r=t.readFileSync("./Makefile","utf8").match(new RegExp(`${e}_COMMIT = (\\w{40})`))[1];if(!r)throw new Error(`Could not find ${e}_COMMIT in Makefile`);return r}(e)],i)}function zM(){const e=JSON.parse(t.readFileSync("./package.json","utf8")).version_babel8;return FM.forEach((r=>{t.readdirSync(r).forEach((n=>{const i=`${r}/${n}/package.json`;if(t.existsSync(i)){var o,s,a;const r=JSON.parse(t.readFileSync(i,"utf8"));null!=(o=r.peerDependencies)&&o["@babel/core"]&&(r.peerDependencies["@babel/core"]=`^${e}`);const c=null==(s=r.conditions)?void 0:s.BABEL_8_BREAKING[0];null!=c&&null!=(a=c.peerDependencies)&&a["@babel/core"]&&(c.peerDependencies["@babel/core"]=`^${e}`),"babel-eslint-plugin"===n&&(c.peerDependencies["@babel/eslint-parser"]=`^${e}`),t.writeFileSync(i,JSON.stringify(r,null,2)+"\n")}}))})),qM((()=>BM(["install"])),{YARN_ENABLE_IMMUTABLE_INSTALLS:!1}),e}_M.config.verbose=!0,CM["clean-all"]=function(){_M.rm("-rf",["package-lock.json",".changelog"]),FM.forEach((e=>{_M.rm("-rf",`${e}/*/test/tmp`),_M.rm("-rf",`${e}/*/package-lock.json`)})),CM.clean(),CM["clean-lib"](),CM["clean-node-modules"]()},CM["clean-node-modules"]=function(){_M.rm("-rf","node_modules"),FM.forEach((e=>{_M.rm("-rf",`${e}/*/node_modules`)}))},CM.clean=function(){CM["test-clean"](),_M.rm("-rf",[".npmrc","coverage","packages/*/npm-debug*","node_modules/.cache"])},CM["test-clean"]=function(){FM.forEach((e=>{_M.rm("-rf",`${e}/*/test/tmp`),_M.rm("-rf",`${e}/*/test-fixtures.json`)}))},CM["clean-lib"]=function(){_M.rm("-rf",FM.map((e=>`${e}/*/lib`))),$M(["scripts/set-module-type.js"])},CM["clean-runtime-helpers"]=function(){_M.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","packages/babel-runtime-corejs3/core-js","packages/babel-runtime-corejs3/core-js-stable"])},CM["use-cjs"]=function(){$M(["scripts/set-module-type.js","commonjs"]),CM.bootstrap()},CM["use-esm"]=function(){$M(["scripts/set-module-type.js","module"]),CM.bootstrap()},CM["bootstrap-only"]=function(){CM["clean-all"](),BM(["install"])},CM.bootstrap=function(){CM["bootstrap-only"](),CM["generate-tsconfig"](),CM.build()},CM.build=function(){CM["build-no-bundle"](),"true"!==process.env.BABEL_COVERAGE&&CM["build-standalone"]()},CM["build-standalone"]=function(){BM(["gulp","build-babel-standalone"])},CM["build-bundle"]=function(){CM.clean(),CM["clean-lib"](),$M(["scripts/set-module-type.js"]),BM(["gulp","build"]),CM["build-dist"]()},CM["build-no-bundle"]=function(){CM.clean(),CM["clean-lib"](),$M(["scripts/set-module-type.js"]),qM((()=>{BM(["gulp","build-dev"])}),{BABEL_ENV:"development"}),CM["build-dist"]()},CM["build-flow-typings"]=function(){t.writeFileSync("packages/babel-types/lib/index.js.flow",$M(["packages/babel-types/scripts/generators/flow.js"],void 0,!1))},CM["build-dist"]=function(){CM["build-plugin-transform-runtime-dist"]()},CM["build-plugin-transform-runtime-dist"]=function(){$M(["scripts/build-dist.js"],"packages/babel-plugin-transform-runtime")},CM.prepublish=function(){process.env.BABEL_8_BREAKING?$M(["scripts/set-module-type.js","module"]):$M(["scripts/set-module-type.js","commonjs"]),CM["bootstrap-only"](),qM((()=>{CM["prepublish-build"](),CM.test()}),{IS_PUBLISH:"true"}),$M(["scripts/set-module-type.js","clean"])},CM["prepublish-build"]=function(){CM["clean-lib"](),CM["clean-runtime-helpers"](),qM((()=>{CM["build-bundle"]()}),{NODE_ENV:"production",BABEL_ENV:"production",STRIP_BABEL_8_FLAG:"true"}),qM((()=>{CM["prepublish-build-standalone"](),CM["clone-license"](),CM["prepublish-prepare-dts"](),CM["build-flow-typings"]()}),{NODE_ENV:"production",STRIP_BABEL_8_FLAG:"true"})},CM["prepublish-build-standalone"]=function(){qM((()=>{CM["build-standalone"]()}),{BABEL_ENV:"production",IS_PUBLISH:"true"})},CM["prepublish-prepare-dts"]=function(){CM["clean-ts"](),CM.tscheck(),CM["prepublish-prepare-dts-no-clean"]()},CM["prepublish-prepare-dts-no-clean"]=function(){BM(["gulp","bundle-dts"]),CM["build-typescript-legacy-typings"](),BM(["tsc","-p","tsconfig.dts-bundles.json"])},CM.tscheck=function(){CM["generate-tsconfig"](),$M(["scripts/parallel-tsc/tsc.js","."]),CM["tscheck-helpers"]()},CM["tscheck-helpers"]=function(){BM(["tsc","-p","./packages/babel-helpers/src/helpers/tsconfig.json"])},CM["clean-ts"]=function(){_M.rm("-rf","tsconfig.tsbuildinfo"),_M.rm("-rf","*/*/tsconfig.tsbuildinfo"),_M.rm("-rf","dts")},CM["generate-tsconfig"]=function(){$M(["scripts/generators/tsconfig.js"]),$M(["scripts/generators/archived-libs-typings.js"])},CM["generate-type-helpers"]=function(){BM(["gulp","generate-type-helpers"])},CM["build-typescript-legacy-typings"]=function(){t.writeFileSync("packages/babel-types/lib/index-legacy.d.ts",$M(["packages/babel-types/scripts/generators/typescript-legacy.js"],void 0,!1))},CM["clone-license"]=function(){$M(["scripts/clone-license.js"])},CM.lint=function(){qM((()=>CM.tscheck()),{TSCHECK_SILENT:"true"}),WM()},CM["lint-ci"]=function(){CM.tscheck(),WM(),CM["prepublish-prepare-dts-no-clean"]()},CM.fix=function(){CM["fix-json"](),CM["fix-js"]()},CM["fix-js"]=function(){qM((()=>CM.tscheck()),{TSCHECK_SILENT:"true"}),WM("--fix")},CM["fix-json"]=function(){BM(["prettier",`{${FM.join(",")}}/*/test/fixtures/**/options.json`,"--write","--loglevel","warn"])},CM.watch=function(){CM["build-no-bundle"](),qM((()=>{BM(["gulp","watch"])}),{BABEL_ENV:"development",WATCH_SKIP_BUILD:"true"})},CM.test=function(){CM.lint(),CM["test-only"]()},CM["test-only"]=function(e=[]){BM(["jest",...e])},CM["test-cov"]=function(){CM.build(),qM((()=>{BM(["c8","jest"])}),{BABEL_ENV:"test",BABEL_COVERAGE:"true"})},CM["bootstrap-test262"]=function(){HM("TEST262","https://github.com/tc39/test262.git",["test","harness"])},CM["bootstrap-typescript"]=function(){HM("TYPESCRIPT","https://github.com/microsoft/TypeScript.git",["tests"])},CM["bootstrap-flow"]=function(){HM("FLOW","https://github.com/facebook/flow.git",["src/parser/test/flow"])},CM["new-version-checklist"]=function(){},CM["new-version"]=function(){CM["new-version-checklist"](),GM("git",["pull","--rebase"]),BM(["release-tool","version","-f","@babel/standalone"])},CM["new-babel-8-version"]=function(){GM("git",["pull","--rebase"]);const e=JSON.parse(t.readFileSync("./package.json","utf8")),r=gy.inc(e.version_babel8,"prerelease");return e.version_babel8=r,t.writeFileSync("./package.json",JSON.stringify(e,null,2)+"\n"),GM("git",["add","./package.json"]),GM("git",["commit","-m","Bump Babel 8 version to "+r]),GM("git",["tag",`v${r}`,"-m",`v${r}`]),r},CM["new-babel-8-version-create-commit-ci"]=function(){BM(["release-tool","version",zM(),"--all","--tag-version-prefix","tmp.v","--yes"])},CM["new-babel-8-version-create-commit"]=function(){const e=zM();GM("git",["checkout","-b",`release/temp/v${e}`]),BM(["release-tool","version",e,"--all","--tag-version-prefix","tmp.v"]),console.log("Run `BABEL_8_BREAKING=true make publish` to finish publishing")};