esm-wallaby
Version:
Tomorrow's ECMAScript modules today!
1 lines • 335 kB
JavaScript
var __shared__;const e=module,t={Array:global.Array,Buffer:global.Buffer,Error:global.Error,EvalError:global.EvalError,Function:global.Function,JSON:global.JSON,Object:global.Object,Promise:global.Promise,RangeError:global.RangeError,ReferenceError:global.ReferenceError,Reflect:global.Reflect,SyntaxError:global.SyntaxError,TypeError:global.TypeError,URIError:global.URIError,eval:global.eval},r=global.console;module.exports=(function(e){var t={};function r(i){if(t[i])return t[i].exports;var n=t[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.d=function(e,t,r){Reflect.defineProperty(e,t,{configurable:!0,enumerable:!0,get:r})},r.n=function(e){return e.a=e,function(){return e}},r(r.s=47)})([(function(e,t,r){var i=r(7),n=r(6),s=n.MAX_LENGTH,a=n.MAX_SAFE_INTEGER,o=r(4),u=o.re,l=o.t,c=r(8),p=r(12),h=p.compareIdentifiers;class f{constructor(e,t){if(t=c(t),e instanceof f){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>s)throw new TypeError(`version is longer than ${s} characters`);i("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;var r=e.trim().match(t.loose?u[l.LOOSE]:u[l.FULL]);if(!r)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>a||this.major<0)throw new TypeError("Invalid major version");if(this.minor>a||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>a||this.patch<0)throw new TypeError("Invalid patch version");this.prerelease=r[4]?r[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<a)return t}return e})):[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version}toString(){return this.version}compare(e){if(i("SemVer.compare",this.version,this.options,e),!(e instanceof f)){if("string"==typeof e&&e===this.version)return 0;e=new f(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof f||(e=new f(e,this.options)),h(this.major,e.major)||h(this.minor,e.minor)||h(this.patch,e.patch)}comparePre(e){if(e instanceof f||(e=new f(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 r=this.prerelease[t],n=e.prerelease[t];if(i("prerelease compare",t,r,n),void 0===r&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===r)return-1;if(r!==n)return h(r,n)}while(++t)}compareBuild(e){e instanceof f||(e=new f(e,this.options));var t=0;do{var r=this.build[t],n=e.build[t];if(i("prerelease compare",t,r,n),void 0===r&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===r)return-1;if(r!==n)return h(r,n)}while(++t)}inc(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 Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this}}e.exports=f}),(function(e,t,r){var i=r(0);e.exports=function(e,t,r){return new i(e,r).compare(new i(t,r))}}),(function(e,t,r){class i{constructor(e,t){var r=this;if(t=a(t),e instanceof i)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new i(e.raw,t);if(e instanceof o)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((function(e){return r.parseRange(e.trim())})).filter((function(e){return e.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);if(this.set.length>1){var n=this.set[0];if(this.set=this.set.filter((function(e){return!v(e[0])})),0===this.set.length)this.set=[n];else if(this.set.length>1)for(var s=0,u=this.set,l=null==u?0:u.length;s<l;s++){var c=u[s];if(1===c.length&&g(c[0])){this.set=[c];break}}}this.format()}format(){return this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim(),this.range}toString(){return this.range}parseRange(e){var t=this;e=e.trim();var r=Object.keys(this.options).join(","),i=`parseRange:${r}:${e}`,n=s.get(i);if(n)return n;var a=this.options.loose,l=a?p[h.HYPHENRANGELOOSE]:p[h.HYPHENRANGE];e=e.replace(l,k(this.options.includePrerelease)),u("hyphen replace",e),e=e.replace(p[h.COMPARATORTRIM],f),u("comparator trim",e,p[h.COMPARATORTRIM]),e=e.replace(p[h.TILDETRIM],d),e=e.replace(p[h.CARETTRIM],m),e=e.split(/\s+/).join(" ");for(var c=a?p[h.COMPARATORLOOSE]:p[h.COMPARATOR],g=e.split(" ").map((function(e){return x(e,t.options)})).join(" ").split(/\s+/).map((function(e){return N(e,t.options)})).filter(this.options.loose?function(e){return!!e.match(c)}:function(){return!0}).map((function(e){return new o(e,t.options)})),y=new Map,b=0,E=null==g?0:g.length;b<E;b++){var w=g[b];if(v(w))return[w];y.set(w.value,w)}y.size>1&&y.has("")&&y.delete("");var R=[...y.values()];return s.set(i,R),R}intersects(e,t){if(!(e instanceof i))throw new TypeError("a Range is required");return this.set.some((function(r){return y(r,t)&&e.set.some((function(e){return y(e,t)&&r.every((function(r){return e.every((function(e){return r.intersects(e,t)}))}))}))}))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new l(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}}e.exports=i;var n=r(34),s=new n({max:1e3}),a=r(8),o=r(10),u=r(7),l=r(0),c=r(4),p=c.re,h=c.t,f=c.comparatorTrimReplace,d=c.tildeTrimReplace,m=c.caretTrimReplace,v=function(e){return"<0.0.0-0"===e.value},g=function(e){return""===e.value},y=function(e,t){"use strict";for(var r=!0,i=e.slice(),n=i.pop();r&&i.length;)r=i.every((function(e){return n.intersects(e,t)})),n=i.pop();return r},x=function(e,t){"use strict";return u("comp",e,t),e=R(e,t),u("caret",e),e=E(e,t),u("tildes",e),e=I(e,t),u("xrange",e),e=A(e,t),u("stars",e),e},b=function(e){return!e||"x"===e.toLowerCase()||"*"===e},E=function(e,t){return e.trim().split(/\s+/).map((function(e){"use strict";return w(e,t)})).join(" ")},w=function(e,t){"use strict";var r=t.loose?p[h.TILDELOOSE]:p[h.TILDE];return e.replace(r,(function(t,r,i,n,s){var a;return u("tilde",e,t,r,i,n,s),b(r)?a="":b(i)?a=`>=${r}.0.0 <${+r+1}.0.0-0`:b(n)?a=`>=${r}.${i}.0 <${r}.${+i+1}.0-0`:s?(u("replaceTilde pr",s),a=`>=${r}.${i}.${n}-${s} <${r}.${+i+1}.0-0`):a=`>=${r}.${i}.${n} <${r}.${+i+1}.0-0`,u("tilde return",a),a}))},R=function(e,t){return e.trim().split(/\s+/).map((function(e){"use strict";return S(e,t)})).join(" ")},S=function(e,t){"use strict";u("caret",e,t);var r=t.loose?p[h.CARETLOOSE]:p[h.CARET],i=t.includePrerelease?"-0":"";return e.replace(r,(function(t,r,n,s,a){var o;return u("caret",e,t,r,n,s,a),b(r)?o="":b(n)?o=`>=${r}.0.0${i} <${+r+1}.0.0-0`:b(s)?o="0"===r?`>=${r}.${n}.0${i} <${r}.${+n+1}.0-0`:`>=${r}.${n}.0${i} <${+r+1}.0.0-0`:a?(u("replaceCaret pr",a),o="0"===r?"0"===n?`>=${r}.${n}.${s}-${a} <${r}.${n}.${+s+1}-0`:`>=${r}.${n}.${s}-${a} <${r}.${+n+1}.0-0`:`>=${r}.${n}.${s}-${a} <${+r+1}.0.0-0`):(u("no pr"),o="0"===r?"0"===n?`>=${r}.${n}.${s}${i} <${r}.${n}.${+s+1}-0`:`>=${r}.${n}.${s}${i} <${r}.${+n+1}.0-0`:`>=${r}.${n}.${s} <${+r+1}.0.0-0`),u("caret return",o),o}))},I=function(e,t){"use strict";return u("replaceXRanges",e,t),e.split(/\s+/).map((function(e){return P(e,t)})).join(" ")},P=function(e,t){"use strict";e=e.trim();var r=t.loose?p[h.XRANGELOOSE]:p[h.XRANGE];return e.replace(r,(function(r,i,n,s,a,o){u("xRange",e,r,i,n,s,a,o);var l=b(n),c=l||b(s),p=c||b(a),h=p;return"="===i&&h&&(i=""),o=t.includePrerelease?"-0":"",l?r=">"===i||"<"===i?"<0.0.0-0":"*":i&&h?(c&&(s=0),a=0,">"===i?(i=">=",c?(n=+n+1,s=0,a=0):(s=+s+1,a=0)):"<="===i&&(i="<",c?n=+n+1:s=+s+1),"<"===i&&(o="-0"),r=`${i+n}.${s}.${a}${o}`):c?r=`>=${n}.0.0${o} <${+n+1}.0.0-0`:p&&(r=`>=${n}.${s}.0${o} <${n}.${+s+1}.0-0`),u("xRange return",r),r}))},A=function(e,t){"use strict";return u("replaceStars",e,t),e.trim().replace(p[h.STAR],"")},N=function(e,t){"use strict";return u("replaceGTE0",e,t),e.trim().replace(p[t.includePrerelease?h.GTE0PRE:h.GTE0],"")},k=function(e){return function(t,r,i,n,s,a,o,u,l,c,p,h,f){"use strict";return r=b(i)?"":b(n)?`>=${i}.0.0${e?"-0":""}`:b(s)?`>=${i}.${n}.0${e?"-0":""}`:a?">="+r:`>=${r}${e?"-0":""}`,u=b(l)?"":b(c)?`<${+l+1}.0.0-0`:b(p)?`<${l}.${+c+1}.0-0`:h?`<=${l}.${c}.${p}-${h}`:e?`<${l}.${c}.${+p+1}-0`:"<="+u,`${r} ${u}`.trim()}},_=function(e,t,r){"use strict";for(var i=0;i<e.length;i++)if(!e[i].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(var n=0;n<e.length;n++)if(u(e[n].semver),e[n].semver!==o.ANY&&e[n].semver.prerelease.length>0){var s=e[n].semver;if(s.major===t.major&&s.minor===t.minor&&s.patch===t.patch)return!0}return!1}return!0}}),(function(e,t,r){var i=r(4);e.exports={re:i.re,src:i.src,tokens:i.t,SEMVER_SPEC_VERSION:r(6).SEMVER_SPEC_VERSION,SemVer:r(0),compareIdentifiers:r(12).compareIdentifiers,rcompareIdentifiers:r(12).rcompareIdentifiers,parse:r(5),valid:r(21),clean:r(22),inc:r(23),diff:r(24),major:r(25),minor:r(26),patch:r(27),prerelease:r(28),compare:r(1),rcompare:r(29),compareLoose:r(30),compareBuild:r(14),sort:r(31),rsort:r(32),gt:r(9),lt:r(15),eq:r(13),neq:r(19),gte:r(16),lte:r(17),cmp:r(20),coerce:r(33),Comparator:r(10),Range:r(2),satisfies:r(11),toComparators:r(37),maxSatisfying:r(38),minSatisfying:r(39),minVersion:r(40),validRange:r(41),outside:r(18),gtr:r(42),ltr:r(43),intersects:r(44),simplifyRange:r(45),subset:r(46)}}),(function(e,t,r){var i=r(6),n=i.MAX_SAFE_COMPONENT_LENGTH,s=r(7);t=e.exports={};var a=t.re=[],o=t.src=[],u=t.t={},l=0,c=function(e,t,r){"use strict";var i=l++;s(i,t),u[e]=i,o[i]=t,a[i]=RegExp(t,r?"g":void 0)};c("NUMERICIDENTIFIER","0|[1-9]\\d*"),c("NUMERICIDENTIFIERLOOSE","[0-9]+"),c("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),c("MAINVERSION",`(${o[u.NUMERICIDENTIFIER]})\\.(${o[u.NUMERICIDENTIFIER]})\\.(${o[u.NUMERICIDENTIFIER]})`),c("MAINVERSIONLOOSE",`(${o[u.NUMERICIDENTIFIERLOOSE]})\\.(${o[u.NUMERICIDENTIFIERLOOSE]})\\.(${o[u.NUMERICIDENTIFIERLOOSE]})`),c("PRERELEASEIDENTIFIER",`(?:${o[u.NUMERICIDENTIFIER]}|${o[u.NONNUMERICIDENTIFIER]})`),c("PRERELEASEIDENTIFIERLOOSE",`(?:${o[u.NUMERICIDENTIFIERLOOSE]}|${o[u.NONNUMERICIDENTIFIER]})`),c("PRERELEASE",`(?:-(${o[u.PRERELEASEIDENTIFIER]}(?:\\.${o[u.PRERELEASEIDENTIFIER]})*))`),c("PRERELEASELOOSE",`(?:-?(${o[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${o[u.PRERELEASEIDENTIFIERLOOSE]})*))`),c("BUILDIDENTIFIER","[0-9A-Za-z-]+"),c("BUILD",`(?:\\+(${o[u.BUILDIDENTIFIER]}(?:\\.${o[u.BUILDIDENTIFIER]})*))`),c("FULLPLAIN",`v?${o[u.MAINVERSION]}${o[u.PRERELEASE]}?${o[u.BUILD]}?`),c("FULL",`^${o[u.FULLPLAIN]}$`),c("LOOSEPLAIN",`[v=\\s]*${o[u.MAINVERSIONLOOSE]}${o[u.PRERELEASELOOSE]}?${o[u.BUILD]}?`),c("LOOSE",`^${o[u.LOOSEPLAIN]}$`),c("GTLT","((?:<|>)?=?)"),c("XRANGEIDENTIFIERLOOSE",o[u.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*"),c("XRANGEIDENTIFIER",o[u.NUMERICIDENTIFIER]+"|x|X|\\*"),c("XRANGEPLAIN",`[v=\\s]*(${o[u.XRANGEIDENTIFIER]})(?:\\.(${o[u.XRANGEIDENTIFIER]})(?:\\.(${o[u.XRANGEIDENTIFIER]})(?:${o[u.PRERELEASE]})?${o[u.BUILD]}?)?)?`),c("XRANGEPLAINLOOSE",`[v=\\s]*(${o[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${o[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${o[u.XRANGEIDENTIFIERLOOSE]})(?:${o[u.PRERELEASELOOSE]})?${o[u.BUILD]}?)?)?`),c("XRANGE",`^${o[u.GTLT]}\\s*${o[u.XRANGEPLAIN]}$`),c("XRANGELOOSE",`^${o[u.GTLT]}\\s*${o[u.XRANGEPLAINLOOSE]}$`),c("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),c("COERCERTL",o[u.COERCE],!0),c("LONETILDE","(?:~>?)"),c("TILDETRIM",`(\\s*)${o[u.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",c("TILDE",`^${o[u.LONETILDE]}${o[u.XRANGEPLAIN]}$`),c("TILDELOOSE",`^${o[u.LONETILDE]}${o[u.XRANGEPLAINLOOSE]}$`),c("LONECARET","(?:\\^)"),c("CARETTRIM",`(\\s*)${o[u.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",c("CARET",`^${o[u.LONECARET]}${o[u.XRANGEPLAIN]}$`),c("CARETLOOSE",`^${o[u.LONECARET]}${o[u.XRANGEPLAINLOOSE]}$`),c("COMPARATORLOOSE",`^${o[u.GTLT]}\\s*(${o[u.LOOSEPLAIN]})$|^$`),c("COMPARATOR",`^${o[u.GTLT]}\\s*(${o[u.FULLPLAIN]})$|^$`),c("COMPARATORTRIM",`(\\s*)${o[u.GTLT]}\\s*(${o[u.LOOSEPLAIN]}|${o[u.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",c("HYPHENRANGE",`^\\s*(${o[u.XRANGEPLAIN]})\\s+-\\s+(${o[u.XRANGEPLAIN]})\\s*$`),c("HYPHENRANGELOOSE",`^\\s*(${o[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${o[u.XRANGEPLAINLOOSE]})\\s*$`),c("STAR","(<|>)?=?\\s*\\*"),c("GTE0","^\\s*>=\\s*0.0.0\\s*$"),c("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")}),(function(e,t,r){var i=r(6),n=i.MAX_LENGTH,s=r(4),a=s.re,o=s.t,u=r(0),l=r(8);e.exports=function(e,t){"use strict";if(t=l(t),e instanceof u)return e;if("string"!=typeof e)return null;if(e.length>n)return null;var r=t.loose?a[o.LOOSE]:a[o.FULL];if(!r.test(e))return null;try{return new u(e,t)}catch(e){return null}}}),(function(e,t){var r=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:r,MAX_SAFE_COMPONENT_LENGTH:16}}),(function(e,t){var r=("object"==typeof process&&process,function(){});e.exports=r}),(function(e,t){var r=["includePrerelease","loose","rtl"];e.exports=function(e){return e?"object"!=typeof e?{loose:!0}:r.filter((function(t){return e[t]})).reduce((function(e,t){"use strict";return e[t]=!0,e}),{}):{}}}),(function(e,t,r){var i=r(1);e.exports=function(e,t,r){return i(e,t,r)>0}}),(function(e,t,r){var i=Symbol("SemVer ANY");class n{static get ANY(){return i}constructor(e,t){if(t=s(t),e instanceof n){if(e.loose===!!t.loose)return e;e=e.value}c("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.value=this.semver===i?"":this.operator+this.semver.version,c("comp",this)}parse(e){var t=this.options.loose?o[u.COMPARATORLOOSE]:o[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=""),this.semver=r[2]?new p(r[2],this.options.loose):i}toString(){return this.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===i||e===i)return!0;if("string"==typeof e)try{e=new p(e,this.options)}catch(e){return!1}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof n))throw new TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new h(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new h(this.value,t).test(e.semver);var r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),i=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),s=this.semver.version===e.semver.version,a=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),o=l(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),u=l(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||i||s&&a||o||u}}e.exports=n;var s=r(8),a=r(4),o=a.re,u=a.t,l=r(20),c=r(7),p=r(0),h=r(2)}),(function(e,t,r){var i=r(2);e.exports=function(e,t,r){"use strict";try{t=new i(t,r)}catch(e){return!1}return t.test(e)}}),(function(e,t){var r=/^[0-9]+$/,i=function(e,t){"use strict";var i=r.test(e),n=r.test(t);return i&&n&&(e=+e,t=+t),e===t?0:i&&!n?-1:n&&!i?1:e<t?-1:1};e.exports={compareIdentifiers:i,rcompareIdentifiers:function(e,t){return i(t,e)}}}),(function(e,t,r){var i=r(1);e.exports=function(e,t,r){return 0===i(e,t,r)}}),(function(e,t,r){var i=r(0);e.exports=function(e,t,r){"use strict";var n=new i(e,r),s=new i(t,r);return n.compare(s)||n.compareBuild(s)}}),(function(e,t,r){var i=r(1);e.exports=function(e,t,r){return i(e,t,r)<0}}),(function(e,t,r){var i=r(1);e.exports=function(e,t,r){return i(e,t,r)>=0}}),(function(e,t,r){var i=r(1);e.exports=function(e,t,r){return i(e,t,r)<=0}}),(function(e,t,r){var i=r(0),n=r(10),s=n.ANY,a=r(2),o=r(11),u=r(9),l=r(15),c=r(17),p=r(16);e.exports=function(e,t,r,h){"use strict";var f,d,m,v,g;switch(e=new i(e,h),t=new a(t,h),r){case">":f=u,d=c,m=l,v=">",g=">=";break;case"<":f=l,d=p,m=u,v="<",g="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(o(e,t,h))return!1;for(var y=function(r){var i=t.set[r],a=null,o=null;return i.forEach((function(e){e.semver===s&&(e=new n(">=0.0.0")),a=a||e,o=o||e,f(e.semver,a.semver,h)?a=e:m(e.semver,o.semver,h)&&(o=e)})),a.operator===v||a.operator===g?{v:!1}:o.operator&&o.operator!==v||!d(e,o.semver)?o.operator===g&&m(e,o.semver)?{v:!1}:void 0:{v:!1}},x=0;x<t.set.length;++x){var b=y(x);if("object"==typeof b)return b.v}return!0}}),(function(e,t,r){var i=r(1);e.exports=function(e,t,r){return 0!==i(e,t,r)}}),(function(e,t,r){var i=r(13),n=r(19),s=r(9),a=r(16),o=r(15),u=r(17);e.exports=function(e,t,r,l){"use strict";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 i(e,r,l);case"!=":return n(e,r,l);case">":return s(e,r,l);case">=":return a(e,r,l);case"<":return o(e,r,l);case"<=":return u(e,r,l);default:throw new TypeError("Invalid operator: "+t)}}}),(function(e,t,r){var i=r(5);e.exports=function(e,t){"use strict";var r=i(e,t);return r?r.version:null}}),(function(e,t,r){var i=r(5);e.exports=function(e,t){"use strict";var r=i(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}}),(function(e,t,r){var i=r(0);e.exports=function(e,t,r,n){"use strict";"string"==typeof r&&(n=r,r=void 0);try{return new i(e,r).inc(t,n).version}catch(e){return null}}}),(function(e,t,r){var i=r(5),n=r(13);e.exports=function(e,t){"use strict";if(n(e,t))return null;var r=i(e),s=i(t),a=r.prerelease.length||s.prerelease.length,o=a?"pre":"",u=a?"prerelease":"";for(var l in r)if(("major"===l||"minor"===l||"patch"===l)&&r[l]!==s[l])return o+l;return u}}),(function(e,t,r){var i=r(0);e.exports=function(e,t){return new i(e,t).major}}),(function(e,t,r){var i=r(0);e.exports=function(e,t){return new i(e,t).minor}}),(function(e,t,r){var i=r(0);e.exports=function(e,t){return new i(e,t).patch}}),(function(e,t,r){var i=r(5);e.exports=function(e,t){"use strict";var r=i(e,t);return r&&r.prerelease.length?r.prerelease:null}}),(function(e,t,r){var i=r(1);e.exports=function(e,t,r){return i(t,e,r)}}),(function(e,t,r){var i=r(1);e.exports=function(e,t){return i(e,t,!0)}}),(function(e,t,r){var i=r(14);e.exports=function(e,t){return e.sort((function(e,r){return i(e,r,t)}))}}),(function(e,t,r){var i=r(14);e.exports=function(e,t){return e.sort((function(e,r){return i(r,e,t)}))}}),(function(e,t,r){var i=r(0),n=r(5),s=r(4),a=s.re,o=s.t;e.exports=function(e,t){"use strict";if(e instanceof i)return e;if("number"==typeof e&&(e+=""),"string"!=typeof e)return null;t=t||{};var r=null;if(t.rtl){for(var s;(s=a[o.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&s.index+s[0].length===r.index+r[0].length||(r=s),a[o.COERCERTL].lastIndex=s.index+s[1].length+s[2].length;a[o.COERCERTL].lastIndex=-1}else r=e.match(a[o.COERCE]);return null===r?null:n(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,t)}}),(function(e,t,r){var i=r(35),n=Symbol("max"),s=Symbol("length"),a=Symbol("lengthCalculator"),o=Symbol("allowStale"),u=Symbol("maxAge"),l=Symbol("dispose"),c=Symbol("noDisposeOnSet"),p=Symbol("lruList"),h=Symbol("cache"),f=Symbol("updateAgeOnGet"),d=function(){return 1},m=function(e,t,r){var i=e[h].get(t);if(i){var n=i.value;if(v(e,n)){if(y(e,i),!e[o])return}else r&&(e[f]&&(i.value.now=Date.now()),e[p].unshiftNode(i));return n.value}},v=function(e,t){if(!t||!t.maxAge&&!e[u])return!1;var r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[u]&&r>e[u]},g=function(e){if(e[s]>e[n])for(var t=e[p].tail;e[s]>e[n]&&null!==t;){var r=t.prev;y(e,t),t=r}},y=function(e,t){if(t){var r=t.value;e[l]&&e[l](r.key,r.value),e[s]-=r.length,e[h].delete(r.key),e[p].removeNode(t)}};class x{constructor(e,t,r,i,n){this.key=e,this.value=t,this.length=r,this.now=i,this.maxAge=n||0}}var b=function(e,t,r,i){var n=r.value;v(e,n)&&(y(e,r),e[o]||(n=void 0)),n&&t.call(i,n.value,n.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[n]=e.max||1/0;var t=e.length||d;if(this[a]="function"!=typeof t?d:t,this[o]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[u]=e.maxAge||0,this[l]=e.dispose,this[c]=e.noDisposeOnSet||!1,this[f]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[n]=e||1/0,g(this)}get max(){return this[n]}set allowStale(e){this[o]=!!e}get allowStale(){return this[o]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[u]=e,g(this)}get maxAge(){return this[u]}set lengthCalculator(e){var t=this;"function"!=typeof e&&(e=d),e!==this[a]&&(this[a]=e,this[s]=0,this[p].forEach((function(e){e.length=t[a](e.value,e.key),t[s]+=e.length}))),g(this)}get lengthCalculator(){return this[a]}get length(){return this[s]}get itemCount(){return this[p].length}rforEach(e,t){t=t||this;for(var r=this[p].tail;null!==r;){var i=r.prev;b(this,e,r,t),r=i}}forEach(e,t){t=t||this;for(var r=this[p].head;null!==r;){var i=r.next;b(this,e,r,t),r=i}}keys(){return this[p].toArray().map((function(e){return e.key}))}values(){return this[p].toArray().map((function(e){return e.value}))}reset(){var e=this;this[l]&&this[p]&&this[p].length&&this[p].forEach((function(t){return e[l](t.key,t.value)})),this[h]=new Map,this[p]=new i,this[s]=0}dump(){var e=this;return this[p].map((function(t){return!v(e,t)&&{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}})).toArray().filter((function(e){return e}))}dumpLru(){return this[p]}set(e,t,r){if(r=r||this[u],r&&"number"!=typeof r)throw new TypeError("maxAge must be a number");var i=r?Date.now():0,o=this[a](t,e);if(this[h].has(e)){if(o>this[n])return y(this,this[h].get(e)),!1;var f=this[h].get(e),d=f.value;return this[l]&&(this[c]||this[l](e,d.value)),d.now=i,d.maxAge=r,d.value=t,this[s]+=o-d.length,d.length=o,this.get(e),g(this),!0}var m=new x(e,t,o,i,r);return m.length>this[n]?(this[l]&&this[l](e,t),!1):(this[s]+=m.length,this[p].unshift(m),this[h].set(e,this[p].head),g(this),!0)}has(e){if(!this[h].has(e))return!1;var t=this[h].get(e).value;return!v(this,t)}get(e){return m(this,e,!0)}peek(e){return m(this,e,!1)}pop(){var e=this[p].tail;return e?(y(this,e),e.value):null}del(e){y(this,this[h].get(e))}load(e){this.reset();for(var t=Date.now(),r=e.length-1;r>=0;r--){var i=e[r],n=i.e||0;if(0===n)this.set(i.k,i.v);else{var s=n-t;s>0&&this.set(i.k,i.v,s)}}}prune(){var e=this;this[h].forEach((function(t,r){return m(e,r,!1)}))}}}),(function(e,t,r){function i(e){var t=this;if(t instanceof i||(t=new i),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var r=0,n=arguments.length;r<n;r++)t.push(arguments[r]);return t}function n(e,t){e.tail=new a(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function s(e,t){e.head=new a(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function a(e,t,r,i){if(!(this instanceof a))return new a(e,t,r,i);this.list=i,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,r?(r.prev=this,this.next=r):this.next=null}e.exports=i,i.Node=a,i.create=i,i.prototype.removeNode=function(e){if(e.list!==this)throw Error("removing node which does not belong to this list");var t=e.next,r=e.prev;return t&&(t.prev=r),r&&(r.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=r),e.list.length--,e.next=null,e.prev=null,e.list=null,t},i.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},i.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},i.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)n(this,arguments[e]);return this.length},i.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)s(this,arguments[e]);return this.length},i.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},i.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},i.prototype.forEach=function(e,t){t=t||this;for(var r=this.head,i=0;null!==r;i++)e.call(t,r.value,i,this),r=r.next},i.prototype.forEachReverse=function(e,t){t=t||this;for(var r=this.tail,i=this.length-1;null!==r;i--)e.call(t,r.value,i,this),r=r.prev},i.prototype.get=function(e){for(var t=0,r=this.head;null!==r&&t<e;t++)r=r.next;if(t===e&&null!==r)return r.value},i.prototype.getReverse=function(e){for(var t=0,r=this.tail;null!==r&&t<e;t++)r=r.prev;if(t===e&&null!==r)return r.value},i.prototype.map=function(e,t){t=t||this;for(var r=new i,n=this.head;null!==n;)r.push(e.call(t,n.value,this)),n=n.next;return r},i.prototype.mapReverse=function(e,t){t=t||this;for(var r=new i,n=this.tail;null!==n;)r.push(e.call(t,n.value,this)),n=n.prev;return r},i.prototype.reduce=function(e,t){var r,i=this.head;if(arguments.length>1)r=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");i=this.head.next,r=this.head.value}for(var n=0;null!==i;n++)r=e(r,i.value,n),i=i.next;return r},i.prototype.reduceReverse=function(e,t){var r,i=this.tail;if(arguments.length>1)r=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");i=this.tail.prev,r=this.tail.value}for(var n=this.length-1;null!==i;n--)r=e(r,i.value,n),i=i.prev;return r},i.prototype.toArray=function(){for(var e=Array(this.length),t=0,r=this.head;null!==r;t++)e[t]=r.value,r=r.next;return e},i.prototype.toArrayReverse=function(){for(var e=Array(this.length),t=0,r=this.tail;null!==r;t++)e[t]=r.value,r=r.prev;return e},i.prototype.slice=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var r=new i;if(t<e||t<0)return r;e<0&&(e=0),t>this.length&&(t=this.length);for(var n=0,s=this.head;null!==s&&n<e;n++)s=s.next;for(;null!==s&&n<t;n++,s=s.next)r.push(s.value);return r},i.prototype.sliceReverse=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var r=new i;if(t<e||t<0)return r;e<0&&(e=0),t>this.length&&(t=this.length);for(var n=this.length,s=this.tail;null!==s&&n>t;n--)s=s.prev;for(;null!==s&&n>e;n--,s=s.prev)r.push(s.value);return r},i.prototype.splice=function(e,t,...r){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var i=0,n=this.head;null!==n&&i<e;i++)n=n.next;var s,o,u,l=[];for(i=0;n&&i<t;i++)l.push(n.value),n=this.removeNode(n);for(null===n&&(n=this.tail),n!==this.head&&n!==this.tail&&(n=n.prev),i=0;i<r.length;i++)this,s=n,o=r[i],void 0,u=s===this.head?new a(o,null,s,this):new a(o,s,s.next,this),null===u.next&&(this.tail=u),null===u.prev&&(this.head=u),this.length++,n=u;return l},i.prototype.reverse=function(){for(var e=this.head,t=this.tail,r=e;null!==r;r=r.prev){var i=r.prev;r.prev=r.next,r.next=i}return this.head=t,this.tail=e,this};try{r(36)(i)}catch(e){}}),(function(e,t,r){e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(var e=this.head;e;e=e.next)yield e.value}}}),(function(e,t,r){var i=r(2);e.exports=function(e,t){return new i(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))}}),(function(e,t,r){var i=r(0),n=r(2);e.exports=function(e,t,r){"use strict";var s=null,a=null,o=null;try{o=new n(t,r)}catch(e){return null}return e.forEach((function(e){o.test(e)&&(s&&-1!==a.compare(e)||(s=e,a=new i(s,r)))})),s}}),(function(e,t,r){var i=r(0),n=r(2);e.exports=function(e,t,r){"use strict";var s=null,a=null,o=null;try{o=new n(t,r)}catch(e){return null}return e.forEach((function(e){o.test(e)&&(s&&1!==a.compare(e)||(s=e,a=new i(s,r)))})),s}}),(function(e,t,r){var i=r(0),n=r(2),s=r(9);e.exports=function(e,t){"use strict";e=new n(e,t);var r=new i("0.0.0");if(e.test(r))return r;if(r=new i("0.0.0-0"),e.test(r))return r;r=null;for(var a=function(t){var n=e.set[t],a=null;n.forEach((function(e){var t=new i(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":a&&!s(t,a)||(a=t);break;case"<":case"<=":break;default:throw Error("Unexpected operation: "+e.operator)}})),!a||r&&!s(r,a)||(r=a)},o=0;o<e.set.length;++o)a(o);return r&&e.test(r)?r:null}}),(function(e,t,r){var i=r(2);e.exports=function(e,t){"use strict";try{return new i(e,t).range||"*"}catch(e){return null}}}),(function(e,t,r){var i=r(18);e.exports=function(e,t,r){return i(e,t,">",r)}}),(function(e,t,r){var i=r(18);e.exports=function(e,t,r){return i(e,t,"<",r)}}),(function(e,t,r){var i=r(2);e.exports=function(e,t,r){"use strict";return e=new i(e,r),t=new i(t,r),e.intersects(t)}}),(function(e,t,r){var i=r(11),n=r(1);e.exports=function(e,t,r){"use strict";for(var s=[],a=null,o=null,u=e.sort((function(e,t){return n(e,t,r)})),l=0,c=null==u?0:u.length;l<c;l++){var p=u[l],h=i(p,t,r);h?(o=p,a||(a=p)):(o&&s.push([a,o]),o=null,a=null)}a&&s.push([a,null]);for(var f=[],d=0,m=null==s?0:s.length;d<m;d++){var v=s[d],g=v[0],y=v[1];f.push(g===y?g:y||g!==u[0]?y?g===u[0]?"<="+y:`${g} - ${y}`:">="+g:"*")}var x=f.join(" || "),b="string"==typeof t.raw?t.raw:t+"";return x.length<b.length?x:t}}),(function(e,t,r){var i=r(2),n=r(10),s=n.ANY,a=r(11),o=r(1),u=function(e,t,r){"use strict";if(e===t)return!0;if(1===e.length&&e[0].semver===s){if(1===t.length&&t[0].semver===s)return!0;e=r.includePrerelease?[new n(">=0.0.0-0")]:[new n(">=0.0.0")]}if(1===t.length&&t[0].semver===s){if(r.includePrerelease)return!0;t=[new n(">=0.0.0")]}for(var i,u,p,h,f,d,m,v=new Set,g=0,y=e,x=null==y?0:y.length;g<x;g++){var b=y[g];">"===b.operator||">="===b.operator?i=l(i,b,r):"<"===b.operator||"<="===b.operator?u=c(u,b,r):v.add(b.semver)}if(v.size>1)return null;if(i&&u){if(p=o(i.semver,u.semver,r),p>0)return null;if(0===p&&(">="!==i.operator||"<="!==u.operator))return null}for(var E=0,w=null==v?0:v.length;E<w;E++){var R=v[E];if(i&&!a(R,i+"",r))return null;if(u&&!a(R,u+"",r))return null;for(var S=0,I=t,P=null==I?0:I.length;S<P;S++){var A=I[S];if(!a(R,A+"",r))return!1}return!0}var N=!(!u||r.includePrerelease||!u.semver.prerelease.length)&&u.semver,k=!(!i||r.includePrerelease||!i.semver.prerelease.length)&&i.semver;N&&1===N.prerelease.length&&"<"===u.operator&&0===N.prerelease[0]&&(N=!1);for(var _=0,C=t,O=null==C?0:C.length;_<O;_++){var T=C[_];if(m=m||">"===T.operator||">="===T.operator,d=d||"<"===T.operator||"<="===T.operator,i)if(k&&T.semver.prerelease&&T.semver.prerelease.length&&T.semver.major===k.major&&T.semver.minor===k.minor&&T.semver.patch===k.patch&&(k=!1),">"===T.operator||">="===T.operator){if(h=l(i,T,r),h===T&&h!==i)return!1}else if(">="===i.operator&&!a(i.semver,T+"",r))return!1;if(u)if(N&&T.semver.prerelease&&T.semver.prerelease.length&&T.semver.major===N.major&&T.semver.minor===N.minor&&T.semver.patch===N.patch&&(N=!1),"<"===T.operator||"<="===T.operator){if(f=c(u,T,r),f===T&&f!==u)return!1}else if("<="===u.operator&&!a(u.semver,T+"",r))return!1;if(!T.operator&&(u||i)&&0!==p)return!1}return!(i&&d&&!u&&0!==p||u&&m&&!i&&0!==p||k||N)},l=function(e,t,r){"use strict";if(!e)return t;var i=o(e.semver,t.semver,r);return i>0?e:i<0||">"===t.operator&&">="===e.operator?t:e},c=function(e,t,r){"use strict";if(!e)return t;var i=o(e.semver,t.semver,r);return i<0?e:i>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=function(e,t,r={}){if(e===t)return!0;e=new i(e,r),t=new i(t,r);var n=!1;e:for(var s=0,a=e.set,o=null==a?0:a.length;s<o;s++){for(var l=a[s],c=0,p=t.set,h=null==p?0:p.length;c<h;c++){var f=p[c],d=u(l,f,r);if(n=n||null!==d,d)continue e}if(n)return!1}return!0}}),(function(i,n,s){var a=function(e){"use strict";return e+"\u200d"},o=Object.prototype.__defineGetter__,u=function(e,t,r){"use strict";return o.call(e,t,r),e},l=Object.prototype.__defineSetter__,c=function(e,t,r){"use strict";return l.call(e,t,r),e},p={configurable:!0,enumerable:!0,value:void 0,writable:!0},h=[],f=function(e,t,r){"use strict";return u(e,t,(function(){return this[t]=void 0,this[t]=Reflect.apply(r,this,h)})),c(e,t,(function(e){p.value=e,Reflect.defineProperty(this,t,p)})),e},d=["index.js","esm.js","esm/loader.js"],m={PACKAGE_DIRNAME:null,PACKAGE_FILENAMES:null,PACKAGE_PREFIX:a("esm"),PACKAGE_RANGE:"3.2.34",PACKAGE_VERSION:"3.2.34",STACK_TRACE_LIMIT:30},v=e,g=v.filename,y=v.parent,x=null!=y&&y.filename;f(m,"PACKAGE_DIRNAME",(function(){"use strict";var e=__shared__.module.safePath;return e.dirname(g)})),f(m,"PACKAGE_FILENAMES",(function(){"use strict";for(var e=__shared__.module.safePath,t=e.sep,r=this.PACKAGE_DIRNAME,i=d.length;i--;)d[i]=r+t+d[i];return d})),f(m,"PACKAGE_PARENT_NAME",(function(){"use strict";var e=__shared__.module.safePath,t=e.sep,r="string"==typeof x?x.lastIndexOf(t+"node_modules"+t):-1;if(-1===r)return"";var i=r+14,n=x.indexOf(t,i);return-1===n?"":x.slice(i,n)}));var b=m,E=b.PACKAGE_PREFIX,w=b.PACKAGE_VERSION,R=Symbol.for(E+"@"+w+":shared"),S=(function(){"use strict";if(void 0!==__shared__)return __shared__.reloaded=!1,__shared__;try{return __shared__=require(R),__shared__.reloaded=!0,__shared__}catch(e){}return e=Function.prototype.toString,r=new Proxy(class{},{[E]:1}),i={wasm:"object"==typeof WebAssembly&&null!==WebAssembly},n={_compile:Symbol.for(E+":module._compile"),entry:Symbol.for(E+":entry"),mjs:Symbol.for(E+':Module._extensions[".mjs"]'),namespace:Symbol.for(E+":namespace"),package:Symbol.for(E+":package"),proxy:Symbol.for(E+":proxy"),realGetProxyDetails:Symbol.for(E+":realGetProxyDetails"),realRequire:Symbol.for(E+":realRequire"),runtime:Symbol.for(E+":runtime"),shared:R,wrapper:Symbol.for(E+":wrapper")},s={},o={bridged:new Map,customInspectKey:void 0,defaultInspectOptions:void 0,entry:{cache:new WeakMap},external:t,inited:!1,loader:new Map,memoize:{builtinEntries:new Map,builtinModules:new Map,fsRealpath:new Map,moduleESMResolveFilename:new Map,moduleInternalFindPath:new Map,moduleInternalReadPackage:new Map,moduleStaticResolveFilename:new Map,shimFunctionPrototypeToString:new WeakMap,shimProcessBindingUtilGetProxyDetails:new Map,shimPuppeteerExecutionContextPrototypeEvaluateHandle:new WeakMap,utilGetProxyDetails:new WeakMap,utilMaskFunction:new WeakMap,utilMaxSatisfying:new Map,utilParseURL:new Map,utilProxyExports:new WeakMap,utilSatisfies:new Map,utilUnwrapOwnProxy:new WeakMap,utilUnwrapProxy:new WeakMap},module:{},moduleState:{instantiating:!1,parsing:!1,requireDepth:0,statFast:null,statSync:null},package:{dir:new Map,root:new Map},pendingScripts:new Map,pendingWrites:new Map,realpathNativeSync:void 0,reloaded:!1,safeGlobal:__global__,support:i,symbol:n,unsafeGlobal:global,utilBinding:s},f(o,"circularErrorMessage",(function(){try{var e={};e.a=e,JSON.stringify(e)}catch(e){var t=e.message;return t}})),f(o,"defaultGlobal",(function(){var e=o.module.safeVM;return new e.Script("this").runInThisContext()})),f(o,"originalConsole",(function(){var e=o.module,t=e.safeInspector,r=e.safeVM,i=e.utilGet,n=i(t,"console");return"function"==typeof n?n:new r.Script("console").runInNewContext()})),f(o,"proxyNativeSourceText",(function(){try{return e.call(r)}catch(e){}return""})),f(o,"runtimeName",(function(){var e=o.module.safeCrypto;return a("_"+e.createHash("md5").update(""+Date.now()).digest("hex").slice(0,3))})),f(o,"unsafeContext",(function(){var e=o.module,t=e.safeVM,r=e.utilPrepareContext;return r(t.createContext(o.unsafeGlobal))})),f(i,"await",(function(){var e=o.module.safeVM;try{return new e.Script("async()=>await 1").runInThisContext(),!0}catch(e){}return!1})),f(i,"consoleOptions",(function(){var e=o.module,t=e.safeProcess,r=e.utilSatisfies;return r(t.version,">=10")})),f(i,"createCachedData",(function(){var e=o.module.safeVM;return"function"==typeof e.Script.prototype.createCachedData})),f(i,"inspectProxies",(function(){var e=o.module.safeUtil,t=e.inspect(r,{depth:1,showProxy:!0});return-1!==t.indexOf("Proxy [")&&-1!==t.indexOf(E)})),f(i,"lookupShadowed",(function(){var e={__proto__:{get a(){},set a(e){}},a:1};return void 0===e.__lookupGetter__("a")&&void 0===e.__lookupSetter__("a")})),f(i,"nativeProxyReceiver",(function(){var e=o.module,t=e.SafeBuffer,r=e.utilGet,i=e.utilToString;try{var n=new Proxy(t.alloc(0),{get:function(e,t){return e[t]}});return"string"==typeof(""+n)}catch(e){return!/Illegal/.test(i(r(e,"message")))}})),f(i,"realpathNative",(function(){var e=o.module,t=e.safeProcess,r=e.utilSatisfies;return r(t.version,">=9.2")})),f(i,"replShowProxy",(function(){var e=o.module,t=e.safeProcess,r=e.utilSatisfies;return r(t.version,">=10")})),f(i,"vmCompileFunction",(function(){var e=o.module,t=e.safeProcess,r=e.utilSatisfies;return r(t.version,">=10.10")})),f(s,"errorDecoratedSymbol",(function(){var e=o.module,t=e.binding,r=e.safeProcess,i=e.utilSatisfies;return i(r.version,"<7")?"node:decorated":t.util.decorated_private_symbol})),f(s,"hiddenKeyType",(function(){return typeof s.errorDecoratedSymbol})),__shared__=o;var e,r,i,n,s,o})(),I=S.inited?S.module.utilUnapply:S.module.utilUnapply=(function(){"use strict";return function(e){return function(t,...r){return Reflect.apply(e,t,r)}}})(),P=S.inited?S.module.GenericFunction:S.module.GenericFunction=(function(){"use strict";return{bind:I(Function.prototype.bind)}})(),A=S.inited?S.module.realRequire:S.module.realRequire=(function(){"use strict";try{var e=require(S.symbol.realRequire);if("function"==typeof e)return e}catch(e){}return require})(),N=S.inited?S.module.realProcess:S.module.realProcess=A("process"),k=S.inited?S.module.utilIsObjectLike:S.module.utilIsObjectLike=(function(){"use strict";return function(e){var t=typeof e;return"function"===t||"object"===t&&null!==e}})(),_=S.inited?S.module.utilSetProperty:S.module.utilSetProperty=(function(){"use strict";var e={configurable:!0,enumerable:!0,value:void 0,writable:!0};return function(t,r,i){return!!k(t)&&(e.value=i,Reflect.defineProperty(t,r,e))}})(),C=S.inited?S.module.utilSilent:S.module.utilSilent=(function(){"use strict";return function(e){var t=Reflect.getOwnPropertyDescriptor(N,"noDeprecation");_(N,"noDeprecation",!0);try{return e()}finally{void 0===t?Reflect.deleteProperty(N,"noDeprecation"):Reflect.defineProperty(N,"noDeprecation",t)}}})(),O=S.inited?S.module.utilGetSilent:S.module.utilGetSilent=(function(){"use strict";return function(e,t){var r=C((function(){try{return e[t]}catch(e){}}));return"function"!=typeof r?r:function(...e){var t=this;return C((function(){return Reflect.apply(r,t,e)}))}}})(),T=S.inited?S.module.utilKeys:S.module.utilKeys=(function(){"use strict";return function(e){return k(e)?Object.keys(e):[]}})(),L=S.inited?S.module.utilHas:S.module.utilHas=(function(){"use strict";var e=Object.prototype.hasOwnProperty;return function(t,r){return null!=t&&e.call(t,r)}})(),M=S.inited?S.module.utilNoop:S.module.utilNoop=(function(){"use strict";return function(){}})(),D=S.inited?S.module.utilGetPrototypeOf:S.module.utilGetPrototypeOf=(function(){"use strict";return function(e){return k(e)?Reflect.getPrototypeOf(e):null}})(),F=S.inited?S.module.utilOwnKeys:S.module.utilOwnKeys=(function(){"use strict";return function(e){return k(e)?Reflect.ownKeys(e):[]}})(),j=S.inited?S.module.utilAllKeys:S.module.utilAllKeys=(function(){"use strict";return function(e){for(var t=new Set(F(e)),r=e;null!==(r=D(r));)for(var i=F(r),n=0,s=null==i?0:i.length;n<s;n++){var a=i[n];t.add(a)}return[...t]}})(),V=S.inited?S.module.utilIsObject:S.module.utilIsObject=(function(){"use strict";return function(e){return"object"==typeof e&&null!==e}})(),G=S.inited?S.module.utilIsDataPropertyDescriptor:S.module.utilIsDataPropertyDescriptor=(function(){"use strict";return function(e){return V(e)&&!0===e.configurable&&!0===e.enumerable&&!0===e.writable&&L(e,"value")}})(),$=S.inited?S.module.utilSafeCopyProperty:S.module.utilSafeCopyProperty=(function(){"use strict";return function(e,t,r){if(!k(e)||!k(t))return e;var i=Reflect.getOwnPropertyDescriptor(t,r);if(void 0!==i){if(L(i,"value")){var n=i.value;Array.isArray(n)&&(i.value=Array.from(n))}G(i)?e[r]=i.value:(i.configurable=!0,L(i,"writable")&&(i.writable=!0),Reflect.defineProperty(e,r,i))}return e}})(),B=S.inited?S.module.utilSafeAssignPropertiesIn:S.module.utilSafeAssignPropertiesIn=(function(){"use strict";return function(e){for(var t=arguments.length,r=0;++r<t;)for(var i=arguments[r],n=j(i),s=0,a=null==n?0:n.length;s<a;s++){var o=n[s];$(e,i,o)}return e}})(),U=S.inited?S.module.utilSetPrototypeOf:S.module.utilSetPrototypeOf=(function(){"use strict";return function(e,t){return k(e)&&Reflect.setPrototypeOf(e,k(t)?t:null)}})(),W=S.inited?S.module.utilSafe:S.module.utilSafe=(function(){"use strict";return function(e){if("function"!=typeof e)return Array.isArray(e)?Array.from(e):V(e)?B({},e):e;for(var t=e,r=function(...e){var r=Reflect.construct(t,e);return U(r,o),r},i=j(t),n=0,s=null==i?0:i.length;n<s;n++){var a=i[n];"prototype"!==a&&$(r,t,a)}var o=r.prototype;return U(o,null),B(o,t.prototype),r}})(),q=S.inited?S.module.safeProcess:S.module.safeProcess=(function(){"use strict";var e=W(N),t=Reflect.getOwnPropertyDescriptor(e,"binding");f(e,"binding",(function(){if(void 0===t)return M;Reflect.defineProperty(e,"binding",t);var r=O(e,"binding"),i="function"==typeof r?P.bind(r,N):M;return _(e,"binding",i),i}));var r=e.config,i={variables:{v8_enable_inspector:0}};return k(r)&&L(r,"variables")&&k(r.variables)&&L(r.variables,"v8_enable_inspector")&&r.variables.v8_enable_inspector&&(i.variables.v8_enable_inspector=1),_(e,"argv",W(e.argv)),_(e,"config",i),_(e,"dlopen",P.bind(e.dlopen,N)),_(e,"emitWarning",P.bind(e.emitWarning,N)),_(e,"env",W(e.env)),_(e,"execArgv",W(e.execArgv)),_(e,"getMaxListeners",P.bind(N.getMaxListeners,N)),_(e,"once",P.bind(N.once,N)),_(e,"setMaxListeners",P.bind(N.setMaxListeners,N)),_(e,"versions",W(e.versions)),e})(),z=q.argv,H=q.config,K=q.cwd,X=q.dlopen,J=q.emitWarning,Y=q.env,Q=q.execArgv,Z=q.getMaxListeners,ee=q.once,te=q.platform,re=q.setMaxListeners,ie=q.stdin,ne=q.type,se=q.versions,ae=q,oe=S.inited?S.module.binding:S.module.binding=(function(){"use strict";for(var e=["fs","inspector","natives","util"],t=new Map([["fs",["internalModuleStat","realpath"]],["inspector",["consoleCall"]],["natives",void 0],["util",["decorated_private_symbol","getProxyDetails","safeGetenv","setHiddenValue"]]]),r={},i=function(e){f(r,e,(function(){var r={},i=ae.binding(e);if(!k(i))return r;var n=t.get(e);void 0===n&&(n=T(i));for(var s=function(e){f(r,e,(function(){if("consoleCall"===e)return C((function(){return i[e]}));var t=O(i,e);return"function"==typeof t?P.bind(t,i):t}))},a=0,o=n,u=null==o?0:o.length;a<u;a++){var l=o[a];s(l)}return r}))},n=0,s=null==e?0:e.length;n<s;n++){var a=e[n];i(a)}return r})(),ue=S.inited?S.module.utilToExternalFunction:S.module.utilToExternalFunction=(function(){"use strict";var e=S.external.Function,t=D(e),r=D(e.prototype);return function(e){return U(e,t),L(e,"prototype")&&U(e.prototype,r),e}})(),le=S.inited?S.module.OwnProxy:S.module.OwnProxy=(function(){"use strict";var e={value:ue((function(){return"{}"}))},t={value:1};class r{constructor(i,n){var s={__proto__:n},a=new Proxy(i,s);for(var o in U(n,null),n)ue(n[o]);Reflect.defineProperty(s,S.customInspectKey,e),Reflect.defineProperty(s,S.symbol.proxy,t),r.instances.set(a,[i,s]);var u={},l=new Proxy(a,u);return r.instances.set(l,[a,u]),l}}return r.instances=new WeakMap,U(r.prototype,null),r})(),ce=S.inited?S.module.safeRequire:S.module.safeRequire=(function(){"use strict";var e=A.resolve;function t(e){try{return A(e)}catch(e){}}return t.resolve=function(t){try{return Reflect.apply(e,A,[t])}catch(e){}return""},t})(),pe=S.inited?S.module.realGetProxyDetails:S.module.realGetProxyDetails=(function(){"use strict";var e,t=ce(S.symbol.realGetProxyDetails);return"function"==typeof t||(t=function(t){if(void 0===e&&(e="function"==typeof oe.util.getProxyDetails),e&&k(t))try{return oe.util.getProxyDetails(t)}catch(e){}}),t})(),he=S.inited?S.module.utilGetProxyDetails:S.module.utilGetProxyDetails=(function(){"use strict";return function(e){var t=S.memoize.utilGetProxyDetails,r=t.get(e);if(void 0!==r)return r.details;if(k(e)){var i=le.instances.get(e)||pe(e);return t.set(e,{details:i}),i}}})(),fe=S.inited?S.module.utilUnwrapProxy:S.module.utilUnwrapProxy=(function(){"use strict";return function(e){if(!k(e))return e;var t,r=S.memoize.utilUnwrapProxy,i=r.get(e);if(void 0!==i)return i;for(var n=e;void 0!==(t=he(n));)n=t[0];return r.set(e,n),n}})(),de=S.inited?S.module.realPath:S.module.realPath=fe(A("path")),me=S.inited?S.module.safePath:S.module.safePath=W(de),ve=me.basename,ge=me.delimiter,ye=me.dirname,xe=me.extname,be=me.isAbsolute,Ee=me.normalize,we=me.resolve,Re=me.sep,Se=me.toNamespacedPath,Ie=me.join,Pe=me,Ae={},Ne={},ke=S.inited?S.module.utilAlwaysTrue:S.module.utilAlwaysTrue=(function(){"use strict";return function(){return!0}})(),_e=S.inited?S.module.FastPath:S.module.FastPath=(function(){"use strict";class e{constructor(e){this.stack=[e]}call(e,t,r){var i=this.stack,n=i[i.length-1];i.push(r,n[r]);var s=e[t](this);return i.length-=2,s}each(e,t){for(var r=this.stack,i=r[r.length-1],n=i.length,s=-1;++s<n;)r.push(s,i[s]),e[t](this),r.length-=2}getNode(e,t){var r=this.stack,i=r.length;for("function"!=typeof t&&(t=ke),void 0!==e&&(i=e<0?i+e:e);i-- >0;){var n=r[i--];if(V(n)&&!Array.isArray(n)&&t(n))return n}return null}getParentNode(e){return this.getNode(-2,e)}getValue(){var e=this.stack;return e[e.length-1]}}return U(e.prototype,null),e})(),Ce=S.inited?S.module.MagicString:S.module.MagicString=(function(){"use strict";class e{constructor(e,t,r){this.content=r,this.end=t,this.intro="",this.original=r,this.outro="",this.next=null,this.start=e}appendLeft(e){this.outro+=e}appendRight(e){this.intro+=e}contains(e){return this.start<e&&e<this.end}edit(e){this.content=e,this.intro="",this.outro=""}prependLeft(e){this.outro=e+this.outro}prependRight(e){this.intro=e+this.intro}split(t){var r=t-this.start,i=this.original.slice(0,r),n=this.original.slice(r),s=new e(t,this.end,n);return s.outro=this.outro,s.next=this.next,this.original=i,this.end=t,this.content=i,this.outro="",this.next=s,s}toString(){return this.intro+this.content+this.outro}}U(e.prototype,null);class t{constructor(t){var r=new e(0,t.length,t);this.original=t,this.intro="",this.outro="",this.firstChunk=r,this.lastSearchedChunk=r,this.byStart=new Map,this.byStart.set(0,r),this.byEnd=new Map,this.byEnd.set(t.length,r)}appendLeft(e,t){this._split(e);var r=this.byEnd.get(e);return void 0===r?this.intro+=t:r.appendLeft(t),this}appendRight(e,t){this._split(e);var r=this.byStart.get(e);return void 0===r?this.outro+=t:r.appendRight(t),this}overwrite(e,t,r){this._split(e),this._split(t);var i=this.byStart.get(e),n=this.byEnd.get(t);if(e===t)return r?this.appendLeft(e,r):this;if(i.edit(r),i===n)return this;for(var s=i.next;s!==n;)s.edit(""),s=s.next;return s.edit(""),this}prependLeft(e,t){this._split(e);var r=this.byEnd.get(e);return void 0===r?this.intro=t+this.intro:r.prependLeft(t),this}prependRight(e,t){this._split(e);var r=this.byStart.get(e);return void 0===r?this.outro=t+this.outro:r.prependRight(t),this}_split(e){if(!this.byStart.has(e)&&!this.byEnd.has(e))for(var t=this.lastSearchedChunk,r=e>t.end;t;){if(t.contains(e))return void this._splitChunk(t,e);t=r?this.byStart.get(t.end):this.byEnd.get(t.start)}}_splitChunk(e,t){var r=e.split(t);this.byEnd.set(t,e),this.byStart.set(t,r),this.byEnd.set(r.end,r),this.lastSearchedChunk=e}toString(){for(var e=this.intro,t=this.firstChunk;t;)e+=""+t,t=t.next;return e+this.outro}}return U(t.prototype,null),t})();class Oe{constructor(e,t={}){this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null}}function Te(e,t){"use strict";return new Oe(e,{beforeExpr:!0,binop:t})}var Le={beforeExpr:!0},Me={startsExpr:!0},De={};function Fe(e,t={}){return t.keyword=e,De[e]=new Oe(e,t)}var je={num:new Oe("num",Me),regexp:new Oe("regexp",Me),string:new Oe("string",Me),name:new Oe("name",Me),privateId:new Oe("privateId",Me),eof:new Oe("eof"),bracketL:new Oe("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new Oe("]"),braceL:new Oe("{",{beforeExpr:!0,startsExpr:!0}),braceR:new Oe("}"),parenL:new Oe("(",{beforeExpr:!0,startsExpr:!0}),parenR:new Oe(")"),comma:new Oe(",",Le),semi:new Oe(";",Le),colon:new Oe(":",Le),dot:new Oe("."),question:new Oe("?",Le),questionDot:new Oe("?."),arrow:new Oe("=>",Le),template:new Oe("template"),invalidTemplate:new Oe("in